Commit Graph

164 Commits

Author SHA1 Message Date
Adolfo Reyna 8aa1f3addd Add draft caption ingest support and dev watch workflow 2026-02-28 21:30:38 -05:00
Adolfo Reyna f0afa200b1 Align live captions transport to flat language payloads 2026-02-26 22:56:51 -05:00
Adolfo Reyna 503c5ef1f4 Add live captions stream endpoints and test sender 2026-02-26 22:31:00 -05:00
Adolfo Reyna e8dd905f27 fix: check if translation exists before processing in background 2026-02-25 18:49:44 -05:00
Adolfo Reyna c5fd09d71d feat: add post translation queue and background AI translation via API 2026-02-25 18:41:46 -05:00
Adolfo Reyna 989fdce883 feat: Add JSON content-type to Bible API chapters endpoint 2026-02-25 18:13:32 -05:00
Adolfo Reyna fd82643477 Add push notifications for chat participants 2026-02-23 19:57:31 -05:00
adolforeyna 93d5b6b5f3 Merge pull request 'fix(auth): return JSON 401 for API sessions and harden cross-site cookies' (#4) from codex/sessionchecker-json-unauthorized into master
Reviewed-on: http://192.168.68.119:3000/adolforeyna/EMI-Backend/pulls/4
2026-02-22 02:56:14 +00:00
Adolfo Reyna 83727957ab fix(auth): return JSON 401 for API sessions and harden cross-site cookies 2026-02-21 21:55:01 -05:00
adolforeyna a8ddae4b1e Merge pull request 'feat: add universal chat room with language-aware translation' (#3) from codex/universal-chat-room into master
Reviewed-on: http://192.168.68.119:3000/adolforeyna/EMI-Backend/pulls/3
2026-02-21 04:22:59 +00:00
Adolfo Reyna 77134b6bab feat: add universal chat room with language-aware translation 2026-02-20 23:16:05 -05:00
Adolfo Reyna d907aeecee Add notifications viewed flag endpoint and persistence 2026-02-20 22:15:13 -05:00
Adolfo Reyna 1ca38ca3b9 Add agent notes file 2026-02-20 22:06:01 -05:00
Adolfo Reyna e13678ad56 Fix profile update persistence and stale cache 2026-02-20 22:05:43 -05:00
adolforeyna bbc8c36439 Merge pull request 'codex/password-security-plan-comments' (#2) from codex/password-security-plan-comments into master
Reviewed-on: http://192.168.68.119:3000/adolforeyna/EMI-Backend/pulls/2
2026-02-21 03:02:44 +00:00
Adolfo Reyna f3a782a360 chore(auth): remove security plan doc and marker comments 2026-02-20 21:22:47 -05:00
Adolfo Reyna 19d805d322 fix(auth): add account+IP brute-force rate limiting 2026-02-20 21:20:21 -05:00
Adolfo Reyna 469962d03c fix(auth): add single-use token login recovery flow 2026-02-20 20:20:40 -05:00
Adolfo Reyna c6d9dfd3c1 fix(auth): enforce POST body credentials and generic auth errors 2026-02-20 20:09:29 -05:00
Adolfo Reyna 0baf237548 docs(auth): add password security hardening plan and code markers 2026-02-20 20:07:26 -05:00
adolforeyna 822e2bc0d6 Merge pull request 'codex/fix-502-feed-profile' (#1) from codex/fix-502-feed-profile into master
Reviewed-on: http://192.168.68.119:3000/adolforeyna/EMI-Backend/pulls/1
2026-02-21 00:46:34 +00:00
Adolfo Reyna ea864b27d4 Harden local/prod cookie policy and Mongo connection settings 2026-02-20 19:25:21 -05:00
Adolfo Reyna c136d25974 Harden feed/profile routes against invalid IDs and null profiles 2026-02-20 19:09:15 -05:00
Adolfo Reyna 0b36db9b33 docs: Update Swagger documentation for Profile endpoints
Updated the Swagger documentation for various Profile endpoints to accurately
reflect their return types, including arrays of Profile objects and detailed
schemas for specific responses.
2025-07-17 10:32:22 -04:00
Adolfo Reyna e4bac717f9 docs: Add API documentation access instructions to README
Updated the README.md file to include instructions on how to access the
interactive API documentation via Swagger UI, including the URL.
2025-07-17 10:00:31 -04:00
Adolfo Reyna d21736d52c docs: Update Swagger documentation for Post endpoints
Updated the Swagger documentation for various Post endpoints to accurately
reflect their return types, including arrays of Post objects and detailed
schemas for specific responses.
2025-07-17 09:59:50 -04:00
Adolfo Reyna 148ed696b2 feat: Add Swagger API documentation
This commit introduces Swagger API documentation for all endpoints in the
application.

- Installs  and .
- Configures Swagger in  to generate and serve API documentation
  at .
- Adds JSDoc-style Swagger annotations to all routes in  and
  the  directory (, , ,
  , , ).
- Defines a cookie-based security scheme for authenticated routes.

This allows for interactive API documentation and testing via the
endpoint.
2025-07-17 09:52:37 -04:00
Adolfo Reyna 0a48327e93 Improve readme (AI) 2025-07-17 09:37:21 -04:00
Adolfo Reyna 100b0c2a8f Change payments to be accessible wihtout loggin 2025-07-17 09:32:49 -04:00
Adolfo Reyna 64ca9df639 Tags support 2025-07-17 09:32:27 -04:00
Adolfo Reyna 46a2fc5c2b Add endpoint to retrieve posts by tag with validation 2025-02-27 23:45:17 -05:00
Adolfo Reyna 56cb8b4caa Enhance session and profile handling with validation and error handling improvements 2025-02-27 23:12:11 -05:00
Adolfo Reyna 606db78529 Add data to push notifications 2025-02-27 23:11:53 -05:00
Adolfo Reyna 7868df1abc Fix ratelimiter IP check 2025-02-21 22:58:18 -05:00
Adolfo Reyna 5bc1edb749 Add rate limiter 2025-02-21 22:23:31 -05:00
Adolfo Reyna ad62814d82 Add simple test with Mocha 2025-02-21 22:06:45 -05:00
Adolfo Reyna 2e7c0a6915 Experiment with Ollama to summarize post content 2025-02-21 00:12:59 -05:00
Adolfo Reyna 66893f7e53 Improve docker for local server 2025-02-21 00:12:42 -05:00
Adolfo Reyna 1056a91c33 Start simple translation approach 2025-02-21 00:12:17 -05:00
Adolfo Reyna 7902b75b5c Improve code redability 2 2025-02-20 23:52:45 -05:00
Adolfo Reyna 0b20f05124 Cleaning code for index.js 2025-02-20 23:27:13 -05:00
Adolfo Reyna e4dfee39ff Removing sensitive data to env and log identifier at login 2025-02-20 21:50:52 -05:00
Adolfo Reyna a49932ae79 Fix bug on organic endpoint 2025-02-20 21:49:25 -05:00
Adolfo Reyna 4cab4decb6 Fix error handling at singup 2025-02-13 15:45:17 -05:00
Adolfo Reyna 50ed0e2c7d fix invitation and registration to use lowercase 2025-02-11 11:34:28 -05:00
Adolfo Reyna 222d203a57 small bug on login logs 2025-02-08 07:55:41 -05:00
Adolfo Reyna 9f32ab01b8 Improve logging by using original path and method 2025-02-08 07:52:52 -05:00
Adolfo Reyna 6664dd5f89 Adding analitycs with PostHog 2025-02-06 09:57:03 -05:00
Adolfo Reyna 0d06e2a446 Disabling web push since is breaking the server 2025-02-06 08:51:26 -05:00
Adolfo Reyna c2169c9604 Make promotional post default for now 2025-02-05 20:50:38 -05:00