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
danbrown
cc80bf3495
Changing mirror alerts to email new network status list.
2013-10-02 08:31:39 -04:00
danbrown
b44b55bfed
Tests and queries were correct, but typo in the email body.
2013-09-24 13:03:26 -04:00
danbrown
8533ee8bb6
Basic checking and auto-reactivation of round-robin for mirrors.
2013-09-24 12:21:08 -04:00
Ferenc Kovacs
1e58ee7e3f
more descriptive error message
2013-02-15 21:24:00 +01:00
Ferenc Kovacs
fa34022553
add the bounce address, it seems the mails can't reach the list without that
2013-02-15 13:34:24 +01:00
Ferenc Kovacs
dae74493c2
change the to address now that this works
2013-02-01 21:55:55 +01:00
Ferenc Kovacs
513be2a6d8
the header check in host_has_error won't work for the spoofed headers so we should check the response body that it matches the expected format of mirror-info
2013-02-01 13:06:32 +01:00
Ferenc Kovacs
8a6bfe8456
add an additional test for the round robin balanced servers: they should also be able to respond on cc.php.net for their respective cc.
...
remove them from the rotation (but keep them enabled as an invidual mirror so they will continue to work as ccx.php.net and can receive traffic from our php based balancing redirects.
2013-02-01 11:35:51 +01:00
Sherif Ramadan
affabf37e0
Fixed cron script to update voting information for user notes files. The voting information wasn't being added properly (was only following the full build path).
2012-12-12 14:26:09 -05:00
Sherif Ramadan
3f150de6d8
Had to fix the cron script as it was discarding the vote information in the pipe.
2012-12-12 14:00:34 -05:00
Daniel P. Brown
9cb5a2073b
Remove a few more references to www.php.net and replace them with php.net.
2012-12-05 11:44:15 -05:00
Daniel P. Brown
3745009680
Another brick in the wall.... of getting the sponsorship information to appear as normal on the round-robin-enabled hosts.
2012-10-10 16:08:11 -04:00
Daniel P. Brown
7b795e12ef
Adds the database update for available extensions.
2012-10-10 12:30:13 -04:00
Ferenc Kovacs
0f44d494a5
fetch the files from git instead of svn for the reST stuff
2012-07-21 02:28:11 +02:00
Hannes Magnusson
955f6840f5
Use the 'via' attribute.
...
That means we will link to the confernce page directly, not our news
archive for the 'read more' link.. in the long run the conferences
shouldn't be in this specific feed anyway as it should get aggregated
from joind.in so we'll ignore that 'problem' for now :)
2012-07-05 21:44:38 +01:00
Hannes Magnusson
e12bc0e6ba
Generate a shorter news intro for long entries.
...
Originally by Levi in phpweb
2012-07-05 20:38:33 +01:00
Rasmus Lerdorf
8181453dbb
No ssl stream on the ancient rsync box, so fake it
2012-01-23 18:47:00 -08:00
Rasmus Lerdorf
41fcd1d2e9
Stupid rsync box doesn't have a working openssl setup - fall back to cli curl
...
in case of a missing https stream wrapper.
2012-01-23 12:09:59 -08:00