Unknwon
c08aab90ec
models/mirror: shot push webhook after synced commits ( #4528 )
7 years ago
Unknwon
bef7f6745c
templates/repo/settings: fix mirror setting error
7 years ago
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
Sergey Dryabzhinsky
7e450542d9
templates/repo: use correct Semantic UI icon styles to fix star and watch icons ( #5218 )
...
* Update font-awesome to 4.7.0
* Fix font-awesome styles overrided by semantic
* Revert back
* Revert back 2
* Just use right `semantic` icon styles
7 years ago
Unknwon
15f9a83618
templates/repo: escape branch name ( #4601 )
7 years ago
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
7 years ago
Unknwon
f89d948c06
templates/repo/issue: rework escape delete branch link after merged pull request ( #4601 )
7 years ago
Unknwon
45a0988833
templates/repo/issue: escape delete branch link after merged pull request ( #4601 )
7 years ago
Unknwon
c59704a24b
public: update Semantic UI 2.2.13 -> 2.3.1
7 years ago
Unknwon
55f148f499
template: delete legacy file
7 years ago
Unknwon
c17a6ff533
templates/repo: show quick guide to people with write permission ( #4646 )
...
Used to only show people who has admin permission.
7 years ago
Unknwon
28e0003a9a
templates/repo/branches: escape pound in branch name ( #4874 )
7 years ago
Unknwon
ba0a78da2a
templates/repo/branches: escape pound in branch name ( #4874 )
7 years ago
kaajavi
ca874ba8c7
templates/repo: fix wrong branch url in branches view ( #4902 )
7 years ago
Ryan Chang
5260d70b19
templates: fix typo in repo/home.tmpl ( #4845 )
7 years ago
Unknwon
0f14b92bce
MISC: minor fixes in webhook
7 years ago
Unknwon
3b8b8a2ee3
pull_request: able to ignore whitespace when check conflict ( #4834 )
7 years ago
Unknwon
34c2e52bd5
repo/pull: allow rebase before merging ( #4805 )
7 years ago
mharinder
5cd1fdeb9e
pull: add an option to use rebase for merging pull requests
...
For DVCS, either merge or rebase works for getting new code in a pull
request in the main branch.
The rebase workflow produces a linear history which is cleaner, and
more bisect-able.
This commit adds a repo-level option to enable the rebase workflow. Once
enabled, "Merge Pull Request" will be replaced by
"Rebase and Merge Pull Request" which does exactly what the user wants.
It's unlikely a project wants a mixed-use of both rebase and merge
workflows, therefore the feature is not implemented as a drop-down
button like what GitHub does
(https://github.com/blog/2243-rebase-and-merge-pull-requests ).
7 years ago
Unknwon
b727e0be71
SECURITY: fix branch name persistent XSS
...
Reported by Carl Hattenfels.
7 years ago
Athurg Feng
52f3833811
Add Dingtalk webhook support ( #4773 )
...
* Add dingtalk webhook into html template
* Add Dingtalk's icon
* Insert dingtalk into repo's webhook page template
* Insert dingtalk into org's webhook page
* Add dingtalk into default webhook config
* Add locale string for add_dingtalk_hook_desc
* Update bindata
* Add dingtalk webhook form validator
* Add dingtalk hook task
* Add dingtalk hook create handler
* Add dingtalk hook edit handler
* Add dingtalk router
* Add dingtalk webhook task skeleton
* Add markdown link formatter
* Add Dingtalk ActionCard create wrapper
* Add support for dingtalk create event payload
* Add support for dingtalk delete event payload
* Add support for dingtalk fork event payload
* Add support for dingtalk push event payload
* Add support for dingtalk issue event payload
* Add support for dingtalk issue comment payload
* Add support for dingtalk pull event payload
* Add support for dingtalk release event payload
7 years ago
Unknwon
f67d6bbca3
repo/diff: fix line number in split view template ( #4584 )
7 years ago
Unknwon
c970c4ee41
css: not include line numbers in diff selection ( #4584 )
...
Changed template file in order to make CSS work properly.
7 years ago
Unknwon
ab2197bc75
random: some code simplify
8 years ago
Unknwon
c210984b40
repo: improve relative path detection ( #4366 )
8 years ago
Unknwon
455dc072ba
repo: use BranchLink instead of TreeLink ( #4366 )
8 years ago
Unknwon
a851b77ac9
markup: able to display image from IPython notebook ( #4366 )
8 years ago
Unknwon
36d6450977
repo/pull: detect case when no merge base found ( #4434 )
8 years ago
Simon Dann
bf060387af
ui: fix emoji not rendered in commits table ( #4440 )
8 years ago
Unknwon
a1d411a018
ldap: minor fix for PR #4398
8 years ago
Unknwon
6ebdf91b32
templates/repo: fix README.ipynb not rendered ( #4367 )
8 years ago
Unknwon
91cd350b63
repo/editor: fix wrong context for subdirectory ( #4368 )
8 years ago
Unknwon
62a20b8a2d
repo/wiki: improve UI
8 years ago
Unknwon
d0612be402
user/setting: improve UI
8 years ago
Unknwon
5f8ec0dc8b
templates/repo: improve symlink file icon in list view ( #4237 )
8 years ago
Unknwon
ac43eab51f
Refactoring: rename Signed -> Logged
8 years ago
Unknwon
90b9f7e08c
pkg/setting: rename {AppUrl, AppSubUrl} -> {AppURL, AppSubURL}
8 years ago
Unknwon
2c404daca6
pkg/context: rename {CsrfToken, CsrfTokenHtml} -> {CSRFToken, CSRFTokenHTML}
8 years ago
Unknwon
0e271799f2
Refactoring: rename and simplify pkg/tool functions
8 years ago
Unknwon
624474386a
templates/repo/branches: fix links for mirror repository
...
Also added new pull request button for stale branches.
8 years ago
Unknwon
ba151eda0a
css: improve fonts under Windows
8 years ago
Unknwon
55afc1ad21
models/repo_diff: move core functions to gogits/git-module
8 years ago
Unknwon
b873ec2bce
templates/repo/branches: hide pull request button if not allowed ( #4377 )
8 years ago
Unknwon
9edac05e05
templates/repo: improve README icon and font
8 years ago
Unknwon
260ebcc1ca
repo/milestone: simplify code
8 years ago
Unknwon
8196430f47
repo: allow private repository to have public wiki or issues
...
Relates to #649 and #2157
8 years ago
Unknwon
79ba0314e9
milestone: only show issue-related count under issue list ( #4316 )
8 years ago
Unknwon
3144be5c81
repo: remove legacy sanitizer for repository description
...
Related to #4329 .
8 years ago
Unknwon
71753cdd46
templates/label: another minor style improve
8 years ago
Unknwon
d3363430dc
templates/label: minor style improve
...
Add an empty space to make <span> have width.
8 years ago