4021 Commits (cf6d321991735a2891e16066f74a75f51719e99e)
 

Author SHA1 Message Date
Unknwon cf6d321991 Ignore repository with issue disabled or use external tracker in dashboard issues 8 years ago
Unknwon 50422f1fc2 #3348 always use relative avatar link in the template 8 years ago
Unknwon db3d393576 routers/api: rename handlers to be unexported 8 years ago
Unknwon 2f105f3979 #2162 completely disable builtin issue tracker when enable external tracker 8 years ago
Unknwon ee28fd9255 Update locales [CI SKIP] 8 years ago
Unknwon 13d492e92a Update .gopmfile and glide.lock 8 years ago
Unknwon e7fd65f0cf #3290 better code structure and batch minor improvements 8 years ago
lstahlman 2eeb0ec9b0 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
8 years ago
silverwind b1133c9934 Lighter icon colors for repo files (#3351)
* Lighter icon colors for repo files

* also color submodule icon
8 years ago
Unknwon 991ce42c48 #2162 improve repository advance options UI display
Enable/disable input based on user chosen options for wiki and issue tracker.
8 years ago
Unknwon 10dc330640 #3345 dump content directly to HTTP ResponseWriter 8 years ago
Dennis Chen dfab54d5a2 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>
8 years ago
Unknwon 3e22ae3412 Update locales 8 years ago
Okunev Yu Dmitry 55b4e77a5e 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>
8 years ago
Unknwon ad7ea88923 Update glide.lock 8 years ago
Unknwon f2884d8e31 Minor fix for pull request template [CI SKIP] 8 years ago
마누엘 36a63dd059 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.
8 years ago
Unknwon 03ba257ad2 Update GitHub templates 8 years ago
마누엘 fe60ca408b 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
8 years ago
Richard Mahn 0402c803c6 Added Full Name to CreateUser api call (#3333) 8 years ago
Unknwon 29ccf047d8 routers/repo/issue: remove redundant format string 8 years ago
Unknwon 8aa0a76702 #3327 fix wrong table name in Join 8 years ago
Unknwon 2d76de2574 #3281 fix x.Iterate returns nothing inside session scope with SQLite3 8 years ago
Unknwon 4d8b905541 models/ssh_key: code cleaning 8 years ago
Unknwon 452aefd025 Fix issue event octicon CSS 8 years ago
Unknwon 899e799459 #1601 support delete issue comment 8 years ago
Unknwon 2295fafb34 repo/settings/options: take naming style examples out of locale string 8 years ago
Unknwon a562228c5e Add org.getUserTeams to reduce redundant code 8 years ago
Unknwon e74630ae3b #1384 add pagination for repositories 8 years ago
Unknwon 1f2e173a74 Refactor User.Id to User.ID 8 years ago
Unknwon 46e96c008c Use struct for UI settings 8 years ago
Unknwon 256cd6374a #2790 fix not detect diff style in pull request file changes 8 years ago
Unknwon 57a47bbc05 Add some tutorial links [CI SKIP] 8 years ago
Unknwon 024fcc836b Minor HTML fix for delete repository notice 8 years ago
Unknwon 250be011c7 Remove redundant Unix timestamp method call
Unix() already uses UTC as timezone
8 years ago
Unknwon 4e822c1911 conf: change default mirror checking interval to 10m 8 years ago
Unknwon 26d52ceb48 #3186 fix wrong link for new pull request button of non-fork repository 8 years ago
Unknwon d90acacd86 Update README [CI SKIP] 8 years ago
Unknwon 69f5308761 #2903 use different reversed words and patterns for repository and user 8 years ago
Unknwon 4b5e09e4d6 #3181 detect situation when base branch is deleted in pull request 8 years ago
Unknwon 4f78abe7dc #3066 fix create organization ignores full name property 8 years ago
Unknwon e63b2881b1 api: fix panic if anonymous user request admin API
Add sign in check before check user account level
8 years ago
Unknwon 745167d57a #3157 create user path before rename repository while transfer
os.Rename does not create parent directory automatically when not exist
8 years ago
Unknwon d7bdc1de8d #3107 fix mention regex does not include dash 8 years ago
Unknwon c912494609 #3076 detect invalid tag name git error 8 years ago
Richard Mahn 69dae1ec1c Added coding style modes to SimpleMDE (#3286)
* Added coding style modes to SimpleMDE

* Moved the CodeMirror addon from simplemd to codemirror directory
8 years ago
Siarhei Navatski cf85e9eb7b add IsSubmodule field to DiffFile and hide view file button on diff page for submodules (#3097) 8 years ago
Unknwon 599716bb1b Update locales [CI SKIP] 8 years ago
Unknwon ae88d76032 Bump version 8 years ago
Unknwon 9266f28822 Fix GitHub wrong repo language detection 8 years ago