aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/lib/Controller
Commit message (Collapse)AuthorAgeFilesLines
* fix(AppDiscover): Ensure created cache folder is safe-chars onlyappStoreCacheFolderGit'Fellow2025-03-101-1/+3
| | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* chore: Move magic number into a documented constfix/fix-disabled-user-list-for-saml-subadminCôme Chilliet2025-03-101-1/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Correctly count disabled users for SAML groups subadminsCôme Chilliet2025-03-101-12/+4
| | | | | | If too many users return -1 as for LDAP so that link is shown Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: Apply new rector configuration to apps folderCôme Chilliet2025-02-132-3/+6
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: re-apply current rector configuration to apps folderCôme Chilliet2025-02-131-1/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Replace isInstalled calls with isEnabledForAnyone or isEnabledForUserCôme Chilliet2025-02-131-2/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(provisioning_api): Correct limit for `editUser`Ferdinand Thiessen2025-02-061-0/+2
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(settings): Add back adminstration scope for LogSettingsControllerfix/openapi/outdated-specsprovokateurin2025-01-251-0/+2
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* Merge pull request #49882 from nextcloud/fix/http/template-valid-status-codesKate2025-01-081-9/+9
|\
| * fix(settings): Fix log file download return typeprovokateurin2025-01-071-9/+9
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | refactor(settings): Use parameters explicitly when setting mail settingsrefactor/settings/mail-settings-parametersprovokateurin2025-01-061-21/+24
|/ | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* feat: save state in dbJana Peper2024-12-181-1/+1
| | | | Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
* fix(apps-store): Remove apps from force-enabled state when uninstalledfix/app-store-remove-force-enableFerdinand Thiessen2024-11-181-3/+5
| | | | | | | | | If an app is force-enabled and then uninstalled the force-enabled state was kept. This is now removed, so when the app should be re-installed the compatibility should be reevaluated. Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(users): use correct active user countBenjamin Gaussorgues2024-10-301-1/+1
| | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* fix(ci): psalm, suppress undefined for viewAppsAndrey Borysenko2024-10-291-0/+2
| | | | Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
* WIP: address review comments, small fixesAndrey Borysenko2024-10-291-35/+7
| | | | Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
* fix(ci): suppress UndefinedClass for AppAPI related classes since it's bundledAndrey Borysenko2024-10-291-0/+3
| | | | Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
* feat(app_api): add initial state data for AppAPI UI partAndrey Borysenko2024-10-291-0/+34
| | | | | | | | | | Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com> # Conflicts: # apps/settings/lib/Controller/AppSettingsController.php # Conflicts: # apps/settings/lib/Controller/AppSettingsController.php
* fix(appsmanagement): Fix exception on generating preview url for screenshotsClaudio Cambra2024-10-281-2/+8
| | | | | | | | | Some installed apps meant for older server versions might unexpectedly offer up screenshot values in a non-string format (e.g. health). Avoid an exception by checking first if the first app screenshot is indeed a string and otherwise we take the value of the parameter Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
* Merge pull request #48854 from nextcloud/fix/proxy-app-screenshotKate2024-10-231-1/+15
|\
| * fix(app-store): Also proxy images of locally installed appsfix/proxy-app-screenshotFerdinand Thiessen2024-10-231-1/+15
| | | | | | | | | | | | | | Before this only app store apps got their screenshots proxied, but this will cause locally installed apps to not be correctly shown on the app-store. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | 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>