Commit Graph

303 Commits

Author SHA1 Message Date
duorameng 71a633f76a fix: add logging for postMigrations (#131) 2026-06-15 10:48:18 +08:00
duorameng f8b288cef8 fix: ensure data migrations run even when schema is unchanged (#131) 2026-06-15 10:39:53 +08:00
duorameng 98d1256f55 fix: resolve data loss in task environments and tags migration (#131) 2026-06-15 10:28:38 +08:00
little-sparkleeesss ae273d5b92 feat(database): support configurable SSL mode for PostgreSQL and MySQL
Add ssl_mode configuration option to allow users to customize SSL/TLS
policy for database connections instead of hardcoding sslmode=disable
for PostgreSQL and having no TLS support for MySQL.

Changes:
- database.Config, DatabaseConfig: add SSLMode field
- PostgreSQL DSN: replace hardcoded sslmode=disable with configurable
value
- MySQL DSN: append &tls=<SSLMode> parameter when SSLMode is set
- Full config pipeline: INI/env -> DatabaseConfig -> Config -> DSN ->
subprocess
- New env var BH_DB_SSL_MODE and ini key [database] ssl_mode
- Updated config example and documentation
2026-06-13 23:19:03 +08:00
duorameng 0533fe6c9c feat(monitor): hide host metrics in demo mode 2026-06-12 22:12:56 +08:00
duorameng d5c4680fc5 feat(monitor): enhance monitor dashboard with real-time physical host metrics 2026-06-12 19:44:57 +08:00
duorameng 633d683c0e feat: implement precise worker status tracking and monitoring UI 2026-06-12 18:48:33 +08:00
duorameng 5626873454 fix: resolve task timeout bug and refactor remote executor wait logic
- Prevent hardcoded 30-minute timeout when timeout is set to 0.
- Fix zombie processes by actively stopping tasks during deletion.
- Refactor remote execution wait logic to properly handle ctx.Done() and agent disconnections.
2026-06-12 17:02:27 +08:00
duorameng b1509a3afb feat: unify directory tree select component and support file sorting (#110) 2026-06-10 17:33:23 +08:00
duorameng 073916b97a fix(agent): broadcast task updates to agents on global env changes and use constant for task_env 2026-06-08 20:18:11 +08:00
duorameng 56587cacda Revert "Fix: add migration for old environment variable tags"
This reverts commit 79f757052e.
2026-06-08 20:01:45 +08:00
duorameng 79f757052e Fix: add migration for old environment variable tags 2026-06-08 19:52:05 +08:00
duorameng 50038cee3f Fix: populate relations in GetTaskByID and agent GetTasks 2026-06-08 19:46:10 +08:00
duorameng ddbb0e9f39 Fix: add DataRelation to backup and clean relations on repo task delete 2026-06-08 19:41:21 +08:00
duorameng 4fbddd39fe Fix: ensure reposync uses DataRelation for saving tags 2026-06-08 19:38:16 +08:00
duorameng c3807db23a Refactor: Extract DataRelationService and unify tag/env relation management 2026-06-08 19:26:52 +08:00
duorameng 7f7d109438 feat(env): add tag support for environment variables and task injection
- Add generic DataRelation and DataStorage models for tags
- Update EnvService and EnvController to support tag assignment, querying, and filtering
- Integrate EnvTagsConfig in Env settings for managing environment tags
- Enhance TaskDialog environment selection to support searching and displaying env tags
- Fix missing TaskLangConfig import in RepoDialog
2026-06-08 17:39:24 +08:00
Matt Van Horn 9a2ca526a7 feat: add zip download for folders in file manager
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-03 01:27:35 -07:00
duorameng 1863ed58cf feat: add OpenAPI support for task creation 2026-06-01 17:22:02 +08:00
duorameng 323a58e041 feat: implement custom WebUI support with dynamic frontend replacement
- Add WebUI service and controller for managing custom frontend packages

- Allow overriding default static assets when custom WebUI is activated

- Add Make commands for packing custom WebUI distributions

- Update UI settings to support uploading, activating and deleting WebUIs

- Document WebUI feature in README and changelog
2026-05-29 11:50:09 +08:00
duorameng 4c283a60d5 refactor: extract path logic to path.go and run go fmt on codebase 2026-05-22 14:52:51 +08:00
duorameng b6fd889661 chore(db): increase GORM slow SQL threshold to 500ms 2026-05-22 09:41:50 +08:00
duorameng 0e1a95a3f8 feat: implement agent custom scheduler config and queue model #101 2026-05-19 20:23:05 +08:00
duorameng a807522eed fix(network): handle port mismatch in CSRF Origin check caused by nginx Host configuration 2026-05-19 15:31:11 +08:00
duorameng cded935c4d style(logs): translate cleanup categories to Chinese and optimize log detail mobile layout 2026-05-19 09:40:16 +08:00
duorameng a31c4b9f03 feat(deps): implement batch installation, manifest parsing/importing, and responsive mobile UI/UX improvements 2026-05-18 19:25:48 +08:00
duorameng 9b4826bbee Revert "feat(deps): implement batch installation and manifest-based (requirements.txt/package.json) parser and importer"
This reverts commit cbdcbed7a0.
2026-05-18 17:53:11 +08:00
duorameng cbdcbed7a0 feat(deps): implement batch installation and manifest-based (requirements.txt/package.json) parser and importer 2026-05-18 17:51:40 +08:00
duorameng 79e0f44aaa perf(constant): prioritize CWD parent check in ResolveAppRootDir 2026-05-18 17:30:00 +08:00
duorameng 28346bf6b4 fix: decouple project root resolution from custom BH_CONFIG_PATH env 2026-05-18 17:26:30 +08:00
duorameng e8feeb0fcd fix(constant): resolve path variables absolutely relative to project root to prevent relative path CWD resolution bugs 2026-05-18 17:21:12 +08:00
duorameng 856cdfc137 feat: add scheduler log display 2026-05-14 17:49:59 +08:00
duorameng d08a53f2b2 chore: update dev host 2026-05-14 09:02:16 +08:00
duorameng c211a19dd8 fix: try to fix cmd lost init envs 2026-05-13 18:00:57 +08:00
duorameng f498c4fcd5 feat: add cmd task call 2026-05-13 17:17:50 +08:00
duorameng d6b3ad6ae9 chore: refactor lint code 2026-05-12 18:42:18 +08:00
duorameng d187b1e1f3 fix: remark get and set -- refactor task params #100 2026-05-12 16:36:57 +08:00
duorameng e37deac281 fix: remark get and set #100 2026-05-12 16:27:07 +08:00
duorameng 97ab8d8927 fix: pre and post command execute #95 2026-05-11 19:51:36 +08:00
duorameng 02fe448c0f fix: retry times count error #96 2026-05-11 19:40:18 +08:00
duorameng 213ef25e2b fix: agent update logs erorr #97 2026-05-11 19:34:32 +08:00
duorameng 3897bfc281 feat: add push message - wxpusher #98 2026-05-11 19:24:04 +08:00
duorameng 0dad9dd541 chore: message page list support sharedworker.js 2026-05-09 09:02:43 +08:00
duorameng 9c174d8db2 chore: history page support sharedworker.js 2026-05-09 08:42:15 +08:00
engigu 93b193439f chore: update scheduler execute command log 2026-05-08 22:07:38 +08:00
duorameng a3871e75b7 feat: add pre and post command 2026-05-08 20:18:00 +08:00
duorameng 2f88fa0718 chore: update repo sync 2026-05-08 18:04:34 +08:00
duorameng 8649dbbd19 chore: update repo sync workdirt 2026-05-08 18:00:25 +08:00
duorameng df7cba97a8 chore: update repo sync apth 2026-05-08 12:02:12 +08:00
duorameng 4bf9ea8802 chore: add sharedworker for task stauts 2026-05-07 20:12:30 +08:00