forgejo-federation/models
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>
2020-01-25 10:48:22 +08:00
..
fixtures
migrations Migrate reviews when migrating repository from github (#9463) 2020-01-23 19:28:15 +02:00
access.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
access_test.go
action.go Restricted users (#6274) 2020-01-13 18:33:46 +01:00
action_list.go
action_test.go Restricted users (#6274) 2020-01-13 18:33:46 +01:00
admin.go
admin_test.go Fix tests code to prevent some runtime errors (#2381) 2017-08-28 12:17:45 +03:00
attachment.go Only serve attachments when linked to issue/release and if accessible by user (#9340) 2020-01-05 01:20:08 +02:00
attachment_test.go
branches.go
branches_test.go
commit_status.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
commit_status_test.go Fix wrong hint when status checking is running on pull request view (#9886) 2020-01-22 11:46:04 +08:00
consistency.go
context.go Refactor repository check and sync functions (#9854) 2020-01-20 20:01:19 +00:00
convert.go
error.go
error_oauth2.go
external_login_user.go Migrate reviews when migrating repository from github (#9463) 2020-01-23 19:28:15 +02:00
gpg_key.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
gpg_key_test.go
helper.go
helper_directory.go
helper_environment.go
issue.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
issue_assignees.go
issue_assignees_test.go Fix API Bug (fail on empty assignees) (#8873) 2019-11-10 16:07:21 +08:00
issue_comment.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
issue_comment_list.go Fixed repo link in generated comment for cross repository dependency (#9863) 2020-01-21 10:18:52 +00:00
issue_comment_test.go Pull request review/approval and comment on code (#3748) 2018-08-06 06:43:21 +02:00
issue_dependency.go
issue_dependency_test.go
issue_label.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
issue_label_test.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
issue_list.go [API] Extend times API (#9200) 2019-12-27 20:30:58 +00:00
issue_list_test.go [API] Extend times API (#9200) 2019-12-27 20:30:58 +00:00
issue_lock.go
issue_milestone.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
issue_milestone_test.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
issue_reaction.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
issue_reaction_test.go
issue_stopwatch.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
issue_stopwatch_test.go
issue_test.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
issue_tracked_time.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
issue_tracked_time_test.go
issue_user.go
issue_user_test.go
issue_watch.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
issue_watch_test.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
issue_xref.go
issue_xref_test.go
lfs.go
lfs_lock.go
list_options.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
log.go
login_source.go Do not try to recreate ldap user if they are already created (#9900) 2020-01-21 18:49:30 +00:00
main_test.go
migrate.go Migrate reviews when migrating repository from github (#9463) 2020-01-23 19:28:15 +02:00
models.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
models_test.go
notification.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
notification_test.go
oauth2.go migrate gplus to google oauth2 provider (#7885) 2019-09-14 12:02:39 +02:00
oauth2_application.go
oauth2_application_test.go
org.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
org_team.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
org_team_test.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
org_test.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
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) 2020-01-25 10:48:22 +08:00
pull_list.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
pull_sign.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
pull_test.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
release.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
repo.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
repo_activity.go Add top author stats to activity page (#9615) 2020-01-20 12:07:30 +02:00
repo_branch.go
repo_collaboration.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
repo_collaboration_test.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
repo_generate.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
repo_generate_test.go
repo_indexer.go Add owner_name column for table repository for maintaince reason (#9717) 2020-01-12 17:36:21 +08:00
repo_issue.go
repo_list.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
repo_list_test.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
repo_mirror.go
repo_permission.go
repo_permission_test.go fix bug when update owner team then visit team's repo return 404 (#6119) 2019-02-22 11:14:45 -05:00
repo_redirect.go Move repoWorkPool outside rename/transfer repository (#9086) 2019-12-06 12:00:50 +08:00
repo_redirect_test.go
repo_sign.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
repo_test.go
repo_unit.go
repo_watch.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
repo_watch_test.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
review.go Migrate reviews when migrating repository from github (#9463) 2020-01-23 19:28:15 +02:00
review_test.go Branch protection: Possibility to not use whitelist but allow anyone with write access (#9055) 2019-12-03 20:08:56 -05:00
ssh_key.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
ssh_key_test.go
star.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
star_test.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
task.go
test_fixtures.go
token.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
token_test.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
topic.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
topic_test.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
twofactor.go
u2f.go
u2f_test.go Override xorm type mapping for U2F counter (#6232) 2019-03-04 21:34:52 -05:00
unit.go
unit_tests.go
update.go
upload.go
user.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
user_follow.go
user_follow_test.go
user_heatmap.go
user_heatmap_test.go
user_mail.go
user_mail_test.go
user_openid.go
user_openid_test.go
user_test.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
userlist.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
userlist_test.go
webhook.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
webhook_test.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
wiki.go
wiki_test.go