summaryrefslogtreecommitdiffstats
path: root/apps/files_external/tests
Commit message (Collapse)AuthorAgeFilesLines
* kerberos sso ci fixesRobin Appelman2023-09-197-11/+77
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* admin have no special rights on users' entriesMaxence Lange2023-09-071-29/+6
| | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Test StorePasswordListenerLouis Chemineau2023-04-191-0/+175
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Update kerberos sso test setup to use new user_saml config systemRobin Appelman2023-01-234-33/+46
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fixing samba test and adding details to kerberos jobCôme Chilliet2023-01-201-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix Samba test failure details outputCôme Chilliet2023-01-201-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #36087 from nextcloud/enh/noid/improve-applicable-ext-storageVincent Petry2023-01-161-4/+67
|\ | | | | Improve saving applicable users in ext storage
| * Improve saving applicable users in ext storageVincent Petry2023-01-121-4/+67
| | | | | | | | | | | | | | Added a checkbox to prevent saving "All users" by mistake and giving access to everyone when not wanted. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | Enable SSL by default in ext storage configsVincent Petry2023-01-131-0/+1
| | | | | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | Extend ext storage params to contain default valueVincent Petry2023-01-131-0/+2
|/ | | | | | | Extend the external storage configuration parameters definition to allow to specify a default value Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Fix files_external tests with phpunit 9Côme Chilliet2023-01-021-2/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix typos in apps/ subdirectoryluz paz2022-09-051-1/+1
| | | | | | | Found via `codespell -q 3 -S l10n,./apps/files_external/3rdparty -L adn,ba,boxs,keypair,jus,optionel,ressource,tabel ./apps/` Signed-off-by: luz paz <luzpaz@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Fix jsunit testsJulius Härtl2022-09-011-2/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Remove legacy #dir element in files listVincent Petry2022-07-271-1/+0
| | | | | | | | | | Removed legacy "#dir" input element in the DOM. Apps should use OCA.Files.App.currentFileList or OCA.Sharing.PublicApp.fileList and call getCurrentDirectory() to retrieve the current directory and changeDirectory() to change it. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Replace files app ids to classesVincent Petry2022-07-262-7/+7
| | | | | | | | | | | Replaced ids to classes for the following: - #filestable -> .files-filestable - #fileList -> .files-fileList - #controls -> .files-controls - #emptycontent -> .emptyfilelist.emptycontent Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Add missing event dispatcher in test constructorVincent Petry2022-03-241-1/+1
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* force full setup after external storage config changeRobin Appelman2022-03-243-3/+11
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* add all storage config rows in one go on loadRobin Appelman2022-03-171-5/+5
| | | | | | this prevents repeated reflows Signed-off-by: Robin Appelman <robin@icewind.nl>
* simplify setup of circular SetupManager<->ManagerRobin Appelman2022-03-041-6/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* move logic to decide what to setup to setupmanagerRobin Appelman2022-03-041-2/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* adjust tests to new fs setupRobin Appelman2022-03-041-1/+10
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add test for samba kerberos sso in ciRobin Appelman2022-01-201-0/+33
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Replace license information to SPDX expressionLouis Chemineau2022-01-113-3/+3
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Add option to disallow creation of local storagesVincent Petry2021-12-153-3/+66
| | | | | | | Introduce a new config option to prevent web UI admins to create or edit external storages of type "local". Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* ciRobin Appelman2021-10-152-0/+49
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fixup tests for ftp limitationsRobin Appelman2021-10-071-0/+44
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* 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>