Skip to content

Commit

Permalink
Streamline writing of destination (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSiepmann authored Aug 10, 2023
1 parent 5af1d08 commit de38d80
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 17 deletions.
2 changes: 1 addition & 1 deletion Documentation/Changelog/2.5.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Features

* ``getEndsOnSameDay()``

* Add destination data "Features" to events.
* Add destination.one "Features" to events.
Features are again TYPO3 categories with different parent as existing categories.
New features are hidden by default but can be activated within TYPO3.
That allows to fetch all within controller and provide them as filter.
Expand Down
2 changes: 1 addition & 1 deletion Documentation/Changelog/3.1.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Fixes

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.
The ``addStaticFile()`` method has to be called from ``Configuration/TCA/Overrides/`` instead of ``ext_tables.php`` as this might break frontend.
Expand Down
6 changes: 3 additions & 3 deletions Documentation/Changelog/3.4.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Manual steps

* Determining global_id of locations has changed.
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
--------
Expand Down Expand Up @@ -39,7 +39,7 @@ Features
Only dates with a start date in the future will be shown.

* 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.
Existing image files won't be downloaded again, only information and position are updated.

Expand Down Expand Up @@ -81,7 +81,7 @@ Fixes
Those might not exist in newer systems where migration is not necessary.
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.
An update wizard is provided to clean up existing duplicates.

Expand Down
7 changes: 4 additions & 3 deletions Documentation/Changelog/3.5.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Nothing
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.

See :ref:`psr14` for an overview of PSR-14 Events.
Expand All @@ -19,7 +19,7 @@ Features
* Allow to modify an event object before importing.

* 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
the original source and ask to fix broken data.

Expand All @@ -35,7 +35,8 @@ Fixes
Tasks
-----

Nothing
* Renaming different Destination cases to destination.one throughout documentation and text.
Code is left untouched in order to not break things.

Deprecation
-----------
Expand Down
8 changes: 4 additions & 4 deletions Documentation/Features/ImportDestinationOne.rst
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
.. index:: single: import; DestinationOne
single: DestinationOne
.. index:: single: import; destination.one
single: destination.one
.. _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.
Multiple imports can be defined, e.g. one per experience.
Expand Down
8 changes: 4 additions & 4 deletions Documentation/Features/PSR14Events.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
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.
3 changes: 3 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
We continuously try to improve the overall situation.
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.
6 changes: 5 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
"name": "wrm/events",
"type": "typo3-cms-extension",
"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": [
{
"name": "Dirk Koritnik",
Expand Down

0 comments on commit de38d80

Please sign in to comment.