aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/files
Commit message (Collapse)AuthorAgeFilesLines
...
| * copy always file by file to encrypt/decrypt it if neededBjoern Schiessle2015-08-261-53/+8
| |
| * occ tool to encrypt all filesBjoern Schiessle2015-08-262-2/+2
| |
* | Revert "Fix mounting wrapped storages resulting in many-layered wrapping"Robin McCorkell2015-08-191-21/+0
|/ | | | This reverts commit 75a5e6e12b18a9f5b7b113cd7e2c9c56c204084d.
* Merge pull request #17932 from owncloud/fix_move_filesThomas Müller2015-08-111-1/+3
|\ | | | | make sure that hooks are emitted properly on file move operation
| * make sure that we emit the hooks if a file gets moved from a subfolder to ↵Bjoern Schiessle2015-07-291-1/+3
| | | | | | | | the root folder with the nodes API
* | Merge pull request #18124 from owncloud/share-permwrongvarMorris Jobke2015-08-071-3/+60
|\ \ | | | | | | Fix removal of share permissions when share disabled for user
| * | Fix removal of share permissions when share disabled for userVincent Petry2015-08-071-3/+60
| | |
* | | Merge pull request #13641 from owncloud/cache-storage-statusVincent Petry2015-08-072-0/+170
|\ \ \ | |/ / |/| | Store storage availability in database
| * | Fix mounting wrapped storages resulting in many-layered wrappingRobin McCorkell2015-07-201-0/+21
| | | | | | | | | | | | | | | | | | This usually doesn't cause issues, but in unit tests sometimes a wrapped storage is passed to Filesystem::mount() and gets rewrapped, hitting the XDebug function nesting level limit when used.
| * | Store storage availability in databaseRobin McCorkell2015-07-201-0/+149
| | | | | | | | | | | | | | | | | | | | | | | | Storage status is saved in the database. Failed storages are rechecked every 10 minutes, while working storages are rechecked every request. Using the files_external app will recheck all external storages when the settings page is viewed, or whenever an external storage is saved.
* | | always update file cache, the cache can handle partial data correctly if the ↵Bjoern Schiessle2015-07-311-3/+5
| | | | | | | | | | | | file doesn't already exists in the file cache
* | | Merge pull request #17981 from owncloud/correct-regexThomas Müller2015-07-301-0/+4
|\ \ \ | | | | | | | | Correct regular expressions
| * | | Add more unit testsLukas Reschke2015-07-301-0/+2
| | | |
| * | | Correct regular expressionsLukas Reschke2015-07-301-0/+2
| | |/ | |/| | | | | | | Previously the regex was only matching on single characters. Meaning that file names such as ":+1:.txt" where possible while ":+1:" alone never was. This check apparently never worked as expected.
* | | Merge pull request #17950 from ↵Robin McCorkell2015-07-291-0/+3
|\ \ \ | |/ / |/| | | | | | | | owncloud/config-dontdetectfschangesinrootbydefault Disable filesystem_check_changes by default
| * | Fix watcher tests to explicitly set policyVincent Petry2015-07-291-0/+3
| | |
* | | Merge pull request #15543 from rullzer/mimetypedetectorMorris Jobke2015-07-281-0/+283
|\ \ \ | |/ / |/| | Mimetypedetector
| * | Pass config dir as parameter to detection classRoeland Jago Douma2015-07-271-4/+199
| | | | | | | | | | | | | | | | | | | | | In order to properly test the mimetype function: * constructor takes path to configdir * Added unit tests for mimetype (only if vfsStream is available)
| * | Loading of mapping/aliases is done in classRoeland Jago Douma2015-07-271-9/+0
| | |
| * | Move mimetypedetection to files/type/detectionRoeland Jago Douma2015-07-271-4/+4
| | |
| * | Added mimetype detectorRoeland Jago Douma2015-07-271-0/+97
| |/ | | | | | | * Copied unit tests from old functions
* | Merge pull request #17840 from owncloud/fix-enc-wrapper-without-encryptionThomas Müller2015-07-271-1/+60
|\ \ | | | | | | Only set is encrypted when encryption is enabled
| * | Add a unit test for the disabled encryption caseJoas Schilling2015-07-231-1/+60
| |/
* / Add unit testsLukas Reschke2015-07-271-0/+28
|/
* make sure that we always detect legacy files correctlyBjoern Schiessle2015-07-171-5/+115
|
* Merge pull request #16924 from owncloud/copy-recursive-polyfillThomas Müller2015-07-061-0/+46
|\ | | | | add recursive copy polyfill for storage backends
| * add unit testsRobin Appelman2015-07-031-0/+46
| |
* | Remove file mapper - was only use in Windows and never worked properlyThomas Müller2015-07-033-177/+0
| |
* | Merge pull request #17077 from owncloud/files-scan-absolute-pathMorris Jobke2015-07-021-0/+43
|\ \ | | | | | | fix getting mount points when passing a path to the files:scan command
| * | add unit testRobin Appelman2015-06-291-0/+43
| | |
* | | Unlock first path on rename if second path is lockedVincent Petry2015-06-291-0/+33
| | |
* | | Merge pull request #17030 from owncloud/lock-posthooksJoas Schilling2015-06-291-1/+623
|\ \ \ | |/ / |/| | Keep shared lock for post-hooks
| * | Remove test-specific method to make Bjoern and Joas happyVincent Petry2015-06-261-1/+1
| | |
| * | Keep shared locks in post hooksVincent Petry2015-06-251-1/+623
| | | | | | | | | | | | | | | | | | | | | | | | Instead of unlocking after the file operation, change exclusive locks back to shared locks during post hooks, and unlock after that. Also added unit tests to test locking in pre-hooks, during operation and post-hooks.
* | | Correctly check if the real file exists, otherwise try the part fileJoas Schilling2015-06-261-8/+18
|/ /
* | Merge pull request #17070 from owncloud/lock-movemountbugVincent Petry2015-06-241-0/+91
|\ \ | | | | | | Lock correct paths when moving mount
| * | Fix locked paths in the moveMount caseVincent Petry2015-06-241-0/+91
| | | | | | | | | | | | | | | | | | | | | When moving a mount point directly, the lock must be applied on the local mount point path instead of the attached storage root. Other operations will still lock the attached storage root.
* | | Merge pull request #17045 from owncloud/enc_improvementsBjörn Schießle2015-06-231-3/+60
|\ \ \ | |/ / |/| | encryption improvements
| * | make sure that we always read the header from the original fileBjoern Schiessle2015-06-231-3/+60
| | |
* | | Merge pull request #16657 from owncloud/view-emit-pathThomas Müller2015-06-221-0/+29
|\ \ \ | | | | | | | | emit hooks from a view as long as the path is inside the default root
| * | | emit hooks from a view as long as the path is inside the default rootRobin Appelman2015-06-021-0/+29
| | | |
* | | | Workaround for empty dir deletion for SFTPVincent Petry2015-06-181-0/+7
| |/ / |/| | | | | | | | | | | | | | | | | | | | Explicitly clear the stat cache after deleting an empty folder to make sure it is properly detected as deleted in subsequent requests. This works around a problem with phpseclib where the folder is properly deleted remotely but the stat cache was not updated.
* | | Normalize path in View's lock methodsVincent Petry2015-06-161-0/+22
| | |
* | | Rethrow LockedException with full pathVincent Petry2015-06-161-0/+39
| |/ |/| | | | | | | Because the path is converted to md5 from the original exception, rethrow the exception with the correct full path
* | Add return value to lock methods and check it in testsJoas Schilling2015-06-121-8/+70
| |
* | Merge pull request #16158 from owncloud/mountprovider-after-setupThomas Müller2015-06-081-0/+42
|\ \ | | | | | | Call newly registered mount providers after the filesystem is setup
| * | phpdoc, strict and type hintsRobin Appelman2015-06-021-0/+7
| | |
| * | call mount providers that are registered after the filesystem is setupRobin Appelman2015-06-021-0/+35
| |/
* | Merge pull request #15895 from owncloud/dav-getremoteetagJoas Schilling2015-06-031-0/+18
|\ \ | | | | | | Get etag from remote OC server
| * | Disable update check test when testing wrappersVincent Petry2015-06-021-0/+3
| | | | | | | | | | | | | | | The checkUpdate test is intended for testing real storages, not wrappers.