Commit graph

501 commits

Author SHA1 Message Date
1093108716 Update botserver: remove private ClientId usage 2026-04-04 20:59:13 -03:00
68ba373383 Update botserver: fix EHLO hostname for Stalwart 2026-04-04 20:34:55 -03:00
7bcf60c193 Update botserver: fix SMTP transport for local Stalwart 2026-04-04 20:26:14 -03:00
e2d6eb8c24 Update botserver: log email send errors 2026-04-04 19:03:42 -03:00
5aefc9a21c Update botserver: fix email fallback chain empty map check 2026-04-04 18:46:22 -03:00
84415097c0 Update botserver: fix email tracking non-fatal 2026-04-04 18:13:58 -03:00
fe2987f1dd Update botserver: fix CI build errors 2026-04-04 17:49:53 -03:00
3f042a6e71 Update botserver: remove dead code in email/types.rs 2026-04-04 17:39:23 -03:00
da8bb150d1 Update botserver: fix mime type handling 2026-04-04 17:30:08 -03:00
6ecab3c616 Update botserver: implement real email sending via lettre + Vault 2026-04-04 17:17:09 -03:00
f9ce3fb419 Update botserver: Generalize WhatsAppAdapter::new to accept &AppState 2026-04-04 15:46:31 -03:00
bbea646325 Update botserver: Add column drop protection in table schema sync 2026-04-04 11:03:05 -03:00
1c7f19e92b Update botserver: Replace hardcoded botserver-stack paths with dynamic helpers 2026-04-04 09:25:06 -03:00
5384c3825e Update botserver: Fix anyhow error type in AuthConfig 2026-04-04 08:29:04 -03:00
40a38a1dbb Update botserver: Fix AuthConfig nested runtime panic 2026-04-04 08:25:56 -03:00
8f0fa31856 Update botserver: Fix SET USER nested runtime panic 2026-04-04 08:01:21 -03:00
6e7a0d5505 Update botserver: Fix nested runtime panic in Rhai callbacks 2026-04-04 07:35:41 -03:00
56762b1dec Update botserver: fix clippy warnings (0 warnings) 2026-04-03 22:35:20 -03:00
7595ba40be Update botserver: force rebuild 2026-04-03 21:42:44 -03:00
73e763197d docs: update AGENTS.md with CI/CD systemctl deploy workflow 2026-04-03 21:40:52 -03:00
db4613b322 Update botserver: force rebuild 2026-04-03 21:39:10 -03:00
0f38e9f08f Update botserver: trigger CI deploy 2026-04-03 21:32:54 -03:00
491e7441c0 Update botserver: fix TransferResult type mismatch 2026-04-03 20:49:30 -03:00
226337a12e Update botserver: fix nested runtime panic in transfer_to_human 2026-04-03 20:44:01 -03:00
e3858db952 Update botserver: use systemctl for deploy 2026-04-03 20:39:52 -03:00
9fcf933cf4 Update botserver: remove error masking in CI deploy 2026-04-03 20:36:42 -03:00
44e374ce97 Update botserver: fix CI deploy workflow 2026-04-03 20:35:53 -03:00
e6ea794f91 Update botserver: fix CI deploy workflow 2026-04-03 20:31:57 -03:00
44df9c79a9 Update botserver: fix CI deploy SSH workflow 2026-04-03 20:20:36 -03:00
788ac4d87d Update botserver: fix deploy kill step 2026-04-03 20:01:24 -03:00
30a51697bf Update botserver: fix CI deploy step hanging 2026-04-03 19:51:48 -03:00
62aa619211 fix(ci): resolve deploy step hanging on pkill
- pgrep -f botserver matched the SSH command itself causing deadlock
- replaced with pkill -f '/opt/gbo/bin/botserver' || true
- added SSH keepalive (ServerAliveInterval=10, ServerAliveCountMax=3)
- added Step 7: explicitly start botserver after deploy
- fixed unquoted SSH_ARGS causing argument splitting
- increased verify sleep from 10s to 15s
2026-04-03 19:44:38 -03:00
1a6d6299d5 docs: update AGENTS.md with CI/CD directives and remove deprecated patterns
- Added explicit CI/CD deployment directives (NEVER use scp, ALWAYS use CI)
- Updated CI runner documentation: runs as gbuser, sccache config, workspace paths
- Fixed deprecated block_in_place code example to use std:🧵:spawn pattern
- Added security headers: NEVER include sensitive data in documentation
- Updated container architecture table with all services
2026-04-03 18:46:24 -03:00
17161624da Update botserver: Fix nested runtime panic in AuthConfig::from_env()
This fixes the critical bug that caused botserver to crash during
initialization with "Cannot start a runtime from within a runtime"
error.

Changes in botserver submodule:
- AuthConfig::from_env() now uses new_current_thread() pattern
- Fixes panic occurring after CORS layer initialization
- Aligns with previous get_database_url_sync fix pattern

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-04-03 14:02:39 -03:00
14e41f1bfc Update botserver: CI deploy SSH key fix for gbuser 2026-04-03 10:18:05 -03:00
c59418061a Update botserver: CI improvements - gbuser, sccache, data dir 2026-04-03 09:40:30 -03:00
d3abe80c1c Update botserver: fix get_database_url_sync nested runtime panic 2026-04-03 09:26:35 -03:00
f333d68cd6 Update botserver: fix nested runtime panic with new_current_thread 2026-04-03 09:17:52 -03:00
ae38a8705e Update botserver: skip local services when remote Vault detected 2026-04-03 07:36:28 -03:00
d6419b57d5 Update botserver: enforce Vault-only secrets policy 2026-04-03 07:12:29 -03:00
c92da26f17 Update botserver: fix env var reading for distributed services 2026-04-02 21:17:32 -03:00
104f0e21e7 Update botui: favicon converted to proper ICO format 2026-04-02 18:44:03 -03:00
a3c3276c06 Update botserver: fix health checks for non-root environments 2026-04-02 18:16:10 -03:00
33dab80fe3 Update botserver submodule 2026-04-02 17:03:22 -03:00
3f13f41fce Update submodules: botserver workflow, botui favicon 2026-04-02 16:50:04 -03:00
17f6c61db9 Update botserver: ci adds Step 7 to restart botserver after deploy 2026-04-02 16:01:45 -03:00
7eb61b3f47 docs: add prod.md 2026-04-02 15:46:28 -03:00
a5cc841915 Update botserver to working commit 7b4753af 2026-04-02 15:38:06 -03:00
35433964e8 Update botserver: Build inside container to fix glibc compatibility 2026-04-02 13:46:27 -03:00
0f4c1d0ecd chore: sync workspace state 2026-04-02 13:38:38 -03:00