From: Andrew Dolgov Date: Wed, 2 Oct 2013 11:57:21 +0000 (+0400) Subject: Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS X-Git-Tag: 1.11~51 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=8b16eeb1a39b9dee8266d27b3b1db573e9be62e5;hp=0894ac8d4415985a94ce03b5078634239af84e55;p=tt-rss.git Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS --- diff --git a/classes/feeds.php b/classes/feeds.php index 5ee125f5..e26318e7 100644 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -978,6 +978,10 @@ class Feeds extends Handler_Protected { print ""; print ""; + print ""; + print "
".__("Feed or site URL")."
"; print "
"; diff --git a/include/functions.php b/include/functions.php index 7e08d229..e9b1270f 100644 --- a/include/functions.php +++ b/include/functions.php @@ -379,6 +379,10 @@ curl_setopt($ch, CURLOPT_ENCODING, ""); curl_setopt($ch, CURLOPT_REFERER, $url); + if (defined('_CURL_HTTP_PROXY')) { + curl_setopt($ch, CURLOPT_PROXY, _CURL_HTTP_PROXY); + } + if ($post_query) { curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $post_query); @@ -4216,6 +4220,10 @@ curl_setopt($curl, CURLOPT_TIMEOUT, 60); curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false); + if (defined('_CURL_HTTP_PROXY')) { + curl_setopt($curl, CURLOPT_PROXY, _CURL_HTTP_PROXY); + } + if ((OPENSSL_VERSION_NUMBER >= 0x0090808f) && (OPENSSL_VERSION_NUMBER < 0x10000000)) { curl_setopt($curl, CURLOPT_SSLVERSION, 3); } diff --git a/js/functions.js b/js/functions.js index c75fb95c..fdd79159 100644 --- a/js/functions.js +++ b/js/functions.js @@ -854,6 +854,8 @@ function quickAddFeed() { case 4: feeds = rc['feeds']; + Element.show("fadd_multiple_notify"); + var select = dijit.byId("feedDlg_feedContainerSelect"); while (select.getOptions().length > 0) diff --git a/plugins/af_unburn/init.php b/plugins/af_unburn/init.php index a97502b1..5873ccdf 100644 --- a/plugins/af_unburn/init.php +++ b/plugins/af_unburn/init.php @@ -38,6 +38,10 @@ class Af_Unburn extends Plugin { curl_setopt($ch, CURLOPT_FOLLOWLOCATION, !ini_get("safe_mode") && !ini_get("open_basedir")); curl_setopt($ch, CURLOPT_USERAGENT, SELF_USER_AGENT); + if (defined('_CURL_HTTP_PROXY')) { + curl_setopt($ch, CURLOPT_PROXY, _CURL_HTTP_PROXY); + } + $contents = @curl_exec($ch); $real_url = curl_getinfo($ch, CURLINFO_EFFECTIVE_URL);