Daniel Siepmann
5f0490f493
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) |
||
---|---|---|
.github/workflows | ||
Classes | ||
Configuration | ||
Documentation | ||
Resources | ||
Tests | ||
.gitattributes | ||
.gitignore | ||
composer.json | ||
dependency-checker.json | ||
ecs.php | ||
ext_emconf.php | ||
ext_localconf.php | ||
ext_tables.sql | ||
LICENSE | ||
phpcs.xml.dist | ||
phpstan.neon | ||
phpunit.xml.dist | ||
readme.rst |
About
This extension was made to demonstrate technical features of TYPO3. Since v1.0.0 it is also available on packagist and intended for usage on production systems.
The following features should be demonstrated:
- PSR-4 Autoloading Standard
-
Use composer.json to provide autoloading information. Classes will be loaded when needed. No need for require statements.
- PSR-12 Extended Coding Style Guide
-
Current stable Coding Style Guide, applied via Coding Sniffer.
- PSR-7 HTTP Message Interface
-
Also known as Request Response, used to create tracking information from incoming request.
- PSR-11 Container Interface
-
Also known as Dependency Injection. Used to resolve external dependencies, e.g. foreign classes. Existing TYPO3 factories are used to build QueryBuilder instances. Also DI is "misused" to provide configuration for dashboard widgets and tracking.
- PSR-15 HTTP Handlers
-
Also known as middlewares. Used to hook into processing to create tracking information.
- PSR-14 Event Dispatcher
-
Not in use yet.
- EXT:dashboard
-
Used to visualize collected tracking information.
Thanks
Thanks to our supporters:
- Icons
-
Generated by https://www.werkraum-media.de/
- Partly sponsored code by
Example
The following widgets are added and could look like:
A new record is added which looks like: