2
0
Commit Graph

4020 Commits

Author SHA1 Message Date
Unknwon
53a0407083 #3348 always use relative avatar link in the template 2016-08-05 12:12:54 -07:00
Unknwon
1d60472f5a routers/api: rename handlers to be unexported 2016-08-04 17:08:01 -07:00
Unknwon
8fbc5f27e5 #2162 completely disable builtin issue tracker when enable external tracker 2016-08-04 16:32:02 -07:00
Unknwon
6bff2e63c2 Update locales [CI SKIP] 2016-08-03 12:24:53 -07:00
Unknwon
f07a2a8bdc Update .gopmfile and glide.lock 2016-08-03 12:12:33 -07:00
Unknwon
8b01b7cb01 #3290 better code structure and batch minor improvements 2016-08-03 11:51:22 -07:00
lstahlman
6e884bba00 Additional API support for labels (#3290)
* Add API support for labels.

* Error handling for adding/replacing multiple issue labels

* Revisions to function names and error handling. Use issue.ClearLabels in replace/clear functions

* Additional code cleanup
2016-08-03 09:24:16 -07:00
silverwind
d8317929b2 Lighter icon colors for repo files (#3351)
* Lighter icon colors for repo files

* also color submodule icon
2016-08-03 08:53:28 -07:00
Unknwon
818df278ff #2162 improve repository advance options UI display
Enable/disable input based on user chosen options for wiki and issue tracker.
2016-07-31 01:26:43 +08:00
Unknwon
d90a2e0276 #3345 dump content directly to HTTP ResponseWriter 2016-07-30 23:39:58 +08:00
Dennis Chen
ff9c77c1f9 Diff patch (#3345)
* Add support for .diff and .patch

Add the ability to get text-diff and format-patch by adding .diff or
.patch in the end of a commit url. Issue #2641

* models: git_diff: various fixes

* Renames commitId to commitID.
* Writes stderr to a bytes.Buffer and displays proper error message on
command failure.
* Various style changes.

Signed-off-by: Dennis Chen <barracks510@gmail.com>
2016-07-30 23:02:22 +08:00
Unknwon
1db9d97a39 Update locales 2016-07-30 22:28:23 +08:00
Okunev Yu Dmitry
b0e2d4b43c Fix of template error in "/:owner/:repo/pulls" (#3343)
If anonymous (not signed in user) requests page
"/:owner/:repo/pulls" he gets an error:

  template: repo/issue/list:11:105: executing "repo/issue/list" at <.PullRequestCtx.Base...>: nil pointer evaluating *models.Repository.Link

This commit fixes that.

Signed-off-by: Dmitry Yu Okunev <dyokunev@ut.mephi.ru>
2016-07-29 22:59:38 +08:00
Unknwon
2fcd3c91c5 Update glide.lock 2016-07-28 11:00:14 +08:00
Unknwon
1af430eb84 Minor fix for pull request template [CI SKIP] 2016-07-28 10:54:52 +08:00
마누엘
01cb3ed12a models/release: Update Sha1 if tag already exists (#3331)
Since the release struct is initialized with the current `HEAD` of the
current `release.Target` the commit id has to be updated if the tag
commit already exists. Otherwise the linked commit on the release page
will target the current `HEAD` at release time.
2016-07-28 10:45:35 +08:00
Unknwon
b26c858090 Update GitHub templates 2016-07-28 10:36:26 +08:00
마누엘
8e10d5108e routers/repo/release: Use correct branch reference (#3330)
When calculating the current behind commit count the calculation should
use the current release target to get the total commit count. Should the
release target not exist anymore the calculation will return zero for
the newest release on that target. Older releases on that target will then
use that calculated commit count as reference.

The only use case that is now somehow invalid is when the release target
was merged / deleted after a tag on that release target:

    master 1 - - - - - - - 6
            \             /
    branch   2 - 3 - 4 - 5

When `4` is the last tag on branch `branch` and the branch `branch` is not
yet deleted the calculated numbers would be:

    1 commits to branch since this release

Now if the branch `branch` gets deleted the calculation function will not
find the branch and use the commit count of the newest release (`4`) as
reference resulting in:

    0 commit to branch since this release

This fixes #3326
2016-07-27 16:57:32 +08:00
Richard Mahn
5927e35bf2 Added Full Name to CreateUser api call (#3333) 2016-07-27 02:43:06 +08:00
Unknwon
49ec6ee34d routers/repo/issue: remove redundant format string 2016-07-26 18:42:18 +08:00
Unknwon
2bdd615bd1 #3327 fix wrong table name in Join 2016-07-26 18:40:20 +08:00
Unknwon
a09fe55fb8 #3281 fix x.Iterate returns nothing inside session scope with SQLite3 2016-07-26 17:26:48 +08:00
Unknwon
6a3498c6a3 models/ssh_key: code cleaning 2016-07-26 10:47:25 +08:00
Unknwon
8f7e42b7e1 Fix issue event octicon CSS 2016-07-26 02:56:07 +08:00
Unknwon
3f60d71e08 #1601 support delete issue comment 2016-07-26 02:48:17 +08:00
Unknwon
34661bcdc8 repo/settings/options: take naming style examples out of locale string 2016-07-25 16:55:51 +08:00
Unknwon
7307a2c557 Add org.getUserTeams to reduce redundant code 2016-07-24 18:09:45 +08:00
Unknwon
631af92670 #1384 add pagination for repositories 2016-07-24 14:32:46 +08:00
Unknwon
48b0d21673 Refactor User.Id to User.ID 2016-07-24 01:08:22 +08:00
Unknwon
11e7ac2a93 Use struct for UI settings 2016-07-24 00:23:54 +08:00
Unknwon
91002fd2c4 #2790 fix not detect diff style in pull request file changes 2016-07-23 23:46:49 +08:00
Unknwon
04df55122f Add some tutorial links [CI SKIP] 2016-07-23 21:23:30 +08:00
Unknwon
d45a26e396 Minor HTML fix for delete repository notice 2016-07-23 20:42:46 +08:00
Unknwon
f97cea1903 Remove redundant Unix timestamp method call
Unix() already uses UTC as timezone
2016-07-23 20:24:44 +08:00
Unknwon
0615474a72 conf: change default mirror checking interval to 10m 2016-07-23 20:20:09 +08:00
Unknwon
a727ac6f85 #3186 fix wrong link for new pull request button of non-fork repository 2016-07-23 19:55:53 +08:00
Unknwon
15e13a1842 Update README [CI SKIP] 2016-07-23 19:22:43 +08:00
Unknwon
f9bc8d4d3d #2903 use different reversed words and patterns for repository and user 2016-07-23 18:58:18 +08:00
Unknwon
30e39bc8b7 #3181 detect situation when base branch is deleted in pull request 2016-07-23 18:35:16 +08:00
Unknwon
259ef17a2c #3066 fix create organization ignores full name property 2016-07-23 17:57:22 +08:00
Unknwon
2a81a16777 api: fix panic if anonymous user request admin API
Add sign in check before check user account level
2016-07-23 17:56:37 +08:00
Unknwon
0b6c011d95 #3157 create user path before rename repository while transfer
os.Rename does not create parent directory automatically when not exist
2016-07-23 17:36:15 +08:00
Unknwon
21530f0437 #3107 fix mention regex does not include dash 2016-07-23 17:29:34 +08:00
Unknwon
f62068102d #3076 detect invalid tag name git error 2016-07-23 15:59:19 +08:00
Richard Mahn
8562e942a9 Added coding style modes to SimpleMDE (#3286)
* Added coding style modes to SimpleMDE

* Moved the CodeMirror addon from simplemd to codemirror directory
2016-07-23 13:29:20 +08:00
Siarhei Navatski
1104e1785a add IsSubmodule field to DiffFile and hide view file button on diff page for submodules (#3097) 2016-07-23 02:18:56 +08:00
Unknwon
0a9bb4de20 Update locales [CI SKIP] 2016-07-22 22:21:26 +08:00
Unknwon
6680e32fee Bump version 2016-07-22 21:52:39 +08:00
Unknwon
dfc68c7930 Fix GitHub wrong repo language detection 2016-07-21 18:20:03 +08:00
Dennis Chen
ade2b40c6b avatar: make custom and generated avatars equal (#3301)
Sets all avatars to use PNG image format.
Keeps avatars consistent at 290x290px resolution.

Signed-off-by: Dennis Chen <barracks510@gmail.com>
2016-07-21 15:31:14 +08:00