Commit Graph

37 Commits

Author SHA1 Message Date
duorameng 90f06de298 feat: add openconnect 2026-06-25 21:33:50 +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 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 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 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 6bce5685c7 chore: refact reposync 2026-05-06 18:02:35 +08:00
engigu 6c8aba2327 fix: pg sql error #67 2026-03-25 20:43:52 +08:00
engigu 6461033a83 chore: speedup bootstrap and migrate 2026-03-24 09:03:27 +08:00
engigu 1f80f6249e fix: logs viewer scoller 2026-03-16 09:00:44 +08:00
engigu 3ac230cdf7 feat: add dsn support #55 2026-03-16 08:33:48 +08:00
engigu 58f814b47a feat: add env disenable -- remove useless code 2026-03-13 14:13:26 +08:00
engigu 709aa8104d feat: add env disenable 2026-03-13 14:09:43 +08:00
engigu 77ceef7616 feat: opt message logs page 2026-03-09 21:31:54 +08:00
engigu 77cf12c9b6 feat: add notify icon read 2026-03-09 18:10:23 +08:00
engigu a444e9b17b fix: pg text error #48 2026-03-08 20:51:55 +08:00
engigu f4f955d721 fix: sqlite atabase is locked #20 2026-03-06 15:59:03 +08:00
engigu 81b8d2a93d feat: add message push function call 2026-03-04 23:01:18 +08:00
engigu 4589c64923 feat: refact id column define 2026-03-03 18:07:41 +08:00
engigu c1c1d69e66 feat: complete mise env base code 2026-02-13 17:27:55 +08:00
engigu f693c32554 feat: refact timezone calling 2026-02-09 18:39:41 +08:00
engigu 43a023d683 feat: use new package name 2026-01-18 17:31:04 +08:00
engigu 7f83401b2e fix: agent page and agent cmd 2025-12-30 22:25:15 +08:00
engigu 78c3707cce feat: add agent start code 2025-12-30 22:25:15 +08:00
engigu b71b046f0f feat: add agent exec 2025-12-30 22:25:15 +08:00
engigu 6a23b96271 fix: logging format 2025-12-27 12:42:43 +08:00
engigu 07259ae00d feat: add deps page 2025-12-23 23:02:47 +08:00
engigu d8b5b75eaf feat: cron task style fix 2025-12-21 14:30:59 +08:00
engigu c06030fe27 chore: opt settings code 2025-12-21 10:23:25 +08:00
engigu 362237241e feat: Initial commit 2025-12-20 09:30:16 +08:00