Commit Graph

63 Commits (6ca91f555ab9778310ac46cbbe33849c59286793)

Author SHA1 Message Date
wxiaoguang 517a367abe
Use ProtonMail/go-crypto to replace keybase/go-crypto (#33402) 5 days ago
TheFox0x7 2a02734f93
Refactor older tests to use testify (#33140) 3 weeks ago
Lunny Xiao f9f62b4c4c
Move delete deploy keys into service layer (#32201) 1 month ago
techknowlogick d9a7748cdc
bump to go 1.23 (#31855) 5 months ago
Saulius Gurklys 10fd60412d
Remove "dsa-1024" testcases from Test_SSHParsePublicKey and Test_calcFingerprint (#31905) 5 months ago
Lunny Xiao b491b2104f
Fix panic of ssh public key page after deletion of auth source (#31829) 6 months ago
silverwind 74f0c84fa4
Enable more `revive` linter rules (#30608) 9 months ago
wxiaoguang 83f83019ef
Clean up log messages (#30313) 10 months ago
KN4CK3R eb505b128c
Fix missing 0 prefix of GPG key id (#30245) 10 months ago
KN4CK3R 82ffd91607
Fix GPG subkey verify (#30193) 10 months ago
wxiaoguang 226231ea27
Fix some pending problems (#29985) 11 months ago
coldWater 0e183d81fc
Fix missing error check of bufio.Scanner (#29882) 11 months ago
Lunny Xiao e2277d07ca
Move some asymkey functions to service layer (#28894) 11 months ago
silverwind a6cea59514
Update tool dependencies (#29030) 1 year ago
Lunny Xiao 70c4aad8e1
Move more functions to db.Find (#28419) 1 year ago
wxiaoguang e743570f65
Refactor timeutil package (#28623) 1 year ago
delvh 778ad795fd
Refactor deletion (#28610) 1 year ago
nekrondev 52046b934d
Retry SSH key verification with additional CRLF if it failed (#28392) 1 year 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) 1 year ago
Lunny Xiao 882e502327
Fix comment permissions (#28213) 1 year ago
Lunny Xiao df1e7d0067
Use db.Find instead of writing methods for every object (#28084) 1 year ago
Lunny Xiao cddf245c12
Replace more db.DefaultContext (#27628) 1 year ago
JakobDev 76a85a4ce9
Final round of `db.DefaultContext` refactor (#27587) 1 year ago
Nanguan Lin dc04044716
Replace assert.Fail with assert.FailNow (#27578) 1 year ago
JakobDev ebe803e514
Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
Sebastian Grabowski 3c131307ac
Respect SSH.KeygenPath option when calculating ssh key fingerprints (#27536) 1 year ago
Lunny Xiao 673cf6af76
make writing main test easier (#27270) 1 year ago
JakobDev 7047df36d4
Another round of `db.DefaultContext` refactor (#27103) 1 year ago
JakobDev 76659b1114
Reduce usage of `db.DefaultContext` (#27073) 1 year 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) 2 years ago
Leon Busch-George 7a8a4f5432
Prefer native parser for SSH public key parsing (#23798) 2 years ago
Dmitry Sharshakov eb397c3e63
Allow adding SSH keys even if SSH server is disabled (#24025) 2 years ago
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