summaryrefslogtreecommitdiffstats
path: root/tests/lib/Settings
Commit message (Collapse)AuthorAgeFilesLines
* 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-287-766/+4
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Fixed the SecurityTest errorGreta Doci2019-09-151-0/+7
| | | | | Signed-off-by: Greta Doci <gretadoci@gmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Split personal security settings in codeRoeland Jago Douma2019-09-102-72/+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>
* Cleanup the Settings classJoas Schilling2019-08-261-23/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix personal security section testsChristoph Wurst2019-05-291-0/+16
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* 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>
* Fetch proper translationsRoeland Jago Douma2019-03-251-1/+7
| | | | | | | | | | | Fixes #14793 This is caused by the mess we have with OC\Settings mapping to settings and lib/private/Settings. Anyway this is the quick fix. Moving stuff around for 17 seems better. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Revert "Where is your data?"Roeland Jago Douma2019-03-201-9/+3
|
* Load auth tokens with the initial state APIChristoph Wurst2019-03-011-0/+167
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Do not load 2fa admin settings asyncRoeland Jago Douma2019-02-281-1/+12
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move server info to theming sectionMichael Weimann2019-01-141-3/+9
| | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* Add testcases for pipe modeDaniel Kesselberg2018-11-291-0/+6
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Cleanup some unused sharing methods from the old sharing codeMorris Jobke2018-11-021-1/+6
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* 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>
* 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>
* Fix encryption admin section testsJulius Härtl2018-08-021-2/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* 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 settings testsRoeland Jago Douma2018-07-041-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* 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-132-95/+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>
* Fix settings testsJulius Härtl2018-05-032-53/+4
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Cleanup and fix testsJulius Härtl2018-05-032-16/+19
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* fix unit testsBjoern Schiessle2018-02-271-2/+18
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* add share permissions to settings pageBjoern Schiessle2018-02-272-2/+7
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Do not cache the settings/sections in the database anymoreJoas Schilling2018-01-292-240/+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>
* Use ::class in test mocksMorris Jobke2017-10-245-6/+6
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Allow multiple settings and sections per appJoas Schilling2017-10-051-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Always log cron executionMorris Jobke2017-08-171-8/+2
| | | | | | | | | | | There was a setting to disable the last execution of cron. There is no known problem with this write access and it was also questioned when this feature was build in https://github.com/owncloud/core/pull/7689#issuecomment-38264707 Recently there was also a bug report about a non-visible last cron execution (#6088) - let's better remove this. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* … and their tests needed adjustments, tooArthur Schiwon2017-06-295-8/+8
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>