You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Sijmen Schoon 66a9ef9036
Fix ref links in issue overviews for tags (#8742)
* Properly generate ref URLs

Tags used to not generate correct URLs (src/branch/tags/1.0.0 instead of
src/tags/1.0.0).

Also cleans up some code around it with the created helper functions.

* Fix formatting and create migration

* Add copyright head to utils_test

* Use a raw query for the ref migration

* Remove semicolon

* Quote column and table names in migration SQL

* Change || to CONCAT, since MSSQL does not support ||

* Make migration engine aware

* Add missing import

* Move ref EndName and URL to the issue service

* Fix tests

* Add test for commit refs

* Update issue.go

* Use the right command for building JavaScript bundles

* Prepare for merge

* Check for refs/* before prepending in migration

* Update services/issue/issue_test.go

* Update modules/git/utils_test.go

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: techknowlogick <matti@mdranta.net>
4 years ago
..
branch Allow unauthenticated users to compare (#11240) 4 years ago
diff Prettify timeline 3 (#11139) 4 years ago
editor Prettify timeline 3 (#11139) 4 years ago
issue Fix ref links in issue overviews for tags (#8742) 4 years ago
pulls Prettify timeline 3 (#11139) 4 years ago
release Prettify timeline 3 (#11139) 4 years ago
settings Fix svg octicon-key placement (#11410) 4 years ago
wiki Remove last traces of has-emoji class (#11263) 4 years ago
activity.tmpl Remove last traces of has-emoji class (#11263) 4 years ago
blame.tmpl Remove last traces of has-emoji class (#11263) 4 years ago
branch_dropdown.tmpl Add Octicon SVG spritemap (#10107) 4 years ago
commit_page.tmpl Unfortunately go template if does not shortcut (#11392) 4 years ago
commit_status.tmpl UI: Fix overflow issues in repo (#7190) 5 years ago
commits.tmpl Add Octicon SVG spritemap (#10107) 4 years ago
commits_list.tmpl Remove last traces of has-emoji class (#11263) 4 years ago
commits_table.tmpl Add Octicon SVG spritemap (#10107) 4 years ago
create.tmpl Fix creation of Organization repos by Users with max created personal repos (#11183) 4 years ago
empty.tmpl Option to set default branch at repository creation (#10803) 4 years ago
forks.tmpl #3348 always use relative avatar link in the template 8 years ago
graph.tmpl Remove last traces of has-emoji class (#11263) 4 years ago
header.tmpl Fix forked repo has no icon and language stat. (#10791) 4 years ago
home.tmpl Allow unauthenticated users to compare (#11240) 4 years ago
migrate.tmpl Improve migrations to support migrating milestones/labels/issues/comments/pullrequests (#6290) 5 years ago
migrating.tmpl [assets] configurable URL for static resources (#7911) 5 years ago
search.tmpl ui: fix status label on branches list vertical alignment (#11109) 4 years ago
sub_menu.tmpl Tweak language stats bar (#10487) 4 years ago
user_cards.tmpl Add Octicon SVG spritemap (#10107) 4 years ago
view_file.tmpl Remove last traces of has-emoji class (#11263) 4 years ago
view_list.tmpl Remove last traces of has-emoji class (#11263) 4 years ago
watchers.tmpl #1692 APIs: Users Followers 9 years ago