aboutsummaryrefslogtreecommitdiffstats
path: root/lib/files/cache/scanner.php
Commit message (Collapse)AuthorAgeFilesLines
* move the private namespace OC into lib/private - OCP will stay in lib/publicThomas Müller2013-09-301-258/+0
| | | | | Conflicts: lib/private/vcategories.php
* Do not recheck $cacheData. Move if($reuseExisting) under if($cacheData).Andreas Fischer2013-09-241-27/+27
|
* clear permissions cache when scanning a fileRobin Appelman2013-09-241-3/+12
|
* Merge remote-tracking branch 'owncloud/master' into fixing-4866-masterAndreas Fischer2013-09-231-0/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * owncloud/master: (98 commits) [tx-robot] updated from transifex files: when filtering search results, ensure results are children of the fakeroot not just path starting the same setting a default on filecache column unencrypted_size [tx-robot] updated from transifex remove unneccessary lib in namespace namespaces use upcasefirst parts when _ is left in namespace and files are named after their classes the autoloader will also find classes in the lib folder of an app its magic! initialize variable calculate correct permissions while toggle the password protection make sure that both $permissions and $oldPermissions have the same type Add copyright, remove starting blank line update inherit docs comment Fix insert/update/delete helper functions for oracle Add missing return true statements to legacy preferences functions Add missing static Convert OC_Preference to object interface fix race condition in lazy preview loading use {count} instead of 'One' for more versatile translation fix double translation of error message use n to translate title fixing typos and l10n ... Conflicts: tests/lib/files/cache/scanner.php
| * Merge pull request #4327 from owncloud/scanfile-removeThomas Müller2013-09-221-0/+2
| |\ | | | | | | remove deleted files while scanning
| | * remove deleted files while scanningRobin Appelman2013-08-061-0/+2
| | |
* | | Only update the etag. Do not re-submit any other unchanged data.Andreas Fischer2013-09-201-2/+3
| | |
* | | Use update() instead of put().Andreas Fischer2013-09-201-3/+1
| | |
* | | when storing back the data field 'encrypted' it is necessary to cast the ↵Thomas Müller2013-09-201-0/+2
| | | | | | | | | | | | boolean to an integer to make pg happy
* | | etag changes are now propagated up the file treeThomas Müller2013-09-161-0/+14
| | |
* | | recreate an etag within the scanner if the cache contains an empty etagThomas Müller2013-09-161-1/+7
|/ /
* | Always check variable type before using readdir to avoid surprisesArthur Schiwon2013-09-041-13/+15
| |
* | use strict equals in readdir loops to prevent issues with '0' filesRobin Appelman2013-08-191-1/+1
| |
* | Scanner: correctly pass trough reuse options when doing a recursive scanRobin Appelman2013-08-121-1/+1
|/
* use isset to prevent undefined indexThomas Müller2013-08-051-1/+1
|
* Merge pull request #4213 from owncloud/scanning-performanceicewind19912013-07-291-3/+4
|\ | | | | Cache: don't check if the parent exists in the cache if we are already sure it does
| * better variable namingRobin Appelman2013-07-291-3/+3
| |
| * Cache: don't check if the parent exists in the cache if we are already sure ↵Robin Appelman2013-07-271-3/+4
| | | | | | | | it does
* | Move check so the variable will never be undefinedMichael Gapczynski2013-07-281-3/+3
|/
* Make Cache\Scanner an emitterRobin Appelman2013-07-191-2/+13
|
* remove deleted files when re-scanning a folderRobin Appelman2013-06-201-0/+14
|
* add tests for reusing existing data in scannerRobin Appelman2013-06-171-4/+2
|
* scanner: give more percision about what data is reused during scanningRobin Appelman2013-06-141-17/+29
|
* split of scanning the childs of a folderRobin Appelman2013-06-141-17/+24
|
* Organize conditionals in a better orderMichael Gapczynski2013-05-291-8/+4
|
* Only update metadata that has changedMichael Gapczynski2013-05-291-2/+9
|
* Merge branch 'master' into move-storagesMichael Gapczynski2013-05-231-1/+4
|\ | | | | | | | | Conflicts: tests/lib/files/view.php
| * merge master into filecache_mtimeRobin Appelman2013-05-211-26/+46
| |\
| | * Prevent backgroundScan() from looping if opendir() is failing for the same pathMichael Gapczynski2013-05-131-1/+3
| | |
| * | merge master into filecache_mtimeRobin Appelman2013-02-151-10/+33
| |\ \
| * | | Cache: bookkeeping of storage_mtimeRobin Appelman2013-02-101-0/+1
| | | |
* | | | Add support for copying/moving folders between storages, move isIgnoredDir() ↵Michael Gapczynski2013-05-191-13/+1
| |_|/ |/| | | | | | | | to Filesystem
* | | rename isIgnoredFile to isPartialFile, remove check of blacklisted files in ↵Jörn Friedrich Dreyer2013-05-101-5/+5
| | | | | | | | | | | | isPartialFile, correct usage of isPartialFile and isFileBlacklisted
* | | fix for infinite loop causing on files_encryption branch when testing ↵Florin Peter2013-04-291-1/+1
| | | | | | | | | | | | "apps/files_encryption/test/crypt.php" on Method testSymmetricStreamEncryptShortFileContent
* | | supress write hook for .part filesJörn Friedrich Dreyer2013-03-281-6/+3
| | |
* | | ignore files in scanFile instead of scan to catch all occurences.Jörn Friedrich Dreyer2013-03-281-25/+42
| | |
* | | Cache: on equal mtime also for equal size before keeping ETag, at least ↵Arthur Schiwon2013-03-271-1/+2
| | | | | | | | | | | | makes Unit Test happy
* | | Cache: Do not overwrite ETag when file did not changeArthur Schiwon2013-03-271-4/+6
| | |
* | | Improve phpdoc for the filecacheRobin Appelman2013-03-241-1/+1
| | |
* | | Filter display of blacklisted filesAndreas Schönebeck2013-03-151-0/+1
| |/ |/| | | | | | | | | | | | | | | | | | | Blacklisted files like ".htaccess" and ".git" should not only be blacklisted for upload and rename, but they should also not be displayed in the directory listings. I needed this personally to hide ".git" folders in shared folders. Its also a simple implementation of feature requests like http://forum.owncloud.org/viewtopic.php?f=4&t=3279 and http://forum.owncloud.org/viewtopic.php?f=3&t=5708
* | Cache: fix scanner trying to use existing data when file isn't in cacheRobin Appelman2013-02-121-2/+1
| |
* | fixing syntax errorThomas Mueller2013-02-121-1/+1
| |
* | Cache: also preserve etags for filesRobin Appelman2013-02-121-2/+5
| |
* | Cache: don't create a new etag when the mtime hasn't changedRobin Appelman2013-02-111-0/+3
| |
* | Cache: actually use parameterRobin Appelman2013-02-111-1/+1
| |
* | Cache: reuse known folder sizes when doing a shallow scanRobin Appelman2013-02-111-3/+7
| |
* | Cache: simplify scanner logic a bit when handeling with unknown folder sizesRobin Appelman2013-02-111-9/+7
| |
* | append .part to put filesJörn Friedrich Dreyer2013-02-101-1/+17
|/
* fix empty path handlingJörn Friedrich Dreyer2013-02-091-1/+1
|
* Remove a warning by making sure the renamed file is a dir before trying and ↵TheSFReader2013-02-021-1/+1
| | | | opening it