Commit Graph

51 Commits (0e26db8bcd57a2b206894ccad7d2f5737a843eda)

Author SHA1 Message Date
Antoine GIRARD 1ce3572409 Remove useless check (#3384) 7 years ago
Antoine GIRARD 095fb9f2e3 Add integrations tests from git cli (#3377) 7 years ago
Vlad Temian e78786ef39 Writable deploy keys (closes #671) (#3225) 7 years ago
Lunny Xiao f94c1b3943
Improvements for supporting UI Location (#3146) 7 years ago
Lunny Xiao f2e20c81b6 Refactor struct's time to remove unnecessary memory usage (#3142) 7 years ago
Vlad Temian 469ab99e9a Delete a user's public key via admin api (closes #3014) (#3059) 7 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) 8 years ago
Lauris BH 6db387a21e Refactor session close as xorm already does everything needed internally (#2020) 8 years ago
Dan Magnus Lindvall ff7424179e Delete Public SSH Key tmp file after calculating fingerprint (#1855) 8 years ago
Timo Myyrä 2525195749 use writeTmpKeyFile in calcFingerprint (#1828) 8 years ago
Lunny Xiao 2eeae84cbd Add internal routes for ssh hook comands (#1471) 8 years ago
Lunny Xiao 5c0bee9b20 refactor update ssh key use time (#1466) 8 years ago
Ethan Koenig ec0ae5d50c Refactor and fix incorrect comment (#1247) 8 years ago
Lunny Xiao ef13bbaf7d Don't rewrite non-gitea public keys (#906) 8 years ago
Lunny Xiao 7eb8daffa3 Use fingerprint to check instead content for public key (#911) 8 years ago
Gabriel Jackson bf6f61cc69 Cleanup log messaging 8 years ago
Bo-Yi Wu 25663b5816 refactor: Remove unnecessary type conversions (#772) 8 years ago
Matthias Loibl d1006150fb Refactor process package and introduce ProcessManager{} with tests (#75) 8 years ago
Ethan Koenig 1207bda94b Fix typos in models/ (#576) 8 years ago
Bwko 331316894e Replace Gogs with Gitea (#520) 8 years ago
Bwko 4ff0db0246 Catch os... errors 8 years ago
Bwko 6cde041080 Lint models/ssh_key.go 8 years ago
stroucki 3a3782bb7f Handle ssh key import better (#224) 8 years ago
Lunny Xiao 30a37311f8 use in instead string join (#155) 8 years ago
Thibault Meyer a4454f5d0f
Rewrite XORM queries 8 years ago
Sandro Santilli 4247304f5a Update import paths from github.com/go-gitea to code.gitea.io (#135) 8 years ago
Sandro Santilli aadd7dcdc3 And others 8 years ago
Sandro Santilli f388661bda ACCESS_MODE_* -> AccessMode* 8 years ago
Rémy Boulanouar 2d68bd1ef9 Change import reference to match gitea instead of gogs (#37) 8 years ago
Unknwon 2d76de2574 #3281 fix x.Iterate returns nothing inside session scope with SQLite3 8 years ago
Unknwon 4d8b905541 models/ssh_key: code cleaning 8 years ago
Unknwon 1f2e173a74 Refactor User.Id to User.ID 8 years ago
Unknwon 250be011c7 Remove redundant Unix timestamp method call 8 years ago
Unknwon ad513a20e9 #2302 Replace time.Time with Unix Timestamp (int64) 9 years ago
Unknwon 8055a0bdac Post work for #2637 9 years ago
Gibheer 2f27ee2232 variable should not use ALL_CAPS 9 years ago
Gibheer 12403bdfb0 allow native and ssh-keygen public key check 9 years ago
John Maguire b3e0efc0c3 Trim whitespace when adding SSH keys (fixes #2447) 9 years ago
John Maguire caa4ca46c0 Add debug log when SSH key for deletion isn't found 9 years ago
Unknwon 7ef9a05588 #2179 use Go sub-repo ssh to verify public key content 9 years ago
Unknwon 53eb37d529 fix #1436 9 years ago
Unknwon bc17f2f759 #2147 fix rewrites authorized_keys when builtin SSH server is enabled 9 years ago