Commit graph

22 commits

Author SHA1 Message Date
Dirk
0b16042f4b [TASK] Change form method 2019-09-25 15:07:44 +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 Koritnik
134611c33c Merge branch 'feature/add-cleanup' into 'dev'
Feature: Add cleanup

See merge request typo3/events!1
2019-09-19 13:32:52 +02:00
208c0cfbfa Refactor code
Split large code base into separate classes.
Use Service as a controller, in order to define tasks to execute.
2019-09-19 12:11:21 +02:00
412b59d77f WIP Remove files
Remove files from sys_file db table and filesystem.
Add this to delete all, in order to delete all matching files.
But also add to past cleanup, to only remove files which do no longer
have relations. This last part was not tested, due to missing testing
environment.
2019-09-19 10:47:37 +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
37e83dcfd0 Several changes 2019-09-13 09:10:41 +02:00
Dirk
f51017325f Added datepicker 2019-08-14 18:40:04 +02:00
Dirk
f1cbba74c1 Implement date search 2019-08-14 17:22:01 +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
Dirk
662b088daa Refactoring Import Service 2019-08-13 11:17:34 +02:00
Dirk
f6a46012a7 Make Pid of categories configurable 2019-08-13 10:10:00 +02:00
Dirk
7ab18bce50 Removed old ImportCommand 2019-08-13 09:32:46 +02:00
Dirk
f2fcf646f8 Small changes to load file function 2019-08-13 09:12:30 +02:00
Dirk
011c337078 Fix typo3 in variable 2019-08-12 16:12:45 +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
945bc32fec Added map, changed gulp 2019-07-25 12:42: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