summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/Config
Commit message (Collapse)AuthorAgeFilesLines
* chore: Add SPDX headerAndy Scherzinger2024-06-067-145/+15
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix: Pass the mountpoint target user to storages without ownerJulius Härtl2024-04-091-0/+1
| | | | | | | | | | | | | Storages that do not have a dedicated owner (e.g. groupfolders, external storages) currently always assume the current session user as the owner. This leads to several issues when there is no user session but a node is obtained through a user folder. In order to have the correct user available we need to pass the user that is used to setup a mountpoint along to the storage layer as we generally assume that an owner is available for those. Signed-off-by: Julius Härtl <jus@bitgrid.net>
* full uppercase constMaxence Lange2024-02-241-1/+1
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-233-3/+3
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* apply known mtime wrapper for external storagesRobin Appelman2023-09-191-18/+10
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* add command for getting fileinfo for debuggingRobin Appelman2023-04-171-0/+4
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* add marker interface to mark system mount points for encryptionRobin Appelman2022-08-252-1/+31
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #30991 from nextcloud/external-remove-config-migrationRobin Appelman2022-03-241-9/+1
|\ | | | | remove old legacy external storage migration logic
| * remove old legacy external storage migration logicRobin Appelman2022-02-091-9/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | store mountprovider for each mount in the mounts tableRobin Appelman2022-02-231-1/+1
|/ | | | | | this enabled more fine grained filesystem setup Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-046-11/+7
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Expose session based authentication through mount point typeJulius Härtl2020-12-212-1/+14
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* set mountid for personal external storage mountsRobin Appelman2020-12-021-1/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-241-1/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Move OC_Mount_Config to proper classname and remove OC::$CLASSPATH usage in ↵Morris Jobke2020-07-101-1/+1
| | | | | | files_external Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headers for 19Christoph Wurst2020-04-294-0/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-103-8/+8
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-091-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-056-6/+12
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-221-7/+7
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* fixes terminology and allows to request an IUser instanceArthur Schiwon2019-08-021-6/+21
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Provide proper user context from initMountPointsJulius Härtl2019-08-022-1/+9
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* files_external: Make sure the correct user context is used in substitution ↵Julius Härtl2019-08-023-16/+71
| | | | | | of variables Signed-off-by: Julius Härtl <jus@bitgrid.net>
* typos in doc, no code changesArthur Schiwon2019-02-151-2/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* files_external: allow to register config handlers for flexible placeholdersArthur Schiwon2019-02-144-4/+180
| | | | | | | | * BackendService (directly accessable via \OC_Server) offers registerConfigHandler * SimpleSubstitutionTrait brings reusable logic for simple string replacments * internal $user replacement mechanism was migrated Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Properly set the mount type for external storagesRoeland Jago Douma2018-02-201-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update license headersMorris Jobke2017-11-061-0/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* allow apps to set custom mount typesRobin Appelman2017-04-281-0/+30
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* more efficient querying of numeric storage idsRobin Appelman2016-09-071-23/+32
|
* get files_external mounts more efficientlyRobin Appelman2016-09-051-29/+20
|
* Update with robinJoas Schilling2016-07-211-1/+1
|
* Fix apps/Joas Schilling2016-07-211-2/+3
|
* Save the files external mount id in the mount cache tableRobin Appelman2016-07-131-1/+2
|
* Update license headersLukas Reschke2016-05-261-0/+2
|
* Move Config to PSR-4Joas Schilling2016-05-241-0/+183