gitea/models
Denis Denisov f0a989c1d0 Correction LDAP validation (#342)
* Correction LDAP username validation

As https://msdn.microsoft.com/en-us/library/aa366101(v=vs.85).aspx describe spaces should not be in start or at the end of username but they can be inside the username. So please check my solution for it.

* Check for zero length passwords in LDAP module.

According to https://tools.ietf.org/search/rfc4513#section-5.1.2 LDAP client should always check before bind whether a password is an empty value. There are at least one LDAP implementation which does not return error if you try to bind with DN set and empty password - AD.

* Clearing the login/email spaces at the [start/end]
2016-12-12 08:46:51 +08:00
..
migrations golint fixed for models/migrations (#291) 2016-11-28 23:44:17 +08:00
access.go Lint models/access.go 2016-11-26 01:07:57 +01:00
action.go Bug fixes for repo permissions in API 2016-12-07 12:55:24 +01:00
admin.go Lint models/admin.go 2016-11-24 23:42:07 +01:00
error.go [API] Pull Requests (#248) 2016-12-02 12:10:39 +01:00
git_diff_test.go More MixedCase consts 2016-11-07 17:24:59 +01:00
git_diff.go Integrate templates into bindata optionally (#314) 2016-12-06 18:58:31 +01:00
issue_comment.go golint fixed for models/issue_comment.go 2016-11-28 21:33:09 +08:00
issue_label.go Linting 2016-12-02 09:31:44 +01:00
issue_mail.go Lint/issue &mail (#243) 2016-11-25 16:11:12 +08:00
issue.go Bug fixes for repo permissions in API 2016-12-07 12:55:24 +01:00
login_source.go Correction LDAP validation (#342) 2016-12-12 08:46:51 +08:00
mail.go Integrate templates into bindata optionally (#314) 2016-12-06 18:58:31 +01:00
models_sqlite.go
models_test.go #3442 add test suites 2016-08-12 02:56:50 -07:00
models_tidb.go Remove go version from build tags (#133) 2016-11-10 08:43:49 -02:00
models.go Catch os... errors 2016-12-02 07:41:19 +01:00
org_team.go rename all uID -> userID on models/org_team.go 2016-11-28 16:33:08 +08:00
org.go golint for models/org_team.go 2016-11-28 09:30:08 +08:00
pull.go Fixes issue #283 2016-12-09 20:13:48 +01:00
release.go Lint/issue &mail (#243) 2016-11-25 16:11:12 +08:00
repo_branch.go Lint models/repo_branch.go 2016-11-26 11:20:37 +01:00
repo_collaboration.go Fixed linting errors for variable definitions 2016-11-29 14:05:26 +01:00
repo_editor.go Catch os... errors 2016-12-02 07:41:19 +01:00
repo_mirror.go Lint models/repo_mirror.go 2016-11-26 11:23:55 +01:00
repo_test.go fixed test build error 2016-11-25 16:02:10 +08:00
repo.go Remove stale comment in models/repo.go (#366) 2016-12-08 00:04:12 +01:00
ssh_key_test.go Update import paths from github.com/go-gitea to code.gitea.io (#135) 2016-11-10 17:24:48 +01:00
ssh_key.go Catch os... errors 2016-12-02 07:41:19 +01:00
token.go Lint models/token.go (#244) 2016-11-25 16:03:52 +08:00
update.go Fixed linting errors for variable definitions 2016-11-29 14:05:26 +01:00
user_mail.go Fixes typos 2016-11-27 12:59:12 +01:00
user.go Safe compare password (timing attack) (#338) 2016-12-03 13:49:17 +08:00
webhook_slack.go Fix breakage from vendor-update 2016-11-29 11:50:22 +01:00
webhook.go Lint webhook.go, unexports simpleMarshalJSON (#198) 2016-11-22 14:42:52 +08:00
wiki.go In the wiki title replace tab with a space (#371) 2016-12-11 11:01:26 +08:00