Commit Graph

32 Commits (7a6260f889e80856e2fb00bdfb8df90ec7652536)

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