summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/news.php32
-rw-r--r--appinfo/app.php31
-rw-r--r--appinfo/routes.php32
-rw-r--r--articleenhancer/articleenhancer.php32
-rw-r--r--articleenhancer/enhancer.php32
-rw-r--r--articleenhancer/regexarticleenhancer.php24
-rw-r--r--articleenhancer/xpatharticleenhancer.php32
-rw-r--r--backgroundjob/task.php32
-rw-r--r--bin/updater.py29
-rw-r--r--businesslayer/businesslayer.php32
-rw-r--r--businesslayer/businesslayerconflictexception.php32
-rw-r--r--businesslayer/businesslayerexception.php32
-rw-r--r--businesslayer/businesslayervalidationexception.php32
-rw-r--r--businesslayer/feedbusinesslayer.php32
-rw-r--r--businesslayer/folderbusinesslayer.php32
-rw-r--r--businesslayer/itembusinesslayer.php32
-rw-r--r--controller/apicontroller.php32
-rw-r--r--controller/exportcontroller.php32
-rw-r--r--controller/feedapicontroller.php32
-rw-r--r--controller/feedcontroller.php32
-rw-r--r--controller/folderapicontroller.php32
-rw-r--r--controller/foldercontroller.php32
-rw-r--r--controller/itemapicontroller.php32
-rw-r--r--controller/itemcontroller.php32
-rw-r--r--controller/pagecontroller.php32
-rw-r--r--core/db.php22
-rw-r--r--core/logger.php22
-rw-r--r--core/settings.php22
-rw-r--r--db/doesnotexistexception.php23
-rw-r--r--db/entity.php30
-rw-r--r--db/feed.php32
-rw-r--r--db/feedmapper.php32
-rw-r--r--db/feedtype.php32
-rw-r--r--db/folder.php32
-rw-r--r--db/foldermapper.php32
-rw-r--r--db/iapi.php32
-rw-r--r--db/imapper.php31
-rw-r--r--db/item.php32
-rw-r--r--db/itemmapper.php31
-rw-r--r--db/mapper.php25
-rw-r--r--db/mapperfactory.php32
-rw-r--r--db/multipleobjectsreturnedexception.php23
-rw-r--r--db/postgres/itemmapper.php31
-rw-r--r--db/statusflag.php32
-rw-r--r--fetcher/feedfetcher.php32
-rw-r--r--fetcher/fetcher.php32
-rw-r--r--fetcher/fetcherexception.php32
-rw-r--r--fetcher/ifeedfetcher.php32
-rw-r--r--hooks/user.php32
-rw-r--r--http/downloadresponse.php25
-rw-r--r--http/textdownloadresponse.php25
-rw-r--r--http/textresponse.php25
-rw-r--r--middleware/corsmiddleware.php23
-rw-r--r--tests/classloader.php24
-rw-r--r--tests/unit/articleenhancer/EnhancerTest.php32
-rw-r--r--tests/unit/articleenhancer/RegexArticleEnhancerTest.php32
-rw-r--r--tests/unit/articleenhancer/XPathArticleEnhancerTest.php32
-rw-r--r--tests/unit/businesslayer/BusinessLayerTest.php32
-rw-r--r--tests/unit/businesslayer/FeedBusinessLayerTest.php32
-rw-r--r--tests/unit/businesslayer/FolderBusinessLayerTest.php32
-rw-r--r--tests/unit/businesslayer/ItemBusinessLayerTest.php32
-rw-r--r--tests/unit/businesslayer/StatusFlagTest.php32
-rw-r--r--tests/unit/controller/ApiControllerTest.php32
-rw-r--r--tests/unit/controller/ExportControllerTest.php32
-rw-r--r--tests/unit/controller/FeedApiControllerTest.php32
-rw-r--r--tests/unit/controller/FeedControllerTest.php32
-rw-r--r--tests/unit/controller/FolderApiControllerTest.php32
-rw-r--r--tests/unit/controller/FolderControllerTest.php32
-rw-r--r--tests/unit/controller/ItemApiControllerTest.php32
-rw-r--r--tests/unit/controller/ItemControllerTest.php32
-rw-r--r--tests/unit/controller/PageControllerTest.php32
-rw-r--r--tests/unit/db/EntityTest.php32
-rw-r--r--tests/unit/db/FeedMapperTest.php32
-rw-r--r--tests/unit/db/FeedTest.php32
-rw-r--r--tests/unit/db/FolderMapperTest.php32
-rw-r--r--tests/unit/db/FolderTest.php32
-rw-r--r--tests/unit/db/ItemMapperTest.php32
-rw-r--r--tests/unit/db/ItemTest.php32
-rw-r--r--tests/unit/db/MapperFactoryTest.php32
-rw-r--r--tests/unit/db/MapperTest.php22
-rw-r--r--tests/unit/db/postgres/ItemMapperTest.php32
-rw-r--r--tests/unit/fetcher/FeedFetcherTest.php32
-rw-r--r--tests/unit/http/DownloadResponseTest.php22
-rw-r--r--tests/unit/http/TextDownloadResponseTest.php22
-rw-r--r--tests/unit/http/TextResponseTest.php22
-rw-r--r--tests/unit/middleware/CORSMiddlewareTest.php22
-rw-r--r--tests/unit/utility/ConfigTest.php32
-rw-r--r--tests/unit/utility/FaviconFetcherTest.php22
-rw-r--r--tests/unit/utility/MethodAnnotationReaderTest.php22
-rw-r--r--tests/unit/utility/OPMLExporterTest.php32
-rw-r--r--tests/unit/utility/UpdaterTest.php32
-rw-r--r--utility/config.php32
-rw-r--r--utility/controllertestutility.php23
-rw-r--r--utility/faviconfetcher.php23
-rw-r--r--utility/mappertestutility.php23
-rw-r--r--utility/methodannotationreader.php23
-rw-r--r--utility/opmlexporter.php32
-rw-r--r--utility/simplepieapifactory.php22
-rw-r--r--utility/updater.php32
99 files changed, 897 insertions, 2045 deletions
diff --git a/app/news.php b/app/news.php
index 3658dac3c..de3652e6f 100644
--- a/app/news.php
+++ b/app/news.php
@@ -1,27 +1,15 @@
<?php
-
/**
-* ownCloud - News
-*
-* @author Alessandro Cosentino
-* @author Bernhard Posselt
-* @copyright 2012 Alessandro Cosentino cosenal@gmail.com
-* @copyright 2012 Bernhard Posselt dev@bernhard-posselt.com
-*
-* This library is free software; you can redistribute it and/or
-* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
-* License as published by the Free Software Foundation; either
-* version 3 of the License, or any later version.
-*
-* This library is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
-*
-* You should have received a copy of the GNU Affero General Public
-* License along with this library. If not, see <http://www.gnu.org/licenses/>.
-*
-*/
+ * ownCloud - News
+ *
+ * This file is licensed under the Affero General Public License version 3 or
+ * later. See the COPYING file.
+ *
+ * @author Alessandro Cosentino <cosenal@gmail.com>
+ * @author Bernhard Posselt <dev@bernhard-posselt.com>
+ * @copyright Alessandro Cosentino 2012
+ * @copyright Bernhard Posselt 2012, 2014
+ */
namespace OCA\News\App;
diff --git a/appinfo/app.php b/appinfo/app.php
index 486c234a7..e56d3ecb7 100644
--- a/appinfo/app.php
+++ b/appinfo/app.php
@@ -1,26 +1,15 @@
<?php
/**
-* ownCloud - News app
-*
-* @author Alessandro Cosentino
-* @author Bernhard Posselt
-* @copyright 2012 Alessandro Cosentino cosenal@gmail.com
-* @copyright 2012 Bernhard Posselt dev@bernhard-posselt.com
-*
-* This library is free software; you can redistribute it and/or
-* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
-* License as published by the Free Software Foundation; either
-* version 3 of the License, or any later version.
-*
-* This library is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
-*
-* You should have received a copy of the GNU Affero General Public
-* License along with this library. If not, see <http://www.gnu.org/licenses/>.
-*
-*/
+ * ownCloud - News
+ *
+ * This file is licensed under the Affero General Public License version 3 or
+ * later. See the COPYING file.
+ *
+ * @author Alessandro Cosentino <cosenal@gmail.com>
+ * @author Bernhard Posselt <dev@bernhard-posselt.com>
+ * @copyright Alessandro Cosentino 2012
+ * @copyright Bernhard Posselt 2012, 2014
+ */
namespace OCA\News;
diff --git a/appinfo/routes.php b/appinfo/routes.php
index c79c5d8d2..84b421bb0 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -1,27 +1,15 @@
<?php
-
/**
-* ownCloud - News
-*
-* @author Alessandro Cosentino
-* @author Bernhard Posselt
-* @copyright 2012 Alessandro Cosentino cosenal@gmail.com
-* @copyright 2012 Bernhard Posselt dev@bernhard-posselt.com
-*
-* This library is free software; you can redistribute it and/or
-* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
-* License as published by the Free Software Foundation; either
-* version 3 of the License, or any later version.
-*
-* This library is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
-*
-* You should have received a copy of the GNU Affero General Public
-* License along with this library. If not, see <http://www.gnu.org/licenses/>.
-*
-*/
+ * ownCloud - News
+ *
+ * This file is licensed under the Affero General Public License version 3 or
+ * later. See the COPYING file.
+ *
+ * @author Alessandro Cosentino <cosenal@gmail.com>
+ * @author Bernhard Posselt <dev@bernhard-posselt.com>
+ * @copyright Alessandro Cosentino 2012
+ * @copyright Bernhard Posselt 2012, 2014
+ */
namespace OCA\News;
diff --git a/articleenhancer/articleenhancer.php b/articleenhancer/articleenhancer.php
index 53b2d6fa8..e5bf2f7aa 100644
--- a/articleenhancer/articleenhancer.php
+++ b/articleenhancer/articleenhancer.php
@@ -1,27 +1,15 @@
<?php
-
/**
-* ownCloud - News
-*
-* @author Alessandro Cosentino
-* @author Bernhard Posselt
-* @copyright 2012 Alessandro Cosentino cosenal@gmail.com
-* @copyright 2012 Bernhard Posselt dev@bernhard-posselt.com
-*
-* This library is free software; you can redistribute it and/or
-* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
-* License as published by the Free Software Foundation; either
-* version 3 of the License, or any later version.
-*
-* This library is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
-*
-* You should have received a copy of the GNU Affero General Public
-* License along with this library. If not, see <http://www.gnu.org/licenses/>.
-*
-*/
+ * ownCloud - News
+ *
+ * This file is licensed under the Affero General Public License version 3 or
+ * later. See the COPYING file.
+ *
+ * @author Alessandro Cosentino <cosenal@gmail.com>
+ * @author Bernhard Posselt <dev@bernhard-posselt.com>
+ * @copyright Alessandro Cosentino 2012
+ * @copyright Bernhard Posselt 2012, 2014
+ */
namespace OCA\News\ArticleEnhancer;
diff --git a/articleenhancer/enhancer.php b/articleenhancer/enhancer.php
index 7981751ea..6fa617701 100644
--- a/articleenhancer/enhancer.php
+++ b/articleenhancer/enhancer.php
@@ -1,27 +1,15 @@
<?php
-
/**
-* ownCloud - News
-*
-* @author Alessandro Cosentino
-* @author Bernhard Posselt
-* @copyright 2012 Alessandro Cosentino cosenal@gmail.com
-* @copyright 2012 Bernhard Posselt dev@bernhard-posselt.com
-*
-* This library is free software; you can redistribute it and/or
-* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
-* License as published by the Free Software Foundation; either
-* version 3 of the License, or any later version.
-*
-* This library is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
-*
-* You should have received a copy of the GNU Affero General Public
-* License along with this library. If not, see <http://www.gnu.org/licenses/>.
-*
-*/
+ * ownCloud - News
+ *
+ * This file is licensed under the Affero General Public License version 3 or
+ * later. See the COPYING file.
+ *
+ * @author Alessandro Cosentino <cosenal@gmail.com>
+ * @author Bernhard Posselt <dev@bernhard-posselt.com>
+ * @copyright Alessandro Cosentino 2012
+ * @copyright Bernhard Posselt 2012, 2014
+ */
namespace OCA\News\ArticleEnhancer;
diff --git a/articleenhancer/regexarticleenhancer.php b/articleenhancer/regexarticleenhancer.php
index 0742bc127..9fecc0d6f 100644
--- a/articleenhancer/regexarticleenhancer.php
+++ b/articleenhancer/regexarticleenhancer.php
@@ -1,26 +1,14 @@
<?php
-
/**
* ownCloud - News
*
- * @author Alessandro Cosentino
- * @author Bernhard Posselt
- * @copyright 2012 Alessandro Cosentino cosenal@gmail.com
- * @copyright 2012 Bernhard Posselt dev@bernhard-posselt.com
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU AFFERO GENERAL PUBLIC LICENSE for more details.
- *
- * You should have received a copy of the GNU Affero General Public
- * License along with this library. If not, see <http://www.gnu.org/licenses/>.
+ * This file is licensed under the Affero General Public License version 3 or
+ * later. See the COPYING file.
*
+ * @author Alessandro Cosentin