0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-27 09:54:15 -05:00
forgejo/routers/api/v1/misc
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
..
markdown.go Improve issue autolinks (#6273) 2019-04-12 08:53:34 +03:00
markdown_test.go Markdown: enable some more extensions (#6362) 2019-03-21 15:53:06 +02:00
swagger.go Swagger.v1.json template (#3572) 2018-07-28 03:19:01 +03:00
version.go Update swagger documentation (#2899) 2017-11-13 09:02:25 +02:00