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 Merge remote-tracking branch 'upstream/master' into feature/rewrite-xorm-queries 2016-11-10 21:05:52 +01:00
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.go Normalize files with gofmt 2016-11-11 13:11:45 +01:00
git_diff_test.go
issue.go Bug fixed for issues (#156) 2016-11-12 13:06:33 +01:00
issue_comment.go
issue_label.go use in instead string join (#155) 2016-11-12 09:29:18 +01:00
issue_mail.go
login_source.go fixed bug #151 caused Find should be Get (#153) 2016-11-12 00:01:09 +01:00
mail.go
models.go
models_sqlite.go
models_test.go
models_tidb.go
org.go optimization on database IN 2016-11-12 01:31:37 +08:00
org_team.go
pull.go Normalize files with gofmt 2016-11-11 13:11:45 +01:00
release.go
repo.go fix variable assigned and not used. 2016-11-15 14:16:27 +08:00
repo_branch.go
repo_collaboration.go
repo_editor.go
repo_mirror.go
repo_test.go
ssh_key.go Handle ssh key import better (#224) 2016-11-24 08:52:55 +08:00
ssh_key_test.go
token.go
update.go
user.go API endpoints for stars 2016-11-16 22:51:54 -05:00
user_mail.go fixed bug #151 caused Find should be Get (#153) 2016-11-12 00:01:09 +01:00
webhook.go Lint webhook.go, unexports simpleMarshalJSON (#198) 2016-11-22 14:42:52 +08:00
webhook_slack.go
wiki.go Fix lint errors in models/wiki (just add methods docs) 2016-11-14 18:01:46 +01:00