aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Settings
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #48721 from nextcloud/feat/allow-getter-setter-decl-forsJohn Molakvoæ2024-11-061-10/+43
|\
| * feat(DeclarativeSettings): Allow to implement value getter and setter ↵Ferdinand Thiessen2024-10-151-10/+43
| | | | | | | | | | | | | | | | | | directly in Form Instead of implementing the form class, a setter event listener and a getter event listener, this allows to simply write a basic class that provides `getSchema`, `setValue` and `getValue` functions. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | chore(deps): Bump nextcloud/coding-standard in /vendor-bin/cs-fixerdependabot/composer/vendor-bin/cs-fixer/nextcloud/coding-standard-1.3.2dependabot[bot]2024-10-191-5/+5
|/ | | | | | | | | | | | | | | | | Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 1.3.1 to 1.3.2. - [Release notes](https://github.com/nextcloud/coding-standard/releases) - [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/coding-standard/compare/v1.3.1...v1.3.2) --- updated-dependencies: - dependency-name: nextcloud/coding-standard dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: provokateurin <kate@provokateurin.de>
* 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>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-251-5/+5
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-245-111/+11
| | | | 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>
* fix: add missing copyrights and strict typesAndrey Borysenko2024-03-121-0/+3
| | | | Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
* feat: Add declarative settingsjld31032024-03-121-0/+402
| | | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com> Signed-off-by: Julien Veyssier <julien-nc@posteo.net> Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
* chore(settings): Cleanup IManager and Manager type annotationsjld31032023-11-231-18/+21
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Add type hints for mappersjld31032023-04-071-0/+3
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* composer run cs:fixCôme Chilliet2023-01-202-2/+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>
* Fix some issues with the API documentationCarl Schwan2022-02-171-8/+3
| | | | 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-293-17/+256
| | | | | | | 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-042-4/+2
| | | | 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-052-3/+6
| | | | 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>
* Move OC\Settings\Admin and OC\Settings\Personal to actual settingsRoeland Jago Douma2019-05-309-1090/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Start fixing 2fa icons in dark theme, ref #13643 (#15597)John Molakvoæ2019-05-291-0/+8
|\ | | | | Start fixing 2fa icons in dark theme, ref #13643
| * Fix 2fa icons in dark theme, fix #13643Greta Doci2019-05-281-0/+8
| | | | | | | | Signed-off-by: Greta Doci <gretadoci@gmail.com>
* | 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>
* Fetch proper translationsRoeland Jago Douma2019-03-251-2/+3
| | | | | | | | | | | 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-203-166/+4
|
* Load auth tokens with the initial state APIChristoph Wurst2019-03-011-2/+63
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Do not load 2fa admin settings asyncRoeland Jago Douma2019-02-281-5/+21
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #13097 from nextcloud/feature/11319/where-is-your-dataMorris Jobke2019-02-113-4/+166
|\ | | | | Where is your data?
| * Code style and comment fixesMichael Weimann2019-02-102-5/+7
| | | | | | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>