32 Commits (a9e5706696f7d593e281d33783877b7772e48e19)

Author SHA1 Message Date
  Earl Warren b748d62b46
Add slow SQL query warning (#27545) 4 months ago
  sdvcrx 80d48621cd
Fix incorrect PostgreSQL connection string for Unix sockets (#28865) 5 months ago
  wxiaoguang 2df7563f31
Recommend/convert to use case-sensitive collation for MySQL/MSSQL (#28662) 5 months ago
  wxiaoguang e75e9a0e7e
Fix panic when parsing empty pgsql host (#28708) 5 months ago
  wxiaoguang 1e512b800c
Use `filepath` instead of `path` to create SQLite3 database file (#28374) 6 months ago
  wxiaoguang 17d246cdcc
Fix incorrect pgsql conn builder behavior (#28085) 7 months ago
  Moritz Poldrack 9b6e77c489
refactor postgres connection string building (#27723) 8 months ago
  wxiaoguang ce46834b93
Remove "CHARSET" config option for MySQL, always use "utf8mb4" (#25413) 1 year ago
  wxiaoguang 4647660776
Rewrite logger system (#24726) 1 year ago
  Lunny Xiao 623a539f23
Move pidfile creation from setting to web cmd package (#23285) 1 year ago
  Jason Song c84238800b
Refactor `setting.Database.UseXXX` to methods (#23354) 1 year ago
  Lunny Xiao c53ad052d8
Refactor the setting to make unit test easier (#22405) 1 year ago
  Jason Song 0a85537c79
Support disabling database auto migration (#22053) 1 year ago
  flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 1 year ago
  delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 1 year ago
  Norwin 8a330b6b5b
Add setting `SQLITE_JOURNAL_MODE` to enable WAL (#20535) 1 year ago
  Gusted b7c6ec91ba
Use default values when provided values are empty (#20318) 1 year ago
  Wim cb50375e2b
Add more linters to improve code readability (#19989) 2 years ago
  Lunny Xiao 3c6c150740
Add deprecated log when using MySQL with utf8 charset (#19952) 2 years ago
  6543 54e9ee37a7
format with gofumpt (#18184) 2 years ago
  wxiaoguang a6f961fba4
Refactor install page (db type) (#17919) 2 years ago
  Lunny Xiao 29cc169d20
Fix bug when read mysql database max lifetime (#17682) 2 years ago
  zeripath 5e0a3784ea
When reinitialising DBConfig reset the database use flags (#13796) 3 years ago
  Lunny Xiao 80a6b0f5bc
Avatars and Repo avatars support storing in minio (#12516) 3 years ago
  zeripath fcabbae168
Set utf8mb4 as the default charset on MySQL if CHARSET is unset (#12563) 3 years ago
  Stormxx 26e931ae34
fix a spelling error (#12163) 4 years ago
  zeripath 9ecf732abc
Prevent panic on empty HOST for mysql (#11850) 4 years ago
  zeripath e8955173a9
Default MSSQL port 0 to allow automatic detection by default (#11642) 4 years ago
  guillep2k 4a2d23981d
Fix SQLite concurrency problems by using BEGIN IMMEDIATE (#10368) 4 years ago
  guillep2k ad1b6d439f Add support for database schema in PostgreSQL (#8819) 4 years ago
  zeripath d8161ee3fd
Expose db.SetMaxOpenConns and allow non MySQL dbs to set conn pool params (#8528) 4 years ago
  Lunny Xiao f83db078f0 Move database settings from models to setting (#7806) 4 years ago