Commit graph

7 commits

Author SHA1 Message Date
f1d9466045
Add features to build an archive (#8)
* Add context to factory
* Allow configuring default arguments if missing in request
* Add plugin name to AssignTemplateVariables event
2023-01-04 08:42:36 +01:00
77dd56ad43
Add functional tests (#7)
This replaces the existing unit tests for the controller.
Functional tests are way better suited for testing the controller.
2023-01-04 07:12:17 +00:00
0256665e82
Allow foreign code to add template variables 2021-02-24 11:10:55 +01:00
883dec188b
Add support for years
Add new action and model.

Also allow to get days of year and month.
Not always a week is helpful, sometimes all days of year or month are
more helpful.
2021-02-23 15:02:06 +01:00
6fff1efe49
Replace phpcs with ecs
This combines phpcs and php-cs-fixer and provides handy configuration.
2021-02-23 11:41:18 +01:00
a7ea6d0bc6
Fix broken tests
As day is always set to midnight, an existing test did not work anymore.
This was now split up into two separate more explicit tests.
2020-11-30 12:47:05 +01:00
98762332f5
calendar logic
Provide data structure for month, weeks and days.
Provide controller to open month, week and day.

Relates: #7887
2020-10-27 13:32:50 +01:00