Commit graph

61 commits

Author SHA1 Message Date
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
6348b1079d
Prevent exception due to missing database columns in update wizard (#29) 2023-07-04 10:31:01 +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
7b3bbf6d9d
Do not download already existing files during import (#26)
The usual use cases right now would involve a new file with a new URL.
That way we don't need to download existing files again.
That reduced network traffic, execution time and resource usage.
2023-06-19 10:13:17 +02:00
d9fef5367a
Reduce broken time frame due to missing slugs (#23)
Dates are vanished and re created during import.
Slugs for dates were generate after whole import was finished.
This is now changed to generate slugs for dates after saving each single
event.
2023-06-15 09:55:15 +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
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
17ecfb12c1
Fix upcoming version changelog and number (#13) 2023-05-16 07:49:00 +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
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
d682c14252
Add PHP 8.2 support (#5)
Also add shell.nix for easier development.
2023-04-03 08:41:22 +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
3cd2aa9095 Check whether order is configured before applying
Relates: #10349
2023-02-16 07:54:53 +01:00
0c9f9542fb Don't break on searchword search
We didn't adjust the location name when using searchwords.
We now properly search within new locations name, instead of old no
longer existing column.

Relates: #10349
2023-02-16 07:54:03 +01:00
a188dd280c Fix broken link to page 1 within pagination
Relates: #10349
2023-02-16 07:53:03 +01:00
cd42770efe Provide routing for content elements
Relates: #10349
2023-02-16 07:52:27 +01:00
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
Dirk Koritnik
b99f19b79d Allow png images in file import from destination one 2023-01-24 12:01:27 +00:00
8bd15ac380 Provide location update wizard 2023-01-09 11:49:51 +00:00
9cb0a681b9 Replace Icons and add icon for page containing records 2023-01-05 09:21:25 +00:00
f68da60842 Provide configurable repeatUntil fallback 2023-01-05 09:01:13 +00:00
6570ec5ca9 Properly handle guzzle exception for fetching images 2022-12-21 12:16:20 +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
637c238372 Fix wrong version in changelog entry 2022-09-06 13:13:07 +02:00
4265bb1db7 Fix wrong version 2022-08-29 13:10:58 +00:00
e1674b1472 Fix broken timezone during import 2022-08-29 12:44:36 +00:00
5652ea6442 Fix broken import without features 2022-08-03 08:57:52 +02: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
8f729dc0bd Search location name and organizer name 2022-08-02 13:22:37 +00:00
86ce1d700e Support PHP 8.1 2022-08-02 14:50:09 +02:00
69ac00823b Provide start and end as DateTimeImmutable in DateDemand 2022-07-14 13:14:00 +02:00
7e604504a3 Fix exception if none available category is selected 2022-07-13 15:59:42 +02:00
0fe793307a Weimar events
Add event to alter the View Variables in foreign code.
This is used for grouped dates list on weimar.
2022-07-13 15:59:42 +02:00
0a56a5d482 Integrate destination data features
Import alongside of categories.
Use TYPO3 sys_category again.
2022-07-13 15:59:42 +02:00
3b4ecbe6ce Extend demand and provide search to templates 2022-07-13 15:59:40 +02:00
6e6e914e36 Ensure first date of recurring daily event is created 2022-07-13 13:58:05 +00:00
b0dae68550 Fix broken timezone and end time after import of recurring events 2022-07-07 12:10:49 +00:00