Commit Graph

15 Commits (f4d3aaeeb9e1b11c5495e4608a3f52f316c35758)

Author SHA1 Message Date
Lunny Xiao b491b2104f
Fix panic of ssh public key page after deletion of auth source (#31829) 3 months ago
Lunny Xiao 70c4aad8e1
Move more functions to db.Find (#28419) 10 months ago
delvh 778ad795fd
Refactor deletion (#28610) 11 months ago
Lunny Xiao df1e7d0067
Use db.Find instead of writing methods for every object (#28084) 1 year ago
JakobDev ebe803e514
Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
Jason Song 477a1cc40e
Improve utils of slices (#22379) 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 9d6a2034bc
Increase Content field size of gpg_key and public_key to MEDIUMTEXT (#20896) 2 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 de8e3948a5
Refactor auth package (#17962) 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
Lunny Xiao 1fee11d69a
Move accessmode into models/perm (#17828) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
Lunny Xiao d710af6669
Remove NewSession method from db.Engine interface (#17577) 3 years ago
wxiaoguang 750a8465f5
A better go code formatter, and now `make fmt` can run in Windows (#17684) 3 years ago
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login (#17093) 3 years ago
zeripath 9302eba971
DBContext is just a Context (#17100) 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 3 years ago
KN4CK3R 87505a9464
Add `AbsoluteListOptions` (#17028) 3 years ago
6543 2289580bb7
[API] generalize list header (#16551) 3 years ago
zeripath 5d2e11eedb
Refactor: Move login out of models (#16199) 3 years ago
zeripath 33a8eec33e
Retry rename on lock induced failures (#16435) 3 years ago
zeripath 95352e6bd5
Make command in authorized keys a template (#16003) 3 years ago
Bo-Yi Wu 167b0f46ef
chore(models): rewrite code format. (#14754) 4 years ago
Chester Liu 072d550dda
Allow ssh-keygen on Windows to detect ssh key type (#14413) 4 years ago
Artemis Tosini cb08248c33
Add support for ed25519_sk and ecdsa_sk SSH keys (#13462) 4 years ago
zeripath ad1164f73b
Disable SSH key deletion of externally managed Keys (#13985) 4 years ago
6543 a19447aed1
migrate from com.* to alternatives (#14103) 4 years ago
zeripath 742e21aeba
Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 4 years ago
Antoine GIRARD f3bbd46c49
don't append key file if asked not to (#13368) 4 years ago
Wim 9066d09c57
Add ssh certificate support (#12281) 4 years ago
zeripath 4c6ac08182
Completely quote AppPath and CustomConf paths (#12955) 4 years ago
zeripath 74bd9691c6
Re-attempt to delete temporary upload if the file is locked by another process (#12447) 4 years ago
zeripath d26885e2bf
Mulitple Gitea Doctor improvements (#10943) 5 years ago
zeripath ea67e563dd
Use ErrKeyUnableToVerify if fail to calc fingerprint in ssh-keygen (#10863) 5 years ago
zeripath 453f6e6e5a
In authorized_keys use double-quote for windows compatibility (#10841) 5 years ago
Lunny Xiao c61b902538
Upgrade xorm to v1.0.0 (#10646) 5 years ago
SpaWn2KiLl 1f01f53c53 API add/generalize pagination (#9452) 5 years ago
mrsdizzie dce22efbee Fix SSH2 conditonal in key parsing code (#8806) 5 years ago
Lunny Xiao d151503d34 Upgrade xorm to v0.8.0 (#8536) 5 years ago
zeripath 300d9a1c70 Fixes #8369: Create .ssh dir as necessary (#8486) 5 years ago
Jakob Ackermann 89648746a5 [ssh] fix the config specification in the authorized_keys template (#8031) 5 years ago
Tamal Saha 171b359877 Use gitea forked macaron (#7933) 5 years ago
Lunny Xiao 85202d4784
Display ui time with customize time location (#7792) 5 years ago
Lunny Xiao 4328d8e8d7
fix rename failed when rewrite public keys (#7761) 5 years ago
zeripath 18c0e9c2a9
Make PKCS8, PEM and SSH2 keys work (#7600) 5 years ago