Adam Strzelecki
16dd8d9ce4
LDAP: Make a bit more detailed log traces
This is useful especially to check whether we fetch right attributes, using
right LDAP search base and in right order.
9 years ago
Adam Strzelecki
727a5245ac
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
0c08945c88
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
173684ecec
Make log path required
9 years ago
Josh Frye
2a5b31d2f5
Add install option for log path
9 years ago
Adam Strzelecki
7bf5deac1f
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
84f5822fb4
Allow modification of a release if Content is empty ( fix #2516 )
9 years ago
Unknwon
0c6f6be314
#2497 incorrect error handle for team name
9 years ago
zhuharev
43e7e4a4a2
typo fix
9 years ago
Unknwon
3931000177
#2156 admin able to edit organization max repo creation
9 years ago
Unknwon
6f153b9b14
#2154 fix form submit error
9 years ago
Unknwon
826d4bd7d1
#2154 disable change user for non-local users
- #2153 remove require for gravatar
9 years ago
Unknwon
ce054072fa
#2114 External URL for wiki
9 years ago
Unknwon
466864bfcc
#1575 Limit repo creation
9 years ago
Unknwon
87fc75586e
#2037 Add "New Mirror" button on Dashboard
9 years ago
Unknwon
ab55ca457f
#1984 Better mirror repo management
9 years ago
Alex Myasoedov
1d4f3815a4
Fix misspelled words
9 years ago
Unknwon
12020f4d74
APIs: admin users
9 years ago
Unknwon
caac2f9b19
fix #1829 and fix #890
9 years ago
Unknwon
c6f6031bd5
refactor API routes and some work for #976
9 years ago
Adam Strzelecki
d461afdc62
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
043da9de5a
Merge branch 'feature/wiki' into develop
9 years ago
Unknwon
7943f3f40e
wiki: finish edit
9 years ago
Unknwon
42d8bbe23e
wiki: finish new
9 years ago
Unknwon
43eda8feb3
introduce git-shell
9 years ago
Unknwon
34ca19347f
Use better LDAP lib and should fix #1139
9 years ago
Unknwon
27f3dc861c
UI: long organization name in create repository owner list
9 years ago
Unknwon
c0b841a766
fix #1958
9 years ago
Unknwon
ac3cbc19e0
#1896 fatal when no needed update task
9 years ago
Unknwon
aa8a5f1292
#1511 Allow local import only for admin users
9 years ago
无闻
e85fd9e599
Merge pull request #1862 from nathan7/fix-private
Fix the JSON field names for MigrateRepoForm
9 years ago
Nathan Zadoks
5e5ab4d364
Fix the JSON field names for MigrateRepoForm
For some reason, the field names for Private and Mirror got swapped.
9 years ago
Unknwon
a0fa043909
#470 fix max length of email
9 years ago
Unknwon
9087f6230d
work on #470 and fix miror JS issue when choose targets on compare and pull
9 years ago
Sergio Benitez
8dd535a6a7
Sanitizing input to LDAP authentication module.
9 years ago
Unknwon
f066c2f1d8
fix import path, fix #1782
9 years ago
Unknwon
2374b320dc
#1525 Triggere mailer for admin created accounts
9 years ago
Unknwon
7b97385e1d
revert simple LDAP userDN and update example
9 years ago
Unknwon
88cfdba4d6
new sign in page
9 years ago
Unknwon
65e1a79b68
#1637 able to skip verify for LDAP
9 years ago
Unknwon
b74f247d25
fix simple LDAP userDN
9 years ago
Unknwon
84f4ee761f
#697 add install option
9 years ago
Unknwon
3494c1c06a
#697 and #1606 and new admin edit user UI
9 years ago
Unknwon
6f0ccf5280
#1606 GUI bug while adding ldap user
9 years ago
Unknwon
f64c2b3fff
#697 disable captcha and new admin create user UI
9 years ago
Unknwon
67853f8fd0
#1625 remove auto_register and makes it default
9 years ago
Unknwon
97a616a5a5
#1620 add allowed domains for SMTP auth
9 years ago
Unknwon
571b8270c3
finish new edit auth UI
9 years ago
Unknwon
c08337a4de
finish new add auth UI
9 years ago
Unknwon
11d9f91d8f
Merge branch 'develop' of https://github.com/SergioBenitez/gogs into develop
# Conflicts:
# modules/bindata/bindata.go
9 years ago