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
4c283a60d5
refactor: extract path logic to path.go and run go fmt on codebase
2026-05-22 14:52:51 +08:00
duorameng
cfdf186b93
chore: add db log masking
2026-04-30 15:53:13 +08:00
limitcool
82bb54e97c
fix: preserve runtime DB config for reposync subprocess
2026-04-01 13:57:21 +08:00
engigu
cc3316c4b8
feat: add secret feature
2026-03-27 14:51:29 +08:00
engigu
05104415ce
fix: repo sync error
2026-03-19 16:08:02 +08:00
engigu
3ac230cdf7
feat: add dsn support #55
2026-03-16 08:33:48 +08:00
engigu
fdfb8fc06a
feat: add pprof function
2026-03-10 17:02:25 +08:00
engigu
863a298609
feat: openapi supoort
2026-03-05 22:22:46 +08:00
engigu
9fec4ecdb5
feat: add openapi
2026-03-05 20:19:35 +08:00
engigu
69cb727b87
feat: add retry times and backup users
2026-02-28 14:44:32 +08:00
engigu
ff8fff1dc2
feat: update readme docs
2026-02-13 18:47:48 +08:00
engigu
43a023d683
feat: use new package name
2026-01-18 17:31:04 +08:00
engigu
ff6faa229c
feat: add url prefix path
2026-01-13 18:18:50 +08:00
engigu
6a23b96271
fix: logging format
2025-12-27 12:42:43 +08:00
engigu
9c77601215
feat: add demo site config
2025-12-25 21:46:06 +08:00
engigu
7193571f1d
feat: support env start
2025-12-24 08:47:02 +08:00
engigu
8327487493
chore: remove useless ini
2025-12-22 18:24:02 +08:00
engigu
c06030fe27
chore: opt settings code
2025-12-21 10:23:25 +08:00
engigu
a4d73a6f89
feat: apply user settings to effect
2025-12-20 13:30:08 +08:00
engigu
362237241e
feat: Initial commit
2025-12-20 09:30:16 +08:00