Commit Graph

191 Commits

Author SHA1 Message Date
duorameng f0967abc6f refactor(compress): extract 128 bytes threshold to MinCompressSize constant 2026-07-09 22:01:22 +08:00
duorameng b67fa5bd58 perf(compress): optimize short logs by bypass compressing under 128 bytes 2026-07-09 20:36:47 +08:00
duorameng 9cc5ff6642 feat(tasks): refactor tiny_log streaming compression to use ZSTD with zstd: prefix 2026-07-09 20:25:39 +08:00
duorameng b52af6c4fd fix(tasks): fix task cancellation process tree leak, emit cancelled events, and refine status badges styling 2026-06-29 22:34:08 +08:00
duorameng 81e921fa73 feat: implement data import/export and optimize terminal UX 2026-06-28 20:46:00 +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 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
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 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 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 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
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 0e1a95a3f8 feat: implement agent custom scheduler config and queue model #101 2026-05-19 20:23:05 +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 856cdfc137 feat: add scheduler log display 2026-05-14 17:49:59 +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
duorameng e5f9081a64 fix: sync script task table data 2026-05-07 19:26:55 +08:00
duorameng 580e28b80b fix: sync script cron expr 2026-05-07 19:08:31 +08:00
duorameng 6bce5685c7 chore: refact reposync 2026-05-06 18:02:35 +08:00
engigu 31d904ec4f chore: update repo regrex 2026-05-05 22:23:05 +08:00
duorameng 40e37b797c chore: try to add stop task more info #75 2026-04-30 16:08:22 +08:00
duorameng cfdf186b93 chore: add db log masking 2026-04-30 15:53:13 +08:00
duorameng 1c4aea9111 feat: add task pin #89 2026-04-29 18:16:33 +08:00
duorameng 685d79b54e feat: add task pin #89 2026-04-29 18:02:43 +08:00