Commit graph

14 commits

Author SHA1 Message Date
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 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 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 50dcb619ea
Add PSR-12 2020-02-25 22:35:29 +01:00
Daniel Siepmann ab6c7d2967
Use DI instead of unnecessary code 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 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