Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2018-10-30Add uuid/name entry to Remote/MailPlugin testsJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-10-30Make enhancing entries with type property optionalJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-10-30Filter out local users from address book remote searchesJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-10-30Adding handling of CIDR notation to trusted_proxies for IPv4Oliver Wegner
Signed-off-by: Oliver Wegner <void1976@gmail.com>
2018-10-30Merge pull request #12052 from ↵Morris Jobke
nextcloud/bugfix/11594/fix-setup-check-trusted-proxies Fix setup check trusted proxies
2018-10-29Merge pull request #12019 from nextcloud/icons-svg-api-fixesJohn Molakvoæ
Move svg api endpoint
2018-10-29Fix testsJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-10-29Move acceptance tests that crash the PHP built-in server to ApacheDaniel Calviño Sánchez
The PHP built-in server can crash when certain actions are performed in Nextcloud (but although the crash is triggered by Nextcloud it does not seem to be a Nextcloud bug), which can lead to failures in the acceptance tests that would have otherwise passed. A crash of the PHP built-in server during an acceptance test can be identified by the message "sh: 1: kill: No such process" in the acceptance tests output; as the PHP built-in server crashed its process does no longer exist when it is tried to be killed when the scenario ends. Although the crash has been observed in other tests too it is more prevalent in the tests for tags and the theming app. In order to reduce the false positives those tests are now run on Apache instead of on the PHP built-in sever. However, the rest of tests are still run on the PHP built-in server due to its lower resource consumption. In order to run a feature or just a scenario using Apache it has to be tagged with "@apache"; features or scenarios without that tag (the default) will run on the PHP built-in server instead. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-10-29Link the default Apache directory to the Nextcloud server in all runnersDaniel Calviño Sánchez
In order to run the acceptance tests in Apache "/var/www/html" has to be linked to the root directory of the Nextcloud server. Before this was automatically done when launching the acceptance tests through "./run.sh", but an explicit command was needed when run in Drone. Now the linking was moved from "run.sh" to "run-local.sh", so it is automatically done when run through "./run.sh" and in Drone, including when running the tests for an app instead of for the server. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-10-29Extract acceptance tests for tags to their own feature fileDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-10-26Move the browser window of an actor to the foreground when acting as himDaniel Calviño Sánchez
Each time a new actor appears in a scenario the browser window of the new actor is put in front of the browser windows of the previous actors. Before, when acting again as a previous actor his browser window stayed in the background; in most cases everything worked fine even if the window was in the background, but due to a bug in the Firefox driver of Selenium and/or maybe in Firefox itself when the window was in the background it was not possible to set the value of an input field that had a range selected. Now, when acting again as a previous actor his browser window is brought to the foreground. This prevents the bug from manifesting, but also reflects better how a user would interact with the browser in real life. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-10-26Update logic for forwardedForHeadersWorkingDaniel Kesselberg
As discussed in https://github.com/nextcloud/server/issues/11594 when discovering if x-forwarded-for is working properly its not possible to use getRemoteAddr because the "client ip" is returned. For this check the ip of the last hop would be required. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2018-10-25Keep list of icons in a separate file for use in the accessibility appJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-10-24skip already decrypted files on decrypt all commandBjoern Schiessle
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-10-24Merge pull request #11396 from nextcloud/wellknown-webfingerMorris Jobke
adding .well-known/webfinger
2018-10-23Merge pull request #11847 from iPaat/Fix/DeleteCookiesThroughClearSiteDataMorris Jobke
Remove cookies from Clear-Site-Data Header
2018-10-23Merge pull request #11914 from nextcloud/csp/report-uriMorris Jobke
Add report-uri to CSP
2018-10-23Merge pull request #11967 from ↵Morris Jobke
nextcloud/fix-opening-a-section-again-in-the-files-app Fix opening a section again in the Files app
2018-10-23Merge pull request #11932 from nextcloud/font-nunitoMorris Jobke
Change typeface to Nunito
2018-10-23fixup! Fix comment and cap-heightJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-10-23Fix comment and cap-heightJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-10-23Use correct typeface for avatar generatorJan-Christoph Borchardt
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-10-22Update polyserve requirementdependabot[bot]
Updates the requirements on [polyserve](https://github.com/Polymer/tools) to permit the latest version. - [Release notes](https://github.com/Polymer/tools/releases) - [Commits](https://github.com/Polymer/tools/commits/polyserve@0.27.13) Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-21Add acceptance tests for opening a section in the Files appDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-10-21Add report-uri to CSPRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-19Fix js unit testsRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-19Merge pull request #11711 from nextcloud/feature/backgroundjobs_ocpChristoph Wurst
Add proper backgroundjobs to OCP
2018-10-18Do not try to contact lookup server without internet connection or URLArthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2018-10-16Merge pull request #11839 from nextcloud/csp/files_dropRoeland Jago Douma
Move files_drop to compiled handlebars
2018-10-16Merge pull request #11830 from ↵Morris Jobke
nextcloud/bugfix/9326/make_sure_usermanager_getByEmail_only_returns_IUser filter null values for UserManager::getByEmail
2018-10-16fixup! Move files_drop to compiled handlebarsRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-16Merge pull request #11358 from Zulan/fix-welcome-l10nMorris Jobke
Fix welcome l10n
2018-10-15Get l10n within NewUserMailHelper to ensure it always uses the new user's ↵zulan
language. Some related tests had to be changed because they relied on internals, see also from the PHPUnit documentation: "Exercise caution when using [the at] matcher as it can lead to brittle tests which are too closely tied to specific implementation details." Signed-off-by: Zulan <git@zulan.net>
2018-10-15Remove cookies from Clear-Site-Data HeaderPatrick Conrad
In https://github.com/nextcloud/server/commit/2f87fb6b456fd109c90a5093c31b7a3f62a32040 this header was introduced. The referenced documentation says: > When delivered with a response from https://example.com/clear, the following header will cause cookies associated with the origin https://example.com to be cleared, as well as cookies on any origin in the same registered domain (e.g. https://www.example.com/ and https://more.subdomains.example.com/). This also applies if `https://nextcloud.example.com/` sends the `Clear-Site-Data: "cookies"` header. This is not the behavior we want at this point! So I removed the deletion of cookies from the header. This has no effect on the logout process as this header is supported only recently and the logout works in old browsers as well. Signed-off-by: Patrick Conrad <conrad@iza.org>
2018-10-15Use IAccountManager constantsJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-10-15Add tests for new account api classesJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-10-15filter null values for UserManager::getByEmailGeorg Ehrke
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2018-10-15Merge pull request #11714 from nextcloud/lookupserver-and-global-scaleBjörn Schießle
always query the lookup server in a global scale setup
2018-10-15Merge pull request #11765 from nextcloud/feature/mandatory-2fa-for-groupsMorris Jobke
Mandatory 2FA for groups
2018-10-15Merge pull request #10439 from ↵Morris Jobke
eugulixes/improve-encrypt-all-and-decrypt-all-commands Check if TTY is invalid in encryption:encrypt-all and encryption:decrypt-all
2018-10-15Make it possible to enforce mandatory 2FA for groupsChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-10-14Disallow unsafe-eval by defaultRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-14Check if TTY is invalid in encryption:encrypt-all and encryption:decrypt-allEvgeny Golyshev
Signed-off-by: Evgeny Golyshev <eugulixes@gmail.com>
2018-10-12add more testsBjoern Schiessle
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-10-12Make activity events strictJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-10-10Merge pull request #11675 from nextcloud/feature/enforce-2fa-admin-settingsRoeland Jago Douma
Add admin interface to enforce 2FA
2018-10-10some small fixes and improvementsBjoern Schiessle
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2018-10-10Add admin interface to enforce 2FAChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-10-10Move normalizePath to regexes instead of loopingRoeland Jago Douma
This is IMO a bit more readable and it seems to make the code faster. Tested it on the company instance where there are over 3k calls to this function. It shaves off around 10ms. The advantage here is that the pattern gets optimized by php itsel and cached. Also looking for all patterns at the same time and especially no longer looping for /./ patterns should save time. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-10adding .well-known/webfingerMaxence Lange
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>