aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/files/cache
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge pull request #8852 from owncloud/kill-permissions-masterThomas Müller2014-06-054-110/+0
|\ | | | | Kill permissions table
| * - drop permissions table and related codeThomas Müller2014-06-054-110/+0
| | | | | | | | | | | | - the file/folder's permission is now stored in the file cache - BackGroundWatcher has been removed - this has meanwhile be replaced by occ files:scan which can be executed in a cron jobs - increase version to trigger database migration
* | Fix unit testsRobin Appelman2014-06-041-8/+0
| |
* | Add a change propagator class to handle propagating etag and mtime changesRobin Appelman2014-06-021-0/+72
|/
* fix illegal usage of unlink in test caseRobin Appelman2014-05-281-1/+1
|
* Remove all occurences of @brief and @returns from PHPDocMorris Jobke2014-05-191-2/+2
| | | | * test case added to avoid adding them later
* Merge pull request #7420 from owncloud/cachehooks-firstThomas Müller2014-03-251-5/+0
|\ | | | | Manually triger the filecache update hooks before any other hook
| * Merge branch 'master' into cachehooks-firstRobin Appelman2014-03-132-29/+82
| |\
| * | Manually triger the filecache update hooks before any other hookRobin Appelman2014-02-261-5/+0
| | |
* | | Remove assert since the root size of the home storage is no longer calculatedRobin Appelman2014-03-031-1/+0
| |/ |/|
* | initialize etags of temporary storageJörn Friedrich Dreyer2014-02-271-0/+1
| |
* | use assertInternalType for typecheckingJörn Friedrich Dreyer2014-02-272-29/+71
| |
* | use assertSame and assertNotSame for etag checksJörn Friedrich Dreyer2014-02-271-8/+18
|/
* Merge pull request #7274 from owncloud/scrutinizer-patch-1Morris Jobke2014-02-191-0/+4
|\ | | | | Scrutinizer Auto-Fixes
| * Scrutinizer Auto-FixesScrutinizer Auto-Fixer2014-02-191-0/+4
| | | | | | | | | | | | | | | | | | | | | | This patch was automatically generated as part of the following inspection: https://scrutinizer-ci.com/g/owncloud/core/inspections/cdfecc4e-a37e-4233-8025-f0d7252a8720 Enabled analysis tools: - PHP Analyzer - JSHint - PHP Copy/Paste Detector - PHP PDepend
* | add unit tests for watcher policiesRobin Appelman2014-02-191-1/+55
|/
* Fix array access syntax for older PHPVincent Petry2014-01-171-2/+3
| | | | There was a syntax error when running tests in PHP 5.3.10.
* Merge pull request #6768 from owncloud/scanner-use-storage-mtimeVincent Petry2014-01-152-2/+2
|\ | | | | Use storage_mtime when determining if we can reuse cached data while scanning
| * update another testRobin Appelman2014-01-141-1/+1
| |
| * use different value for mtime and storage_mtime in testRobin Appelman2014-01-141-1/+1
| |
| * Use storage_mtime when determining if we can reuse cached data while scanningRobin Appelman2014-01-141-1/+1
| |
* | Fix calculated folder size to use unencrypted sizeVincent Petry2014-01-091-0/+45
|/ | | | | | The encrypted size was used when calculating folder sizes. This fix now also sums up the unencrypted size and shows that one when available.
* Now also preventing to override "files" dir size with -1Vincent Petry2014-01-071-6/+12
| | | | Fixes #6526
* Redetect mime type whenever extension is renamedVincent Petry2013-11-271-0/+8
|
* Root size for home storage is now size of "files" subdirVincent Petry2013-11-181-0/+26
| | | | Fixes #4593
* Do not use -1 as the size for the root folder of the home storageRobin Appelman2013-11-122-14/+136
|
* Fixed filesize issue in watchr testVincent Petry2013-11-051-0/+3
| | | | | | | Added clearstatcache to make sure we get the correct file size after re-writing into the same file. This failed on openSUSE 12.3 x86_64
* Merge branch 'master' into update-parent-storage-mtimeRobin Appelman2013-10-301-0/+18
|\ | | | | | | | | Conflicts: lib/private/files/cache/updater.php
| * backport of https://github.com/owncloud/core/pull/5513Bjoern Schiessle2013-10-291-0/+18
| |
* | update touch tests for updated behaviourRobin Appelman2013-10-291-2/+0
| |
* | Update the parent folders storage_mtime on write and delete to prevent rescansRobin Appelman2013-10-291-0/+32
|/
* clear permissions cache when scanning a fileRobin Appelman2013-09-241-0/+17
|
* Move setUp() and tearDown() up in tests/lib/files/cache/scanner.php.Andreas Fischer2013-09-231-15/+15
|
* Merge remote-tracking branch 'owncloud/master' into fixing-4866-masterAndreas Fischer2013-09-231-1/+10
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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/+10
| |\ | | | | | | remove deleted files while scanning
| | * remove deleted files while scanningRobin Appelman2013-08-061-0/+10
| | |
* | | Do not convert boolean to integer in tests. put() already does this.Andreas Fischer2013-09-211-1/+0
| | |
* | | when storing back the data field 'encrypted' it is necessary to cast the ↵Thomas Müller2013-09-201-0/+1
| | | | | | | | | | | | boolean to an integer to make pg happy
* | | etag changes are now propagated up the file treeThomas Müller2013-09-161-6/+15
| | |
* | | recreate an etag within the scanner if the cache contains an empty etagThomas Müller2013-09-161-0/+17
|/ /
* / Scanner: additional tests for reusing etags during scanningRobin Appelman2013-08-121-0/+18
|/
* Add test for calculating size of newly empty folderMichael Gapczynski2013-07-291-0/+5
|
* Scanner test: ensure mtime in the cache is the same as on the storage to ↵Robin Appelman2013-07-051-0/+1
| | | | prevent random failures
* rename can cause mtime change - invalid assertThomas Müller2013-07-011-2/+4
|
* graceful teardown of cacheJörn Friedrich Dreyer2013-06-241-1/+3
|
* Merge pull request #3796 from ↵Thomas Müller2013-06-201-4/+6
|\ | | | | | | | | owncloud/gracefully_handle_teardown_in_scanner_test skip teardown if cache has not been set up
| * skip teardown if cache has not been set upJörn Friedrich Dreyer2013-06-201-4/+6
| |
* | adding unit test for folder remove: testRemovedFolder()Thomas Mueller2013-06-201-0/+11
| |
* | remove deleted files when re-scanning a folderRobin Appelman2013-06-201-0/+10
|/
* Merge pull request #3764 from owncloud/scanfolder-existingicewind19912013-06-192-4/+21
|\ | | | | Improve re-using existing data in the filescanner