aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* refactor(apps): Use constructor property promotion when possibleprovokateurin2024-10-2148-678/+250
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* Merge pull request #48547 from nextcloud/feat/row_format_checkBenjamin Gaussorgues2024-10-182-0/+74
|\
| * feat(setupchecks): add row format setup check for MySQL databasesfeat/row_format_checkBenjamin Gaussorgues2024-10-082-0/+74
| | | | | | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* | 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-157-18/+28
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix: Fix empty sections appearing in search resultsfix/unified-search-empty-sectionsChristopher Ng2024-10-081-2/+18
| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.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>
* fix(activity): Update more activity providers to use new exceptionsfollowup/48086/fix-more-activity-providersJoas Schilling2024-09-232-8/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* chore(legacy): Introduce public version ct plass and drop version methods ↵clean/version-ocpJulius Knorr2024-09-201-9/+7
| | | | | | from OC_Util Signed-off-by: Julius Knorr <jus@bitgrid.net>
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-1918-28/+28
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(setupChecks): Having transactional file locking disabled is not supportedfix-setupcheck-filelockingJosh Richards2024-09-191-3/+3
| | | | Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
* feat: add profile pronounsJohn Molakvoæ (skjnldsv)2024-09-172-0/+6
| | | | 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>
* refactor: move to new activity exceptionrefactor/move-to-new-activity-exceptionAnna Larch2024-09-173-9/+10
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* Merge pull request #46480 from nextcloud/fix/mailer-binaryfinder-fallbackRobin Appelman2024-09-161-1/+2
|\ | | | | fix(Mailer): Fix sendmail binary fallback
| * fix(Mailer): Fix sendmail binary fallbackfix/mailer-binaryfinder-fallbackJosh2024-09-161-1/+2
| | | | | | | | | | | | feat: add debug logging to sendmail binary finder Signed-off-by: Josh <josh.t.richards@gmail.com>
* | feat: Make `CheckServerResponseTrait` public and provide as ↵feat/make-setup-check-trait-publicFerdinand Thiessen2024-09-168-164/+12
|/ | | | | | | | | `OCP\SetupCheck\CheckServerResponseTrait` This trait is used by other apps for creating setup checks, so we should provide it instead apps using private API. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(a11y): Add OTF font loading checkbugfix/noid/fix-otf-loadingJoas Schilling2024-09-161-6/+21
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #47927 from nextcloud/fix/migrate-away-from-oc_appCôme Chilliet2024-09-131-6/+5
|\ | | | | Migrate away from OC_App to IAppManager
| * 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>
* | refactor(settings): `CheckServerResponseTrait` always expect absolute pathFerdinand Thiessen2024-09-133-32/+38
| | | | | | | | | | | | 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(setup-checks): Ensure URL with webroot worksFerdinand Thiessen2024-09-133-25/+27
|/ | | | | | | | | | | We basically mock the way `URLGenerator::getAbsoluteURL` works, so we must make sure that the URL might already contain the webroot. Because `baseURL` and `cliURL` also contain the webroot we need to remove the webroot from the URL first. Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Daniel <mail@danielkesselberg.de> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: adjust code to adhere to coding standardAnna Larch2024-09-051-1/+1
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* fix(setupchecks): Test overwrite.cli url first, then generated one, andCôme Chilliet2024-09-051-16/+30
| | | | | | trusted domains as last fallback. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: add option to remove the webroot for setup checks and don't check ↵Daniel Kesselberg2024-09-053-13/+38
| | | | | | | | | | trusted_domains. 1) The checks for well-known urls should always run against the root domain and therefore the option to remove the webroot. 2) For trusted domains, the available protocol is unknown, and thus some guesswork would be needed to make that work. I've decided for now to not consider them anymore to reduce false-positives. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix(settings): Fix sharing exclude groups from password requirement option ↵provokateurin2024-09-031-2/+2
| | | | | | not working Signed-off-by: provokateurin <kate@provokateurin.de>
* feat(settings): Add setup check for apcu cache expungeJulius Härtl2024-08-272-0/+72
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-2522-43/+43
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix(security): Update expiration date in security.txtJoas Schilling2024-08-141-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #46816 from nextcloud/refactor/settings/security-attributesKate2024-08-1413-75/+91
|\
| * refactor(settings): Replace security annotations with respective attributesprovokateurin2024-07-2713-75/+91
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | fix(SetupCheck): Properly check public access to data directoryFerdinand Thiessen2024-08-081-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | When checking for public (web) access to the data directory the status is not enough as you might have a webserver that forwards to e.g. a login page. So instead check that the content of the file matches. For this the `.ncdata` file (renamed from `.ocdata`¹) has minimal text content to allow checking. ¹The file was renamed from the legacy `.ocdata`, there is a repair step to remove the old one. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | Merge pull request #46353 from nextcloud/skipOPcacheCLIGit'Fellow2024-08-011-0/+5
|\ \ | | | | | | fix(setupchecks): Skip checking for OPcache settings if running checks from CLI
| * | fix: typoGit'Fellow2024-07-081-1/+1
| | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
| * | fix: check both CLI and valueGit'Fellow2024-07-081-1/+1
| | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
| * | fix(setupchecks): Skip checking for OPcache if running from CLIGit'Fellow2024-07-081-0/+5
| | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* | | fix(AdminSettings/AI): show pref list of only the enabled translation providersAnupam Kumar2024-08-011-1/+6
| |/ |/| | | | | Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
* | Merge pull request #45092 from nextcloud/fix/user-provider-search-shownBenjamin Gaussorgues2024-07-241-1/+1
|\ \
| * | fix(search): show user search provider for deactivated and admin pagesBenjamin Gaussorgues2024-04-291-1/+1
| | | | | | | | | | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* | | Merge pull request #46418 from nextcloud/artonge/feat/user_admin_delegationLouis2024-07-242-1/+68
|\ \ \ | | | | | | | | feat(users): Add users and group management to admin delegation
| * | | 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-222-2/+69
| | | | | | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | | feat: let users configure their first day of weekRichard Steinmetz2024-07-221-0/+2
|/ / / | | | | | | | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* | | feat(security): Add public API to allow validating IP Ranges and checking ↵Joas Schilling2024-07-191-14/+11
| | | | | | | | | | | | | | | | | | | | | for "in range" Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* | | feat(security): restrict admin actions to IP rangesBenjamin Gaussorgues2024-07-192-0/+68
| | | | | | | | | | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>