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
..
2019-04-02 15:25:05 -04:00
2019-04-02 08:48:31 +01:00
2019-04-02 08:48:31 +01:00
2019-04-02 15:25:05 -04:00
2019-04-02 08:48:31 +01:00
2017-05-26 09:38:18 +08:00
2017-05-04 13:54:56 +08:00
2019-03-08 11:42:50 -05:00
2019-04-02 08:48:31 +01:00
2018-10-27 22:45:24 +08:00
2019-02-19 09:39:39 -05:00
2018-05-09 19:29:04 +03:00
2019-04-02 08:48:31 +01:00
2019-04-02 08:48:31 +01:00
2018-10-25 18:55:16 +08:00
2019-01-13 14:06:22 -05:00
2019-04-02 08:48:31 +01:00
2019-04-02 08:48:31 +01:00
2019-04-02 08:48:31 +01:00
2019-04-02 08:48:31 +01:00
2019-04-12 08:53:34 +03:00
2019-04-12 08:53:34 +03:00
2019-04-02 08:48:31 +01:00
2019-04-02 08:48:31 +01:00
2019-04-02 08:48:31 +01:00
2019-04-02 08:48:31 +01:00
2018-10-20 18:19:21 -04:00
2019-03-03 17:57:24 -05:00
2019-04-02 08:48:31 +01:00
2019-04-02 08:48:31 +01:00