Commit Graph

64 Commits (d845be661f5205b70d4fa6883e7912a5d2491218)

Author SHA1 Message Date
Kyle D 2b3f12f6fd
Use beforeCommit instead of baseCommit (#22949) 2 years ago
Lunny Xiao f2772b5920
Move delete user to service (#22478) 2 years ago
zeripath 2152c4e98f
Fix .golangci.yml (#22868) 2 years ago
Lunny Xiao 8574a6433f
Show all projects, not just repo projects and open/closed projects (#22640) 2 years ago
techknowlogick cfb1cb1168
update to build with go1.20 (#22732) 2 years ago
Lunny Xiao db2286bbb6
some refactor about code comments (#20821) 2 years ago
Jason Song a35714372d
Fix halfCommitter and WithTx (#22366) 2 years ago
Jason Song 6135359a04
Always reuse transaction (#22362) 2 years ago
Jason Song e5deeda0aa
Support estimated count with multiple schemas (#22276) 2 years ago
Jason Song 71ca3067bc
Check primary keys for all tables and drop ForeignReference (#21721) 2 years ago
Nick a2779def36 Test views of LFS files (#22196) 2 years ago
Lunny Xiao 36a2d2f919
Add a simple test for external renderer (#20033) 2 years ago
KN4CK3R 0e2d04601a
Update xorm (#22094) 2 years ago
silverwind 0585ac3ac6
Update go dev dependencies (#22064) 2 years ago
Lunny Xiao f7ade6de7c
Fix generate index failure possibility on postgres (#21998) 2 years ago
Lunny Xiao b2c4870481
Fix parallel creating commit status bug with tests (#21911) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
KN4CK3R 044c754ea5
Add `context.Context` to more methods (#21546) 2 years ago
Lunny Xiao 34283a74e8
Allow detect whether it's in a database transaction for a context.Context (#21756) 2 years ago
Lunny Xiao 9a70a12a34
Merge db.Iterate and IterateObjects (#21641) 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
wxiaoguang 6f48a36227
Refactor GetNextResourceIndex to make it work properly with transaction (#21469) 2 years ago
Eng Zer Jun 8b0aaa5f86
test: use `T.TempDir` to create temporary test directory (#21043) 2 years ago
Lunny Xiao 1f146090ec
Add migrate repo archiver and packages storage support on command line (#20757) 2 years ago
Tyrone Yeh 8e3da0e27f
Modify milestone search keywords to be case insensitive again (#20513) 2 years ago
luzpaz d29d6d1991
Fix various typos (#20338) 2 years ago
zeripath 4909493a9f
Allow manager logging to set SQL (#20064) 2 years ago
Lunny Xiao 0649c54275
Adjust transaction handling via db.Context (#20031) 2 years ago
Wim cb50375e2b
Add more linters to improve code readability (#19989) 2 years ago
Lunny Xiao d91d4db344
Move tests as seperate sub packages to reduce duplicated file names (#19951) 2 years ago
Lunny Xiao 1a9821f57a
Move issues related files into models/issues (#19931) 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
zeripath ffb7ab31f2
Estimate Action Count in Statistics (#19775) 3 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
6543 6a969681cd
Delete related PullAutoMerge and ReviewState on User/Repo Deletion (#19649) 3 years ago
6543 92f139d091
Use for a repo action one database transaction (#19576) 3 years ago
Lunny Xiao b8911fb456
Use a struct as test options (#19393) 3 years ago
Lunny Xiao 397d2ac303
Move deletebeans into models/db (#18781) 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
Lunny Xiao de8e3948a5
Refactor auth package (#17962) 3 years ago
Lunny Xiao 3ca5dc7e32
Move keys to models/asymkey (#17917) 3 years ago
wxiaoguang 042cac5fed
Improve install code to avoid low-level mistakes. (#17779) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 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