aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/lib/Controller
Commit message (Collapse)AuthorAgeFilesLines
* fix(app-store): Ensure the `groups` property is always an arrayfix/app-store-groupsFerdinand Thiessen2024-10-231-0/+4
| | | | | | | If the value was a string, like a single group, then `json_decode` will also yield only a string. So in this case we ensure the property is always an array with that value. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(apps): Use constructor property promotion when possibleprovokateurin2024-10-217-134/+51
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(appstore): Hide last modified information for shipped appsfix/45717/hide-last-modified-for-shipped-appsMarcel Müller2024-10-161-1/+1
| | | | Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
* chore(apps): Apply new rector configuration to autouse classesCôme Chilliet2024-10-153-14/+21
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: do not reduce count for subadmins if they are members of groupfix/48437/dont-exclude-userMaksim Sukharev2024-10-021-6/+0
| | | | Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
* Merge pull request #48437 from nextcloud/fix/noid/count-disabled-correctKate2024-09-301-4/+4
|\
| * fix: correctly count disabled users for subadminsfix/noid/count-disabled-correctMaksim Sukharev2024-09-281-4/+4
| | | | | | | | Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
* | fix(settings): Sort all settings - incl declarative settings - by priorityfix/declarative-settings-priorityFerdinand Thiessen2024-09-283-54/+47
|/ | | | | | | | Previously declarative settings were sorted by priority but behind the "native" settings, this is now fixed, meaning a declarative setting with higher priority than an `ISetting` will be correctly rendered before that `ISetting` in the settings list. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Ensure app discover section is returned as listfix/app-discoverFerdinand Thiessen2024-09-241-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-192-2/+2
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* feat: add profile pronounsJohn Molakvoæ (skjnldsv)2024-09-171-0/+5
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* fix: Remove legacy settings formschore/remove-legacy-settings-forsFerdinand Thiessen2024-09-173-71/+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: Migrate cleanAppId and getAppPath calls to IAppManager from OC_AppCôme Chilliet2024-09-131-6/+5
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-251-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* refactor(settings): Replace security annotations with respective attributesprovokateurin2024-07-2713-75/+91
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* feat(users): Enable features for delegated user adminsLouis Chemineau2024-07-221-1/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* feat(users): Add support for admin delegation for users and groups managementLouis Chemineau2024-07-221-2/+8
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* feat(settings/admin/ai): Add Task Processing API settingsMarcel Klehr2024-07-171-1/+1
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* chore(settings): Rename user groupsChristopher Ng2024-07-111-1/+1
| | | | | | | - "Active accounts" -> "All accounts" - "Recent accounts" -> "Recently active" Signed-off-by: Christopher Ng <chrng8@gmail.com>
* chore(l10n): Translate group namesChristopher Ng2024-07-111-2/+2
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* feat: Add Recent accounts sectionChristopher Ng2024-07-111-1/+7
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(IntegrityCheck): Ensure the check is run if no results are availableFerdinand Thiessen2024-07-031-0/+4
| | | | | | | | | If there are no cached results the current implementation was also returning an empty array, but this was the same as when there was a successful run. So to distinguish this we return `null` if there are *no* results. In this case we need to rerun the integrity checker. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #43942 from nextcloud/fix/43612/avoid-pwd-confirm-ssoArthur Schiwon2024-06-071-2/+2
|\ | | | | fix(Session): avoid password confirmation on SSO
| * refactor(Token): introduce scope constantsArthur Schiwon2024-06-051-2/+2
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | chore: Add SPDX headerAndy Scherzinger2024-06-0317-414/+43
|/ | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* feat(ldap): sync additional properties to profile and SABJake Nabasny2024-05-301-1/+8
| | | | | | | | | | | | | | | Synced from LDAP to profile: - Date of birth Synced from LDAP to SAB (via the profile): - Biography - Date of birth Original code by Jake Nabasny (GitHub: @slapcat) Co-authored-by: Jake Nabasny <jake@nabasny.com> Co-authored-by: Richard Steinmetz <richard@steinmetz.cloud> Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* feat: Add legal notice and privacy policy links to help pageChristopher Ng2024-04-221-0/+11
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix: Migrate a few more classes away from OC_App::getAppPathCôme Chilliet2024-04-221-1/+1
| | | | | | Also fixed AppTest Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Apply new coding standard to all filesCôme Chilliet2024-04-022-4/+4
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat(settings): Allow to sort groups in the account management alphabeticallyFerdinand Thiessen2024-03-271-3/+9
| | | | | | | We can do this purly in the frontend - but when enforced from the backend using the existing system config, we need to follow the requirement. We then show a warning about the configuration. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(AppDiscoverFetcher): Do not remove entries as expired that have no ↵Ferdinand Thiessen2024-03-191-1/+1
| | | | | | expiry date Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(settings): Cache app discover images to ensure privacy of usersFerdinand Thiessen2024-03-141-4/+104
| | | | | | | Co-authored-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com> Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat: Allow to fetch app discover json and provide frontend API routeFerdinand Thiessen2024-03-141-0/+14
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* 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-124-20/+167
| | | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com> Signed-off-by: Julien Veyssier <julien-nc@posteo.net> Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
* feat(settings): Migrate SSL access and URL generation check to SetupCheck APICôme Chilliet2024-02-291-2/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge branch 'master' into fix/pages-titles-appsAndrii Rublov2024-02-252-147/+57
|\ | | | | Signed-off-by: Andrii Rublov <github.a@rublov.me>
| * Merge branch 'master' into fix/42480/user-admin-not-adminJohn Molakvoæ2024-02-242-140/+53
| |\ | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
| | * fix(settings): Use initial state instead of custom state for server dataFerdinand Thiessen2024-02-232-134/+50
| | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
| | * fix(settings): Only use `id` in categories - drop duplicated `ident` propertyFerdinand Thiessen2024-02-231-10/+4
| | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
| * | fix(admin role): fix old and wrong way to determine whether user is adminArthur Schiwon2024-02-191-7/+4
| |/ | | | | | | | | | | | | | | | | - fixes Settings knowing who is an admin of non-local group backend groups - obsoletes and removes a little old, deprecated code - double checks proper parameter type on Group\Manager::isAdmin - also fixes legacy OC_User code to check whether user is an admin Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* / [Bugfix]: Titles of pages (dashboard, apps-settings, users-settings) #43327Andrii Rublov2024-02-232-2/+2
|/ | | | Signed-off-by: Andrii Rublov <airublev@outlook.com>
* fix: replace `Account name` by `Login`John Molakvoæ2024-02-131-1/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat: rename users to account or personVincent Petry2024-02-133-6/+6
| | | | | | Replace translated text in most locations Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Migrate fair use of free push service check to new SetupCheck APICôme Chilliet2024-01-251-19/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge writable temporary space check with the s3 one, and improveCôme Chilliet2024-01-251-16/+0
| | | | | | | It will now show available space and path of both PHP and Nextcloud temporary directories if they differ. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Remove old version of temporary space setup check and fix testsCôme Chilliet2024-01-251-37/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Migrate MySQL utf8mb4 check to new SetupCheck APICôme Chilliet2024-01-231-5/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge gmp and bcmath module checks with the existing PHP modules setup checkCôme Chilliet2024-01-221-11/+0
| | | | | | Also add description for why each module is recommended Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* refactor: Migrate IgnoreOpenAPI attributes to OpenAPIprovokateurin2024-01-188-16/+16
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>