Cosmin Stroe
ba314a7a36
Support alphanumeric issue style (ABC-1234) for external issue tracker ( #2992 )
2016-04-22 18:28:08 -04:00
Unknwon
ac78bae7b5
Replace uuid module with original package
2016-02-20 18:13:12 -05:00
Unknwon
926e75d721
#2334 strip whitespace for migrate URL
...
Also fix a possible race condition while install
2016-02-20 17:32:34 -05:00
Adam Strzelecki
5649556a33
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
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.
2016-02-20 14:12:32 +01:00
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.
2016-02-20 14:01:47 +01:00
Josh Frye
8ab5399e83
Make log path required
2016-02-12 10:10:02 -05:00
Josh Frye
a3e8c32a30
Add install option for log path
2016-02-12 09:19:45 -05:00
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.
2016-02-07 18:18:29 +01:00
Florian Kaiser
abc5abce30
Allow modification of a release if Content is empty ( fix #2516 )
2016-01-30 13:39:02 +00:00
Unknwon
112a7cab31
#2497 incorrect error handle for team name
2016-01-29 17:06:14 -05:00
zhuharev
0d5dc8a064
typo fix
2016-01-06 22:41:42 +03:00
Unknwon
59c965a5ec
#2156 admin able to edit organization max repo creation
2015-12-11 19:24:57 -05:00
Unknwon
477b4d3b50
#2154 fix form submit error
2015-12-11 18:52:28 -05:00
Unknwon
d0b0d24f22
#2154 disable change user for non-local users
...
- #2153 remove require for gravatar
2015-12-11 15:31:02 -05:00
Unknwon
40f3142264
#2114 External URL for wiki
2015-12-11 04:55:08 -05:00
Unknwon
2a0bb1fa90
#1575 Limit repo creation
2015-12-10 12:37:53 -05:00
Unknwon
b8d48bdb62
#2037 Add "New Mirror" button on Dashboard
2015-12-09 11:24:56 -05:00
Unknwon
120cd4e471
#1984 Better mirror repo management
2015-12-08 20:06:12 -05:00
Alex Myasoedov
ae54d878c0
Fix misspelled words
2015-12-06 16:42:23 +02:00
Unknwon
978dc00305
APIs: admin users
2015-12-05 17:13:13 -05:00
Unknwon
e538ff2770
fix #1829 and fix #890
2015-12-04 21:30:33 -05:00
Unknwon
56dd430a10
refactor API routes and some work for #976
2015-12-04 17:16:42 -05:00
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.
2015-12-02 00:20:14 +01:00
Unknwon
dcb391d341
Merge branch 'feature/wiki' into develop
2015-11-30 20:46:19 -05:00
Unknwon
e42fcb033d
wiki: finish edit
2015-11-27 01:50:38 -05:00
Unknwon
392f3ee210
wiki: finish new
2015-11-27 00:24:24 -05:00
Unknwon
c50a3503e6
introduce git-shell
2015-11-26 17:33:45 -05:00
Unknwon
aaa3f1b2b9
Use better LDAP lib and should fix #1139
2015-11-26 14:04:58 -05:00
Unknwon
f04d773f4f
UI: long organization name in create repository owner list
2015-11-18 17:42:20 -05:00
Unknwon
18de67380c
fix #1958
2015-11-15 23:52:46 -05:00
Unknwon
f255b1e86d
#1896 fatal when no needed update task
2015-11-04 21:57:10 -05:00
Unknwon
6f0a41b8b2
#1511 Allow local import only for admin users
2015-11-03 18:40:52 -05:00
无闻
91c9069c4d
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
f1aa4c0524
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
073da3c49d
#470 fix max length of email
2015-10-29 21:12:41 -04:00
Unknwon
7d72c8333e
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
630ebbe6c2
Sanitizing input to LDAP authentication module.
2015-10-26 18:08:59 -07:00
Unknwon
932dbccb67
fix import path, fix #1782
2015-10-15 21:28:12 -04:00
Unknwon
21e13cb51e
#1525 Triggere mailer for admin created accounts
2015-09-25 19:45:44 -04:00
Unknwon
6a1907d994
revert simple LDAP userDN and update example
2015-09-16 12:15:14 -04:00
Unknwon
e4ecbcdf4a
new sign in page
2015-09-14 22:50:44 -04:00
Unknwon
f5c7f22cc8
#1637 able to skip verify for LDAP
2015-09-14 15:48:51 -04:00
Unknwon
2bc3e83e1c
fix simple LDAP userDN
2015-09-14 12:24:37 -04:00
Unknwon
5f1183cecf
#697 add install option
2015-09-13 12:14:32 -04:00
Unknwon
83e747bfda
#697 and #1606 and new admin edit user UI
2015-09-13 11:07:21 -04:00
Unknwon
e5ed5904c6
#1606 GUI bug while adding ldap user
2015-09-13 10:05:18 -04:00
Unknwon
8e0a69f86a
#697 disable captcha and new admin create user UI
2015-09-13 09:51:51 -04:00
Unknwon
cd37fccdfb
#1625 remove auto_register and makes it default
2015-09-12 20:58:51 -04:00
Unknwon
362d64df04
#1620 add allowed domains for SMTP auth
2015-09-11 13:32:33 -04:00
Unknwon
121a81a2c5
finish new edit auth UI
2015-09-11 12:03:08 -04:00
Unknwon
0617448282
finish new add auth UI
2015-09-10 17:11:41 -04:00
Unknwon
cbd6276200
Merge branch 'develop' of https://github.com/SergioBenitez/gogs into develop
...
# Conflicts:
# modules/bindata/bindata.go
2015-09-10 14:55:29 -04:00
Unknwon
52ec80fa18
finish all new user settings UI
2015-09-10 11:40:34 -04:00
Sergio Benitez
964d0262ff
Merged conflicts.
2015-09-09 13:44:51 -07:00
Unknwon
cc83043edc
minor fix on template
2015-09-07 14:02:09 -04:00
Unknwon
85f34ba538
new user profile settings UI
...
Signed-off-by: Unknwon <u@gogs.io>
2015-09-06 16:31:22 -04:00
Unknwon
edc99bc8a4
new org options UI
2015-09-06 10:56:31 -04:00
Unknwon
80701d45bb
#1193 Make organization emails non-mandatory
2015-09-06 10:08:14 -04:00
Sergio Benitez
079a2d68db
Minor fixes to the LDAP module readme
2015-09-05 15:26:31 -07:00
Sergio Benitez
0f07a5cb84
Updated the LDAP auth module README.
2015-09-04 21:14:20 -07:00
Sergio Benitez
aa9c36514f
Merged conflicts.
2015-09-04 20:49:07 -07:00
Sergio Benitez
2d1db4bf05
Added LDAP simple auth support.
2015-09-04 20:48:34 -07:00
Unknwon
07fe846c9f
#1579 change e-mail max length to 254
2015-09-04 10:59:34 -04:00
Unknwon
38eb000d13
work on #1570
2015-09-03 08:09:08 -04:00
Unknwon
7ec991326d
fix migrate api
2015-09-03 06:48:52 -04:00
Unknwon
e5b105e513
fix migrate API
2015-09-03 06:17:33 -04:00
Unknwon
65e73c4ac6
support URL param to token, but still restrict to APIs
2015-09-02 02:45:01 -04:00
Unknwon
2ac8e11f46
#842 able to use access token replace basic auth
2015-09-02 02:40:15 -04:00
Unknwon
f1adbca0f1
#1554 check adminFilter length before LDAP search
2015-09-01 08:40:11 -04:00
Unknwon
c6b039c6f9
new repo options UI
2015-08-30 03:21:59 +08:00
Unknwon
302938e646
#1333 Disable Gravatar option when install
2015-08-30 00:22:26 +08:00
Unknwon
ea454c21f7
#1542 A way to skip TLS verify for SMTP authentication
2015-08-29 15:45:58 +08:00
Unknwon
55ddf225bb
webhook APIs
2015-08-29 11:49:59 +08:00
Unknwon
f509c59ac1
new create webhook event
2015-08-28 23:36:13 +08:00
Unknwon
bb3b90fcd6
#1487 Readme Template
2015-08-28 18:33:09 +08:00
Unknwon
46bee50e45
complate list of gitignores and licenses
2015-08-28 16:44:04 +08:00
Unknwon
c08600c59b
new edit webhook UI
2015-08-27 01:04:23 +08:00
Unknwon
4217c2333c
new create webhook UI
2015-08-27 00:30:06 +08:00
Unknwon
bd1d7d1509
Able to set SSH port when install, update Docker docs
2015-08-19 20:36:19 +08:00
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.
2015-08-18 23:49:12 -07:00
Unknwon
03b85b73af
token recent activity
2015-08-19 06:22:33 +08:00
Unknwon
4c7b6414eb
new access token UI
2015-08-19 03:36:16 +08:00
Unknwon
6235bd1fe9
work on #986 and fix a LDAP crash
2015-08-18 04:03:11 +08:00
Unknwon
71fd10dd37
change minimum password length to 1
2015-08-18 02:30:33 +08:00
Unknwon
407385db7e
work on #1493
2015-08-17 17:05:37 +08:00
Sergio Benitez
bb8e763ede
Small style fixes to the LDAP module README
2015-08-16 17:29:56 -07:00
Unknwon
55ccb00a47
Merge branch 'develop' of https://github.com/SergioBenitez/gogs into develop
...
# Conflicts:
# modules/bindata/bindata.go
2015-08-16 14:31:54 +08:00
Unknwon
1fb53067f4
finish close/reopen issue
2015-08-13 23:21:43 +08:00
Unknwon
133b19d0c5
finish view comments on issue page
2015-08-13 16:07:11 +08:00
Sergio Benitez
f8a4ab25fd
Updated the LDAP module readme.
2015-08-12 17:08:16 -07:00
Sergio Benitez
7d84d4a8f0
Significantly enhanced LDAP support in Gogs.
2015-08-12 17:01:22 -07:00
Unknwon
34f6cbfc2a
finish attachments when create issue
2015-08-11 23:24:40 +08:00
Unknwon
922f3f3062
finish create issue with labels
2015-08-10 16:52:08 +08:00
Unknwon
590c464c56
UI: create issue with title and content
2015-08-09 15:23:02 +08:00
Unknwon
dea3a8c6a4
WIP: create PR - choose branch
2015-08-08 22:43:14 +08:00
Unknwon
39a3b768bc
#334 : Add Deployment Key Support
2015-08-06 22:48:11 +08:00
Unknwon
2c507667bf
Merge branch 'develop' of github.com:gogits/gogs into feature/milestone
...
# Conflicts:
# gogs.go
# models/issue.go
# templates/.VERSION
2015-08-05 20:26:00 +08:00
Unknwon
3e4cdccf6b
milestone: create page
2015-08-05 15:24:26 +08:00
Unknwon
e50982f5ec
allow anonymous SSH clone
2015-08-05 11:14:17 +08:00
Unknwon
487fc8ca39
fix #1439
2015-08-05 10:16:21 +08:00
Unknwon
54b58e988d
Merge branch 'develop' of github.com:gogits/gogs into feature/page_issues
2015-07-25 00:49:40 +08:00
Unknwon
70d44e9565
Merge branch 'master' of github.com:gogits/gogs into develop
2015-07-25 00:48:42 +08:00
无闻
d86c4841fa
Merge pull request #1309 from stettberger/master
...
settings/password: no minimal required characters for OldPassword
2015-07-25 00:45:53 +08:00
无闻
91ab2538c3
Merge pull request #1244 from jamesa/develop
...
Add full name field to admin's user edit page (fixes #1130 )
2015-07-25 00:39:16 +08:00
Unknwon
dc4aab9925
UI: CURD labels
...
- fix update lable break connection with repository
2015-07-24 23:13:42 +08:00
Unknwon
ac95f6d50f
UI: basic label list
...
- create new label
2015-07-24 21:02:49 +08:00
Unknwon
548b95f7b5
fix install form def
2015-07-20 12:34:53 +08:00
Unknwon
ff051e2106
#1128 : API calls are not hidden behind sign in
2015-07-15 19:17:57 +08:00
Unknwon
81adbe17ca
use pam and update TRANSLATORS
2015-07-14 19:47:20 +08:00
Unknwon
a2a9e151f8
install - add mail from setting
2015-07-09 16:10:31 +08:00
Unknwon
b9dc2147b4
UI: install - done
2015-07-09 13:17:48 +08:00
Unknwon
5cf3732339
UI: install - new version
2015-07-08 19:47:56 +08:00
Christian Dietrich
b36134194c
settings/password: no minimal required characters for OldPassword
...
If users are added to gogs due a reverse proxy automatically, their password is
set to their initial username. If their username is shorter than 6 characters,
they can never set a password. But since this password is required for some
operations (e.g. repository deletion), they could not use all features of gogs
until now.
2015-06-03 15:46:37 +02:00
James
f3aab5dbe3
Add full name field to admin's user edit page ( fixes #1130 )
2015-04-28 11:59:05 -04:00
Paolo Borelli
182003aa41
Add PAM authentication
2015-04-24 10:13:01 +02:00
Unknwon
211596f407
#1124 LDAP add and edit form are misleading
2015-03-24 19:04:16 -04:00
Unknwon
33894591a6
#851 : Edit Account does not take into consideration password rules
2015-03-17 03:21:58 -04:00
Unknwon
34102f7889
remove unused scripts and simplify migrate form definition
2015-03-11 09:21:05 -04:00
无闻
3a6ba39a61
Merge pull request #992 from theangryangel/fix/ldap-auth
...
Attempt 3 to fix LDAP login issues when git pushing after password change
2015-02-28 06:57:43 -05:00
Gogs
fab038b175
Attempt #3 of ldap fixes
2015-02-27 13:18:29 +00:00
无闻
cd8b43d984
Merge pull request #915 from Lafriks/dev
...
Get username, name, surname and e-mail from LDAP server
2015-02-23 13:41:29 -05:00
Unknwon
059338139c
routers: able to migrate repo from local path
...
- modules/middleware/context.go: add HandleAPI method
2015-02-22 09:49:25 -05:00
Unknwon
1654e9ecab
templates/user/settings/emial.tmpl: little fix on UI
...
- routers/user: little code format
- conf/locale: update French locale
2015-02-21 22:13:47 -05:00
Peter Smit
e6fc58a744
Remove GoGet option from repository and handle it with ?go-get=1 instead
...
The normal go get protocol is to show the go-import meta tag when ?go-get=1 is appended to the url. This commit implements that behaviour and cleans the go-get option from the repository settings page.
2015-02-17 10:36:17 +02:00
Lauris BH
00653e52ee
Get username, name, surname and e-mail from LDAP server
2015-02-08 01:49:51 +02:00
Unknwon
b293b6eaa6
cmd: CMD option for port number of gogs web
to prevent first time run conflict
...
- routers: use new binding convention to simplify code
- templates: able to set HTTP port number in install page
2015-02-01 12:41:03 -05:00
Peter
b033f2f535
Finish method for having multiple emails/user.
...
All basics are implemented. Missing are the right (localized) strings
and the page markup could have a look at by a frontend guy.
2014-12-17 17:42:54 +02:00
Unknwon
9803c421f5
fix binding api broken
2014-12-15 01:49:59 -05:00
Unknwon
ac4a10456e
api: able to create repo and fix #726
...
- POST /user/repos
- POST /org/:org/repos
2014-12-12 20:30:32 -05:00
Unknwon
bc8721fb6c
Finish new UI for release page
2014-12-10 16:37:54 -05:00
Joseph Crail
39c068400e
Fix spelling errors in comments.
2014-12-06 20:22:48 -05:00
Unknwon
0b785ad967
work on #672
2014-12-05 18:08:09 -05:00
Unknwon
069486d169
fix #165
2014-12-05 17:54:57 -05:00
Unknwon
ef275ebf62
more on change avatar
2014-11-21 12:51:36 -05:00
Unknwon
55dfe2c978
custom avatar upload
2014-11-21 10:58:08 -05:00
Unknwon
37d8d3afe9
more APIs on #12
2014-11-18 11:07:16 -05:00
Unknwon
32dcaefafa
fox #620
2014-11-17 14:53:41 -05:00
Unknwon
8eb5120fbd
#12 , API: list user repos, list repo hooks
2014-11-13 02:32:18 -05:00
Unknwon
8c9338a537
add personal access token panel #12
2014-11-12 06:48:50 -05:00
Unknwon
e0de6cb5ad
work on #616 and update locales
2014-11-10 05:30:07 -05:00
Christopher Brickley
3794111460
update slack hook to use new format
2014-10-24 08:56:12 -04:00
Unknwon
fa241efa6d
Use binding middleware
2014-10-15 11:19:20 -04:00
Unknwon
91e5c24a31
Fix #522
2014-10-06 10:36:32 -04:00
Unknwon
b9560374cd
UI fix
2014-09-13 22:12:11 -04:00
Unknwon
2a3660dae3
Fix #453
2014-09-09 18:19:57 -04:00
Unknwon
59a7c7c5a5
Remove ldap dep
2014-09-07 20:04:47 -04:00
Unknwon
0ddb1eb769
Finish new install page, almost ready for 0.5 release
2014-09-07 19:02:58 -04:00
Christopher Brickley
2bce24068d
add Slack API webhook support
2014-08-31 12:01:59 -04:00
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.
2014-08-30 15:12:53 +02:00