tractatus/src/controllers
TheFlow 2e3ce0a2fc feat: Add comprehensive visitor retention system
Implemented RSS feeds, newsletter subscriptions, email templates, and admin UI
to encourage repeat visits from self-selected visitors.

## RSS Feeds
- Created RSS 2.0 feed generation (main + topic-specific)
- Endpoints: /feed.xml and /feed/:topic.xml
- Added getPublished() and getPublishedByTag() to BlogPost model

## Newsletter Subscriptions
- Created reusable newsletter modal component
- Added to index, researcher, implementer, leader pages
- Interest selection: research, implementation, governance, project-updates
- Added newsletter trigger button to footer
- Uses existing /api/newsletter/subscribe endpoint

## Email Templates
- Created comprehensive specifications for 4 newsletter tiers
- Research Updates (monthly) - scholarly audience
- Implementation Notes (bi-weekly) - practitioners
- Governance Discussions (sporadic) - stakeholders
- Project Updates (quarterly) - general audience
- Documented template variables, design guidelines

## Admin UI
- Enhanced newsletter management with "Send Newsletter" section
- Tier selection, subject/preview input, JSON content editor
- Preview/test/send buttons (UI ready, email service TBD)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-04 10:42:43 +13:00
..
admin.controller.js fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
analytics.controller.js fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
audit.controller.js fix(audit): ensure all hook denials are logged to audit database 2025-10-28 11:27:53 +13:00
auth.controller.js fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
blog.controller.js feat(cultural-sensitivity): implement Phase 1 - detection and flagging (inst_081) 2025-10-25 11:10:06 +13:00
cases.controller.js fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
contact.controller.js feat(crm): implement unified contact form system 2025-10-24 16:56:21 +13:00
crm.controller.js feat(crm): complete Phase 3 multi-project CRM + critical bug fixes 2025-10-24 18:10:14 +13:00
diskMetrics.controller.js feat: add disk monitoring system for dev and production 2025-10-29 11:53:55 +13:00
documents.controller.js feat: Complete Phase 2 Agent Lightning website integration 2025-11-03 14:38:20 +13:00
feedback.controller.js feat: Complete Phase 2 - Agent Lightning integration and Discord community launch 2025-11-03 12:52:26 +13:00
framework-content-analysis.controller.js feat(content): add framework-guided blog pre-publication and comment analysis 2025-10-27 19:45:43 +13:00
inbox.controller.js refactor(lint): fix code style and unused variables across src/ 2025-10-24 20:15:26 +13:00
koha.controller.js refactor(lint): fix code style and unused variables across src/ 2025-10-24 20:15:26 +13:00
media.controller.js feat(cultural-sensitivity): implement Phase 1 - detection and flagging (inst_081) 2025-10-25 11:10:06 +13:00
missedBreach.controller.js feat(research): add missed breach tracking system for framework effectiveness measurement 2025-10-27 12:26:53 +13:00
newsletter.controller.js fix(newsletter): serialize ObjectId to string in API response 2025-10-24 20:29:12 +13:00
projects.controller.js refactor(lint): fix code style and unused variables across src/ 2025-10-24 20:15:26 +13:00
publications.controller.js feat(blog): add Manage Submission modal for publication tracking 2025-10-24 01:55:06 +13:00
relationships.controller.js fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
research.controller.js feat(api): implement research inquiry endpoint and Umami analytics 2025-10-29 01:31:02 +13:00
rss.controller.js feat: Add comprehensive visitor retention system 2025-11-04 10:42:43 +13:00
rules.controller.js feat: implement Rule Manager and Project Manager admin systems 2025-10-11 17:16:51 +13:00
submissions.controller.js refactor(lint): fix code style and unused variables across src/ 2025-10-24 20:15:26 +13:00
variables.controller.js fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00