aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Config
Commit message (Collapse)AuthorAgeFilesLines
...
* Don't leave cursors open when tests failJoas Schilling2020-11-091-4/+13
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Remove @suppress SqlInjectionCheckerMorris Jobke2020-09-161-1/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headers for Nextcloud 20 (again)Christoph Wurst2020-09-071-0/+1
| | | | | | | There are still lots of outdated headers, so time for another round of updates. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Transfer shares of the transferred root nodeJulius Härtl2020-08-311-0/+5
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Properly add new methods to interface and document in PHPDoc for getRootMounts()Morris Jobke2020-08-171-0/+6
| | | | | | Introduced in #22063 and was just forgotten. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Distribute preview folders in appdata in multibucket setup to multiple bucketsMorris Jobke2020-08-061-0/+19
| | | | | | | | | * introduces a new IRootMountProvider to register mount points inside the root storage * adds a AppdataPreviewObjectStoreStorage to handle the split between preview folders and bucket number Ref #22033 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-091-1/+0
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the short array syntax, everywhereChristoph Wurst2020-03-261-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-056-6/+13
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-223-3/+3
| | | | | | | | | | | * 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>
* more efficient way to detect added and removed mountsRobin Appelman2018-08-161-9/+23
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* remove double loop for detecting changed mountsRobin Appelman2018-08-161-9/+12
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Use the path_hash instead of the path to query the filecacheMorris Jobke2018-07-161-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add the option to filter mounts for a userRobin Appelman2018-07-101-1/+22
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Remove unused import statementsMorris Jobke2018-02-141-1/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #6220 from nextcloud/cached-mount-info-filepathLukas Reschke2017-11-092-2/+63
|\ | | | | Allow getting the filepath when getting cached mounts by fileid
| * Allow getting the filepath when getting cached mounts by fileidRobin Appelman2017-10-272-2/+63
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #6988 from starypatyk/stable12-mount-cache-performanceMorris Jobke2017-11-071-1/+5
|\ \ | | | | | | Improve performance of UserMountCache with external storage folders
| * | Improve performance of UserMountCache with external storage foldersDariusz Olszewski2017-11-011-1/+5
| |/
* / Update license headersMorris Jobke2017-11-062-0/+2
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Oracle does not support PDO::FETCH_KEY_PAIRJoas Schilling2017-08-021-1/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add Phan plugin to check for SQL injectionsLukas Reschke2017-07-201-0/+5
| | | | | | | | | | This adds a phan plugin which checks for SQL injections on code using our QueryBuilder, while it isn't perfect it should already catch most potential issues. As always, static analysis will sometimes have false positives and this is also here the case. So in some cases the analyzer just doesn't know if something is potential user input or not, thus I had to add some `@suppress SqlInjectionChecker` in front of those potential injections. The Phan plugin hasn't the most awesome code but it works and I also added a file with test cases. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* show used space in user listRobin Appelman2017-06-151-2/+32
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Remove unused use statementsMorris Jobke2017-04-222-6/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* limit the user when searching for a file by id if we know the user alreadyRobin Appelman2017-04-211-3/+9
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* mount shared mounts lastRobin Appelman2017-03-221-0/+33
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* also compare storage ids when checking for changed mountsRobin Appelman2016-12-131-1/+6
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* filter out oc_mounts results from non existing usersRobin Appelman2016-11-241-3/+6
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* optimize Folder::getById to use less queriesRobin Appelman2016-10-123-16/+41
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update CachedMountInfo for user home storageSemih Serhat Karakaya2016-09-091-1/+1
| | | | | | In getMountPointNode function rootId is not inside of the userFolder for home storage. We was searching '/user' folder in '/user/files' folder. So, it was return NULL. I moved searching part to parent folder. It solves everything. Also, obviously other storage types not affect then this change. Related owncloud commit : https://github.com/owncloud/core/pull/26017
* Prevent error with orphaned shares when updating user mount cacheVincent Petry2016-08-301-1/+2
|
* get shared storage storage id without setting up the storageRobin Appelman2016-08-091-5/+1
|
* Update with robinJoas Schilling2016-07-215-5/+5
|
* Fix othersJoas Schilling2016-07-215-6/+11
|
* Save the files external mount id in the mount cache tableRobin Appelman2016-07-133-15/+52
|
* Merge pull request #25056 from owncloud/fs-usermountcache-cappedVincent Petry2016-06-151-3/+14
|\ | | | | Capped cache for cache info in UserMountCache
| * Capped cache for cache info in UserMountCacheVincent Petry2016-06-131-3/+14
| |
* | handle invalid storages in LazyStorageMountInfoRobin Appelman2016-06-132-8/+16
|/
* Update license headersLukas Reschke2016-05-261-0/+1
|
* use mount providers to setup home storages (#24567)Robin Appelman2016-05-171-0/+36
|
* Move \OC\Files to PSR-4Roeland Jago Douma2016-04-245-0/+627