Julian
b64edc0e10
fix commit page showing status for current default branch ( #5650 )
Signed-off-by: Julian Tölle <julian.toelle97@gmail.com>
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
8 years ago
Lauris BH
41db9040c1
Fix go-get, src and raw urls to new scheme ( #2978 )
8 years ago
Timur Makarchuk
448dc6337e
Remove render issue link ( #2954 )
* Remove function that does nothing
* Remove unused import
8 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
8 years ago
Lauris BH
1c6c8a728c
Add commit count caching ( #2774 )
* Add commit count caching
* Small refactoring
* Add different key prefix for refs and commits
* Add configuratuion option to allow to change caching time or disable it
8 years ago
Bwko
371ec5cb83
Add branch overiew page ( #2108 )
* Add branch overiew page
* fix changed method name on sub menu
* remove unused code
8 years ago
Rémy Boulanouar
c754b49da2
Display commit status on landing page of repo ( #1784 )
* Display commit status on landing page of repo
* improve last status of commits and add link to ci
* fix last commit status since the order of ids are desc
8 years ago
Bwko
06a22cf469
Fix Commits nil pointer dereference ( #2203 )
8 years ago
Lauris BH
380ac258b0
Show commit status icon in commits table ( #1688 )
* Show commit status icon in commits table
* Add comments
* Fix icons
* Few more places where commit table is displayed
* Change integration test to use goquery for parsing html
* Add integration tests for commit table and status icons
* Fix status to return lates status correctly on all databases
* Rewrote lates commit status selects
9 years ago
Antoine GIRARD
fe14d3b3fa
GPG commit validation ( #1150 )
* GPG commit validation
* Add translation
+ some little fix
* Move hash calc after retrieving of potential key + missing translation
* Add some little test
9 years ago
Andrey Nering
208423c84d
Fix HighlightJS not working on compare diff page ( #914 )
9 years ago
Bo-Yi Wu
110750bf29
fix: trim the whitespaces for the search keyword ( #893 )
9 years ago
Zsombor
76bbb0414e
Add checkbox to search for all the branches by commit message ( #813 )
and updating the vendor directory
9 years ago
Kjell Kvinge
fd2d8ac6f4
commithgraph / timeline ( #428 )
* Add model and tests for graph
* Add route and router for graph
* Add assets for graph
* Add template for graph
9 years ago
Lunny Xiao
b5a7692d63
Golint fixed for modules/setting ( #262 )
* golint fixed for modules/setting
* typo fixed and renamed UNIXSOCKET to UnixSocket
9 years ago
Lunny Xiao
e134836804
golint fixed for routers ( #208 )
9 years ago
Andrey Nering
43e4529fb4
Remember diff view style ( #163 )
9 years ago
Thibault Meyer
6ef997ca64
Normalize files with gofmt
9 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
9 years ago
Odin Ugedal
0f421c9602
Use the rev-parsed sha1 commit id ( #98 )
Use the rev-parsed sha1 commit id in urls to repo files,
instead of the abbreviated version.
9 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)
9 years ago
Sandro Santilli
4fb2e00b31
Merge branch 'master' into feature/goimports
9 years ago
Andrey Nering
5243e1f5f9
Refactor editorconfig middleware
9 years ago
Matthias Loibl
929972fc8d
Fix imports found by goimports.
9 years ago
Andrey Nering
7f39af230a
Fix 500 when repo has invalid .editorconfig
Creating a notice instead
9 years ago
Rémy Boulanouar
9712d5ee89
Change import reference to match gitea instead of gogs ( #37 )
9 years ago
Unknwon
a408ce3ec2
Web editor: improve edit file
9 years ago
Unknwon
11540e5abe
Web editor: improve code quality
9 years ago
Unknwon
40375965c5
#3464 reproduce diff signs
9 years ago
Unknwon
1bd27947e0
markdown: fix treating pure number as SHA1
- Detect non-exist commit and return 404 not 500
9 years ago
Andrey Nering
10a5a8b7cf
On showing diff/file, use the tab_width specified on .editorconfig, if any ( #3241 )
Closes #3182
9 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
10 years ago
Unknwon
574a4d69e8
Rename module: middleware -> context
10 years ago
Andrey Nering
a00f3969c0
Enable sintax highlighting on diff view. Close #733
10 years ago
Andrey Nering
8320b077a0
Refactoring of inline diff computing to prevent empty diff box. Fix #2489
10 years ago
Andrey Nering
000931e238
Highlighting differences of lines in the diff view.
10 years ago
Kim "BKC" Carlbäcker
827b2477b8
Changed name from inline to unified
10 years ago
Kim "BKC" Carlbäcker
f5576c90a7
Implement Split Diff-View
- Unified/Inline Diff-View Selectable
10 years ago
Unknwon
8ac9d9b4c7
rename import path
10 years ago
Unknwon
7c3baef786
move out git module and #1573 send push hook
10 years ago
Unknwon
5f14673e75
remove unused code
10 years ago
Unknwon
65562d2514
minor UI fix and fix ssh race
10 years ago
Unknwon
4623de5292
fix #1572 fix file histrory paging issue
10 years ago
Unknwon
2e68e18401
go vet and fix #1890
10 years ago
Unknwon
249e492b6b
finish PR UI
10 years ago
Unknwon
315b183c66
work on PR conversation
10 years ago