Commit Graph

7 Commits (8fa62be9059ddbce53e8eb81884d888ec7b741ec)

Author SHA1 Message Date
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) 4 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
silverwind b10109ffe8 Improve SSH key parser to handle newlines in keys (#7522) 5 years ago
Lunny Xiao aa7c34cf86 Fix error log when loading issues caused by a xorm bug (#7271) 6 years ago
Antoine GIRARD 367aeb169a Use go method to calculate ssh key fingerprint (#7128) 6 years ago
kolaente f9ec2f89f2 Add golangci (#6418) 6 years ago
zeripath 704da08fdc
Better logging (#6038) (#6095) 6 years ago
zeripath 01c10a951b
Fix ssh deploy and user key constraints (#1357) (#5939) 6 years ago
Lunny Xiao 0b84b5ee49 fix public will not be reused as public key after deleting as deploy key (#5671) 6 years ago
zeripath 8bb0a6f425 Synchronize SSH keys on login with LDAP + Fix SQLite deadlock on ldap ssh key deletion (#5557) 6 years ago