Commit Graph

27 Commits (jtr/fix-public-exceptions-http-codes)

Author SHA1 Message Date
Robin Appelman b21c0265df
test: add some minimal testing for metadata storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-11-07 16:27:16 +07:00
Robin Appelman 19ec79b313
fix: smuggle storage id to metadata insert queries
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-11-07 16:27:14 +07:00
provokateurin 9836e9b164
chore(deps): Update nextcloud/coding-standard to v1.3.1
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-19 14:21:20 +07:00
John Molakvoæ 6eefcdba0c
Merge pull request #47316 from Farcry69/fix/metadata-refresh-crash 2024-09-16 15:59:26 +07:00
Daniel Kesselberg af6de04e9e
style: update codestyle for coding-standard 1.2.3
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-08-25 19:34:58 +07:00
Vincent FarZz c2e1c9f8dc 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-08-18 20:03:32 +07:00
Andy Scherzinger dae7c159f7
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-24 13:11:22 +07:00
Maxence Lange b4004a2582
Merge pull request #43574 from nextcloud/enh/noid/lazyappconfig-migrate-metadata
enh(metadata): migrate metadata to lazy appconfig
2024-04-17 16:20:33 +07:00
Côme Chilliet ec5133b739 fix: Apply new coding standard to all files
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-02 14:16:21 +07: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 +07: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 +07: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 +07: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 +07:00
Maxence Lange 4e1814acd1 migrate metadata to lazy appconfig
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-02-14 13:30:27 +07:00
Maxence Lange e5bee95f05 debug logs on huge metadata
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-04 21:51:56 +07:00
Maxence Lange 43469337b4 +files_metadata_installed
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-12-05 01:37:41 +07: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 +07:00
Maxence Lange e37ab38780 get sync_token on retrieveMetadata()
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-21 21:11:13 +07: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 +07:00
Maxence Lange 22d6c8dcd4 add named metadata event
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-20 13:32:54 +07: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 +07: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 +07:00
Maxence Lange 380b81315a moving metadataquery
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-13 22:25:37 +07: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 +07:00
Maxence Lange 3631536261 IFilesMetadata
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-07 13:06:13 +07:00
Maxence Lange f497d8b6e5 IFilesMetadata
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-07 12:43:08 +07:00
Maxence Lange e62e9e3dbf IFilesMetadata
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-07 00:21:38 +07:00