Commit graph

53 commits

Author SHA1 Message Date
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
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
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
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
bfaa25c707 Do not allow self reference for postponed date 2021-09-07 07:52:26 +02:00
3012816123 Allow to delete events
Relates: #8570
2021-09-07 07:52:26 +02:00
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
afa6384636 Allow localization of event 2021-09-07 07:52:23 +02:00
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
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
Dirk Koritnik
4c0a0a959b Restructure event TCA 2021-09-07 07:52:19 +02:00
Dirk Koritnik
201259d674 Add new icons 2021-09-07 07:52:19 +02:00
ca7340782b Allow an date to be marked as canceled
That has no effect, the info is just available from model.
This can be used to display a canceled date in a different way, or
render a notice.

Relates: #8092
2021-09-07 07:52:19 +02:00
17bd83eedf Provide new "Event selected" plugin
Allow editors to select specific events to display.
Therefore add new necessary demand and setting for events and respect
them within repository.

Relates: #8092
2021-09-07 07:52:18 +02:00
43d8a1c0d6 Add partner
Add new record type partner.
This can be something like a media partner or something else.

Allow an event to have zero or more partner.
Add necessary files and models with relations.

Relates: #8092
2021-09-07 07:52:17 +02:00
38b4844a9d Add pages to events
Allow editor to reference TYPO3 page records from events.
E.g. used to provide further internal information links.

Also those pages are resolved via DataProcessing.
That allows integrators to be 100% flexible to resolve those page info.
By default a menu is generated and media is resolved.

Also validation is ignored, as this improves performance and allows to
use the new class as injected property without validation fails.
Models are not managed via frontend and therefore don't need validation.

Relates: #8092
2021-09-07 07:52:17 +02:00
b829a25738 Auto migrate code base to TYPO3 v10
Using:

    ./vendor/bin/typo3-rector process Classes Configuration ext_*

Relates: #8092
2021-09-07 07:50:09 +02:00
Dirk Koritnik
aaa82308e3 Fix region translation 2020-10-01 16:37:44 +02:00
Dirk Koritnik
f8f42051db Cleanup localization 2020-10-01 16:35:34 +02:00
Dirk
3e643176a3 Add social links 2020-08-19 11:30:13 +02:00
Dirk
552986b2aa Merge 2020-08-17 14:26:38 +02:00
Dirk
3f55a189eb Add location name 2020-08-17 14:21:03 +02:00
Dirk
93545bd171 Change address import 2020-03-16 13:52:58 +01:00
Dirk
b5d89ce7c4 Make untilDate to requirement 2020-03-16 12:10:01 +01:00
Dirk
d299990765 Add rest mode to destination data import 2020-02-19 09:08:15 +01:00
Dirk
054856e258 Deactivate old plugin 2019-11-15 08:25:50 +01:00
Dirk
38a76b26f9 Add show plugin, prepare consider date 2019-11-13 10:46:21 +01:00
Dirk
6e11f00c13 Integrate new event search 2019-11-12 08:16:35 +01:00
Dirk
2426267567 Refactoring 2019-11-11 12:43:50 +01:00
Dirk
890dcd4b35 Make default image configurable 2019-11-07 14:16:28 +01:00
Dirk
b632a32fe7 Remove cat parent uid from arguments 2019-11-07 10:25:09 +01:00
Dirk
bd4409fd76 [TASK] Fix DateTime Issue 2019-10-11 15:12:07 +02:00
Dirk
424279282d [TASK] Add no cHash feature 2019-09-25 17:25:55 +02:00
8ed5bd9970 Add command to remove all past dates and events
It will search for all dates within the past and remove them. Afterwards
all events with no dates are searched and removed.

As DataHandler is used for deletion of events, there is already logging
within TYPO3, as well as recursive deletion for sys_file_references.

To speedup for large data sets, deletion of dates is done without
DataHandler.
2019-09-19 09:09:42 +02:00
ca4d7d3a01 Add basic cleanup command
Allows to remove all existing records regarding events.
It will search for all pages providing either organizer or events, and
will delete both types of records.

As DataHandler is used for deletion, there is already logging within
TYPO3, as well as recursive deletion for dates and sys_file_references.

To speedup for large data sets, truncate organizer and dates, as they
don't have recursive deletions, e.g. to sys_file_references. Also add
keys to database.
2019-09-18 18:04:29 +02:00
Dirk
37e83dcfd0 Several changes 2019-09-13 09:10:41 +02:00
Dirk
f1cbba74c1 Implement date search 2019-08-14 17:22:01 +02:00
Dirk
e9745ebd85 Rename plugin settings 2019-08-13 11:41:41 +02:00
Dirk
662b088daa Refactoring Import Service 2019-08-13 11:17:34 +02:00
Dirk
f6a46012a7 Make Pid of categories configurable 2019-08-13 10:10:00 +02:00
Dirk
7ab18bce50 Removed old ImportCommand 2019-08-13 09:32:46 +02:00