From ffa43f3c3b9f44db5efb9831287bef68a80e1432 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Sat, 19 Apr 2014 18:16:55 +0200 Subject: update headers to be compatible with phpdoc, slim down license text to make code more visible --- app/news.php | 32 +++++++--------------- appinfo/app.php | 31 +++++++-------------- appinfo/routes.php | 32 +++++++--------------- articleenhancer/articleenhancer.php | 32 +++++++--------------- articleenhancer/enhancer.php | 32 +++++++--------------- articleenhancer/regexarticleenhancer.php | 24 ++++------------ articleenhancer/xpatharticleenhancer.php | 32 +++++++--------------- backgroundjob/task.php | 32 +++++++--------------- bin/updater.py | 29 ++++++-------------- businesslayer/businesslayer.php | 32 +++++++--------------- businesslayer/businesslayerconflictexception.php | 32 +++++++--------------- businesslayer/businesslayerexception.php | 32 +++++++--------------- businesslayer/businesslayervalidationexception.php | 32 +++++++--------------- businesslayer/feedbusinesslayer.php | 32 +++++++--------------- businesslayer/folderbusinesslayer.php | 32 +++++++--------------- businesslayer/itembusinesslayer.php | 32 +++++++--------------- controller/apicontroller.php | 32 +++++++--------------- controller/exportcontroller.php | 32 +++++++--------------- controller/feedapicontroller.php | 32 +++++++--------------- controller/feedcontroller.php | 32 +++++++--------------- controller/folderapicontroller.php | 32 +++++++--------------- controller/foldercontroller.php | 32 +++++++--------------- controller/itemapicontroller.php | 32 +++++++--------------- controller/itemcontroller.php | 32 +++++++--------------- controller/pagecontroller.php | 32 +++++++--------------- core/db.php | 22 ++++----------- core/logger.php | 22 ++++----------- core/settings.php | 22 ++++----------- db/doesnotexistexception.php | 23 ++++------------ db/entity.php | 30 +++++++------------- db/feed.php | 32 +++++++--------------- db/feedmapper.php | 32 +++++++--------------- db/feedtype.php | 32 +++++++--------------- db/folder.php | 32 +++++++--------------- db/foldermapper.php | 32 +++++++--------------- db/iapi.php | 32 +++++++--------------- db/imapper.php | 31 +++++++-------------- db/item.php | 32 +++++++--------------- db/itemmapper.php | 31 +++++++-------------- db/mapper.php | 25 ++++------------- db/mapperfactory.php | 32 +++++++--------------- db/multipleobjectsreturnedexception.php | 23 ++++------------ db/postgres/itemmapper.php | 31 +++++++-------------- db/statusflag.php | 32 +++++++--------------- fetcher/feedfetcher.php | 32 +++++++--------------- fetcher/fetcher.php | 32 +++++++--------------- fetcher/fetcherexception.php | 32 +++++++--------------- fetcher/ifeedfetcher.php | 32 +++++++--------------- hooks/user.php | 32 +++++++--------------- http/downloadresponse.php | 25 +++++------------ http/textdownloadresponse.php | 25 +++++------------ http/textresponse.php | 25 +++++------------ middleware/corsmiddleware.php | 23 ++++------------ tests/classloader.php | 24 +++++----------- tests/unit/articleenhancer/EnhancerTest.php | 32 +++++++--------------- .../articleenhancer/RegexArticleEnhancerTest.php | 32 +++++++--------------- .../articleenhancer/XPathArticleEnhancerTest.php | 32 +++++++--------------- tests/unit/businesslayer/BusinessLayerTest.php | 32 +++++++--------------- tests/unit/businesslayer/FeedBusinessLayerTest.php | 32 +++++++--------------- .../unit/businesslayer/FolderBusinessLayerTest.php | 32 +++++++--------------- tests/unit/businesslayer/ItemBusinessLayerTest.php | 32 +++++++--------------- tests/unit/businesslayer/StatusFlagTest.php | 32 +++++++--------------- tests/unit/controller/ApiControllerTest.php | 32 +++++++--------------- tests/unit/controller/ExportControllerTest.php | 32 +++++++--------------- tests/unit/controller/FeedApiControllerTest.php | 32 +++++++--------------- tests/unit/controller/FeedControllerTest.php | 32 +++++++--------------- tests/unit/controller/FolderApiControllerTest.php | 32 +++++++--------------- tests/unit/controller/FolderControllerTest.php | 32 +++++++--------------- tests/unit/controller/ItemApiControllerTest.php | 32 +++++++--------------- tests/unit/controller/ItemControllerTest.php | 32 +++++++--------------- tests/unit/controller/PageControllerTest.php | 32 +++++++--------------- tests/unit/db/EntityTest.php | 32 +++++++--------------- tests/unit/db/FeedMapperTest.php | 32 +++++++--------------- tests/unit/db/FeedTest.php | 32 +++++++--------------- tests/unit/db/FolderMapperTest.php | 32 +++++++--------------- tests/unit/db/FolderTest.php | 32 +++++++--------------- tests/unit/db/ItemMapperTest.php | 32 +++++++--------------- tests/unit/db/ItemTest.php | 32 +++++++--------------- tests/unit/db/MapperFactoryTest.php | 32 +++++++--------------- tests/unit/db/MapperTest.php | 22 ++++----------- tests/unit/db/postgres/ItemMapperTest.php | 32 +++++++--------------- tests/unit/fetcher/FeedFetcherTest.php | 32 +++++++--------------- tests/unit/http/DownloadResponseTest.php | 22 ++++----------- tests/unit/http/TextDownloadResponseTest.php | 22 ++++----------- tests/unit/http/TextResponseTest.php | 22 ++++----------- tests/unit/middleware/CORSMiddlewareTest.php | 22 ++++----------- tests/unit/utility/ConfigTest.php | 32 +++++++--------------- tests/unit/utility/FaviconFetcherTest.php | 22 ++++----------- tests/unit/utility/MethodAnnotationReaderTest.php | 22 ++++----------- tests/unit/utility/OPMLExporterTest.php | 32 +++++++--------------- tests/unit/utility/UpdaterTest.php | 32 +++++++--------------- utility/config.php | 32 +++++++--------------- utility/controllertestutility.php | 23 ++++------------ utility/faviconfetcher.php | 23 ++++------------ utility/mappertestutility.php | 23 ++++------------ utility/methodannotationreader.php | 23 ++++------------ utility/opmlexporter.php | 32 +++++++--------------- utility/simplepieapifactory.php | 22 ++++----------- utility/updater.php | 32 +++++++--------------- 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 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @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 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @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 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @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 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @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 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @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 @@ . + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 */ namespace OCA\News\ArticleEnhancer; diff --git a/articleenhancer/xpatharticleenhancer.php b/articleenhancer/xpatharticleenhancer.php index 0d7589fec..466621466 100644 --- a/articleenhancer/xpatharticleenhancer.php +++ b/articleenhancer/xpatharticleenhancer.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\ArticleEnhancer; diff --git a/backgroundjob/task.php b/backgroundjob/task.php index 1f4ebc1e0..e41e67744 100644 --- a/backgroundjob/task.php +++ b/backgroundjob/task.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Backgroundjob; diff --git a/bin/updater.py b/bin/updater.py index 94156950f..8f466bd72 100644 --- a/bin/updater.py +++ b/bin/updater.py @@ -1,27 +1,16 @@ #!/usr/bin/env python - """ - -ownCloud - News - -@author Bernhard Posselt -@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 . - +Updater script for the news app which allows multiple feeds to be updated at +once to speed up the update process. Built in cron has to be disabled in the +news config, see the README.rst file in the top directory for more information. """ +__author__ = 'Bernhard Posselt' +__copyright__ = 'Copyright 2012-2014, Bernhard Posselt' +__license__ = 'AGPL3+' +__maintainer__ = 'Bernhard Posselt' +__email__ = 'dev@bernhard-posselt.com' + import sys import time import json diff --git a/businesslayer/businesslayer.php b/businesslayer/businesslayer.php index d0d4cd246..ea03db1af 100644 --- a/businesslayer/businesslayer.php +++ b/businesslayer/businesslayer.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\BusinessLayer; diff --git a/businesslayer/businesslayerconflictexception.php b/businesslayer/businesslayerconflictexception.php index a65bbf2d6..d29548256 100644 --- a/businesslayer/businesslayerconflictexception.php +++ b/businesslayer/businesslayerconflictexception.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\BusinessLayer; diff --git a/businesslayer/businesslayerexception.php b/businesslayer/businesslayerexception.php index 59796e764..e9428a05e 100644 --- a/businesslayer/businesslayerexception.php +++ b/businesslayer/businesslayerexception.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\BusinessLayer; diff --git a/businesslayer/businesslayervalidationexception.php b/businesslayer/businesslayervalidationexception.php index c4f2c2387..d61afd6f1 100644 --- a/businesslayer/businesslayervalidationexception.php +++ b/businesslayer/businesslayervalidationexception.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\BusinessLayer; diff --git a/businesslayer/feedbusinesslayer.php b/businesslayer/feedbusinesslayer.php index caa81e0d3..fa7a25331 100644 --- a/businesslayer/feedbusinesslayer.php +++ b/businesslayer/feedbusinesslayer.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\BusinessLayer; use \OCA\News\Core\Logger; diff --git a/businesslayer/folderbusinesslayer.php b/businesslayer/folderbusinesslayer.php index 5c5914c7a..46774aa5e 100644 --- a/businesslayer/folderbusinesslayer.php +++ b/businesslayer/folderbusinesslayer.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\BusinessLayer; diff --git a/businesslayer/itembusinesslayer.php b/businesslayer/itembusinesslayer.php index 7558667cf..d7b711af4 100644 --- a/businesslayer/itembusinesslayer.php +++ b/businesslayer/itembusinesslayer.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\BusinessLayer; diff --git a/controller/apicontroller.php b/controller/apicontroller.php index 25b230016..7af08d56a 100644 --- a/controller/apicontroller.php +++ b/controller/apicontroller.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Controller; diff --git a/controller/exportcontroller.php b/controller/exportcontroller.php index a0011f9e6..61cf37c9c 100644 --- a/controller/exportcontroller.php +++ b/controller/exportcontroller.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Controller; diff --git a/controller/feedapicontroller.php b/controller/feedapicontroller.php index 51aa48dd9..14902693d 100644 --- a/controller/feedapicontroller.php +++ b/controller/feedapicontroller.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Controller; diff --git a/controller/feedcontroller.php b/controller/feedcontroller.php index 9d7f091bc..e9be7e811 100644 --- a/controller/feedcontroller.php +++ b/controller/feedcontroller.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Controller; diff --git a/controller/folderapicontroller.php b/controller/folderapicontroller.php index 24a7ba151..4e566541c 100644 --- a/controller/folderapicontroller.php +++ b/controller/folderapicontroller.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Controller; diff --git a/controller/foldercontroller.php b/controller/foldercontroller.php index 1e0eea390..bdea99753 100644 --- a/controller/foldercontroller.php +++ b/controller/foldercontroller.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Controller; diff --git a/controller/itemapicontroller.php b/controller/itemapicontroller.php index 7b1852545..533fb2032 100644 --- a/controller/itemapicontroller.php +++ b/controller/itemapicontroller.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Controller; diff --git a/controller/itemcontroller.php b/controller/itemcontroller.php index ff340ce30..ec316aabb 100644 --- a/controller/itemcontroller.php +++ b/controller/itemcontroller.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Controller; diff --git a/controller/pagecontroller.php b/controller/pagecontroller.php index 25caf19e2..5b7cf7ea1 100644 --- a/controller/pagecontroller.php +++ b/controller/pagecontroller.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Controller; diff --git a/core/db.php b/core/db.php index 507f6ed85..beda5240c 100644 --- a/core/db.php +++ b/core/db.php @@ -1,24 +1,14 @@ . + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 */ namespace OCA\News\Core; diff --git a/core/logger.php b/core/logger.php index 68789e94c..3ad6ff23a 100644 --- a/core/logger.php +++ b/core/logger.php @@ -1,24 +1,14 @@ . + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 */ namespace OCA\News\Core; diff --git a/core/settings.php b/core/settings.php index 98392332f..3d3c2dfdb 100644 --- a/core/settings.php +++ b/core/settings.php @@ -1,24 +1,14 @@ . + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 */ namespace OCA\News\Core; diff --git a/db/doesnotexistexception.php b/db/doesnotexistexception.php index a6cdaa19d..ef2e9dd7d 100644 --- a/db/doesnotexistexception.php +++ b/db/doesnotexistexception.php @@ -1,27 +1,16 @@ . + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 */ - namespace OCA\News\Db; diff --git a/db/entity.php b/db/entity.php index 7e1075027..ae781e1e5 100644 --- a/db/entity.php +++ b/db/entity.php @@ -1,25 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Db; diff --git a/db/feed.php b/db/feed.php index 4d7318842..571a25f80 100644 --- a/db/feed.php +++ b/db/feed.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Db; diff --git a/db/feedmapper.php b/db/feedmapper.php index 06267b19d..a69f1fa89 100644 --- a/db/feedmapper.php +++ b/db/feedmapper.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Db; diff --git a/db/feedtype.php b/db/feedtype.php index 530301f61..2539214ed 100644 --- a/db/feedtype.php +++ b/db/feedtype.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Db; diff --git a/db/folder.php b/db/folder.php index 4e388cbe5..747a6eb79 100644 --- a/db/folder.php +++ b/db/folder.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Db; diff --git a/db/foldermapper.php b/db/foldermapper.php index f3bedd70e..017ccd0db 100644 --- a/db/foldermapper.php +++ b/db/foldermapper.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Db; diff --git a/db/iapi.php b/db/iapi.php index 2f4043641..e5de5bd38 100644 --- a/db/iapi.php +++ b/db/iapi.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Db; diff --git a/db/imapper.php b/db/imapper.php index b8332f44c..0cd4123cb 100644 --- a/db/imapper.php +++ b/db/imapper.php @@ -1,26 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Db; diff --git a/db/item.php b/db/item.php index 141c0b8a6..fc193cc5d 100644 --- a/db/item.php +++ b/db/item.php @@ -1,27 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Db; diff --git a/db/itemmapper.php b/db/itemmapper.php index 33b09e357..884405e6b 100644 --- a/db/itemmapper.php +++ b/db/itemmapper.php @@ -1,26 +1,15 @@ . -* -*/ + * ownCloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 + */ namespace OCA\News\Db; diff --git a/db/mapper.php b/db/mapper.php index dae59a84e..bae26910a 100644 --- a/db/mapper.php +++ b/db/mapper.php @@ -1,29 +1,16 @@ . + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. * + * @author Alessandro Cosentino + * @author Bernhard Posselt + * @copyright Alessandro Cosentino 2012 + * @copyright Bernhard Posselt 2012, 2014 */ - namespace OCA\News\Db; use \OCA\News\Core\Db; diff --git a/db/mapperfactory.php b/db/mapperfactory.php index 178e62160..6a1038af0 100644 --- a/db/mapperfactory.php +++