]>
source.dussan.org Git - gitea.git/log
lstahlman [Tue, 9 Aug 2016 05:40:05 +0000 (22:40 -0700)]
Fix for #3401 Links of pull request comment email should use pulls URL (#3403)
Unknwon [Tue, 9 Aug 2016 03:03:46 +0000 (20:03 -0700)]
Add codebeat files
Unknwon [Mon, 8 Aug 2016 20:02:55 +0000 (13:02 -0700)]
#3399 500 for upstream pulls page if user has forked repository
Unknwon [Mon, 8 Aug 2016 18:29:50 +0000 (11:29 -0700)]
Fix 404 when comment on pulls and not using interal issue tracker
Unknwon [Sun, 7 Aug 2016 21:29:16 +0000 (14:29 -0700)]
#2825 early response 200 when ?go-get=1
Unknwon [Sun, 7 Aug 2016 18:05:19 +0000 (11:05 -0700)]
Update glide.lock and .gopmfile
Unknwon [Sun, 7 Aug 2016 18:01:47 +0000 (11:01 -0700)]
#3320 code cleanup
Sandro Santilli [Sun, 7 Aug 2016 17:27:38 +0000 (19:27 +0200)]
Add support for federated avatars (#3320)
* Add support for federated avatars
Fixes #3105
Removes avatar fetching duplication code
Adds an "Enable Federated Avatar" checkbox in user settings
(defaults to unchecked)
Moves avatar settings all in the same form, making
local and remote avatars mutually exclusive
Renames UploadAvatarForm to AvatarForm
as it's not anymore only for uploading
* Run gofmt on all modified files
* Move Avatar form in its own page
* Add go-libravatar dependency to vendor/ dir
Hopefully helps with accepting the contribution.
See also #3214
* Revert "Add go-libravatar dependency to vendor/ dir"
This reverts commit
a8cb93ae640bbb90f7d25012fc257bda9fae9b82 .
* Make federated avatar setting a global configuration
Removes the per-user setting
* Move avatar handling back to base tool, disable federated avatar in offline mode
* Format, handle error
* Properly set fallback host
* Use unsupported github.com mirror for importing go-libravatar
* Remove comment showing life exists outside of github.com
... pity, but contribution would not be accepted otherwise
* Use Combo for Get and Post methods over /avatar
* FEDERATED_AVATAR -> ENABLE_FEDERATED_AVATAR
* Fix persistance of federated avatar lookup checkbox at install time
* Federated Avatars -> Enable Federated Avatars
* Use len(string) == 0 instead of string == ""
* Move import line where it belong
See
https://github.com/Unknwon/go-code-convention/blob/master/en-US/import_packages.md
Pity the import url is still the unofficial one, but oh well...
* Save a line (and waste much more expensive time)
* Remove redundant parens
* Remove an empty line
* Remove empty lines
* Reorder lines to make diff smaller
* Remove another newline
Unknwon review got me start a fight against newlines
* Move DISABLE_GRAVATAR and ENABLE_FEDERATED_AVATAR after OFFLINE_MODE
On re-reading the diff I figured what Unknwon meant here:
https://github.com/gogits/gogs/pull/3320/files#r73741106
* Remove newlines that weren't there before my intervention
Unknwon [Sun, 7 Aug 2016 17:13:05 +0000 (10:13 -0700)]
#3393 fix missing sub-url prefix in relative avatar link
Andrey Nering [Sun, 7 Aug 2016 16:49:47 +0000 (13:49 -0300)]
Improve diff highlight (#3390)
- Try to reduce memory allocations
- Add possibility to disable diff highlight (can improve performance for large diffs)
- Tweaking with cost for prettier (cleaner) diffs
- Do not calculate diff when the number of removed lines in a block is not equal to the number of added lines (this usually resulted in ugly diffs)
Unknwon [Sat, 6 Aug 2016 18:20:10 +0000 (11:20 -0700)]
Only do go vet on this codebase
Unknwon [Sat, 6 Aug 2016 17:36:40 +0000 (10:36 -0700)]
Update .gitattributes
Thibault Meyer [Sat, 6 Aug 2016 17:02:15 +0000 (19:02 +0200)]
Fix #3315: Release dont use tag creation date (#3374)
* Fix #3315: Release dont use tag creation date
* Simplify code and apply gofmt
* remove useless block (ctx.Repo.GitRepo.GetTag) on EditReleasePost
* apply gofmt on modified files
Unknwon [Sat, 6 Aug 2016 01:34:13 +0000 (18:34 -0700)]
#2593 allow render raw content
Use URL query parameter render=1 to render content in raw mode.
rugk [Sat, 6 Aug 2016 00:35:40 +0000 (02:35 +0200)]
Replace gogs.io http links with https version (#3386)
Unknwon [Fri, 5 Aug 2016 19:46:26 +0000 (12:46 -0700)]
Ignore repository with issue disabled or use external tracker in dashboard issues
Unknwon [Fri, 5 Aug 2016 19:12:54 +0000 (12:12 -0700)]
#3348 always use relative avatar link in the template
Unknwon [Fri, 5 Aug 2016 00:08:01 +0000 (17:08 -0700)]
routers/api: rename handlers to be unexported
Unknwon [Thu, 4 Aug 2016 23:32:02 +0000 (16:32 -0700)]
#2162 completely disable builtin issue tracker when enable external tracker
Unknwon [Wed, 3 Aug 2016 19:24:53 +0000 (12:24 -0700)]
Update locales [CI SKIP]
Unknwon [Wed, 3 Aug 2016 19:12:33 +0000 (12:12 -0700)]
Update .gopmfile and glide.lock
Unknwon [Wed, 3 Aug 2016 18:51:22 +0000 (11:51 -0700)]
#3290 better code structure and batch minor improvements
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
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
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.
Unknwon [Sat, 30 Jul 2016 15:39:58 +0000 (23:39 +0800)]
#3345 dump content directly to HTTP ResponseWriter
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>
Unknwon [Sat, 30 Jul 2016 14:28:23 +0000 (22:28 +0800)]
Update locales
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>
Unknwon [Thu, 28 Jul 2016 03:00:14 +0000 (11:00 +0800)]
Update glide.lock
Unknwon [Thu, 28 Jul 2016 02:54:52 +0000 (10:54 +0800)]
Minor fix for pull request template [CI SKIP]
마누엘 [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.
Unknwon [Thu, 28 Jul 2016 02:36:26 +0000 (10:36 +0800)]
Update GitHub templates
마누엘 [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
Richard Mahn [Tue, 26 Jul 2016 18:43:06 +0000 (12:43 -0600)]
Added Full Name to CreateUser api call (#3333)
Unknwon [Tue, 26 Jul 2016 10:42:18 +0000 (18:42 +0800)]
routers/repo/issue: remove redundant format string
Unknwon [Tue, 26 Jul 2016 10:40:20 +0000 (18:40 +0800)]
#3327 fix wrong table name in Join
Unknwon [Tue, 26 Jul 2016 09:26:48 +0000 (17:26 +0800)]
#3281 fix x.Iterate returns nothing inside session scope with SQLite3
Unknwon [Tue, 26 Jul 2016 02:47:25 +0000 (10:47 +0800)]
models/ssh_key: code cleaning
Unknwon [Mon, 25 Jul 2016 18:56:07 +0000 (02:56 +0800)]
Fix issue event octicon CSS
Unknwon [Mon, 25 Jul 2016 18:48:17 +0000 (02:48 +0800)]
#1601 support delete issue comment
Unknwon [Mon, 25 Jul 2016 08:55:51 +0000 (16:55 +0800)]
repo/settings/options: take naming style examples out of locale string
Unknwon [Sun, 24 Jul 2016 10:09:45 +0000 (18:09 +0800)]
Add org.getUserTeams to reduce redundant code
Unknwon [Sun, 24 Jul 2016 06:32:46 +0000 (14:32 +0800)]
#1384 add pagination for repositories
Unknwon [Sat, 23 Jul 2016 17:08:22 +0000 (01:08 +0800)]
Refactor User.Id to User.ID
Unknwon [Sat, 23 Jul 2016 16:23:54 +0000 (00:23 +0800)]
Use struct for UI settings
Unknwon [Sat, 23 Jul 2016 15:46:49 +0000 (23:46 +0800)]
#2790 fix not detect diff style in pull request file changes
Unknwon [Sat, 23 Jul 2016 13:23:30 +0000 (21:23 +0800)]
Add some tutorial links [CI SKIP]
Unknwon [Sat, 23 Jul 2016 12:42:46 +0000 (20:42 +0800)]
Minor HTML fix for delete repository notice
Unknwon [Sat, 23 Jul 2016 12:24:44 +0000 (20:24 +0800)]
Remove redundant Unix timestamp method call
Unix() already uses UTC as timezone
Unknwon [Sat, 23 Jul 2016 12:20:09 +0000 (20:20 +0800)]
conf: change default mirror checking interval to 10m
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
Unknwon [Sat, 23 Jul 2016 11:22:43 +0000 (19:22 +0800)]
Update README [CI SKIP]
Unknwon [Sat, 23 Jul 2016 10:58:18 +0000 (18:58 +0800)]
#2903 use different reversed words and patterns for repository and user
Unknwon [Sat, 23 Jul 2016 10:35:16 +0000 (18:35 +0800)]
#3181 detect situation when base branch is deleted in pull request
Unknwon [Sat, 23 Jul 2016 09:57:22 +0000 (17:57 +0800)]
#3066 fix create organization ignores full name property
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
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
Unknwon [Sat, 23 Jul 2016 09:29:34 +0000 (17:29 +0800)]
#3107 fix mention regex does not include dash
Unknwon [Sat, 23 Jul 2016 07:59:19 +0000 (15:59 +0800)]
#3076 detect invalid tag name git error
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
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)
Unknwon [Fri, 22 Jul 2016 14:21:26 +0000 (22:21 +0800)]
Update locales [CI SKIP]
Unknwon [Fri, 22 Jul 2016 13:52:39 +0000 (21:52 +0800)]
Bump version
Unknwon [Thu, 21 Jul 2016 10:20:03 +0000 (18:20 +0800)]
Fix GitHub wrong repo language detection
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>
Unknwon [Thu, 21 Jul 2016 06:36:26 +0000 (14:36 +0800)]
#3299 don’t pop up confirm box when leave on signin page
Unknwon [Thu, 21 Jul 2016 06:26:30 +0000 (14:26 +0800)]
#3291 fix SQLite3 session read/update conflict on create new issue
Unknwon [Thu, 21 Jul 2016 06:15:04 +0000 (14:15 +0800)]
#3295 fix wrong logic judgement
Unknwon [Sun, 17 Jul 2016 02:46:21 +0000 (10:46 +0800)]
Update dep revision
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)
Unknwon [Sun, 17 Jul 2016 01:25:30 +0000 (09:25 +0800)]
Update locales and .gopmfile
Unknwon [Sun, 17 Jul 2016 01:25:24 +0000 (09:25 +0800)]
Fix misselection of issues view type
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)
Unknwon [Sun, 17 Jul 2016 00:33:59 +0000 (08:33 +0800)]
models/webhook: restrict deletion to be explicitly with repo and org ID
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>
Unknwon [Sat, 16 Jul 2016 07:54:43 +0000 (15:54 +0800)]
templates/org/home: minor UI fix
Unknwon [Sat, 16 Jul 2016 07:15:00 +0000 (15:15 +0800)]
Minor fix for go vet
Unknwon [Sat, 16 Jul 2016 04:45:13 +0000 (12:45 +0800)]
Upgrade octicon to 4.3.0
Unknwon [Sat, 16 Jul 2016 02:22:16 +0000 (10:22 +0800)]
#2937 able to prohibit user login
Unknwon [Sat, 16 Jul 2016 02:08:04 +0000 (10:08 +0800)]
models/user_mail: refactor EmailAddress
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
Unknwon [Fri, 15 Jul 2016 17:02:55 +0000 (01:02 +0800)]
#3274 fix can't get webhook detail of organization
Unknwon [Fri, 15 Jul 2016 16:37:21 +0000 (00:37 +0800)]
Bump version
Unknwon [Fri, 15 Jul 2016 16:36:39 +0000 (00:36 +0800)]
#2854 fix no mail notification when issue is closed/reopened
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
Unknwon [Fri, 15 Jul 2016 09:06:17 +0000 (17:06 +0800)]
#2798 fix assign operation not take effect
Unknwon [Fri, 15 Jul 2016 06:32:42 +0000 (14:32 +0800)]
Update Docker README
Unknwon [Fri, 15 Jul 2016 06:13:30 +0000 (14:13 +0800)]
Update bindata and CSS
Kim Carlbäcker [Fri, 15 Jul 2016 06:02:19 +0000 (08:02 +0200)]
Ignore Response Body for Slack Hooks #3169 (#3256)
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)
Laica Lunasys [Fri, 15 Jul 2016 05:52:37 +0000 (14:52 +0900)]
Apply font for Japanese / Chinese (more) (#3266)
Atakan Goktepe [Fri, 15 Jul 2016 05:44:49 +0000 (08:44 +0300)]
Changed Turkish language name to 'Türkçe' (#3268)
Andrey Arapov [Fri, 15 Jul 2016 02:55:05 +0000 (04:55 +0200)]
docker: Support timezones (#3262)
Unknwon [Mon, 11 Jul 2016 23:07:57 +0000 (07:07 +0800)]
#2709 validate username attribute fetched from LDAP
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
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
Unknwon [Mon, 11 Jul 2016 22:20:09 +0000 (06:20 +0800)]
#2586 bump git-module requirement
Unknwon [Sun, 10 Jul 2016 23:57:15 +0000 (07:57 +0800)]
Update glide.lock
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.