Lu, Haixun
0bc0725ce1
Add new Authentication Source: GitHub, including GitHub Enterprise.
7 years ago
Unknwon
f2ecfdc96a
auth: support authentication source config file ( #3142 )
7 years ago
Unknwon
6f04ee879c
auth/ldap: allow placeholder %s for BindDN ( #2526 )
7 years ago
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
2c404daca6
pkg/context: rename {CsrfToken, CsrfTokenHtml} -> {CSRFToken, CSRFTokenHTML}
8 years ago
Justin Ray Vrooman
f1a5a4277d
fix grammar + typo. ( #3453 )
9 years ago
Unknwon
401bf944ef
Use SecurityProtocol to replace UseSSL in LDAP config
...
Initially proposed by #2376 and fixes #3068 as well.
9 years ago
Unknwon
acf094fb07
Minor fix for #2634
...
Add AttributesInBind option in new auth source form.
9 years ago
SlavikZ
a19aaa439d
LDAP parameters UI: bind_dn and bind_password are not required
9 years ago
Adam Strzelecki
da2585c11e
Indent all templates with tabs
...
This commit improves templates readability, since all of them use consistent
indent with all template command blocks indented too.
1. Indents both HTML containers such as <div>, <p> and Go HTML template blocks
such as {{if}} {{with}}
2. Cleans all trailing white-space
3. Adds trailing last line-break to each file
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
6a1907d994
revert simple LDAP userDN and update example
10 years ago
Unknwon
f5c7f22cc8
#1637 able to skip verify for LDAP
10 years ago
Unknwon
cd37fccdfb
#1625 remove auto_register and makes it default
10 years ago
Unknwon
362d64df04
#1620 add allowed domains for SMTP auth
10 years ago
Unknwon
121a81a2c5
finish new edit auth UI
10 years ago
Unknwon
0617448282
finish new add auth UI
10 years ago
Sergio Benitez
2d1db4bf05
Added LDAP simple auth support.
10 years ago
Unknwon
ea454c21f7
#1542 A way to skip TLS verify for SMTP authentication
10 years ago
Unknwon
87f5ca8e1f
able edit issue title
10 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.
10 years ago
Lydia Sevelt
bfa8ef68a6
Change input field to type=password for the authentication templates.
10 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
Unknwon
7ba9257a7f
Add suburl support
11 years ago
Martin van Beurden
0055cbd365
Allow Gogs to run from a suburl behind a reverse proxy. e.g. http://mydomain.com/gogs/
...
Conflicts:
modules/setting/setting.go
Conflicts:
templates/repo/release/list.tmpl
templates/user/dashboard/dashboard.tmpl
Conflicts:
routers/repo/setting.go
11 years ago
Tristan Storch
69e332f432
Removed trailing white spaces
...
Removed trailing whitespaces with
```sh
for file in `grep -r " $" * | cut -d : -f 1 | sort | uniq | grep -v " "`; do sed -i 's/[ \t]*$//' $file; done
```
and some handwork.
11 years ago
Unknwon
d2aff9a46a
Continue working on new admin pages
11 years ago
Unknown
9924e65ca1
In progress of name template name constant
11 years ago
Bruno Bigras
6227b59b1a
Registeration -> Registration
11 years ago
Unknown
4744996f9a
Make gmail auth work
11 years ago
Sebastian Jackel
eb264a112b
Add LDAP over SSL support
11 years ago
Unknown
f1130ce5e9
Fix edit auth page bug
11 years ago
Unknown
c5dbc24ca4
UI fix
11 years ago
Lunny Xiao
bf58679390
add support for smtp authentication
11 years ago
FuXiaoHei
cdc87623dc
add auth new js
11 years ago
Unknown
3b7465f817
fix code
11 years ago
Lunny Xiao
1652dd5068
basic authentications
11 years ago
Lunny Xiao
79ea34e70e
ldap support
11 years ago