Commit Graph

18 Commits

Author SHA1 Message Date
Ilija Tovilo
efd0cc6c14 Ignore more GH webhook events (#31) 2025-02-05 12:52:40 +01:00
Ilija Tovilo
c967c768d2 Don't send mail on review_request_removed 2024-05-22 02:18:46 -05:00
Ilija Tovilo
0122a1f982 Ignore PR review requested action 2022-05-11 17:16:48 +02:00
Ilija Tovilo
819df1572d Don't send any mails for PR/issue comments
See https://github.com/php/php-src/pull/7971

In attempt to reduce e-mail flooding, only send notifications for new
issues and pull requests. If you wish to receive all notifications you
can watch issues/PRs on GitHub.
2022-05-03 21:15:32 +02:00
Nikita Popov
dec8e60524 Use user name as author in bug mail 2021-12-11 21:21:39 +01:00
Nikita Popov
7751880a56 Handle transferred event 2021-12-06 19:44:35 +01:00
Nikita Popov
f24422406e Ignore ready_for_review action 2021-12-05 17:45:21 +01:00
Nikita Popov
5b065910a3 Don't send mail if no mailing list specified 2021-12-05 16:23:41 +01:00
Nikita Popov
78b0ad93ee More formatting tweaks 2021-12-05 16:17:17 +01:00
Nikita Popov
be788e68ae Specify separate issue mailing list for php-src
And do some formatting tweaks
2021-12-05 16:09:56 +01:00
Nikita Popov
610060b1e0 Check for payload decoding failure
Try to get more information in this case.
2021-12-05 12:28:36 +01:00
Nikita Popov
10374a0936 Send playground issue emails to me 2021-12-04 20:43:29 +01:00
Nikita Popov
acf9f2060a Don't send commit mails for force-pushed branches 2021-05-14 10:23:53 +02:00
Nikita Popov
031dbfdb8a Minor code cleanups
Applying various minor improvements suggested by PhpStorm.
2021-04-11 20:46:25 +02:00
Nikita Popov
ae99d10d55 Avoid repeating DB credentials
For the code using PDO rather than ext/mysql, add a common
method for creating a connection.
2021-04-11 20:34:58 +02:00
Nikita Popov
819070de35 Add PHPMailer as composer dependency
Instead of requiring it to be on the include path.
2021-04-08 21:30:58 +02:00
Nikita Popov
07d7ac181b Avoid sending duplicate mails for commits
Store commits we saw in the DB, and don't send duplicate mails
for them. This removes the php-src specific hack that I put in
place previously.

Ideally the distinct flag would tell use whether or not a commit
mail should be sent, but it doesn't work the way we need it to.
2021-04-07 16:47:34 +02:00
Nikita Popov
2a21449000 Move to public/ directory
Move everything that should be accessible from the webserver into
a public/ directory. Previously the document root was the root
of the repository, which is not great.
2021-04-07 12:12:02 +02:00