summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #8063 from nextcloud/inline-valueJoas Schilling2018-01-261-2/+1
|\ | | | | Return value immediately instead of assigning to a one-time variable
| * Return value immediately instead of assigning to a one-time variableMorris Jobke2018-01-261-2/+1
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Use proper code flow instead of not needed else branchMorris Jobke2018-01-251-1/+0
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Properly log the full exception instead of only the messageMorris Jobke2018-01-233-29/+55
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* [files_external] OCS endpoint to proper OCSControllerRoeland Jago Douma2018-01-181-13/+31
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Remove deprecated functions for OCP\UtilRoeland Jago Douma2018-01-131-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* add option to use legacy v2 auth with s3Robin Appelman2017-12-191-0/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #7556 from nextcloud/smb-stat-exceptionMorris Jobke2017-12-181-5/+7
|\ | | | | handle exceptions in SMB::stat
| * handle exceptions in SMB::statRobin Appelman2017-12-181-5/+7
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | additional debug logging on smb copy/rename failuresRobin Appelman2017-12-181-0/+2
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* add retry wrapper when reading files from swiftRobin Appelman2017-12-041-1/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update license headersMorris Jobke2017-11-0632-4/+47
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* OC_OCS_Response is deprecatedRoeland Jago Douma2017-09-211-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix undefined offset warning when using '/' as external storage rootRobin Appelman2017-09-191-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix undefined constantsRobin Appelman2017-09-181-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* disable part files for s3 external storageRobin Appelman2017-09-181-0/+4
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* add stat cache for s3 external storageRobin Appelman2017-09-181-7/+56
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* more efficient is_dirRobin Appelman2017-09-181-0/+10
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* more efficient permissions for s3 external storageRobin Appelman2017-09-181-0/+8
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* more efficient write only fopenRobin Appelman2017-09-181-1/+9
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* reuse object read/write/delete logic in s3 implementationsRobin Appelman2017-09-181-35/+14
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* update aws sdk and move it to 3rdpartyRobin Appelman2017-09-181-17/+21
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* show storage as unavailable in the file listRobin Appelman2017-09-041-1/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* set the exception for failedstorageRobin Appelman2017-09-041-2/+9
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Use the FailedStorage insteadMorris Jobke2017-09-042-31/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Handle invalid ext storage backend to keep mount point visibleVincent Petry2017-09-044-2/+139
| | | | | | | | Keep mount point visible and also ext storage config visible when dealing with configs relating to storage backends or auth mechanisms that were provided by an app that is currently disabled. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Move GDrive external storage to a separate repoVincent Petry2017-08-213-791/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Bye bye Dropbox v1Vincent Petry2017-08-163-410/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #6101 from cbartz/patch-1Lukas Reschke2017-08-151-6/+1
|\ | | | | Missing array assignment in Swift.php
| * Remove tmpFiles Array in Swift.phpChristopher Bartz2017-08-141-6/+1
| | | | | | | | | | | | tmpFiles Array is unnecessary and there has been a reference without an assignment which lead to a bug making swift external storage unuseable.
* | Merge pull request #5872 from nextcloud/swift-filter-dotRobin Appelman2017-08-141-1/+1
|\ \ | |/ |/| Filter magic dot object when swift directory
| * Filter magic dot object when swift directoryRobin Appelman2017-08-011-1/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Fix comparisons in the files external appJoas Schilling2017-08-017-20/+20
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix L10N::tRoeland Jago Douma2017-08-011-3/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* [files_external] Fix phpdocRoeland Jago Douma2017-08-013-3/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* [files_external] fix commandsRoeland Jago Douma2017-08-016-13/+13
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* [files_external] Fix phpdocRoeland Jago Douma2017-08-012-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Replace wrong PHPDocsLukas Reschke2017-08-011-1/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Allow to enable the external storage app via the web uiJoas Schilling2017-07-261-15/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* 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>
* Run phan over code baseLukas Reschke2017-07-191-4/+4
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Merge pull request #5556 from nextcloud/files_external_sftp_2048_4096Morris Jobke2017-07-042-8/+13
|\ | | | | [Files external] Add support for 2048 and 4096 bit RSA key generation
| * Remove unused memberRoeland Jago Douma2017-06-301-2/+0
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Allow 2048 and 4096 bit SFTP keysRoeland Jago Douma2017-06-292-6/+13
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | move personal external storage settings to it's own sectionRobin Appelman2017-06-233-18/+170
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* use the correct param type when getting external storages for groupsRobin Appelman2017-05-221-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #4527 from nextcloud/downstream-27504Morris Jobke2017-05-011-24/+46
|\ | | | | Adjust SMB permissions on the root
| * remove duplicate methodRobin Appelman2017-04-261-26/+8
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * remove excessive loggingRobin Appelman2017-04-261-25/+8
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * Adjust SMB permissions on the rootJuan Pablo Villafáñez2017-04-261-3/+60
| |