- 09 Aug, 2016 9 commits
-
-
Unknwon authored
-
Unknwon authored
-
Rory McNamara authored
* render code view server side * remove debug print * fix multiline selection bug * change string concatenation to bytes.Buffer for efficiency * Fix newlines added by previous for hljs * fix selection highlighting * make css changes in .less
-
Unknwon authored
-
lstahlman authored
-
Unknwon authored
-
Unknwon authored
-
lstahlman authored
-
Unknwon authored
-
- 08 Aug, 2016 2 commits
- 07 Aug, 2016 6 commits
-
-
Unknwon authored
-
Unknwon authored
-
Unknwon authored
-
Sandro Santilli authored
* 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 authored
-
Andrey Nering authored
- 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)
-
- 06 Aug, 2016 5 commits
-
-
Unknwon authored
-
Unknwon authored
-
Thibault Meyer authored
* 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 authored
Use URL query parameter render=1 to render content in raw mode.
-
rugk authored
-
- 05 Aug, 2016 3 commits
- 04 Aug, 2016 1 commit
-
-
Unknwon authored
-
- 03 Aug, 2016 5 commits
-
-
Unknwon authored
-
Unknwon authored
-
Unknwon authored
-
lstahlman authored
* 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 authored
* Lighter icon colors for repo files * also color submodule icon
-
- 30 Jul, 2016 4 commits
-
-
Unknwon authored
Enable/disable input based on user chosen options for wiki and issue tracker.
-
Unknwon authored
-
Dennis Chen authored
* 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 authored
-
- 29 Jul, 2016 1 commit
-
-
Okunev Yu Dmitry authored
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>
-
- 28 Jul, 2016 4 commits
-
-
Unknwon authored
-
Unknwon authored
-
마누엘 authored
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 authored
-