Commit Graph
7 Commits
Author SHA1 Message Date
XikaandPaperclip 146593bf05 chore(deploy): document webhook URL via NPM proxy
Gitea hook #28 now delivers to http://forwarder-hook.bitreport.pt/
(NPM CT 102 → 10.10.50.43:9090) instead of direct VLAN IP,
as Gitea VLAN 1010 cannot route to VLAN 1050 directly.

Co-Authored-By: Paperclip <[email protected]>
2026-07-01 01:13:19 +00:00
XikaandPaperclip c281b2b56d fix(deploy): write status before self-restarting deploy-hook
The deploy-hook container was killing itself before write_status ran,
leaving last_deploy=null on every successful deploy. Move health check
and write_status before the detached nohup restart of the deploy-hook
container so status is persisted even when the container recreates itself.

Co-Authored-By: Paperclip <[email protected]>
2026-07-01 01:02:00 +00:00
1sonhador df016a1e34 fix(deploy): use repo deploy script + expose git_sha in health
Webhook now runs /opt/forwarder/deploy/deploy-pull.sh from git (not stale
image copy). Rolling rebuild api then web; health reports FORWARDER_GIT_SHA.
2026-07-01 01:40:43 +01:00
1sonhador 210bc7e324 fix(api): default destination_email for legacy UI payloads
Accept account creates without destination_email (defaults to BizDocs
inbox) and force admin-ui rebuild on deploy so web container picks up UI changes.
2026-07-01 01:36:07 +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 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
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