Commit Graph

28 Commits (e67d60d3368614c87b3d15ed9948fa17209bb120)

Author SHA1 Message Date
Lunny Xiao c53ad052d8
Refactor the setting to make unit test easier (#22405) 2 years ago
zeripath 52dd383b6d
Increase Content field size of gpg_key_import to MEDIUMTEXT (#22897) 2 years ago
Lunny Xiao bd820aa9c5
Add context cache as a request level cache (#22294) 2 years ago
zeripath 2914c5299b
Improve error report when user passes a private key (#22726) 2 years ago
Jason Song 477a1cc40e
Improve utils of slices (#22379) 2 years ago
KN4CK3R 3fef47b41c
Use ErrInvalidArgument in packages (#22268) 2 years ago
Gusted b76970f2e4
Fix key signature error page (#22229) 2 years ago
Lunny Xiao 0a7d3ff786
refactor some functions to support ctx as first parameter (#21878) 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
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 9d6a2034bc
Increase Content field size of gpg_key and public_key to MEDIUMTEXT (#20896) 2 years ago
zeripath 11bae50484
Pad GPG Key ID with preceding zeroes (#20878) 2 years ago
Lunny Xiao 86c85c19b6
Refactor AssertExistsAndLoadBean to use generics (#20797) 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
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
Lunny Xiao b8911fb456
Use a struct as test options (#19393) 3 years ago
wxiaoguang 2b55422cd7
Fix the bug: deploy key with write access can not push (#19010) 3 years ago
zeripath 76e3111596
Collaborator trust model should trust collaborators (#18539) 3 years ago
luzpaz 8c647bf0f6
Fix various typos (#18219) 3 years ago
Gusted 242dddfcb7
Remove `ioutil` (#18222) 3 years ago
Lunny Xiao de8e3948a5
Refactor auth package (#17962) 3 years ago
6543 660c30db80
Migration 204 use Sync2 (#18044) 3 years ago
Wim 6fe756dc93
Add support for ssh commit signing (#17743) 3 years ago
Lunny Xiao 3ca5dc7e32
Move keys to models/asymkey (#17917) 3 years ago