Shivam Mathur
f04785aa1e
Fetch windows QA releases file
2025-11-16 15:16:35 +00:00
Derick Rethans
804f68eec3
Fetch windows releases file
2025-08-18 10:13:16 +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
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
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
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
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
Peter Cowburn
c4f7ab4645
autoload path for email-note-summaries
2022-08-07 22:53:46 +01:00
Kamil Tekiela
4f98bb7878
Migrate mysql_* API
2022-07-18 22:25:22 +02:00
Nikita Popov
031dbfdb8a
Minor code cleanups
...
Applying various minor improvements suggested by PhpStorm.
2021-04-11 20:46:25 +02:00
Ayesh Karunaratne
ac1ea4746f
Update *.php.net URLs to HTTPS ( #9 )
...
Updated existing `*.php.net` absolute URLs to use `https://`.
This includes redirects, links, and image source URLs to `php.net`, `people.php.net`, and `bugs.php.net`, all of which redirect to HTTPS.
Updating the hardcoded URLs from `http://` to `https://` should reduce the slight change of MITM that intercept the redirect response from `http://` URLs.
2021-04-07 18:38:16 -07: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
Rasmus Lerdorf
60c25aa2be
New PHP 8-compatible main branch
2021-04-01 14:27:05 -07:00
Peter Cowburn
f17c55f1cb
use square brackets for string offset access
2020-06-29 15:10:19 +01:00
Peter Cowburn
fc7ab27cda
skip Diffie-Hellman ciphers for fetching user notes from master (bug #79663 )
...
Without this, fetching user notes fails on the rsync box with the
OpenSSL error (which is suppressed via the @ operator):
error:141A318A:SSL routines:tls_process_ske_dhe:dh key too small
TODO: likely other scripts need similar treatment until Apache is
upgraded on master.
2020-06-07 11:33:13 +01:00
Martin Jansen
f0ad7ed751
Fix access to $argv[2]
2020-06-01 10:32:33 +02:00
Sobak
54328e85c2
Remove mirrors related code (in rather non-risky, not so intrusive way)
...
I tried to keep backwards compatibility where it seemed to make sense
(e.g. the API endpoint) or the script that might still be called
somehow. Hopefully I didn't break anything but if I did feel free
to point it at me and sorry in advance :/
2020-04-18 23:21:37 +02:00
Peter Kokot
0e511803a5
Refactor long array() syntax to short []
...
Since app is using PHP 5.4+ already, the longer `array()` syntax can be
refactored to shorter `[]`.
2018-12-10 03:26:03 +01:00
Peter Kokot
bce0f6fa02
Refactor each() function to foreach()
...
The each() function has been deprecated since PHP 7.2 and shouldn't be
used anymore:
- http://php.net/manual/en/function.each.php
2018-12-07 13:24:23 +01:00
Hannes Magnusson
7d300ac8b0
Allow 2 fetch timeouts -- should reduce failed positives
2015-06-12 12:52:07 -07:00
Hannes Magnusson
179443698f
Revert "Hardcodish US mirrors by east/west coast"
...
This reverts commit ca968d3f27 .
Turns out these are legacy things and not worth using :)
2015-06-12 10:57:21 -07:00
Hannes Magnusson
ca968d3f27
Hardcodish US mirrors by east/west coast
2015-06-12 10:55:08 -07:00
Hannes Magnusson
1be7e9163c
Hardcode php-web2.php.net (www.php.net) entry for north-america
2015-06-12 10:31:31 -07:00
Hannes Magnusson
229c1e8b00
Missing file with the EasyDNS GeoDNS zone IDs
2015-05-26 10:49:24 -07:00
Hannes Magnusson
d4f4266ed1
Remove geo debugging. Print errors to stderr
2015-05-26 10:28:41 -07:00
Hannes Magnusson
2e616dcce8
Roll out GeoDNS step#1 of #2 -- use the prod url
2015-05-26 09:23:21 -07:00
Hannes Magnusson
22d1282577
Improve error message
2015-05-20 10:29:36 -07:00
Hannes Magnusson
3711f2597b
Connect to the mirror cname, not the php.net hostname
...
Otherwise the check will never work after having disabled it once
as the hostname is no longer accessible! :)
2015-05-04 00:13:05 +00:00
Hannes Magnusson
6bd35e1522
Enable EasyDNS GeoDNS testing for www.php.net
2015-05-04 00:09:17 +00:00
Hannes Magnusson
92648c56c1
Update the weekly summary mail to
...
a) sync with mirror-test
b) set envelope sender to the mail gets through to our list
2015-05-03 23:50:37 +00:00
Hannes Magnusson
246fb2dbcb
copy&paste typo
2015-04-28 20:24:06 +00:00
Hannes Magnusson
08d001cd6e
Adding check for "www.php.net" for all mirrors
...
Oh, and rewrite the entire script to be more understandable and not PHP3 based
2015-04-28 15:35:51 +00:00
Hannes Magnusson
67b2136ef2
We disable mirrors right away - not passively with complicated sqls
2015-04-27 22:50:20 +00:00
Peter Cowburn
4a82d88bba
Use https for Flickr (web bug #67227 )
...
See also http://code.flickr.net/2014/04/30/flickr-
api-going-ssl-only-on-june-27th-2014/
2014-05-07 20:04:19 +01:00
Hannes Magnusson
0dc02d4c42
Fix couple of syntax errors
2014-03-27 00:37:39 -07:00
Hannes Magnusson
db18a15c3a
Rename file to match the include
2014-03-27 00:37:27 -07:00
Andreas Heigl
f82d11721e
Fetch usegroups listings and event feed
2014-03-25 22:08:06 -07:00
Hannes Magnusson
d271d4a589
Quote the url as it contains plenty of special chars
...
This fixes our ip2country database which has been broken for a while
2013-12-28 16:21:34 -08:00
Hannes Magnusson
5cac35cca3
Short tags evilness
2013-10-29 17:35:16 -07:00
Hannes Magnusson
57dfe8668c
Set the correct envelope sender so these get through
2013-10-29 17:06:11 -07:00
Hannes Magnusson
1f32d792a7
Kill rest stuff thats no longer used
2013-10-28 19:20:58 -07:00
Hannes Magnusson
7e132510ce
No need to pregenerate this
2013-10-27 18:47:51 -07:00
Hannes Magnusson
04145bccc7
No need to rengerated this file every hour
2013-10-27 17:01:06 -07:00
Hannes Magnusson
8ace08dfb9
That file is now part of phpweb, no need to create a .tgz for it
2013-10-27 16:53:43 -07:00
Hannes Magnusson
301911a6c3
No more reST
2013-10-27 16:43:56 -07:00