0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-27 01:44:10 -05:00
forgejo/templates/repo/diff
mrsdizzie 3ff0a126e1 Improve issue autolinks (#6273)
* Improve issue autolinks

Update autolinks to match what github does here:

Issue in same repo: #1
Issue in different repo: org/repo#1

Fixes #6264

* Use setting.AppURL when parsing URL

Using setting.AppURL here is a more reliable way of parsing the current
URL and what other functions in this file seem to use.

* Make ComposeMetas always return a valid context

* Add per repository markdown renderers for better context

* Update for use of context metas

Now that we include the user and repo name inside context metas, update
various code and tests for this new logic
2019-04-12 08:53:34 +03:00
..
box.tmpl Improve issue autolinks (#6273) 2019-04-12 08:53:34 +03:00
comment_form.tmpl Improve issue autolinks (#6273) 2019-04-12 08:53:34 +03:00
comment_form_datahandler.tmpl Pull request review/approval and comment on code (#3748) 2018-08-06 06:43:21 +02:00
comments.tmpl Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
new_comment.tmpl Pull request review/approval and comment on code (#3748) 2018-08-06 06:43:21 +02:00
new_review.tmpl User shouldn't be able to approve or reject his/her own PR (#4729) 2018-08-20 07:04:01 +02:00
page.tmpl Display the branch name in the commit view (#5950) 2019-02-05 21:47:01 +00:00
section_unified.tmpl Revert "Fix wrapping long code lines in UI" (#6074) 2019-02-15 02:23:20 -05:00
whitespace_dropdown.tmpl Add whitespace handling to PR-comparsion (#4683) 2018-08-14 13:49:33 -04:00