aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2021-12-21 16:17:13 +0100
committerThomas Citharel <tcit@tcit.fr>2022-05-16 15:02:00 +0200
commitbd8b2137e20a4d70bd643c32653c618ade685941 (patch)
tree60dc96cf630d7a8e522dba4f1a3dc709d2c8b48b /apps/files
parent259b2806bc77d6e46bd37d532bd3af3f971ef5f6 (diff)
downloadnextcloud-server-bd8b2137e20a4d70bd643c32653c618ade685941.tar.gz
nextcloud-server-bd8b2137e20a4d70bd643c32653c618ade685941.zip
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: https://github.com/nextcloud/3rdparty/blob/4921806dfb1c5c309eac60195ed34e2749baf3c1/sabre/dav/lib/DAV/PropertyStorage/Backend/PDO.php Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'apps/files')
0 files changed, 0 insertions, 0 deletions