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
..
activity.go Add top author stats to activity page (#9615) 5 years ago
attachment.go Move dropzone.js to npm/webpack (#10645) 4 years ago
blame.go Load Repo Topics on blame view (#11307) 4 years ago
branch.go Protect default branch against deletion (#11115) 4 years ago
commit.go Fix potential bugs (#10513) 4 years ago
compare.go Allow compare page to look up base, head, own-fork, forkbase-of-head (#11327) 4 years ago
download.go Fix download file wrong content-type (#9825) 5 years ago
editor.go Switch code editor to Monaco (#11366) 4 years ago
editor_test.go Add Close() method to gogitRepository (#8901) 5 years ago
http.go Prevent clones and pushes to disabled wiki (#11131) 4 years ago
issue.go Fix ref links in issue overviews for tags (#8742) 4 years ago
issue_dependency.go Fix wrong permissions check when issues/prs shared operations (#9885) 5 years ago
issue_label.go Add Organization Wide Labels (#10814) 4 years ago
issue_label_test.go fix go vet error (#3740) 6 years ago
issue_lock.go Implement "conversation lock" for issue comments (#5073) 5 years ago
issue_stopwatch.go Automatically clear stopwatch on merging a PR (#4327) 5 years ago
issue_timetrack.go [API] Extend times API (#9200) 5 years ago
issue_watch.go Fix PR/issue redirects when having external tracker (#9339) 5 years ago
lfs.go Migrate to go-git/go-git v5.0.0 (#10735) 4 years ago
main_test.go Unit tests for wiki routers (#3022) 7 years ago
middlewares.go Add gitea-vet (#10948) 4 years ago
milestone.go Refactor Milestone related (#11225) 4 years ago
pull.go Add a way to mark Conversation (code comment) resolved (#11037) 4 years ago
pull_review.go Add a way to mark Conversation (code comment) resolved (#11037) 4 years ago
release.go Add single release page and latest redirect (#11102) 4 years ago
release_test.go Add Close() method to gogitRepository (#8901) 5 years ago
repo.go Fix orgs not being displayed on create repo form (#11279) 4 years ago
search.go Add detected file language to code search (#10256) 4 years ago
setting.go API endpoint for repo transfer (#9947) 4 years ago
setting_protected_branch.go Prevent merge of outdated PRs on protected branches (#11012) 4 years ago
settings_test.go Stop various tests from adding to the source tree (#9515) 5 years ago
topic.go Add API endpoint for accessing repo topics (#7963) 5 years ago
view.go Load Repo Topics on blame view (#11307) 4 years ago
webhook.go Add Matrix webhook (#10831) 4 years ago
wiki.go Show Signer in commit lists and add basic trust (#10425) 4 years ago
wiki_test.go Fix wiki raw view on sub path (#10002) 4 years ago