2
0
Commit Graph

4086 Commits

Author SHA1 Message Date
Thibault Meyer
7efe3310e5 Fix #3437: Cannot connect to PostgreSQL via IPv6 address (#3442)
* Change PostgreSQL connstring parsing to handle IPv6

* Fix used variable

* Remove redundant code + use variable
2016-08-12 02:42:06 -07:00
Unknwon
ff6a8172b5 Minor fix on top menu dropdown icon position 2016-08-11 23:12:06 -07:00
Unknwon
3b490bb4de Add new dependency 2016-08-11 17:12:55 -07:00
Andrey Nering
d462d04d41 On showing diff/file, use the tab_width specified on .editorconfig, if any (#3241)
Closes #3182
2016-08-11 17:07:09 -07:00
Unknwon
48f5035750 Add .mailmap 2016-08-11 16:57:48 -07:00
Andrey Nering
154d9efa9e Add Content-Disposition header for downloads (#3439) 2016-08-11 16:53:40 -07:00
Andrey Nering
f3f2598e23 Do not show non-image attachment in a <img> tag. Fixes #3215 (#3311) 2016-08-11 16:16:36 -07:00
Thibault Meyer
4a7d79a68c Fix #3321: commit tag shortener (#3418)
* Fix #3321: commit tag shortener

* Check short commit

* remove debug

* Edit unit tests

* Show 10-char short SHA
2016-08-11 15:34:00 -07:00
Unknwon
40fa61209e Fix #3391 2016-08-11 15:29:39 -07:00
Unknwon
24237d06a6 Fix email FROM 2016-08-11 15:16:01 -07:00
Unknwon
19ea718eeb #2852 code cleanup 2016-08-11 14:55:10 -07:00
Odin Ugedal
2ed68857cd Add initial support for unix sockets (#2852) 2016-08-11 14:46:33 -07:00
Unknwon
8b42f56a13 models: rename EnableTidb to EnableTiDB 2016-08-11 14:38:45 -07:00
Unknwon
92c78cd75b #3013 support connect PostgreSQL via unix socket 2016-08-11 14:38:26 -07:00
Thibault Meyer
fc7a58710b Fix #3314: Cannot edit release with tag name contains slash (#3434) 2016-08-11 13:45:42 -07:00
Unknwon
c869e0520e Update glide.lock and .gopmfile [CI SKIP] 2016-08-11 11:51:12 -07:00
Robin Lambertz
78100c899e Add MaxRepoCreation to EditUser API (#2781) 2016-08-11 11:49:31 -07:00
Unknwon
17a339a723 #2780 code clean up 2016-08-11 11:35:46 -07:00
Robin Lambertz
a86d6cb4e5 Add AddCollaborator API Endpoint (#2780)
* Add AddCollaborator API Endpoint

* Add optional Permission to AddCollaborator endpoint

* Use APIContext
2016-08-11 11:23:25 -07:00
Unknwon
241d1e13a0 #3233 code cleanup and minor issue fix 2016-08-11 10:53:51 -07:00
Andrew
12f0f252ee Wiki mirroring implementation (#3233)
* Implement wiki mirroring, add Update mirrors operation to admin dashboard

* bindata.go update after merge

* Implement checking Git repo endpoint existence, support for BB included

* Remove admin dashboard operation
Fix bindata.go

* Apply gofmt to repo model file

* Try to remove bindata from PR

* Revert accepted wiki names change in favor of better system

* Remove unused imports
2016-08-11 10:18:51 -07:00
Sandro Santilli
5fd35a3f7d Always set redirect_to on header-provided sign-in (#3435)
This is an attempt to fix #3089 following the strategy introduced
in 97d54ac077, although that strategy
by itself does not seem to be sufficient.

What needs be done is honouring the redirect_url query parameter
from the auth router.
2016-08-11 10:14:39 -07:00
Unknwon
97d54ac077 #3408 minor code fix 2016-08-11 07:41:01 -07:00
Sandro Santilli
4b6433d4dd Do not show the "Sign up for free" button in issue tracker (#3408)
* Do not show the "Sign up for free" button in issue tracker

The "Sign in to comment" link is good enough and will correctly
show or not show the "Sign Up" button link for those not having
an account already.

Fixes #3407 (link to nowhere when registration is disabled)

* Move html from translation to template

* Remove extra space in `{{ .SignInLink }}`.
2016-08-11 07:36:23 -07:00
Unknwon
9c182cac07 Fix only user has repo write access can comment 2016-08-11 06:22:56 -07:00
Unknwon
eab097a330 #3279 use doer email for FROM field of issues 2016-08-11 06:17:45 -07:00
Thibault Meyer
8467154168 Fix typo CacheInternal -> CacheInterval (#3432) 2016-08-11 05:59:11 -07:00
Kim Carlbäcker
9375882622 Add "support" for git-daemon-export-ok (#2940) (#3046)
* add git-daemon-export-ok "support"

* Slight fix to git-daemon-export-ok

* Add error-checking for git-demon-export-ok

* Remove old comments and fixed logging-issues

* Check if git-daemon-export-ok exists or not
2016-08-10 20:08:09 -07:00
Unknwon
1ce0b8e269 Update glide.lock and .gopmfile [CI SKIP] 2016-08-10 11:57:53 -07:00
Unknwon
ccf1b7381a Update locales [CI SKIP] 2016-08-10 11:54:52 -07:00
lstahlman
c441b63291 Add test pull request task on merging a PR. Fixes #3396 (#3425) 2016-08-10 11:38:44 -07:00
Thibault Meyer
aaf5e5d9f2 Fix #3420: Bad commit URL generation (#3424) 2016-08-10 11:35:06 -07:00
Thibault Meyer
056efe7446 Verify list len before use it with IN (#3423) 2016-08-10 11:06:51 -07:00
Unknwon
c94b4f69fc #3091 show Git configs on admin panel 2016-08-10 11:01:42 -07:00
Unknwon
2aff46601b Update bindata.go [CI SKIP] 2016-08-09 23:58:15 -07:00
Thibault Meyer
34ed7d24a1 Feature #3398: Redefine global mirror interval (#3409)
* add mirror::GLOBAL_INTERVAL on app.ini

* rename key to DEFAULT_INTERVAL

* add key on default app.ini + move code
2016-08-09 23:47:16 -07:00
Unknwon
04f97b1c80 #3417 wrong dashboard issue count for create by you 2016-08-09 23:19:52 -07:00
Unknwon
f5899e07f8 Update cron revision [CI SKIP] 2016-08-09 22:02:51 -07:00
lstahlman
c2b1692525 Add committer information to API and Webhooks. Also fixes #3271 (#3414) 2016-08-09 22:01:57 -07:00
Unknwon
8779261ccc #2907 Add commit timestamp to webhook 2016-08-09 18:28:06 -07:00
Unknwon
722427e216 #3158 skip RUN_USER check on Windows 2016-08-09 17:41:18 -07:00
Unknwon
378f119181 #3091 add config option for Git GC 2016-08-09 17:24:32 -07:00
Unknwon
2cc3db6af7 #3007 update git-module require version 2016-08-09 17:15:48 -07:00
Unknwon
93ec803844 Change LICENSE copyright holder name [CI SKIP] 2016-08-09 13:05:15 -07:00
Unknwon
279b1cd419 Little code refactoring 2016-08-09 12:56:00 -07:00
Rory McNamara
5128c57fd9 Render the Code view on the server (minus syntax highlighting) (#2942)
* render code view server side

* remove debug print

* fix multiline selection bug

* change string concatenation to bytes.Buffer for efficiency

* Fix newlines added by previous for hljs

* fix selection highlighting

* make css changes in .less
2016-08-09 12:35:20 -07:00
Unknwon
f15cd4c442 #3325 use correct word for .gitignore 2016-08-09 12:16:21 -07:00
lstahlman
fe79c53717 Fix for #3410 overall issues for organisations is limited to num_repos from the user (#3412) 2016-08-09 10:00:42 -07:00
Unknwon
814445d8ca #3406 fix regression of MustEnableIssues check 2016-08-09 09:39:55 -07:00
Unknwon
9afd223c5e Adjust .codebeatsettings 2016-08-08 23:26:10 -07:00