summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib
Commit message (Collapse)AuthorAgeFilesLines
* if mountpoint is applicable to all users the old API expects a array with 'all'Bjoern Schiessle2015-10-021-0/+5
|
* Perform visibility checks on storagesRobin McCorkell2015-09-232-8/+8
| | | | | | | | StoragesService::getStorages() will check the visibility of the backend and auth mechanism for the storage, and if either are not visible to the user (aka disabled by admin) then the storage will be filtered out. The original method StoragesService::getAllStorages() still exists in case such storages need to be detected, but its use is discouraged.
* Mark SMB_OC and SFTP_Key as deprecated backendsRobin McCorkell2015-09-232-4/+8
|
* Add deprecation mechanic to IdentifierTraitRobin McCorkell2015-09-233-0/+37
| | | | | Deprecation allows a backend/auth mechanism to designate an object that it deprecates to, allowing clean transitions to updated codebases.
* Revert "Implement more fine-grained external storage permissions model"Robin McCorkell2015-09-237-175/+143
| | | | | | This reverts commit 0b97a05e7bd631d66de1c2aee115113ada8a5f63. This reverts commit d2e3c17c0000bc0020f1ff641190452f370434de. This reverts commit cc88c5f4b84da57c425cbdb7dc8b391b1942b503.
* Replaces if ($file === '.' || $file === '..') by ↵Martin2015-09-222-3/+3
| | | | if(\OC\Files\Filesystem::isIgnoredDir($file)). Eases to find where this operation is used.
* Merge pull request #19069 from owncloud/ext-s3-cephThomas Müller2015-09-181-1/+4
|\ | | | | AmazonS3 automatic tests
| * Make AmazonS3 path style actually workRobin McCorkell2015-09-161-1/+4
| |
* | Merge pull request #19090 from owncloud/ext-priority-logicThomas Müller2015-09-171-1/+1
|\ \ | | | | | | Properly implement external mount priorities
| * | Fix external storage priority logicRobin McCorkell2015-09-161-1/+1
| |/
* | Correct manipulateStorageConfig parameterRobin McCorkell2015-09-171-0/+1
| |
* | Merge branch 'master' into smb-workgroupRobin McCorkell2015-09-1534-624/+981
|\|
| * Merge pull request #18966 from owncloud/ext-remove-numeric-idLukas Reschke2015-09-141-67/+0
| |\ | | | | | | Remove storing storage_id in mount.json
| | * Remove storing storage_id in mount.jsonRobin McCorkell2015-09-101-67/+0
| | | | | | | | | | | | | | | One mount configuration does not necessarily map to a single storage, due to `$user` substitution or special auth mechanisms.
| * | Fix dependency check for Swift and SMB_OCRobin McCorkell2015-09-132-2/+6
| | | | | | | | | | | | Mistake caused during merging, where the API had changed
| * | Merge pull request #18441 from owncloud/ext-backends.advancedRobin McCorkell2015-09-1315-489/+537
| |\ \ | | | | | | | | Migrate advanced external storage backends to new registration API [part 3]
| | * | Fix Swift legacy auth mechanism fallbackRobin McCorkell2015-09-031-1/+1
| | | |
| | * | Fix typo in SMB_OCRobin McCorkell2015-09-031-2/+2
| | | |
| | * | Prevent creation of deprecated backendsRobin McCorkell2015-08-282-0/+4
| | | |
| | * | Implement more fine-grained external storage permissions modelRobin McCorkell2015-08-285-143/+171
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | VisibilityTrait -> PermissionsTrait PermissionsTrait stores two sets of data, $permissions and $allowedPermissions (analogous to $visibility and $allowedVisibility of VisibilityTrait). Each set is a map of user type ('admin' or 'personal') to permissions (mounting permission, create permission). The result is that a backend can now be restricted for creation, while still allowing it to be mounted. This is useful for deprecating backends or auth mechanisms, preventing new storages being created, while still allowing existing storages to be mounted.
| | * | AjaxController uses RSA auth mechanismRobin McCorkell2015-08-281-0/+15
| | | |
| | * | Migrate SFTP_Key external storage to new APIRobin McCorkell2015-08-285-220/+126
| | | | | | | | | | | | | | | | | | | | The SFTP backend now supports public key authentication alongside password authentication.
| | * | Migrate SMB_OC external storage to new APIRobin McCorkell2015-08-282-126/+67
| | | | | | | | | | | | | | | | | | | | SMB_OC has been merged with SMB, via the identifier aliases mechanism. Legacy migration is done to the Session Credentials password mechanism
| | * | Migrate Swift external storage to new APIRobin McCorkell2015-08-283-0/+154
| | | | | | | | | | | | | | | | | | | | The Rackspace/OpenStack differences have been split into separate auth mechanisms, with correct legacy migration
| * | | Merge pull request #18733 from owncloud/ext-dependencycheckRobin McCorkell2015-09-119-53/+112
| |\ \ \ | | |_|/ | |/| | Make checkDependencies a real method
| | * | Make checkDependencies a real methodRobin McCorkell2015-09-019-53/+112
| | | | | | | | | | | | | | | | | | | | Replace ->setDependencyCheck(callable) with a real method checkDependencies(). A polyfill is available for legacy storages.
| * | | Merge pull request #12088 from AdamWill/google-opendir-rootVincent Petry2015-09-011-2/+0
| |\ \ \ | | |/ / | |/| | [WIP] google: drop duplicate path trim from opendir()
| | * | google: drop duplicate path trim from opendir()Adam Williamson2014-11-101-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | opendir() trims the path passed then calls getDriveFile() - which immediately does the same trim operation. This breaks opendir() on the root directory, which causes the failure of the testStat() test when it checks the ctime of the root dir.
| * | | make sure we actually have an object storeRobin Appelman2015-08-281-0/+3
| | |/ | |/|
| * | Merge pull request #18440 from owncloud/ext-backends.customjsMorris Jobke2015-08-256-0/+305
| |\ \ | | | | | | | | Migrate custom JS external storage backends to new registration API [part 2]
| | * | Migrate Google external storage to new APIRobin McCorkell2015-08-252-0/+99
| | | |
| | * | Migrate Dropbox external storage to new APIRobin McCorkell2015-08-252-0/+101
| | | |
| | * | Migrate AmazonS3 external storage to new APIRobin McCorkell2015-08-252-0/+105
| | | |
| * | | Merge pull request #18445 from owncloud/ext-only-setuservars-stringMorris Jobke2015-08-256-17/+24
| |\ \ \ | | |/ / | |/| | setUserVars() should only attempt substitution with strings
| | * | Convert string booleans to real booleansRobin McCorkell2015-08-203-13/+18
| | | | | | | | | | | | | | | | | | | | Legacy compatibility, from the days in stable8 when checkbox boolean values were stored as the strings 'true' and 'false'.
| | * | setUserVars() should only attempt substitution with stringsRobin McCorkell2015-08-203-4/+6
| | | |
* | | | Allow domain to be specified for SMBRobin McCorkell2015-08-211-0/+12
|/ / /
* | | Add availability methods to files_external FailedStorageRobin McCorkell2015-08-201-0/+8
| | |
* | | Merge pull request #18408 from owncloud/ext-ocpRobin McCorkell2015-08-206-25/+26
|\ \ \ | | | | | | | | Use OCP classes as much as possible in files_external v2
| * | | Use OCP classes as much as possible in files_externalRobin McCorkell2015-08-196-25/+26
| | | |
* | | | Fix 'Declaration of SessionStorageWrapper::__construct()...'Robin McCorkell2015-08-191-1/+1
| |/ / |/| |
* | | Merge pull request #18432 from owncloud/ext-backends.simpleMorris Jobke2015-08-199-0/+481
|\ \ \ | | | | | | | | Migrate simple external storage backends to new registration API [part 1]
| * | | Migrate SFTP external storage to new APIRobin McCorkell2015-08-191-0/+50
| | | |
| * | | Migrate OwnCloud external storage to new APIRobin McCorkell2015-08-191-0/+52
| | | |
| * | | Migrate DAV external storage to new APIRobin McCorkell2015-08-191-0/+53
| | | |
| * | | Migrate SMB external storage to new APIRobin McCorkell2015-08-191-0/+52
| | | |
| * | | Migrate FTP external storage to new APIRobin McCorkell2015-08-191-0/+53
| | | |
| * | | Migrate Local external storage to new APIRobin McCorkell2015-08-191-0/+49
| | | |
| * | | Implement password authentication mechanismsRobin McCorkell2015-08-193-0/+172
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* / / add missing return statements in getSystem/getPersonalMountPointsRobin Appelman2015-08-191-0/+4
|/ /