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.
forgejo/routers
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
..
admin Users should not be able to prohibit their own login (#10970) 4 years ago
api/v1 Refactor Milestone related (#11225) 4 years ago
dev Display ui time with customize time location (#7792) 5 years ago
events Add EventSource support (#11235) 4 years ago
org Add Organization Wide Labels (#10814) 4 years ago
private Protect default branch against deletion (#11115) 4 years ago
repo Fix ref links in issue overviews for tags (#8742) 4 years ago
routes Add EventSource support (#11235) 4 years ago
user Fix ref links in issue overviews for tags (#8742) 4 years ago
utils Handle push rejection message in Merge & Web Editor (#10373) 4 years ago
home.go Add detected file language to code search (#10256) 4 years ago
init.go Add EventSource support (#11235) 4 years ago
install.go Add support for database schema in PostgreSQL (#8819) 4 years ago
metrics.go Use gitea forked macaron (#7933) 5 years ago
swagger_json.go Add gitea-vet (#10948) 4 years ago