gitea/models
Antoine GIRARD 38e799779f api: fix multiple bugs with statuses endpoints (#7785) (#7807)
* fix commit statuses api url

* search refs before passing sha

* adjust tests

* directly search tags and branches names + remove un-needed check in NewCommitStatus

* fix comment

* de-duplicate code

* test: use relative setting.AppURL

* Update routers/api/v1/repo/status.go

Co-Authored-By: Lauris BH <lauris@nix.lv>

* remove return

* Update routers/api/v1/repo/status.go

Co-Authored-By: Lauris BH <lauris@nix.lv>
2019-08-09 16:18:46 +03:00
..
fixtures Add commit statuses reports on pull request view (#6845) 2019-06-30 08:57:59 +01:00
migrations Fix dropTableColumns sqlite implementation (#7710) (#7765) 2019-08-06 07:35:54 +03:00
access_test.go
access.go
action_list.go
action_test.go Fix regex for issues in commit messages (#7444) (#7466) 2019-07-14 21:05:59 +01:00
action.go Fix regex for issues in commit messages (#7444) (#7466) 2019-07-14 21:05:59 +01:00
admin_test.go
admin.go
attachment_test.go
attachment.go
branches_test.go
branches.go Fix panic on push at #7611 (#7615) (#7618) 2019-07-25 22:23:52 +01:00
commit_status_test.go api: fix multiple bugs with statuses endpoints (#7785) (#7807) 2019-08-09 16:18:46 +03:00
commit_status.go api: fix multiple bugs with statuses endpoints (#7785) (#7807) 2019-08-09 16:18:46 +03:00
consistency.go
convert.go
error_oauth2.go
error.go Add error for fork already existing (#7185) 2019-06-12 16:20:43 -04:00
external_login_user.go
git_diff_test.go
git_diff.go
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
helper_environment.go Fix bug create/edit wiki pages when code master branch protected (#7580) (#7623) 2019-07-26 04:22:20 +03:00
helper.go
issue_assignees_test.go
issue_assignees.go fix duplicated webhook when creating issue with assignees (#7681) (#7684) 2019-07-31 14:39:33 +03:00
issue_comment_list.go
issue_comment_test.go
issue_comment.go Fix repository's pull request count error (#7518) (#7524) 2019-07-19 07:40:16 +01:00
issue_dependency_test.go
issue_dependency.go
issue_label_test.go
issue_label.go
issue_list_test.go
issue_list.go
issue_lock.go
issue_mail.go
issue_milestone_test.go
issue_milestone.go
issue_reaction_test.go
issue_reaction.go
issue_stopwatch_test.go
issue_stopwatch.go
issue_test.go
issue_tracked_time_test.go
issue_tracked_time.go
issue_user_test.go
issue_user.go
issue_watch_test.go
issue_watch.go
issue.go Fix repository's pull request count error (#7518) (#7524) 2019-07-19 07:40:16 +01:00
lfs_lock.go
lfs.go
log.go
login_source.go
mail.go
main_test.go
migrate.go Fix milestone completness calculation when migrating (#7725) (#7732) 2019-08-04 09:29:17 +08:00
models_sqlite.go
models_test.go
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_application.go
oauth2.go
org_team_test.go Fix approvals counting (#7757) (#7777) 2019-08-07 15:24:01 +08:00
org_team.go Fix approvals counting (#7757) (#7777) 2019-08-07 15:24:01 +08:00
org_test.go
org.go
pull_test.go only return head: null if source branch was deleted (#6705) (#7376) 2019-07-09 10:35:13 +08:00
pull.go only return head: null if source branch was deleted (#6705) (#7376) 2019-07-09 10:35:13 +08:00
release_test.go Fix bug conflict between SyncReleasesWithTags and InsertReleases (#7337) 2019-07-01 22:17:16 +01:00
release.go
repo_activity.go
repo_branch.go
repo_collaboration_test.go
repo_collaboration.go Add golangci (#6418) 2019-06-12 15:41:28 -04:00
repo_indexer.go Fixes indexed repos keeping outdated indexes when files grow too large (#7731) 2019-08-03 21:42:53 +03:00
repo_issue.go
repo_list_test.go
repo_list.go Fix error log when loading issues caused by a xorm bug (#7271) 2019-06-23 18:22:43 +03:00
repo_mirror.go
repo_permission_test.go
repo_permission.go
repo_redirect_test.go
repo_redirect.go
repo_tag.go
repo_test.go
repo_unit.go Fix error log when loading issues caused by a xorm bug (#7271) 2019-06-23 18:22:43 +03:00
repo_watch_test.go
repo_watch.go
repo.go Backport: fix repo_index_status lingering when deleting a repository (#7738) 2019-08-04 10:00:03 +03:00
review_test.go
review.go
ssh_key_test.go
ssh_key.go fix rename failed when rewrite public keys (#7761) (#7769) 2019-08-06 15:41:26 +08:00
star_test.go
star.go
test_fixtures.go
token_test.go
token.go
topic_test.go
topic.go
twofactor.go
u2f_test.go
u2f.go
unit_tests.go
unit.go
update_test.go
update.go
upload.go
user_follow_test.go
user_follow.go
user_heatmap_test.go
user_heatmap.go
user_mail_test.go
user_mail.go
user_openid_test.go
user_openid.go
user_test.go
user.go add pagination for admin api get orgs and fix only list public orgs bug (#7742) (#7752) 2019-08-05 00:08:57 -04:00
webhook_dingtalk.go
webhook_discord.go
webhook_msteams.go
webhook_slack.go Fix Slack webhook fork message (#7774) (#7783) 2019-08-07 11:57:08 -04:00
webhook_telegram.go
webhook_test.go
webhook.go
wiki_test.go
wiki.go Fix bug create/edit wiki pages when code master branch protected (#7580) (#7623) 2019-07-26 04:22:20 +03:00