nextcloud-server/apps/dav/lib/Migration
Thomas Citharel bd8b2137e2
Allow DAV Object properties
The current implementation only saves them as string. It seems they can
be more complex than that, and that objects were saved directly.

You may find such objects saved in some production databases by
executing:
```sql
SELECT * from oc_properties where propertyvalue = 'Object';
```

This commit adds a repair job to clean all of these "broken" properties
values, adds a new database column to save the type of the property, and
handles converting from and to correct values.

Implementation is very similar to SabreDAV's own PDO backend: 4921806dfb/sabre/dav/lib/DAV/PropertyStorage/Backend/PDO.php

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-05-16 15:02:00 +07:00
..
BuildCalendarSearchIndex.php
BuildCalendarSearchIndexBackgroundJob.php
BuildSocialSearchIndex.php
BuildSocialSearchIndexBackgroundJob.php
CalDAVRemoveEmptyValue.php
ChunkCleanup.php
FixBirthdayCalendarComponent.php
RefreshWebcalJobRegistrar.php
RegenerateBirthdayCalendars.php
RegisterBuildReminderIndexBackgroundJob.php
RemoveClassifiedEventActivity.php
RemoveDeletedUsersCalendarSubscriptions.php
RemoveObjectProperties.php Allow DAV Object properties 2022-05-16 15:02:00 +07:00
RemoveOrphanEventsAndContacts.php
Version1004Date20170825134824.php
Version1004Date20170919104507.php
Version1004Date20170924124212.php
Version1004Date20170926103422.php
Version1005Date20180413093149.php
Version1005Date20180530124431.php
Version1006Date20180619154313.php
Version1006Date20180628111625.php
Version1008Date20181030113700.php
Version1008Date20181105104826.php
Version1008Date20181105104833.php
Version1008Date20181105110300.php
Version1008Date20181105112049.php
Version1008Date20181114084440.php
Version1011Date20190725113607.php
Version1011Date20190806104428.php
Version1012Date20190808122342.php
Version1016Date20201109085907.php
Version1017Date20210216083742.php
Version1018Date20210312100735.php
Version1024Date20211221144219.php Allow DAV Object properties 2022-05-16 15:02:00 +07:00