17 Commits (fd941db246e66244ec81f43d74b8358c06173fd6)

Author SHA1 Message Date
Andrey Nering 84b7d29d34 Create missing database indexes (#596) 8 years ago
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]
8 years ago
Lunny Xiao ec87a75c00 golint fixed for modules/auth 8 years ago
Thomas Boerger e9c6053b86 Merge pull request #246 from Bwko/fix/typo
Fix typos
8 years ago
Sandro Santilli 1c3044b873 Lint models/login_source.go 8 years ago
Bwko 2a449bd4b1 Fix typos 8 years ago
Lunny Xiao 555d8b16cb fixed bug #151 caused Find should be Get (#153) 8 years ago
Thibault Meyer b0ddced2b5
Merge remote-tracking branch 'upstream/master' into feature/rewrite-xorm-queries
# Conflicts:
#	models/git_diff.go
#	models/issue.go
#	models/org.go
#	models/pull.go
#	models/repo.go
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)
- Update import paths from github.com/go-gitea to code.gitea.io
- Fix import path for travis

See https://docs.travis-ci.com/user/languages/go#Go-Import-Path
8 years ago
Sandro Santilli 864d1b1f9f Fix type in unused constant name (#111)
* Write LDAP, SMTP, PAM, DLDAP back to all uppercase

* Fix type in unused constant name

* Other MixCased fixes

* Complete MixerCasing of template constants

* Re uppercase LTS and LDAPS suffixes

* Uppercase JSON suffix in constant names

* Proper case LoginNoType

* Prefix unexported template path constants with "tpl"
8 years ago
Sandro Santilli 05fd9d3f09 Security protocols 8 years ago
Sandro Santilli 7612b5ec40 More mixage 8 years ago
Sandro Santilli 60c82a8780 More... 8 years ago
Rémy Boulanouar 2d68bd1ef9 Change import reference to match gitea instead of gogs (#37) 8 years ago
Unknwon 7c1fbed057 Fix panic when attempt login with non-exist user 8 years ago
Unknwon 152e715999 models/login_source: code improvement 8 years ago