summaryrefslogtreecommitdiffstats
path: root/lib/private/files/storage
Commit message (Collapse)AuthorAgeFilesLines
* versions should always use the keys of the original file, no need to create ↵Bjoern Schiessle2015-10-011-2/+24
| | | | new one
* use correct variableJörn Friedrich Dreyer2015-09-231-1/+1
| | | | wow ... just wow ...
* Revert "use correct variable"Jörn Friedrich Dreyer2015-09-231-1/+1
| | | | This reverts commit 52cbaff061b93cb1a5e81623e58e14867c818810.
* use correct variableJörn Friedrich Dreyer2015-09-231-1/+1
| | | wow ... just wow ...
* Replaces if ($file === '.' || $file === '..') by ↵Martin2015-09-223-4/+4
| | | | if(\OC\Files\Filesystem::isIgnoredDir($file)). Eases to find where this operation is used.
* dont download the existing file for webdav if we're going to overwrite itRobin Appelman2015-09-211-2/+7
|
* Merge pull request #18653 from owncloud/dav-stream-guzzleLukas Reschke2015-09-111-62/+31
|\ | | | | stream webdav downloads using http client
| * also use httpclient for uploadFileRobin Appelman2015-09-011-35/+18
| |
| * stream webdav downloads using http clientRobin Appelman2015-08-291-29/+15
| |
* | Check result of storage wrappersRobin Appelman2015-08-301-0/+3
|/
* Merge pull request #18423 from owncloud/occ_encrypt_allBjörn Schießle2015-08-281-29/+15
|\ | | | | occ command line tool to encrypt all files
| * copy always file by file to encrypt/decrypt it if neededBjoern Schiessle2015-08-261-29/+15
| |
* | Implement password authentication mechanismsRobin McCorkell2015-08-191-0/+4
|/ | | | | | | | | | | Introduces the basic password authentication mechanism, along with a mechanism based on ownCloud credentials stored in the user session. Change to lib/private is an extension of PermissionsMask, as isSharable() override was missing. Session credentials auth mechanism now disables sharing on applied storages, as credentials will not be available.
* Merge pull request #14779 from owncloud/use-iterator-directoryRobin McCorkell2015-08-072-4/+2
|\ | | | | Use the new IteratorDirectory instead of the fakedir wrapper
| * Use the new IteratorDirectory instead of the fakedir wrapperRobin Appelman2015-07-152-4/+2
| |
* | Merge pull request #13641 from owncloud/cache-storage-statusVincent Petry2015-08-073-0/+499
|\ \ | | | | | | Store storage availability in database
| * | Store storage availability in databaseRobin McCorkell2015-07-203-0/+499
| | | | | | | | | | | | | | | | | | | | | | | | 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-5/+4
| | | | | | | | | | | | file doesn't already exists in the file cache
* | | Disable filesystem_check_changes by defaultVincent Petry2015-07-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will prevent detecting remote changes done in the data folder / root storage by default. In the rare cases where the data folder is shared with other apps/users outside ownCloud and change detection is needed, the admin will have to set the option explicitly from now on. Note that this doesn't affect external storages which have their own setting in the mount options.
* | | Merge pull request #17902 from owncloud/fix_17898Vincent Petry2015-07-271-1/+2
|\ \ \ | | | | | | | | get header size before we open the file to avoid locking exception
| * | | get header size before we open the file to avoid locking exceptionBjoern Schiessle2015-07-271-1/+2
| |/ /
* / / Only set is encrypted when encryption is enabledJoas Schilling2015-07-231-1/+1
|/ /
* | Merge pull request #17540 from owncloud/enc_detect_legacy_files2Björn Schießle2015-07-171-15/+95
|\ \ | | | | | | make sure that we always detect legacy files correctly
| * | set targetIsEncrypted to true if file cache indicates that we try to read a ↵Bjoern Schiessle2015-07-171-0/+1
| | | | | | | | | | | | encrypted file
| * | make sure that we always detect legacy files correctlyBjoern Schiessle2015-07-171-15/+94
| |/
* | Merge pull request #17282 from owncloud/s2s-catchremotelockexceptionsMorris Jobke2015-07-171-17/+27
|\ \ | |/ |/| Throw lock exceptions if remote share returned 423 status code
| * Throw lock exceptions if remote share returned 423 status codeVincent Petry2015-07-031-17/+27
| |
* | Throw StorageNotAvailable if propfind on root failedVincent Petry2015-07-131-1/+5
| | | | | | | | | | If PROPFIND fails with 404 or 405 on the remote share root, it means the storage is not available. Throw StorageNotAvailable is such case.
* | Merge pull request #16924 from owncloud/copy-recursive-polyfillThomas Müller2015-07-061-0/+89
|\ \ | | | | | | add recursive copy polyfill for storage backends
| * | better handling of foldersRobin Appelman2015-07-031-1/+1
| | |
| * | phpdocRobin Appelman2015-06-151-2/+30
| | |
| * | add recursive copy polyfill for storage backendsRobin Appelman2015-06-141-0/+61
| | |
* | | Remove OC_LogThomas Müller2015-07-031-3/+3
| | |
* | | Merge pull request #17379 from owncloud/kill-file-mapperVincent Petry2015-07-032-745/+282
|\ \ \ | | | | | | | | Remove file mapper - was only use in Windows and never worked properly
| * | | Remove file mapper - was only use in Windows and never worked properlyThomas Müller2015-07-032-745/+282
| | |/ | |/|
* | | also dont download existing on fopen when using w+ and wb+Robin Appelman2015-07-031-2/+2
| | |
* | | add phpdocRobin Appelman2015-07-031-0/+55
| | |
* | | add flysystem adapaterRobin Appelman2015-07-031-0/+188
|/ /
* | Perform the filesize only when the file existsJoas Schilling2015-06-301-2/+6
| | | | | | | | | | Regression from 95602d4069a1eb9a45e1d08edeecc0d5b90e01ca and 9b336765b69bf7b7e2cd67a824862411b249aa4d
* | Merge pull request #17030 from owncloud/lock-posthooksJoas Schilling2015-06-291-1/+1
|\ \ | | | | | | Keep shared lock for post-hooks
| * | Keep shared locks in post hooksVincent Petry2015-06-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge pull request #17163 from owncloud/update-licensesLukas Reschke2015-06-277-2/+8
|\ \ \ | | | | | | | | Update license headers
| * | | update license headers and authorsMorris Jobke2015-06-257-2/+8
| |/ /
* / / Correctly check if the real file exists, otherwise try the part fileJoas Schilling2015-06-261-2/+6
|/ /
* / make sure that we always read the header from the original fileBjoern Schiessle2015-06-231-3/+5
|/
* Merge pull request #15895 from owncloud/dav-getremoteetagJoas Schilling2015-06-031-3/+17
|\ | | | | Get etag from remote OC server
| * Get etag from remote OC serverVincent Petry2015-06-021-3/+17
| |
* | Merge pull request #16107 from owncloud/fix-getLocalFile-encryption-masterThomas Müller2015-06-021-1/+7
|\ \ | |/ |/| Fix get local file encryption master
| * Only return cached files if existingThomas Müller2015-05-061-1/+4
| |
| * Only use cached files in case encryption is enabled - in any other case let ↵Thomas Müller2015-05-051-1/+4
| | | | | | | | the underlying storage handle this accordingly - refs #16061 #16062 and others