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
..
setting Refactor UpdateOAuth2Application (#11034) 4 years ago
auth.go ui: Replenish the missing ‘PageIsSignUp’ in sign up view (#11390) 4 years ago
auth_openid.go Various fixes in login sources (#10428) 4 years ago
avatar.go make avatar lookup occur at image request (#10540) 4 years ago
home.go Fix ref links in issue overviews for tags (#8742) 4 years ago
home_test.go Fix milestones too many SQL variables bug (#10880) 4 years ago
main_test.go Unit tests for wiki routers (#3022) 7 years ago
notification.go Use AJAX for notifications table (#10961) 4 years ago
oauth.go Use gitea forked macaron (#7933) 5 years ago
profile.go Language statistics bar for repositories (#8037) 4 years ago