Commit graph

116 commits

Author SHA1 Message Date
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
0ae738c1f2
Remove sqlite tests from CI (#78)
Save environment, most people will not use sqlite anyway.
2022-09-29 15:12:41 +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
65f4ef991e
Fix PHP warning of accessing invalid array key (#73) 2022-09-14 11:23:17 +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
e71cfe13e7
Remove leftover config file (#69)
The dependency for checking dependencies already got removed.
2022-09-13 09:25:27 +02:00
78311066e2
Add changelog for upcoming 1.3.0 release (#68) 2022-09-13 09:15:04 +02:00
Benjamin Franzke
9bdb998f6d
Use decorator pattern for RequestFactory (#54)
The implementation of the TYPO3 RequestFactory and Uri classes is
internal API.

It is therefore better to decorate the PSR-17 interfaces instead
of extending or using the TYPO3 implementation directly.
2022-09-13 09:09:43 +02:00
2e4c9cc04e
Add TYPO3 v11 support (#60)
* Support generation of code coverage generation
* Remove useless caching within GitHub
* Add TYPO3 11.5 within CI
* Update phpstan

Replace friendsoftypo3/phpstan-typo3 with saschaegerer/phpstan.
The friendsoftypo3 is intended for TYPO3 itself, while saschaegerer is
intended for community.
Also update all related packages.
Fix some new findings and update baseline.

* Run composer none interactive in CI
* Remove dependency checker
* Migrate tests to no longer use legacy dependencies
* https://forge.typo3.org/issues/97479
* Fix phpstan findings
2022-09-13 09:05:47 +02:00
09682b1896
Prepare Release 1.2.2 (#67) 2022-04-11 16:24:10 +02:00
Carlos Pozo
62b2c5d0c7
Fix conditional and enhance OpeningHours (#66)
Co-authored-by: Daniel Siepmann <coding@daniel-siepmann.de>
2022-04-11 16:16:51 +02:00
2de3a752cb
Prepare release of 1.2.1 (#65) 2022-04-11 09:57:51 +02:00
Carlos Pozo
d71e785d8f
Add class identifier and services condition to templates (#63) 2022-04-11 09:26:32 +02:00
79bda0ce72 Prepare release of 1.2.0 2022-03-08 09:50:30 +01:00
Carlos Pozo
46df4f4028
Improve detail view templates
Adapt detail view template for Bootstrap usage.
Provide proper out-of-the-box integration.
2022-03-08 08:27:18 +00:00
9527c34c8d Update phpstan baseline 2022-03-08 08:35:53 +01:00
e1b515c0c5 Allow execution of composer plugins 2022-03-08 08:35:53 +01:00
a823255501 Add changelog 2021-11-29 11:16:06 +01:00
Dirk Koritnik
c97a7f59ad Add french translation file 2021-11-29 11:09:41 +01:00
69f4d6f922 Fix pipeline
Keep old behaviour of PHPStan.
2021-11-29 10:59:35 +01:00
Dirk Koritnik
46868e4857 new version number 2021-09-14 15:13:10 +02:00
Dirk Koritnik
d23f023aa1
Add Twitter Bootstrap markup to templates (#50)
This allows out of the box integration into websites using the Twitter
Bootstrap Frontend Framework.

Resolves: #11
2021-09-14 15:02:16 +02:00
355e4717b0
Support PublicHolidays for opening hours (#51)
DayOfWeek is an enum as defined at https://schema.org/DayOfWeek
We missed the PublicHolidays enum value when building
`getDaysOfWeekWithMondayFirstWeekDay()` which is used in templates to
get ordered result.
Opening hours for public holidays were not rendered, which is now fixed.
2021-09-14 14:51:14 +02:00
e8a44c555a
Sort offers by type (#52)
That ensures grouped output of related offers.
Offers are not sorted in any way and might end up in entry, parking,
entry, etc. Sorting ensures all of same type are rendered one after the
other, entry, entry, parking.

Sorting is done by alphabet on the technical enum value.
2021-09-14 14:39:28 +02:00
185dcab2bc
Add Offer Type (#49) 2021-09-13 10:32:12 +02:00
056c8c7947 Add PHP 7.2 support
Add official support of PHP 7.2.

Downgrade dev tools to 7.2 compatible version.
2021-09-09 15:16:30 +02:00
c97b9bd24d Skip import of entities without content responsible
We always expect someone to be responsible for content.
If there is no one, skip the import of the entity.
2021-09-08 15:22:43 +02:00
6a89461972 Use GitHub Action to install expected composer version 2021-09-08 13:23:23 +02:00
def55cbdc9 Make compatible with mysql 8 strict modes 2021-09-08 13:23:23 +02:00
dd0f08e157 Fix none working Extbase queries
The queries missed an call to matching() to actually apply the
constraint.
2021-09-08 11:03:21 +02:00
2932a620e4 Don't store empty info for opening hour
Do not store none existing info.
Just store nothing if something is missing.

Frontend model already checks for existence.
2021-09-06 13:47:12 +02:00
5179e82706 Improve skipping detection in TYPO3 converter
All records which are not saved or useable are now skipped.
Some records were converted but could not be stored, e.g. because no
localization was configured for that table.

This should bring small performance improvement and also align import
log with actually imported (converted) records.

Logging is added as well, only debug level, to allow developer and
integrator to analyse why some records are skipped.

Ignore some errors which don't actually exist.
We already check type of entity, and logger is always injected.
2021-09-06 13:47:12 +02:00
07f189a7f8 Support multiple price rules 2021-09-06 13:47:12 +02:00
592269baa8 Handle references ending in 404
Catch the exception and return null.
That is already a possible return type which should be handled by
callers.

Add test case with referenced 404 image.
2021-09-06 13:47:12 +02:00
73db8b5d9d Assume default timezone if not provided.
Data is coming from Germany and affects German places only.
We therefore expect German timezone.
2021-09-06 13:47:12 +02:00
265cb27236 Support multiple provided URLs
An object might have more then a single URL.
This is now added.
2021-09-06 13:47:12 +02:00
8315d42934 Add accessibility_specification 2021-09-06 13:47:12 +02:00
cc216429a5 Add parking_facility_near_by
- Removed individual converters for TYPO3.
  Conversion is now handled in a single converter.
- The new converter will import necessary dependencies upfront, e.g.
  town or organisation.
- Move import state into extra class.

Relates: #34
2021-09-06 13:47:12 +02:00
5859c14525 Add distanceToPublicTransport property to tourist attraction
Relates: #34
2021-09-06 13:47:12 +02:00
46fe3a2e81 Add availableLanguage property to tourist attraction
Relates: #34
2021-09-06 13:47:12 +02:00
4c9b055e0c Add publicAccess property to tourist attraction
Relates: #34
2021-09-06 13:47:12 +02:00
ffd894c102 Add isAccessibleForFree property to tourist attraction
Relates: #34
2021-09-06 13:47:12 +02:00
bd717d1596 Add petsAllowed property to tourist attraction
Relates: #34
2021-09-06 13:47:12 +02:00
ce6a34b543 Add photography property to tourist attraction
Relates: #34
2021-09-06 13:47:12 +02:00
07cd56fef4 Add digitalOffer property to tourist attraction
Relates: #34
2021-09-06 13:47:12 +02:00