aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Settings/Manager.php
Commit message (Collapse)AuthorAgeFilesLines
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-191-1/+1
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix: Remove legacy settings formschore/remove-legacy-settings-forsFerdinand Thiessen2024-09-171-17/+1
| | | | | | | | `OC_App::getForms` was always returning an empty array, because there were no setter for `adminForms` or `personalForms` anymore. So removed all that legacy settings forms logic. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-241-29/+2
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix: Apply new coding standard to all filesCôme Chilliet2024-04-021-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore(settings): Cleanup IManager and Manager type annotationsjld31032023-11-231-18/+21
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* composer run cs:fixCôme Chilliet2023-01-201-1/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge branch 'master' into fix/setting/accessibility-titleCarl Schwan2022-09-021-2/+7
|\ | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * Handle non existing settings againCarl Schwan2022-05-301-2/+7
| | | | | | | | | | | | See https://github.com/nextcloud/server/pull/28189#issuecomment-1140874991 Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Improve accessibility of the title of the settingsCarl Schwan2022-05-161-0/+7
|/ | | | | | | | | | | Before every setting page had the same title and this is causing issues for screenreaders since they can't differenciate the title of page. Now a new variable is available for apps to declare the page subtitle. This new variable is implemented for the settings app and while at it I added a bit more type hinting to the stuff I touched :) Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Allow sub-admins to access delegated settings.Claus-Justus Heine2022-01-311-14/+11
| | | | Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
* Improve log and allow duplicate notifications sectionJoas Schilling2021-10-041-3/+12
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add admin privilege delegation for admin settingsCarl Schwan2021-09-291-17/+81
| | | | | | | This makes it possible for selected groups to access some settings pages. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-2/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Remove ISection in favor of IIconSectionMorris Jobke2020-10-281-11/+6
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Don't log "duplicate section" for the shared "connected-accounts" sectionJoas Schilling2020-09-231-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow additional personal settings via normal registrationJoas Schilling2020-09-041-1/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* ignore duplicate setting sectionsRobin Appelman2020-08-281-2/+2
| | | | | | | | this prevents some 'Section with the same ID already registered' errors in the log also includes an improvement of the error message to make other cases easier to find Signed-off-by: Robin Appelman <robin@icewind.nl>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-091-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-1/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove unused importsChristoph Wurst2020-03-251-1/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Move Admin Settings also to info.xmlRoeland Jago Douma2020-01-311-47/+1
| | | | | | | 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-35/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move password settingsRoeland Jago Douma2020-01-301-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move admin sections to settings appRoeland Jago Douma2020-01-281-12/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move the Personal sections to the settings appRoeland Jago Douma2020-01-281-5/+1
| | | | | | | | 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>
* Update license headersChristoph Wurst2019-12-051-2/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use person icon for personal settingsJulius Härtl2019-11-271-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Some php-cs fixesRoeland Jago Douma2019-11-221-1/+1
| | | | | | | | | | | * 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-10/+11
| | | | | 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-0/+4
| | | | | | | | 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-10/+39
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix l10n for SettingsManager by injecting the l10n factoryMorris Jobke2019-05-211-2/+14
| | | | | | Fixes #10832 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Only show sharing section if it has contentJulius Härtl2019-05-201-0/+4
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Revert "Where is your data?"Roeland Jago Douma2019-03-201-5/+0
|
* Move server info to theming sectionMichael Weimann2019-01-141-2/+5
| | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* Add the "server info" settingsMichael Weimann2019-01-141-0/+2
| | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* Log invalid settings classRobin Appelman2018-11-141-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Rename admin security sectionChristoph Wurst2018-10-081-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove unused constructor argumentChristoph Wurst2018-09-271-6/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Reduce settings manager complexity by loading sections via DIChristoph Wurst2018-09-271-82/+30
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Allow same section class for multiple section types (fix #10764)sualko2018-08-251-4/+19
| | | | Signed-off-by: Klaus Herberth <klaus@jsxc.org>
* Move encryption settings to securityJulius Härtl2018-08-011-2/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Svg icon api sass function and upgrade of all stylesJohn Molakvoæ (skjnldsv)2018-07-191-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #10053 from nextcloud/feature/7378/password-security-moveMorris Jobke2018-06-291-1/+1
|\ | | | | Move password change to security settings
| * Move user password form to security settingsJulius Härtl2018-06-291-1/+1
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Move social buttons to the personal settingsJulius Härtl2018-06-291-2/+2
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add groupware settings sectionJulius Härtl2018-06-271-0/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge all setup checks into one controllerMorris Jobke2018-06-131-1/+1
| | | | | | * renamed hasMissingIndexes to missingIndexes Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge tips & tricks section into setup checksMorris Jobke2018-06-131-6/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Rename sync clients section to mobile & desktopJulius Härtl2018-05-241-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>