aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* teardownRobin Appelman2021-10-071-0/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* add new ftp backendRobin Appelman2021-10-071-37/+2
| | | | | | this uses the raw `ftp_` functions instead of the stream wrapper Signed-off-by: Robin Appelman <robin@icewind.nl>
* run ftp external storage tests against multiple ftp serversRobin Appelman2021-10-071-1/+4
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Revert OC.linkToOCS() calls back to old behaviourJoas Schilling2021-08-311-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Bump @nextcloud/router from 1.2.0 to 2.0.0dependabot[bot]2021-07-231-2/+1
| | | | | | | | | | Bumps [@nextcloud/router](https://github.com/nextcloud/nextcloud-router) from 1.2.0 to 2.0.0. - [Release notes](https://github.com/nextcloud/nextcloud-router/releases) - [Changelog](https://github.com/nextcloud/nextcloud-router/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/nextcloud-router/compare/v1.2.0...v2.0.0) Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* remove depricated methods from MountConfigRobin Appelman2021-06-161-6/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-0434-41/+6
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Rename External storages to External storageszaimen2021-05-202-4/+4
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* better cleanup of filecache when deleting an external storageRobin Appelman2021-05-193-10/+36
| | | | | | this way it can delete the cache entries even with per-user credentials Signed-off-by: Robin Appelman <robin@icewind.nl>
* Bump js licensesJohn Molakvoæ (skjnldsv)2021-03-313-26/+63
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Lint fixJohn Molakvoæ (skjnldsv)2021-03-171-49/+49
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* 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>