Commit Graph
5 Commits
Author SHA1 Message Date
1sonhador 87b1ad4b8a feat: sync UI controls, message retry, and worker schedule guard
Add manual sync buttons with batch limit, nginx timeouts for long syncs,
message retry endpoint, and fix worker to skip disabled accounts and
refresh schedules from the database every 2 minutes.
2026-07-01 09:10:04 +01:00
1sonhador f6b276511a fix(connection): fail-fast IMAP/SMTP tests; add Gitea webhook autodeploy
Connection tests use 5s timeouts and run IMAP/SMTP in parallel so the UI
gets a clear error instead of nginx 504. Add deploy-hook service (:9090) and
deploy-pull.sh for push-to-main deploys on CT 243.
2026-07-01 01:09:53 +01:00
XikaandPaperclip 6e6f1a44e4 fix(nginx): use hostname variable in proxy_pass to fix DNS + path rewriting
Using $variable:port with no path appended forces DNS re-resolution
while nginx still forwards the full original request URI unchanged.
Previous attempt ($upstream/api/) was dropping the request path.

Co-Authored-By: Paperclip <[email protected]>
2026-06-30 23:46:47 +00:00
XikaandPaperclip 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
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