1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
gitea/models
quantonganh ff85a6331e only return head: null if source branch was deleted (#6705)
* only return head: null if source branch was deleted

* add URL into GetPullRequest

* TestPullRequest_APIFormat

* log error if it is not Err(Branch)NotExist
2019-07-08 10:32:46 +03:00
..
fixtures
migrations Display original author and URL information when showing migrated issues/comments (#7352) 2019-07-08 10:14:12 +08:00
access_test.go Add golangci (#6418) 2019-06-12 15:41:28 -04:00
access.go Trace Logging on Permission Denied & ColorFormat (#6618) 2019-04-22 23:40:51 +03:00
action_list.go refactor: reduce sql query in retrieveFeeds (#3547) 2018-02-21 18:55:34 +08:00
action_test.go
action.go Fix mirror sync not automatically sending webhook requests (#7366) 2019-07-06 16:01:21 -04:00
admin_test.go
admin.go
attachment_test.go
attachment.go
branches_test.go Add deleted_branch table fixture (#2832) 2017-11-04 15:31:59 +02:00
branches.go #6946 Run hooks on merge/edit and cope with protected branches (#6961) 2019-07-01 09:18:13 +08:00
commit_status_test.go Add commit statuses reports on pull request view (#6845) 2019-06-30 08:57:59 +01:00
commit_status.go Add commit statuses reports on pull request view (#6845) 2019-06-30 08:57:59 +01:00
consistency.go Fix error log when loading issues caused by a xorm bug (#7271) 2019-06-23 18:22:43 +03:00
convert.go Add command to convert mysql database from utf8 to utf8mb4 (#7144) 2019-06-08 21:53:45 +08:00
error_oauth2.go
error.go Add error for fork already existing (#7185) 2019-06-12 16:20:43 -04:00
external_login_user.go Add primary key and index to external login user table (#1656) 2017-05-02 16:41:44 +08:00
git_diff_test.go
git_diff.go fix extra newlines when copying from diff in Firefox (#7288) 2019-06-26 22:35:07 +01:00
gpg_key_test.go Fix wrong GPG expire date (#6643) 2019-04-15 20:32:15 -04:00
gpg_key.go
graph_test.go
graph.go
helper_directory.go Remove local clones & make hooks run on merge/edit/upload (#6672) 2019-05-11 11:29:17 -04:00
helper_environment.go
helper.go
issue_assignees_test.go refactor: append, build variable and type switch (#4940) 2019-05-28 23:45:54 +08:00
issue_assignees.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
issue_comment_list.go Add golangci (#6418) 2019-06-12 15:41:28 -04:00
issue_comment_test.go Pull request review/approval and comment on code (#3748) 2018-08-06 06:43:21 +02:00
issue_comment.go Display original author and URL information when showing migrated issues/comments (#7352) 2019-07-08 10:14:12 +08:00
issue_dependency_test.go Fix an error while adding a dependency via UI. (#5862) 2019-01-27 13:31:40 +02:00
issue_dependency.go fix sqlite lock (#5184) 2018-10-27 22:45:24 +08:00
issue_label_test.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
issue_label.go Add missing description of label on API (#7159) 2019-06-16 20:39:52 +08:00
issue_list_test.go Shows total tracked time in issue and milestone list (#3341) 2018-04-29 13:58:47 +08:00
issue_list.go Fix error log when loading issues caused by a xorm bug (#7271) 2019-06-23 18:22:43 +03:00
issue_lock.go
issue_mail.go
issue_milestone_test.go Add state param to milestone listing API (#7131) 2019-06-06 08:37:45 +08:00
issue_milestone.go Add state param to milestone listing API (#7131) 2019-06-06 08:37:45 +08:00
issue_reaction_test.go
issue_reaction.go Fix error log when loading issues caused by a xorm bug (#7271) 2019-06-23 18:22:43 +03:00
issue_stopwatch_test.go Refactor struct's time to remove unnecessary memory usage (#3142) 2017-12-11 06:37:04 +02:00
issue_stopwatch.go
issue_test.go
issue_tracked_time_test.go Feature: Timetracking (#2211) 2017-09-12 09:48:13 +03:00
issue_tracked_time.go
issue_user_test.go Multiple assignees (#3705) 2018-05-09 19:29:04 +03:00
issue_user.go
issue_watch_test.go Hide unactive on explore users and some refactors (#2741) 2017-10-24 20:36:19 +03:00
issue_watch.go
issue.go Display original author and URL information when showing migrated issues/comments (#7352) 2019-07-08 10:14:12 +08:00
lfs_lock.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
lfs.go
log.go Fix error log when loading issues caused by a xorm bug (#7271) 2019-06-23 18:22:43 +03:00
login_source.go
mail.go Add golangci (#6418) 2019-06-12 15:41:28 -04:00
main_test.go Unit tests for wiki routers (#3022) 2017-11-30 17:52:15 +02:00
migrate.go Use batch insert on migrating repository to make the process faster (#7050) 2019-06-29 21:38:22 +08:00
models_sqlite.go
models_test.go fix dump table name error and add some test for dump database (#6394) 2019-03-20 21:38:54 -04:00
models.go Detect migrating batch size (#7353) 2019-07-06 15:24:50 -04:00
notification_test.go
notification.go
oauth2_application_test.go OAuth2 Grant UI (#6625) 2019-04-17 16:18:16 +08:00
oauth2_application.go
oauth2.go
org_team_test.go
org_team.go Add golangci (#6418) 2019-06-12 15:41:28 -04:00
org_test.go
org.go Fix error log when loading issues caused by a xorm bug (#7271) 2019-06-23 18:22:43 +03:00
pull_test.go
pull.go only return head: null if source branch was deleted (#6705) 2019-07-08 10:32:46 +03:00
release_test.go Fix bug conflict between SyncReleasesWithTags and InsertReleases (#7337) 2019-07-01 22:17:16 +01:00
release.go Monitor all git commands; move blame to git package and replace git as a variable (#6864) 2019-06-26 14:15:26 -04:00
repo_activity.go Add golangci (#6418) 2019-06-12 15:41:28 -04:00
repo_branch.go Add golangci (#6418) 2019-06-12 15:41:28 -04:00
repo_collaboration_test.go
repo_collaboration.go
repo_indexer.go Change UpdateRepoIndex api to include watchers (#7012) 2019-05-23 17:00:07 +01:00
repo_issue.go
repo_list_test.go SearchRepositoryByName improvements and unification (#6897) 2019-05-15 11:24:39 -04:00
repo_list.go
repo_mirror.go Monitor all git commands; move blame to git package and replace git as a variable (#6864) 2019-06-26 14:15:26 -04:00
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_permission.go Allow collaborators to view repo owned private org (#6965) 2019-05-16 11:48:40 -04:00
repo_redirect_test.go Unit tests for repo redirects (#961) 2017-02-17 08:55:33 +08:00
repo_redirect.go
repo_tag.go
repo_test.go
repo_unit.go
repo_watch_test.go
repo_watch.go
repo.go
review_test.go
review.go Fix error log when loading issues caused by a xorm bug (#7271) 2019-06-23 18:22:43 +03:00
ssh_key_test.go
ssh_key.go Fix error log when loading issues caused by a xorm bug (#7271) 2019-06-23 18:22:43 +03:00
star_test.go Fix tests code to prevent some runtime errors (#2381) 2017-08-28 12:17:45 +03:00
star.go Ensure that sessions are passed into queries that could use the database to prevent deadlocks (#5718) 2019-01-13 21:29:58 -05:00
test_fixtures.go Increase the retry limit to 20 times and the interval to 200ms (#5134) 2018-10-21 16:09:17 +02:00
token_test.go Add golangci (#6418) 2019-06-12 15:41:28 -04:00
token.go
topic_test.go feat(repo): support search repository by topic name (#4505) 2018-09-13 10:33:48 +08:00
topic.go Fix error log when loading issues caused by a xorm bug (#7271) 2019-06-23 18:22:43 +03:00
twofactor.go
u2f_test.go
u2f.go
unit_tests.go Fix error log when loading issues caused by a xorm bug (#7271) 2019-06-23 18:22:43 +03:00
unit.go Fixes #5960 - Adds API Endpoint for Repo Edit (#7006) 2019-05-30 11:09:05 -04:00
update_test.go
update.go Monitor all git commands; move blame to git package and replace git as a variable (#6864) 2019-06-26 14:15:26 -04:00
upload.go
user_follow_test.go
user_follow.go Refactor session close as xorm already does everything needed internally (#2020) 2017-06-21 08:57:05 +08:00
user_heatmap_test.go Fix JSON result of empty array (#5154) 2018-10-24 21:17:21 +08:00
user_heatmap.go
user_mail_test.go Fix tests code to prevent some runtime errors (#2381) 2017-08-28 12:17:45 +03:00
user_mail.go Add golangci (#6418) 2019-06-12 15:41:28 -04:00
user_openid_test.go Add golangci (#6418) 2019-06-12 15:41:28 -04:00
user_openid.go
user_test.go Add additional password hash algorithms (closes #5859) (#6023) 2019-07-07 02:01:01 -04:00
user.go Add additional password hash algorithms (closes #5859) (#6023) 2019-07-07 02:01:01 -04:00
webhook_dingtalk.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
webhook_discord.go
webhook_msteams.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
webhook_slack.go
webhook_telegram.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
webhook_test.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
webhook.go Add golangci (#6418) 2019-06-12 15:41:28 -04:00
wiki_test.go
wiki.go Add golangci (#6418) 2019-06-12 15:41:28 -04:00