aboutsummaryrefslogtreecommitdiffstats
path: root/routers/repo/editor.go
Commit message (Collapse)AuthorAgeFilesLines
* SECURITY: protect DeleteFilePost et al with cleanUploadFileName (#5631)zeripath2019-01-041-2/+18
| | | | | This commit wraps more of the TreePaths with cleanUploadFileName Signed-off-by: Andrew Thornton <art27@cantab.net>
* fix bug on upload file name (#5571)Lunny Xiao2018-12-201-1/+18
|
* Fix path cleanup in multiple places (#3871)Lauris BH2018-05-011-2/+2
|
* Handle refactor (#3339)Morgan Bazalgette2018-01-101-10/+10
| | | | | | * Replace all ctx.Handle with ctx.ServerError or ctx.NotFound * Change Handle(403) to NotFound, avoid using macaron's NotFound
* Memory usage improvements (#3013)Duncan Ogilvie2017-11-291-2/+7
| | | | | | | | | | * govendor update code.gitea.io/git Signed-off-by: Duncan Ogilvie <mr.exodia.tpodt@gmail.com> * Greatly improve memory usage Signed-off-by: Duncan Ogilvie <mr.exodia.tpodt@gmail.com>
* Make URL scheme unambiguous (#2408)Ethan Koenig2017-10-301-9/+9
| | | | | | | | | | * Make URL scheme unambiguous Redirect old routes to new routes * Fix redirects to new URL scheme, and update template * Fix branches/_new endpoints, and update integration test
* improve protected branch to add whitelist support (#2451)Lunny Xiao2017-09-141-1/+1
| | | | | | | | | | | | | | | | | | | | * improve protected branch to add whitelist support * fix lint * fix style check * fix tests * fix description on UI and import * fix test * bug fixed * fix tests and languages * move isSliceInt64Eq to util pkg; improve function names & typo
* repo/editor: fix breadcrumb path cuts parent dirs (#3859) (#2032)Lunny Xiao2017-06-221-18/+29
|
* Do not allow commiting to protected branch from online editor (#1502)Lauris BH2017-05-021-6/+53
| | | | | | * Do not allow commiting to protected branch from online editor * Add editor integration tests for adding new file and not allowing to add new file to protected branch
* Check if file is a symlink with web editor (#3687) (#445)Lunny Xiao2016-12-221-0/+5
| | | | | | | | | | | | * Check if file is a symlink with web editor (#3687) * editor checks for symlinks * translate file_is_a_symlink message * credit translation author * fix error constant
* Integrate templates into bindata optionally (#314)Thomas Boerger2016-12-061-2/+2
| | | Integrated optional bindata for the templates
* Golint fixed for modules/setting (#262)Lunny Xiao2016-11-271-1/+1
| | | | | | * golint fixed for modules/setting * typo fixed and renamed UNIXSOCKET to UnixSocket
* Golint fixed for modules/templateLunny Xiao2016-11-251-1/+1
|
* golint fixed for routers (#208)Lunny Xiao2016-11-241-23/+34
|
* 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-8/+8
| | | | | | | - 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
* Merge pull request #17 from LefsFlarey/issue/3666Matthias Loibl2016-11-081-1/+1
|\ | | | | Fixed 404 caused by unexpected question mark
| * Fixed 404 caused by unexpected question markFlare2016-11-081-1/+1
| | | | | | | | This fixes 404 caused when creating new files or wiki pages with question marks. Amended to force CI rebuild
* | 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)
* | Fix imports found by goimports.Matthias Loibl2016-11-051-1/+1
| |
* | Executed go fmt for all filesThomas Boerger2016-11-041-1/+1
| |
* | Change import reference to match gitea instead of gogs (#37)Rémy Boulanouar2016-11-031-7/+7
|/
* #3559 fix template errorUnknwon2016-08-311-3/+1
|
* Support Editorconfig on web editorAndrey Nering2016-08-301-0/+1
|
* Web editor: support upload filesUnknwon2016-08-301-16/+183
|
* router/repo: code refactoringUnknwon2016-08-301-2/+1
|
* Web editor: fix cannot create new file in subdirectoryUnknwon2016-08-291-1/+1
|
* #3516 enforce line ending to be \n from web editorUnknwon2016-08-281-3/+2
|
* Web editor: improve edit fileUnknwon2016-08-281-9/+2
|
* Web editor: improve delete file processUnknwon2016-08-281-35/+75
|
* Web editor: improve code qualityUnknwon2016-08-241-37/+35
|
* General code quality improvementUnknwon2016-08-161-1/+6
|
* models/repo_editor: improve code qualityUnknwon2016-08-151-1/+1
|
* Fix outdated edit can’t overwrite changesUnknwon2016-08-151-1/+2
|
* Web editor: improve delete fileUnknwon2016-08-141-0/+340