Commit Graph

27 Commits (b84baf21fa19521e1ab303a60918c74f85fcad1c)

Author SHA1 Message Date
Jason Song c6c4d66004
Fix misuse of `TxContext` (#30061) 8 months ago
delvh 778ad795fd
Refactor deletion (#28610) 11 months ago
Lunny Xiao dd30d9d5c0
Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods (#28220) 11 months ago
Lunny Xiao df1e7d0067
Use db.Find instead of writing methods for every object (#28084) 12 months ago
Lunny Xiao 0b10df67ce
Improve DeleteByID (#26904) 1 year ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 1 year ago
wxiaoguang 520eb57d76
Use a separate admin page to show global stats, remove `actions` stat (#25062) 1 year ago
KN4CK3R 0ae1ed749d
Remove all package data after tests (#22984) 2 years ago
Lunny Xiao f2772b5920
Move delete user to service (#22478) 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
silverwind 0585ac3ac6
Update go dev dependencies (#22064) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 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
luzpaz d29d6d1991
Fix various typos (#20338) 2 years ago
Lunny Xiao 0649c54275
Adjust transaction handling via db.Context (#20031) 2 years ago
Lunny Xiao d91d4db344
Move tests as seperate sub packages to reduce duplicated file names (#19951) 2 years ago
zeripath ffb7ab31f2
Estimate Action Count in Statistics (#19775) 3 years ago
6543 92f139d091
Use for a repo action one database transaction (#19576) 3 years ago
Lunny Xiao 397d2ac303
Move deletebeans into models/db (#18781) 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 3 years ago
Lunny Xiao d710af6669
Remove NewSession method from db.Engine interface (#17577) 3 years ago
zeripath 5a8dd96b33
Ensure that git daemon export ok is created for mirrors (#17243) 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