1
0
Fork 0
forgejo/templates/repo
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
..
branch Display branch name in delete branch confirmation modal. (#5654) 2019-01-06 15:08:25 -05:00
diff Improve issue autolinks (#6273) 2019-04-12 08:53:34 +03:00
editor Improve issue autolinks (#6273) 2019-04-12 08:53:34 +03:00
issue Improve issue autolinks (#6273) 2019-04-12 08:53:34 +03:00
pulls Prevent server 500 on compare branches with no common history (#6555) 2019-04-09 21:45:58 +01:00
release Properly escape release attachment URL (#6512) 2019-04-05 11:28:10 -04:00
settings Allow admin users to set a repositoires visibility to public, even if FORCE_PRIVATE is to true (#6541) (#6572) 2019-04-11 16:32:42 +08:00
wiki Improve issue autolinks (#6273) 2019-04-12 08:53:34 +03:00
activity.tmpl Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
branch_dropdown.tmpl Escape branch name in dropdown menu (#3691) 2018-03-19 22:29:16 +08:00
commit_status.tmpl Add noreferrer to rel='noopener` for <a> tags (#4328) 2018-07-03 19:52:36 -04:00
commits.tmpl Responsive view (#2750) 2017-12-30 18:47:52 -06:00
commits_table.tmpl Support search operators for commits search (#6479) 2019-04-12 10:28:44 +08:00
create.tmpl Minor UI tweaks (#5980) 2019-02-19 18:09:47 -05:00
empty.tmpl Feature: Archive repos (#5009) 2019-01-23 13:58:38 -05:00
forks.tmpl
graph.tmpl Fix issue link rendering in commit messages (#2897) 2017-11-13 09:35:55 +08:00
header.tmpl Fix fork button (#6223) 2019-03-05 19:48:30 -05:00
home.tmpl Minor UI tweaks (#5980) 2019-02-19 18:09:47 -05:00
migrate.tmpl Fix typos in i18n variable names. (#4080) 2018-07-04 19:43:21 +08:00
search.tmpl Don't warn users about *every* dirty form (#3707) 2018-03-23 22:10:42 +08:00
sub_menu.tmpl Add ui class to sub_menu to fix style in arc-green (#6477) 2019-04-02 08:41:19 +08:00
user_cards.tmpl Add noreferrer to rel='noopener` for <a> tags (#4328) 2018-07-03 19:52:36 -04:00
view_file.tmpl Serve audio files using HTML5 audio tag (#5221) 2018-10-30 10:17:26 +08:00
view_list.tmpl Add title attributes to all items in the repo list viewer (#6258) 2019-03-18 22:28:39 -04:00
watchers.tmpl