1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-18 03:53:55 +01:00
gitea/models
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
..
fixtures Support search operators for commits search (#6479) 2019-04-12 10:28:44 +08:00
migrations
access_test.go
access.go
action_list.go
action_test.go
action.go
admin_test.go
admin.go
attachment_test.go
attachment.go
branches_test.go
branches.go
consistency.go
error_oauth2.go
error.go
external_login_user.go
git_diff_test.go
git_diff.go
gpg_key_test.go
gpg_key.go
graph_test.go
graph.go
helper.go
issue_assignees_test.go
issue_assignees.go
issue_comment_list.go
issue_comment_test.go
issue_comment.go
issue_dependency_test.go
issue_dependency.go
issue_label_test.go
issue_label.go
issue_list_test.go
issue_list.go
issue_lock.go
issue_mail.go fix mail notification when close/reopen issue (#6581) 2019-04-11 22:59:01 +01:00
issue_milestone_test.go
issue_milestone.go
issue_reaction_test.go
issue_reaction.go
issue_stopwatch_test.go
issue_stopwatch.go
issue_test.go
issue_tracked_time_test.go
issue_tracked_time.go
issue_user_test.go
issue_user.go
issue_watch_test.go
issue_watch.go
issue.go
lfs_lock.go
lfs.go
login_source.go
mail.go Make distinction between DisplayName and Username in email templates (#6495) 2019-04-04 10:52:48 +03:00
main_test.go
models_sqlite.go
models_test.go
models.go
notification_test.go
notification.go
oauth2_application_test.go
oauth2_application.go
oauth2.go
org_team_test.go
org_team.go Fixes #6446 - Sort team members and team's repositories (#6525) 2019-04-07 14:44:34 +01:00
org_test.go
org.go
pull_test.go
pull.go
release_test.go
release.go
repo_activity.go
repo_branch.go Delete local branch if it exists (#6497) 2019-04-08 08:08:02 +03:00
repo_collaboration_test.go
repo_collaboration.go
repo_indexer.go
repo_issue.go
repo_list_test.go Support search operators for commits search (#6479) 2019-04-12 10:28:44 +08:00
repo_list.go
repo_mirror.go
repo_permission_test.go
repo_permission.go
repo_redirect_test.go
repo_redirect.go
repo_tag.go
repo_test.go Improve issue autolinks (#6273) 2019-04-12 08:53:34 +03:00
repo_unit.go
repo_watch_test.go
repo_watch.go
repo.go Improve issue autolinks (#6273) 2019-04-12 08:53:34 +03:00
review_test.go
review.go
ssh_key_test.go
ssh_key.go
star_test.go
star.go
status_test.go
status.go
test_fixtures.go
token_test.go
token.go
topic_test.go
topic.go
twofactor.go
u2f_test.go
u2f.go
unit_tests.go
unit.go
update_test.go
update.go
upload.go
user_follow_test.go
user_follow.go
user_heatmap_test.go
user_heatmap.go
user_mail_test.go
user_mail.go
user_openid_test.go
user_openid.go
user_test.go
user.go
webhook_dingtalk.go
webhook_discord.go
webhook_slack.go
webhook_test.go
webhook.go
wiki_test.go
wiki.go