0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-01 23:02:43 +01:00
gitea/routers/api/v1
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 Updates to API 404 responses (#6077) 2019-03-18 22:29:43 -04:00
convert Better logging (#6038) (#6095) 2019-04-02 08:48:31 +01:00
misc Improve issue autolinks (#6273) 2019-04-12 08:53:34 +03:00
org make sure units of a team are returned (#6379) 2019-03-19 17:50:06 -04:00
repo fix upload attachments (#6481) 2019-04-02 15:25:05 -04:00
swagger Fix Hook & HookList in Swagger (#6432) 2019-03-26 21:41:17 +02:00
user fix bug user search API pagesize didn't obey ExplorePagingNum (#6579) 2019-04-11 19:29:41 -04:00
utils Updates to API 404 responses (#6077) 2019-03-18 22:29:43 -04:00
api.go Improve issue autolinks (#6273) 2019-04-12 08:53:34 +03:00