aboutsummaryrefslogtreecommitdiffstats
path: root/tests/Settings
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused member "util"Joas Schilling2019-03-211-10/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Revert "Where is your data?"Roeland Jago Douma2019-03-201-94/+0
|
* Show a setup warning in case S3 object storage is used as primary storageMorris Jobke2019-03-081-0/+56
| | | | | | * checks for at least 50 GB of free space Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Load auth tokens with the initial state APIChristoph Wurst2019-03-011-47/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add setup check for missing UTF8MB4 on mysqlMorris Jobke2019-02-281-0/+56
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Warning if x-forwarded-host present but trusted_proxies emptyDaniel Kesselberg2019-02-171-8/+33
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Add test cases for rename / grant / revokeDaniel Kesselberg2019-02-131-4/+94
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Merge pull request #13097 from nextcloud/feature/11319/where-is-your-dataMorris Jobke2019-02-111-0/+94
|\ | | | | Where is your data?
| * Move server info to theming sectionMichael Weimann2019-01-141-1/+1
| | | | | | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
| * Implement storing and loading the server infoMichael Weimann2019-01-141-0/+94
| | | | | | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* | Don't update token if current session tokenDaniel Kesselberg2019-02-021-3/+2
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Add canRename & name to testsDaniel Kesselberg2019-02-021-5/+7
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Add test for destroy with invalid userDaniel Kesselberg2019-01-301-33/+88
| | | | | | | | | | | | | | | | Some code cleanup - willReturn instead of will(returnValue) - Annotation for mocked objects Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Publish event for app token create/update/deleteDaniel Kesselberg2019-01-301-5/+9
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Expose subadmin to OCPRoeland Jago Douma2019-01-291-0/+2
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #13172 from nextcloud/fix-can-change-password-checkRoeland Jago Douma2019-01-041-1/+47
|\ | | | | fix can change password check in case of encryption is enabled
| * fix can change password check in case of encryption is enabledBjoern Schiessle2018-12-201-1/+47
| | | | | | | | | | | | | | | | | | | | | | | | Admin should _not_ be able to change password when: - if an encryption module is loaded and it uses per-user keys - if encryption is enabled but no encryption modules are loaded Admin should be able to change the password when: - no encryption module is loaded and encryption is disabled - encryption module is loaded but it doesn't require per user keys Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | Remove check for outdated cachesDaniel Kesselberg2019-01-021-5/+0
|/ | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Add setup check for pending bigint conversionMorris Jobke2018-12-051-0/+7
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update casing of PHP inside method nameMorris Jobke2018-12-051-6/+6
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add setup check for recommended PHP modules (i.e. Imagick, intl)Morris Jobke2018-12-051-0/+7
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add testcases for pipe modeDaniel Kesselberg2018-11-291-2/+6
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Make connectivity check domains configurableSylvia van Os2018-11-221-6/+20
| | | | Signed-off-by: Sylvia van Os <sylvia@hackerchick.me>
* Use the proper default valuesMorris Jobke2018-11-191-2/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Verify that isPhpMailerUsed uses config as expectedKyle Fazzari2018-11-141-0/+34
| | | | Signed-off-by: Kyle Fazzari <kyrofa@ubuntu.com>
* 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>
* 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>
* | Make it possible to enforce mandatory 2FA for groupsChristoph Wurst2018-10-151-10/+12
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Make activity events strictJoas Schilling2018-10-121-0/+4
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Add admin interface to enforce 2FAChristoph Wurst2018-10-101-0/+82
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Change check if secure randomness is possible.Timo Förster2018-08-241-1/+7
| | | | Signed-off-by: Timo Förster <tfoerster@webfoersterei.de>
* Adds license to files. Updates the branch.Michael Weimann2018-08-201-0/+79
|\ | | | | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
| * Excludes not writable app roots from the directory permission checkMichael Weimann2018-08-091-0/+21
| | | | | | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
| * Adds a test for the app directory permission check.Michael Weimann2018-08-091-0/+58
| | | | | | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* | Adds tests for the memory checksMichael Weimann2018-08-201-44/+4
| | | | | | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* | Adds tests for the setup memory limit checksMichael Weimann2018-08-201-0/+53
|/ | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* Fix email template testsJulius Härtl2018-07-191-4/+4
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix testsMorris Jobke2018-07-111-0/+6
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* 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>
* Bump autoloader and fix testsJulius Härtl2018-06-291-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix testsMorris Jobke2018-06-191-3/+7
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Just pass uid to the Token stuffRoeland Jago Douma2018-06-181-10/+2
| | | | | | We don't have user objects in the code everywhere Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge all setup checks into one controllerMorris Jobke2018-06-131-11/+74
| | | | | | * renamed hasMissingIndexes to missingIndexes Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge tips & tricks section into setup checksMorris Jobke2018-06-132-4/+12
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fixed testsJohn Molakvoæ (skjnldsv)2018-06-121-2/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #9565 from nextcloud/feature/noid/app-settingsMorris Jobke2018-06-061-35/+28
|\ | | | | Migrate apps management to Vue.js
| * Fix AppSettingsControllerTestJulius Härtl2018-06-061-4/+8
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * Cleanup controller codeJulius Härtl2018-06-061-35/+24
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Add a hint that some indexes are not added yetMorris Jobke2018-06-061-3/+14
|/ | | | | | | | | * gives the admin a chance to discover the missing indexes and improve the performance of the instance without digging through the manual * nicely integrated in the setup checks where this kind of hints belong to * also adds an option to integrate this from an app based on events * fix style of setting warnings Signed-off-by: Morris Jobke <hey@morrisjobke.de>