summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update glide.lock and .gopmfileUnknwon2016-08-073-0/+4
|
* #3320 code cleanupUnknwon2016-08-0712-33/+52
|
* Add support for federated avatars (#3320)Sandro Santilli2016-08-0716-59/+157
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* #3393 fix missing sub-url prefix in relative avatar linkUnknwon2016-08-078-27/+32
|
* Improve diff highlight (#3390)Andrey Nering2016-08-074-66/+60
| | | | | | - 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)
* Only do go vet on this codebaseUnknwon2016-08-061-4/+6
|
* Update .gitattributesUnknwon2016-08-064-13/+11
|
* Fix #3315: Release dont use tag creation date (#3374)Thibault Meyer2016-08-062-1/+13
| | | | | | | | | | * 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
* #2593 allow render raw contentUnknwon2016-08-057-7/+7
| | | | Use URL query parameter render=1 to render content in raw mode.
* Replace gogs.io http links with https version (#3386)rugk2016-08-0510-31/+31
|
* Ignore repository with issue disabled or use external tracker in dashboard ↵Unknwon2016-08-055-10/+12
| | | | issues
* #3348 always use relative avatar link in the templateUnknwon2016-08-0532-57/+58
|
* routers/api: rename handlers to be unexportedUnknwon2016-08-041-19/+19
|
* #2162 completely disable builtin issue tracker when enable external trackerUnknwon2016-08-047-10/+17
|
* Update locales [CI SKIP]Unknwon2016-08-034-47/+47
|
* Update .gopmfile and glide.lockUnknwon2016-08-032-28/+28
|
* #3290 better code structure and batch minor improvementsUnknwon2016-08-0310-205/+173
|
* Additional API support for labels (#3290)lstahlman2016-08-035-1/+399
| | | | | | | | | | * 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
* Lighter icon colors for repo files (#3351)silverwind2016-08-032-1/+10
| | | | | | * Lighter icon colors for repo files * also color submodule icon
* #2162 improve repository advance options UI displayUnknwon2016-07-314-41/+77
| | | | Enable/disable input based on user chosen options for wiki and issue tracker.
* #3345 dump content directly to HTTP ResponseWriterUnknwon2016-07-305-22/+31
|
* Diff patch (#3345)Dennis Chen2016-07-302-3/+56
| | | | | | | | | | | | | | | | * 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>
* Update localesUnknwon2016-07-3018-161/+212
|
* Fix of template error in "/:owner/:repo/pulls" (#3343)Okunev Yu Dmitry2016-07-291-1/+1
| | | | | | | | | | 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>
* Update glide.lockUnknwon2016-07-281-1/+1
|
* Minor fix for pull request template [CI SKIP]Unknwon2016-07-281-1/+1
|
* models/release: Update Sha1 if tag already exists (#3331)마누엘2016-07-281-0/+1
| | | | | | 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.
* Update GitHub templatesUnknwon2016-07-282-10/+17
|
* routers/repo/release: Use correct branch reference (#3330)마누엘2016-07-271-9/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Added Full Name to CreateUser api call (#3333)Richard Mahn2016-07-271-0/+1
|
* routers/repo/issue: remove redundant format stringUnknwon2016-07-261-13/+13
|
* #3327 fix wrong table name in JoinUnknwon2016-07-264-4/+4
|
* #3281 fix x.Iterate returns nothing inside session scope with SQLite3Unknwon2016-07-266-98/+35
|
* models/ssh_key: code cleaningUnknwon2016-07-265-63/+61
|
* Fix issue event octicon CSSUnknwon2016-07-262-2/+10
|
* #1601 support delete issue commentUnknwon2016-07-2614-27/+113
|
* repo/settings/options: take naming style examples out of locale stringUnknwon2016-07-253-24/+24
|
* Add org.getUserTeams to reduce redundant codeUnknwon2016-07-242-33/+31
|
* #1384 add pagination for repositoriesUnknwon2016-07-2421-193/+361
|
* Refactor User.Id to User.IDUnknwon2016-07-2479-328/+333
|
* Use struct for UI settingsUnknwon2016-07-2416-48/+48
|
* #2790 fix not detect diff style in pull request file changesUnknwon2016-07-231-0/+1
|
* Add some tutorial links [CI SKIP]Unknwon2016-07-231-0/+2
|
* Minor HTML fix for delete repository noticeUnknwon2016-07-232-3/+3
|
* Remove redundant Unix timestamp method callUnknwon2016-07-2313-38/+38
| | | | Unix() already uses UTC as timezone
* conf: change default mirror checking interval to 10mUnknwon2016-07-233-8/+4
|
* #3186 fix wrong link for new pull request button of non-fork repositoryUnknwon2016-07-231-1/+1
|
* Update README [CI SKIP]Unknwon2016-07-232-2/+2
|
* #2903 use different reversed words and patterns for repository and userUnknwon2016-07-236-37/+52
|
* #3181 detect situation when base branch is deleted in pull requestUnknwon2016-07-234-3/+11
|