Commit graph

45 commits

Author SHA1 Message Date
Daniel Siepmann a387580df7 !!!|Rename bad phrases like blacklist
This involves changed inside of Services.yaml if those configuration
options were used before.

Relates: #17
2020-07-30 14:00:22 +02:00
Daniel Siepmann f48714cb7b Add documentation for integrators
Relates: #14
2020-07-30 13:52:33 +02:00
Daniel Siepmann 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
Daniel Siepmann 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
Daniel Siepmann 8e2cadef08 Fix sorting of pageview records 2020-07-28 15:57:58 +02:00
Daniel Siepmann 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
Daniel Siepmann 5fc0b60131 Add icon file to pageview record 2020-04-22 18:46:42 +02:00
Daniel Siepmann b732cc0cd2 Update interface namespace for ext:dashboard
As Interfaces was moved to a different namespace,
import statements need to be adjusted.
2020-04-17 16:18:28 +02:00
Daniel Siepmann 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
Daniel Siepmann 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
Daniel Siepmann 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
Daniel Siepmann 60f76b0d9f Use human readable output of phpunit in CI 2020-04-01 20:43:30 +02:00
Daniel Siepmann 669d75ce86 Add PHPStan to ensure code quality and prevent bugs 2020-04-01 20:43:30 +02:00
Daniel Siepmann e06cc3c5c5
Update todos in readme 2020-04-01 11:40:01 +02:00
Daniel Siepmann 05d0dec7b7
Do not configure unavailable TCA options 2020-04-01 11:39:45 +02:00
Daniel Siepmann 328bf3c58e
Split clients like wget out of bots blacklist 2020-04-01 11:39:05 +02:00
Daniel Siepmann 382f58a6ec
Cast string to int to fulfill interface 2020-04-01 11:38:48 +02:00
Daniel Siepmann be0e13416c
Truncate page title for graph
In order to not break layout.
2020-04-01 11:38:09 +02:00
Daniel Siepmann b19eb00329
Properly use order by doctrine api (#7) 2020-02-26 23:14:04 +01:00
Daniel Siepmann 17cbbe288e Adjust order of todos 2020-02-26 23:05:07 +01:00
Daniel Siepmann b939bfa58b Ignore further bots
Also split bots and services to fetch previews (e.g. chats)
2020-02-26 23:05:07 +01:00
Daniel Siepmann 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
Daniel Siepmann db2b0e13ed Make max results of doughnut graph configurable 2020-02-26 23:05:07 +01:00
Daniel Siepmann e237941e07 Fix wrong label identifier 2020-02-26 23:05:07 +01:00
Daniel Siepmann 81e98ec269
As master branch is used, adjust branch-alias (#5)
Also add further urls to composer.
2020-02-26 07:43:56 +01:00
Daniel Siepmann 60d4d94a45
Add screenshots to readme (#3) 2020-02-25 22:46:07 +01:00
Daniel Siepmann dff48c98d2
Remove md in faviour of rst (#2) 2020-02-25 22:39:05 +01:00
Daniel Siepmann 64b0261694
Merge pull request #1 from DanielSiepmann/develop
Develop
2020-02-25 22:37:26 +01:00
Daniel Siepmann c5e788e31d
Add some about information 2020-02-25 22:35:30 +01:00
Daniel Siepmann 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
Daniel Siepmann 9452e66a51
Add Unittests 2020-02-25 22:35:30 +01:00
Daniel Siepmann d7c07aee79
Add GitHub workflows 2020-02-25 22:35:29 +01:00
Daniel Siepmann 50dcb619ea
Add PSR-12 2020-02-25 22:35:29 +01:00
Daniel Siepmann 73ec4641ff
Prepare usage as standalone composer package 2020-02-25 22:35:28 +01:00
Daniel Siepmann 654d52cede
Configure TCA to show newest page views first 2020-02-25 22:35:28 +01:00
Daniel Siepmann b8cde34d60
Update to 10.3 release 2020-02-25 22:35:28 +01:00
Daniel Siepmann ab6c7d2967
Use DI instead of unnecessary code 2020-02-25 22:35:27 +01:00
Daniel Siepmann 2105b79b8a
Ignore further bots 2020-02-25 22:35:27 +01:00
Daniel Siepmann 2e718d41c9
Take current day into account for page views per day 2020-02-25 22:35:27 +01:00
Daniel Siepmann b1a7226ed8
Add tracking widgets 2020-02-25 22:35:26 +01:00
Daniel Siepmann 005140d6f1
Expand tracking blacklist 2020-02-25 22:35:26 +01:00
Daniel Siepmann 6a2cd9bc50
Add rules to prevent tracking of certain requests 2020-02-25 22:35:25 +01:00
Daniel Siepmann 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
Daniel Siepmann cece44c735
Add first basic tracking for page views 2020-02-25 22:35:25 +01:00
Daniel Siepmann cfb5b79404
Initial commit 2020-02-25 17:42:14 +01:00