Commit graph

11 commits

Author SHA1 Message Date
891871a8ef
TYPO3 v12 (#11) 2024-09-17 15:00:31 +02:00
b087098793
Fix broken month view if last week of December is in next year (#9)
The cause was using the wrong character in formatting the year. We now
switch from `Y` to `o` which will work based on the week instead of
date. This is necessary as we provide this year to the week, and
therefore need the year of the week, not day.

Resolves: #11388
2024-09-16 12:29:46 +02:00
33eb0a2a3b
Adopt functional tests for latest TYPO3. (#10)
TYPO3 now would return a 404 if cHash doesn't match. We now exclude the
parameters within our functional tests to not run into this issue.
2024-09-16 12:25:10 +02:00
03320171ce
Add TYPO3 v11 and PHP 8.x compatibility (#6) 2023-01-04 09:48:08 +01:00
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