Commit Graph

62 Commits (0c721fe016919e368e105142d45efcd4d477757b)

Author SHA1 Message Date
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
Lunny Xiao fe55ab2a68 fix forgot removed records when deleting user (#5429) 6 years ago
Lunny Xiao eabbddcd98
Restrict permission check on repositories and fix some problems (#5314) 6 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) 7 years ago
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) 8 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 9 years ago
Unknwon 4d8b905541 models/ssh_key: code cleaning 9 years ago