Commit Graph

319 Commits

Author SHA1 Message Date
duorameng 78d9705944 fix: remove unused runtime import in api_routes.go 2026-06-25 21:33:51 +08:00
duorameng 2873f3cec0 fix: pass node as pointer correctly in getClientAndURL 2026-06-25 21:33:51 +08:00
duorameng 19584d583a fix: comment out debug/goroutines endpoint and support tunnel proxy in sync APIs 2026-06-25 21:33:51 +08:00
duorameng 90f06de298 feat: add openconnect 2026-06-25 21:33:50 +08:00
duorameng ea4cbb0370 fix(notify): fix and optimize task execution log notification #133 2026-06-22 17:40:34 +08:00
duorameng db24fdfa30 fix(#135): migrate old task envs and tags to data relations during restore 2026-06-22 09:44:42 +08:00
duorameng 071f882ab2 fix(notify): optimize log truncation by rune instead of byte #133 2026-06-21 11:52:44 +08:00
duorameng 9e35207925 feat: add version command to output current version number 2026-06-18 23:16:55 +08:00
duorameng 19374e7054 fix(terminal): prevent UTF-8 chunk truncation falling back to GBK
This fixes an issue where outputting large amounts of Chinese text caused the 4096-byte chunk to split a multi-byte UTF-8 character, falsely triggering the GBK fallback logic and resulting in garbled text.
2026-06-18 17:51:54 +08:00
duorameng e2c934558c feat(task): support custom repo sync dir name and fix UI copy (#132) 2026-06-18 10:43:49 +08:00
duorameng 2141831075 feat(reposync): support custom directory name for repo sync (#132) 2026-06-18 09:59:53 +08:00
duorameng b135763280 feat: add support for custom cookie name via config to avoid multi-instance conflicts 2026-06-16 16:26:52 +08:00
duorameng 2085cbbed2 fix: make demo disk usage static 2026-06-15 11:56:30 +08:00
duorameng 25532f2014 feat: add dynamic mock metrics for demo mode 2026-06-15 11:47:55 +08:00
duorameng 0d6f7c8a4e refactor: extract migration constants 2026-06-15 11:05:56 +08:00
duorameng 7a5d66e148 fix: add logging for postMigrations in early return (#131) 2026-06-15 10:49:25 +08:00
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