Unknwon
a1d411a018
ldap: minor fix for PR #4398
8 years ago
aboron
dbb7e5464b
ldap: add check for group membership ( #4398 )
...
* Add standard LDAP group membership checking.
* Fix formatting, typo, grammer, and syntax errors
* Debugging done.
Gave up on locale file edits.
8 years ago
Unknwon
d05395fe90
Refactoring: rename modules -> pkg
...
Reasons to change:
1. Shorter than 'modules'
2. More generally used by other Go projects
3. Corresponds to the naming of '$GOPATH/pkg' directory
8 years ago
Unknwon
4f9c5981a9
refactoring: modules/auth/*_form.go -> modules/form
8 years ago
Unknwon
401bf944ef
Use SecurityProtocol to replace UseSSL in LDAP config
...
Initially proposed by #2376 and fixes #3068 as well.
9 years ago
Adam Strzelecki
834d92a47b
LDAP: Fetch attributes in Bind DN context option
...
This is feature is workaround for #2628 (JumpCloud) and some other services
that allow LDAP search only under BindDN user account, but not allow any LDAP
search query in logged user DN context.
Such approach is an alternative to minimal permissions security pattern for
BindDN user.
9 years ago
Unknwon
978dc00305
APIs: admin users
9 years ago
Adam Strzelecki
573305f3d3
LDAP: Optional user name attribute specification
...
Consider following LDAP search query example:
(&(objectClass=Person)(|(uid=%s)(mail=%s)))
Right now on first login attempt Gogs will use the text supplied on login form
as the newly created user name. In example query above the text matches against
both e-mail or user name. So if user puts the e-mail then the new Gogs user
name will be e-mail which may be undesired.
Using optional user name attribute setting we can explicitly say we want Gogs
user name to be certain LDAP attribute eg. `uid`, so even user will use e-mail
to login 1st time, the new account will receive correct user name.
9 years ago
Unknwon
932dbccb67
fix import path, fix #1782
9 years ago
Unknwon
cd37fccdfb
#1625 remove auto_register and makes it default
9 years ago
Unknwon
362d64df04
#1620 add allowed domains for SMTP auth
9 years ago
Unknwon
121a81a2c5
finish new edit auth UI
9 years ago
Unknwon
0617448282
finish new add auth UI
9 years ago
Sergio Benitez
2d1db4bf05
Added LDAP simple auth support.
9 years ago
Unknwon
ea454c21f7
#1542 A way to skip TLS verify for SMTP authentication
9 years ago
Girish Ramakrishnan
24d7a86a8d
Set IsAdmin using LDAP
...
The IsAdmin flag is set based on whether the admin filter
returned any result. The admin filter is applied with the user dn
as the search root.
In the future, we should update IsAdmin as well on each login.
Alternately, we can have a periodic sync operation.
9 years ago
Sergio Benitez
7d84d4a8f0
Significantly enhanced LDAP support in Gogs.
10 years ago
Paolo Borelli
182003aa41
Add PAM authentication
10 years ago
Unknwon
211596f407
#1124 LDAP add and edit form are misleading
10 years ago
Lauris BH
00653e52ee
Get username, name, surname and e-mail from LDAP server
10 years ago
Unknwon
fa241efa6d
Use binding middleware
10 years ago
Unknwon
8dd07c0ddd
New UI merge in progress
11 years ago
Unknown
465dc962b5
Finish create organization team
11 years ago
Unknown
09dba7d63e
Clean names
11 years ago
Unknown
6e3dba2cc5
Clean repo code
11 years ago
Unknown
bbdfe25769
User code clean and ui improve
11 years ago
Unknown
c1eb4d894a
Clean api code
11 years ago
Lunny Xiao
1652dd5068
basic authentications
11 years ago
Unknown
816c0ed5e7
Fix import path
11 years ago
Unknown
d0ea4c7b68
Fix #149
11 years ago
Unknown
2a1dc0085b
fix #91
11 years ago
Unknown
62240b6bc1
Add login by email
11 years ago
Unknown
5c2da610a2
Move binding as subrepo
11 years ago
Unknown
90f6aa8cd1
Add repo mirror and import
11 years ago
zhsso
a4cbe79567
fix
11 years ago
zhsso
f3ed11d177
mistakes
11 years ago
Unknown
d0e6a4c25a
Change new martini impot path
11 years ago
Unknown
107a1eadac
Finish close and reopen issue, install page, ready going to test stage of v0.2.0
11 years ago
Unknown
6e376bb85c
Working on install page
11 years ago
Unknown
cb52f6d07d
Add auto-login
11 years ago
Unknown
52de63e7bb
Allow 1 letter usernames
11 years ago
Unknown
57bc2d1ca0
Add update user profile back end, add new gitignore and license, add template data to public profile page
11 years ago
FuXiaoHei
37fae304d3
single repository page ui, add spec handler to get repo
11 years ago
Unknown
6a75b1f7b3
Add create repo feeds
11 years ago
Unknown
897329a644
Add add and delete SSH key
11 years ago
Unknown
76ce6f9848
Update repo.Create
11 years ago
Unknown
5a05d6633d
Merge utils to modules
11 years ago
Unknown
56a7ab4da5
Finish log in user
11 years ago
Unknown
1249392c83
Finish register user
11 years ago
Unknown
5959e344a9
Optimize validate
11 years ago