summaryrefslogtreecommitdiffstats
path: root/apps/files_external/tests
Commit message (Collapse)AuthorAgeFilesLines
* adjust testsRobin Appelman2021-01-083-4/+24
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Expose session based authentication through mount point typeJulius Härtl2020-12-211-1/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-1617-19/+17
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Bump jquery from 2.2.4 to 3.1.0Christoph Wurst2020-11-131-35/+37
| | | | 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>
* Format code to a single space around binary operatorsChristoph Wurst2020-10-054-54/+54
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-249-0/+9
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵Morris Jobke2020-08-1210-36/+35
| | | | | | \PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Move OC_Mount_Config to proper classname and remove OC::$CLASSPATH usage in ↵Morris Jobke2020-07-105-49/+49
| | | | | | files_external Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headers for 19Christoph Wurst2020-04-296-1/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add visibility to all constantsChristoph Wurst2020-04-101-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add visibility to all methods and position of static keywordChristoph Wurst2020-04-103-6/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-1019-27/+6
| | | | | | | | | | | | | | | 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>
* Remove trailing and in between spacesChristoph Wurst2020-04-095-5/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-093-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* 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>
* Fix (array) indent style to always use one tabChristoph Wurst2020-04-093-11/+11
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* allow setting tooltips for external storage config optionsRobin Appelman2020-04-031-4/+8
| | | | | | allows explaining non-obvious config options a bit more Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-3115-0/+16
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #20170 from nextcloud/techdebt/remove-unused-importsChristoph Wurst2020-03-271-1/+0
|\ | | | | Remove unused imports
| * Remove unused importsChristoph Wurst2020-03-251-1/+0
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use the short array syntax, everywhereChristoph Wurst2020-03-267-76/+76
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use the shorter phpunit syntax for mocked return valuesChristoph Wurst2020-03-2511-53/+53
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #19932 from nextcloud/remove-placeholder-checkRoeland Jago Douma2020-03-171-49/+0
|\ | | | | remove the requirement that everything that looks like a placeholder …
| * remove the requirement that everything that looks like a placeholder is ↵Robin Appelman2020-03-131-49/+0
| | | | | | | | | | | | | | | | substituted While maybe not common, `$` is a valid option in config fields Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix external storage controller testsRobin Appelman2020-03-131-0/+4
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update license headersChristoph Wurst2019-12-0536-37/+57
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix external storagestestsRoeland Jago Douma2019-11-272-12/+18
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Mode to modern phpunitRoeland Jago Douma2019-11-2715-57/+58
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make phpunit8 compatibleRoeland Jago Douma2019-11-2722-34/+34
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Some php-cs fixesRoeland Jago Douma2019-11-2221-29/+36
| | | | | | | | | | | * 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>
* Adjust testsJulius Härtl2019-08-021-1/+20
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix invalid recursionDaniel Kesselberg2019-07-211-0/+2
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Allow hidden smb sharesDaniel Kesselberg2019-07-161-0/+47
| | | | | | | A hidden smb share ends with $. This patch changes the placeholder detection to allow shares with $ at the end. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Add time between SMB test runs and properly log full changesetMorris Jobke2019-03-141-1/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Wait up to 10 seconds for incoming changes from SMB notifierMorris Jobke2019-03-131-1/+8
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix files_external testsJoas Schilling2019-03-011-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add dispatcher events to User and Group objectsJoas Schilling2019-03-011-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* typos in doc, no code changesArthur Schiwon2019-02-152-1/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* files_external: allow to register config handlers for flexible placeholdersArthur Schiwon2019-02-142-15/+141
| | | | | | | | * 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>
* Fix JS namespace of files_external appJoas Schilling2018-10-303-6/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix usage of deprecated OC.webrootChristoph Wurst2018-10-092-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* files_external: Fix jsunit testsJulius Härtl2018-08-021-10/+7
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* use DAV instead of SMB for deletion testsRobin Appelman2018-06-211-5/+4
| | | | | | SMB storages can't be constructed on drone because of missing dependencies Signed-off-by: Robin Appelman <robin@icewind.nl>
* update icewind/smb to 3.0.0Robin Appelman2018-06-211-1/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix testsRoeland Jago Douma2018-05-011-1/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* fixup! Fixed testsJohn Molakvoæ (skjnldsv)2018-02-271-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* fixup! Fixed testsJohn Molakvoæ (skjnldsv)2018-02-271-20/+20
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fixed testsJohn Molakvoæ (skjnldsv)2018-02-271-3/+10
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* adjust swift external storage to new openstack sdkRobin Appelman2018-02-191-6/+10
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>