Streamline writing of destination (#38)

This commit is contained in:
Daniel Siepmann 2023-08-10 16:12:47 +02:00 committed by GitHub
parent 5af1d08148
commit de38d80b32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 25 additions and 17 deletions

View file

@ -31,7 +31,7 @@ Features
* ``getEndsOnSameDay()`` * ``getEndsOnSameDay()``
* Add destination data "Features" to events. * Add destination.one "Features" to events.
Features are again TYPO3 categories with different parent as existing categories. Features are again TYPO3 categories with different parent as existing categories.
New features are hidden by default but can be activated within TYPO3. New features are hidden by default but can be activated within TYPO3.
That allows to fetch all within controller and provide them as filter. That allows to fetch all within controller and provide them as filter.

View file

@ -37,7 +37,7 @@ Fixes
Relates: #10253 Relates: #10253
* Support import of png images from Destination One. * Support import of png images from destination.one.
* Do not break TYPO3 v11.5 extension compatibility check. * Do not break TYPO3 v11.5 extension compatibility check.
The ``addStaticFile()`` method has to be called from ``Configuration/TCA/Overrides/`` instead of ``ext_tables.php`` as this might break frontend. The ``addStaticFile()`` method has to be called from ``Configuration/TCA/Overrides/`` instead of ``ext_tables.php`` as this might break frontend.

View file

@ -6,7 +6,7 @@ Manual steps
* Determining global_id of locations has changed. * Determining global_id of locations has changed.
An Update Wizard is provided in order to migrate existing data. An Update Wizard is provided in order to migrate existing data.
This is only necessary when using the import of locations from Destination One. This is only necessary when using the import of locations from destination.one.
Breaking Breaking
-------- --------
@ -39,7 +39,7 @@ Features
Only dates with a start date in the future will be shown. Only dates with a start date in the future will be shown.
* Handle changes to images for events. * Handle changes to images for events.
The import of destination data one only added new images but kept existing images untouched. The import of destination.one only added new images but kept existing images untouched.
This was now improved. The import now will update, remove and re-sort images as well. This was now improved. The import now will update, remove and re-sort images as well.
Existing image files won't be downloaded again, only information and position are updated. Existing image files won't be downloaded again, only information and position are updated.
@ -81,7 +81,7 @@ Fixes
Those might not exist in newer systems where migration is not necessary. Those might not exist in newer systems where migration is not necessary.
The wizard now properly checks for existence before querying the data. The wizard now properly checks for existence before querying the data.
* Prevent duplicate location entries from Destination One import. * Prevent duplicate location entries from destination.one import.
They seem to differ in writing of latitude and longitude. They seem to differ in writing of latitude and longitude.
An update wizard is provided to clean up existing duplicates. An update wizard is provided to clean up existing duplicates.

View file

@ -9,7 +9,7 @@ Nothing
Features Features
-------- --------
* Add PSR-14 Events to Destination Data One import. * Add PSR-14 Events to destination.one import.
They allow individual installation to alter the import. They allow individual installation to alter the import.
See :ref:`psr14` for an overview of PSR-14 Events. See :ref:`psr14` for an overview of PSR-14 Events.
@ -19,7 +19,7 @@ Features
* Allow to modify an event object before importing. * Allow to modify an event object before importing.
* Add source to events. * Add source to events.
Destination Data One provides the original source, either them self or an external. destination.one provides the original source, either them self or an external.
This is now saved in order to make it easier for editors and companies to contact This is now saved in order to make it easier for editors and companies to contact
the original source and ask to fix broken data. the original source and ask to fix broken data.
@ -35,7 +35,8 @@ Fixes
Tasks Tasks
----- -----
Nothing * Renaming different Destination cases to destination.one throughout documentation and text.
Code is left untouched in order to not break things.
Deprecation Deprecation
----------- -----------

View file

@ -1,11 +1,11 @@
.. index:: single: import; DestinationOne .. index:: single: import; destination.one
single: DestinationOne single: destination.one
.. _importDestinationOne: .. _importDestinationOne:
Import Destination One Import destination.one
====================== ======================
The extension provides out of the box to import events from Destination Data One. The extension provides out of the box to import events from destination.one.
The import can fetch events, dates, categories and images. The import can fetch events, dates, categories and images.
Multiple imports can be defined, e.g. one per experience. Multiple imports can be defined, e.g. one per experience.

View file

@ -4,10 +4,10 @@
PSR-14 Events PSR-14 Events
============= =============
.. index:: single: PSR-14 Events; Destination Data One Import: Event Import .. index:: single: PSR-14 Events; destination.one Import: Event Import
Destination Data One Import: ``EventImportEvent`` destination.one Import: ``EventImportEvent``
------------------------------------------------- --------------------------------------------
Executed during Destination Data One Import. Executed during destination.one Import.
Allows to alter the event prior persistence. Allows to alter the event prior persistence.

View file

@ -7,3 +7,6 @@ This is shared as is. It is developed and used by the agency for some years alre
The code and test coverage dates back some years. The code and test coverage dates back some years.
We continuously try to improve the overall situation. We continuously try to improve the overall situation.
Don't expect heavy documentation at this state. Don't expect heavy documentation at this state.
The main benefit is an import of destination.one events into TYPO3. More info: https://www.destination.one/
You might find old references to "destination data" within the code as there was a rebranding.

View file

@ -2,7 +2,11 @@
"name": "wrm/events", "name": "wrm/events",
"type": "typo3-cms-extension", "type": "typo3-cms-extension",
"license": "GPL-2.0-or-later", "license": "GPL-2.0-or-later",
"description": "Extension to manage Destination Data managed events", "description": "Extension to manage destination.one managed events",
"keywords": [
"events",
"destination.one"
],
"authors": [ "authors": [
{ {
"name": "Dirk Koritnik", "name": "Dirk Koritnik",