aboutsummaryrefslogtreecommitdiffstats
path: root/routers/repo/middlewares.go
Commit message (Collapse)AuthorAgeFilesLines
* move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364)Lunny Xiao2019-03-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * move code.gitea.io/git to code.gitea.io/gitea/modules/git * fix imports * fix fmt * fix misspell * remove wrong tests data * fix unit tests * fix tests * fix tests * fix tests * fix tests * fix tests * enable Debug to trace the failure tests * fix tests * fix tests * fix tests * fix tests * fix tests * comment commit count tests since git clone depth is 50 * fix tests * update from code.gitea.io/git * revert change to makefile
* Add whitespace handling to PR-comparsion (#4683)nemoinho2018-08-141-0/+11
| | | | | | | | | | | | | | | | | | * Add whitespace handling to PR-comparsion In a PR we have to keep an eye on a lot of different things. But sometimes the bare code is the key-thing we want to care about and just don't want to care about fixed indention on some places. Especially if we follow the pathfinder rule we face a lot of these situations because these changes don't break the code in many languages but improve the readability a lot. So this change introduce a fine graned button to adjust the way how the reviewer want to see whitespace-changes within the code. The possibilities reflect the possibilities from git itself except of the `--ignore-blank-lines` flag because that one is also handled by `-b` and is really rare. Signed-off-by: Felix Nehrke <felix@nehrke.info>
* Handle refactor (#3339)Morgan Bazalgette2018-01-101-2/+2
| | | | | | * Replace all ctx.Handle with ctx.ServerError or ctx.NotFound * Change Handle(403) to NotFound, avoid using macaron's NotFound
* golint fixed for routers/repo/middlewares.go (#204)Lunny Xiao2016-11-211-0/+2
|
* Fix for anonymous users to switch viewsBwko2016-11-191-3/+5
|
* Fix panic when no user is signed inBwko2016-11-191-0/+4
| | | | See #188
* Remember diff view style (#163)Andrey Nering2016-11-131-0/+21
|
* Normalize files with gofmtThibault Meyer2016-11-111-1/+1
|
* Update import paths from github.com/go-gitea to code.gitea.io (#135)Sandro Santilli2016-11-101-3/+3
| | | | | | | - Update import paths from github.com/go-gitea to code.gitea.io - Fix import path for travis See https://docs.travis-ci.com/user/languages/go#Go-Import-Path
* Replace gogits/git-module dependency with go-gitea/git (#94)Sandro Santilli2016-11-061-1/+1
| | | | | | | | * Replace gogits/git-module dependency with go-gitea/git Fixes #92 * Remove git alias for git module import (not needed)
* Merge branch 'master' into feature/goimportsSandro Santilli2016-11-051-1/+1
|\
| * Refactor editorconfig middlewareAndrey Nering2016-11-051-1/+1
| |
* | Fix imports found by goimports.Matthias Loibl2016-11-051-1/+1
|/
* Fix 500 when repo has invalid .editorconfigAndrey Nering2016-11-051-0/+23
Creating a notice instead