summaryrefslogtreecommitdiffstats
path: root/apps/files_external/settings.php
Commit message (Collapse)AuthorAgeFilesLines
* Display applicable global storages in personal mount listRobin McCorkell2015-11-211-28/+3
|
* deduplicate @xenopathicMorris Jobke2015-10-061-1/+1
|
* update licence headers via scriptMorris Jobke2015-10-051-1/+1
|
* Perform visibility checks on storagesRobin McCorkell2015-09-231-1/+1
| | | | | | | | 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.
* Revert "Implement more fine-grained external storage permissions model"Robin McCorkell2015-09-231-5/+3
| | | | | | This reverts commit 0b97a05e7bd631d66de1c2aee115113ada8a5f63. This reverts commit d2e3c17c0000bc0020f1ff641190452f370434de. This reverts commit cc88c5f4b84da57c425cbdb7dc8b391b1942b503.
* Implement more fine-grained external storage permissions modelRobin McCorkell2015-08-281-3/+13
| | | | | | | | | | | | | | 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.
* Use OCP classes as much as possible in files_externalRobin McCorkell2015-08-191-1/+1
|
* Load custom JS for all backends/auth mechanismsRobin McCorkell2015-08-191-2/+15
| | | | | | Loading custom JS on a per-backend basis added needless complexity and made dealing with async required. Now all backends/auth mechanisms load custom JS in PHP
* Make Application a singletonRobin McCorkell2015-08-191-2/+2
| | | | | The same Application must be used in the settings templates and in routes, so that any registered backends are correctly seen
* Authentication mechanisms for external storage backendsRobin McCorkell2015-08-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A backend can now specify generic authentication schemes that it supports, instead of specifying the parameters for its authentication method directly. This allows multiple authentication mechanisms to be implemented for a single scheme, providing altered functionality. This commit introduces the backend framework for this feature, and so at this point the UI will be broken as the frontend does not specify the required information. Terminology: - authentication scheme Parameter interface for the authentication method. A backend supporting the 'password' scheme accepts two parameters, 'user' and 'password'. - authentication mechanism Specific mechanism implementing a scheme. Basic mechanisms may forward configuration options directly to the backend, more advanced ones may lookup parameters or retrieve them from the session New dropdown selector for external storage configurations to select the authentication mechanism to be used. Authentication mechanisms can have visibilities, just like backends. The API was extended too to make it easier to add/remove visibilities. In addition, the concept of 'allowed visibility' has been introduced, so a backend/auth mechanism can force a maximum visibility level (e.g. Local storage type) that cannot be overridden by configuration in the web UI. An authentication mechanism is a fully instantiated implementation. This allows an implementation to have dependencies injected into it, e.g. an \OCP\IDB for database operations. When a StorageConfig is being prepared for mounting, the authentication mechanism implementation has manipulateStorage() called, which inserts the relevant authentication method options into the storage ready for mounting.
* Introduce BackendService for managing external storage backendsRobin McCorkell2015-08-191-39/+12
| | | | | | | | | | | | | | | | | Backends are registered to the BackendService through new data structures: Backends are concrete classes, deriving from \OCA\Files_External\Lib\Backend\Backend. During construction, the various configuration parameters of the Backend can be set, in a design similar to Symfony Console. DefinitionParameter stores a parameter configuration for an external storage: name of parameter, human-readable name, type of parameter (text, password, hidden, checkbox), flags (optional or not). Storages in the StoragesController now get their parameters validated server-side (fixes a TODO).
* update license headers and authorsMorris Jobke2015-06-251-0/+1
|
* Add mount point to disable the encryption wrapperRobin Appelman2015-03-311-0/+1
|
* Update license headersJenkins for ownCloud2015-03-261-19/+24
|
* Generate storage config ids when missingVincent Petry2015-03-161-1/+21
| | | | | | | | When reading in old mount.json files, they do not contain config ids. Since these are needed to be able to use the UI and the new service classes, these will be generated automatically. The config grouping is based on a config hash.
* Revert "Updating license headers"Morris Jobke2015-02-261-23/+20
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Updating license headersJenkins for ownCloud2015-02-231-20/+23
|
* manage select2 via bowerMorris Jobke2014-11-061-2/+2
|
* Move select2 from files_external to coreVincent Petry2014-09-091-2/+2
|
* no need to load user display namesJörn Friedrich Dreyer2014-08-251-1/+0
|
* replace chosen with select2 to provide ajaxified user and group selection ↵Jörn Friedrich Dreyer2014-08-251-4/+3
| | | | | | | | | | | | for files_external, fixes #7499 remove minified select2 js show avatars for users, simpler results remove unneeded users and groups from settings template fix css, escape user and group names
* Allow admins to disable certain external storages for usersJoas Schilling2014-02-261-1/+17
| | | | Fix issue #6793
* Files External: show display names instead of internal user names in Settings UIArthur Schiwon2013-03-271-0/+1
|
* [files_external] From echo to pLukas Reschke2013-02-271-2/+2
|
* check if adminFrank Karlitschek2012-12-171-0/+2
|
* Fix "No space found after comma in function call"Bart Visscher2012-12-151-1/+1
|
* add some output why some of the external filesystems might not workFrank Karlitschek2012-12-101-0/+1
|
* Add chosen script and style, bug fix for oc-1745Michael Gapczynski2012-09-161-0/+2
|
* Remove php close at end of fileBart Visscher2012-08-291-2/+0
|
* Fix external storage UI for Admin pageMichael Gapczynski2012-06-281-1/+1
|
* Working UI for external storage mount configurationMichael Gapczynski2012-06-081-7/+6
|
* Initial work on UI for mounting external storageMichael Gapczynski2012-05-241-0/+35