]> source.dussan.org Git - gitea.git/log
gitea.git
8 years agorouters/api: rename handlers to be unexported
Unknwon [Fri, 5 Aug 2016 00:08:01 +0000 (17:08 -0700)]
routers/api: rename handlers to be unexported

8 years ago#2162 completely disable builtin issue tracker when enable external tracker
Unknwon [Thu, 4 Aug 2016 23:32:02 +0000 (16:32 -0700)]
#2162 completely disable builtin issue tracker when enable external tracker

8 years agoUpdate locales [CI SKIP]
Unknwon [Wed, 3 Aug 2016 19:24:53 +0000 (12:24 -0700)]
Update locales [CI SKIP]

8 years agoUpdate .gopmfile and glide.lock
Unknwon [Wed, 3 Aug 2016 19:12:33 +0000 (12:12 -0700)]
Update .gopmfile and glide.lock

8 years ago#3290 better code structure and batch minor improvements
Unknwon [Wed, 3 Aug 2016 18:51:22 +0000 (11:51 -0700)]
#3290 better code structure and batch minor improvements

8 years agoAdditional API support for labels (#3290)
lstahlman [Wed, 3 Aug 2016 16:24:16 +0000 (09:24 -0700)]
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 agoLighter icon colors for repo files (#3351)
silverwind [Wed, 3 Aug 2016 15:53:28 +0000 (17:53 +0200)]
Lighter icon colors for repo files (#3351)

* Lighter icon colors for repo files

* also color submodule icon

8 years ago#2162 improve repository advance options UI display
Unknwon [Sat, 30 Jul 2016 17:26:43 +0000 (01:26 +0800)]
#2162 improve repository advance options UI display

Enable/disable input based on user chosen options for wiki and issue tracker.

8 years ago#3345 dump content directly to HTTP ResponseWriter
Unknwon [Sat, 30 Jul 2016 15:39:58 +0000 (23:39 +0800)]
#3345 dump content directly to HTTP ResponseWriter

8 years agoDiff patch (#3345)
Dennis Chen [Sat, 30 Jul 2016 15:02:22 +0000 (11:02 -0400)]
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 agoUpdate locales
Unknwon [Sat, 30 Jul 2016 14:28:23 +0000 (22:28 +0800)]
Update locales

8 years agoFix of template error in "/:owner/:repo/pulls" (#3343)
Okunev Yu Dmitry [Fri, 29 Jul 2016 14:59:38 +0000 (17:59 +0300)]
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 agoUpdate glide.lock
Unknwon [Thu, 28 Jul 2016 03:00:14 +0000 (11:00 +0800)]
Update glide.lock

8 years agoMinor fix for pull request template [CI SKIP]
Unknwon [Thu, 28 Jul 2016 02:54:52 +0000 (10:54 +0800)]
Minor fix for pull request template [CI SKIP]

8 years agomodels/release: Update Sha1 if tag already exists (#3331)
마누엘 [Thu, 28 Jul 2016 02:45:35 +0000 (04:45 +0200)]
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 agoUpdate GitHub templates
Unknwon [Thu, 28 Jul 2016 02:36:26 +0000 (10:36 +0800)]
Update GitHub templates

8 years agorouters/repo/release: Use correct branch reference (#3330)
마누엘 [Wed, 27 Jul 2016 08:57:32 +0000 (10:57 +0200)]
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 agoAdded Full Name to CreateUser api call (#3333)
Richard Mahn [Tue, 26 Jul 2016 18:43:06 +0000 (12:43 -0600)]
Added Full Name to CreateUser api call (#3333)

8 years agorouters/repo/issue: remove redundant format string
Unknwon [Tue, 26 Jul 2016 10:42:18 +0000 (18:42 +0800)]
routers/repo/issue: remove redundant format string

8 years ago#3327 fix wrong table name in Join
Unknwon [Tue, 26 Jul 2016 10:40:20 +0000 (18:40 +0800)]
#3327 fix wrong table name in Join

8 years ago#3281 fix x.Iterate returns nothing inside session scope with SQLite3
Unknwon [Tue, 26 Jul 2016 09:26:48 +0000 (17:26 +0800)]
#3281 fix x.Iterate returns nothing inside session scope with SQLite3

8 years agomodels/ssh_key: code cleaning
Unknwon [Tue, 26 Jul 2016 02:47:25 +0000 (10:47 +0800)]
models/ssh_key: code cleaning

8 years agoFix issue event octicon CSS
Unknwon [Mon, 25 Jul 2016 18:56:07 +0000 (02:56 +0800)]
Fix issue event octicon CSS

8 years ago#1601 support delete issue comment
Unknwon [Mon, 25 Jul 2016 18:48:17 +0000 (02:48 +0800)]
#1601 support delete issue comment

8 years agorepo/settings/options: take naming style examples out of locale string
Unknwon [Mon, 25 Jul 2016 08:55:51 +0000 (16:55 +0800)]
repo/settings/options: take naming style examples out of locale string

8 years agoAdd org.getUserTeams to reduce redundant code
Unknwon [Sun, 24 Jul 2016 10:09:45 +0000 (18:09 +0800)]
Add org.getUserTeams to reduce redundant code

8 years ago#1384 add pagination for repositories
Unknwon [Sun, 24 Jul 2016 06:32:46 +0000 (14:32 +0800)]
#1384 add pagination for repositories

8 years agoRefactor User.Id to User.ID
Unknwon [Sat, 23 Jul 2016 17:08:22 +0000 (01:08 +0800)]
Refactor User.Id to User.ID

8 years agoUse struct for UI settings
Unknwon [Sat, 23 Jul 2016 16:23:54 +0000 (00:23 +0800)]
Use struct for UI settings

8 years ago#2790 fix not detect diff style in pull request file changes
Unknwon [Sat, 23 Jul 2016 15:46:49 +0000 (23:46 +0800)]
#2790 fix not detect diff style in pull request file changes

8 years agoAdd some tutorial links [CI SKIP]
Unknwon [Sat, 23 Jul 2016 13:23:30 +0000 (21:23 +0800)]
Add some tutorial links [CI SKIP]

8 years agoMinor HTML fix for delete repository notice
Unknwon [Sat, 23 Jul 2016 12:42:46 +0000 (20:42 +0800)]
Minor HTML fix for delete repository notice

8 years agoRemove redundant Unix timestamp method call
Unknwon [Sat, 23 Jul 2016 12:24:44 +0000 (20:24 +0800)]
Remove redundant Unix timestamp method call

Unix() already uses UTC as timezone

8 years agoconf: change default mirror checking interval to 10m
Unknwon [Sat, 23 Jul 2016 12:20:09 +0000 (20:20 +0800)]
conf: change default mirror checking interval to 10m

8 years ago#3186 fix wrong link for new pull request button of non-fork repository
Unknwon [Sat, 23 Jul 2016 11:55:53 +0000 (19:55 +0800)]
#3186 fix wrong link for new pull request button of non-fork repository

8 years agoUpdate README [CI SKIP]
Unknwon [Sat, 23 Jul 2016 11:22:43 +0000 (19:22 +0800)]
Update README [CI SKIP]

8 years ago#2903 use different reversed words and patterns for repository and user
Unknwon [Sat, 23 Jul 2016 10:58:18 +0000 (18:58 +0800)]
#2903 use different reversed words and patterns for repository and user

8 years ago#3181 detect situation when base branch is deleted in pull request
Unknwon [Sat, 23 Jul 2016 10:35:16 +0000 (18:35 +0800)]
#3181 detect situation when base branch is deleted in pull request

8 years ago#3066 fix create organization ignores full name property
Unknwon [Sat, 23 Jul 2016 09:57:22 +0000 (17:57 +0800)]
#3066 fix create organization ignores full name property

8 years agoapi: fix panic if anonymous user request admin API
Unknwon [Sat, 23 Jul 2016 09:56:37 +0000 (17:56 +0800)]
api: fix panic if anonymous user request admin API

Add sign in check before check user account level

8 years ago#3157 create user path before rename repository while transfer
Unknwon [Sat, 23 Jul 2016 09:36:15 +0000 (17:36 +0800)]
#3157 create user path before rename repository while transfer

os.Rename does not create parent directory automatically when not exist

8 years ago#3107 fix mention regex does not include dash
Unknwon [Sat, 23 Jul 2016 09:29:34 +0000 (17:29 +0800)]
#3107 fix mention regex does not include dash

8 years ago#3076 detect invalid tag name git error
Unknwon [Sat, 23 Jul 2016 07:59:19 +0000 (15:59 +0800)]
#3076 detect invalid tag name git error

8 years agoAdded coding style modes to SimpleMDE (#3286)
Richard Mahn [Sat, 23 Jul 2016 05:29:20 +0000 (23:29 -0600)]
Added coding style modes to SimpleMDE (#3286)

* Added coding style modes to SimpleMDE

* Moved the CodeMirror addon from simplemd to codemirror directory

8 years agoadd IsSubmodule field to DiffFile and hide view file button on diff page for submodul...
Siarhei Navatski [Fri, 22 Jul 2016 18:18:56 +0000 (21:18 +0300)]
add IsSubmodule field to DiffFile and hide view file button on diff page for submodules (#3097)

8 years agoUpdate locales [CI SKIP]
Unknwon [Fri, 22 Jul 2016 14:21:26 +0000 (22:21 +0800)]
Update locales [CI SKIP]

8 years agoBump version
Unknwon [Fri, 22 Jul 2016 13:52:39 +0000 (21:52 +0800)]
Bump version

8 years agoFix GitHub wrong repo language detection
Unknwon [Thu, 21 Jul 2016 10:20:03 +0000 (18:20 +0800)]
Fix GitHub wrong repo language detection

8 years agoavatar: make custom and generated avatars equal (#3301)
Dennis Chen [Thu, 21 Jul 2016 07:31:14 +0000 (02:31 -0500)]
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>
8 years ago#3299 don’t pop up confirm box when leave on signin page
Unknwon [Thu, 21 Jul 2016 06:36:26 +0000 (14:36 +0800)]
#3299 don’t pop up confirm box when leave on signin page

8 years ago#3291 fix SQLite3 session read/update conflict on create new issue
Unknwon [Thu, 21 Jul 2016 06:26:30 +0000 (14:26 +0800)]
#3291 fix SQLite3 session read/update conflict on create new issue

8 years ago#3295 fix wrong logic judgement
Unknwon [Thu, 21 Jul 2016 06:15:04 +0000 (14:15 +0800)]
#3295 fix wrong logic judgement

8 years agoUpdate dep revision
Unknwon [Sun, 17 Jul 2016 02:46:21 +0000 (10:46 +0800)]
Update dep revision

8 years agoRefresh repository mirror from database when the repository's name has changed. ...
lstahlman [Sun, 17 Jul 2016 01:30:43 +0000 (18:30 -0700)]
Refresh repository mirror from database when the repository's name has changed. (#3276)

8 years agoUpdate locales and .gopmfile
Unknwon [Sun, 17 Jul 2016 01:25:30 +0000 (09:25 +0800)]
Update locales and .gopmfile

8 years agoFix misselection of issues view type
Unknwon [Sun, 17 Jul 2016 01:25:24 +0000 (09:25 +0800)]
Fix misselection of issues view type

8 years agoUpdated Issues and Issues Stats functions to include table aliases. This addresses...
lstahlman [Sun, 17 Jul 2016 01:18:35 +0000 (18:18 -0700)]
Updated Issues and Issues Stats functions to include table aliases. This addresses errors involving ambiguous column references when filtering issues by the view type "Mentioning you". (#3269)

8 years agomodels/webhook: restrict deletion to be explicitly with repo and org ID
Unknwon [Sun, 17 Jul 2016 00:33:59 +0000 (08:33 +0800)]
models/webhook: restrict deletion to be explicitly with repo and org ID

8 years agoapi: delete repository webhooks (#3275)
Dennis Chen [Sun, 17 Jul 2016 00:08:38 +0000 (19:08 -0500)]
api: delete repository webhooks (#3275)

Allows the deletion of a webhook from a repository at the
/:user/:repo/hooks/:id endpoint.

Solves drone/drone issue #1603.

Signed-off-by: Dennis Chen <barracks510@gmail.com>
8 years agotemplates/org/home: minor UI fix
Unknwon [Sat, 16 Jul 2016 07:54:43 +0000 (15:54 +0800)]
templates/org/home: minor UI fix

8 years agoMinor fix for go vet
Unknwon [Sat, 16 Jul 2016 07:15:00 +0000 (15:15 +0800)]
Minor fix for go vet

8 years agoUpgrade octicon to 4.3.0
Unknwon [Sat, 16 Jul 2016 04:45:13 +0000 (12:45 +0800)]
Upgrade octicon to 4.3.0

8 years ago#2937 able to prohibit user login
Unknwon [Sat, 16 Jul 2016 02:22:16 +0000 (10:22 +0800)]
#2937 able to prohibit user login

8 years agomodels/user_mail: refactor EmailAddress
Unknwon [Sat, 16 Jul 2016 02:08:04 +0000 (10:08 +0800)]
models/user_mail: refactor EmailAddress

8 years agoReturn avatar link as absolute url (#3235)
Sandro Santilli [Sat, 16 Jul 2016 00:19:30 +0000 (02:19 +0200)]
Return avatar link as absolute url (#3235)

Fixes relative urls coming from api/v1

See https://github.com/drone/drone/issues/1701

8 years ago#3274 fix can't get webhook detail of organization
Unknwon [Fri, 15 Jul 2016 17:02:55 +0000 (01:02 +0800)]
#3274 fix can't get webhook detail of organization

8 years agoBump version
Unknwon [Fri, 15 Jul 2016 16:37:21 +0000 (00:37 +0800)]
Bump version

8 years ago#2854 fix no mail notification when issue is closed/reopened
Unknwon [Fri, 15 Jul 2016 16:36:39 +0000 (00:36 +0800)]
#2854 fix no mail notification when issue is closed/reopened

8 years agomodels/repo: remove redundant info for some repo methods
Unknwon [Fri, 15 Jul 2016 13:53:43 +0000 (21:53 +0800)]
models/repo: remove redundant info for some repo methods

RepoLink -> Link, RepoRelLink -> RelLink, FullRepoLink -> FullLink

8 years ago#2798 fix assign operation not take effect
Unknwon [Fri, 15 Jul 2016 09:06:17 +0000 (17:06 +0800)]
#2798 fix assign operation not take effect

8 years agoUpdate Docker README
Unknwon [Fri, 15 Jul 2016 06:32:42 +0000 (14:32 +0800)]
Update Docker README

8 years agoUpdate bindata and CSS
Unknwon [Fri, 15 Jul 2016 06:13:30 +0000 (14:13 +0800)]
Update bindata and CSS

8 years agoIgnore Response Body for Slack Hooks #3169 (#3256)
Kim Carlbäcker [Fri, 15 Jul 2016 06:02:19 +0000 (08:02 +0200)]
Ignore Response Body for Slack Hooks #3169 (#3256)

8 years agoFixes #3263 - Change for Fontawesome icons to not conflict withs semantic-ui (#3267)
Richard Mahn [Fri, 15 Jul 2016 05:57:28 +0000 (23:57 -0600)]
Fixes #3263 - Change for Fontawesome icons to not conflict withs semantic-ui (#3267)

8 years agoApply font for Japanese / Chinese (more) (#3266)
Laica Lunasys [Fri, 15 Jul 2016 05:52:37 +0000 (14:52 +0900)]
Apply font for Japanese / Chinese (more) (#3266)

8 years agoChanged Turkish language name to 'Türkçe' (#3268)
Atakan Goktepe [Fri, 15 Jul 2016 05:44:49 +0000 (08:44 +0300)]
Changed Turkish language name to 'Türkçe' (#3268)

8 years agodocker: Support timezones (#3262)
Andrey Arapov [Fri, 15 Jul 2016 02:55:05 +0000 (04:55 +0200)]
docker: Support timezones (#3262)

8 years ago#2709 validate username attribute fetched from LDAP
Unknwon [Mon, 11 Jul 2016 23:07:57 +0000 (07:07 +0800)]
#2709 validate username attribute fetched from LDAP

8 years agoAdd timestamps to repository api response (#3255)
lstahlman [Mon, 11 Jul 2016 22:28:51 +0000 (15:28 -0700)]
Add timestamps to repository api response (#3255)

Additional properties: created_at, updated_at

8 years ago[Fix] Don't display way too large files #1513 (#3253)
Kim Carlbäcker [Mon, 11 Jul 2016 22:21:26 +0000 (00:21 +0200)]
[Fix] Don't display way too large files #1513 (#3253)

* Add MaxDisplayFileSize setting

* Don't show files that are too large

* Localized FileTooLarge

* Change IsFileTooBig => IsFileTooLarge

8 years ago#2586 bump git-module requirement
Unknwon [Mon, 11 Jul 2016 22:20:09 +0000 (06:20 +0800)]
#2586 bump git-module requirement

8 years agoUpdate glide.lock
Unknwon [Sun, 10 Jul 2016 23:57:15 +0000 (07:57 +0800)]
Update glide.lock

8 years agoExtend the API to include more repository properties (#3249)
lstahlman [Sun, 10 Jul 2016 23:56:15 +0000 (16:56 -0700)]
Extend the API to include more repository properties (#3249)

Adds description, stars_count, forks_count, watchers_count and
open_issues_count.

8 years ago#2458 fix emoji been rendered inside raw content area
Unknwon [Sun, 10 Jul 2016 21:28:56 +0000 (05:28 +0800)]
#2458 fix emoji been rendered inside raw content area

8 years agoUpdate locale
Unknwon [Sat, 9 Jul 2016 15:59:13 +0000 (23:59 +0800)]
Update locale

8 years ago#2375 preserve cases for action content
Unknwon [Sat, 9 Jul 2016 15:37:32 +0000 (23:37 +0800)]
#2375 preserve cases for action content

8 years agoMinor fix for #3246
Unknwon [Sat, 9 Jul 2016 05:42:05 +0000 (13:42 +0800)]
Minor fix for #3246

8 years agoThe pruning for the synchronized mirrors is a option now. Default value: enable_prune...
Pablo Saavedra [Sat, 9 Jul 2016 05:22:28 +0000 (07:22 +0200)]
The pruning for the synchronized mirrors is a option now. Default value: enable_prune = true (#3246)

Executed go fmt

getEngine() not handles DB parameters (#2972) (#2974)

Uses .AllCols() for Update in updateMirror()

Spanish traslation removed

Fixed a wrong way to ommit the --prune option in process.ExecDir() for MirrorUpdate function

8 years agoModify behaviour of repo-delete. (#3232)
Pheng Heong TAN [Sat, 9 Jul 2016 05:13:57 +0000 (13:13 +0800)]
Modify behaviour of repo-delete. (#3232)

Re: issues gogits/gogs#2863 and gogits/gogs#3231

As a result of modifications to the contents of the conf folder, `make bindata`
was run, causing an update to bindata.go.

Meta
-----
This commit will be rebased onto the 'develop' branch.

8 years ago#3057 retrieve webhook with repo_id
Unknwon [Fri, 8 Jul 2016 05:57:09 +0000 (13:57 +0800)]
#3057 retrieve webhook with repo_id

This prevents user retrieve arbitrary webhook by changing URL to
access webhook from other unauthorized repositories.

8 years ago#3229 disallow repository name . and ..
Unknwon [Thu, 7 Jul 2016 23:34:05 +0000 (07:34 +0800)]
#3229 disallow repository name . and ..

Since . and .. has browser automatical behaviors, we need to disallow those names.

8 years agoUse SecurityProtocol to replace UseSSL in LDAP config
Unknwon [Thu, 7 Jul 2016 23:25:09 +0000 (07:25 +0800)]
Use SecurityProtocol to replace UseSSL in LDAP config

Initially proposed by #2376 and fixes #3068 as well.

8 years agoUpgrade frontend assets
Unknwon [Wed, 6 Jul 2016 22:04:55 +0000 (06:04 +0800)]
Upgrade frontend assets

8 years ago#3058 #3059 support correct page size and link header
Unknwon [Mon, 4 Jul 2016 09:27:06 +0000 (17:27 +0800)]
#3058 #3059 support correct page size and link header

8 years agogetEngine() not handles DB parameters (#2972) (#2974)
Tom [Sat, 2 Jul 2016 14:39:39 +0000 (10:39 -0400)]
getEngine() not handles DB parameters (#2972) (#2974)

8 years ago#2968 use HTTP_ADDR to replace localhost
Unknwon [Sat, 2 Jul 2016 10:54:48 +0000 (18:54 +0800)]
#2968 use HTTP_ADDR to replace localhost

8 years ago#2947 fix inapproriate comment
Unknwon [Sat, 2 Jul 2016 10:23:15 +0000 (18:23 +0800)]
#2947 fix inapproriate comment

8 years ago#3078 update default app.ini
Unknwon [Fri, 1 Jul 2016 14:27:52 +0000 (22:27 +0800)]
#3078 update default app.ini

8 years ago change setting.go -> LocalUrl default value to (#3078)
j.yao.SUSE [Fri, 1 Jul 2016 14:26:15 +0000 (09:26 -0500)]
 change setting.go -> LocalUrl default   value to (#3078)

8 years agoAdd an OpenBSD daemon control script (#3060)
Vasily Mikhaylichenko [Fri, 1 Jul 2016 14:24:41 +0000 (00:24 +1000)]
Add an OpenBSD daemon control script (#3060)