Vincent FarZz
6ccafa3090
fix: Prevent crash when refreshing metadata for files without an owner
...
This crash was mostly happening when using external storages and for example the command "occ memories:migrate-google-takeout"
Signed-off-by: Vincent FarZz <farcry69@live.fr>
2024-09-16 14:01:14 +00:00
Maxence Lange
3f86f4e1ff
feat(metadata): migrate to lazy appconfig
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-05-27 10:27:49 -04:00
Côme Chilliet
0b332ceac2
fix: Apply new coding standard to all files
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-04 11:45:22 +02:00
Louis Chemineau
8205de75c7
fix(files): Do not throw an exception if the etag is not set in metadata
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-03-14 11:18:36 +01:00
Maxence Lange
3fa5e598a8
feat(metadata): get deprecated status using file etag
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-03-07 12:49:06 -01:00
Robin Appelman
e7a7b4a401
perf: switch places that always use the first getById result to getFirstNodeById
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-04 13:57:31 +01:00
hschletz
b277841cb4
Fix data type in FilesMetadata::setIntList()
...
FilesMetadata::setIntList() throws an exception because it uses the incorrect type IMetadataValueWrapper::TYPE_STRING_LIST instead of IMetadataValueWrapper::TYPE_INT_LIST.
Signed-off-by: hschletz <holger.schletz@web.de>
2024-02-23 15:58:51 +01:00
Maxence Lange
e5bee95f05
debug logs on huge metadata
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-04 21:51:56 -01:00
Maxence Lange
43469337b4
+files_metadata_installed
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-12-05 01:37:41 -01:00
Joas Schilling
2a0daf7aff
fix(metadata): Allow to load metadata of multiple files at once
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-04 13:34:10 +01:00
Maxence Lange
e37ab38780
get sync_token on retrieveMetadata()
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-21 21:11:13 -01:00
Louis Chemineau
b63ddc73a2
Listen to cache event when deleting metadata
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-21 13:52:31 +01:00
Maxence Lange
22d6c8dcd4
add named metadata event
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-20 13:32:54 -01:00
Maxence Lange
847c687a06
metadata must be set as editable for PROPPATCH
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-14 14:38:53 +01:00
Maxence Lange
3af12b2a50
ignore metadata if table is empty
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-14 09:28:58 -01:00
Maxence Lange
380b81315a
moving metadataquery
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-13 22:25:37 -01:00
Louis Chemineau
d3a313f192
Support getting and setting metadata in DAV requests
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-08 16:23:53 +01:00
Maxence Lange
3631536261
IFilesMetadata
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-07 13:06:13 -01:00
Maxence Lange
f497d8b6e5
IFilesMetadata
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-07 12:43:08 -01:00
Maxence Lange
e62e9e3dbf
IFilesMetadata
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-07 00:21:38 -01:00