Commit graph

8 commits

Author SHA1 Message Date
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 669d75ce86 Add PHPStan to ensure code quality and prevent bugs 2020-04-01 20:43:30 +02: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