Sergey Dryabzhinsky
b5a1daa756
template: simple html filter for repository description ( #5242 )
...
* Add markdown renderer function to templates, use it for description in repo template
* Fix function call
* Define function Md2html in template namespace
* Change filter from Md2html to nl2br
* Change filter name to NewLine2br as suggested
* Update description output:
- just replace `\n` by `<br>`
- sanitize html after replace
7 years ago
Unknwon
15f9a83618
templates/repo: escape branch name ( #4601 )
7 years ago
Ryan Chang
5260d70b19
templates: fix typo in repo/home.tmpl ( #4845 )
7 years ago
Unknwon
3144be5c81
repo: remove legacy sanitizer for repository description
...
Related to #4329 .
8 years ago
Unknwon
5c7cb1594b
repo/branches: overview and all ( #2310 )
8 years ago
Unknwon
ebc0943713
templates/repo: only show Git stats in repository home page ( #3518 )
...
Move 'Commits' and 'Releases' tabs down to body.
This patch also reduces page load time for pages that do not need
to use commits count anywhere. Get commits count can hurt
performance badly for huge repositories that has tens of thousands
commits like Linux Kernel.
8 years ago
Unknwon
d1c327d508
repo/home.tmpl: only ellipsis on repository name
...
File name could contain non-ASCII characters.
See details on https://discuss.gogs.io/t/topic/758 .
8 years ago
Unknwon
16d3e7085e
Minor fix for PR #3667
8 years ago
Thibault Meyer
c47fbc629b
Feature #2583 : Disable HTTP cloning ( #3667 )
...
* Can disable GIT interactions by HTTP protocol
* rename variable + fix wiki link
* missing space
8 years ago
Unknwon
643142acab
Web editor: support upload files
8 years ago
Unknwon
780cc2d110
router/repo: code refactoring
8 years ago
Unknwon
579e5e4fee
Web editor: disallow edit mirror repository
8 years ago
Unknwon
0114fdcba4
Web editor: improve delete file process
8 years ago
Unknwon
f8a48ffaad
Web editor: improve code quality
8 years ago
Unknwon
4a19fd6441
Web editor: temporarily disable upload and quick fix for edit and new
...
Try to merge into develop branch ASAP, then continue minor fixes afterwards.
8 years ago
Richard Mahn
d0a0239bac
Squashed commit of the following:
...
commit 0afcb843d7
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 17:13:29 2016 -0600
Removed Upload stats as the upload table is just a temporary table
commit 7ecd73ff55
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 08:42:41 2016 -0600
Fix for CodeMirror mode
commit c29b9ab531
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 08:03:33 2016 -0600
Made tabbing in editor use spaces
commit 23af384c53
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 07:56:46 2016 -0600
Fix for data-url
commit cfb8a97591
Merge: 7fc8a89
991ce42
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 07:42:53 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
public/js/gogs.js
commit 7fc8a89cb4
Merge: fd3d86c
c03d040
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 07:40:00 2016 -0600
Merge branch 'feature-create-and-edit-repo-file' of github.com:richmahn/gogs into feature-create-and-edit-repo-file
commit fd3d86ca6b
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 07:39:44 2016 -0600
Code cleanup
commit c03d0401c1
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 29 15:38:23 2016 -0600
Code cleanup
commit 98e1206ccf
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Thu Jul 28 18:36:01 2016 -0600
Code cleanup and fixes
commit c2895dc742
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Thu Jul 28 18:24:04 2016 -0600
Fixes per Unknwon's requests
commit 6aa7e46b21
Merge: 889e9fa
ad7ea88
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Thu Jul 28 17:13:43 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
modules/setting/setting.go
commit 889e9faf1b
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 22 14:09:18 2016 -0600
Fix in gogs.js
commit 47603edf22
Merge: bb57912
cf85e9e
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 22 14:07:36 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
public/js/gogs.js
commit bb57912558
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 22 14:02:18 2016 -0600
Update for using CodeMirror mode addon
commit d10d128c51
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Tue Jul 19 16:12:57 2016 -0600
Update for Edit
commit 34a3498202
Merge: fa1b752
1c7dcdd
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Tue Jul 19 11:52:02 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
commit fa1b752be2
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 15 18:35:42 2016 -0600
Feature for editing, creating, uploading and deleting files
8 years ago
Unknwon
971e2c3bd6
Upgrade octicon to 4.3.0
9 years ago
Unknwon
3d93532c87
#3274 fix can't get webhook detail of organization
9 years ago
Unknwon
0e9bc2d410
Fix pull request availability check
9 years ago
Unknwon
2d2d85bba4
#1597 support pull requests in same repository
9 years ago
Andrey Nering
13e71acadf
Render emojis in more places.
9 years ago
Florian Kaiser
d568019306
Remember last selected clone protocol, and establish uniform order (https, ssh)
9 years ago
Unknwon
3bcdb3855c
#2250 Use HTTP/HTTPS as default clone option
9 years ago
Angus Gibson
df05134494
Break branch-selection dropdown into a template
...
We only handle branch selection for repo home and commits pages, so the
redirection URL is based on PageIsCommits
9 years ago
Unknwon
a576224d0e
unified name: IsViewBranch, IsViewCommit and IsViewTag
9 years ago
Adam Strzelecki
da2585c11e
Indent all templates with tabs
...
This commit improves templates readability, since all of them use consistent
indent with all template command blocks indented too.
1. Indents both HTML containers such as <div>, <p> and Go HTML template blocks
such as {{if}} {{with}}
2. Cleans all trailing white-space
3. Adds trailing last line-break to each file
9 years ago
Unknwon
e538ff2770
fix #1829 and fix #890
9 years ago
Adam Strzelecki
2580e7b57e
UI: Always show menu on repo pages
...
Merges repo/sidebar.tmpl with repo/header.tmpl and makes every repo page use
middleware.RepoRef() necessary to display information on this menu.
9 years ago
Adam Strzelecki
314664892c
UI: Keep repo URL action right of ref combo & path
...
Just use secondary menu instead custom ".head.meta", which simplifies code.
Also do not display repo URL action when we are in subdirectory or viewing a
file.
9 years ago
Adam Strzelecki
3eae4ecde7
UI: Make repository menu divide header and content
...
This is more inline with way GitHub looks like and feels much more natural and
in style with rest of the interface.
9 years ago
Unknwon
830d000667
finish wiki
9 years ago
Unknwon
b2fb7e3fd2
more HTTP clone word fix
9 years ago
Unknwon
efaf60ba5a
fix #2013
9 years ago
Unknwon
9ab96172fc
new watchers, stars and forks UI
9 years ago
Unknwon
7b1c10ea7e
new repo ui
...
- copy link button: #1396 , #1168 , #1668 ,
- synxtax highlight: #1712 , #1549 , #1315 , #670
- z-index: #1942
9 years ago
Unknwon
953bb06857
basic PR feature
9 years ago
Unknwon
17de3ab0a3
add migrate from issue.label_ids to issue_label
10 years ago
Unknwon
dea3a8c6a4
WIP: create PR - choose branch
10 years ago
Vladimir Vissoultchev
2bb1fb8f44
Use EscapePound in link hrefs in diff/file views
10 years ago
Vladimir Vissoultchev
167265d533
Allow file and directory names to contain percent character
10 years ago
Unknwon
4447a20f87
UI: issues - finish basic frame
10 years ago
Unknwon
bc8721fb6c
Finish new UI for release page
10 years ago
Unknwon
35977cd34c
continue work on #255
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
11af8658cf
Simple fix
10 years ago
Unknwon
49193bebd2
UI: Confirmation box
10 years ago
fuxiaohei
e3a27aeb25
template and ui fix
10 years ago
fuxiaohei
dccc50e9d4
template and ui fix
10 years ago
Unknwon
a1109e6fbc
Page: Repository home page
10 years ago