summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Update logic for forwardedForHeadersWorkingDaniel Kesselberg2018-10-251-24/+28
| | | | | | | | 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>
* Keep list of icons in a separate file for use in the accessibility appJulius Härtl2018-10-252-8/+10
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* skip already decrypted files on decrypt all commandBjoern Schiessle2018-10-241-10/+31
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Merge pull request #11396 from nextcloud/wellknown-webfingerMorris Jobke2018-10-241-0/+1
|\ | | | | adding .well-known/webfinger
| * adding .well-known/webfingerMaxence Lange2018-10-101-0/+1
| | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | Merge pull request #11847 from iPaat/Fix/DeleteCookiesThroughClearSiteDataMorris Jobke2018-10-231-2/+2
|\ \ | | | | | | Remove cookies from Clear-Site-Data Header
| * | Remove cookies from Clear-Site-Data HeaderPatrick Conrad2018-10-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | Merge pull request #11914 from nextcloud/csp/report-uriMorris Jobke2018-10-231-0/+15
|\ \ \ | | | | | | | | Add report-uri to CSP
| * | | Add report-uri to CSPRoeland Jago Douma2018-10-211-0/+15
| | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Merge pull request #11967 from ↵Morris Jobke2018-10-232-0/+88
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | nextcloud/fix-opening-a-section-again-in-the-files-app Fix opening a section again in the Files app
| * | | | Add acceptance tests for opening a section in the Files appDaniel Calviño Sánchez2018-10-212-0/+88
| |/ / / | | | | | | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | | Merge pull request #11932 from nextcloud/font-nunitoMorris Jobke2018-10-231-3/+3
|\ \ \ \ | | | | | | | | | | Change typeface to Nunito
| * | | | fixup! Fix comment and cap-heightJohn Molakvoæ (skjnldsv)2018-10-231-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | | | Fix comment and cap-heightJohn Molakvoæ (skjnldsv)2018-10-231-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | | | Use correct typeface for avatar generatorJan-Christoph Borchardt2018-10-231-3/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* | | | | Update polyserve requirementdependabot[bot]2018-10-221-1/+1
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | Fix js unit testsRoeland Jago Douma2018-10-191-0/+1
|/ / / | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #11711 from nextcloud/feature/backgroundjobs_ocpChristoph Wurst2018-10-192-57/+108
|\ \ \ | | | | | | | | Add proper backgroundjobs to OCP
| * | | fixup! fixup! Add backgroundjobs to OCPRoeland Jago Douma2018-10-092-57/+108
| | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Do not try to contact lookup server without internet connection or URLArthur Schiwon2018-10-181-21/+78
| | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | Merge pull request #11839 from nextcloud/csp/files_dropRoeland Jago Douma2018-10-161-1/+2
|\ \ \ \ | | | | | | | | | | Move files_drop to compiled handlebars
| * | | | fixup! Move files_drop to compiled handlebarsRoeland Jago Douma2018-10-161-1/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | | Merge pull request #11830 from ↵Morris Jobke2018-10-161-0/+33
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | nextcloud/bugfix/9326/make_sure_usermanager_getByEmail_only_returns_IUser filter null values for UserManager::getByEmail
| * | | | | filter null values for UserManager::getByEmailGeorg Ehrke2018-10-151-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | | | | | Merge pull request #11358 from Zulan/fix-welcome-l10nMorris Jobke2018-10-161-16/+14
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | Fix welcome l10n
| * | | | | Get l10n within NewUserMailHelper to ensure it always uses the new user's ↵zulan2018-10-151-16/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | | Use IAccountManager constantsJulius Härtl2018-10-153-68/+67
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | | Add tests for new account api classesJulius Härtl2018-10-153-0/+253
| |_|_|/ / |/| | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | Merge pull request #11714 from nextcloud/lookupserver-and-global-scaleBjörn Schießle2018-10-151-2/+272
|\ \ \ \ \ | | | | | | | | | | | | always query the lookup server in a global scale setup
| * | | | | add more testsBjoern Schiessle2018-10-121-0/+231
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
| * | | | | some small fixes and improvementsBjoern Schiessle2018-10-101-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
| * | | | | adjust testsBjoern Schiessle2018-10-091-2/+31
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | | | | | Merge pull request #11765 from nextcloud/feature/mandatory-2fa-for-groupsMorris Jobke2018-10-155-56/+277
|\ \ \ \ \ \ | | | | | | | | | | | | | | Mandatory 2FA for groups
| * | | | | | Make it possible to enforce mandatory 2FA for groupsChristoph Wurst2018-10-155-56/+277
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | | | | Merge pull request #10439 from ↵Morris Jobke2018-10-152-0/+6
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | eugulixes/improve-encrypt-all-and-decrypt-all-commands Check if TTY is invalid in encryption:encrypt-all and encryption:decrypt-all
| * | | | | | Check if TTY is invalid in encryption:encrypt-all and encryption:decrypt-allEvgeny Golyshev2018-10-142-0/+6
| | |_|/ / / | |/| | | | | | | | | | | | | | | | Signed-off-by: Evgeny Golyshev <eugulixes@gmail.com>
* / | | | | Disallow unsafe-eval by defaultRoeland Jago Douma2018-10-145-60/+69
|/ / / / / | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | | Make activity events strictJoas Schilling2018-10-121-0/+4
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | Merge pull request #11675 from nextcloud/feature/enforce-2fa-admin-settingsRoeland Jago Douma2018-10-101-0/+82
|\ \ \ \ \ | | | | | | | | | | | | Add admin interface to enforce 2FA
| * | | | | Add admin interface to enforce 2FAChristoph Wurst2018-10-101-0/+82
| | |_|_|/ | |/| | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* / | | | Move normalizePath to regexes instead of loopingRoeland Jago Douma2018-10-101-61/+68
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | / Add function to generate urls for OCS routesRoeland Jago Douma2018-10-091-0/+18
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | fixes #11617 The OCS routes are only absolute for now as they are often exposed to the outside anyway and are on a different endpoint than index.php in anyway. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Remove HHVM checkChristoph Wurst2018-10-091-1/+1
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Deprecate unused, private OC_Helper::linkToPublicMorris Jobke2018-10-081-38/+0
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #10839 from nextcloud/bugfix/10212/use_class_implementationMorris Jobke2018-10-082-16/+74
|\ \ \ | | | | | | | | adjust Calendar resource / room interfaces to use class implementation
| * | | RoomManager/ResourceManager: Inject IServerContainer instead of using OC ServerGeorg Ehrke2018-10-082-38/+60
| | | | | | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
| * | | adjust Calendar resource / room interfaces to use class implementationGeorg Ehrke2018-10-082-14/+50
| | | | | | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | | | Merge pull request #11671 from nextcloud/refactor/rename-admin-security-sectionMorris Jobke2018-10-081-6/+6
|\ \ \ \ | | | | | | | | | | Rename admin security section
| * | | | Fix reference to template in testsChristoph Wurst2018-10-081-2/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | | | Rename admin security sectionChristoph Wurst2018-10-081-4/+4
| |/ / / | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>