Commit graph

81 commits

Author SHA1 Message Date
2168412ae5
Expose settings via DateSearchVariables Event (#58) 2024-06-27 10:09:26 +02:00
15d233c834
Maintenance (#59)
* Add missing dependency to composer package `typo3/cms-install`.

As UpgradeWizards use API of the package.

* Migrate deprecated PHPStan configuration options

* Adapt expected HTML output within functional tests

As TYPO3 changed actual generated HTML.
2024-06-27 09:48:33 +02:00
f35af812c9
Extend import to get copyrights (#53) (#54)
Co-authored-by: Dirk Koritnik <koritnik@werkraum-media.de>
2024-05-15 11:17:18 +02:00
0223ffa583
Add support for new PRICE_INFO_EXTRA field (#56)
Support new `PRICE_INFO_EXTRA` field as price info.
The existing field `PRICE_INFO` is kept as fallback.

Relates: #11171
2024-05-14 09:56:38 +02:00
7db61a189a
Add Social Media Tags by default. (#50)
https://ogp.me/ is used by some platforms, especially social media, to
generate previews of shared links.
The extension now delivers default open-graph tags for better user
experience.
Twitter uses its own way which is also supported.
2023-11-30 11:55:32 +01:00
1d3c28f228
Provide Page Titles (#46)
That way it is possible to alter the TYPO3 page title when showing a
date or event.

Relates: #10640
2023-11-29 10:52:57 +01:00
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
81065f5c67
BREAKING: TYPO3 v12 support (#44)
* Migrated all fixtures to PHP.
* Removed version specific adjustments.
2023-11-27 10:04:42 +01:00
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
ab75902a95
Fix broken assignment of features and categories (#41)
We migrated the part of the import to use DataHandler.
We didn't invest too much time as budgets are low.
Still the bugs are covered with tests and fixed.

Relates: #10782
2023-11-06 08:44:03 +01:00
82df4ded99
Properly trigger 404 if date of unavailable event is requested (#39) 2023-10-16 07:47:48 +02:00
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
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
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
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
9f0eaac154
Improve CGL 2023-07-04 10:21:49 +02:00
0ca95bc410
De-duplicate code within functional tests (#28) 2023-07-04 10:11:26 +02:00
0f7323eac3
Fix removal of still used files (#27)
Simplify SQL queries and move logic to PHP.
2023-06-20 11:56:59 +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
bae680025e
Flush corresponding page caches on import (#25)
The pages now receive proper cache tags.
The import now properly clears those cache tags.
That way all corresponding pages will show updated content after import
finished.

We need one test that executes frontend requests and import command.
The separation is therefore removed and tests are streamlined to have a
single parent providing all necessary information and setup.
2023-06-19 10:13:26 +02:00
a756998f1f
Add proper image handling during import (#22)
Import now properly handles images.
It only added missing images beforehand but now will properly:
- Remove
- Resort
- Add
- Update

Relates: #10521
2023-06-12 11:07:52 +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
d6d3330bd3
Fix wrong detection of Page Cache timeout (TTL) (#20)
Use the earliest instead of latest timeout.
Extend tests to cover the bug.

Relates: #10506
2023-05-24 09:45:15 +02:00
76c1e79ea3
Respect new upcoming feature when calculating TTL of page cache (#17)
Relates: #10506
2023-05-23 11:46:18 +02:00
99ef32a37b
Allow to show only upcoming events (#16)
A new TypoScript option upcoming is added.
The option can be set to 0 (default) or 1.
0 behaves the same way as in the past.
1 turns off the option useMidnight, start and end.
Only dates with a start date in the future will be shown.

Relates: #10507
2023-05-22 09:59:45 +02:00
0fc2668d17
Improve TYPO3 cache handling (#14)
There might be access to TSFE get_cache_timeout() prior rendering
events.
TYPO3 has a cache for timeout and won't re calculate again.
We therefore need to clear the cache if timeout would change.

That will lead to inconsistent cache information throughout a single
request. But the final cache timeout of the page will be correct. Other
parts might be longer, which probably is fine until they relate to the
events.

Relates: #10500
2023-05-16 10:15:05 +02:00
9bc0466e5d
Improve automated testing (#15)
Use abstract classes to include necessary steps and keep actual test
cases small.
Ensure tests in CI run faster but not installing unnecessary
dependencies. But use pre installed ImageMagick.
2023-05-16 09:46:53 +02:00
9c8e1aa982
Do not delete files if they are still in use (#12)
The clean up task had an issue to clean up to many files.
It didn't check if a file that could be deleted
because one event got deleted, was still in use by another event.

Relates: #10499
2023-05-15 15:35:48 +02:00
53ee309768
Migrate all database fixtures (#10)
We switched to PHPDataSets already but didn't migrate all usages.
This commit now migrates all usages left behind.
2023-05-15 11:58:19 +02:00
adc8b30e6d
Extend TYPO3 page cache timout calculation based on rendered dates (#9)
Relates: #10349
2023-05-04 15:23:23 +02:00
afd8c59c9e
Fix phpunit deprecation warnings (#8) 2023-04-03 11:35:47 +02:00
a49ba7c4d2
Fix 404 for dates after re import (#7) 2023-04-03 11:34:56 +02:00
5721a1d399
Allow to filter by organizer (#6)
Relates: #10409
2023-04-03 08:54:48 +02:00
Dirk Koritnik
f3b3a70948
Remove rte config fram tca, fix text cleanup from linebreaks (#3) 2023-03-17 12:58:06 +01:00
c771924b8e
Properly handle time searches 2023-02-21 14:06:59 +01:00
f68da60842 Provide configurable repeatUntil fallback 2023-01-05 09:01:13 +00:00
fcbda4c093 Add default routing 2022-11-23 09:59:55 +00:00
6412c31be5 Do not delete files unrelated to events 2022-11-22 14:59:06 +00:00
2d2b9ac993 Remove old code base 2022-11-22 12:49:57 +00:00
be56f0fd12 Keep filter during pagination 2022-11-22 11:58:36 +00:00
96a650c5aa Do not fetch dates without available event 2022-09-09 08:50:24 +00:00
e1674b1472 Fix broken timezone during import 2022-08-29 12:44:36 +00:00
5cfbe11167 Add first functional tests covering location filter 2022-08-09 09:56:18 +02:00
239bfe51fc Remove slugs from locations 2022-08-03 09:24:01 +00:00
5652ea6442 Fix broken import without features 2022-08-03 08:57:52 +02:00
9b783e5e89 Ensure no "Undefined array key" within factories 2022-08-03 06:03:06 +00:00
8d14834db9 Migrate pagination from Widget to new API 2022-08-02 15:15:47 +00:00
65e653f6ec Add location as separate record 2022-08-02 13:56:18 +00:00
2abc84d1ae Get rid of legacy region property within demand
Only use new way but provide compatibility.
2022-07-14 13:14:01 +02:00
605ad9f9ae Adjust set highlight in Demand 2022-07-14 13:14:00 +02:00