Lauris BH
62552c9d90
Fix path cleanup in multiple places ( #3871 )
7 years ago
Morgan Bazalgette
8c916631f0
Handle refactor ( #3339 )
* Replace all ctx.Handle with ctx.ServerError or ctx.NotFound
* Change Handle(403) to NotFound, avoid using macaron's NotFound
7 years ago
Duncan Ogilvie
a597ca3800
Memory usage improvements ( #3013 )
* 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>
7 years ago
Ethan Koenig
6700a0b12a
Make URL scheme unambiguous ( #2408 )
* 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
7 years ago
Lunny Xiao
1c80057b53
improve protected branch to add whitelist support ( #2451 )
* 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
7 years ago
Lunny Xiao
f5024e6612
repo/editor: fix breadcrumb path cuts parent dirs ( #3859 ) ( #2032 )
8 years ago
Lauris BH
f814963397
Do not allow commiting to protected branch from online editor ( #1502 )
* 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
8 years ago
Lunny Xiao
49ceb80965
Check if file is a symlink with web editor ( #3687 ) ( #445 )
* 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
8 years ago
Thomas Boerger
c7aa87988d
Integrate templates into bindata optionally ( #314 )
Integrated optional bindata for the templates
8 years ago
Lunny Xiao
b5a7692d63
Golint fixed for modules/setting ( #262 )
* golint fixed for modules/setting
* typo fixed and renamed UNIXSOCKET to UnixSocket
8 years ago
Lunny Xiao
93101d7a6c
Golint fixed for modules/template
8 years ago
Lunny Xiao
e134836804
golint fixed for routers ( #208 )
8 years ago
Thibault Meyer
6ef997ca64
Normalize files with gofmt
8 years ago
Sandro Santilli
cb1b3cc148
Update import paths from github.com/go-gitea to code.gitea.io ( #135 )
- 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
8 years ago
Matthias Loibl
7db899faaf
Merge pull request #17 from LefsFlarey/issue/3666
Fixed 404 caused by unexpected question mark
8 years ago
Flare
922a19e2d2
Fixed 404 caused by unexpected question mark
This fixes 404 caused when creating new files or wiki pages with question marks. Amended to force CI rebuild
8 years ago
Sandro Santilli
3c9693defb
Replace gogits/git-module dependency with go-gitea/git ( #94 )
* Replace gogits/git-module dependency with go-gitea/git
Fixes #92
* Remove git alias for git module import (not needed)
8 years ago
Matthias Loibl
929972fc8d
Fix imports found by goimports.
8 years ago
Thomas Boerger
423d7ae8fb
Executed go fmt for all files
8 years ago
Rémy Boulanouar
9712d5ee89
Change import reference to match gitea instead of gogs ( #37 )
8 years ago
Unknwon
cdcb2c86c9
#3559 fix template error
8 years ago
Andrey Nering
9cb849359e
Support Editorconfig on web editor
8 years ago
Unknwon
288bd17939
Web editor: support upload files
8 years ago
Unknwon
d322f48f44
router/repo: code refactoring
8 years ago
Unknwon
f91166335e
Web editor: fix cannot create new file in subdirectory
8 years ago
Unknwon
78a0a9b504
#3516 enforce line ending to be \n from web editor
8 years ago
Unknwon
a408ce3ec2
Web editor: improve edit file
8 years ago
Unknwon
23a12b9711
Web editor: improve delete file process
8 years ago
Unknwon
11540e5abe
Web editor: improve code quality
8 years ago
Unknwon
cc9a66db51
General code quality improvement
8 years ago
Unknwon
e3b20a093b
models/repo_editor: improve code quality
8 years ago
Unknwon
e390f92900
Fix outdated edit can’t overwrite changes
8 years ago
Unknwon
2f5b0be839
Web editor: improve delete file
8 years ago