72 Commits (94db956e319232b35a12d4f2e186b188a88a1be2)

Author SHA1 Message Date
wxiaoguang 92e7e98c56
Update x/crypto package and make builtin SSH use default parameters (#34667) 6 months ago
Lunny Xiao 4a5af4edca
Cache GPG keys, emails and users when list commits (#34086) 8 months ago
Lunny Xiao 32b97b3ce8
Uniform all temporary directories and allow customizing temp path (#32352) 8 months ago
Lunny Xiao 92dfec704f
Move ParseCommitWithSSHSignature to service layer (#34087) 9 months ago
TheFox0x7 ee3c82f874
Enable addtional linters (#34085) 9 months ago
TheFox0x7 0fde8ecd55
Enable testifylint rules (#34075) 9 months ago
wxiaoguang 216243eee2
Refactor error system (#33771) 10 months ago
Lunny Xiao 58c124cc4f
Move commits signature and verify functions to service layers (#33605) 10 months ago
Lunny Xiao 70327d6a92
Improve commits list performance to reduce unnecessary database queries (#33528) 10 months ago
wxiaoguang 517a367abe
Use ProtonMail/go-crypto to replace keybase/go-crypto (#33402) 11 months ago
TheFox0x7 2a02734f93
Refactor older tests to use testify (#33140) 11 months ago
Lunny Xiao f9f62b4c4c
Move delete deploy keys into service layer (#32201) 1 year ago
techknowlogick d9a7748cdc
bump to go 1.23 (#31855) 1 year ago
Saulius Gurklys 10fd60412d
Remove "dsa-1024" testcases from Test_SSHParsePublicKey and Test_calcFingerprint (#31905) 1 year ago
Lunny Xiao b491b2104f
Fix panic of ssh public key page after deletion of auth source (#31829) 1 year ago
silverwind 74f0c84fa4
Enable more `revive` linter rules (#30608) 2 years ago
wxiaoguang 83f83019ef
Clean up log messages (#30313) 2 years ago
KN4CK3R eb505b128c
Fix missing 0 prefix of GPG key id (#30245) 2 years ago
KN4CK3R 82ffd91607
Fix GPG subkey verify (#30193) 2 years ago
wxiaoguang 226231ea27
Fix some pending problems (#29985) 2 years ago
coldWater 0e183d81fc
Fix missing error check of bufio.Scanner (#29882) 2 years ago
Lunny Xiao e2277d07ca
Move some asymkey functions to service layer (#28894) 2 years ago
silverwind a6cea59514
Update tool dependencies (#29030) 2 years ago
Lunny Xiao 70c4aad8e1
Move more functions to db.Find (#28419) 2 years ago
wxiaoguang e743570f65
Refactor timeutil package (#28623) 2 years ago
delvh 778ad795fd
Refactor deletion (#28610) 2 years ago
nekrondev 52046b934d
Retry SSH key verification with additional CRLF if it failed (#28392) 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
Lunny Xiao 882e502327
Fix comment permissions (#28213) 2 years ago
Lunny Xiao df1e7d0067
Use db.Find instead of writing methods for every object (#28084) 2 years ago
Lunny Xiao cddf245c12
Replace more db.DefaultContext (#27628) 2 years ago
JakobDev 76a85a4ce9
Final round of `db.DefaultContext` refactor (#27587) 2 years ago
Nanguan Lin dc04044716
Replace assert.Fail with assert.FailNow (#27578) 2 years ago
JakobDev ebe803e514
Penultimate round of `db.DefaultContext` refactor (#27414) 2 years ago
Sebastian Grabowski 3c131307ac
Respect SSH.KeygenPath option when calculating ssh key fingerprints (#27536) 2 years ago
Lunny Xiao 673cf6af76
make writing main test easier (#27270) 2 years ago
JakobDev 7047df36d4
Another round of `db.DefaultContext` refactor (#27103) 2 years ago
JakobDev 76659b1114
Reduce usage of `db.DefaultContext` (#27073) 2 years ago
silverwind 887a683af9
Update tool dependencies, lock govulncheck and actionlint (#25655) 2 years ago
6543 8995046110
Less naked returns (#25713) 2 years ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 2 years ago
Lunny Xiao 377a0a20f0
Merge setting.InitXXX into one function with options (#24389) 3 years ago
Leon Busch-George 7a8a4f5432
Prefer native parser for SSH public key parsing (#23798) 3 years ago
Dmitry Sharshakov eb397c3e63
Allow adding SSH keys even if SSH server is disabled (#24025) 3 years ago
Lunny Xiao c53ad052d8
Refactor the setting to make unit test easier (#22405) 3 years ago
zeripath 52dd383b6d
Increase Content field size of gpg_key_import to MEDIUMTEXT (#22897) 3 years ago
Lunny Xiao bd820aa9c5
Add context cache as a request level cache (#22294) 3 years ago
zeripath 2914c5299b
Improve error report when user passes a private key (#22726) 3 years ago
Jason Song 477a1cc40e
Improve utils of slices (#22379) 3 years ago
KN4CK3R 3fef47b41c
Use ErrInvalidArgument in packages (#22268) 3 years ago