summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-11-05 11:30:27 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2014-11-05 11:30:38 +0100
commit95530f62513a82c385d9378b4a59da57d74092d9 (patch)
treea4d17994548999b42e99371f381da8c256ee39bf
parent57163ad25a7dc63abd8aff8663c185ddad398466 (diff)
update picofeed, add max size setting, fix #642
-rw-r--r--3rdparty/autoload.php2
-rw-r--r--3rdparty/composer/autoload_real.php10
-rw-r--r--3rdparty/composer/installed.json12
-rw-r--r--3rdparty/fguillot/picofeed/.gitignore3
-rw-r--r--3rdparty/fguillot/picofeed/.travis.yml4
-rw-r--r--3rdparty/fguillot/picofeed/README.markdown9
-rw-r--r--3rdparty/fguillot/picofeed/docs/feed-parsing.markdown269
-rw-r--r--3rdparty/fguillot/picofeed/docs/installation.markdown71
-rw-r--r--3rdparty/fguillot/picofeed/docs/tests.markdown14
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/Client/Client.php (renamed from 3rdparty/fguillot/picofeed/lib/PicoFeed/Client.php)85
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/Client/ClientException.php16
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/Client/Curl.php (renamed from 3rdparty/fguillot/picofeed/lib/PicoFeed/Clients/Curl.php)64
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/Client/Favicon.php (renamed from 3rdparty/fguillot/picofeed/lib/PicoFeed/Favicon.php)33
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/Client/Grabber.php (renamed from 3rdparty/fguillot/picofeed/lib/PicoFeed/Grabber.php)15
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/Client/InvalidCertificateException.php13
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/Client/InvalidUrlException.php13
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/Client/MaxRedirectException.php13
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/Client/MaxSizeException.php13
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/Client/Stream.php (renamed from 3rdparty/fguillot/picofeed/lib/PicoFeed/Clients/Stream.php)15
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/Client/TimeoutException.php13
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/Client/Url.php (renamed from 3rdparty/fguillot/picofeed/lib/PicoFeed/Url.php)4
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/Config/Config.php (renamed from 3rdparty/fguillot/picofeed/lib/PicoFeed/Config.php)46
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/Encoding/Encoding.php (renamed from 3rdparty/fguillot/picofeed/lib/PicoFeed/Encoding.php)2
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/Filter/Attribute.php27
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/Filter/Filter.php (renamed from 3rdparty/fguillot/picofeed/lib/PicoFeed/Filter.php)43
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/Filter/Html.php15
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/Filter/Tag.php2
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/Logging/Logging.php (renamed from 3rdparty/fguillot/picofeed/lib/PicoFeed/Logging.php)16
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/Parser/Atom.php (renamed from 3rdparty/fguillot/picofeed/lib/PicoFeed/Parsers/Atom.php)63
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/Parser/Feed.php (renamed from 3rdparty/fguillot/picofeed/lib/PicoFeed/Feed.php)4
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/Parser/Item.php (renamed from 3rdparty/fguillot/picofeed/lib/PicoFeed/Item.php)4
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/Parser/MalformedXmlException.php13
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/Parser/Parser.php (renamed from 3rdparty/fguillot/picofeed/lib/PicoFeed/Parser.php)259
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/Parser/ParserException.php16
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/Parser/Rss10.php (renamed from 3rdparty/fguillot/picofeed/lib/PicoFeed/Parsers/Rss10.php)33
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/Parser/Rss20.php (renamed from 3rdparty/fguillot/picofeed/lib/PicoFeed/Parsers/Rss20.php)67
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/Parser/Rss91.php13
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/Parser/Rss92.php13
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/Parser/XmlParser.php (renamed from 3rdparty/fguillot/picofeed/lib/PicoFeed/XmlParser.php)4
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/Parsers/Rss91.php17
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/Parsers/Rss92.php17
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/PicoFeed.php25
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/PicoFeedException.php15
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/Reader.php310
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/Reader/Reader.php232
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/Reader/ReaderException.php16
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/Reader/SubscriptionNotFoundException.php13
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/Reader/UnsupportedFeedFormatException.php13
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/Serialization/Export.php (renamed from 3rdparty/fguillot/picofeed/lib/PicoFeed/Export.php)4
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/Serialization/Import.php (renamed from 3rdparty/fguillot/picofeed/lib/PicoFeed/Import.php)7
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/Syndication/Atom.php (renamed from 3rdparty/fguillot/picofeed/lib/PicoFeed/Writers/Atom.php)5
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/Syndication/Rss20.php (renamed from 3rdparty/fguillot/picofeed/lib/PicoFeed/Writers/Rss20.php)5
-rw-r--r--3rdparty/fguillot/picofeed/lib/PicoFeed/Syndication/Writer.php (renamed from 3rdparty/fguillot/picofeed/lib/PicoFeed/Writer.php)4
-rw-r--r--3rdparty/fguillot/picofeed/phpunit.xml2
-rwxr-xr-x3rdparty/fguillot/picofeed/picofeed6
-rw-r--r--3rdparty/fguillot/picofeed/tests/Client/ClientTest.php (renamed from 3rdparty/fguillot/picofeed/tests/ClientTest.php)10
-rw-r--r--3rdparty/fguillot/picofeed/tests/Client/CurlTest.php (renamed from 3rdparty/fguillot/picofeed/tests/CurlTest.php)41
-rw-r--r--3rdparty/fguillot/picofeed/tests/Client/FaviconTest.php (renamed from 3rdparty/fguillot/picofeed/tests/FaviconTest.php)5
-rw-r--r--3rdparty/fguillot/picofeed/tests/Client/GrabberTest.php (renamed from 3rdparty/fguillot/picofeed/tests/GrabberTest.php)18
-rw-r--r--3rdparty/fguillot/picofeed/tests/Client/StreamTest.php (renamed from 3rdparty/fguillot/picofeed/tests/StreamTest.php)34
-rw-r--r--3rdparty/fguillot/picofeed/tests/Client/UrlTest.php (renamed from 3rdparty/fguillot/picofeed/tests/UrlTest.php)4
-rw-r--r--3rdparty/fguillot/picofeed/tests/Filter/AttributeFilterTest.php (renamed from 3rdparty/fguillot/picofeed/tests/AttributeFilterTest.php)7
-rw-r--r--3rdparty/fguillot/picofeed/tests/Filter/FilterTest.php (renamed from 3rdparty/fguillot/picofeed/tests/FilterTest.php)7
-rw-r--r--3rdparty/fguillot/picofeed/tests/Filter/HtmlFilterTest.php (renamed from 3rdparty/fguillot/picofeed/tests/HtmlFilterTest.php)4
-rw-r--r--3rdparty/fguillot/picofeed/tests/Filter/TagFilterTest.php (renamed from 3rdparty/fguillot/picofeed/tests/TagFilterTest.php)4
-rw-r--r--3rdparty/fguillot/picofeed/tests/Parser/AtomParserTest.php (renamed from 3rdparty/fguillot/picofeed/tests/AtomParserTest.php)76
-rw-r--r--3rdparty/fguillot/picofeed/tests/Parser/ParserTest.php (renamed from 3rdparty/fguillot/picofeed/tests/ParserTest.php)30
-rw-r--r--3rdparty/fguillot/picofeed/tests/Parser/Rss10ParserTest.php (renamed from 3rdparty/fguillot/picofeed/tests/Rss10ParserTest.php)39
-rw-r--r--3rdparty/fguillot/picofeed/tests/Parser/Rss20ParserTest.php (renamed from 3rdparty/fguillot/picofeed/tests/Rss20ParserTest.php)114
-rw-r--r--3rdparty/fguillot/picofeed/tests/Parser/Rss91ParserTest.php (renamed from 3rdparty/fguillot/picofeed/tests/Rss91ParserTest.php)8
-rw-r--r--3rdparty/fguillot/picofeed/tests/Parser/Rss92ParserTest.php (renamed from 3rdparty/fguillot/picofeed/tests/Rss92ParserTest.php)17
-rw-r--r--3rdparty/fguillot/picofeed/tests/Parser/XmlParserTest.php (renamed from 3rdparty/fguillot/picofeed/tests/XmlParserTest.php)6
-rw-r--r--3rdparty/fguillot/picofeed/tests/Reader/ReaderTest.php157
-rw-r--r--3rdparty/fguillot/picofeed/tests/ReaderTest.php108
-rw-r--r--3rdparty/fguillot/picofeed/tests/Serialization/ExportTest.php (renamed from 3rdparty/fguillot/picofeed/tests/ExportTest.php)4
-rw-r--r--3rdparty/fguillot/picofeed/tests/Serialization/ImportTest.php (renamed from 3rdparty/fguillot/picofeed/tests/ImportTest.php)4
-rw-r--r--3rdparty/fguillot/picofeed/tests/Syndication/AtomWriterTest.php (renamed from 3rdparty/fguillot/picofeed/tests/AtomWriterTest.php)4
-rw-r--r--3rdparty/fguillot/picofeed/tests/Syndication/Rss20WriterTest.php (renamed from 3rdparty/fguillot/picofeed/tests/Rss20WriterTest.php)4
-rw-r--r--3rdparty/fguillot/picofeed/tests/fixtures/groovehq.xml1767
-rw-r--r--3rdparty/fguillot/picofeed/tests/fixtures/womensweardaily.xml63
-rw-r--r--CHANGELOG.md1
-rw-r--r--README.md1
-rw-r--r--appinfo/application.php12
-rw-r--r--composer.json2
-rw-r--r--composer.lock12
-rw-r--r--config/config.php17
-rw-r--r--controller/admincontroller.php6
-rw-r--r--fetcher/feedfetcher.php81
-rw-r--r--js/admin/Admin.js5
-rw-r--r--service/feedservice.php8
-rw-r--r--templates/admin.php17
-rw-r--r--tests/unit/articleenhancer/XPathArticleEnhancerTest.php2
-rw-r--r--tests/unit/config/ConfigTest.php4
-rw-r--r--tests/unit/controller/AdminControllerTest.php13
-rw-r--r--tests/unit/fetcher/FeedFetcherTest.php111
-rw-r--r--tests/unit/service/FeedServiceTest.php2
-rw-r--r--utility/picofeedclientfactory.php4
-rw-r--r--utility/picofeedfaviconfactory.php4
-rw-r--r--utility/picofeedreaderfactory.php38
99 files changed, 3424 insertions, 1473 deletions
diff --git a/3rdparty/autoload.php b/3rdparty/autoload.php
index 120b16acc..3cd25b0d2 100644
--- a/3rdparty/autoload.php
+++ b/3rdparty/autoload.php
@@ -4,4 +4,4 @@
require_once __DIR__ . '/composer' . '/autoload_real.php';
-return ComposerAutoloaderInit7bb1478f65d3f193519a3262170cb8bf::getLoader();
+return ComposerAutoloaderInit4750e3a2a6327c742e19653287d1e34f::getLoader();
diff --git a/3rdparty/composer/autoload_real.php b/3rdparty/composer/autoload_real.php
index 1a9ed9123..16fe7ad69 100644
--- a/3rdparty/composer/autoload_real.php
+++ b/3rdparty/composer/autoload_real.php
@@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
-class ComposerAutoloaderInit7bb1478f65d3f193519a3262170cb8bf
+class ComposerAutoloaderInit4750e3a2a6327c742e19653287d1e34f
{
private static $loader;
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit7bb1478f65d3f193519a3262170cb8bf
return self::$loader;
}
- spl_autoload_register(array('ComposerAutoloaderInit7bb1478f65d3f193519a3262170cb8bf', 'loadClassLoader'), true, true);
+ spl_autoload_register(array('ComposerAutoloaderInit4750e3a2a6327c742e19653287d1e34f', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
- spl_autoload_unregister(array('ComposerAutoloaderInit7bb1478f65d3f193519a3262170cb8bf', 'loadClassLoader'));
+ spl_autoload_unregister(array('ComposerAutoloaderInit4750e3a2a6327c742e19653287d1e34f', 'loadClassLoader'));
$includePaths = require __DIR__ . '/include_paths.php';
array_push($includePaths, get_include_path());
@@ -46,14 +46,14 @@ class ComposerAutoloaderInit7bb1478f65d3f193519a3262170cb8bf
$includeFiles = require __DIR__ . '/autoload_files.php';
foreach ($includeFiles as $file) {
- composerRequire7bb1478f65d3f193519a3262170cb8bf($file);
+ composerRequire4750e3a2a6327c742e19653287d1e34f($file);
}
return $loader;
}
}
-function composerRequire7bb1478f65d3f193519a3262170cb8bf($file)
+function composerRequire4750e3a2a6327c742e19653287d1e34f($file)
{
require $file;
}
diff --git a/3rdparty/composer/installed.json b/3rdparty/composer/installed.json
index cc63486b6..f7a314210 100644
--- a/3rdparty/composer/installed.json
+++ b/3rdparty/composer/installed.json
@@ -114,23 +114,23 @@
},
{
"name": "fguillot/picofeed",
- "version": "dev-master",
- "version_normalized": "9999999-dev",
+ "version": "dev-0.1.0-dev",
+ "version_normalized": "dev-0.1.0-dev",
"source": {
"type": "git",
"url": "https://github.com/fguillot/picoFeed.git",
- "reference": "dd5c122aea0a95ec2c932ee487a8fb4fd307cc6f"
+ "reference": "e7e32522b487256c3164eeece30203313b09456a"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/fguillot/picoFeed/zipball/dd5c122aea0a95ec2c932ee487a8fb4fd307cc6f",
- "reference": "dd5c122aea0a95ec2c932ee487a8fb4fd307cc6f",
+ "url": "https://api.github.com/repos/fguillot/picoFeed/zipball/e7e32522b487256c3164eeece30203313b09456a",
+ "reference": "e7e32522b487256c3164eeece30203313b09456a",
"shasum": ""
},
"require": {
"php": ">=5.3.0"
},
- "time": "2014-10-19 18:18:06",
+ "time": "2014-11-05 01:21:29",
"type": "library",
"installation-source": "dist",
"autoload": {
diff --git a/3rdparty/fguillot/picofeed/.gitignore b/3rdparty/fguillot/picofeed/.gitignore
index 496ee2ca6..b0ef0680a 100644
--- a/3rdparty/fguillot/picofeed/.gitignore
+++ b/3rdparty/fguillot/picofeed/.gitignore
@@ -1 +1,2 @@
-.DS_Store \ No newline at end of file
+.DS_Store
+vendor/ \ No newline at end of file
diff --git a/3rdparty/fguillot/picofeed/.travis.yml b/3rdparty/fguillot/picofeed/.travis.yml
index 83334e8c4..