aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/FilesMetadata
Commit message (Collapse)AuthorAgeFilesLines
* test: add some minimal testing for metadata storagemetadata-storage-idRobin Appelman2024-11-073-5/+16
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix: smuggle storage id to metadata insert queriesRobin Appelman2024-11-073-1/+33
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-198-10/+10
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* Merge pull request #47316 from Farcry69/fix/metadata-refresh-crashJohn Molakvoæ2024-09-161-1/+1
|\
| * fix: Prevent crash when refreshing metadata for files without an ownerVincent FarZz2024-08-181-1/+1
| | | | | | | | | | | | 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>
* | style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-252-25/+25
|/ | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-249-171/+18
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* Merge pull request #43574 from nextcloud/enh/noid/lazyappconfig-migrate-metadataMaxence Lange2024-04-172-38/+36
|\ | | | | enh(metadata): migrate metadata to lazy appconfig
| * migrate metadata to lazy appconfigMaxence Lange2024-02-142-38/+36
| | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | fix: Apply new coding standard to all filesCôme Chilliet2024-04-022-9/+9
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix(files): Do not throw an exception if the etag is not set in metadataLouis Chemineau2024-03-141-1/+1
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | feat(metadata): get deprecated status using file etagMaxence Lange2024-03-073-11/+44
| | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | perf: switch places that always use the first getById result to getFirstNodeByIdRobin Appelman2024-03-041-4/+3
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Fix data type in FilesMetadata::setIntList()hschletz2024-02-231-1/+1
|/ | | | | 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>
* debug logs on huge metadataMaxence Lange2024-01-041-1/+2
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* +files_metadata_installedMaxence Lange2023-12-051-2/+26
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* fix(metadata): Allow to load metadata of multiple files at onceJoas Schilling2023-12-042-0/+47
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* get sync_token on retrieveMetadata()Maxence Lange2023-11-211-0/+1
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Listen to cache event when deleting metadataLouis Chemineau2023-11-212-9/+6
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* add named metadata eventMaxence Lange2023-11-201-1/+7
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* metadata must be set as editable for PROPPATCHMaxence Lange2023-11-144-8/+77
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* ignore metadata if table is emptyMaxence Lange2023-11-141-2/+6
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* moving metadataqueryMaxence Lange2023-11-132-4/+4
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Support getting and setting metadata in DAV requestsLouis Chemineau2023-11-084-10/+17
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* IFilesMetadataMaxence Lange2023-11-071-2/+0
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* IFilesMetadataMaxence Lange2023-11-074-5/+15
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* IFilesMetadataMaxence Lange2023-11-079-0/+1974
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>