summaryrefslogtreecommitdiffstats
path: root/tests/lib/Settings/ManagerTest.php
Commit message (Collapse)AuthorAgeFilesLines
* Fix dynamic properties and other problems in tests for PHP 8.2Côme Chilliet2022-11-141-9/+11
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix unit testsJoas Schilling2022-05-311-12/+30
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add admin privilege delegation for admin settingsCarl Schwan2021-09-291-9/+22
| | | | | | | This makes it possible for selected groups to access some settings pages. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵Morris Jobke2020-08-121-6/+6
| | | | | | \PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #20170 from nextcloud/techdebt/remove-unused-importsChristoph Wurst2020-03-271-1/+0
|\ | | | | Remove unused imports
| * Remove unused importsChristoph Wurst2020-03-251-1/+0
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use the shorter phpunit syntax for mocked return valuesChristoph Wurst2020-03-251-2/+2
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Move Admin Settings also to info.xmlRoeland Jago Douma2020-01-311-13/+20
| | | | | | | More cleanup of the Settings apps. Makes the manager cleaner and a proper manager. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move personal settings to proper registrationRoeland Jago Douma2020-01-301-10/+15
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move password settingsRoeland Jago Douma2020-01-301-3/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move admin sections to settings appRoeland Jago Douma2020-01-281-86/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move the Personal sections to the settings appRoeland Jago Douma2020-01-281-28/+2
| | | | | | | | There is no need to have weird magic in the manager. This should be properly registered in the right way. The settings code is messy anyways. This is a start to make it a tad more clean. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #18064 from nextcloud/feature/php74Roeland Jago Douma2019-11-281-1/+1
|\ | | | | Add php7.4 support
| * Mode to modern phpunitRoeland Jago Douma2019-11-271-1/+1
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Make phpunit8 compatibleRoeland Jago Douma2019-11-271-1/+1
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Use person icon for personal settingsJulius Härtl2019-11-271-3/+3
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Some php-cs fixesRoeland Jago Douma2019-11-221-2/+2
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move settings to an appChristoph Wurst2019-09-281-6/+3
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Split personal security settings in codeRoeland Jago Douma2019-09-101-2/+11
| | | | | | | | 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>
* Make it possible to show admin settings for sub adminsChristoph Wurst2019-05-231-0/+32
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix l10n for SettingsManager by injecting the l10n factoryMorris Jobke2019-05-211-1/+30
| | | | | | Fixes #10832 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Revert "Where is your data?"Roeland Jago Douma2019-03-201-9/+3
|
* Move server info to theming sectionMichael Weimann2019-01-141-3/+9
| | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* Remove unused constructor argumentChristoph Wurst2018-09-271-4/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Reduce settings manager complexity by loading sections via DIChristoph Wurst2018-09-271-49/+32
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Allow same section class for multiple section types (fix #10764)sualko2018-08-251-0/+41
| | | | Signed-off-by: Klaus Herberth <klaus@jsxc.org>
* Move encryption settings to securityJulius Härtl2018-08-011-4/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fixed testsJohn Molakvoæ (skjnldsv)2018-07-191-2/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix testsJulius Härtl2018-06-291-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add groupware settings sectionJulius Härtl2018-06-271-2/+6
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge tips & tricks section into setup checksMorris Jobke2018-06-131-4/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix Settings\ManagerTestJulius Härtl2018-05-251-2/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Rename sync clients section to mobile & desktopJulius Härtl2018-05-241-2/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Cleanup and fix testsJulius Härtl2018-05-031-14/+16
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* add share permissions to settings pageBjoern Schiessle2018-02-271-1/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Do not cache the settings/sections in the database anymoreJoas Schilling2018-01-291-101/+5
| | | | | | | This caused more troubles then it had benefits, especially when an app got disabled or was removed without being disabled. Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow multiple settings and sections per appJoas Schilling2017-10-051-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* forgotten test adjustmentsArthur Schiwon2017-06-231-6/+3
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* take out additional (legacy) settings section from testsArthur Schiwon2017-06-231-2/+1
| | | | | | | because it is dependent whether anything else registers into it and \OC_App is static Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* …and adjust testsArthur Schiwon2017-06-231-22/+23
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* add missing pieces to Settings Manager and fix and extend its unit testsArthur Schiwon2017-06-231-10/+120
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Rename “Server settings” to “Basic settings”Marius Blüm2017-04-291-2/+2
| | | | | | * fixes #4587 Signed-off-by: Marius Blüm <marius@lineone.io>
* Fixed layout of bruteforcesettingsMorris Jobke2017-04-021-4/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Adds security section to the admin pageRoeland Jago Douma2017-04-021-0/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Always suggest the overwrite.cli.urlJoas Schilling2017-03-171-0/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix the manager testsJoas Schilling2017-01-191-30/+44
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* split db logic from settings managerRobin Appelman2016-12-281-136/+93
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* update testsRobin Appelman2016-11-211-1/+0
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* adjust testArthur Schiwon2016-08-221-11/+6
|
* enlist only registered sections that also have settings registered toArthur Schiwon2016-08-221-3/+21
|