summaryrefslogtreecommitdiffstats
path: root/lib/private/files/storage/wrapper
Commit message (Collapse)AuthorAgeFilesLines
* update licence headers via scriptMorris Jobke2015-10-053-1/+3
|
* 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 ...
* 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 #13641 from owncloud/cache-storage-statusVincent Petry2015-08-072-0/+480
|\ | | | | Store storage availability in database
| * Store storage availability in databaseRobin McCorkell2015-07-202-0/+480
| | | | | | | | | | | | | | | | 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
* | 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
|/
* 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
|
* Perform the filesize only when the file existsJoas Schilling2015-06-301-2/+6
| | | | | Regression from 95602d4069a1eb9a45e1d08edeecc0d5b90e01ca and 9b336765b69bf7b7e2cd67a824862411b249aa4d
* Merge pull request #17163 from owncloud/update-licensesLukas Reschke2015-06-271-0/+3
|\ | | | | Update license headers
| * update license headers and authorsMorris Jobke2015-06-251-0/+3
| |
* | 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 #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
* | add changeLock to the storage apiRobin Appelman2015-06-012-0/+18
| |
* | add locking to the storage apiRobin Appelman2015-06-012-0/+40
| |
* | Only use quota stream wrapper on "files"Vincent Petry2015-05-281-3/+5
| | | | | | | | | | Prevent using the quota stream wrapper on trashbin folders and other metadata folders
* | Merge pull request #16501 from owncloud/enc_fix_move_versions_between_storagesVincent Petry2015-05-281-22/+58
|\ \ | | | | | | [encryption] fix move versions between storages
| * | copy keys before we move a file between storages to make sure that the new ↵Bjoern Schiessle2015-05-221-22/+58
| | | | | | | | | | | | target file reuses the old file key, otherwise versions will break
* | | only request encryption module for files which are not excludedBjoern Schiessle2015-05-271-55/+59
| | |
* | | Merge pull request #16516 from owncloud/fix-phpdoc-traitJoas Schilling2015-05-221-0/+4
|\ \ \ | |/ / |/| | Fix PHPDoc
| * | Fix PHPDocLukas Reschke2015-05-221-0/+4
| | | | | | | | | | | | Use correct parameters
* | | use copy when doing a crossStorageCopy on the same storageRobin Appelman2015-05-191-0/+8
|/ /
* | Merge pull request #16399 from owncloud/enc_rmdir_fixClark Tomlinson2015-05-181-2/+6
|\ \ | | | | | | [encryption] only try to delete file keys if it is a valid path
| * | only try to delete file keys if it is a valid pathBjoern Schiessle2015-05-181-2/+6
| | |
* | | a new approach to display the error messageBjoern Schiessle2015-05-181-0/+24
|/ /
* | delete all file keys doesn't need the encryption module as parameter; ↵Bjoern Schiessle2015-05-131-4/+23
| | | | | | | | implement rmdir; getFileKeyDir should also work for part files and complete directories
* | use hooks to update encryption keys instead of the storage wrapper if a file ↵Bjoern Schiessle2015-05-111-7/+1
| | | | | | | | | | | | gets renamed/restored, as long as we are in the storage wrapper the file cache isn't up-to-date
* | Fix missing types on doc block and deduplicate the method nameJoas Schilling2015-05-061-4/+4
| |
* | update 'encrypted'-flag in file cache according to the storage settingsBjoern Schiessle2015-05-061-6/+42
| |
* | move/copy from storageBjoern Schiessle2015-05-061-7/+67
| |
* | unit testsBjoern Schiessle2015-05-061-1/+1
| |
* | check if encryption is enbaled before we start moving keysBjoern Schiessle2015-05-061-24/+29
| |
* | make sure that we keep the correct encrypted-flag and the (unencrypted)size ↵Bjoern Schiessle2015-05-051-0/+4
|/ | | | if a file gets copied
* Merge pull request #15886 from owncloud/fix-15848-masterThomas Müller2015-04-271-1/+4
|\ | | | | Adjust isLocal() on encryption wrapper
| * fixes #15848Thomas Müller2015-04-271-1/+4
| |
* | Merge pull request #15860 from owncloud/enc_fallback_old_encryptionThomas Müller2015-04-271-6/+20
|\ \ | |/ |/| [encryption] handle encrypted files correctly which where encrypted with a old version of ownCloud (<=oc6)
| * fall back to the ownCloud default encryption module and aes128 if we read a ↵Bjoern Schiessle2015-04-271-6/+20
| | | | | | | | encrypted file without a header
* | Make getDefaultModuleId public and get module protectedJoas Schilling2015-04-271-4/+2
|/
* Use public interfaces for type hintingJoas Schilling2015-04-241-12/+12
|