mirror of
1
Fork 0
forgejo/services/issue
Vedran e204398754
Change/remove a branch of an open issue (#9080)
* Add field with isIssueWriter to front end

* Make branch field editable

* Switch frontend to form and POST from javascript

* Add /issue/id/ref endpoint to routes

* Use UpdateIssueTitle model to change ref in backend

* Removed crossreference check and adding comments on branch change

* Use ref returned from POST to update the field

* Prevent calling loadRepo from models/

* Branch/tag refreshed without page reload

* Remove filter for empty branch name

* Add clear option to tag list as well

* Delete button translation and coloring

* Fix for not showing selected branch name in new issue

* Check that branch is not being changed on a PR

* Change logic

* Notification when changing issue ref

* Fix for renamed permission parameter

* Fix for failing build

* Apply suggestions from code review

Co-authored-by: zeripath <art27@cantab.net>

Co-authored-by: Gitea <gitea@fake.local>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2020-09-08 12:29:51 -04:00
..
assignee.go Fix spelling mistake with Rewiew (#11262) 2020-04-30 21:24:08 +01:00
assignee_test.go Move more issue assignee code from models to issue service (#8690) 2019-10-28 10:11:50 +08:00
content.go Move issue change content from models to service (#8711) 2019-10-30 10:36:25 +02:00
issue.go Change/remove a branch of an open issue (#9080) 2020-09-08 12:29:51 -04:00
issue_test.go Fix ref links in issue overviews for tags (#8742) 2020-05-14 18:55:43 -04:00
label.go Add Organization Wide Labels (#10814) 2020-04-01 01:14:46 -03:00
label_test.go Move issue label operations to issue service package (#8553) 2019-10-19 12:48:29 +03:00
main_test.go Move issue label operations to issue service package (#8553) 2019-10-19 12:48:29 +03:00
milestone.go Move issue milestone assign to issue service and move webhook to notification (#8780) 2019-11-02 11:33:20 +08:00
status.go Refactor comment (#9330) 2019-12-15 16:57:34 -05:00