Xika and Paperclip
3436611714
fix(api+nginx): fix 502 proxy, add /stats + /connection/test, align UI schema
...
- nginx: add resolver 127.0.0.11 + $upstream var to fix Docker DNS caching
- Add GET /api/stats (accounts/messages counts, last_sync_at)
- Add POST /api/connection/test (IMAP+SMTP inline test)
- AccountResponse: computed active/email aliases, bizdocs stub fields
- MessageResponse: account_name, message_uid, sender, received_at, forwarded_at
- AccountCreate/Update: accept extra UI fields without validation error
Co-Authored-By: Paperclip <[email protected] >
2026-06-30 23:43:11 +00:00
Xika and Paperclip
34f7fd9cdd
feat(deploy): add MySQL backup script (daily cron, 14-day retention)
...
Installed in CT 244 at /opt/forwarder/backup-mysql.sh with
/etc/cron.d/forwarder-backup running at 03:00 UTC daily.
Co-Authored-By: Paperclip <[email protected] >
2026-06-30 23:34:12 +00:00
Xika and Paperclip
7100440294
fix(auth): replace passlib with direct bcrypt (compat with bcrypt>=4.0)
...
passlib 1.7.4 detect_wrap_bug crashes with bcrypt>=4.0 which enforces
72-byte password limit. Use bcrypt directly instead.
Co-Authored-By: Paperclip <[email protected] >
2026-06-30 23:28:48 +00:00
Xika and Paperclip
f3d2533db5
fix(migrations): remove TEXT server_default (MySQL incompatible)
...
Co-Authored-By: Paperclip <[email protected] >
2026-06-30 23:15:40 +00:00
Xika and Paperclip
b211d9d8df
fix(compose): use alembic migrate service; drop init.sql; use env vars for mysql creds
...
Co-Authored-By: Paperclip <[email protected] >
2026-06-30 23:09:39 +00:00
Xika and Paperclip
fd1c1b1ba3
merge: reconcile docker-compose with origin/main (use admin-ui/Dockerfile for web)
...
Co-Authored-By: Paperclip <[email protected] >
2026-06-30 23:07:23 +00:00
1sonhador
d1e4725ac3
Add Python API, worker, MySQL migrations and wire admin-ui in Docker.
...
Backend FastAPI + APScheduler worker with Alembic schema; admin-ui served
via nginx with /api proxy. Unifies Paperclip UI scaffold with local platform code.
2026-07-01 00:04:57 +01:00
Xika and Paperclip
d8daca15bd
feat(backend): add FastAPI, worker, web nginx — full platform (BIT-26121)
...
- api/: FastAPI app with MySQL (accounts, forwarding_rules, messages)
- GET/POST/PUT/DELETE /accounts + /accounts/{id}/test
- GET /messages + /messages/{id}/retry
- GET /stats
- POST /connection/test
- Auto-runs migrations/init.sql on startup
- worker/: Python IMAP poller + BizDocs upload (schedule every 5 min)
- web/: multi-stage Dockerfile — builds admin-ui via Node, serves via nginx
- nginx proxies /api/ → api:8000, SPA fallback for React Router
- docker-compose.yml: updated web build context + mysql init.sql mount
Co-Authored-By: Paperclip <[email protected] >
2026-06-30 23:04:54 +00:00
spark
305570458b
Merge pull request 'feat(admin-ui): Vite+React Admin UI — BIT-26126' ( #1 ) from task/BIT-26126-admin-ui into main
2026-07-01 00:02:36 +01:00
Xika
8e02d4123b
Merge remote-tracking branch 'origin/task/BIT-26126-admin-ui' into task/BIT-26121-backend
2026-06-30 23:01:32 +00:00
Xika and Paperclip
acbb1d9be4
feat(admin-ui): add Vite+React admin UI (BIT-26126)
...
Dashboard, Contas, Emails, Teste de Ligação pages built with
React Router, Tailwind CSS, and lucide-react icons. Typed API
client covers accounts CRUD, messages list/retry, stats, and
connection testing (IMAP/SMTP/BizDocs). Clean TypeScript build.
Co-Authored-By: Paperclip <[email protected] >
2026-06-30 22:54:31 +00:00
spark
09bab7ac0b
feat: add .env.example with all required variables (BIT-26128)
2026-06-30 23:53:25 +01:00
spark
f2f706d500
feat: add docker-compose.yml with mysql/api/worker/web stack (BIT-26128)
2026-06-30 23:53:17 +01:00
spark and Paperclip
073f05f4e7
feat: initial repo setup — BizDocs Forwarder
...
README with architecture overview, stack, and getting-started guide.
.gitignore for Python/Docker projects.
Co-Authored-By: Paperclip <[email protected] >
2026-06-30 22:45:20 +00:00