Unknwon
e106eb2000
Replace uuid module with original package
2016-02-20 18:13:12 -05:00
Unknwon
2b66e67625
#2334 strip whitespace for migrate URL
...
Also fix a possible race condition while install
2016-02-20 17:32:34 -05:00
Adam Strzelecki
a32b5b9bee
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.
2016-02-20 14:12:32 +01:00
Adam Strzelecki
b4bd486184
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.
2016-02-20 14:12:32 +01:00
Adam Strzelecki
72b4e9f776
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.
2016-02-20 14:01:47 +01:00
Josh Frye
a87aabe835
Make log path required
2016-02-12 10:10:02 -05:00
Josh Frye
1b9438c2eb
Add install option for log path
2016-02-12 09:19:45 -05:00
Adam Strzelecki
284d7022e7
Fix #2221 LDAP username attribute must be fetched
...
This is fix-up for 8d0ee10 . Forgot to fetch AttributeUsername value from the
LDAP server, so the setting was effectively not working as intended.
2016-02-07 18:18:29 +01:00
Florian Kaiser
4fd123a216
Allow modification of a release if Content is empty ( fix #2516 )
2016-01-30 13:39:02 +00:00
Unknwon
ce7051e2ae
#2497 incorrect error handle for team name
2016-01-29 17:06:14 -05:00
zhuharev
8037b4f6cc
typo fix
2016-01-06 22:41:42 +03:00
Unknwon
c2717eb029
#2156 admin able to edit organization max repo creation
2015-12-11 19:24:57 -05:00
Unknwon
c5cdcc4d2e
#2154 fix form submit error
2015-12-11 18:52:28 -05:00
Unknwon
56b3894d5f
#2154 disable change user for non-local users
...
- #2153 remove require for gravatar
2015-12-11 15:31:02 -05:00
Unknwon
ec6b79e125
#2114 External URL for wiki
2015-12-11 04:55:08 -05:00
Unknwon
74ceced0e8
#1575 Limit repo creation
2015-12-10 12:37:53 -05:00
Unknwon
5bf71fa245
#2037 Add "New Mirror" button on Dashboard
2015-12-09 11:24:56 -05:00
Unknwon
4df8494a60
#1984 Better mirror repo management
2015-12-08 20:06:12 -05:00
Alex Myasoedov
7b32a12ba8
Fix misspelled words
2015-12-06 16:42:23 +02:00
Unknwon
a3ea3c3bb9
APIs: admin users
2015-12-05 17:13:13 -05:00
Unknwon
4b54ceb402
fix #1829 and fix #890
2015-12-04 21:30:33 -05:00
Unknwon
8b49bed230
refactor API routes and some work for #976
2015-12-04 17:16:42 -05:00
Adam Strzelecki
8d0ee10100
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.
2015-12-02 00:20:14 +01:00
Unknwon
ba80dbd1c4
Merge branch 'feature/wiki' into develop
2015-11-30 20:46:19 -05:00
Unknwon
0b1e1041aa
wiki: finish edit
2015-11-27 01:50:38 -05:00
Unknwon
5369b119f8
wiki: finish new
2015-11-27 00:24:24 -05:00
Unknwon
1d132f38b6
introduce git-shell
2015-11-26 17:33:45 -05:00
Unknwon
812a468d0c
Use better LDAP lib and should fix #1139
2015-11-26 14:04:58 -05:00
Unknwon
1e5f8c2090
UI: long organization name in create repository owner list
2015-11-18 17:42:20 -05:00
Unknwon
89dc370726
fix #1958
2015-11-15 23:52:46 -05:00
Unknwon
a94538ef3a
#1896 fatal when no needed update task
2015-11-04 21:57:10 -05:00
Unknwon
efd1b30453
#1511 Allow local import only for admin users
2015-11-03 18:40:52 -05:00
无闻
8871111ff1
Merge pull request #1862 from nathan7/fix-private
...
Fix the JSON field names for MigrateRepoForm
2015-10-31 11:14:38 -04:00
Nathan Zadoks
70e47580a4
Fix the JSON field names for MigrateRepoForm
...
For some reason, the field names for Private and Mirror got swapped.
2015-10-30 02:44:45 +01:00
Unknwon
a426d5ff64
#470 fix max length of email
2015-10-29 21:12:41 -04:00
Unknwon
d9dfb1d6bc
work on #470 and fix miror JS issue when choose targets on compare and pull
2015-10-29 21:09:48 -04:00
Sergio Benitez
1ba6b60226
Sanitizing input to LDAP authentication module.
2015-10-26 18:08:59 -07:00
Unknwon
677970b18e
fix import path, fix #1782
2015-10-15 21:28:12 -04:00
Unknwon
41a27b7e75
#1525 Triggere mailer for admin created accounts
2015-09-25 19:45:44 -04:00
Unknwon
380cd2a21c
revert simple LDAP userDN and update example
2015-09-16 12:15:14 -04:00
Unknwon
ba8df2e818
new sign in page
2015-09-14 22:50:44 -04:00
Unknwon
6bf4dbca56
#1637 able to skip verify for LDAP
2015-09-14 15:48:51 -04:00
Unknwon
45011575b5
fix simple LDAP userDN
2015-09-14 12:24:37 -04:00
Unknwon
c8296740bd
#697 add install option
2015-09-13 12:14:32 -04:00
Unknwon
0d977db881
#697 and #1606 and new admin edit user UI
2015-09-13 11:07:21 -04:00
Unknwon
4226a6f8d6
#1606 GUI bug while adding ldap user
2015-09-13 10:05:18 -04:00
Unknwon
dfcfb9f5cd
#697 disable captcha and new admin create user UI
2015-09-13 09:51:51 -04:00
Unknwon
82495e190c
#1625 remove auto_register and makes it default
2015-09-12 20:58:51 -04:00
Unknwon
012517c083
#1620 add allowed domains for SMTP auth
2015-09-11 13:32:33 -04:00
Unknwon
4c1432e16b
finish new edit auth UI
2015-09-11 12:03:08 -04:00