githaven/routers
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
..
admin Better logging (#6038) (#6095) 2019-04-02 08:48:31 +01:00
api/v1 Improve issue autolinks (#6273) 2019-04-12 08:53:34 +03:00
dev Make time diff translatable (#2057) 2017-06-28 13:43:28 +08:00
org Better logging (#6038) (#6095) 2019-04-02 08:48:31 +01:00
private move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 2019-03-27 17:33:00 +08:00
repo Support search operators for commits search (#6479) 2019-04-12 10:28:44 +08:00
routes fix upload attachments (#6481) 2019-04-02 15:25:05 -04:00
user Show last commit status in pull request lists (#6465) 2019-04-02 15:54:29 -04:00
utils Slack webhook channel name cannot be empty or just contain an hashtag (#4786) 2018-09-10 10:31:08 -04:00
home.go Clean up various use of escape/unescape functions for URL generation (#6334) 2019-03-18 10:00:23 -04:00
init.go Better logging (#6038) (#6095) 2019-04-02 08:48:31 +01:00
install.go Better logging (#6038) (#6095) 2019-04-02 08:48:31 +01:00
metrics.go Fix metrics auth token detection (#6006) 2019-02-09 00:58:31 -05:00
swagger_json.go Swagger.v1.json template (#3572) 2018-07-28 03:19:01 +03:00