Commit graph

84 commits

Author SHA1 Message Date
Daniel Siepmann 713bc4b697
Add meta tags (#49)
A new class is added which will add meta tags for dates and events.
The class has an interface which allows it to be replaced via DI to
alter behaviour.

Refactor import regarding data handler. We now also need to add a new
column "keywords". We use the new DataHandler approach.
But that approach only covered relations so far. We therefore refactor
that area to be more generic and use that one for new keywords column.

Relates: #10642
2023-11-29 10:36:59 +01:00
Daniel Siepmann 81065f5c67
BREAKING: TYPO3 v12 support (#44)
* Migrated all fixtures to PHP.
* Removed version specific adjustments.
2023-11-27 10:04:42 +01:00
Daniel Siepmann a9f3f108e3
BREAKING: Change of vendor/namespace (#43)
The vendor was renamed from `wrm` to `werkraummedia`.
And the namespace vendor was renamed from `Wrm` to `WerkraumMedia`.

That way all references to PHP classes as well as the package name
itself need to be adjusted.
2023-11-09 10:27:43 +01:00
Daniel Siepmann 0784945902
Allow to change highlight via backend form (#40)
It was not possible to change the value of highlight for events due to
broken TCA.
This got fixed. The input is now streamlined to look the same as hidden
to not irritate users.

Relates: #10782
2023-11-02 14:49:05 +01:00
Daniel Siepmann 5af1d08148
Add source while importing from Destination Data One (#37)
Destination Data One provides an source info explaining where the data
originally came from.
This is now added to event records and exposed in TYPO3 backend.
That allows editors to check the source and contact corresponding
sources in order to fix broken data.

Relates: #10630
2023-08-10 15:02:05 +02:00
Daniel Siepmann 00946af6ad
Properly handle latitude and longitude during Destination One import (#32)
They sometimes use a different separator.
The code is adjusted to always use same separator and precision.

That will prevent the same location from showing up multiple times due
to different latitude and longitude values.
2023-07-06 12:39:47 +02:00
Daniel Siepmann 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
Daniel Siepmann adc8b30e6d
Extend TYPO3 page cache timout calculation based on rendered dates (#9)
Relates: #10349
2023-05-04 15:23:23 +02:00
Daniel Siepmann a49ba7c4d2
Fix 404 for dates after re import (#7) 2023-04-03 11:34:56 +02:00
Dirk Koritnik f3b3a70948
Remove rte config fram tca, fix text cleanup from linebreaks (#3) 2023-03-17 12:58:06 +01:00
Daniel Siepmann c771924b8e
Properly handle time searches 2023-02-21 14:06:59 +01:00
Daniel Siepmann cd42770efe Provide routing for content elements
Relates: #10349
2023-02-16 07:52:27 +01:00
Daniel Siepmann 172c0eab37 Mark update wizard as public to allow DI
The wizard would not work in TYPO3 v11.5 as no DI would happen.

Relates: #10077
2023-01-24 13:08:46 +01:00
Daniel Siepmann 34ac9cbbe3 Move addStaticFile() method call to proper place
Calling within ext_tables.php is bad practice and breaks TYPO3 extension
compatibility check.

Relates: #10077
2023-01-24 13:08:44 +01:00
Daniel Siepmann 9cb0a681b9 Replace Icons and add icon for page containing records 2023-01-05 09:21:25 +00:00
Daniel Siepmann f68da60842 Provide configurable repeatUntil fallback 2023-01-05 09:01:13 +00:00
Daniel Siepmann fcbda4c093 Add default routing 2022-11-23 09:59:55 +00:00
Daniel Siepmann 2d2b9ac993 Remove old code base 2022-11-22 12:49:57 +00:00
Daniel Siepmann be56f0fd12 Keep filter during pagination 2022-11-22 11:58:36 +00:00
Daniel Siepmann 239bfe51fc Remove slugs from locations 2022-08-03 09:24:01 +00:00
Dirk Koritnik fc274d238c Add location icon and label 2022-08-02 23:05:38 +02:00
Daniel Siepmann 65e653f6ec Add location as separate record 2022-08-02 13:56:18 +00:00
Daniel Siepmann 0a56a5d482 Integrate destination data features
Import alongside of categories.
Use TYPO3 sys_category again.
2022-07-13 15:59:42 +02:00
Dirk Koritnik 7523872329 Allow no region in flexform. Increase version 2022-04-28 09:20:35 +02:00
Daniel Siepmann 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
Daniel Siepmann c2e648b2c5 Remove no longer existing ctrl entry 2021-12-13 09:42:24 +01:00
Daniel Siepmann 0d0c64f419 Fix PHPStan issues 2021-12-13 09:27:28 +01:00
Daniel Siepmann c09c3ffb57 Add proper description to command output in v11 2021-12-13 08:48:44 +01:00
Daniel Siepmann 809ef032f4 Allow editing and creation of dates within event
Relates: #9471
2021-11-23 08:28:22 +01:00
Daniel Siepmann 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
Daniel Siepmann beca8c2e07 Keep old legacy command identifier
The old identifier had a trailing comma.
Old installations would break if we do not keep the command under this
identifier.
Updating scheduler tasks is a bad thing, so we keep compatibility.
2021-09-07 07:54:01 +02:00
Daniel Siepmann 326378e2fc Allow to reference events from event
This might be useful to allow editors and integrators to create
something like "you might also be interested in" or "related events".
2021-09-07 07:52:29 +02:00
Daniel Siepmann 97bcbe2065 Add original date to dates if available
This is not possible via native API.
We therefore use the event to fetch and add the relation.

Relates: #8857
2021-09-07 07:52:29 +02:00
Daniel Siepmann 1929a4a566 Use sorting of categories
Extbase will properly use mm sorting.
But categories can't be sorted within the TCA tree component.
Therefore it makes more sense to use actual sys_category sorting.
In order to do so, we add our own model and pass the sorting.
That way PHP can do the sorting.

That's the easiest approach.
Also events shouldn't contain to many categories.  A performance impact
should not be high.

Relates: #8459
2021-09-07 07:52:28 +02:00
Dirk Koritnik 9a8ee30580 Increase image limit 2021-09-07 07:52:27 +02:00
Dirk Koritnik 2450f5c6b7 Switch to Storage Object for images 2021-09-07 07:52:27 +02:00
Daniel Siepmann cbbe56775e Allow to add link for canceled dates
E.g. allow users to get info about refunds.

Relates: #8574
2021-09-07 07:52:26 +02:00
Daniel Siepmann bfaa25c707 Do not allow self reference for postponed date 2021-09-07 07:52:26 +02:00
Daniel Siepmann 3012816123 Allow to delete events
Relates: #8570
2021-09-07 07:52:26 +02:00
Daniel Siepmann 10b4c34fe6 Allow to define a new date if current is postponed
Relates: #8092
2021-09-07 07:52:25 +02:00
Dirk Koritnik ce723b01bc Extend date canceld form 2021-09-07 07:52:24 +02:00
Dirk Koritnik 55530ee062 Allow multiline in title and subtitle 2021-09-07 07:52:23 +02:00
Dirk Koritnik 9d2825ed18 Allow multiline in event name 2021-09-07 07:52:23 +02:00
Daniel Siepmann afa6384636 Allow localization of event 2021-09-07 07:52:23 +02:00
Daniel Siepmann cbd59a366d Support new DI
Provide Services.yaml to provide new DI.
Also remove deprecated command registration and move them into
Services.yaml.
2021-09-07 07:52:22 +02:00
Daniel Siepmann 59db0d6432 Do not limit 3 categories
There is no reason to limit.
By default there should be no limit.
If a specific installation needs a limit, it can set it itself.
2021-09-07 07:52:22 +02:00
Dirk Koritnik 431aa9bafa Inrease image limit in event 2021-09-07 07:52:21 +02:00
Dirk Koritnik ce9a1e17e5 Add subtitle filed to event 2021-09-07 07:52:21 +02:00
Dirk Koritnik 8e755d775a Remove old plugin 2021-09-07 07:52:21 +02:00
Dirk Koritnik ea103cb002 Little cleanups and remove old plugin code 2021-09-07 07:52:20 +02:00