Commit graph

29 commits

Author SHA1 Message Date
27ee70d0cf
Add event to modify categories during destination.one import (#34)
A new PSR-14 event is added that allows to modify the categories to be
assigned to an event.
The event itself (including already existing categories) as well as the
list of categories to be used after import are available.
It is possible to change the categories to be assigned, e.g. keep some
of the existing categories.

That way it is possible for installations to add custom categories to
events.

Relates: #10623
2023-08-14 12:09:28 +02:00
de38d80b32
Streamline writing of destination (#38) 2023-08-10 16:12:47 +02:00
3d0d5d8645
Add PSR-14 Event to modify event objects prior persistence (#35)
A new PSR-14 event is added that allows to modify the event right before
it is persisted within Destination Data One import.

This for example allows to alter dates, prices, etc.

Improve handling of missing end time in dates.
2023-08-10 14:20:37 +02:00
05f3ec4fa7
Update PHPStan (#36)
PHPStan triggers a deprecation on PHP 8.2, but that got fixed with an
update.
2023-08-10 13:47:27 +02:00
c56a10b748
Improve meta data of imported files (#24)
* Set ``alternative`` to the ``description`` if available.

* Set ``creator_tool`` to the "destination.one".

* Set ``source`` to the URL of the fetched image.
2023-06-19 10:22:54 +02:00
d4a11436c6
Streamline CGL (#21)
Use php-cs-fixer as within other extensions.
Use same configuration.
Apply configuration
2023-06-07 08:56:42 +02:00
adc8b30e6d
Extend TYPO3 page cache timout calculation based on rendered dates (#9)
Relates: #10349
2023-05-04 15:23:23 +02:00
d682c14252
Add PHP 8.2 support (#5)
Also add shell.nix for easier development.
2023-04-03 08:41:22 +02:00
5cfbe11167 Add first functional tests covering location filter 2022-08-09 09:56:18 +02:00
86ce1d700e Support PHP 8.1 2022-08-02 14:50:09 +02:00
8446855d96 Pin phpstan and extensions
New versions often introduce new issues breaking existing pipeline and
taking off time from the actual task.
We therefore pin versions do not get unexpected updates.
2022-04-25 07:53:27 +02:00
3d6bf0ac8a Add import configuration record
It is now possible to create "Import" records in TYPO3 system.
Those records can then be imported via two new commands.
There is no need to configure everything within the command itself.

That allows:
    * To allow editors to maintain import configuration.
    * Have proper labels, description, csh and UI to create import.
      It no longer is necessary to copy UIDs,
      instead proper wizards from TCA are available to select pages.

Relates: #9649
2022-01-27 15:50:36 +01:00
8044ddf30f Make use of prophesize cross version support 2022-01-26 15:56:28 +01:00
b5d095659a Use new import class and move url building and fetching 2022-01-26 15:15:15 +01:00
a55f685abc Support composer v2.2.x
The new LTS has a new allow-plugins feature which we configure.
2022-01-26 13:59:52 +01:00
0e5cd38176 Add first basic functional test for import
The test ensures import runs with a small example set of events.

We needed to alter fetching of images, in order to properly mock
responses.
2021-12-16 09:08:16 +01:00
ff3a577935 Add TYPO3 v11 configurations 2021-12-13 08:48:34 +01:00
a06ac46ae3 Add PHP 8.0 to CI 2021-12-13 08:29:20 +01:00
b906c50a09 Mark extension compatible with php 7.2 2021-09-07 16:19:29 +02:00
f618536ff9 Add PHPStan
In order to static analyze code and prevent bugs when changing code.
Fix issues in most of the files.
2021-09-07 11:07:55 +02:00
cbe4eda380 Add CI
* Add first basic CI with defaults.
* Add ecs for coding guideline.
* Fix invalid xliff files.
2021-09-07 09:26:59 +02:00
cb50981a2b Setup unit testing
* Add dependency.
* Remove empty tearDown() methods.
* Fix signature of setUp() to be compatible with recent phpunit.
* Temporary fix syntax issues in test files

Relates: #8092
2021-09-07 07:52:16 +02:00
59272afffd Add php code sniffer to follow PSR-12
Also apply ./vendor/bin/phpcbf to auto migrate what is possible.

Relates: #8092
2021-09-07 07:51:36 +02:00
9bb2b3963c Remove rector after auto code migration
Relates: #8092
2021-09-07 07:50:10 +02:00
00a37644b2 Add rector to auto migrate to TYPO3 v10 2021-09-07 07:49:40 +02:00
5a17f0c838 Add missing dependencies
The extension uses TYPO3 core extbase and fluid extensions.
Therefore they should be part of the require.
Otherwise a composer install will lead to an incomplete system setup for
development.

Also add generated files / folders to .gitignore.
Otherwise they might end up in git.

Relates: #8092
2021-09-07 07:49:39 +02:00
328a98218b State compatibility with v10
Even if the extension is not yet ready.
This is a work in progress, to ease transition we mark it compatible,
so we can easily install, test and adapt before we release.

Relates: #8092
2021-09-07 07:49:35 +02:00
Dirk Koritnik
9464ad6018 Add lanuage handling 2020-10-01 08:34:13 +02:00
Dirk
9c6539eb28 Refactored EXT dd_events to events, added fields to page type poi 2019-07-18 13:44:19 +02:00