Commit Graph

125 Commits (a725d314967671c326bd63078f08c7d08d87a2b0)

Author SHA1 Message Date
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
Martin van Beurden 0055cbd365 Allow Gogs to run from a suburl behind a reverse proxy. e.g. http://mydomain.com/gogs/
Conflicts:
	modules/setting/setting.go

Conflicts:
	templates/repo/release/list.tmpl
	templates/user/dashboard/dashboard.tmpl

Conflicts:
	routers/repo/setting.go
lunnyxiao ed84adb679 toutf8 improved & add max git diff lines
Christopher Brickley 00a864e693 add commit compare functionality
Unknwon 5c4bc3c848 Huge updates!!!!! Be careful to merge!!!!
Unknwon 8dd07c0ddd New UI merge in progress
Unknown 314193029a Use constants to name template file
slene 4ee6bc4fca fix for new git api
Unknown 688ec6ecbd Fixed
Unknown c117f9e73f Fix
Unknown 2401e68d7e Prepare for v0.3.1 hotfix
Chris Lee 6700257558 Show parents in commit diff page
Chris Lee 8a8f84d245 Use commit summaries instead of full messages
slene 52b4ab2aa5 update with new git
Unknown 31d613c01d Mirror fix
Unknown d305448fa8 Mirror bug fix
zhsso 2e6d50addc combine getCommit ById and ByBranch in routers/repo/commit.go
Unknown d6dac160df Pages in commits list page
Unknown 47aa53bd36 Add search commits
Unknown d0e6a4c25a Change new martini impot path
slene b27c34f39a update git api. fix link... and so on
slene 6b43067e1b image display in diff page
slene 16cb1e974c print err
slene 677643b812 fix read commit source
Unknown 87de66561c Start working on diff page
FuXiaoHei 5e22f1437a diff page ui
FuXiaoHei 137538e54b refactor repo.go