aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | prevent lock values from going negative with memcache backendRobin Appelman2018-07-051-0/+12
| |/ / | | | | | | | | | | | | | | | | | | | | | This can be caused by the code releasing more locks then it acquires, once the lock value becomes negative it's likely that it will never be able to change into an exclusive lock again. Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #9791 from nextcloud/3rdparty/noid/bump_swiftmailerJoas Schilling2018-07-063-24/+40
|\ \ \ | |/ / |/| | Upgrade to swiftmailer-6
| * | Add warning to setup checks if the default mailer is still phpRoeland Jago Douma2018-07-041-1/+26
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | Fix settings testsRoeland Jago Douma2018-07-041-2/+2
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | Swift to \Swift_Mailer as abstractionRoeland Jago Douma2018-07-041-21/+12
| | | | | | | | | | | | | | | | | | | | | * \Swift_Mailer handles starting the transport etc properly * Fixed tests Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #9345 from nextcloud/federation20Morris Jobke2018-07-032-2/+11
|\ \ \ | |/ / |/| | Federation 2.0
| * | always enable cloud federation apiBjoern Schiessle2018-07-022-2/+11
| | | | | | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | | Adds an info if the maintenance mode is already enabled/disabled.Michael Weimann2018-07-011-0/+147
|/ / | | | | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* | Merge pull request #10048 from nextcloud/feature/9760/systemd-loggerblizzz2018-06-302-0/+16
|\ \ | | | | | | Systemd Logger
| * | whitelist audit.logArthur Schiwon2018-06-291-0/+1
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | Added a logger for systemd/journaldJohannes Ernst2018-06-291-0/+15
| | | | | | | | | | | | | | | | | | Added a unit test Signed-off-by: Johannes Ernst <jernst@indiecomputing.com>
* | | Merge pull request #10053 from nextcloud/feature/7378/password-security-moveMorris Jobke2018-06-291-1/+1
|\ \ \ | | | | | | | | Move password change to security settings
| * | | Fix testsJulius Härtl2018-06-291-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | Bump autoloader and fix testsJulius Härtl2018-06-291-1/+1
|/ / / | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Merge pull request #8854 from nextcloud/drop-old-sharing-codeMorris Jobke2018-06-292-355/+1
|\ \ \ | |/ / |/| | Get rid of shareItem
| * | Get rid of shareItemMorris Jobke2018-05-232-355/+1
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | adjust testsArthur Schiwon2018-06-291-1/+1
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | adjust backend and gui to update and changelog serverArthur Schiwon2018-06-292-6/+348
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | adjust testsArthur Schiwon2018-06-291-0/+6
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | Merge pull request #5623 from nextcloud/locale-settingMorris Jobke2018-06-291-37/+39
|\ \ \ | | | | | | | | Add user locale/region setting
| * | | Add testsThomas Citharel2018-06-271-37/+39
| | | | | | | | | | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | | Merge pull request #9773 from nextcloud/feature/noid/resource_bookingMorris Jobke2018-06-292-0/+188
|\ \ \ \ | | | | | | | | | | resource booking
| * | | | Calendar resource booking: unit tests / adding missing annotationsGeorg Ehrke2018-06-252-0/+188
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | | | | Fix variable not replaced in "behat.yml" when default value was usedDaniel Calviño Sánchez2018-06-281-15/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As "selenium.server" is a simulated variable it is not recognized by Mink, so it must be always replaced by its value in "behat.yml" before the file is parsed by Behat. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | | | Add groupware settings sectionJulius Härtl2018-06-271-2/+6
| |/ / / |/| | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | Merge pull request #9632 from nextcloud/enhancement/stateful-2fa-providersMorris Jobke2018-06-257-172/+508
|\ \ \ \ | | | | | | | | | | Stateful 2fa providers
| * | | | Make new classes strict and fix license headerChristoph Wurst2018-06-253-4/+22
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | | | Make 2FA providers statefulChristoph Wurst2018-06-207-172/+490
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds persistence to the Nextcloud server 2FA logic so that the server knows which 2FA providers are enabled for a specific user at any time, even when the provider is not available. The `IStatefulProvider` interface was added as tagging interface for providers that are compatible with this new API. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | | Merge pull request #9526 from Blaok/files-scan-shallowRobin Appelman2018-06-251-0/+31
|\ \ \ \ \ | |_|/ / / |/| | | | allow shallow (non-recursive) scan when scanning file storage
| * | | | test: add unit test for files:scan --shallowBlaok2018-05-181-0/+31
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Yuze Chi <i@blaok.me>
* | | | | Fix documentationDaniel Calviño Sánchez2018-06-221-2/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | | | Set "wd_host" directly in "behat.yml" instead of through "BEHAT_PARAMS"Daniel Calviño Sánchez2018-06-222-29/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The "wd_host" parameter of Selenium2 sessions specify the URL used by the Selenium driver to connect with the Selenium server. Thus, when the Selenium server is at a different host or port than the default one (for example, when run on Drone) the "wd_host" parameter must be set for each of the Selenium2 sessions defined in "behat.yml". The "BEHAT_PARAMS" environment variable, which extends the "behat.yml" configuration file, was used for that. However, this required adding to the "BEHAT_PARAMS" in "run-local.sh" each new session added to "behat.yml", including those added in the acceptance tests of apps. To address that limitation, this commit introduces a simulated variable, "selenium.server"; just before the acceptance tests are run the "selenium.server" variable in the "wd_host" parameter is replaced in the "behat.yml" file used by the acceptance tests. Note that the file that is modified is the one inside the Docker container used to run the acceptance tests, so the original file is not touched. Note that a simulated variable is needed because Behat does not support overridding nor setting configuration parameters with environment variables. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | | | prefill userid for login after password resetRobin Appelman2018-06-211-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | Merge pull request #9518 from ↵Roeland Jago Douma2018-06-214-2/+550
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | nextcloud/feature/5986/public_share_controller_middleware Public share middleware & controller
| * | | | | Fix acceptance testRoeland Jago Douma2018-06-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | | | | Fix direct access to authen pageRoeland Jago Douma2018-06-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | | | | Add AuthPublicShareControllerTestRoeland Jago Douma2018-06-201-0/+157
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | | | | Add PublicShareControllerTestsRoeland Jago Douma2018-06-201-0/+102
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | | | | Add PublicShareMiddlewareTestRoeland Jago Douma2018-06-201-0/+287
| | |/ / / | |/| | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | | Adjust theming acceptance tests to new header colour transitionDaniel Calviño Sánchez2018-06-202-10/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before, the acceptance tests checked the header colour just once, as the header colour was immediately changed once the new theming colour was saved. This is no longer the case, as currently a transition is used to change between the original colour and the new one, so now the acceptance tests check repeteadly for the expected header colour until it matches or the timeout expires. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | | | Fixed tests and improved app-navigation-captionJohn Molakvoæ (skjnldsv)2018-06-201-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | | | Merge pull request #9900 from nextcloud/feature/noid/wait-for-cron-to-finishMorris Jobke2018-06-201-1/+8
|\ \ \ \ \ | |/ / / / |/| | | | Wait for cron to finish before running upgrade command
| * | | | Wait for cron to finish before running upgrade commandMorris Jobke2018-06-191-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fixes #9562 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | | Fix testsMorris Jobke2018-06-191-3/+7
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | | Merge pull request #9881 from nextcloud/user-db-backend-querybuilderMorris Jobke2018-06-191-0/+10
|\ \ \ \ \ | | | | | | | | | | | | use query builder in all places in the db user backend
| * | | | | Add count to function builderRobin Appelman2018-06-141-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | | Use constant for token versionRoeland Jago Douma2018-06-183-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And don't set the version in the constructor. That would possible cause to many updates. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | | | Add more testsRoeland Jago Douma2018-06-184-31/+492
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add a lot of tests * Fixes related to those tests * Fix tests Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | | | SetPassword on PublicKeyTokensRoeland Jago Douma2018-06-182-12/+19
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | | | Just pass uid to the Token stuffRoeland Jago Douma2018-06-182-34/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We don't have user objects in the code everywhere Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>