2
0
Commit Graph

1070 Commits

Author SHA1 Message Date
Unknwon
755e046547 #2682 fix missing slash for go-get meta 2016-02-23 00:12:04 -05:00
Unknwon
41fbd1bbeb #1821 add actions for close and reopen issues 2016-02-22 12:40:00 -05:00
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
Unknwon
69f420490d Make markdown as an independent module 2016-02-20 17:10:05 -05:00
Unknwon
fce86b3da1 Move cron module to independent package
Make it easier to keep track of upstream changes and bug fixes
2016-02-20 15:58:09 -05:00
Unknwon
4181250ccb Fix #857 2016-02-20 15:10:34 -05:00
Adam Strzelecki
cbf66ead0b Update bindata for LDAP changes 2016-02-20 14:17:24 +01: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
Unknwon
cf76dca801 Fix inappropriate markdown post process end tag check
When <code> is nested inside <pre>, the next end tag token would not able to be the same
as outer-most start tag. So we only check outer-most start and end tag token to be the same.
2016-02-19 17:39:50 -05:00
Unknwon
8b4cf7a495 Merge pull request #2663 from Download-Fritz/MirrorForks
#2505 Allow to fork and disallow to create PRs for mirrors.
2016-02-19 15:04:50 -05:00
Download-Fritz
510ac4520f #2505 Allow to fork and disallow to create PRs for mirrors. 2016-02-19 20:33:06 +01:00
Unknwon
e5955ad05f Merge pull request #2659 from joshfng/fix-issue-email-format
Fix issue email formatting. Addresses #2331
2016-02-18 16:19:23 -05:00
Josh Frye
b73ad93c9f Fix issue email formatting. Addresses #2331 2016-02-18 16:08:20 -05:00
Unknwon
970e514f4e #2650 fix possbility that use email as pusher user name
Remove the possibility of using email as user name when user actually push
through combination of email and password with HTTP.

Also refactor update action function to replcae tons of arguments with
single PushUpdateOptions struct.
And define the user who pushes code as pusher, therefore variable names shouldn't
be confusing any more.
2016-02-17 22:47:06 -05:00
Unknwon
a65c53aeba Add env var check for update 2016-02-15 23:11:22 -05:00
Unknwon
871ceac7de Minor fix for #2624 2016-02-15 14:57:15 -05:00
Unknwon
354dd25700 Remove cache avatar support and add its tests 2016-02-14 23:14:55 -05:00
Unknwon
bbcd0a2f2b fix #2454 2016-02-14 20:26:49 -05:00
Unknwon
3756180638 Remove unused tests
Module httplib will be replaced a well done third-party package
soon, so remove its unused tests
2016-02-13 18:11:15 -05:00
Josh Frye
a87aabe835 Make log path required 2016-02-12 10:10:02 -05:00
Josh Frye
ab7816a69f Add helper text for log path. 2016-02-12 09:24:09 -05:00
Josh Frye
1b9438c2eb Add install option for log path 2016-02-12 09:19:45 -05:00
Unknwon
39fc9747cb Update locales and update sponsor 2016-02-11 13:34:21 -05:00
Unknwon
aee228d07e #2485 fix payloads mixed up for webhook
When repository contains a Slack type hook,
it changes original payload content.

This patch fixes it by using a local object to store
newly created Slack payload instead of assigning
back to the same variable.
2016-02-10 15:21:39 -05:00
Andrey Nering
ce1ab1ad2d Implementing the "theme-color" meta tag.
Used by Android >= 5.0 to make the top bar colored.

Reference: https://developers.google.com/web/updates/2014/11/Support-for-theme-color-in-Chrome-39-for-Android
2016-02-08 17:03:18 -02:00
Unknwon
e68f821533 Merge pull request #2579 from nanoant/patch/fix-ldap-username
Fix #2221 LDAP username attribute must be fetched
2016-02-07 12:27:10 -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
Unknwon
e7f964a2b0 Improve db path prompt when install 2016-02-07 11:51:53 -05:00
Unknwon
8706ef1cc6 Merge pull request #2528 from andreynering/diff-sintax-highlight-733
Enable syntax highlighting on diff view
2016-02-07 11:49:11 -05:00
Unknwon
2572dba3f0 Generate CSS for #2561 2016-02-05 14:53:45 -05:00
Unknwon
b52970cd3d Merge pull request #2406 from bkcsoft/feature/markdown-custom-url-scheme
Feature/markdown custom url scheme
2016-02-05 13:11:45 -05:00
Unknwon
3aaace1dc5 #2556 handle space in image URL 2016-02-04 22:51:40 -05:00
Andrey Nering
594c929461 Enable sintax highlighting on diff view. Close #733 2016-02-04 18:21:47 -02:00
Unknwon
a49a7a6b9b Minor fix for #2530 2016-02-04 13:03:34 -05:00
Unknwon
c29b0b3252 Merge pull request #2530 from fnkr/hide-other-teams-repos-from-org-page
Hide other teams & repos from organization page
2016-02-04 12:52:11 -05:00
Unknwon
7ba66bb20b #2554 reinitialize all repos from the db
- Update locales
2016-02-04 12:51:00 -05:00
Unknwon
9436967e65 Minor fix for #2444 2016-02-01 20:55:12 -05:00
Unknwon
2a808b06db Fix one user may block entire listen loop for builtin SSH 2016-02-01 12:10:49 -05:00
Unknwon
a7126a11d5 #2229 adjust URL verbose depth for reverse proxy sub-path 2016-01-31 15:38:20 -05:00
Florian Kaiser
0509d1d0fc Organization owners see all repositories & teams 2016-01-31 16:14:24 +00:00
Florian Kaiser
01d3dfca1b Refactor .IsAdminTeam to .IsTeamAdmin and requireAdminTeam to requireTeamAdmin 2016-01-31 15:30:07 +00:00
Florian Kaiser
df81362363 Only show teams the user has access to 2016-01-31 15:30:07 +00: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
Unknwon
4c65383498 Merge pull request #2508 from MilesPong/develop
Fixed gravatar url
2016-01-29 05:44:00 -05:00
miles@Oscar
7ebbc80bbb Using https for gravatar 2016-01-29 13:06:17 +08:00
miles@Oscar
d11b794f8a Fixed gravatar url 2016-01-29 11:05:41 +08:00