1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-03 02:31:31 +02:00
gitea/models
Viktor Szakats bcd96421dd webhook: set Content-Type for application/x-www-form-urlencoded (#8599)
This header is missing since switching http client from GiteaServer (`code.gitea.io/gitea/modules/httplib`) to Go-http-client/1.1 (`net.http`). The header [was added by default](https://github.com/go-gitea/gitea/blob/release/v1.8/modules/httplib/httplib.go#L301) by the former, but this is no longer true with `net.http`, so it needs to be done explicitly:

Ref: https://github.com/go-gitea/gitea/issues/7700
2019-10-20 07:41:24 -04:00
..
fixtures Fix bug on pull requests when transfer head repository (#8564) 2019-10-18 19:13:31 +08:00
migrations Fix bug on pull requests when transfer head repository (#8564) 2019-10-18 19:13:31 +08:00
access_test.go
access.go Recalculate repository access only for specific user (#8481) 2019-10-15 01:55:21 +01:00
action_list.go
action_test.go Rewrite reference processing code in preparation for opening/closing from comment references (#8261) 2019-10-13 23:29:10 +01:00
action.go Move sync mirror actions to mirror service package (#8518) 2019-10-16 10:56:59 +01:00
admin_test.go
admin.go
attachment_test.go
attachment.go Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
branches_test.go
branches.go Allow users with explicit read access to give approvals (#8382) 2019-10-08 15:18:17 -04:00
commit_status_test.go
commit_status.go Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
consistency.go
context.go
convert.go
error_oauth2.go
error.go
external_login_user.go Allow more than 255 characters for tokens in external_login_user table (#8554) 2019-10-18 09:58:36 +03:00
gpg_key_test.go
gpg_key.go Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
graph_test.go Add pagination to commit graph page (#8360) 2019-10-14 22:38:35 +01:00
graph.go Add pagination to commit graph page (#8360) 2019-10-14 22:38:35 +01:00
helper_directory.go
helper_environment.go
helper.go
issue_assignees_test.go
issue_assignees.go Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
issue_comment_list.go
issue_comment_test.go
issue_comment.go Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
issue_dependency_test.go
issue_dependency.go
issue_label_test.go
issue_label.go Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
issue_list_test.go
issue_list.go
issue_lock.go Move change issue title from models to issue service package (#8456) 2019-10-11 14:44:43 +08:00
issue_milestone_test.go
issue_milestone.go Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
issue_reaction_test.go
issue_reaction.go Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
issue_stopwatch_test.go
issue_stopwatch.go
issue_test.go Move issue label operations to issue service package (#8553) 2019-10-19 12:48:29 +03:00
issue_tracked_time_test.go
issue_tracked_time.go Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
issue_user_test.go
issue_user.go Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
issue_watch_test.go
issue_watch.go
issue_xref.go Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
issue.go Move issue label operations to issue service package (#8553) 2019-10-19 12:48:29 +03:00
lfs_lock.go Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
lfs.go
log.go
login_source.go Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
main_test.go
migrate.go Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
models_test.go
models.go Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
notification_test.go
notification.go
oauth2_application_test.go
oauth2_application.go Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
oauth2.go
org_team_test.go
org_team.go Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
org_test.go
org.go Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
pull_test.go Fix bug on pull requests when transfer head repository (#8564) 2019-10-18 19:13:31 +08:00
pull.go Fix bug on pull requests when transfer head repository (#8564) 2019-10-18 19:13:31 +08:00
release.go Allow externalID to be UUID (#8551) 2019-10-17 10:06:28 +08:00
repo_activity.go Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
repo_branch.go
repo_collaboration_test.go
repo_collaboration.go Recalculate repository access only for specific user (#8481) 2019-10-15 01:55:21 +01:00
repo_indexer.go Restore Graceful Restarting & Socket Activation (#7274) 2019-10-15 14:39:51 +01:00
repo_issue.go
repo_list_test.go
repo_list.go
repo_mirror.go Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
repo_permission_test.go
repo_permission.go
repo_redirect_test.go
repo_redirect.go
repo_sign.go Sign merges, CRUD, Wiki and Repository initialisation with gpg key (#7631) 2019-10-16 14:42:42 +01:00
repo_tag.go
repo_test.go
repo_unit.go Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
repo_watch_test.go
repo_watch.go
repo.go Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
review_test.go
review.go Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
ssh_key_test.go
ssh_key.go Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
star_test.go
star.go
task.go Move migrating repository from frontend to backend (#6200) 2019-10-13 21:23:14 +08:00
test_fixtures.go
token_test.go
token.go
topic_test.go
topic.go
twofactor.go
u2f_test.go
u2f.go
unit_tests.go Upgrade xorm to v0.8.0 (#8536) 2019-10-17 11:26:49 +02:00
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 Fix bug on pull requests when transfer head repository (#8564) 2019-10-18 19:13:31 +08:00
userlist_test.go
userlist.go
webhook_dingtalk.go Improve webhooks (#8583) 2019-10-18 23:42:04 +01:00
webhook_discord.go Improve webhooks (#8583) 2019-10-18 23:42:04 +01:00
webhook_msteams.go Improve webhooks (#8583) 2019-10-18 23:42:04 +01:00
webhook_slack.go
webhook_telegram.go
webhook_test.go
webhook.go webhook: set Content-Type for application/x-www-form-urlencoded (#8599) 2019-10-20 07:41:24 -04:00
wiki_test.go
wiki.go Sign merges, CRUD, Wiki and Repository initialisation with gpg key (#7631) 2019-10-16 14:42:42 +01:00