Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add test for IsLetter() | Matthias Loibl | 2016-11-07 | 1 | -1/+15 | |
| | ||||||
* | Add test for Int64sToMap() | Matthias Loibl | 2016-11-07 | 1 | -1/+8 | |
| | ||||||
* | Add tests for StringsToInt64s() & Int64sToStrings() | Matthias Loibl | 2016-11-07 | 2 | -9/+45 | |
| | ||||||
* | Add tests for TruncateString() | Matthias Loibl | 2016-11-07 | 1 | -1/+11 | |
| | ||||||
* | Use TruncateString(sha1,10) in ShortSha and deprecate it. | Matthias Loibl | 2016-11-07 | 1 | -4/+2 | |
| | ||||||
* | Add tests for EllipsisString() and fix bug if param length < 3 | Matthias Loibl | 2016-11-07 | 2 | -5/+16 | |
| | ||||||
* | Test AvatarLink and refactor with tests passing | Matthias Loibl | 2016-11-07 | 2 | -13/+32 | |
| | ||||||
* | Use testify/assert for all tests in tool_test.go | Matthias Loibl | 2016-11-07 | 1 | -31/+12 | |
| | ||||||
* | Add unit test for base.FileSize() | Matthias Loibl | 2016-11-07 | 1 | -2/+23 | |
| | ||||||
* | Start to add tests for modules/base/tool | Matthias Loibl | 2016-11-07 | 2 | -7/+85 | |
| | ||||||
* | Fixed links to sdk docs | Thomas Boerger | 2016-11-07 | 1 | -1/+1 | |
| | ||||||
* | Set correct doc url for go-sdk | Thomas Boerger | 2016-11-07 | 1 | -1/+1 | |
| | ||||||
* | Change import reference to match gitea instead of gogs (#37) | Rémy Boulanouar | 2016-11-03 | 1 | -2/+2 | |
| | ||||||
* | #3559 fix template error | Unknwon | 2016-08-31 | 1 | -0/+4 | |
| | ||||||
* | router/repo: code refactoring | Unknwon | 2016-08-30 | 1 | -18/+6 | |
| | ||||||
* | Fix #3321: commit tag shortener (#3418) | Thibault Meyer | 2016-08-11 | 1 | -1/+1 | |
| | | | | | | | | | | | | * Fix #3321: commit tag shortener * Check short commit * remove debug * Edit unit tests * Show 10-char short SHA | |||||
* | #3320 code cleanup | Unknwon | 2016-08-07 | 1 | -14/+11 | |
| | ||||||
* | Add support for federated avatars (#3320) | Sandro Santilli | 2016-08-07 | 1 | -4/+18 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | |||||
* | Use a gopher as default avatar (rather than the gravatar logo) (#3208) | Sandro Santilli | 2016-06-27 | 1 | -1/+1 | |
| | | | | | | | | | | | | Also changes the avatar from a jpeg to a png, to allow for transparent background. The indexed png is also smaller in size. Note that at the moment the default avatar is only used when the user requested a custom avatar and the custom avatar file is not found (should never happen). In the future the default avatar could be used as a default return when by-mail avatar lookups fail too (both gravatar and libravatar support passing a default) | |||||
* | PDF-Previews in file-lists now working (#3000) | Kim Carlbäcker | 2016-04-26 | 1 | -0/+8 | |
| | ||||||
* | Fix ref comment from commit create empty feed | Unknwon | 2016-03-11 | 1 | -0/+1 | |
| | ||||||
* | #1157 some avatar setting changes | Unknwon | 2016-03-05 | 1 | -0/+9 | |
| | | | | - Allow to delete current avatar | |||||
* | Make markdown as an independent module | Unknwon | 2016-02-20 | 3 | -389/+24 | |
| | ||||||
* | Fix inappropriate markdown post process end tag check | Unknwon | 2016-02-19 | 1 | -2/+2 | |
| | | | | | When <code> is nested inside <pre>, the next end tag token would not able to be the same as outer-most start tag. So we only check outer-most start and end tag token to be the same. | |||||
* | #2650 fix possbility that use email as pusher user name | Unknwon | 2016-02-17 | 1 | -2/+0 | |
| | | | | | | | | | | Remove the possibility of using email as user name when user actually push through combination of email and password with HTTP. Also refactor update action function to replcae tons of arguments with single PushUpdateOptions struct. And define the user who pushes code as pusher, therefore variable names shouldn't be confusing any more. | |||||
* | Remove cache avatar support and add its tests | Unknwon | 2016-02-14 | 1 | -7/+11 | |
| | ||||||
* | Merge pull request #2406 from bkcsoft/feature/markdown-custom-url-scheme | Unknwon | 2016-02-05 | 2 | -16/+13 | |
|\ | | | | | Feature/markdown custom url scheme | |||||
| * | Not working, but slightly better... | Kim "BKC" Carlbäcker | 2016-01-27 | 2 | -11/+13 | |
| | | ||||||
| * | Custom URL-Schemas for Markdown | Kim "BKC" Carlbäcker | 2016-01-27 | 2 | -9/+4 | |
| | | ||||||
* | | #2556 handle space in image URL | Unknwon | 2016-02-04 | 1 | -1/+4 | |
| | | ||||||
* | | #2229 adjust URL verbose depth for reverse proxy sub-path | Unknwon | 2016-01-31 | 1 | -1/+3 | |
|/ | ||||||
* | Made Sanitizer-setup cleaner | Kim "BKC" Carlbäcker | 2016-01-14 | 1 | -1/+10 | |
| | ||||||
* | Checklist-rendering implemented | Kim "BKC" Carlbäcker | 2016-01-13 | 2 | -1/+11 | |
| | ||||||
* | #2287 Truncate repository name if too long | Unknwon | 2016-01-11 | 1 | -0/+9 | |
| | ||||||
* | fix markdown autolink error | Unknwon | 2016-01-09 | 1 | -44/+50 | |
| | ||||||
* | #2185 fall back to use custom chardet lib | Unknwon | 2015-12-31 | 1 | -9/+11 | |
| | ||||||
* | #2282 fast detection of utf-8 | Unknwon | 2015-12-27 | 1 | -0/+6 | |
| | ||||||
* | #2283 set text/plain for non-binary files in raw mode | Unknwon | 2015-12-25 | 1 | -1/+5 | |
| | ||||||
* | #2282 fix utf-8 recognized as windows-1252 | Unknwon | 2015-12-25 | 1 | -1/+3 | |
| | ||||||
* | #2185 use Go sub-repo to detect encoding | Unknwon | 2015-12-13 | 1 | -9/+4 | |
| | ||||||
* | #2161 fix wrong regexp | Unknwon | 2015-12-12 | 1 | -1/+1 | |
| | ||||||
* | #2161 No issue linking in commits when issue number in brackets | Unknwon | 2015-12-12 | 1 | -3/+3 | |
| | ||||||
* | fix #1829 and fix #890 | Unknwon | 2015-12-04 | 1 | -62/+67 | |
| | ||||||
* | minor fix markdown post process | Unknwon | 2015-11-24 | 1 | -0/+1 | |
| | ||||||
* | more link fix | Unknwon | 2015-11-24 | 1 | -0/+4 | |
| | ||||||
* | fix #2020 | Unknwon | 2015-11-24 | 1 | -2/+2 | |
| | ||||||
* | fix possible panic | Unknwon | 2015-11-21 | 1 | -2/+12 | |
| | ||||||
* | HTML render fix | Unknwon | 2015-11-20 | 1 | -8/+32 | |
| | ||||||
* | fix #1873 | Unknwon | 2015-11-20 | 1 | -0/+11 | |
| | ||||||
* | minor fix for #1949 | Unknwon | 2015-11-15 | 1 | -3/+14 | |
| |