History log of /web-master/github-webhook.php (Results 1 – 25 of 35)
Revision Date Author Comments
# 369ff201 02-Apr-2021 Nikita Popov

Try adding Reply-To header to commit mails

Not sure whether this will get stripped by the mailing list, but
let's try it. I don't want to specify the author/committer email
in From,

Try adding Reply-To header to commit mails

Not sure whether this will get stripped by the mailing list, but
let's try it. I don't want to specify the author/committer email
in From, as it'll likely run afoul of DMARC.

show more ...


# 89fd8c29 02-Apr-2021 Nikita Popov

Try to fix mail charset issue

Set utf-8 as the charset when using PHPMailer. The manual encoding
code was a leftover from direct calls to mail() and only handles
the charset in the s

Try to fix mail charset issue

Set utf-8 as the charset when using PHPMailer. The manual encoding
code was a leftover from direct calls to mail() and only handles
the charset in the subject but not other headers.

show more ...


# d0cac541 01-Apr-2021 Nikita Popov

Make "Fixed bug" check case-insensitive


# 6488d65a 31-Mar-2021 Nikita Popov

Handle optional github user name

Author/committer may not necessarily have a github account.


# e22ac4f3 31-Mar-2021 Nikita Popov

Also include pusher name


# c0b0e18a 31-Mar-2021 Nikita Popov

Disable diffs, enable general commit mails

Fetching diffs fails on master.php.net -- I suspect that this is
because it's too old to support TLS 1.2. Inline diff display
should be ena

Disable diffs, enable general commit mails

Fetching diffs fails on master.php.net -- I suspect that this is
because it's too old to support TLS 1.2. Inline diff display
should be enabled once the box has been migrated.

show more ...


# 2cab6e86 31-Mar-2021 Nikita Popov

Send commit mail


# cfbbcff7 31-Mar-2021 Nikita Popov

Send mail for ref create/delete/force


# 340756d5 30-Mar-2021 Nikita Popov

Remove bogus headers argument


# e887adfd 30-Mar-2021 Nikita Popov

Switch webhook to PHPMailer


# e9f2676c 30-Mar-2021 Nikita Popov

Revert "Debug webhook"

This reverts commit 9602517f18426d27a4f878b5edd214d5ee2775ac.


# 9602517f 30-Mar-2021 Nikita Popov

Debug webhook

Request goes through now, but is rejected by bugs.php.net.


# 1bbe009d 30-Mar-2021 Nikita Popov

Use file_get_contents instead of curl

Possibly not present on master?


# 8c7a80d1 29-Mar-2021 Nikita Popov

Add webhook to auto-close bugs

This was previously handled as a post-receive hook. Now do this
in a push webhook instead.


# 0e511803 10-Dec-2018 Peter Kokot

Refactor long array() syntax to short []

Since app is using PHP 5.4+ already, the longer `array()` syntax can be
refactored to shorter `[]`.


# d1bcd88a 22-Dec-2016 Nikita Popov

Try to debug github webhook

Working fine when manually providing a payload, but I'm not getting
any mails...


# 3210ab0d 21-Dec-2016 Nikita Popov

Show "Issue" instead of "Pull Request" in a few more places


# 8724f967 21-Dec-2016 Nikita Popov

Retab file


# 6bd9ac55 21-Dec-2016 Nikita Popov

Support issues in github webhook

It does not look like the webhook payloads explicitly tell you
whether an issue comment is on a issue or PR. As such, we use the
HTML URL to determin

Support issues in github webhook

It does not look like the webhook payloads explicitly tell you
whether an issue comment is on a issue or PR. As such, we use the
HTML URL to determine whether it's an issue or PR.

show more ...


# 01d6ba78 24-Nov-2016 Nikita Popov

Improve GitHub signature validation

We should not let the client decide the authentication method, see
https://www.wordfence.com/blog/2016/11/hacking-27-web-via-wordpress-auto-update/


# 8d529985 15-Nov-2016 Nikita Popov

Handle pull request comments as well

These are distinct from review comments.

I've cannibalized the base-branch in the mail subject to support
this easily. This does not seem li

Handle pull request comments as well

These are distinct from review comments.

I've cannibalized the base-branch in the mail subject to support
this easily. This does not seem like particularly important
information in most cases.

show more ...


# 2320705c 15-Nov-2016 Nikita Popov

Try to make PR mails less spammy


# 4611f79b 15-Nov-2016 Nikita Popov

Fix pull_request_review_comment handling


# aa6ec67f 01-Aug-2014 Hannes Magnusson

Removing the action (opened/closed/..) from the title

It otherwise creates tons of "gmail conversation"


# b1aecf8e 01-Aug-2014 kovacs.ferenc

duh, swap the lines so $payload is set before used


12