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
Adam Strzelecki
e2f95c2845
LDAP: Use single connection in BindDN mode auth
...
According to RFC 4511 4.2.1. Processing of the Bind Request "Clients may send
multiple Bind requests to change the authentication and/or security
associations or to complete a multi-stage Bind process. Authentication from
earlier binds is subsequently ignored."
Therefore we should not use 2 connections, but single one just sending two bind
requests.
9 years ago
Josh Frye
8ab5399e83
Make log path required
9 years ago
Josh Frye
a3e8c32a30
Add install option for log path
9 years ago
Adam Strzelecki
3808638df1
Fix #2221 LDAP username attribute must be fetched
...
This is fix-up for 573305f
. Forgot to fetch AttributeUsername value from the
LDAP server, so the setting was effectively not working as intended.
9 years ago
Florian Kaiser
abc5abce30
Allow modification of a release if Content is empty ( fix #2516 )
9 years ago
Unknwon
112a7cab31
#2497 incorrect error handle for team name
9 years ago
zhuharev
0d5dc8a064
typo fix
9 years ago
Unknwon
59c965a5ec
#2156 admin able to edit organization max repo creation
9 years ago
Unknwon
477b4d3b50
#2154 fix form submit error
9 years ago
Unknwon
d0b0d24f22
#2154 disable change user for non-local users
...
- #2153 remove require for gravatar
9 years ago
Unknwon
40f3142264
#2114 External URL for wiki
9 years ago
Unknwon
2a0bb1fa90
#1575 Limit repo creation
9 years ago
Unknwon
b8d48bdb62
#2037 Add "New Mirror" button on Dashboard
9 years ago
Unknwon
120cd4e471
#1984 Better mirror repo management
9 years ago
Alex Myasoedov
ae54d878c0
Fix misspelled words
9 years ago
Unknwon
978dc00305
APIs: admin users
9 years ago
Unknwon
e538ff2770
fix #1829 and fix #890
9 years ago
Unknwon
56dd430a10
refactor API routes and some work for #976
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
dcb391d341
Merge branch 'feature/wiki' into develop
9 years ago
Unknwon
e42fcb033d
wiki: finish edit
9 years ago
Unknwon
392f3ee210
wiki: finish new
9 years ago
Unknwon
c50a3503e6
introduce git-shell
9 years ago
Unknwon
aaa3f1b2b9
Use better LDAP lib and should fix #1139
9 years ago
Unknwon
f04d773f4f
UI: long organization name in create repository owner list
9 years ago
Unknwon
18de67380c
fix #1958
9 years ago
Unknwon
f255b1e86d
#1896 fatal when no needed update task
9 years ago
Unknwon
6f0a41b8b2
#1511 Allow local import only for admin users
9 years ago
无闻
91c9069c4d
Merge pull request #1862 from nathan7/fix-private
...
Fix the JSON field names for MigrateRepoForm
9 years ago
Nathan Zadoks
f1aa4c0524
Fix the JSON field names for MigrateRepoForm
...
For some reason, the field names for Private and Mirror got swapped.
9 years ago
Unknwon
073da3c49d
#470 fix max length of email
9 years ago
Unknwon
7d72c8333e
work on #470 and fix miror JS issue when choose targets on compare and pull
9 years ago
Sergio Benitez
630ebbe6c2
Sanitizing input to LDAP authentication module.
9 years ago
Unknwon
932dbccb67
fix import path, fix #1782
9 years ago
Unknwon
21e13cb51e
#1525 Triggere mailer for admin created accounts
9 years ago
Unknwon
6a1907d994
revert simple LDAP userDN and update example
9 years ago
Unknwon
e4ecbcdf4a
new sign in page
9 years ago
Unknwon
f5c7f22cc8
#1637 able to skip verify for LDAP
9 years ago
Unknwon
2bc3e83e1c
fix simple LDAP userDN
9 years ago
Unknwon
5f1183cecf
#697 add install option
9 years ago
Unknwon
83e747bfda
#697 and #1606 and new admin edit user UI
9 years ago
Unknwon
e5ed5904c6
#1606 GUI bug while adding ldap user
9 years ago
Unknwon
8e0a69f86a
#697 disable captcha and new admin create user UI
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
Unknwon
cbd6276200
Merge branch 'develop' of https://github.com/SergioBenitez/gogs into develop
...
# Conflicts:
# modules/bindata/bindata.go
9 years ago
Unknwon
52ec80fa18
finish all new user settings UI
9 years ago