Commit graph

129 commits

Author SHA1 Message Date
c91f665d98 Make compatible with PHP 7.3
As some projects still might run on PHP 7.3 and supported TYPO3 version
still supports 7.3.
2021-04-13 15:32:10 +02:00
svenfnzd
3bcddd94bb Decreased priority of template path
Adapted to follow EXT:fluid_styled_content
To allow integrators to use the extension in the same way

Resolves: #14
2021-04-12 14:57:52 +02:00
08de6ae129 Trigger CI on pull request 2021-04-12 14:55:34 +02:00
bf1ae9540b Fix two bugs: Language handling and price structure
Sorry for fixing two things in one commit.

First fixed bug is single offer and / or single price.
Those lead to exception / fatal error and are now handled.

Second fixed bug is wrong multi language handling.
Instead of using supported languages from entity (which does not exist
and was miss interpreted) we use configured system languages.
Each record is inserted with default language.
Also tourist attractions are inserted for all other languages.
They are only inserted if they have a title for that language.
2021-02-25 09:23:06 +01:00
261039361b Improve icons 2021-02-18 16:07:26 +01:00
442a6842ec Add prices to tourist attraction
Import prices, show them in records and make them accessible in
frontend.
2021-02-18 16:00:07 +01:00
775db67efa Add new page type for tourist attraction
Allows to select a single tourist attraction.
Provides static TypoScript to resolve reference for Fluid based
rendering.
2021-02-18 08:52:20 +01:00
16ae83e841 Add icons 2021-02-17 16:06:09 +01:00
2e0102894f Allow to configure storage pid for each import configuration
Each import configuration now offers an input to define storage pid.
That enables integrators to have different storage folders per
configuration.
2021-02-17 15:37:49 +01:00
92c8bbedaa Add multi language handling
Import entities in all available languages.
Provide translated records in frontend.
2021-02-17 14:51:00 +01:00
46144de0a7 Add first functional tests for import
To ensure the whole process is still working.
Setup environment and execute request of backend module through extbase.

Ensure expected records are created.
2021-02-17 09:20:24 +01:00
6478526004 Add media to tourist attraction 2021-02-17 09:20:24 +01:00
eab2eee8b3 Add address to tourist attraction 2021-02-17 09:20:24 +01:00
9176ba0cec Import tourist attraction only in German language
Allows to import entity of type TouristAttraction.
Right now only in German, as this is most important.
Add output of tourist attraction via custom content element.
2021-02-16 12:01:35 +01:00
a3261ab17e Remove deprecated CGL sets
Actually they were meant as code migration, which should happen via
rector.
2021-02-16 11:46:31 +01:00
ce787c90b6 Use storage pids from example setup
As long as those are hard coded, use matching storage pids from example
setup.
2021-02-16 11:09:18 +01:00
dc5a4546f3 Ensure proper types when saving import log
Insertion is stored as integer in database.
Therefore cast boolean to integer.
Otherwise DataHandler might throw error as saved data type differs from
provided data type.
2021-02-16 11:09:18 +01:00
b8b0c4f668 Sort log entries by existing column
Sorting by none existing column might result in exceptions.
2021-02-16 11:09:18 +01:00
043a28472f Provide basic info in readme 2021-02-16 11:09:18 +01:00
2ddd52b284 Change flash message in case of error
Still very simple, but can be improved in future updates.
E.g. add info regarding error, or deep link to single import log with
errors, etc.
To provide that, we need to add some more code, which is not necessary
yet.
2021-02-16 11:09:18 +01:00
ba564f29f7 Remove functional tests from CI
We don't have functional tests yet
2021-02-16 11:09:18 +01:00
ded93e0d8e Integrate phpstan 2021-02-16 11:09:18 +01:00
d769e74027 Integrate dependency checker 2021-02-16 11:09:18 +01:00
dc1c45f1c1 Initial import mechanism
Provide first basic import mechanism.
It already allows to import entities into TYPO3 database.
Three entities are supported.

Entities are configured through import configuration.
This can be created, viewed, and edited through backend module.

Imports are tracked and accessible from backend module.

Still this is basic.
Importing lists of entities is not supported.
Multiple languages is not supported, etc.

Relates: #8214
2021-02-16 11:09:18 +01:00
7386a0601a Allow configuring API key on site level 2021-02-16 11:09:18 +01:00
594a9f1261 Allow installation within TYPO3 2021-02-16 11:09:18 +01:00
89a076808a Add CGL 2021-02-16 11:09:18 +01:00
deed2a65d7
Initial composer setup
This allows installation of the extension
2021-02-01 09:04:10 +01:00
Dirk Koritnik
6c28a08668
Initial commit 2021-01-28 13:46:45 +01:00