summaryrefslogtreecommitdiffstats
path: root/apps/files_external/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Fix risky tests without assertionsJoas Schilling2018-01-251-13/+13
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* increase the time we wait for smb notifications in the testRobin Appelman2018-01-221-2/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #6682 from nextcloud/dav-mimetype-fallbackRoeland Jago Douma2017-12-111-1/+12
|\ | | | | Fallback to filename based detection if the remote dav server doesn't…
| * Fallback to filename based detection if the remote dav server doesn't know ↵Robin Appelman2017-09-281-1/+12
| | | | | | | | | | | | the mimetype Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Update license headersMorris Jobke2017-11-0617-0/+21
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Use ::class in test mocksMorris Jobke2017-10-248-26/+43
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* adjust tests to new failed storage handlingRobin Appelman2017-09-061-8/+7
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Move GDrive external storage to a separate repoVincent Petry2017-08-212-81/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Bye bye Dropbox v1Vincent Petry2017-08-162-87/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add new specific tests for SMBJuan Pablo Villafáñez2017-04-261-0/+19
|
* Fix sinon.stub deprecation warningsChristoph Wurst2017-04-241-1/+1
| | | | | | | | | | Calls to `sinon.stub(obj, 'meth', fn)` are deprecated and therefore replaced by `sinon.stub(obj, 'meth).callsFake(fn)` as instructed by the deprecation warning. This makes the js unit testing output readable again. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update comments to NextcloudMorris Jobke2017-04-114-7/+7
| | | | | | | * based on PR by @Ardinis * see #4311 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* replace autosave with a save button for external storage configurationRobin Appelman2017-03-221-8/+5
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #2044 from nextcloud/login-credential-storeMorris Jobke2017-01-301-6/+9
|\ | | | | Login credential store
| * fix constructor params in failing testChristoph Wurst2017-01-111-6/+9
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | add unit tests for smb notify backendRobin Appelman2017-01-271-0/+47
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix test mocksMorris Jobke2017-01-201-0/+5
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add files_external webdav apache testsRoeland Jago Douma2016-12-292-0/+40
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add SMB tests and execute files_external testsLukas Reschke2016-12-207-261/+81
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Use OCP\\IL10N in tests tooMorris Jobke2016-10-281-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix getMock files_externalRoeland Jago Douma2016-09-0610-34/+59
|
* Use MockBuilder instead of createMockLukas Reschke2016-08-152-5/+5
| | | | CI uses an older PHPUnit
* Add unit testsLukas Reschke2016-08-152-0/+171
|
* Update with robinJoas Schilling2016-07-2123-23/+23
|
* Fix apps/Joas Schilling2016-07-2135-56/+93
|
* Added storage tests for fopen with special charsVincent Petry2016-07-201-1/+1
| | | | | | This makes it possible to test special chars with unit tests. There is already a test for directories but there was none for file names.
* Allow regular users to specify global credentials passwordLukas Reschke2016-06-271-0/+177
| | | | | | | | | While the UI is existent the feature simply doesn't work because admin privileges are required for the controller. This adds proper permission checks and also unit tests. To test this: 1. Enable external storage 2. Login as non-admin user 3. Go to personal page and try to change global credentials
* Merge remote-tracking branch 'upstream/master' into master-upstream-syncLukas Reschke2016-06-262-0/+15
|\
| * Add option to `occ files_external:list` to show all configured mountsRobin Appelman2016-06-231-0/+10
| |
| * Wait for port being accessible in addition to the notify socketThomas Müller2016-06-171-0/+5
| |
* | Add "Global Auth" option to external storageRobin Appelman2016-06-211-0/+117
|/ | | | | | | | This adds the "Global Auth" option to the external storage implementation, it is basically done by reverting c2c6caee93c491de9fa9a2e7c2eea036f4974e61 from https://github.com/owncloud/core/pull/22468. This was taken from owncloud/core which is AGPL licensed. Commited with "icewind@owncloud.com" to keep the license header signature in sync. ![2016-06-21_14-01-06](https://cloud.githubusercontent.com/assets/878997/16228662/9c243136-37b8-11e6-9700-c1076ddb3d17.png)
* Update start-swift-ceph.sh (#25109)Jürgen Weigert2016-06-151-0/+3
| | | fix failing https://ci.owncloud.org/job/server-master-linux-externals/database=sqlite,external=swift-ceph,label=SLAVE/
* Merge pull request #25008 from owncloud/externals_test_with_originVincent Petry2016-06-091-1/+2
|\ | | | | Add support to know where the storage test comes from
| * Fix testJuan Pablo Villafáñez2016-06-071-1/+2
| |
* | Fix GDrive upload file which name might match the one of a folderVincent Petry2016-06-071-0/+9
|/ | | | | | | | | | Whenever a file is uploaded to GDrive, there is a check for that file with and without extension, due to Google Docs files having no extension. This logic now only kicks in whenever the detected extensionless file is really a Google Doc file, not a folder. This makes it possible again to upload a file "test.txt" in a folder that also has a folder called "test"
* Fix webdav test env scripts to also work on CIVincent Petry2016-05-302-7/+24
|
* Add morrisjobke/webdav docker container for external storage testsVincent Petry2016-05-302-0/+110
|
* Update license headersLukas Reschke2016-05-2619-1/+20
|