Commit Graph

76 Commits (0834e492c06e30d30c2bc8eec4fcb6c499a62ced)

Author SHA1 Message Date
Andrey Nering 739f07c98e Remember diff view style ()
Thibault Meyer ddee4c8b58
Normalize files with gofmt
Sandro Santilli 4247304f5a Update import paths from github.com/go-gitea to code.gitea.io ()
- 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
Odin Ugedal 5a6f7edde9 Use the rev-parsed sha1 commit id ()
Use the rev-parsed sha1 commit id in urls to repo files,
instead of the abbreviated version.
Sandro Santilli 6e4252dad4 Replace gogits/git-module dependency with go-gitea/git ()
* Replace gogits/git-module dependency with go-gitea/git

Fixes 

* Remove git alias for git module import (not needed)
Sandro Santilli f36544f98d Merge branch 'master' into feature/goimports
Andrey Nering bd898a10f8 Refactor editorconfig middleware
Matthias Loibl 1f44b01e2a Fix imports found by goimports.
Andrey Nering 984fa8d83b Fix 500 when repo has invalid .editorconfig
Creating a notice instead
Rémy Boulanouar 2d68bd1ef9 Change import reference to match gitea instead of gogs ()
Unknwon ba27d71abe Web editor: improve edit file
Unknwon f8a48ffaad Web editor: improve code quality
Unknwon 6cda35a75f reproduce diff signs
Unknwon 4a46613916 markdown: fix treating pure number as SHA1
- Detect non-exist commit and return 404 not 500
Andrey Nering dbed39ba05 On showing diff/file, use the tab_width specified on .editorconfig, if any ()
Closes 
Unknwon 10dc330640 dump content directly to HTTP ResponseWriter
Dennis Chen dfab54d5a2 Diff patch ()
* Add support for .diff and .patch

Add the ability to get text-diff and format-patch by adding .diff or
.patch in the end of a commit url. Issue 

* models: git_diff: various fixes

* Renames commitId to commitID.
* Writes stderr to a bytes.Buffer and displays proper error message on
command failure.
* Various style changes.

Signed-off-by: Dennis Chen <barracks510@gmail.com>
Andrey Nering 743d22669a Re-work MAX_DIFF_LINES: supress diff per file, not the whole diff ()
Unknwon 60ae8ac3d2 Add route for
Unknwon 514382e2eb Rename module: middleware -> context
Andrey Nering 2bfb8bb5fd Enable sintax highlighting on diff view. Close
Andrey Nering 5deb726f3f Refactoring of inline diff computing to prevent empty diff box. Fix
Andrey Nering 73474c043b Highlighting differences of lines in the diff view.
Kim "BKC" Carlbäcker 8fe5d887ae Changed name from inline to unified
Kim "BKC" Carlbäcker 0df39b33eb Implement Split Diff-View
- Unified/Inline Diff-View Selectable
Unknwon 19423957b1 rename import path
Unknwon 9a2e43bff2 move out git module and send push hook
Unknwon 84a43b38cf remove unused code
Unknwon 7c80eba77f minor UI fix and fix ssh race
Unknwon 3b62a0fe0e fix fix file histrory paging issue
Unknwon b55499d039 go vet and fix
Unknwon 37e0cee877 finish PR UI
Unknwon 8c046073a8 work on PR conversation
Unknwon 1ca257ad9f rename fields
Unknwon 4275b3720a finsih diff and compare
Unknwon aa65761d81 new commits table
Tony Tsang fc6d80d619 Link to previous commited source file (diff.view_file button) instead of returning 404 for deleted files.
Unknwon 37fcc8daf2 modules/base: add RenderCommitMessage with XSS-safe and special links
- update russian locale
Unknwon c73e9057ae Optmize git-fsck options and fix
Unknwon 9a1fe801e5 fix
dennis-smurf 528c075ad6 Added issue link rendering in commit messages
Unknwon a43164877c fix
Unknwon 21b9d5fa1f Fix
Unknwon 23eec25274 Fix , fix , fix
Unknwon 963354c5d7 Add raw, history file button, and other mirror fixes
Unknwon b2632dec09 Page: Compare 2 commits
Unknwon b8368f98ff Add directory level commit message
Unknwon 977779cdcf Mirror template bug fix
Unknwon 5bbeeb0f1b Page: Commits and fix
Unknwon 7ba9257a7f Add suburl support