aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/tests/SetupChecks/DataDirectoryProtectedTest.php
Commit message (Collapse)AuthorAgeFilesLines
* test: Migrate settings and provisioning_api to PHPUnit10tests/noid/migrate-more-apps-to-phpunit10Joas Schilling2025-05-161-4/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* refactor(settings): `CheckServerResponseTrait` always expect absolute pathFerdinand Thiessen2024-09-131-10/+10
| | | | | | 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(SetupCheck): Properly check public access to data directoryFerdinand Thiessen2024-08-081-9/+11
| | | | | | | | | | | | | 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>
* chore: Add SPDX headerAndy Scherzinger2024-06-031-19/+2
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* feat(settings): Migrate data directory protection check to `SetupCheck`Ferdinand Thiessen2024-02-291-0/+136
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>