Commit Graph

35 Commits (276500c314db1c0ef360088753861ffc010a99da)

Author SHA1 Message Date
wxiaoguang a920fcfd91
Fix db engine (#32351) 4 weeks ago
Lunny Xiao a303c973e0
Fix various problems around projects board view (#30696) 7 months ago
silverwind 74f0c84fa4
Enable more `revive` linter rules (#30608) 7 months ago
wxiaoguang 4c6e2da088
Improve "must-change-password" logic and document (#30472) 7 months ago
Lunny Xiao f0bfad29ea
Replace MSSQL driver with a better maintained version (#30390) 8 months ago
Earl Warren b748d62b46
Add slow SQL query warning (#27545) 9 months ago
wxiaoguang 2df7563f31
Recommend/convert to use case-sensitive collation for MySQL/MSSQL (#28662) 11 months ago
wxiaoguang e5d8c4b8d4
Avoid cycle-redirecting user/login page (#28636) 11 months ago
delvh e10ba5e5e0
Rename `Sync2` -> `Sync` (#26479) 1 year ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 1 year ago
Lunny Xiao 71446eee99
Fix wrong warn messages in migration steps (#25475) 1 year ago
Jason Song c84238800b
Refactor `setting.Database.UseXXX` to methods (#23354) 2 years ago
KN4CK3R 0ae1ed749d
Remove all package data after tests (#22984) 2 years ago
KN4CK3R 0e2d04601a
Update xorm (#22094) 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
zeripath 716fcfcf72
Make every not exist error unwrappable to a fs.ErrNotExist (#20891) 2 years ago
zeripath 4909493a9f
Allow manager logging to set SQL (#20064) 2 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 2 years ago
Lunny Xiao 26095115f4
Move some repository related code into sub package (#19711) 3 years ago
Lunny Xiao 12c742f8dc
Fix order by parameter (#19849) 3 years ago
Lauris BH 8038610a42
Automatically pause queue if index service is unavailable (#15066) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 3 years ago
wxiaoguang 042cac5fed
Improve install code to avoid low-level mistakes. (#17779) 3 years ago
Lunny Xiao d710af6669
Remove NewSession method from db.Engine interface (#17577) 3 years ago
wxiaoguang 750a8465f5
A better go code formatter, and now `make fmt` can run in Windows (#17684) 3 years ago
wxiaoguang 81926d61db
Decouple unit test, remove intermediate `unittestbridge` package (#17662) 3 years ago
wxiaoguang df64fa4865
Decouple unit test code from business code (#17623) 3 years ago
Lunny Xiao 69b61d4373
Fix bug on admin subcommand (#17533) 3 years ago
Lunny Xiao 63c0dc89ef
Rename db Engines related functions (#17481) 3 years ago
zeripath e6e3b212b3
Run Migrate in Install rather than just SyncTables (#17475) 3 years ago
Lunny Xiao f494776931
Use a variable but a function for IsProd because of a slight performance increment (#17368) 3 years ago
zeripath 9302eba971
DBContext is just a Context (#17100) 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 3 years ago
zeripath e0853d4a21
Add API Token Cache (#16547) 3 years ago
Lunny Xiao 7224cfc578
Upgrade xorm to v1.2.2 (#16663) 3 years ago
Romain 14762abf0b
Separate open and closed issue in metrics (#16637) 3 years ago
KN4CK3R 44b8b07631
Add tag protection (#15629) 3 years ago
Lunny Xiao b223d36195
Rework repository archive (#14723) 3 years ago
KN4CK3R 440039c0cc
Add push to remote mirror repository (#15157) 3 years ago
Lunny Xiao 0393a57511
Add a new table issue_index to store the max issue index so that issue could be deleted with no duplicated index (#15599) 4 years ago
zeripath edb838997c
Fix setting version table in dump (#15753) 4 years ago
zeripath 39ef6f83d5
Create Proper Migration Tests (#15116) 4 years ago
Bo-Yi Wu 167b0f46ef
chore(models): rewrite code format. (#14754) 4 years ago
6543 a4148c0f12
Repository transfer has to be confirmed, if user can not create repo for new owner (#14792) 4 years ago
zeripath 0a9a484e1e
Create DB session provider(based on xorm) (#13031) 4 years ago
Andrew Bezold bc05ddc0eb
Redirect on changed user and org name (#11649) 4 years ago
Lunny Xiao 84b147c7f0
Use IsProd instead of testing if it's equal. (#14336) 4 years ago
zeripath ac88b0ee83
Ensure that schema search path is set with every connection on postgres (#14131) 4 years ago