Commit graph

15 commits

Author SHA1 Message Date
669d75ce86 Add PHPStan to ensure code quality and prevent bugs 2020-04-01 20:43:30 +02:00
382f58a6ec
Cast string to int to fulfill interface 2020-04-01 11:38:48 +02:00
be0e13416c
Truncate page title for graph
In order to not break layout.
2020-04-01 11:38:09 +02:00
b19eb00329
Properly use order by doctrine api (#7) 2020-02-26 23:14:04 +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
db2b0e13ed Make max results of doughnut graph configurable 2020-02-26 23:05:07 +01:00
e237941e07 Fix wrong label identifier 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
50dcb619ea
Add PSR-12 2020-02-25 22:35:29 +01:00
ab6c7d2967
Use DI instead of unnecessary code 2020-02-25 22:35:27 +01:00
2e718d41c9
Take current day into account for page views per day 2020-02-25 22:35:27 +01:00
b1a7226ed8
Add tracking widgets 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