4066 Commits (0885784f136b9b68653ec33fa733e962f3507f7e)
 

Author SHA1 Message Date
Andrew 0885784f13 Wiki mirroring implementation (#3233)
* Implement wiki mirroring, add Update mirrors operation to admin dashboard

* bindata.go update after merge

* Implement checking Git repo endpoint existence, support for BB included

* Remove admin dashboard operation
Fix bindata.go

* Apply gofmt to repo model file

* Try to remove bindata from PR

* Revert accepted wiki names change in favor of better system

* Remove unused imports
8 years ago
Sandro Santilli 3380c946e1 Always set redirect_to on header-provided sign-in (#3435)
This is an attempt to fix #3089 following the strategy introduced
in d625e41c6c, although that strategy
by itself does not seem to be sufficient.

What needs be done is honouring the redirect_url query parameter
from the auth router.
8 years ago
Unknwon d625e41c6c #3408 minor code fix 8 years ago
Sandro Santilli eb1bfe0e59 Do not show the "Sign up for free" button in issue tracker (#3408)
* Do not show the "Sign up for free" button in issue tracker

The "Sign in to comment" link is good enough and will correctly
show or not show the "Sign Up" button link for those not having
an account already.

Fixes #3407 (link to nowhere when registration is disabled)

* Move html from translation to template

* Remove extra space in `{{ .SignInLink }}`.
8 years ago
Unknwon 042d350762 Fix only user has repo write access can comment 8 years ago
Unknwon 0f26f3678a #3279 use doer email for FROM field of issues 8 years ago
Thibault Meyer 6a81632e36 Fix typo CacheInternal -> CacheInterval (#3432) 8 years ago
Kim Carlbäcker b756806ee9 Add "support" for git-daemon-export-ok (#2940) (#3046)
* add git-daemon-export-ok "support"

* Slight fix to git-daemon-export-ok

* Add error-checking for git-demon-export-ok

* Remove old comments and fixed logging-issues

* Check if git-daemon-export-ok exists or not
8 years ago
Unknwon 81e6f82caf Update glide.lock and .gopmfile [CI SKIP] 8 years ago
Unknwon 29f76f3936 Update locales [CI SKIP] 8 years ago
lstahlman ea192147ea Add test pull request task on merging a PR. Fixes #3396 (#3425) 8 years ago
Thibault Meyer 99812a80fd Fix #3420: Bad commit URL generation (#3424) 8 years ago
Thibault Meyer 8ad92bb8a4 Verify list len before use it with IN (#3423) 8 years ago
Unknwon b85927e488 #3091 show Git configs on admin panel 8 years ago
Unknwon 87b408a2e5 Update bindata.go [CI SKIP] 8 years ago
Thibault Meyer fc68fb951c Feature #3398: Redefine global mirror interval (#3409)
* add mirror::GLOBAL_INTERVAL on app.ini

* rename key to DEFAULT_INTERVAL

* add key on default app.ini + move code
8 years ago
Unknwon 5448d29b2e #3417 wrong dashboard issue count for create by you 8 years ago
Unknwon bb51eb5188 Update cron revision [CI SKIP] 8 years ago
lstahlman 89f71b44f7 Add committer information to API and Webhooks. Also fixes #3271 (#3414) 8 years ago
Unknwon c5d4a9e046 #2907 Add commit timestamp to webhook 8 years ago
Unknwon edd786446c #3158 skip RUN_USER check on Windows 8 years ago
Unknwon b0b88d9bc5 #3091 add config option for Git GC 8 years ago
Unknwon 15b0cbe318 #3007 update git-module require version 8 years ago
Unknwon 9f0c571238 Change LICENSE copyright holder name [CI SKIP] 8 years ago
Unknwon f70343660d Little code refactoring 8 years ago
Rory McNamara c8b45ecc27 Render the Code view on the server (minus syntax highlighting) (#2942)
* 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
8 years ago
Unknwon 9e8a8867ea #3325 use correct word for .gitignore 8 years ago
lstahlman 2c82fc3edb Fix for #3410 overall issues for organisations is limited to num_repos from the user (#3412) 8 years ago
Unknwon bbe866122d #3406 fix regression of MustEnableIssues check 8 years ago
Unknwon 87954dbfeb Adjust .codebeatsettings 8 years ago
lstahlman 699c71d319 Fix for #3401 Links of pull request comment email should use pulls URL (#3403) 8 years ago
Unknwon 21f25799b4 Add codebeat files 8 years ago
Unknwon 90af997fec #3399 500 for upstream pulls page if user has forked repository 8 years ago
Unknwon b73318bc62 Fix 404 when comment on pulls and not using interal issue tracker 8 years ago
Unknwon e5bf4281b5 #2825 early response 200 when ?go-get=1 8 years ago
Unknwon 0c2b9bbb2b Update glide.lock and .gopmfile 8 years ago
Unknwon 99385db0c4 #3320 code cleanup 8 years ago
Sandro Santilli 90dd0657b5 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
8 years ago
Unknwon ec92565f23 #3393 fix missing sub-url prefix in relative avatar link 8 years ago
Andrey Nering 2772791fda 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)
8 years ago
Unknwon 08c976f811 Only do go vet on this codebase 8 years ago
Unknwon 72dd299ca0 Update .gitattributes 8 years ago
Thibault Meyer 30fda0f1ae 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
8 years ago
Unknwon ab9c5fb5e7 #2593 allow render raw content
Use URL query parameter render=1 to render content in raw mode.
8 years ago
rugk 28dc5bb566 Replace gogs.io http links with https version (#3386) 8 years ago
Unknwon cf6d321991 Ignore repository with issue disabled or use external tracker in dashboard issues 8 years ago
Unknwon 50422f1fc2 #3348 always use relative avatar link in the template 8 years ago
Unknwon db3d393576 routers/api: rename handlers to be unexported 8 years ago
Unknwon 2f105f3979 #2162 completely disable builtin issue tracker when enable external tracker 8 years ago
Unknwon ee28fd9255 Update locales [CI SKIP] 8 years ago