Prepares the test site for the CMS host #17

Merged
Sluijsens merged 4 commits from feature/cms-api-foundation into master 2026-11-10 15:41:16 +01:00
Owner

The test site is now served by the CMS host (Api.AndreaSlopFotografie) on the hosting Pi, port 5200.

Changes in this repository:

  • The generated proxy config for test.andreaslop.nl points at port 5200.
  • deploy/verify-deployment.sh gets a --cms mode: exact security headers, caching, gzip only, percent-encoded redirects, 405 for POST, /health, /admin/, capabilities without Offerings.
  • config/printCsp.ts prints the expected CSP; the deploy-test job uses --cms when the Gitea variable ASF_TEST_SERVED_BY_CMS is true.
  • The AI-DLC documents of the feature.

No change to web/src. Do not merge before the CMS side is approved.

Generated with Claude Code

The test site is now served by the CMS host (Api.AndreaSlopFotografie) on the hosting Pi, port 5200. Changes in this repository: - The generated proxy config for test.andreaslop.nl points at port 5200. - deploy/verify-deployment.sh gets a --cms mode: exact security headers, caching, gzip only, percent-encoded redirects, 405 for POST, /health, /admin/, capabilities without Offerings. - config/printCsp.ts prints the expected CSP; the deploy-test job uses --cms when the Gitea variable ASF_TEST_SERVED_BY_CMS is true. - The AI-DLC documents of the feature. No change to web/src. Do not merge before the CMS side is approved. Generated with Claude Code
Sluijsens added 2 commits 2026-11-08 02:06:20 +01:00
The test route on the proxy Pi now points at the CMS host on port 5200.
verify-deployment.sh gets a --cms mode that checks the exact security
headers, caching, gzip only, a percent-encoded redirect, the 405 for
POST, and the CMS routes. The deploy-test job uses it once the Gitea
variable ASF_TEST_SERVED_BY_CMS is true.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Adds the AI-DLC documents of the CMS and API foundation feature
Continuous Integration / check (pull_request) Successful in 1m50s
Continuous Integration / deploy-test (pull_request) Skipped
Continuous Integration / lighthouse (pull_request) Successful in 8m50s
Continuous Integration / deploy-production (pull_request) Skipped
288b0e3838
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Sluijsens added 1 commit 2026-11-08 11:12:36 +01:00
Checks the admin files and the POST status in the CMS deployment check
Continuous Integration / check (pull_request) Successful in 2m12s
Continuous Integration / deploy-test (pull_request) Skipped
Continuous Integration / lighthouse (pull_request) Successful in 9m10s
Continuous Integration / deploy-production (pull_request) Skipped
1a37dc249e
The check now fetches real admin files (index.html, favicon, the css and
js from the served index) and an unknown admin file. A POST with an empty
body returns 405; without a body the HTTP/1.0 proxy hop answers 400.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Sluijsens added 1 commit 2026-11-10 15:10:58 +01:00
Records the CMS merge and the production deploy in the status log
Continuous Integration / check (pull_request) Successful in 20m11s
Continuous Integration / deploy-test (pull_request) Skipped
Continuous Integration / lighthouse (pull_request) Successful in 9m20s
Continuous Integration / deploy-production (pull_request) Skipped
82692eca71
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Sluijsens merged commit da5684bddc into master 2026-11-10 15:41:16 +01:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SLP_Software/AndreaSlopFotografie#17