Commit graph

17 commits

Author SHA1 Message Date
1f769939b4 Extend cleanup
Properly cleanup system.

Delete further records when deleting everything.
Also respect further records when purging old entries.

Respect:

* sys_category_record_mm
* sys_file_reference
* sys_file_metadata
2021-09-07 12:19:09 +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
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
018fdc697e Fix RemoveAllCommand return type
The command should always return an integer as exit code.
The called method does not return anything, resulting in null to be
returned.
2021-09-07 07:54:43 +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
Dirk
3e643176a3 Add social links 2020-08-19 11:30:13 +02:00
Dirk
890dcd4b35 Make default image configurable 2019-11-07 14:16:28 +01:00
Dirk
b632a32fe7 Remove cat parent uid from arguments 2019-11-07 10:25:09 +01:00
Dirk
bc5801452b [FIX] Fix crazy die error 2019-10-09 15:03:58 +02:00
8ed5bd9970 Add command to remove all past dates and events
It will search for all dates within the past and remove them. Afterwards
all events with no dates are searched and removed.

As DataHandler is used for deletion of events, there is already logging
within TYPO3, as well as recursive deletion for sys_file_references.

To speedup for large data sets, deletion of dates is done without
DataHandler.
2019-09-19 09:09:42 +02:00
ca4d7d3a01 Add basic cleanup command
Allows to remove all existing records regarding events.
It will search for all pages providing either organizer or events, and
will delete both types of records.

As DataHandler is used for deletion, there is already logging within
TYPO3, as well as recursive deletion for dates and sys_file_references.

To speedup for large data sets, truncate organizer and dates, as they
don't have recursive deletions, e.g. to sys_file_references. Also add
keys to database.
2019-09-18 18:04:29 +02:00
Dirk
662b088daa Refactoring Import Service 2019-08-13 11:17:34 +02:00
Dirk
7ab18bce50 Removed old ImportCommand 2019-08-13 09:32:46 +02:00
Dirk
a16b5d4ef7 Refactored the import command 2019-08-12 15:49:52 +02:00
Dirk
9ebe9a4751 Refactoring Imprt Command 2019-08-12 07:43:37 +02:00
Dirk
9c6539eb28 Refactored EXT dd_events to events, added fields to page type poi 2019-07-18 13:44:19 +02:00