summaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Cache
Commit message (Collapse)AuthorAgeFilesLines
* Fix propagating changes within jail wrapperRobin Appelman2017-07-111-0/+44
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix moving folders out of a cache jailRobin Appelman2017-06-151-1/+11
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* use unmasked permissions during scanningRobin Appelman2017-05-182-0/+4
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Remove unused use statementsMorris Jobke2017-04-222-2/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Allow searching file by fileidRobin Appelman2017-04-051-1/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* rename fun to funcRobin Appelman2017-03-301-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add tests for query builder (i)likeRobin Appelman2017-03-301-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Move all children of a folder in a single queryRobin Appelman2017-03-301-18/+27
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #4004 from nextcloud/backport-27172Roeland Jago Douma2017-03-281-0/+8
|\ | | | | Remove SharedCache::getNumericStorageId to let CacheWrapper do it
| * Remove SharedCache::getNumericStorageId to let CacheWrapper do itVincent Petry2017-03-231-0/+8
| | | | | | | | | | | | The CacheWrapper will properly forward the call to the wrapped cache. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #3850 from nextcloud/search-orderMorris Jobke2017-03-232-0/+13
|\ \ | |/ |/| Fix search ordering
| * Fix search orderingRobin Appelman2017-03-232-0/+13
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | [OC/Files/Cache]: Fix wrong usage of basenameXuanwo2017-03-141-1/+2
|/ | | | | | Fix https://github.com/nextcloud/server/issues/3837 Signed-off-by: Xuanwo <xuanwo@yunify.com>
* dont allow empty wildcard searchRobin Appelman2017-03-131-0/+4
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Allow searching for favoritesRobin Appelman2017-03-082-6/+47
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Implement webdav SEARCHRobin Appelman2017-03-015-23/+74
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* add icewind/searchdavRobin Appelman2017-02-281-0/+155
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Refactor files' CacheEntry object creation to call cacheEntryFromData() all ↵Frédéric Fortier2017-02-221-36/+16
| | | | | | the time thus allowing proper casts to be done Signed-off-by: Frédéric Fortier <frederic.fortier@oronospolytechnique.com>
* Typecast filecache 'storage' as int to return it as documented, fixes #3461Frédéric Fortier2017-02-201-0/+2
| | | | Signed-off-by: Frédéric Fortier <frederic.fortier@oronospolytechnique.com>
* Merge pull request #3447 from nextcloud/getmetadata-permissions-maskRoeland Jago Douma2017-02-151-1/+1
|\ | | | | also apply permissions mask in getMetaData
| * also apply permissions mask in getMetaDataRobin Appelman2017-02-101-1/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Make sure we use the correct storage id when scanning a jailed storageRobin Appelman2017-01-252-6/+2
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* always use numeric storage id in cacheentryRobin Appelman2016-12-132-5/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix cacheentry return wrong storage idRobin Appelman2016-12-132-1/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Move the validation into one place onlyJoas Schilling2016-11-211-15/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make sure we don't scan files that can not be accessedJoas Schilling2016-11-211-0/+21
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* let the share backend get the node cacheentry to save queriesRobin Appelman2016-11-171-16/+28
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* make source cache injectable in cache wrappersRobin Appelman2016-11-172-42/+46
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* reuse the known rootinfo in the shared cache when possibleRobin Appelman2016-11-171-1/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* explicitly cast mtime to intRobin Appelman2016-11-031-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* more efficient querying of numeric storage idsRobin Appelman2016-09-072-4/+92
|
* always return numeric storage id as int, also check type equality in test ↵Jörn Friedrich Dreyer2016-08-291-4/+4
| | | | asserts
* Adding test case for getPathById including a jailed cache where root is just ↵Thomas Müller2016-08-051-1/+3
| | | | empty
* getJailedPath expects $path to have a trailing / - fixes #25464Thomas Müller2016-08-051-0/+1
|
* Update with robinJoas Schilling2016-07-2114-14/+14
|
* Fix othersJoas Schilling2016-07-2114-20/+34
|
* optimized size propagation on deletesRobin Appelman2016-06-141-4/+14
|
* Merge pull request #24863 from owncloud/propagator-batchingVincent Petry2016-06-101-1/+87
|\ | | | | Propagator batching for the file scanner
| * fix mtime propagation on sqliteRobin Appelman2016-06-021-3/+3
| |
| * add propagator batchingRobin Appelman2016-06-021-0/+86
| |
* | Merge pull request #24899 from owncloud/local-storage-symlinksVincent Petry2016-06-081-1/+6
|\ \ | | | | | | dissalow symlinks in local storages that point outside the datadir
| * | Ignore forbidden files while scanningRobin Appelman2016-06-071-1/+6
| |/
* / don't update storage mtime if we can't get the modified dateRobin Appelman2016-06-071-1/+4
|/
* Update license headersLukas Reschke2016-05-267-8/+16
|
* Merge pull request #24777 from owncloud/scanner-dont-propagateVincent Petry2016-05-231-2/+4
|\ | | | | dont needlessly triger the propgator in the scanner
| * dont needlessly triger the propgator in the scannerRobin Appelman2016-05-231-2/+4
| |
* | Only recurse into incomplete folders during background scansRobin Appelman2016-05-231-3/+6
| |
* | Merge pull request #24349 from owncloud/nfd-storagewrapperVincent Petry2016-05-231-1/+1
|\ \ | |/ |/| Add wrapper for NFD encoding workaround
| * Scanner must normalize new children names for cache diffVincent Petry2016-05-201-1/+1
| | | | | | | | | | | | | | | | | | Since new children from the storage might contain NFD entries, these must be normalized to NFC to be properly diff'ed with the cache contents which is always NFC. This fixes an issue where NFD entries would disappear from the cache after rescannng for children.
* | Merge pull request #24356 from owncloud/scanner-recursion-memoryVincent Petry2016-05-231-22/+25
|\ \ | |/ |/| Free up folder content from memory before recursing in the file scanner