Commit Graph

45 Commits (v1.18.2-1)

Author SHA1 Message Date
Lunny Xiao c36a1bc766
Fix parallel creating commit status bug with tests () () 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) () 2 years ago
zeripath 716fcfcf72
Make every not exist error unwrappable to a fs.ErrNotExist () 2 years ago
wxiaoguang 6f48a36227
Refactor GetNextResourceIndex to make it work properly with transaction () 2 years ago
Eng Zer Jun 8b0aaa5f86
test: use `T.TempDir` to create temporary test directory () 2 years ago
Lunny Xiao 1f146090ec
Add migrate repo archiver and packages storage support on command line () 2 years ago
Tyrone Yeh 8e3da0e27f
Modify milestone search keywords to be case insensitive again () 3 years ago
luzpaz d29d6d1991
Fix various typos () 3 years ago
zeripath 4909493a9f
Allow manager logging to set SQL () 3 years ago
Lunny Xiao 0649c54275
Adjust transaction handling via db.Context () 3 years ago
Wim cb50375e2b
Add more linters to improve code readability () 3 years ago
Lunny Xiao d91d4db344
Move tests as seperate sub packages to reduce duplicated file names () 3 years ago
Lunny Xiao 1a9821f57a
Move issues related files into models/issues () 3 years ago
Lunny Xiao 26095115f4
Move some repository related code into sub package () 3 years ago
Lunny Xiao 12c742f8dc
Fix order by parameter () 3 years ago
zeripath ffb7ab31f2
Estimate Action Count in Statistics () 3 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context () 3 years ago
6543 6a969681cd
Delete related PullAutoMerge and ReviewState on User/Repo Deletion () 3 years ago
6543 92f139d091
Use for a repo action one database transaction () 3 years ago
Lunny Xiao b8911fb456
Use a struct as test options () 3 years ago
Lunny Xiao 397d2ac303
Move deletebeans into models/db () 3 years ago
Lauris BH 8038610a42
Automatically pause queue if index service is unavailable () 3 years ago
6543 54e9ee37a7
format with gofumpt () 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context () 3 years ago
Lunny Xiao de8e3948a5
Refactor auth package () 3 years ago
Lunny Xiao 3ca5dc7e32
Move keys to models/asymkey () 3 years ago
wxiaoguang 042cac5fed
Improve install code to avoid low-level mistakes. () 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user () 3 years ago
Lunny Xiao d710af6669
Remove NewSession method from db.Engine interface () 3 years ago
wxiaoguang 750a8465f5
A better go code formatter, and now `make fmt` can run in Windows () 3 years ago
wxiaoguang 81926d61db
Decouple unit test, remove intermediate `unittestbridge` package () 3 years ago
wxiaoguang df64fa4865
Decouple unit test code from business code () 3 years ago
Lunny Xiao 33fca2b537
Move webhook into models/webhook/ () 3 years ago
Lunny Xiao 69b61d4373
Fix bug on admin subcommand () 3 years ago
zeripath 9d855bd6a1
Simplify Gothic to use our session store instead of creating a different store () 3 years ago
Lunny Xiao 63c0dc89ef
Rename db Engines related functions () 3 years ago
zeripath e6e3b212b3
Run Migrate in Install rather than just SyncTables () 3 years ago
Lunny Xiao f494776931
Use a variable but a function for IsProd because of a slight performance increment () 3 years ago
zeripath 5a8dd96b33
Ensure that git daemon export ok is created for mirrors () 3 years ago
wxiaoguang c5c88f2f18
Save and view issue/comment content history () 3 years ago
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login () 3 years ago
zeripath 9302eba971
DBContext is just a Context () 3 years ago
Lunny Xiao d9c69596ff
Fix commit status index problem () 3 years ago
Eng Zer Jun f2e7d5477f
refactor: move from io/ioutil to io and os package () 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db () 3 years ago