ᴜɴᴋɴᴡᴏɴ
dda1092e74
gitutil: infer submodule with baseURL when it is a relative path ( #6337 )
2020-09-18 16:19:31 +08:00
ᴜɴᴋɴᴡᴏɴ
6437d0180b
git: migrate to github.com/gogs/git-module@v1.0.0 ( #5958 )
...
* WIP
* Finish `internal/db/git_diff.go`
* FInish internal/db/mirror.go
* Finish internal/db/pull.go
* Finish internal/db/release.go
* Finish internal/db/repo.go
* Finish internal/db/repo_branch.go
* Finish internal/db/repo_editor.go
* Finish internal/db/update.go
* Save my work
* Add license header
* Compile!
* Merge master
* Finish internal/cmd/hook.go
* Finish internal/conf/static.go
* Finish internal/context/repo.go
* Finish internal/db/action.go
* Finish internal/db/git_diff.go
* Fix submodule URL inferring
* Finish internal/db/mirror.go
* Updat to beta.4
* css: update fonts
* Finish internal/db/pull.go
* Finish internal/db/release.go
* Finish internal/db/repo_branch.go
* Finish internal/db/wiki.go
* gitutil: enhance infer submodule UR
* Finish internal/route/api/v1/repo/commits.go
* mirror: only collect branch commits after sync
* mirror: fix tag support
* Finish internal/db/repo.go
* Finish internal/db/repo_editor.go
* Finish internal/db/update.go
* Finish internal/gitutil/pull_request.go
* Make it compile
* Finish internal/route/repo/setting.go
* Finish internal/route/repo/branch.go
* Finish internal/route/api/v1/repo/file.go
* Finish internal/route/repo/download.go
* Finish internal/route/repo/editor.go
* Use helper
* Finish internal/route/repo/issue.go
* Finish internal/route/repo/pull.go
* Finish internal/route/repo/release.go
* Finish internal/route/repo/repo.go
* Finish internal/route/repo/wiki.go
* Finish internal/route/repo/commit.go
* Finish internal/route/repo/view.go
* Finish internal/gitutil/tag.go
* go.sum
2020-03-08 19:09:31 +08:00
Unknwon
db3f0048d8
templates: rename template function Str2html -> Str2HTML
2018-12-10 22:23:56 -05:00
Unknwon
d3d8284985
templates: sanitize special links in commit message ( #5545 )
...
Reported by @cezar97.
2018-12-10 22:21:42 -05:00
rokuu
c68fc4f31a
templates: fixes broken UI under supported resolution (1024x768) #5179 ( #5182 )
...
* Update view_list.tmpl
* Update commits_table.tmpl
* Update dashboard.tmpl
* Update list.tmpl
* Update list.tmpl
* Update list.tmpl
* Update list.tmpl
* Update notice.tmpl
* Update monitor.tmpl
* Update view_file.tmpl
* Update diff_preview.tmpl
* Update box.tmpl
2018-04-24 09:54:22 -04:00
Unknwon
5f8ec0dc8b
templates/repo: improve symlink file icon in list view ( #4237 )
2017-04-07 13:51:10 -04:00
Unknwon
90b9f7e08c
pkg/setting: rename {AppUrl, AppSubUrl} -> {AppURL, AppSubURL}
2017-04-06 17:27:57 -04:00
Unknwon
0e271799f2
Refactoring: rename and simplify pkg/tool functions
2017-04-06 17:13:53 -04:00
Unknwon
8cb903fbbb
Fix unexpected rendering of README when it is not in Markdown
...
This patch also handles case when a file name looks like README
but is not a text file (e.g. image, PDF).
2017-01-25 07:10:52 -05:00
Unknwon
22e14a0a67
templates/repo/view: fix bad link
2016-08-30 13:59:41 -07:00
Unknwon
780cc2d110
router/repo: code refactoring
2016-08-30 02:08:38 -07:00
Unknwon
6e171c5225
Web editor: improve edit file tooltip
2016-08-27 15:25:01 -07:00
Unknwon
50422f1fc2
#3348 always use relative avatar link in the template
2016-08-05 12:12:54 -07:00
Unknwon
971e2c3bd6
Upgrade octicon to 4.3.0
2016-07-16 12:45:13 +08:00
Unknwon
73b4acbb63
Update glide.yaml
2016-06-27 23:40:36 +08:00
Andrey Nering
13e71acadf
Render emojis in more places.
2016-03-02 21:54:05 -03:00
Adam Strzelecki
41fdaabcf7
commit.RefUrl expects AppUrl argument
...
This is fixup for ea375c0dcc
. The bug was not
visible because commit.RefUrl was always returning empty url due regression
described in https://github.com/gogits/git-module/pull/4
2016-01-13 19:09:50 +01:00
Unknwon
ea375c0dcc
new template func
2015-12-13 23:16:58 -05:00
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
2015-12-08 00:57:46 +01:00
Adam Strzelecki
e2ca53029e
Render commit msg as header + verbatim description
...
Most commit in Git are expected to follow standard of single header line,
followed by description paragraphs, separated by empty line from previous block.
Previously Gogs were treating everything as single header. Now we are trying to
render only first line as header, but following lines (description chunks) as a
verbatim.
2015-12-07 01:50:45 +01:00
Unknwon
1ee7c33e93
template fix
2015-12-04 21:32:33 -05:00
Adam Strzelecki
edbb67cb3f
UI: Use more subtle grey SHA1 labels
...
Current green SHA1 labels are more pronounced than other UI elements attracting
attention as if they were most important thing in the UI, while they are not as
important, especially without real Git client.
Using grey SHA1 labels makes the UI more balanced, less aggressive and lets
user to focus on other content elements.
NOTE: Neither GitHub or Bitbucket uses so heavy pronunciation as Gogs.
2015-12-03 14:21:20 +01:00
Adam Strzelecki
b73241ceb1
UI: Display last-commit header without 2nd column
...
This uses a CSS trick making first th to be relative block with width equal to
first two columns, effectively working around inability to use colspan="2" on
first row that was breaking "fixed-layout" for tables.
Also use grey header for last-commit SHA1 tag.
2015-12-03 01:15:40 +01:00
Adam Strzelecki
61fdd8c571
Commits & files UI: SUI fixed single line table
...
Instead using own ellipsis, uses Semantic UI fixed single line table which
effectively applies ellipsis to all overflowing table cells.
NOTE: File list cannot use colspan="2" for 1st "Last commit" elements,
otherwise layout breaks with fixed table.
2015-12-02 21:57:39 +01:00
Unknwon
7b1c10ea7e
new repo ui
...
- copy link button: #1396 , #1168 , #1668 ,
- synxtax highlight: #1712 , #1549 , #1315 , #670
- z-index: #1942
2015-11-14 04:34:01 -05:00
Unknwon
1b5e1bebc2
fix #1886
2015-11-04 00:32:25 -05:00
Vladimir Vissoultchev
167265d533
Allow file and directory names to contain percent character
2015-07-28 11:42:06 +03:00
Filippo Valsorda
5d5d774e03
Handle submodules without a .gitmodules entry - fix #1023
2015-03-10 03:08:17 +00:00
Unknwon
faddaff90d
templates: fix commit message render issue #828
2015-01-31 15:31:09 -05:00
Unknwon
37fcc8daf2
modules/base: add RenderCommitMessage with XSS-safe and special links
...
- update russian locale
2015-01-30 18:05:20 -05:00
Unknwon
9a1fe801e5
fix #711
2014-12-09 02:18:25 -05:00
dennis-smurf
528c075ad6
Added issue link rendering in commit messages
2014-12-05 11:02:52 +01:00
Unknwon
55dfe2c978
custom avatar upload
2014-11-21 10:58:08 -05:00
Unknwon
35977cd34c
continue work on #255
2014-11-07 16:44:25 -05:00
Unknwon
963354c5d7
Add raw, history file button, and other mirror fixes
2014-10-11 18:02:48 -04:00
Unknwon
b8368f98ff
Add directory level commit message
2014-09-26 08:55:13 -04:00
fundon
54724c33ec
no neet for md5 email
2014-09-26 13:46:51 +08:00
lunnyxiao
7df60af60e
submodule support and closed #478
2014-09-22 14:23:36 +08:00
lunnyxiao
150eef93b2
add submodule basic support & buf fixed #478
2014-09-22 10:43:16 +08:00
Unknwon
7ba9257a7f
Add suburl support
2014-09-19 20:11:34 -04:00
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
2014-09-18 20:50:48 +02:00
Unknwon
8dd07c0ddd
New UI merge in progress
2014-07-26 00:24:27 -04:00