Commit Graph

915 Commits

Author SHA1 Message Date
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 48db87ddae chore(docker): add openssh-client to base images 2026-06-16 11:40:36 +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
duorameng b54a7f476a style(monitor): optimize chart layout for large screens to be more compact and coordinated 2026-06-14 23:07:38 +08:00
engigu 80c8703661 Merge pull request #129 from little-sparkleeesss/main
feat(database): support configurable SSL mode for PostgreSQL and MySQL
2026-06-14 23:07:05 +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 982d8bab62 chore(monitor): remove unused icon imports in Monitor.vue 2026-06-12 19:58:32 +08:00
duorameng 136836ac2f docs: update changelog for scheduler and panel resource monitoring 2026-06-12 19:50:43 +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 626d20c9b8 feat: add dependent tasks view for environments (#126)
Add a dialog in the environment variables list to view which tasks depend on a specific variable/secret.
2026-06-12 09:16:24 +08:00
duorameng b1509a3afb feat: unify directory tree select component and support file sorting (#110) 2026-06-10 17:33:23 +08:00
duorameng bf2cc7da0e feat(editor): implement tree directory selector for file creation #110 2026-06-10 16:57:44 +08:00
duorameng 166afb1f97 chore(ci): use macos-latest for binary and docs build jobs 2026-06-10 09:04:06 +08:00
duorameng 683792045f build: fix race condition in parallel agent build by using isolated temporary directories 2026-06-09 19:28:46 +08:00
duorameng ec5c1b2a79 build: fix build_agent function scope issue in parallel Dockerfile build 2026-06-09 19:22:27 +08:00
duorameng 802d169c41 build: parallelize agent builds in Dockerfile to speed up compilation 2026-06-09 19:18:32 +08:00
duorameng 94a6b007c0 chore: force override esbuild and vite to fix moderate security vulnerabilities in docs 2026-06-09 19:12:27 +08:00
duorameng 672fa77b2d chore: fix remaining dependabot security vulnerabilities (hugo, postcss, dompurify, fast-uri) 2026-06-09 19:06:54 +08:00
duorameng 112a680312 chore: update go modules to fix security vulnerabilities 2026-06-09 18:58:23 +08:00
duorameng 39f1c6f61e chore: fix security vulnerabilities in docs via npm audit fix 2026-06-09 18:55:07 +08:00
duorameng 41c2b71d79 chore: fix security vulnerabilities via npm audit fix 2026-06-09 18:49:21 +08:00
duorameng 729109f887 style: optimize mobile layout and heights for history log details 2026-06-09 18:40:59 +08:00
duorameng a0a6f087e2 fix: conditional header height for LogDetailCard fullscreen mode 2026-06-09 17:13:27 +08:00
duorameng 8cff03e4ab style: fix header alignment and code block padding in log details 2026-06-09 17:08:40 +08:00
duorameng 77cec68d4d style: decrease font size of sequence numbers in lists 2026-06-09 17:00:28 +08:00
duorameng 53eca3d51c Merge branch 'main' of github-duorameng:engigu/baihu-panel 2026-06-09 16:17:53 +08:00
duorameng 28779cb70f refactor: use fallback clipboard for non-https env (#111) 2026-06-09 16:15:25 +08:00
duorameng da4f08e9a1 refactor: use fallback clipboard for non-https env (#111) 2026-06-09 16:13:39 +08:00
duorameng fc04bd9b0c style: optimize notify channel dialog labels alignment 2026-06-09 08:37:26 +08:00
duorameng 34413d1eae style(ui): prevent auto-focus on input when opening edit env dialog 2026-06-08 20:29:26 +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
duorameng e59761fd87 refactor(web): extract components and refactor Agents.vue
- Extracted AgentListTab and TokenListTab

- Extracted Dialog components for Agents and Tokens

- Refactored Agents.vue into a lightweight container
2026-06-08 09:53:53 +08:00
duorameng f034c3d882 refactor(web): extract LineNumberTextarea and refactor Environments.vue
- Extracted reusable LineNumberTextarea component

- Refactored Environments.vue by extracting EditEnvDialog and DeleteEnvDialog

- Fixed Sonner toast font inheritance

- Removed fixed placeholder font in LineNumberTextarea
2026-06-08 09:03:55 +08:00
duorameng 39c714c050 refactor(web): split Languages.vue into sub-components 2026-06-08 08:48:53 +08:00