aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/lib
Commit message (Collapse)AuthorAgeFilesLines
* fix(SetupChecks): Add reasoning/clarity to outdated PHP checkcheck-phpoutdatedJosh Richards2024-05-121-1/+1
| | | | Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
* fix(setupchecks): Fix opcache buffer checkCôme Chilliet2024-04-301-1/+3
| | | | | | | | This was broken by last codestyle update, maybe even before because of operator precedence. Now using vars to make it readable and correct at the same time. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* 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>
* feat: drop support for php 8.0Richard Steinmetz2024-04-081-2/+2
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* Merge pull request #44306 from nextcloud/settings/show-indextoreplace-warningAnna2024-04-051-0/+13
|\ | | | | fix(settings): show warning for indexToReplace as part of missing indices
| * fix(settings): show warning for indexToReplace as part of missing indicesJohannes Merkel2024-03-191-0/+13
| | | | | | | | Signed-off-by: Johannes Merkel <mail@johannesgge.de>
* | fix(SetupChecks): Add hint about dns/firewall if `mjs` check can't runJosh2024-04-021-1/+1
| | | | | | | | Signed-off-by: Josh <josh.t.richards@gmail.com>
* | fix: Apply new coding standard to all filesCôme Chilliet2024-04-027-9/+9
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix(security): Update expiration date in security.txtJoas Schilling2024-03-281-1/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.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(settings): Also verify that `trusted_proxies` only contains IP addresses ↵Ferdinand Thiessen2024-03-261-0/+10
| | | | | | | | | | | | | | (with range) Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> 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(files_sharing): allow to specify allowed groups to share instead of ↵Corentin Damman2024-03-151-1/+1
| | | | | | | | excluded groups Relates to #3387 Signed-off-by: Corentin Damman <c.damman@intopix.com>
* fix: when no AI setting has been set, make sure the selected text processing ↵Julien Veyssier2024-03-151-1/+3
| | | | | | provider is the same as the one that will be used Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* 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>
* Merge pull request #44067 from nextcloud/fix/migrate-header-check-to-setupcheckCôme Chilliet2024-03-143-1/+163
|\ | | | | Migrate header check to setupcheck API
| * fix: Improve HSTS warning wording as suggested by reviewerCôme Chilliet2024-03-141-1/+1
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * feat: Migrate HSTS check to Security headers SetupCheckCôme Chilliet2024-03-131-1/+21
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * fix: Migrate security headers check tests and fix the SetupCheck implementationCôme Chilliet2024-03-131-10/+15
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * fix: Fix Security headers setup check behaviorCôme Chilliet2024-03-131-2/+3
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * fix: Fix ocm-provider setup check failure detectionCôme Chilliet2024-03-131-1/+1
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * feat: Migrate header check to SetupCheck APICôme Chilliet2024-03-132-0/+136
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix(settings): `posix_getpwuid` can return `false` which should not be ↵Ferdinand Thiessen2024-03-131-2/+6
|/ | | | | | accessed using array operation Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(updatenotification): spread the use of new appconfigMaxence Lange2024-03-132-24/+15
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.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-125-20/+223
| | | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com> Signed-off-by: Julien Veyssier <julien-nc@posteo.net> Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
* fix(settings): Adjust order of parameters for `runRequest`Ferdinand Thiessen2024-03-082-5/+5
| | | | | | Fixing invalid request to host `HEAD`. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(settings): Migrate .well-known URL setup check to new APICôme Chilliet2024-03-073-6/+142
| | | | | | Co-authored-by: Côme Chilliet <come.chilliet@nextcloud.com> Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(settings): adjust source maps setup check wording and log levelJohn Molakvoæ2024-03-061-2/+2
| | | | | Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
* feat(settings): add JavaScript Source Maps support `.js.map` setup checkJohn Molakvoæ (skjnldsv)2024-03-062-0/+70
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #43906 from nextcloud/enh/migrate-ssl-url-setupcheckCôme Chilliet2024-03-043-2/+77
|\ | | | | feat(settings): Migrate SSL access and URL generation check to SetupCheck API
| * feat(settings): Migrate SSL access and URL generation check to SetupCheck APICôme Chilliet2024-02-293-2/+77
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | feat(settings): Migrate data directory protection check to `SetupCheck`Ferdinand Thiessen2024-02-293-3/+87
|/ | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(settings): Migrate OCM / OCS provider tests to SetupCheckFerdinand Thiessen2024-02-272-0/+101
| | | | | | Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge branch 'master' into fix/pages-titles-appsAndrii Rublov2024-02-253-151/+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-192-11/+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>
* enh(settings): Migrate WOFF2 loading check to a SetupCheckFerdinand Thiessen2024-02-152-0/+84
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* enh(settings): Add trait for setup checks that need to access the webserver ↵Ferdinand Thiessen2024-02-152-24/+121
| | | | | | using HTTP requests Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: replace `Account name` by `Login`John Molakvoæ2024-02-132-2/+2
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat: rename users to account or personVincent Petry2024-02-136-11/+11
| | | | | | Replace translated text in most locations Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* do not break personal settings page is viewer is not thereSimon L2024-02-091-5/+5
| | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* Merge pull request #43387 from nextcloud/fix/migrate-away-from-ilogger-in-jobsCôme Chilliet2024-02-081-42/+18
|
* Revert "Merge branch 'master' of github.com:nextcloud/server"Louis Chemineau2024-02-082-23/+47
| | | | | This reverts commit d9d60238c7aaab9c61bf2d50c15aa59bc88c8975, reversing changes made to ba3fdb0cdcfbb84f0080a2146a4ba2f01569915d.
* Merge pull request #43435 from ↵Simon L2024-02-081-5/+5
|\ | | | | | | | | nextcloud/enh/noid/do-not-break-personal-settings-without-viewer do not break personal settings page is viewer is not there