Commit Graph

1357 Commits

Author SHA1 Message Date
Derick Rethans
590f92bb34 Remove the GitHub repository management tool
This tool is no longer in use, and it is also not working.
2026-01-20 11:41:44 +00:00
Derick Rethans
4c2c9e83fb Fixed mail headers for VCS user approval emails 2025-09-05 10:05:53 +01:00
Derick Rethans
804f68eec3 Fetch windows releases file 2025-08-18 10:13:16 +01:00
Derick Rethans
a4dc7c24da Get config from the environment 2025-08-06 16:40:58 +01:00
Derick Rethans
bfa3b1793e Align admin users with GH Org admins 2025-04-17 16:43:06 +01:00
Derick Rethans
2c6628863f Try to block a persistent spammer 2025-03-18 16:14:18 +00:00
Ilija Tovilo
efd0cc6c14 Ignore more GH webhook events (#31) 2025-02-05 12:52:40 +01:00
Derick Rethans
2ba3496d38 Remove the ip-to-country fetching.
This script tries to obtain a database from an URL that returns a 404. This
functionality was only really used for re-directing to a mirror, but we long
ago discontinued the mirror system.

Now all it does is set a COUNTRY cookie with "NA," + IP-address in several
headers, and we should remove that too.
2024-11-27 10:21:41 +00:00
Jim Winstead
bd2ab46553 Handle the -noemail version of lists, too (#28)
news-web.php.net is going to use this for it's subscription forms.
2024-09-19 16:28:14 -07:00
Christoph M. Becker
345a0e05e2 Fix mailing list subscription for digests
The proper way to subscribe to e.g. internals digest is sending a mail
to `internals+subscribe-digest@`, but not `internals-digest+subscribe@`.

Since `$_POST['maillist']` contains `internals-digest` in this case, we
apply a simple regex to catch that, and assemble the proper email
address in the following.
2024-09-13 15:11:48 +01:00
Derick Rethans
d609edeb1e Use prepared queries for loop 2024-09-02 13:51:04 +01:00
Derick Rethans
f8b4a26fff The DELETE with sub-query was *mega* slow, replace with a fast loop
This seems counter intuitive, but without the loop it hadn't done
anything in ten minutes, but with the loop it took 3 seconds to remove
the 1940 notes that were old and sub-standard.
2024-09-02 13:51:04 +01:00
Derick Rethans
c735002be0 Merge branch 'pr/25' 2024-08-27 00:50:23 +01:00
Derick Rethans
ca918e8bb2 Parameterise query 2024-08-27 00:45:41 +01:00
Derick Rethans
b982e83e2c Add script to remove low rated notes 2024-08-27 00:41:38 +01:00
Derick Rethans
3b30d6613f No need to calculate total three times 2024-08-26 10:01:16 +01:00
Derick Rethans
5d98be1ba5 Limit sections to 10, and add higest and lowest rated notes 2024-08-26 09:54:35 +01:00
Derick Rethans
46bf69f2c5 Allow port to be configured through environment seting 2024-08-26 09:53:10 +01:00
Derick Rethans
f2add6e1ff The from address needs to be noreply@ as the phpdoc list doesn't allow its own address to be subscribed to it 2024-07-11 14:31:33 +01:00
Ilija Tovilo
c967c768d2 Don't send mail on review_request_removed 2024-05-22 02:18:46 -05:00
Andreas Heigl
4791ab9e6e Update sender of notes email (#21)
This updates the sender of the notes email to the noreply@php.net
email-address that has the entered email-address of the user as name.

That way the email should be recognized by the lists-server as
noreply@php.net is a subscribed list-user
2024-02-25 16:52:53 +00:00
Andreas Heigl
74a5567939 Adapt to mlmmj setup (#20)
The code needed some adaptions due to moving from ezmlm to mlmmj
2024-02-19 00:16:17 +00:00
Derick Rethans
313c79e640 Update automation for subscribing/unsubscribing to ML 2024-02-18 14:34:38 +00:00
Derick Rethans
0c2ca68668 Fixed ValueError in case icalendar_url was set, but an empty string 2024-02-07 16:47:42 +00:00
Derick Rethans
ba403bdff5 This now lives on HTTPS 2024-02-07 16:30:20 +00:00
Derick Rethans
e051444f40 Send forgot-password link to real email, instead of PHP provided one 2023-08-30 17:26:38 +01:00
Derick Rethans
3b1ce5de90 Send people to systems@ as group@ isn't really a thing 2023-08-30 17:26:19 +01:00
Christoph M. Becker
0a0bcf6055 Fix recently introduced regex 2022-10-24 18:17:44 +02:00
Christoph M. Becker
0762e6a1b5 Treat note starting with https:// as spam
We recently got a lot of these, and it is rather uncommon for a non-spam
user note to immediately start with an URL.

Closes GH-16.
2022-10-24 17:21:02 +02:00
Christoph M. Becker
a52c27b12a Add even more spam words
Might as well add `'.'`.
2022-10-19 19:40:12 +02:00
Christoph M. Becker
ed5505d6cc Add more spam words for user notes
Recently, we get an awful lot of spam; let's constrain it.
2022-10-19 16:29:18 +02:00
Peter Cowburn
c4f7ab4645 autoload path for email-note-summaries 2022-08-07 22:53:46 +01:00
Peter Cowburn
104336042d consider simple html anchors as spam 2022-08-07 10:08:31 +01:00
Christoph M. Becker
b056f4275a Also count https:// URLs
Might not make much sense nowadays to count `http://` URLs, but not
checking `https://` is certainly unhelpful.
2022-08-05 18:29:15 +02:00
Christoph M. Becker
b693250eb5 Add more spam words for user notes
Recently, we get an awful lot of spam; let's constrain it.
2022-08-05 18:10:38 +02:00
Kamil Tekiela
4f98bb7878 Migrate mysql_* API 2022-07-18 22:25:22 +02: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
Sergey Panteleev
2c51137441 fix: cvs auth (#11) 2021-04-12 09:08:16 +02:00
Niklas Keller
edc40853cd Remove is_sqlite_type_available
Last usage was removed in abc631369a.
2021-04-11 22:57:14 +02:00
Niklas Keller
c155378dd6 Move cvs-auth.php from include path to Composer autoload 2021-04-11 22:51:54 +02:00