aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Files/Cache
Commit message (Collapse)AuthorAgeFilesLines
* fix(psalm): Fix @throws annotationsfix/psalm/throws-annotationsprovokateurin2024-09-171-1/+1
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-251-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-2414-267/+40
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* feat: add interface for lower level filecache acess without having to do ↵Robin Appelman2024-03-251-0/+99
| | | | | | direct db queries Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix(OCP): Add since tag for all constantsJoas Schilling2024-02-144-0/+51
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* chore: Add missing ArrayAccess template parametersCôme Chilliet2024-02-061-0/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* perf: Avoid updating the folder size if we know the size differenceJulius Härtl2024-01-121-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* fix(ObjectStore): Make copying behavior consistent with local storageFerdinand Thiessen2023-11-171-2/+2
| | | | | | Drop file permissions on copy like we do on local storage. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Fix typos in lib/public subdirectorySimon L2023-05-101-1/+1
| | | | | | | | | | | | | Found via `codespell -q 3 -S l10n -L jus ./lib/public` Signed-off-by: luz paz <luzpaz@github.com> Update lib/public/Accounts/IAccount.php Signed-off-by: luz paz <luzpaz@github.com> Signed-off-by: Simon L <szaimen@e.mail.de> Co-Authored-By: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
* Document all getIncomplete implementations as returning string|falseCôme Chilliet2022-08-021-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* store unencrypted size in the unencrypted_size columnRobin Appelman2022-06-021-0/+10
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add already used optional sizeDifference parameter to IPropagatorJulius Härtl2021-10-141-1/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Remove some mentions of ownCloud from our api documentationCarl Schwan2021-07-291-3/+3
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* use searchoperation for storage filter instead of db expressionRobin Appelman2021-06-141-6/+4
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* rework search api to allow searching on multiple caches at onceRobin Appelman2021-06-141-0/+29
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-0413-20/+7
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* add ICopyFromCache trait to expose existing implementationRobin Appelman2021-03-121-0/+11
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* catch notfound and forbidden exception in smb::getmetadataRobin Appelman2021-03-041-2/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* move AbstractCacheEvent into OCPRobin Appelman2021-02-154-6/+95
| | | | | | otherwise we have concrete cache events in OCP extending non OCP classes Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-163-3/+12
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* code style and dispatchTypedRobin Appelman2020-12-022-2/+0
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* rename cache event to follow new naming standardsRobin Appelman2020-11-265-7/+75
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* extend cache eventsRobin Appelman2020-11-262-0/+40
| | | | | | | | - adds cache remove event - expose storage id in event - emit events during cache move Signed-off-by: Robin Appelman <robin@icewind.nl>
* The file cache entry is array accessibleChristoph Wurst2020-10-131-1/+7
| | | | | | … so let's make this part of our API. We use it as array already. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headers for 19Christoph Wurst2020-04-294-0/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add visibility to all constantsChristoph Wurst2020-04-104-14/+14
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-091-0/+1
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Allow to overwrite the path on the cache eventJoas Schilling2020-02-131-0/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update license headersChristoph Wurst2019-12-059-12/+27
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-221-1/+0
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* store filecache extension fieldsRobin Appelman2019-11-131-0/+24
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Remove deprecated searchByTagRoeland Jago Douma2019-07-261-13/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* add event for cache updateRobin Appelman2019-02-183-44/+83
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* add event for inserting cache entriesRobin Appelman2019-02-071-0/+72
| | | | | | | | this provides a reliable way for apps to listen to new files without the need to of cache wrappers to hook into inserts themselves (something which isn't 100% reliable) Signed-off-by: Robin Appelman <robin@icewind.nl>
* Remove unused use statementsMorris Jobke2017-04-221-1/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Implement webdav SEARCHRobin Appelman2017-03-011-0/+12
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* minor storage interface tweaksRobin Appelman2017-01-241-0/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update with robinJoas Schilling2016-07-216-6/+6
|
* Fix othersJoas Schilling2016-07-216-6/+12
|
* add propagator batchingRobin Appelman2016-06-021-0/+19
|
* Only recurse into incomplete folders during background scansRobin Appelman2016-05-231-0/+1
|
* Move \OCP\Files to PSR-4Roeland Jago Douma2016-05-186-0/+664