summaryrefslogtreecommitdiffstats
path: root/tests/Settings
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Fix ApplicationtestJohn Molakvoæ (skjnldsv)2018-05-161-1/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump tests and editorconfigJohn Molakvoæ (skjnldsv)2018-05-161-2515/+9
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump popovermenu item options and testsJohn Molakvoæ (skjnldsv)2018-05-162-381/+3022
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Settings to vuejsJohn Molakvoæ (skjnldsv)2018-05-161-3022/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Show a link to the docs instead of a button on the untrusted domain pageMorris Jobke2018-04-172-74/+0
| | | | | | | | Before there was a button to "quickly" add the untrusted domain to the config. This button often didn't worked, because the generated URL was often untrusted as well. Thus removing it and providing proper docs seems to be the better approach to handle this rare case. Also the log should not be spammed by messages for the untrusted domain accesses, because they are user related and not necessarily an administrative issue. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Ping more privacy respecting organizationsRoeland Jago Douma2018-04-051-4/+8
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #8255 from nextcloud/bugfix/noid/group-display-nameblizzz2018-03-152-53/+144
|\ | | | | Full implement group display names
| * Fixed Controller TestJohn Molakvoæ (skjnldsv)2018-03-082-53/+144
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Obsolete testRoeland Jago Douma2018-03-091-23/+0
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* this was a migration step to ownCloud 8.0 to restructure the encryption ↵Bjoern Schiessle2018-03-022-166/+0
| | | | | | folder which is no longer needed Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Provide translated error message for permission errorMorris Jobke2018-02-261-3/+7
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #8336 from nextcloud/cleanup-unused-parameterRoeland Jago Douma2018-02-201-14/+0
|\ | | | | Cleanup unused parameter
| * Remove crypto and timefactory from UsersControllerMorris Jobke2018-02-131-14/+0
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | fix controller testRobin Appelman2018-02-191-3/+3
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #8259 from nextcloud/guzzle6Morris Jobke2018-02-141-2/+3
|\ \ | |/ |/| update guzzlehttp/guzzle to 6.3.0