Commit Graph

85 Commits (742e21aeba5c02935269a2a3681f4486019ce542)

Author SHA1 Message Date
zeripath 742e21aeba
Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186)
3 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)
4 years ago
zeripath ea67e563dd
Use ErrKeyUnableToVerify if fail to calc fingerprint in ssh-keygen (#10863)
4 years ago
zeripath 453f6e6e5a
In authorized_keys use double-quote for windows compatibility (#10841)
4 years ago
Lunny Xiao c61b902538
Upgrade xorm to v1.0.0 (#10646)
4 years ago
SpaWn2KiLl 1f01f53c53 API add/generalize pagination (#9452)
4 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)
5 years ago
Antoine GIRARD 367aeb169a Use go method to calculate ssh key fingerprint (#7128)
5 years ago
kolaente f9ec2f89f2 Add golangci (#6418)
5 years ago
zeripath 704da08fdc
Better logging (#6038) (#6095)
5 years ago
zeripath 01c10a951b
Fix ssh deploy and user key constraints (#1357) (#5939)
5 years ago
Lunny Xiao 0b84b5ee49 fix public will not be reused as public key after deleting as deploy key (#5671)
5 years ago
zeripath 8bb0a6f425 Synchronize SSH keys on login with LDAP + Fix SQLite deadlock on ldap ssh key deletion (#5557)
5 years ago
Lunny Xiao fe55ab2a68 fix forgot removed records when deleting user (#5429)
5 years ago
Lunny Xiao eabbddcd98
Restrict permission check on repositories and fix some problems (#5314)
5 years ago
zeripath 7d9a191a3c Create AuthorizedKeysCommand (#5236)
6 years ago
zeripath 00533d3870 Keys API changes (#4960)
6 years ago
Oleg Kovalov 5a4648cdd6 Remove check for negative length (#5120)
6 years ago
Lanre Adelowo acb6f8a518 make sure to catch the right error so it is displayed as an error on the ui not a 500 (#4945)
6 years ago
Bo-Yi Wu ea20adaa84
feat(repo): support search repository by topic name (#4505)
6 years ago
Magnus Lindvall cdb9478774 LDAP Public SSH Keys synchronization (#1844)
6 years ago
Antoine GIRARD 1ce3572409 Remove useless check (#3384)
6 years ago
Antoine GIRARD 095fb9f2e3 Add integrations tests from git cli (#3377)
6 years ago
Vlad Temian e78786ef39 Writable deploy keys (closes #671) (#3225)
6 years ago
Lunny Xiao f94c1b3943
Improvements for supporting UI Location (#3146)
6 years ago
Lunny Xiao f2e20c81b6 Refactor struct's time to remove unnecessary memory usage (#3142)
6 years ago
Vlad Temian 469ab99e9a Delete a user's public key via admin api (closes #3014) (#3059)
6 years ago
Michael Kuhn 420fc8efc2 Disable add key button if SSH is disabled (#2873)
7 years ago
Gibheer bc84110989 don't check minimum key size when disabled (#1754)
7 years ago
Ethan Koenig aa962deec0 Replace deprecated Id method with ID (#2655)
7 years ago
Lunny Xiao a8717e5e3a Use AfterLoad instead of AfterSet on Structs (#2628)
7 years ago
Lunny Xiao dd55534b82 Reduce usage of allcols on update (#2596)
7 years ago
Ethan Koenig 4cb9394a97 Fix lint errors (#2547)
7 years ago
Lunny Xiao 005900baea Use created & updated instead BeforeInsert & BeforeUpdate (#2482)
7 years ago
Lauris BH dde0052ca2 Fix key usage time update if the key is used in parallel for multiple operations (#2185)
7 years ago
Dan Magnus Lindvall 79daf31058 Setting to disable authorized_keys backup (#1856)
7 years ago
Lauris BH 6db387a21e Refactor session close as xorm already does everything needed internally (#2020)
7 years ago