summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [app management] fix dependency check on installMorris Jobke2015-08-191-1/+1
|
* Merge pull request #18403 from owncloud/do-not-delete-group-if-emptyMorris Jobke2015-08-193-14/+2
|\ | | | | Do not delete group if empty, hide delete icon for group admin
| * do not remove empty group in gui by jsmichag862015-08-191-11/+0
| |
| * hide delete icon on group for subadminsmichag862015-08-181-0/+2
| | | | | | because they cannot delete a group
| * do not remove group if it is emptymichag862015-08-181-3/+0
| | | | | | | | | | Sometimes an admin removes a user from a group but he needs the group. This is a big problem if a subadmin removes the last user of a group. He cannot recreate the group
* | Merge pull request #18432 from owncloud/ext-backends.simpleMorris Jobke2015-08-1915-105/+505
|\ \ | | | | | | Migrate simple external storage backends to new registration API [part 1]
| * | Migrate SFTP external storage to new APIRobin McCorkell2015-08-193-11/+51
| | |
| * | Migrate OwnCloud external storage to new APIRobin McCorkell2015-08-193-13/+53
| | |
| * | Migrate DAV external storage to new APIRobin McCorkell2015-08-193-13/+54
| | |
| * | Migrate SMB external storage to new APIRobin McCorkell2015-08-193-13/+58
| | |
| * | Migrate FTP external storage to new APIRobin McCorkell2015-08-193-13/+54
| | |
| * | Migrate Local external storage to new APIRobin McCorkell2015-08-193-14/+53
| | |
| * | Revert "Fix mounting wrapped storages resulting in many-layered wrapping"Robin McCorkell2015-08-192-27/+1
| | | | | | | | | | | | This reverts commit 75a5e6e12b18a9f5b7b113cd7e2c9c56c204084d.
| * | Allow builtin auth mechanism to be overriddenRobin McCorkell2015-08-191-1/+1
| | | | | | | | | | | | | | | | | | The builtin mechanism is used exclusively for legacy external storages, which when upgraded to the new registration need to fallback to the defined legacy authentication mechanism instead.
| * | Implement password authentication mechanismsRobin McCorkell2015-08-195-0/+180
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 #18433 from owncloud/get-mountpoints-returnRobin Appelman2015-08-191-0/+4
|\ \ \ | | | | | | | | add missing return statements in getSystem/getPersonalMountPoints
| * | | add missing return statements in getSystem/getPersonalMountPointsRobin Appelman2015-08-191-0/+4
| |/ /
* | | Merge pull request #18427 from owncloud/fix-format-ocsThomas Müller2015-08-191-1/+2
|\ \ \ | | | | | | | | Fix format of log/private/ocs.php
| * | | Fix format of log/private/ocs.phpMorris Jobke2015-08-191-1/+2
| | | | | | | | | | | | Fixes https://github.com/owncloud/core/pull/14314#discussion_r37305256
* | | | Merge pull request #18430 from owncloud/add-warning-ca-bundleMorris Jobke2015-08-191-0/+7
|\ \ \ \ | | | | | | | | | | Add warning for not existing CA bundle when updating
| * | | | Add warning for not existing CA bundle when updatingLukas Reschke2015-08-191-0/+7
| | |/ / | |/| | | | | | | | | | For newer releases we shall use an integrity check. But that's a good alternative for now.
* | | | Merge pull request #18424 from ↵Morris Jobke2015-08-192-10/+52
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | owncloud/filter-objectstore-password-from-config-list Filter the objectstore password from the config list as well
| * | | | Filter the objectstore password from the config list as wellJoas Schilling2015-08-192-10/+52
| | | | |
* | | | | Merge pull request #18114 from owncloud/fix-delete-user-feedbackMorris Jobke2015-08-192-12/+35
|\ \ \ \ \ | |_|/ / / |/| | | | [user mgnt] fix delete user feedback on failure
| * | | | fixing the unit testsMorris Jobke2015-08-171-2/+25
| | | | |
| * | | | [user mgnt] fix delete user feedback on failureMorris Jobke2015-08-071-10/+10
| | | | | | | | | | | | | | | | | | | | * fixes #18099
* | | | | Merge pull request #18378 from owncloud/files-delete-spinnerVincent Petry2015-08-191-2/+2
|\ \ \ \ \ | | | | | | | | | | | | Fix spinner when deleting all files in a folder
| * | | | | Fix spinner when deleting all files in a folderVincent Petry2015-08-181-2/+2
| | | | | |
* | | | | | Merge pull request #18354 from owncloud/files-fixdndVincent Petry2015-08-192-2/+7
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | Fix file drag and drop JS error
| * | | | | Fix file drag and drop JS errorVincent Petry2015-08-172-2/+7
| | | | | |
* | | | | | Merge pull request #15914 from owncloud/ext-backend-registerMorris Jobke2015-08-1955-2193/+4245
|\ \ \ \ \ \ | | | | | | | | | | | | | | Introduce BackendService for managing external storage backends
| * | | | | | Restrict Local backend to admin-onlyRobin McCorkell2015-08-191-0/+4
| | | | | | |
| * | | | | | Load custom JS for all backends/auth mechanismsRobin McCorkell2015-08-194-16/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | | Propagate auth mechanism/backend failures to filesystem layerRobin McCorkell2015-08-198-28/+298
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Failure to prepare the storage during backend or auth mechanism manipulation will throw an InsufficientDataForMeaningfulAnswerException, which is propagated to StorageNotAvailableException in the filesystem layer via the FailedStorage helper class. When a storage is unavailable not due to failure, but due to insufficient data being available, a special 'indeterminate' status is returned to the configuration UI.
| * | | | | | Make Application a singletonRobin McCorkell2015-08-196-32/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The same Application must be used in the settings templates and in routes, so that any registered backends are correctly seen
| * | | | | | Compatibility shims for OC_Mount_ConfigRobin McCorkell2015-08-198-1603/+232
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following functions have been removed: - addMountPoint() - removeMountPoint() - movePersonalMountPoint() registerBackend() has been rewritten as a shim around BackendService, allowing legacy code to interact with the new API seamlessly addMountPoint() was already disconnected from all production code, so this commit completes the job and removes the function itself, along with disconnecting and removing related functions. Unit tests have likewise been removed. getAbsoluteMountPoints(), getSystemMountPoints() and getPersonalMountPoints() have been rewritten to use the StoragesServices
| * | | | | | Unit tests for new backend APIRobin McCorkell2015-08-1911-0/+977
| | | | | | |
| * | | | | | Split backend identifiers from the class nameRobin McCorkell2015-08-1918-172/+327
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to this, the storage class name was stored in mount.json under the "class" parameter, and the auth mechanism class name under the "authMechanism" parameter. This decouples the class name from the identifier used to retrieve the backend or auth mechanism. Now, backends/auth mechanisms have a unique identifier, which is saved in the "backend" or "authMechanism" parameter in mount.json respectively. An identifier is considered unique for the object it references, but the underlying class may change (e.g. files_external gets pulled into core and namespaces are modified).
| * | | | | | Authentication mechanisms for external storage backendsRobin McCorkell2015-08-1925-86/+740
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 UserGlobalStoragesServiceRobin McCorkell2015-08-196-36/+312
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | UserGlobalStoragesService reads the global storage configuration, cherry-picking storages applicable to a user. Writing storages through this service is forbidden, on punishment of throwing an exception. Storage IDs may also be config hashes when retrieved from this service, as it is unable to update the storages with real IDs. As UserGlobalStoragesService and UserStoragesService share a bit of code relating to users, that has been split into UserTrait. UserTrait also allows for the user set to be overridden, rather than using the user from IUserSession. Config\ConfigAdapter has been reworked to use UserStoragesService and UserGlobalStoragesService instead of OC_Mount_Config::getAbsoluteMountPoints(), further reducing dependance on that horrible static class.
| * | | | | | Introduce BackendService for managing external storage backendsRobin McCorkell2015-08-1931-558/+1638
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* | | | | | Merge pull request #18415 from ↵Thomas Müller2015-08-192-2/+0
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | | | | | | | owncloud/apps-command-returncode-successifalreadyenabled No error code when app already enabled/disabled
| * | | | | No error code when app already enabled/disabledVincent Petry2015-08-192-2/+0
|/ / / / /
* | | | | Merge pull request #18076 from owncloud/fix-thumbnail-api-masterThomas Müller2015-08-191-1/+1
|\ \ \ \ \ | | | | | | | | | | | | No need to url decode the file
| * | | | | No need to url decode the fileThomas Müller2015-08-051-1/+1
| | | | | |
* | | | | | Merge pull request #18339 from owncloud/update-jquery-visibilityThomas Müller2015-08-192-24/+81
|\ \ \ \ \ \ | | | | | | | | | | | | | | update jquery-visibility in files app
| * | | | | | update jquery-visibility in files appMorris Jobke2015-08-172-24/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * ref #12877
* | | | | | | Merge pull request #18374 from owncloud/router-appsMorris Jobke2015-08-192-0/+16
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Only load app routes if the app has already been loaded [re-merge]
| * | | | | | | Only load app routes if the app has already been loadedRobin McCorkell2015-08-182-0/+16
| | |_|_|/ / / | |/| | | | |
* | | | | | | Merge pull request #18384 from owncloud/apps-command-returncodeThomas Müller2015-08-192-0/+4
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Return error code on failure with occ app:enable/disable