Commit Graph

7 Commits

Author SHA1 Message Date
giles
39803578af feat: include post slug in events_url paths for /<slug>/calendars/ URL structure
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 10:36:32 +00:00
giles
be9563f0d3 fix: remove all hx-get from cross-domain links
Converts remaining links.link() calls with cross-app URLs
to plain <a> tags: auth→cart orders, post_data→events,
calendars header→events.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 09:55:27 +00:00
giles
e19b6c6ce1 fix: use plain links for cross-app calendar navigation
HTMX blocks cross-origin hx-get requests, causing
htmx:invalidPath. Calendar links to events service must
be regular <a> tags without hx-get.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 09:53:32 +00:00
giles
894316d3ff fix: replace blog.post.calendars url_for with events_url
Calendar routes no longer exist in blog service. Post nav,
entry items, blog cards, and header templates now link to
events service via events_url() helper.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 09:48:09 +00:00
giles
66edfca7dc fix: use events_url() for calendar links in post nav
Calendar routes moved to events service, so blog can no
longer use url_for('blog.post.calendars...').

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 09:35:05 +00:00
giles
fda91bbea6 fix: guard _meta.html against missing post variable
Calendar templates extend post/index.html but don't provide a
post context variable. Wrap post-specific meta in an if guard
so pages without post still get basic meta from meta_base.html.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 01:43:25 +00:00
giles
668d9c7df8 feat: initial shared library extraction
Contains shared infrastructure for all coop services:
- shared/ (factory, urls, user_loader, context, internal_api, jinja_setup)
- models/ (User, Order, Calendar, Ticket, Product, Ghost CMS)
- db/ (SQLAlchemy async session, base)
- suma_browser/app/ (csrf, middleware, errors, authz, redis_cacher, payments, filters, utils)
- suma_browser/templates/ (shared base layouts, macros, error pages)
- static/ (CSS, JS, fonts, images)
- alembic/ (database migrations)
- config/ (app-config.yaml)
- editor/ (Lexical editor Node.js build)
- requirements.txt

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 23:11:36 +00:00