Commit graph

10 commits

Author SHA1 Message Date
1518f1bbbe Fix admin login/logout over HTTP and stale sessions
- Auth cookie was always exported with the SDK default `Secure` flag, so
  browsers dropped it over plain HTTP (CADDY_SCHEME=http) and login
  looped back to /login. Set `secure` from the real request scheme.
- Logout never ran: the hook redirected every authenticated request to
  /login (including POST /login?/logout) back to /pages. Only redirect GET.
- Refresh the token per request so revoked tokens log the user out instead
  of surfacing as 500s, and sessions slide instead of expiring mid-edit.
- Use `_superusers` instead of the deprecated `pb.admins` alias; keep the
  entered email on a failed login.
- docker-compose: fully-qualified image names (podman rejects short names).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KgF3Kf47LjPGHKQHszpUAv
2026-10-06 10:35:15 +00:00
Jakub Dorfman
96828994e1 added mailing through Brevo and node mailer, also a email editor, with
their custom blocks and renderers
2026-09-28 19:25:19 +02:00
Jakub Dorfman
43db707e34 added configurable modes to caddy http/https 2026-08-19 21:16:12 +02:00
Jakub Dorfman
1027da989e moved page rendering to a different service and access is now behind
admin.DOMAIN
www.DOMAIN
db.DOMAIN
2026-08-19 17:58:19 +02:00
Jakub Dorfman
702d99b9ed Added shop and checkout to the CMS
Checkout is done with stripe
Added reservation system
2026-07-29 18:18:23 +02:00
Jakub Dorfman
3e7a4f8983 fixed pocketbase volume
visual updates to Testimonials and UpcomingCalendar
2026-06-05 15:59:15 +02:00
Jakub Dorfman
246b1990ca added reverse proxy 2026-06-05 15:32:23 +02:00
Jakub Dorfman
ad34d78d40 Add home page selection to header and increase body size limit in Docker config 2026-06-01 13:34:31 +02:00
Jakub Dorfman
fe5d77443d fix image upload
visual improvements
2026-05-19 17:11:52 +02:00
Jakub Dorfman
b4fbf3e411 initial 2026-05-18 17:18:09 +02:00