aboutsummaryrefslogtreecommitdiffstats
path: root/tests/Settings
Commit message (Collapse)AuthorAgeFilesLines
* Move settings to an appChristoph Wurst2019-09-2815-4756/+0
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Fixed the testGreta Doci2019-09-151-0/+5
| | | | Signed-off-by: Greta Doci <gretadoci@gmail.com>
* Split personal security settings in codeRoeland Jago Douma2019-09-101-0/+124
| | | | | | | | Instead of one big monolitic sections this is the first step in breaking down the settings. This should make is easiet to see what does what. As well as nicely splitting up the sections. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Mock client URL in new user mail testsJulius Härtl2019-08-271-5/+12
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* supresses disclosing the userid for LDAP users in the welcome mailArthur Schiwon2019-07-261-0/+224
| | | | | | | | The userid is not relevant here, and by default cannot be used to login with. Typically, there is a common type of login names in organizations (LDAP username or email most often) that does not need to be disclosed. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Refactor: move remote wipe token logic to RW serviceChristoph Wurst2019-07-091-6/+39
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Do not show a internet connectivity warning if internet access is disabledChristoph Wurst2019-06-271-6/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add event dispatcher to OCPChristoph Wurst2019-06-251-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Make it possible to show admin settings for sub adminsChristoph Wurst2019-05-231-8/+41
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* 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>