7cbfe43319
Update attendance, keywords, calendar, compliance, console, core, drive, email, llm, msteams, security, and tasks modules
2025-12-24 09:29:27 -03:00
883c6d07e1
Remove all code comments and fix ratatui version
2025-12-23 18:40:58 -03:00
e2a5bf091a
Update server components and keywords
2025-12-23 15:52:35 -03:00
a491cc13a6
Update botserver
2025-12-21 23:40:43 -03:00
dd91fc2d3b
refactor: fix TaskEngine feature gate, thread-safe Extensions with Arc<RwLock>
2025-12-20 19:57:57 -03:00
5619cf2e16
fix: add DNS configuration to containers before apt-get
...
- Add Google DNS (8.8.8.8, 8.8.4.4) to /etc/resolv.conf
- Fixes 'Temporary failure resolving' errors in containers
2025-12-19 22:32:57 -03:00
2cff6bf430
fix: make exec_in_container return errors instead of silently warning
...
- Changed from warn() to error() and return Err()
- Added info logging for each command executed
- Now we can see why downloads/installs fail
2025-12-19 19:59:15 -03:00
27b5184f82
fix: pass VAULT_ADDR inside container via bash -c
...
- env() on Command only sets host env, not container env
- Use bash -c with VAULT_ADDR=... prefix for init and unseal commands
2025-12-19 13:19:50 -03:00
110ca2f3de
fix: store vault-unseal-keys in working directory, not /opt/gbo/secrets
2025-12-19 12:28:22 -03:00
c750e26c3b
feat: auto-generate .env and vault-unseal-keys on vault install
...
- Vault is automatically initialized with 5 keys, threshold 3
- Creates /opt/gbo/secrets/vault-unseal-keys with chmod 600
- Creates or appends to .env with VAULT_ADDR, VAULT_TOKEN, VAULT_UNSEAL_KEYS_FILE
- Vault is automatically unsealed after init
- No manual steps required for initial setup
2025-12-19 12:20:55 -03:00
4062c79cce
feat: use secrets file for Vault auto-unseal (more secure)
...
- VAULT_UNSEAL_KEYS_FILE points to /opt/gbo/secrets/vault-unseal-keys
- Unseal keys stored in separate file with chmod 600
- Not in .env (which might be in git, logs, etc.)
- Output shows step-by-step setup instructions
2025-12-19 11:36:00 -03:00
2a8f884864
fix: improve container IP detection and add VAULT_UNSEAL_KEYS to .env
...
- Wait for network before getting IP
- Try hostname -I as fallback for IP detection
- Add VAULT_UNSEAL_KEY_1/2/3 to .env output for auto-unseal
- botserver can auto-unseal Vault on startup using these keys
2025-12-19 11:02:27 -03:00
3eb86772fa
feat: show connection info after container install
...
- Only Vault returns .env variables (VAULT_ADDR, VAULT_TOKEN)
- All other components show 'botserver vault put' commands to store credentials
- Added proper vault init/unseal instructions
- CLI now prints InstallResult with IP, ports, and connection info
2025-12-19 10:49:09 -03:00
79e83dd3b8
fix: install base packages (wget, unzip, curl) in containers before download
...
- Vault download was failing because unzip was not installed
- Now all containers get wget, unzip, curl, ca-certificates as base packages
- Also added vault config.hcl generation in pre-install commands
2025-12-19 09:48:15 -03:00
2c61c816b5
fix: allow container install without Vault configured
...
- Make create_container_service work without DATABASE_URL from Vault
- Components like vault, vector_db that don't need DB can now install first
- DB_PASSWORD defaults to empty string when Vault is not available
2025-12-19 09:33:56 -03:00
8efeeaed4b
fix: make container installation fully non-interactive
...
- Add automatic lxd init --auto before container creation
- Use DEBIAN_FRONTEND=noninteractive for apt-get
- Add apt-get update -qq before installing packages
2025-12-18 21:20:47 -03:00
3987546ebc
feat: add fallback images for LXC container creation and install-dependencies.sh
...
- Try ubuntu:24.04, ubuntu:22.04, images:debian/12, images:debian/11 in order
- Clean up failed container attempts before trying next image
- Add install-dependencies.sh script for runtime library installation
- Fixes 404 error when LXD image server has outdated cached images
2025-12-18 21:09:26 -03:00
5d5668fee2
chore: consolidate migrations 6.1.1-6.1.3 into 6.1.0_enterprise_suite
...
- Integrate config ID type fixes (TEXT → UUID)
- Integrate connected_accounts, session_account_associations, account_sync_items
- Integrate bot hierarchy (parent_bot_id, enabled_tabs_json, inherit_parent_config)
- Integrate email_monitors, folder_monitors, folder_change_events, email_received_events
- Integrate user_organizations table
- Remove separate 6.1.1, 6.1.2, 6.1.3 migration folders
- Maximum version remains 6.1.0 per project standards
2025-12-18 18:52:52 -03:00
5b552f633f
ci: debug build, no swap (fastest)
2025-12-18 17:33:04 -03:00
44e1281b63
ci: fix swap setup and optimize release build for low memory
2025-12-18 17:14:36 -03:00
57bf5b8754
feat: add ON EMAIL and ON CHANGE keywords for event-driven monitoring
...
- Add ON EMAIL keyword with FROM/SUBJECT filters
- Add ON CHANGE keyword with account:// syntax (gdrive, onedrive, dropbox, local)
- Add TriggerKind::EmailReceived (5) and FolderChange (6)
- Add migration 6.1.3_bot_hierarchy_monitors with:
- email_monitors, folder_monitors tables
- email_received_events, folder_change_events tables
- user_organizations table
- Bot hierarchy: parent_bot_id, enabled_tabs_json, inherit_parent_config
- Add 26 unit tests (12 on_email, 12 on_change, 2 trigger_kind)
- Update PROMPT.md with weekly maintenance checklist
- Zero warnings, zero errors
2025-12-18 16:17:58 -03:00
ff73f0b4c6
CI: add swap and staged build to prevent OOM
2025-12-18 14:08:47 -03:00
49b2886614
Add rotate-secret and rotate-secrets commands for credential rotation
2025-12-18 11:20:31 -03:00
f4d2172366
Add version --all command
2025-12-18 11:06:19 -03:00
cb921c60f9
CI: reduce codegen-units to 1 to prevent OOM
2025-12-18 10:41:33 -03:00
952a822e1d
Add vault CLI commands for secret migration
2025-12-18 09:40:16 -03:00
0f8e8ceab8
CI: add libpq-dev for PostgreSQL linking
2025-12-17 22:40:45 -03:00
db9e1b875c
CI: use debug build for fastest compilation
2025-12-17 22:01:11 -03:00
f59283cbb8
CI profile: disable LTO, 16 codegen units for max speed
2025-12-17 22:00:38 -03:00
355708e7cd
Use CI profile: thin LTO + 4 codegen units for faster builds
2025-12-17 21:59:52 -03:00
b5da997c6d
Reduce memory usage in CI: limit parallel jobs
2025-12-17 21:56:28 -03:00
848a933a84
Disable botserver-bundle workflow
2025-12-17 20:44:01 -03:00
cf645a1168
fix: remove unused error import
2025-12-17 18:38:34 -03:00
6bc6a35948
fix: resolve all warnings - wire up services properly
2025-12-17 17:41:37 -03:00
8405f1cfbb
Fix warnings: add Debug derive, prefix unused vars
2025-12-17 11:26:58 -03:00
2127118b22
Save build logs to /opt/gbo/logs/
2025-12-16 22:29:29 -03:00
b4c6ac46cb
Add debug output to diagnose silent CI failures
2025-12-16 21:13:12 -03:00
d80af79312
Simplify: build only Linux x86_64 for now
2025-12-16 20:40:40 -03:00
c3bd934395
Fix: use full paths for cargo to work across all build steps
2025-12-16 19:59:05 -03:00
84b8aaa50e
Fix: rename gbserver to botserver, use rustup for Rust install, remove macOS
2025-12-16 19:17:47 -03:00
292c7032ab
Fix: use git clone for dependencies outside workspace
2025-12-16 17:20:36 -03:00
8cfb081eb5
Add checkout of botlib dependency in CI
2025-12-16 17:00:14 -03:00
ef0e7d1b88
Add Cargo caching for faster builds
2025-12-16 16:35:22 -03:00
d0d844994d
Add Forgejo CI workflows - botserver.yaml and botserver-bundle.yaml with cross-platform builds
2025-12-16 13:25:26 -03:00
37c1cee805
Fix: Skip starting components that are already running (minio, valkey)
2025-12-16 10:48:42 -03:00
ac47b89dbd
Update calendar and email modules
2025-12-15 23:16:08 -03:00
f1f0436fdd
Fix vault health check - quote URL to prevent & being interpreted as shell background
2025-12-15 18:04:53 -03:00
562d3cf0e4
Add debug logs to package manager start function
2025-12-15 17:50:03 -03:00
66f340e20a
Fix Vault retry logic - wait up to 20 seconds for vault to start
2025-12-15 17:37:00 -03:00
54af69e761
Fix Vault startup: detect connection refused and start vault properly
2025-12-15 17:32:15 -03:00