12 Commits (main)

Author SHA1 Message Date
TheFox0x7 ee3c82f874
Enable addtional linters (#34085) 9 months ago
delvh 778ad795fd
Refactor deletion (#28610) 2 years 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) 2 years ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 2 years ago
Jason Song 6135359a04
Always reuse transaction (#22362) 3 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 3 years ago
Lunny Xiao 34283a74e8
Allow detect whether it's in a database transaction for a context.Context (#21756) 3 years ago
zeripath 716fcfcf72
Make every not exist error unwrappable to a fs.ErrNotExist (#20891) 3 years ago
6543 6a969681cd
Delete related PullAutoMerge and ReviewState on User/Repo Deletion (#19649) 4 years ago
Lunny Xiao 3ca5dc7e32
Move keys to models/asymkey (#17917) 4 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 4 years ago
Lunny Xiao 33fca2b537
Move webhook into models/webhook/ (#17579) 4 years ago