Commit graph

30 commits

Author SHA1 Message Date
5f0490f493
WIP|Add flags feature
Allow each tracking record to contain arbitrary tags.
Those tags are generated via an API and can be extended by foreign
extensions or for individual projects.
Existing operating_system was moved to this new feature.
The update command allows to migrate existing records to this new
feature.

Those flags can be used when configuring widgets.

A new flag was added bot:yes and bot:no.
Bots are now tracked but flagged.

That new feature allows to build fine grained reports and makes the
extension way more flexible. Possible new implications:
    - Show visits from none bots
    - Show visits from bots
    - Show visits from specific bot
    - Add color to page views per page (bar chart)
      to color bot or none bot

WIP:
    - Update Yaml file to work like before, no bots in widgets
    - Add documentation (widgets)
    - Add documentation (migration *.yaml)
2022-09-21 17:33:27 +02:00
1dbdaac9c6
Support PHP 8.1 (#95) 2022-09-21 13:21:45 +02:00
7f63ae8262 Satisfy phpstan for now 2022-04-14 10:26:07 +02:00
b7adf27475 Fix new PHPStan issues 2022-01-06 08:36:28 +01:00
2efe65c5b2 Support composer 2.2 new allow-plugins configuration
In order to install all necessary composer plugins which we already
trust.
2022-01-06 08:36:28 +01:00
456c86b492 Update PHPStan
PHPStan was released with first stable public version 1.x.
The version is updated together with extensions.

The new version finds new issues which are solved right away to not
break CI.
2022-01-06 08:10:02 +01:00
e55f1da281 Raise from TYPO3 11.4 to 11.5 2021-11-25 09:35:47 +01:00
337f0b1098 Use custom fork of typo3/testing-framework for now
This includes a bug fix to allow execution of functional tests.
The fix is already open as PR in the upstream repo.
2021-09-17 09:36:59 +02:00
8103025899 Support TYPO3 11.4 2021-09-17 09:36:59 +02:00
73e2ec0214 Add functional tests regarding actual frontend request tracking
Ensures pageview and recordview are tracked as expected.

Relates: #46
2021-08-16 11:18:32 +02:00
721b6e5a31 Support PHP 7.3
- Extend CI to test everything against PHP 7.3
- Update composer to allow installation with PHP 7.3
- Remove dependency checker, install loosely within CI to get compatible
  version with actual PHP version.
- Adjust CI to use PHP compatible MySQL versions.

Relates: #69
2021-08-11 12:15:57 +02:00
f3b4ae3c3b Raise from TYPO3 11.2 to 11.3
Only support latest public release of current TYPO3 dev releases.
2021-08-03 10:27:12 +02:00
adb73eeffc Switch to ECS for coding style
This allows configuration via PHP.
It also combines code sniffer and php cs fixer.

Used commands:

composer remove --dev squizlabs/php_codesniffer
composer req --dev symplify/easy-coding-standard
./vendor/bin/ecs --fix
2021-05-24 22:11:46 +02:00
165b110e01 Always use TestCase of testing framework
That way the framework can add extra logic like cleanup.
We don't have to worry about such things.
2021-05-19 22:39:22 +02:00
3c10aa6d10 Support TYPO3 v11.2 and PHP 8.0 beside current v10.4 and 7.4. 2021-05-19 22:21:17 +02:00
443e042d82 Remove security checker
It will report old TYPO3 versions which we support, but don't require.
Therefore it does not provide a benefit but breaks builds.
The package is intended for projects, not libraries.
2020-12-01 11:23:23 +01:00
f06684c660 Add sensiolabs secutiy checker to ci 2020-08-07 12:43:28 +02:00
7d3aeabcdd Adjust branch alias for composer
As master was replaced by main.
2020-08-06 16:34:11 +02:00
7346616663 Allow older versions of symfony components
This should prevent conflicts with other tools like typoscript linter.
2020-08-03 12:31:16 +02:00
f3d69eed45 Add multi language support
Allow integrator to limit results in widget to certain languages.
If only one language is allowed, labels will be translated.
Otherwise default system language is used.

E.g. one record will be displayed in multiple languages, it would be
confusing to show him multiple times for each language.

Add TYPO3 extension for phpstan as many things would break within tests.

Relates: #15
2020-08-03 08:46:31 +02:00
7e0f5760db Require TYPO3 10.4 dev state
As extension uses features from upcoming TYPO3 10.4 release.
2020-04-16 11:54:42 +02:00
d3878d928d Improve CI
* Adjust names of tasks.
* Add composer require checker.
* Install without plugins to not use custom installer and stay
  compatible with require checker.
* Stay phpunit 10 compatible.
2020-04-07 15:32:29 +02:00
669d75ce86 Add PHPStan to ensure code quality and prevent bugs 2020-04-01 20:43:30 +02:00
81e98ec269
As master branch is used, adjust branch-alias (#5)
Also add further urls to composer.
2020-02-26 07:43:56 +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
9452e66a51
Add Unittests 2020-02-25 22:35:30 +01:00
50dcb619ea
Add PSR-12 2020-02-25 22:35:29 +01:00
73ec4641ff
Prepare usage as standalone composer package 2020-02-25 22:35:28 +01:00
b8cde34d60
Update to 10.3 release 2020-02-25 22:35:28 +01:00
cece44c735
Add first basic tracking for page views 2020-02-25 22:35:25 +01:00