Andrey Nering
7f39af230a
Fix 500 when repo has invalid .editorconfig
Creating a notice instead
8 years ago
Rémy Boulanouar
9712d5ee89
Change import reference to match gitea instead of gogs ( #37 )
8 years ago
Unknwon
a408ce3ec2
Web editor: improve edit file
8 years ago
Unknwon
11540e5abe
Web editor: improve code quality
8 years ago
Unknwon
40375965c5
#3464 reproduce diff signs
8 years ago
Unknwon
1bd27947e0
markdown: fix treating pure number as SHA1
- Detect non-exist commit and return 404 not 500
8 years ago
Andrey Nering
10a5a8b7cf
On showing diff/file, use the tab_width specified on .editorconfig, if any ( #3241 )
Closes #3182
8 years ago
Unknwon
b4596dc0d4
#3345 dump content directly to HTTP ResponseWriter
9 years ago
Dennis Chen
72344d71dd
Diff patch ( #3345 )
* 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 #2641
* 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>
9 years ago
Andrey Nering
cdc7a8c613
Re-work MAX_DIFF_LINES: supress diff per file, not the whole diff ( #3174 )
9 years ago
Unknwon
b77b57dec2
Add route for #2846
9 years ago
Unknwon
574a4d69e8
Rename module: middleware -> context
9 years ago
Andrey Nering
a00f3969c0
Enable sintax highlighting on diff view. Close #733
9 years ago
Andrey Nering
8320b077a0
Refactoring of inline diff computing to prevent empty diff box. Fix #2489
9 years ago
Andrey Nering
000931e238
Highlighting differences of lines in the diff view.
9 years ago
Kim "BKC" Carlbäcker
827b2477b8
Changed name from inline to unified
9 years ago
Kim "BKC" Carlbäcker
f5576c90a7
Implement Split Diff-View
- Unified/Inline Diff-View Selectable
9 years ago
Unknwon
8ac9d9b4c7
rename import path
9 years ago
Unknwon
7c3baef786
move out git module and #1573 send push hook
9 years ago
Unknwon
5f14673e75
remove unused code
9 years ago
Unknwon
65562d2514
minor UI fix and fix ssh race
9 years ago
Unknwon
4623de5292
fix #1572 fix file histrory paging issue
9 years ago
Unknwon
2e68e18401
go vet and fix #1890
9 years ago
Unknwon
249e492b6b
finish PR UI
9 years ago
Unknwon
315b183c66
work on PR conversation
9 years ago
Unknwon
e567ecc8d9
rename fields
9 years ago
Unknwon
3c834494a7
finsih diff and compare
9 years ago
Unknwon
01dd462e27
new commits table
9 years ago
Tony Tsang
b6fb5371ce
Link to previous commited source file (diff.view_file button) instead of returning 404 for deleted files.
10 years ago
Unknwon
37fcc8daf2
modules/base: add RenderCommitMessage with XSS-safe and special links
- update russian locale
10 years ago
Unknwon
c73e9057ae
Optmize git-fsck options and fix #820
10 years ago
Unknwon
9a1fe801e5
fix #711
10 years ago
dennis-smurf
528c075ad6
Added issue link rendering in commit messages
10 years ago
Unknwon
a43164877c
fix #664
10 years ago
Unknwon
21b9d5fa1f
Fix #618
10 years ago
Unknwon
23eec25274
Fix #605 , fix #255 , fix #101
10 years ago
Unknwon
963354c5d7
Add raw, history file button, and other mirror fixes
10 years ago
Unknwon
b2632dec09
Page: Compare 2 commits
10 years ago
Unknwon
b8368f98ff
Add directory level commit message
10 years ago
Unknwon
977779cdcf
Mirror template bug fix
10 years ago
Unknwon
5bbeeb0f1b
Page: Commits and fix #249
10 years ago
Unknwon
7ba9257a7f
Add suburl support
10 years ago
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
10 years ago
lunnyxiao
ed84adb679
toutf8 improved & add max git diff lines
10 years ago
Christopher Brickley
00a864e693
add commit compare functionality
10 years ago
Unknwon
5c4bc3c848
Huge updates!!!!! Be careful to merge!!!!
11 years ago
Unknwon
8dd07c0ddd
New UI merge in progress
11 years ago
Unknown
314193029a
Use constants to name template file
11 years ago
slene
4ee6bc4fca
fix for new git api
11 years ago
Unknown
688ec6ecbd
Fixed #209
11 years ago