Commit Graph
190 Commits
Author SHA1 Message Date
SluijsensandClaude Sonnet 5.5 7feebb690c Records the agreed host contract for the CMS injection plan
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 15:18:32 +01:00
SluijsensandClaude Sonnet 5.5 ee973477de Documents the CMS-host-serves-everything decision and proposes the host injection plan
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 15:15:17 +01:00
SluijsensandClaude Sonnet 5.5 ba7288526b Gives a featured package a quiet highlight and makes the optional CMS fields explicit
A featured card gets a heidegroen top rule, border and a small "Uitgelicht"
tab on its top edge; the tab sits on the border so the row keeps its layout.
Tests and docs state that the site does not depend on description, price note
or button label.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 14:15:23 +01:00
SluijsensandClaude Sonnet 5.5 9e8a876cd1 Notes that CMS scheduling applies at build time and live in the browser
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 13:54:11 +01:00
SluijsensandClaude Sonnet 5.5 9eeb05f8fa Lets the test build present itself under its own address
VITE_SITE_URL sets the origin used for canonical, og:url, og:image, JSON-LD
and the sitemap. Only the test build sets it (https://test.andreaslop.nl);
the production artifact keeps https://andreaslop.nl. Only a clean https
origin (or http on localhost) is accepted, anything else falls back to
production.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 11:50:11 +01:00
SluijsensandClaude Sonnet 5.5 6ff415e1bc Documents the CMS packages, banners, deploy flow and go-live conditions
Adds docs/cms-integration.md, docs/deploy-and-ci.md and
docs/go-live-checklist.md, fills in the README (set-up and commands) and
points AGENTS.md at the docs so they are kept up to date.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 00:07:51 +01:00
SluijsensandClaude Sonnet 5.5 6f1be2f7f5 Adds a slim top bar above the packages and centres the last row of cards
The CMS serves a second banner at /api/v1/offerings/banner?position=top. The
site bakes it into the HTML at build time and replaces it live after
hydration, like the banner under the cards, and both may show at once.
The cards now sit in a wrapping flex row so an incomplete last row is centred
for any number of cards on desktop; phone and tablet stay one column.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 12:42:07 +01:00
SluijsensandClaude Sonnet 5.5 e28188c997 Makes the price banner lighter and richer in the ASF style
White band like the price cards (a light green tone stays available), a thin
heidegroen rule, the section-heading type in spaced capitals, a small
ornament, the eucalyptus sprig in a corner and more space.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-13 08:41:15 +01:00
SluijsensandClaude Sonnet 5.5 fd77a39843 Gives the price banner the ASF look instead of a dark block
Soft alternate paper tone with a hairline and a thin heidegroen rule on top,
centred heading font and the deep-green button of the cards. Same function:
title, optional text and button, empty fields left out.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 13:02:45 +01:00
SluijsensandClaude Sonnet 5.5 915c41b92e Covers the featured flag of an offering in the mapping tests
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 11:26:18 +01:00
SluijsensandClaude Sonnet 5.5 12319bb841 Updates the packages and the banner live in the browser
The build still bakes the current packages and the active banner into the HTML.
After hydration the page asks /api/v1/offerings and /api/v1/offerings/banner
once and replaces what differs; errors and time-outs keep what was baked, and
a 204 from the banner route hides the banner. The banner is now the
OfferingBanner contract (title, text, optional link) instead of layout=banner.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 11:19:50 +01:00
SluijsensandClaude Sonnet 5.5 f9180f231f Lets the price banner work with empty fields
Only the banner title is required; description, price, price note, features
and the button label are left out when empty (the button then says Neem contact
op).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 09:42:35 +01:00
SluijsensandClaude Sonnet 5.5 4cae76b21d Builds the test site separately with the CMS packages and adds a nightly test build
The check job builds dist without a CMS address, so what goes to production
keeps the committed package list. A new build-test job builds with
OFFERINGS_URL from ASF_OFFERINGS_URL_TEST and feeds only deploy-test. A nightly
schedule (03:15 UTC) deploys the test site; Lighthouse is skipped for it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 09:10:52 +01:00
SluijsensandClaude Sonnet 5.5 5bfbde1881 Reads the shoot packages and an optional banner from the CMS at build time
The build asks GET /api/v1/offerings and bakes the packages into the pages,
with a committed snapshot as fallback so a CMS outage never breaks the build
or shows an empty price. The form choices and ?pakket= use the same list. An
offering with layout=banner becomes an optional band under the price cards.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 08:13:01 +01:00
SluijsensandClaude Sonnet 5.5 7737104a77 Lets the CI preview server stand in for the contact API
With contactForm.enabled=true the e2e and Lighthouse runs asked a token route
that CI does not have (404, console error, run 666). The preview server gets an
opt-in --contact-stub (token 200 without captcha, submit 202); the e2e server
helper and the Lighthouse start command switch it on. Tests that need another
answer still replace it per page with page.route.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 19:39:03 +01:00
SluijsensandClaude Sonnet 5.5 7e708cf3c7 Changes the stated retention period from 12 months to 1 year in the privacy draft and ops docs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 13:40:01 +01:00
SluijsensandClaude Sonnet 5.5 d449e7668e TEST ONLY: enable the contact form for the ASF test deploy
Sets siteContent.contactForm.enabled to true so the test site opens the form.
Must not be merged to master; revert before the merge. Go-live needs
Bryan's explicit go (production readiness checklist).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 13:18:50 +01:00
SluijsensandClaude Sonnet 5.5 3f59492f50 Adds the recipient setting and the ASF test host details to the operations docs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 23:42:17 +01:00
SluijsensandClaude Sonnet 5.5 d8847d8c3b Documents build and test, operations and the approved privacy wording
Adds the build and test summary and instructions, the deployment and
monitoring plans, the production readiness checklist with the go-live
conditions, and the approved privacy draft (retention, controller).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 23:40:11 +01:00
SluijsensandClaude Sonnet 5.5 a1444b7b2a Adds the captcha frame hosts to the CSP and handles a widget that cannot load
frame-src gets the three exact Friendly Captcha global hosts (no wildcard).
When the widget errors, is blocked or shows no sign of life, the form says so
and offers the mail button instead of blocking silently. Adds an e2e for the
form with a mocked API, a draft privacy text for approval, and label tests.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 23:27:29 +01:00
SluijsensandClaude Sonnet 5.5 e09459423f Connects the contact form to the CMS API through the cms-client package
Copies the headless cms-client package (SlpSoftware 93fa729) and builds the
form on useContactForm: availability check when the form is in view (no
request while switched off), the readable shoot label as subject, the Friendly
Captcha widget as its own lazy chunk, trackEvent for contact-sent and
contact-failed. Removes the old reducer, validation and submit stub.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 23:21:02 +01:00
SluijsensandClaude Sonnet 5.5 4da314c0ba Starts the contact form feature: AI-DLC inception and design, dev proxy for /api
Adds the contact-form-cms feature docs (requirements, execution plan,
functional and infrastructure design, code generation plan) and an optional
Vite dev proxy for /api through API_PROXY_TARGET.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 23:04:16 +01:00
Sluijsens 7d594ffa1d Merge pull request 'Completes the AI-DLC flow of the CMS and API foundation feature' (#18) from docs/close-cms-api-foundation into master
Continuous Integration / check (push) Successful in 1m53s
Continuous Integration / deploy-test (push) Successful in 1m9s
Continuous Integration / lighthouse (push) Successful in 24m5s
Continuous Integration / deploy-production (push) Skipped
2026-11-10 16:08:30 +01:00
SluijsensandClaude Sonnet 5.5 f2a3e1284b Completes the AI-DLC flow of the CMS and API foundation feature
Continuous Integration / check (pull_request) Successful in 1m47s
Continuous Integration / deploy-test (pull_request) Skipped
Continuous Integration / lighthouse (pull_request) Successful in 8m56s
Continuous Integration / deploy-production (pull_request) Skipped
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 15:57:03 +01:00
Sluijsens da5684bddc Merge pull request 'Prepares the test site for the CMS host' (#17) from feature/cms-api-foundation into master
Continuous Integration / check (push) Successful in 1m56s
Continuous Integration / deploy-test (push) Successful in 1m7s
Continuous Integration / lighthouse (push) Successful in 9m49s
Continuous Integration / deploy-production (push) Skipped
2026-11-10 15:41:14 +01:00
SluijsensandClaude Sonnet 5.5 82692eca71 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
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 15:08:19 +01:00
SluijsensandClaude Sonnet 5.5 1a37dc249e 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
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>
2026-11-08 11:12:34 +01:00
SluijsensandClaude Sonnet 5.5 288b0e3838 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
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 02:06:00 +01:00
SluijsensandClaude Sonnet 5.5 41a6e7be5a Prepares the test site for the CMS host
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>
2026-11-08 02:05:59 +01:00
Sluijsens 16b75af4d4 Merge pull request 'Redesigns the testimonials section' (#16) from feature/testimonials-redesign into master
Continuous Integration / check (push) Successful in 1m49s
Continuous Integration / deploy-test (push) Successful in 1m7s
Continuous Integration / lighthouse (push) Successful in 8m48s
Continuous Integration / deploy-production (push) Skipped
2026-11-06 01:35:56 +01:00
SluijsensandClaude Sonnet 5.5 7a5e713b69 Adds the AI-DLC documents of the testimonials redesign
Continuous Integration / check (pull_request) Successful in 1m45s
Continuous Integration / deploy-test (pull_request) Skipped
Continuous Integration / lighthouse (pull_request) Successful in 8m44s
Continuous Integration / deploy-production (pull_request) Skipped
Requirements, execution plan, functional design, code summaries, build and test results and the audit log; the reverse-engineering notes and the feature registry are updated.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 01:24:15 +01:00
SluijsensandClaude Sonnet 5.5 b03b18f58e Redesigns the testimonials section
A landscape photo overlaps a card with the shoot type, quote and names. The controls are two arrows with an X / Y counter; the dots are gone and nothing moves by itself. A change slides the whole slide horizontally, also on a swipe. Reviews get an optional imagePosition for the crop, normalised by normalizeImagePosition; slideCounter writes the counter. Both helpers have property tests next to example tests.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 01:24:14 +01:00
SluijsensandClaude Sonnet 5.5 9a2e84e4b2 Shows section headings in letter-spaced capitals
SectionHeading gets the new sectionHeading text style: uppercase, the shared caps letter-spacing, 26px on phones and 30px from md. The text in the DOM does not change, so accessible names stay as they are. The plain sectionTitle style stays for the headings that do not use SectionHeading.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 01:24:14 +01:00
Sluijsens c8ca5eb372 Merge pull request 'Fixes a race in the 404 hydration test' (#15) from fix/404-hydration-h1 into master
Continuous Integration / check (push) Successful in 18m22s
Continuous Integration / deploy-test (push) Successful in 1m3s
Continuous Integration / lighthouse (push) Successful in 28m41s
Continuous Integration / deploy-production (push) Skipped
Reviewed-on: #15
2026-11-03 21:31:14 +01:00
SluijsensandClaude Opus 5.5 c4348ecd3a Counts only visible headings in the 404 hydration test
Continuous Integration / check (pull_request) Successful in 1m44s
Continuous Integration / deploy-test (pull_request) Skipped
Continuous Integration / lighthouse (pull_request) Successful in 8m45s
Continuous Integration / deploy-production (pull_request) Skipped
On the catch-all 404 page the router shows its pending copy for 500 ms while
the server copy stays hidden with display:none. The test counted h1 elements in
that window and found the hidden one on the faster PC runner. It now counts what
a visitor or screen reader gets, then checks that the hidden copy is gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 19:49:22 +01:00
Sluijsens 9d5f8cf2d0 Merge pull request 'Prerenders every page as HTML' (#14) from feature/prerendering into master
Continuous Integration / check (push) Successful in 1m42s
Continuous Integration / deploy-test (push) Successful in 1m4s
Continuous Integration / lighthouse (push) Failing after 4m22s
Continuous Integration / deploy-production (push) Skipped
Reviewed-on: #14
2026-11-03 18:44:30 +01:00
SluijsensandClaude Opus 5.5 2668a034e7 Marks the prerendering feature as complete
Continuous Integration / check (pull_request) Successful in 19m59s
Continuous Integration / deploy-test (pull_request) Skipped
Continuous Integration / lighthouse (pull_request) Successful in 9m13s
Continuous Integration / deploy-production (pull_request) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 18:14:31 +01:00
SluijsensandClaude Opus 5.5 0970c24108 Adds the build and test documents of the prerendering feature
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 18:12:22 +01:00
SluijsensandClaude Opus 5.5 39dc456946 Records the approval of the third unit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 18:01:41 +01:00
SluijsensandClaude Opus 5.5 ecae4278b1 Records the green CI run of the third unit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 00:41:10 +01:00
SluijsensandClaude Opus 5.5 2006fa01d9 Removes a duplicate from the upload script and its backups
The script body had been saved twice, so a production upload would have run
twice and left web.config backups on the host. Browser tests also get longer
limits on the slow CI runner; the page behaves the same.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 23:47:56 +01:00
SluijsensandClaude Opus 5.5 79b1a66b97 Records the runner stop before the test deploy
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 22:42:05 +01:00
SluijsensandClaude Opus 5.5 a7e8652a4a Records the nginx draft and its check on version 1.30.6
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 20:10:45 +01:00
SluijsensandClaude Opus 5.5 b6d5a85e41 Applies the owner's Lighthouse targets
Three pages no longer need an exception and the homepage target rises to its
measured score, so the gain cannot slip away unnoticed. Also adds the third
unit's code summary and updates the shared docs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 20:07:24 +01:00
SluijsensandClaude Opus 5.5 498be43020 Adds the final measurement of the prerendering feature
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 19:51:44 +01:00
SluijsensandClaude Opus 5.5 6d4d01238a Hardens the upload path check and the deploy verification
A remote of . or .. could have made the cleanup pass delete the wrong folder, so
such paths are refused before anything runs. A connection error now ends in the
normal summary instead of aborting the check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 19:31:21 +01:00
SluijsensandClaude Opus 5.5 afd9923950 Stops the production upload when a pass fails
Each pass is now its own lftp session with a marker in the log, so a failed
asset pass stops the script before any HTML goes up. The test checks those
markers instead of lftp's output format.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 19:17:37 +01:00
SluijsensandClaude Opus 5.5 38708b8439 Compares the preview server with real nginx in tests
The preview server must behave like the real server, or Lighthouse and the
browser tests prove the wrong thing. The tests also cover the new URLs in a real
browser: one redirect, one title, a clean hydration.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 18:30:08 +01:00
SluijsensandClaude Opus 5.5 e4e7f8c82c Adds the URL rules to the preview server, IIS config and deploy
The preview server and web.config now follow the same URLs as nginx, without
the SPA fallback. Lighthouse exceptions need a recorded reason and the 404 page
is audited through an opt-in route. The deploy checks the build first and the
served result afterwards. The IIS rules stay unverified until a host exists.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 18:13:21 +01:00
SluijsensandClaude Opus 5.5 716692825e Gives browser tests more time on the slow CI runner
Real nginx passes all 134 server rule tests in CI. The seven remaining failures
were tests cut off at 60 seconds on the Raspberry Pi.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 18:02:59 +01:00