Commit Graph

5 Commits

Author SHA1 Message Date
Cauê Faleiros
9ffcfcdcc8 chore: add automated database backup service and tighten backend security
All checks were successful
Build and Deploy / build-and-push (push) Successful in 1m56s
- Added `databack/mysql-backup` service to the production docker-compose Swarm stack, scheduling a daily 02:55 AM cron backup of the database with a 3-day local retention policy.

- Fixed a critical race condition in the backend JWT authentication middleware where an invalid token returning 401 could crash the response flow if the route executed before the defensive checks caught it.

- Added strict undefined defensive checks to the `getUserById` endpoint and RBAC middleware to gracefully reject requests that somehow bypass the token parser.

- Updated `GEMINI.md` technical documentation to fully match the real codebase logic.

- Fixed UX rule to prevent `manager` role from seeing Funnels or Origins tabs in the sidebar.

- Blocked `agent` role from modifying their own 'fullName' string in the Profile UI.
2026-03-25 12:40:53 -03:00
Cauê Faleiros
f7b019f1e1 fix: resolve production SMTP environment mapping and super_admin provisioning recovery
All checks were successful
Build and Deploy / build-and-push (push) Successful in 1m24s
2026-03-05 16:11:02 -03:00
Cauê Faleiros
0ffaf6d2b2 fix: update docker-compose for swarm compatibility with configs and overlay network
All checks were successful
Build and Deploy / build-and-push (push) Successful in 1m3s
2026-02-23 16:34:49 -03:00
Cauê Faleiros
2e91979200 fix: remove runner and fixed container names for production
All checks were successful
Build and Deploy / build-and-push (push) Successful in 1m17s
2026-02-23 16:33:27 -03:00
Cauê Faleiros
28c75bbe13 feat: setup docker, backend, and gitea pipeline for production
All checks were successful
Build and Deploy / build-and-push (push) Successful in 4m19s
2026-02-23 15:21:28 -03:00