Commit graph

43 commits

Author SHA1 Message Date
d39053b498
Support TYPO3 v12 and PHP 8.3
Use rector, PHPUnit, Codeception and PHPStan to find and fix issues.
2023-12-04 12:18:51 +01:00
109c9dc738
Prepare v3.0.0 release 2023-11-30 13:42:42 +01:00
f69db97990
Support translated offers (#115) 2023-08-30 14:21:25 +02:00
651fc17fd9
Respect possible arrays in accessibility certification (#114) 2023-08-30 14:14:51 +02:00
1a0ba50125
Fix broken test handling for log files (#113) 2023-08-30 12:06:52 +02:00
8663d5a759
Add support for additional images added via TYPO3 (#112)
Some installations might need to add further images
to records imported from ThüCAT.
The records are now extended to support adding images by editors.
The images are not touched during import.
The images are also ignored during clean ups,
the editor is in full control.

This feature for now is only added to tourist attractions by default.
The feature is implemented in a way that all objects extending the
``WerkraumMedia\ThueCat\Domain\Model\Frontend\Base`` class are usable
by adding an ``editorial_images`` field to their table.
2023-08-29 13:54:16 +02:00
2a39dc7753
Catch mapping exceptions during converting entities. (#109)
Those are handled the same way,
the entity is skipped and errors are logged.
That way further entities can be imported
while only none working entities are skipped.

Relates: #10653
2023-08-29 11:56:06 +02:00
773098623e Add command to allow import of a single configuration.
The command is also available as scheduler task.
This finally allows to regularly execute imports.
This also allows to import from CLI context
with differently configured timeouts.
2023-08-29 11:04:22 +02:00
2bf18536cc
!!!|Add acceptance tests for TYPO3 Backend and PHP 8.x (#107) 2023-01-31 07:51:13 +01:00
6f98b353fe
!!!|Own module group (#106)
Add own module group and migrate old menu to different modules.
This should improve user experience as most users are used to modules
and are not aware of the dropdown menu.

Rename Overview controller to Configuration controller
As it handled configurations.
This streamlines with labels and identifiers.
2023-01-30 15:51:17 +01:00
928f42e7fc
Add merged opening hours (#104)
This allows to fetch merged opening hours instead of actually edited
opening hours.
They will be merged per valid time span.
The data structure is a bit different as each time span has a list of
week days, each with its own open and end.

Relates: #10246
2023-01-05 09:30:23 +00:00
94e1eba741
Respect givenName and familyName of media authors (#103)
Only name was respected until now.

Relates: #10247
2023-01-04 07:33:48 +01:00
d9a7153c05
Configure EXT:scheduler table garbage collection (#102)
Add configuration to clean up garbage of old import records.

Relates: #10244
2023-01-03 10:42:33 +01:00
723ea3b512
Skip import of none mappable objects (#100)
The schema is very flexible and some values are not validated upfront.
This will result in many objects which we currently can not map.
This resulted in an exception breaking the rest of the import.
We now handle the broken mapping and skip those objects with proper
logging.
This allows to continue with import and report and debug those objects
in order to improve the mapping step by step.

Relates: #10198
2022-12-15 12:41:35 +01:00
61ae59c127
Add new import configuration based on containsPlace (#98)
Adds a new type of import configuration.
This configuration allows to define a single resource.
All the resources referenced via schema:containsPlace will be imported.

Relates: #10237
2022-12-15 10:42:41 +01:00
17cb4b390d
Change icons (#94)
Relates: #10231
2022-12-13 15:02:25 +01:00
15db95f7b6
Respect editorial sorting of attractions within content element (#97)
Relates: #10206
2022-12-12 14:12:32 +01:00
6b289db27c
Support types of public transport (#96)
Add a list of types to distance to public transport.

Relates: #10223
2022-12-12 13:51:08 +01:00
f194220153
Provide method to get parking facilities sorted by alphabet (#95)
Relates: #10230
2022-12-12 13:35:16 +01:00
49fcf40bc8
Allow to hide parking facilities (#93)
The ctrl configuration already existed, just the corresponding column
configuration was missing.
It is now possible to hide and unhide the records within TYPO3 as usual.

Relates: #10230
2022-12-12 13:02:10 +01:00
bfa67d3514
Filter out duplicate media (#91)
Relates: #10194
2022-11-30 10:35:44 +01:00
b09a57ad38
Fix wrong German label (#89) 2022-11-30 09:43:46 +01:00
6c119f28af
Allow to get all images except main image (#88)
Relates: #10194
2022-11-29 11:56:53 +01:00
20dc69694d
Add URL to tourist attraction (#87)
The tourist attraction can have an URL to their own website.
This URL is now imported and provided to templates.

Relates: #10193
2022-11-29 11:50:22 +01:00
35398b49c7
Improve opening hours (#86)
Strip off seconds from strings.
Prepare code to easily provide a structured data to allow integrators to
format timing differently.
Provide a method to easily check if an opening hour is only valid for a
single day.

Relates: #10185
2022-11-29 10:02:44 +01:00
8acbe136d4
Add special opening hours (#84)
It is possible to define special opening hours, e.g. for holidays.
Those are now also imported and provided to the templates.

Relates: #10185
2022-11-28 11:06:54 +01:00
672f78a5dc
Filter and sort opening hours (#83)
Opening hours are filtered. Opening hours from the past are no longer
available.
Opening hours are sorted. Newer opening hours are shown last.

Relates: #10185
2022-11-24 15:55:50 +01:00
4cb1cf1438
Import image author beside image license author (#82)
This allows to use a fallback.
Some maintain the actual copyright as author instead of license author.

Relates: #10183
2022-11-24 11:05:13 +01:00
48eec144c1
Add example integration of data processor for menus to documentation (#79) 2022-10-05 13:49:51 +02:00
5447b95c0a
Show last import time beside each import configuration in backend module (#77) 2022-09-29 15:17:06 +02:00
cf78488023
Move 1.3.1 to 1.3.0 (#76)
We did not release 1.3.0 yet, so move all 1.3.1 things to 1.3.0.
2022-09-29 14:50:27 +02:00
2fd4b1bc2f
Handle multiple offerType values (#75)
The import resulted in an exception if there was an array of types
instead of a string.
Both situations are now handled and API of models is kept.
Existing imported data is also kept.
2022-09-29 14:33:19 +02:00
4a3eb42c73
Allow to import things organised by generic organisations (#74)
Not all things are managed by TouristMarketingCompany, some are managed
by generic organisations.
Those are now handled the same way as TouristMarketingCompany are
already handled.

That way those things can also be imported, as they now can import their
manager.
2022-09-29 14:10:36 +02:00
11292c2e18
Remove API Key from site configuration (#72)
The key is configured via Extension Configuration.
Documentation and code match, but we still extended the site
configuration.

Resolves: #55
2022-09-14 11:23:32 +02:00
bafac003fc
Remove warnings from documentation rendering (#71)
Remove not used file.
Adjust installation to respect changed official docs.
2022-09-13 10:01:15 +02:00
7f6bd13628
Remove deprecated usage of StringUtility::endsWith() (#70)
This is deprecated in newer PHP versions, one should use native
str_ends_with() instead.

We remove the deprecation by using this function. But we also support
older PHP versions, so we add symfony/polyfill-php80 as dependency to
always ensure this function exists.
2022-09-13 09:44:54 +02:00
78311066e2
Add changelog for upcoming 1.3.0 release (#68) 2022-09-13 09:15:04 +02:00
09682b1896
Prepare Release 1.2.2 (#67) 2022-04-11 16:24:10 +02:00
2de3a752cb
Prepare release of 1.2.1 (#65) 2022-04-11 09:57:51 +02:00
79bda0ce72 Prepare release of 1.2.0 2022-03-08 09:50:30 +01:00
a823255501 Add changelog 2021-11-29 11:16:06 +01:00
baf32b3477 Add info regarding storagePid and language relation 2021-06-08 14:05:24 +02:00
eac551e2bc Add documentation
Add detailed documentation rendered at docs.typo3.org beside existing
readme.

Resolves: #20
2021-06-01 14:59:08 +02:00