summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* | | | Merge pull request #10898 from ↵Morris Jobke2018-10-0810-10/+153
|\ \ \ \ | |/ / / |/| | | | | | | | | | | nextcloud/feature/10684/default-logo-color-theme-colors Switches the default logo color depending on the primary color
| * | | Refactors the scss svg functionsMichael Weimann2018-10-025-0/+143
| | | | | | | | | | | | | | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
| * | | Moves the logo files to logoMichael Weimann2018-10-025-10/+10
| | | | | | | | | | | | | | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* | | | Remove deprecated publishActivity functionRoeland Jago Douma2018-10-051-52/+0
| | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Move files_versions to compiled handlebars templatesRoeland Jago Douma2018-10-041-0/+1
| | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Move Comments to compiled handlebarsRoeland Jago Douma2018-10-041-0/+1
| | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Add an endppoint for clients to request an app passwordRoeland Jago Douma2018-10-031-0/+179
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that we allow enforcing 2 factor auth it make sense if we also allow and endpoint where the clients can in the background fetch an apppassword if they were configured before the login flow was present. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Merge pull request #11446 from nextcloud/bugfix/10678/pretty-urls-dont-workMorris Jobke2018-10-021-2/+12
|\ \ \ \ | | | | | | | | | | Allow overwrite.cli.url without trailing slash
| * | | | Add more test casesDaniel Kesselberg2018-09-301-1/+4
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
| * | | | Allow url without / for overwrite.cli.urlDaniel Kesselberg2018-09-281-2/+9
| | |/ / | |/| | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | | Merge pull request #11390 from nextcloud/feature/11043/apptoken_v3Morris Jobke2018-10-025-10/+216
|\ \ \ \ | | | | | | | | | | Apptoken v3: imrpove token handling on external password change
| * | | | Add testsRoeland Jago Douma2018-10-025-6/+214
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | | | Mark token as invalid if the password doesn't matchRoeland Jago Douma2018-10-021-4/+2
| | |/ / | |/| | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* / | | Fix testsMorris Jobke2018-10-021-6/+6
|/ / / | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #11462 from ↵Morris Jobke2018-10-011-1/+27
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/feature/11380/2fa_backup_code_generation Add notification to generate 2FA backup codes
| * | | Generate backups code notification if not enable but 2fa isRoeland Jago Douma2018-10-011-1/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Generate a notification to generate backup codes if you enable an other 2FA provider but backup codes are not yet generated. * Add event listner * Insert background job * Background job tests and emits notification every 2 weeks * If the backup codes are generated the next run will remove the job Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Merge pull request #11501 from nextcloud/coverage_no_composerMorris Jobke2018-10-011-0/+1
|\ \ \ \ | |/ / / |/| | | Do not cover composer folders for code coverage
| * | | Do not cover composer folders for code coverageRoeland Jago Douma2018-10-011-0/+1
| | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Change wording of 'Copy URL' to more understandable 'Copy link'Jan-Christoph Borchardt2018-10-011-2/+2
|/ / / | | | | | | | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* / / Add mandatory 2FA service/classChristoph Wurst2018-09-303-0/+224
|/ / | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>