Commit graph

510 commits

Author SHA1 Message Date
9d87f4b60d Update botserver: fix remaining compilation errors 2026-04-04 22:53:30 -03:00
a492d1abc1 Update botserver: fix type annotations 2026-04-04 22:39:56 -03:00
27c1cd9671 Update botserver: fix compilation errors 2026-04-04 22:27:25 -03:00
50798824f8 Update botserver: fix leftover code 2026-04-04 22:19:10 -03:00
737fb45fc0 Update botserver: unify email sending, remove Gmail hardcoded defaults 2026-04-04 22:16:54 -03:00
ff1680cafc Update botserver: fix SMTP port 25 with credentials 2026-04-04 21:46:40 -03:00
0dcd46bfe7 Update botserver: remove private ClientId usage 2026-04-04 20:59:13 -03:00
55043a4d8a Update botserver: fix EHLO hostname for Stalwart 2026-04-04 20:34:55 -03:00
6a97db0931 Update botserver: fix SMTP transport for local Stalwart 2026-04-04 20:26:14 -03:00
b1c3800ca8 Update botserver: log email send errors 2026-04-04 19:03:42 -03:00
c4c52264db Update botserver: fix email fallback chain empty map check 2026-04-04 18:46:22 -03:00
277789e0bc Update botserver: fix email tracking non-fatal 2026-04-04 18:13:58 -03:00
c2d60d7cb8 Update botserver: fix CI build errors 2026-04-04 17:49:53 -03:00
72e6992f33 Update botserver: remove dead code in email/types.rs 2026-04-04 17:39:23 -03:00
9016868345 Update botserver: fix mime type handling 2026-04-04 17:30:08 -03:00
e7a42b5011 Update botserver: implement real email sending via lettre + Vault 2026-04-04 17:17:09 -03:00
1bd81a4c2c Update botserver: Generalize WhatsAppAdapter::new to accept &AppState 2026-04-04 15:46:31 -03:00
a367d8fca5 Update botserver: Add column drop protection in table schema sync 2026-04-04 11:03:05 -03:00
932fc30cea Update botserver: Replace hardcoded botserver-stack paths with dynamic helpers 2026-04-04 09:25:06 -03:00
bb79ac931f Update botserver: Fix anyhow error type in AuthConfig 2026-04-04 08:29:04 -03:00
99c64d32ff Update botserver: Fix AuthConfig nested runtime panic 2026-04-04 08:25:56 -03:00
80494ea4fe Update botserver: Fix SET USER nested runtime panic 2026-04-04 08:01:21 -03:00
7ee9d42560 Update botserver: Fix nested runtime panic in Rhai callbacks 2026-04-04 07:35:41 -03:00
272f56c79d Update botserver: fix clippy warnings (0 warnings) 2026-04-03 22:35:20 -03:00
fb02e72b8f Update botserver: force rebuild 2026-04-03 21:42:44 -03:00
50a3718d82 docs: update AGENTS.md with CI/CD systemctl deploy workflow 2026-04-03 21:40:52 -03:00
373bb6a6e4 Update botserver: force rebuild 2026-04-03 21:39:10 -03:00
ada9db7a42 Update botserver: trigger CI deploy 2026-04-03 21:32:54 -03:00
fb0b7f079f Update botserver: fix TransferResult type mismatch 2026-04-03 20:49:30 -03:00
92d8a0d858 Update botserver: fix nested runtime panic in transfer_to_human 2026-04-03 20:44:01 -03:00
1ae46149ee Update botserver: use systemctl for deploy 2026-04-03 20:39:52 -03:00
9068bc25f8 Update botserver: remove error masking in CI deploy 2026-04-03 20:36:42 -03:00
80c798ed05 Update botserver: fix CI deploy workflow 2026-04-03 20:35:53 -03:00
41cf536cd4 Update botserver: fix CI deploy workflow 2026-04-03 20:31:57 -03:00
901153803f Update botserver: fix CI deploy SSH workflow 2026-04-03 20:20:36 -03:00
a8521d7480 Update botserver: fix deploy kill step 2026-04-03 20:01:24 -03:00
f5b954df76 Update botserver: fix CI deploy step hanging 2026-04-03 19:51:48 -03:00
1bf9e1872b 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
a377af5ba3 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
0dbc7cb081 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
8eecc7f871 Update botserver: CI deploy SSH key fix for gbuser 2026-04-03 10:18:05 -03:00
5bebba4d7f Update botserver: CI improvements - gbuser, sccache, data dir 2026-04-03 09:40:30 -03:00
60ef1d0562 Update botserver: fix get_database_url_sync nested runtime panic 2026-04-03 09:26:35 -03:00
1df0ea8626 Update botserver: fix nested runtime panic with new_current_thread 2026-04-03 09:17:52 -03:00
54639690e2 Update botserver: skip local services when remote Vault detected 2026-04-03 07:36:28 -03:00
04454f2274 Update botserver: enforce Vault-only secrets policy 2026-04-03 07:12:29 -03:00
3dadec70a8 Update botserver: fix env var reading for distributed services 2026-04-02 21:17:32 -03:00
76a74b87f2 Update botui: favicon converted to proper ICO format 2026-04-02 18:44:03 -03:00
264bd6f4c9 Update botserver: fix health checks for non-root environments 2026-04-02 18:16:10 -03:00
466bd729af Update botserver submodule 2026-04-02 17:03:22 -03:00