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
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
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
branch_dropdown.tmpl
commit_status.tmpl
commits.tmpl
commits_table.tmpl Support search operators for commits search (#6479) 2019-04-12 10:28:44 +08:00
create.tmpl
empty.tmpl
forks.tmpl
graph.tmpl
header.tmpl
home.tmpl
migrate.tmpl
search.tmpl
sub_menu.tmpl
user_cards.tmpl
view_file.tmpl
view_list.tmpl
watchers.tmpl