tractatus/src/controllers
TheFlow d3807ed58a fix: add visibility check to getDocument/getTranslations endpoints
Non-public documents (internal, archived, confidential) were accessible
to unauthenticated users via direct slug/ID lookup. List and search
endpoints already filtered for visibility: 'public', but the individual
document endpoints did not. Added optionalAuth middleware and visibility
checks so non-public docs return 404 to public users while remaining
accessible to admin users.

Also adds Guardian Agents translations to village-case-study locale
files (DE, FR, MI) — 8 new keys per locale, flow step renumbered
6→7→8 with new Guardian Agents verification step at position 6.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 17:27:48 +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: Resolve ESLint errors breaking CI 2026-01-23 12:20:50 +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: Resolve ESLint errors breaking CI 2026-01-23 12:20:50 +13:00
contact.controller.js feat(crm): implement unified contact form system 2025-10-24 16:56:21 +13:00
crm.controller.js fix: Resolve ESLint errors breaking CI 2026-01-23 12:20:50 +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 fix: add visibility check to getDocument/getTranslations endpoints 2026-03-13 17:27:48 +13:00
feedback.controller.js fix: Resolve ESLint errors breaking CI 2026-01-23 12:20:50 +13:00
framework-content-analysis.controller.js fix: Resolve ESLint errors breaking CI 2026-01-23 12:20:50 +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 feat: Implement newsletter email sending functionality (Phase 3) 2025-11-04 11:32:39 +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