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.
Lunny Xiao f2d12f7b03
Fix pull view when head repository or head branch missed and close related pull requests when delete head repository or head branch (#9927)
* fix pull view when head repository or head branch missed and close related pull requests when delete branch

* fix pull view broken when head repository deleted

* close pull requests when head repositories deleted

* Add tests for broken pull request head repository or branch

* fix typo

* ignore special error when close pull request

Co-authored-by: Lauris BH <lauris@nix.lv>
4 years ago
..
activity.go Add top author stats to activity page (#9615) 5 years ago
attachment.go Only serve attachments when linked to issue/release and if accessible by user (#9340) 5 years ago
blame.go Respect LFS File Lock on UI (#8719) 5 years ago
branch.go Move newbranch to standalone package (#9627) 5 years ago
commit.go API add/generalize pagination (#9452) 4 years ago
compare.go Fix issues/pulls dependencies problems (#9842) 5 years ago
download.go Fix download file wrong content-type (#9825) 5 years ago
editor.go Add require signed commit for protected branch (#9708) 5 years ago
editor_test.go Add Close() method to gogitRepository (#8901) 5 years ago
http.go add remote ip to the invalid credentials error message (#9918) 5 years ago
issue.go API add/generalize pagination (#9452) 4 years ago
issue_dependency.go Fix wrong permissions check when issues/prs shared operations (#9885) 5 years ago
issue_label.go API add/generalize pagination (#9452) 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 Make repository management section handle lfs locks (#8726) 5 years ago
main_test.go Unit tests for wiki routers (#3022) 7 years ago
middlewares.go fix wrong system notice when repository is empty (#9010) 5 years ago
milestone.go Remove unnecessary permissions load (#9796) 5 years ago
pull.go Fix pull view when head repository or head branch missed and close related pull requests when delete head repository or head branch (#9927) 4 years ago
pull_review.go Fix wrong identify poster on a migrated pull request when submi… (#9827) 5 years ago
release.go API add/generalize pagination (#9452) 4 years ago
release_test.go Add Close() method to gogitRepository (#8901) 5 years ago
repo.go Make archive prefixing configurable with a global setting (#9943) 4 years ago
search.go Refactor code indexer (#9313) 5 years ago
setting.go API add/generalize pagination (#9452) 4 years ago
setting_protected_branch.go Add require signed commit for protected branch (#9708) 5 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 API add/generalize pagination (#9452) 4 years ago
webhook.go API add/generalize pagination (#9452) 4 years ago
wiki.go Move wiki related funtions from models to services/wiki (#9355) 5 years ago
wiki_test.go Move wiki related funtions from models to services/wiki (#9355) 5 years ago