Commit graph

31 commits

Author SHA1 Message Date
413afa1851
Update
* Rector result with cgl applied
* Fix constructor multi line by hand
* Migrate away from prophecy.
2024-02-07 19:21:15 +01:00
19b7fff24f Remove v12 upgrade findings
Ignore false positives for extension scanner.
Migrate TCA and keep old v11 within condition for backwards
compatibility.

Relates: #110
2023-05-11 15:58:22 +02:00
feeb7d4235 Migrate to php-cs-fixer 2023-04-27 11:12:10 +02:00
20070cf531
Ignore "Uptime-Kuma" checker by default (#106)
Resolves: #105
2023-04-26 17:14:56 +02:00
9f24518a0b
Support TYPO3 v12.1 (#96)
* Support TYPO3 v12.0

All dependencies are compatible now.
We can update to support v12.0.

This commit will shift TYPO3 support from 10 and 11 to 11 and 12.
See Changelog entry.

Update dev dependencies to our latest best practice.
Auto migrate code base to follow CGL and use PHP 7.4.
2022-12-07 13:37:19 +01:00
39529be49a Allow to use expressions with PHP 8.x
Introduce new traverse function taken from TYPO3 TypoScript conditions.

Relates: #86
2022-09-16 14:45:54 +02:00
Kay Strobach
8b4a7206ee [FEATURE] Ignore UptimeRobot and Pingdom requests for statistics 2022-08-05 21:17:56 +02:00
3b0fb209c2 Do not create error in Symfony Expression Language on missing User Agent 2022-04-14 10:32:04 +02:00
b6d1189f4d Add necessary transOrigPointerField
This is required by list module, As we define a languageField.
Might be a bug, but BackendUtility::translationCount() will fail if 2nd
field is missing.

Fixed in current TYPO3 master and therefore with v11.3,
see: https://review.typo3.org/c/Packages/TYPO3.CMS/+/69180
2021-05-19 22:21:17 +02:00
a642a0846d Add default and docs to not track preview
Preview is also active if a preview link is shared via EXT:workspace.
Those views should probably not be tracked, just like active backend
sessions.
2020-10-16 12:26:03 +02:00
6dccb84987 Add icons for extension
* Add Icons for extension itself.
* Add Icons for custom records.

Relates: #40
2020-09-23 09:52:22 +02:00
26d499a1de Allow Symfony to autowire and autoconfigure widgetproviders
That will allow to resolve none configured dependencies, e.g. to
language service.
2020-08-03 12:31:16 +02:00
33685d1735 Add tracking of record views
Allow Integrator to define rules to track views of records.
This allows to add tracking to extensions like tx_news.
Integrators are able to define matching rules on current request. If a
request matches, the record is stored as individual view beside existing
pageview.

Relates: #14
2020-07-30 13:52:33 +02:00
44ca6a2d3c Add operating system to page view record
Extract operating system from user agent and store it in database
record.

Another widget is added which displays the page views per operating
system.

An command is provided which will update existing data.
2020-07-29 09:07:43 +02:00
8e2cadef08 Fix sorting of pageview records 2020-07-28 15:57:58 +02:00
1a5c10a26d Do not resolve pid relation
TYPO3 would otherwise run into trouble.
TYPO3 expects pid to be an integer or string.
Resolving pid due to a configured pid column via select or groups,
would result in an php array.
2020-04-22 18:46:42 +02:00
5fc0b60131 Add icon file to pageview record 2020-04-22 18:46:42 +02:00
0927683926 Migrate dashboard part to be compatible with v10.4
10.4 introduced breaking changes for dashboard widgets.
The necessary changes to stay compatible are done within this commit.

No need anymore to configure widget through PHP, instead DI is used.
Instead only PHP to provide data is used.
2020-04-16 11:54:42 +02:00
05d0dec7b7
Do not configure unavailable TCA options 2020-04-01 11:39:45 +02:00
328bf3c58e
Split clients like wget out of bots blacklist 2020-04-01 11:39:05 +02:00
b939bfa58b Ignore further bots
Also split bots and services to fetch previews (e.g. chats)
2020-02-26 23:05:07 +01:00
763769b4d2 Add list widget with newest page views
Still very basic, no custom template or fancy information or styling.
2020-02-26 23:05:07 +01:00
548ad0b07c
Make widgets configurable via DI
As no configuration API is provided, we use Services.yaml for now.
2020-02-25 22:35:30 +01:00
654d52cede
Configure TCA to show newest page views first 2020-02-25 22:35:28 +01:00
ab6c7d2967
Use DI instead of unnecessary code 2020-02-25 22:35:27 +01:00
2105b79b8a
Ignore further bots 2020-02-25 22:35:27 +01:00
b1a7226ed8
Add tracking widgets 2020-02-25 22:35:26 +01:00
005140d6f1
Expand tracking blacklist 2020-02-25 22:35:26 +01:00
6a2cd9bc50
Add rules to prevent tracking of certain requests 2020-02-25 22:35:25 +01:00
27819c73ef
Add user agent to tracking
To enable fine grained filtering, and detect further bots / crawler to
block.
2020-02-25 22:35:25 +01:00
cece44c735
Add first basic tracking for page views 2020-02-25 22:35:25 +01:00