1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-09-30 17:31:29 +02:00
gitea/models
stroucki 3a3782bb7f Handle ssh key import better (#224)
* Handle user ssh key input better

ssh_key: when user submitted keys had a newline at the end, strings.Split
would have created a slice with an empty last element, and the key type
check would be incorrect. Perhaps a better way is to look for 'ssh-rsa' or
'ssh-dsa' at the beginning of the string, but this is simple.

* ssh_key: correct indentation
2016-11-24 08:52:55 +08:00
..
migrations Remember diff view style (#163) 2016-11-13 10:54:04 +08:00
access.go
action.go Fix import path of go-sdk (#141) 2016-11-11 17:39:44 +08:00
admin.go use in instead string join (#155) 2016-11-12 09:29:18 +01:00
error.go fixed bug #151 caused Find should be Get (#153) 2016-11-12 00:01:09 +01:00
git_diff_test.go
git_diff.go Normalize files with gofmt 2016-11-11 13:11:45 +01:00
issue_comment.go Fix import path of go-sdk (#141) 2016-11-11 17:39:44 +08:00
issue_label.go use in instead string join (#155) 2016-11-12 09:29:18 +01:00
issue_mail.go
issue.go Bug fixed for issues (#156) 2016-11-12 13:06:33 +01:00
login_source.go fixed bug #151 caused Find should be Get (#153) 2016-11-12 00:01:09 +01:00
mail.go
models_sqlite.go
models_test.go
models_tidb.go
models.go
org_team.go
org.go optimization on database IN 2016-11-12 01:31:37 +08:00
pull.go Normalize files with gofmt 2016-11-11 13:11:45 +01:00
release.go
repo_branch.go
repo_collaboration.go
repo_editor.go
repo_mirror.go
repo_test.go
repo.go fix variable assigned and not used. 2016-11-15 14:16:27 +08:00
ssh_key_test.go
ssh_key.go Handle ssh key import better (#224) 2016-11-24 08:52:55 +08:00
token.go
update.go
user_mail.go fixed bug #151 caused Find should be Get (#153) 2016-11-12 00:01:09 +01:00
user.go API endpoints for stars 2016-11-16 22:51:54 -05:00
webhook_slack.go Fix import path of go-sdk (#141) 2016-11-11 17:39:44 +08:00
webhook.go Lint webhook.go, unexports simpleMarshalJSON (#198) 2016-11-22 14:42:52 +08:00
wiki.go Fix lint errors in models/wiki (just add methods docs) 2016-11-14 18:01:46 +01:00