Commit Graph

28 Commits (forgejo-development)

Author SHA1 Message Date
Lunny Xiao c53ad052d8
Refactor the setting to make unit test easier () 2 years ago
zeripath 52dd383b6d
Increase Content field size of gpg_key_import to MEDIUMTEXT () 2 years ago
Lunny Xiao bd820aa9c5
Add context cache as a request level cache () 2 years ago
zeripath 2914c5299b
Improve error report when user passes a private key () 2 years ago
Jason Song 477a1cc40e
Improve utils of slices () 2 years ago
KN4CK3R 3fef47b41c
Use ErrInvalidArgument in packages () 2 years ago
Gusted b76970f2e4
Fix key signature error page () 2 years ago
Lunny Xiao 0a7d3ff786
refactor some functions to support ctx as first parameter () 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files () 2 years ago
Lunny Xiao 34283a74e8
Allow detect whether it's in a database transaction for a context.Context () 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
zeripath 9d6a2034bc
Increase Content field size of gpg_key and public_key to MEDIUMTEXT () 2 years ago
zeripath 11bae50484
Pad GPG Key ID with preceding zeroes () 2 years ago
Lunny Xiao 86c85c19b6
Refactor AssertExistsAndLoadBean to use generics () 2 years ago
Wim cb50375e2b
Add more linters to improve code readability () 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
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context () 3 years ago
Lunny Xiao b8911fb456
Use a struct as test options () 3 years ago
wxiaoguang 2b55422cd7
Fix the bug: deploy key with write access can not push () 3 years ago
zeripath 76e3111596
Collaborator trust model should trust collaborators () 3 years ago
luzpaz 8c647bf0f6
Fix various typos () 3 years ago
Gusted 242dddfcb7
Remove `ioutil` () 3 years ago
Lunny Xiao de8e3948a5
Refactor auth package () 3 years ago
6543 660c30db80
Migration 204 use Sync2 () 3 years ago
Wim 6fe756dc93
Add support for ssh commit signing () 3 years ago
Lunny Xiao 3ca5dc7e32
Move keys to models/asymkey () 3 years ago