Commit graph

56 commits

Author SHA1 Message Date
Dirk Koritnik
f3b3a70948
Remove rte config fram tca, fix text cleanup from linebreaks (#3) 2023-03-17 12:58:06 +01:00
Dirk Koritnik
b99f19b79d Allow png images in file import from destination one 2023-01-24 12:01:27 +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
65e653f6ec Add location as separate record 2022-08-02 13:56:18 +00:00
0a56a5d482 Integrate destination data features
Import alongside of categories.
Use TYPO3 sys_category again.
2022-07-13 15:59:42 +02:00
6e6e914e36 Ensure first date of recurring daily event is created 2022-07-13 13:58:05 +00:00
3d98475a6c Fix none working import of ticket links from destination data
The existing code didn't work with the provided data.
We added a new test case to cover the situation.
We adjusted the existing code to check on the actual rel value instead
of the keys.
2022-07-07 09:03:29 +02:00
96f07fd501 Ensure title of sys_file_metadata is not exceeded
The columns is limited by length.
We ensure we do crop incoming file names before adding them to the
database.
We would run into exception otherwise.
2022-06-28 11:39:12 +02:00
4ef67b9bae Refactor date creation during import
Split into own class to encapsulate the logic.
2022-04-21 09:30:23 +02:00
3d6bf0ac8a Add import configuration record
It is now possible to create "Import" records in TYPO3 system.
Those records can then be imported via two new commands.
There is no need to configure everything within the command itself.

That allows:
    * To allow editors to maintain import configuration.
    * Have proper labels, description, csh and UI to create import.
      It no longer is necessary to copy UIDs,
      instead proper wizards from TCA are available to select pages.

Relates: #9649
2022-01-27 15:50:36 +01:00
b5d095659a Use new import class and move url building and fetching 2022-01-26 15:15:15 +01:00
c6ca707b1c Fix warnings in higher PHP versions ending up in TYPO3 log 2021-12-20 10:20:47 +01:00
06d111e132 Do not trigger warning if no category was configured
The import already worked without category, but triggered a warning.
Tests were extended to always work with category, except in new test
case.
All tests were extended to check for empty logs in the end.

The import now checks whether category should be imported and ignores
further processing if not configured.

Relates: #9542
2021-12-20 10:15:26 +01:00
15dec49445 Remove usage of uploads folder, use transient API instead
Relates: #9533
2021-12-16 10:00:51 +01:00
de82e395e6 Fix Coding Guideline check on CI
The current setup actually fixed and didn't check or fail.
That's changed and code is fixed.
2021-12-16 09:13:15 +01:00
0e5cd38176 Add first basic functional test for import
The test ensures import runs with a small example set of events.

We needed to alter fetching of images, in order to properly mock
responses.
2021-12-16 09:08:16 +01:00
73161fa24e Make region optional during import 2021-12-14 17:31:56 +01:00
29c31375a5 Remove PHPStan issues
Most were fixed, some were ignored on top level.
2021-12-14 17:31:46 +01:00
Dirk Koritnik
d5ad0a66a8 Fix probems with catgories
* make sure no empty category is listed in search filter
* fix type error in dd import
2021-09-08 11:03:30 +00:00
6226fb32d4 Do not break import if region could not be found 2021-09-07 12:19:49 +02:00
f618536ff9 Add PHPStan
In order to static analyze code and prevent bugs when changing code.
Fix issues in most of the files.
2021-09-07 11:07:55 +02:00
ebb668221e Support canceled attribute during import of destination data
Destination data provides an attribute "DETAILS_ABGESAGT" to mark an
event as canceled.
We now fetch that info and mark all dates of that event as canceled.

This also contains refactoring of creation of dates within import.
All dates had the same info, and are now created at a single place.

Relates: #9280
2021-09-07 09:29:38 +02:00
cbe4eda380 Add CI
* Add first basic CI with defaults.
* Add ecs for coding guideline.
* Fix invalid xliff files.
2021-09-07 09:26:59 +02:00
410a73052e Fix type miss match of object storages
The properties should always be ObjectStorage instances.
We streamline the annotation and initialization to ensure exactly that.

Also import needs small adjustment as it still expected null as possible
return type.
2021-09-07 07:54:43 +02:00
3822b86df6 Fix Category type miss match during import
Extbase Category repository was used, while custom Category instances
were expected.
2021-09-07 07:54:41 +02:00
8ddbc2fb88 Handle missing target folder on import 2021-09-07 07:54:02 +02:00
0c58be43ff Manual CGL adjustments
Not covered by PSR / phpcs

Relates: #8092
2021-09-07 07:52:15 +02:00
59272afffd Add php code sniffer to follow PSR-12
Also apply ./vendor/bin/phpcbf to auto migrate what is possible.

Relates: #8092
2021-09-07 07:51:36 +02:00
b829a25738 Auto migrate code base to TYPO3 v10
Using:

    ./vendor/bin/typo3-rector process Classes Configuration ext_*

Relates: #8092
2021-09-07 07:50:09 +02:00
Dirk Koritnik
fa507c1351 Fix ticket import 2020-10-01 09:51:15 +02:00
Dirk Koritnik
5e272178a5 Modify ticket link import 2020-10-01 09:45:32 +02:00
Dirk Koritnik
9464ad6018 Add lanuage handling 2020-10-01 08:34:13 +02:00
Dirk
f2973a4a99 Merge branch 'dev' of ssh://gitlab.werkraum-media.de:21512/typo3/events into dev 2020-08-19 11:30:21 +02:00
Dirk
3e643176a3 Add social links 2020-08-19 11:30:13 +02:00
Dirk
fbf9d55985 Remove strtolower 2020-08-18 15:22:34 +02:00
Dirk
e490feae93 Fix filename handling 2020-08-18 14:27:44 +02:00
Dirk
552986b2aa Merge 2020-08-17 14:26:38 +02:00
Dirk
3f55a189eb Add location name 2020-08-17 14:21:03 +02:00
Dirk
c95a84d52d Import price info 2020-03-16 14:06:03 +01:00
Dirk
93545bd171 Change address import 2020-03-16 13:52:58 +01:00
Dirk
b5d89ce7c4 Make untilDate to requirement 2020-03-16 12:10:01 +01:00
Dirk
d299990765 Add rest mode to destination data import 2020-02-19 09:08:15 +01:00
Dirk
b632a32fe7 Remove cat parent uid from arguments 2019-11-07 10:25:09 +01:00
Dirk
bd4409fd76 [TASK] Fix DateTime Issue 2019-10-11 15:12:07 +02:00
Dirk
bc5801452b [FIX] Fix crazy die error 2019-10-09 15:03:58 +02:00
Dirk
525ebf0f8e [TASK] Remove lat lng from set address 2019-09-23 15:43:15 +02:00
Dirk
3d4f9d5088 [TASK] Seperate lat lng in function 2019-09-23 15:41:41 +02:00
Dirk
8821bb4639 Added conditions in iport to prevent errors 2019-08-13 11:52:34 +02:00
Dirk
e9745ebd85 Rename plugin settings 2019-08-13 11:41:41 +02:00