19 Commits

Author SHA1 Message Date
6a1907d994 revert simple LDAP userDN and update example 2015-09-16 12:15:14 -04:00
f5c7f22cc8 #1637 able to skip verify for LDAP 2015-09-14 15:48:51 -04:00
cd37fccdfb #1625 remove auto_register and makes it default 2015-09-12 20:58:51 -04:00
362d64df04 #1620 add allowed domains for SMTP auth 2015-09-11 13:32:33 -04:00
121a81a2c5 finish new edit auth UI 2015-09-11 12:03:08 -04:00
0617448282 finish new add auth UI 2015-09-10 17:11:41 -04:00
2d1db4bf05 Added LDAP simple auth support. 2015-09-04 20:48:34 -07:00
ea454c21f7 #1542 A way to skip TLS verify for SMTP authentication 2015-08-29 15:45:58 +08:00
87f5ca8e1f able edit issue title 2015-08-19 23:14:57 +08:00
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.
2015-08-18 23:49:12 -07:00
bfa8ef68a6 Change input field to type=password for the authentication templates. 2015-08-18 13:56:36 -04:00
7d84d4a8f0 Significantly enhanced LDAP support in Gogs. 2015-08-12 17:01:22 -07:00
182003aa41 Add PAM authentication 2015-04-24 10:13:01 +02:00
211596f407 #1124 LDAP add and edit form are misleading 2015-03-24 19:04:16 -04:00
7ba9257a7f Add suburl support 2014-09-19 20:11:34 -04:00
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
2014-09-18 20:50:48 +02:00
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.
2014-08-30 15:12:53 +02:00
d2aff9a46a Continue working on new admin pages 2014-08-29 20:50:43 +08:00
9924e65ca1 In progress of name template name constant 2014-06-22 13:14:03 -04:00