mirror of
https://github.com/werkraum-media/events.git
synced 2024-11-15 07:36:11 +01:00
Daniel Siepmann
6aa4681cb9
Adjust existing code base to not use hardcoded file path. Instead use info from database and check all files which have references to event objects. Also add test to cover feature.
224 lines
7.2 KiB
XML
224 lines
7.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<dataset>
|
|
<pages>
|
|
<pid>0</pid>
|
|
<uid>1</uid>
|
|
<title>Root page</title>
|
|
<slug>1</slug>
|
|
</pages>
|
|
<pages>
|
|
<pid>1</pid>
|
|
<uid>2</uid>
|
|
<title>Storage</title>
|
|
<doktype>254</doktype>
|
|
</pages>
|
|
|
|
<sys_category>
|
|
<uid>1</uid>
|
|
<pid>2</pid>
|
|
<title>Example Category 1</title>
|
|
</sys_category>
|
|
<sys_category>
|
|
<uid>2</uid>
|
|
<pid>2</pid>
|
|
<title>Example Category 2</title>
|
|
</sys_category>
|
|
|
|
<sys_category_record_mm>
|
|
<uid_local>1</uid_local>
|
|
<uid_foreign>1</uid_foreign>
|
|
<tablenames>tx_events_domain_model_event</tablenames>
|
|
</sys_category_record_mm>
|
|
<sys_category_record_mm>
|
|
<uid_local>2</uid_local>
|
|
<uid_foreign>1</uid_foreign>
|
|
<tablenames>tx_events_domain_model_event</tablenames>
|
|
</sys_category_record_mm>
|
|
|
|
<sys_file_storage>
|
|
<uid>1</uid>
|
|
<pid>0</pid>
|
|
<tstamp>1423209858</tstamp>
|
|
<crdate>1370878372</crdate>
|
|
<cruser_id>0</cruser_id>
|
|
<deleted>0</deleted>
|
|
<name>fileadmin/ (auto-created)</name>
|
|
<description>This is the local fileadmin/ directory. This storage mount has been created automatically by TYPO3.</description>
|
|
<driver>Local</driver>
|
|
<configuration><![CDATA[<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
|
<T3FlexForms>
|
|
<data>
|
|
<sheet index="sDEF">
|
|
<language index="lDEF">
|
|
<field index="basePath">
|
|
<value index="vDEF">fileadmin/</value>
|
|
</field>
|
|
<field index="pathType">
|
|
<value index="vDEF">relative</value>
|
|
</field>
|
|
<field index="caseSensitive">
|
|
<value index="vDEF">1</value>
|
|
</field>
|
|
</language>
|
|
</sheet>
|
|
</data>
|
|
</T3FlexForms>]]></configuration>
|
|
<is_browsable>1</is_browsable>
|
|
<is_public>1</is_public>
|
|
<is_writable>1</is_writable>
|
|
<is_online>1</is_online>
|
|
<processingfolder>_processed_</processingfolder>
|
|
<is_default>1</is_default>
|
|
<auto_extract_metadata>1</auto_extract_metadata>
|
|
</sys_file_storage>
|
|
|
|
<sys_file>
|
|
<uid>1</uid>
|
|
<pid>0</pid>
|
|
<tstamp>1371467047</tstamp>
|
|
<type>2</type>
|
|
<storage>1</storage>
|
|
<identifier>/user_uploads/example-for-event.gif</identifier>
|
|
<extension>gif</extension>
|
|
<mime_type>image/gif</mime_type>
|
|
<name>ext_icon.gif</name>
|
|
<sha1>359ae0fb420fe8afe1a8b8bc5e46d75090a826b9</sha1>
|
|
<size>637</size>
|
|
<creation_date>1370877201</creation_date>
|
|
<modification_date>1369407629</modification_date>
|
|
<last_indexed>0</last_indexed>
|
|
<missing>0</missing>
|
|
<metadata>0</metadata>
|
|
<identifier_hash>475768e491580fb8b74ed36c2b1aaf619ca5e11d</identifier_hash>
|
|
<folder_hash>b4ab666a114d9905a50606d1837b74d952dfd90f</folder_hash>
|
|
</sys_file>
|
|
<sys_file>
|
|
<uid>2</uid>
|
|
<pid>0</pid>
|
|
<tstamp>1371467047</tstamp>
|
|
<type>2</type>
|
|
<storage>1</storage>
|
|
<identifier>/user_uploads/example-for-partner.gif</identifier>
|
|
<extension>gif</extension>
|
|
<mime_type>image/gif</mime_type>
|
|
<name>ext_icon.gif</name>
|
|
<sha1>359ae0fb420fe8afe1a8b8bc5e46d75090a826b9</sha1>
|
|
<size>637</size>
|
|
<creation_date>1370877201</creation_date>
|
|
<modification_date>1369407629</modification_date>
|
|
<last_indexed>0</last_indexed>
|
|
<missing>0</missing>
|
|
<metadata>0</metadata>
|
|
<identifier_hash>475768e491580fb8b74ed36c2b1aaf619ca5e11d</identifier_hash>
|
|
<folder_hash>b4ab666a114d9905a50606d1837b74d952dfd90f</folder_hash>
|
|
</sys_file>
|
|
|
|
<sys_file_metadata>
|
|
<uid>1</uid>
|
|
<pid>0</pid>
|
|
<tstamp>1371467047</tstamp>
|
|
<crdate>1371467047</crdate>
|
|
<cruser_id>1</cruser_id>
|
|
<file>1</file>
|
|
</sys_file_metadata>
|
|
<sys_file_metadata>
|
|
<uid>2</uid>
|
|
<pid>0</pid>
|
|
<tstamp>1371467047</tstamp>
|
|
<crdate>1371467047</crdate>
|
|
<cruser_id>1</cruser_id>
|
|
<file>2</file>
|
|
</sys_file_metadata>
|
|
|
|
<sys_file_reference>
|
|
<uid>1</uid>
|
|
<pid>2</pid>
|
|
<tstamp>1373537480</tstamp>
|
|
<crdate>1371484347</crdate>
|
|
<cruser_id>1</cruser_id>
|
|
<deleted>0</deleted>
|
|
<hidden>0</hidden>
|
|
<sys_language_uid>0</sys_language_uid>
|
|
<uid_local>1</uid_local>
|
|
<uid_foreign>1</uid_foreign>
|
|
<tablenames>tx_events_domain_model_event</tablenames>
|
|
<fieldname>images</fieldname>
|
|
<sorting_foreign>1</sorting_foreign>
|
|
<table_local>sys_file</table_local>
|
|
</sys_file_reference>
|
|
<sys_file_reference>
|
|
<uid>2</uid>
|
|
<pid>2</pid>
|
|
<tstamp>1373537480</tstamp>
|
|
<crdate>1371484347</crdate>
|
|
<cruser_id>1</cruser_id>
|
|
<deleted>0</deleted>
|
|
<hidden>0</hidden>
|
|
<sys_language_uid>0</sys_language_uid>
|
|
<uid_local>2</uid_local>
|
|
<uid_foreign>1</uid_foreign>
|
|
<tablenames>tx_events_domain_model_partner</tablenames>
|
|
<fieldname>images</fieldname>
|
|
<sorting_foreign>1</sorting_foreign>
|
|
<table_local>sys_file</table_local>
|
|
</sys_file_reference>
|
|
|
|
<tx_events_domain_model_region>
|
|
<uid>1</uid>
|
|
<pid>2</pid>
|
|
<title>Example Region</title>
|
|
</tx_events_domain_model_region>
|
|
|
|
<tx_events_domain_model_partner>
|
|
<uid>1</uid>
|
|
<pid>2</pid>
|
|
<title>Example Partner</title>
|
|
<link>https://example.com</link>
|
|
<images>1</images>
|
|
</tx_events_domain_model_partner>
|
|
|
|
<tx_events_domain_model_organizer>
|
|
<uid>1</uid>
|
|
<pid>2</pid>
|
|
<name>Example Organizer</name>
|
|
<street>Example Street 17</street>
|
|
<district></district>
|
|
<city>Example Town</city>
|
|
<zip>00101</zip>
|
|
<phone>+49 2161 56 36 27 37 48 94 28</phone>
|
|
<web>https://example.com</web>
|
|
<email>someone@example.com</email>
|
|
</tx_events_domain_model_organizer>
|
|
|
|
<tx_events_domain_model_event>
|
|
<uid>1</uid>
|
|
<pid>2</pid>
|
|
<title>Example Event</title>
|
|
<subtitle>Some further info about event</subtitle>
|
|
<global_id>5540-34</global_id>
|
|
<slug>5540-34</slug>
|
|
<organizer>1</organizer>
|
|
<partner>1</partner>
|
|
<region>1</region>
|
|
<images>0</images>
|
|
<categories>2</categories>
|
|
</tx_events_domain_model_event>
|
|
|
|
<tx_events_domain_model_date>
|
|
<uid>1</uid>
|
|
<pid>2</pid>
|
|
<event>1</event>
|
|
<start>4101372000</start>
|
|
<end>4101377400</end>
|
|
<canceled>no</canceled>
|
|
</tx_events_domain_model_date>
|
|
|
|
<tx_events_domain_model_date>
|
|
<uid>2</uid>
|
|
<pid>2</pid>
|
|
<event>1</event>
|
|
<start>4101372000</start>
|
|
<end>4101377400</end>
|
|
<canceled>no</canceled>
|
|
</tx_events_domain_model_date>
|
|
</dataset>
|