aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/Service/DBConfigService.php
Commit message (Collapse)AuthorAgeFilesLines
* chore(db): Correctly apply query typesGit'Fellow2024-10-171-32/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | fix: psalm fix: error fix: add batch fix: fatal error fix: add batch chore: add batch chore: add batch fix: psalm fix: typo fix: psalm fix: return bool fix: revert Manager
* chore: Add SPDX headerAndy Scherzinger2024-06-061-24/+3
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* mark MOUNT_TYPE_PERSONAl as deprecatedMaxence Lange2024-02-241-0/+2
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* full uppercase constMaxence Lange2024-02-241-2/+2
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* use fresh builders when deleting storagesRobin Appelman2023-08-141-0/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Additional type hinting found by psalmCarl Schwan2022-10-181-5/+1
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix a few RedundantCastRoeland Jago Douma2021-03-011-1/+1
| | | | | | | Reported by psalm For #25641 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-1/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Don't leave cursors open when tests failJoas Schilling2020-11-091-1/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Remove @suppress SqlInjectionCheckerMorris Jobke2020-09-161-4/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headers for 19Christoph Wurst2020-04-291-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add visibility to all constantsChristoph Wurst2020-04-101-5/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-4/+4
| | | | | | | | | | | | | | | 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>
* rejig right to left join for sqlite's satisfactionArthur Schiwon2019-12-061-3/+3
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Update license headersChristoph Wurst2019-12-051-1/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* extend with group deletion handlingArthur Schiwon2019-11-281-6/+14
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* when a user was delete remove them from applicable list, unlessArthur Schiwon2019-11-281-0/+24
| | | | | | it is the only user, then remove the mount Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Fix UniqueConstraintViolationException while insert into files_external ↵Morris Jobke2018-11-141-18/+28
| | | | | | | | config tables * followup to #12371 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-061-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add Phan plugin to check for SQL injectionsLukas Reschke2017-07-201-0/+4
| | | | | | | | | | 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>
* use the correct param type when getting external storages for groupsRobin Appelman2017-05-221-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* get files_external mounts more efficientlyRobin Appelman2016-09-051-0/+23
|
* Fix oracle support of external storage appJoas Schilling2016-08-151-1/+1
|
* Update with robinJoas Schilling2016-07-211-1/+1
|
* Fix apps/Joas Schilling2016-07-211-2/+3
|
* Add option to `occ files_external:list` to show all configured mountsRobin Appelman2016-06-231-0/+12
|
* Move stuff from outside lib/ to PSR-4Joas Schilling2016-05-241-0/+451