giles
cf2e2ba1db
Remove cross-domain template dependencies from shared infrastructure
...
- macros/search.html: shared search input macros (mobile + desktop)
- macros/cart_icon.html: shared cart icon/badge macro (count param, no DB)
- macros/layout.html: inline hamburger icon, use shared search macro
- _oob.html: use cart_mini_html fragment slot instead of cart template import
- db/session.py: guard teardown rollback against committed/dead sessions
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-24 17:28:09 +00:00
giles
5518c95237
Bound connection pool to prevent max_connections exhaustion
...
pool_size=5, max_overflow=10 per app (6 apps = 90 max connections).
Previously pool_size=0 meant unlimited connections, causing
asyncpg.TooManyConnectionsError under concurrent load.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-24 17:08:00 +00:00
giles
798087de9a
Rename coop to blog throughout codebase
...
- coop_url() → blog_url(), AUTH_APP default → "blog"
- Session cookie: coop_session → blog_session
- Config keys: coop_root/coop_title → market_root/market_title
- All Jinja templates: coop_url → blog_url, coop_title → market_title
- Template blocks: coop-child-header → blog-child-header
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-23 08:32:46 +00:00
giles
d697709f60
Tech debt cleanup: fix session.py, remove stale references, update docs
...
- db/session.py: fix indentation (2→4 space), pool_size=0 (unlimited),
remove "ned to look at this" typo
- Remove glue.models from alembic env.py import list
- Update shared __init__.py, menu_item.py docstring, calendar_impl.py,
handlers/__init__.py to remove glue terminology
- Remove federation_handlers.py tombstone file
- Remove TODO comments (replace with explanatory comments)
- Rewrite README.md to reflect current architecture
- Update anchoring.py TODO to plain comment
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-22 15:11:31 +00:00
giles
ef806f8fbb
feat: extract shared infrastructure from shared_lib
...
Phase 1-3 of decoupling plan:
- Shared DB, models, infrastructure, browser, config, utils
- Event infrastructure (domain_events outbox, bus, processor)
- Structured logging
- Generic container concept (container_type/container_id)
- Alembic migrations for all schema changes
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-11 12:45:56 +00:00