Commit Graph

154 Commits

Author SHA1 Message Date
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
Adolfo Reyna 309ae1b69b Add promotional endpoint (extended) for new users 2025-02-05 20:46:24 -05:00
Adolfo Reyna bf2cdd4696 Dissabling email for group posts for now 2025-02-05 09:58:37 -05:00
Adolfo Reyna 9ad30e102e Check for invitations which were used already 2025-02-04 23:21:53 -05:00
Adolfo Reyna 62fcf4fe2c Fix endpoint to check invitations 2025-02-04 23:03:46 -05:00
Adolfo Reyna b9a3768f4c Caught errors on webpush 2025-02-03 22:53:41 -05:00
Adolfo Reyna 0ca589cbe8 Catching werid cornercase on which users don't have profiles. 2025-02-02 23:55:58 -05:00
Adolfo Reyna 9ab922f765 Fix bug on signup 2025-02-02 23:48:48 -05:00
Adolfo Reyna d79138fba6 Add notifications to user when a follow profile posted 2024-12-31 16:28:31 -05:00
Adolfo Reyna 433f3069b3 Fix another bug on lastprofile at loggin 2024-12-31 16:27:07 -05:00
Adolfo Reyna ede12f9ec2 Fix latestProfile bug 2024-12-31 14:55:59 -05:00