1
1
mirror of https://github.com/go-gitea/gitea synced 2024-06-01 17:05:48 +00:00
gitea/routers/user
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>
2020-05-14 18:55:43 -04:00
..
setting Refactor UpdateOAuth2Application (#11034) 2020-04-30 18:50:47 +01:00
auth_openid.go Various fixes in login sources (#10428) 2020-02-23 13:52:05 -06:00
auth.go ui: Replenish the missing ‘PageIsSignUp’ in sign up view (#11390) 2020-05-12 19:01:15 +01:00
avatar.go make avatar lookup occur at image request (#10540) 2020-03-27 14:34:39 +02:00
home_test.go Fix milestones too many SQL variables bug (#10880) 2020-03-31 10:47:00 +03:00
home.go Fix ref links in issue overviews for tags (#8742) 2020-05-14 18:55:43 -04:00
main_test.go Unit tests for wiki routers (#3022) 2017-11-30 17:52:15 +02:00
notification.go Use AJAX for notifications table (#10961) 2020-04-24 00:57:38 -03:00
oauth.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
profile.go Language statistics bar for repositories (#8037) 2020-02-11 11:34:17 +02:00