aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge pull request #45242 from nextcloud/check-memcache-memcachedDaniel2024-05-131-4/+5
|\ \ \ | | | | | | | | fix(setupCheck): Only warn when memcache present w/o memcached
| * | | fix(setupCheck): Only warn when memcache present w/o memcachedJosh Richards2024-05-091-4/+5
| |/ / | | | | | | | | | Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
* | | fix: Move hint about firewall issues to common helper stringFerdinand Thiessen2024-05-132-2/+2
| | | | | | | | | | | | | | | | | | Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Josh <josh.t.richards@gmail.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | Merge pull request #45272 from nextcloud/check-db-missing-indicesJulius Härtl2024-05-131-3/+11
|\ \ \ | | | | | | | | feat(SetupChecks): Refactor DatabaseHasMissingIndices
| * | | feat(SetupChecks): Refactor DatabaseHasMissingIndicesJosh Richards2024-05-111-3/+11
| |/ / | | | | | | | | | Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
* | | fix: oops vendor string embedded in versionJosh Richards2024-05-101-5/+5
| | | | | | | | | | | | Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
* | | fix: only compare major version of pgsqlJosh Richards2024-05-101-0/+3
| | | | | | | | | | | | Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
* | | fix: refactor postgresql check to match mariadb/mysqlJosh Richards2024-05-101-1/+2
| | | | | | | | | | | | Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
* | | fix: only compare minor mariadb version differencesJosh Richards2024-05-101-1/+3
| | | | | | | | | | | | Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
* | | fix(setupChecks): update db version checksJosh Richards2024-05-101-6/+6
|/ / | | | | | | 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>