aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| * | refactor: Use `IAppConfig` for setting cron typeFerdinand Thiessen2024-06-281-1/+1
| | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | Merge pull request #46190 from ↵Daniel2024-06-291-2/+6
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/bug/45047/skip-check-when-disk-free-space-disabled fix(setupchecks): skip check when disk_free_space is disabled
| * | | fix(setupchecks): skip check when disk_free_space is disabledDaniel Kesselberg2024-06-281-2/+6
| |/ / | | | | | | | | | | | | | | | Make it easier to discover that the check failed because disk_free_space is disabled. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | refactor(SetupCheck): Make mariadb and mysql version variablesFerdinand Thiessen2024-06-271-5/+37
| | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | fix(settings): Adjust SetupCheck for supported database versionsFerdinand Thiessen2024-06-271-8/+10
|/ / | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | fix(settings): make trailing slash for caldav/carddav redirects optionalMichaIng2024-06-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | #43939 moved the CalDAV/CardDAV redirect checks from the frontend to a new backend API. Since the backend does not send an authentication header, checking for the expected response code 207 of the DAV endpoint does not work anymore, hence the URL of the last redirect is checked instead. This URL is expected to contain a trailing slash, which was not required before, since the DAV endpoint works properly without it (when authenticated). While a trailing slash in the redirect does no harm, it causes many setups to throw an admin panel warning, while in fact the redirects work properly. Furthermore, the proposed "/.well-known/carddav" => "/remote.php/dav/" redirect leads to double slashes, when doing a request to "/.well-known/carddav/", which seems more wrong then right. This change makes the trailing slash optional, hence old and adjusted setups won't throw the warning anymore, and the DAV endpoint works well in both cases. Signed-off-by: MichaIng <micha@dietpi.com>
* | feat: add setup check for needed mimetype migrationsRobin Appelman2024-06-182-0/+46
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | 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-03121-2479/+255
| | | | | | | | | | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* | | fix(caldav): automatically delete outdated scheduling objectsAnna Larch2024-05-312-0/+50
|/ / | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* | feat(ldap): sync additional properties to profile and SABJake Nabasny2024-05-302-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | fix:Ensure security.txt file ends with a newline characterArchisman Das2024-05-271-1/+2
| | | | | | | | Signed-off-by: Archisman Das <archisman.officials@gmail.com>
* | Merge pull request #45262 from nextcloud/check-HttpsUrlGenerationCôme Chilliet2024-05-131-5/+12
|\ \ | | | | | | fix(SetupChecks): Detect CLI mode in HTTPS / URL generator check
| * | fix(SetupChecks): Detect CLI mode in HTTPS / URL generator checkJosh Richards2024-05-121-5/+12
| | | | | | | | | | | | Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
* | | 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>