diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2020-08-13 17:26:20 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-13 17:26:20 +0300 |
commit | 432c0a22536a1de1da47802d039816dd548f9971 (patch) | |
tree | fb1516ff3ec87297cc05e890e86615adbeb1cb92 /appinfo | |
parent | 6a4118f9c902ccbe5fc65d3835946b133099e901 (diff) | |
parent | 3f71961f83951f8dda6e1640958ba1b5030468ee (diff) |
Merge branch 'master' into patch-1
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/app.php | 17 | ||||
-rw-r--r-- | appinfo/info.xml | 37 | ||||
-rw-r--r-- | appinfo/routes.php | 26 |
3 files changed, 42 insertions, 38 deletions
diff --git a/appinfo/app.php b/appinfo/app.php deleted file mode 100644 index 6cdc551..0000000 --- a/appinfo/app.php +++ /dev/null @@ -1,17 +0,0 @@ -<?php -declare(strict_types=1); -/** - * @author Lukas Reschke - * @copyright 2014 Lukas Reschke lukas@owncloud.com - * - * This file is licensed under the Affero General Public License version 3 or - * later. - * See the COPYING-README file. - */ - -namespace OCA\Files_PdfViewer\AppInfo; - -use OCP\Util; - -Util::addScript('files_pdfviewer', 'previewplugin'); -Util::addStyle('files_pdfviewer', 'style'); diff --git a/appinfo/info.xml b/appinfo/info.xml index 4b3a0dc..e812f44 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -1,9 +1,10 @@ <?xml version="1.0"?> <info> - <id>files_pdfviewer</id> - <name>PDF viewer</name> - <summary>A pdf viewer for Nextcloud</summary> - <description><![CDATA[This application integrates the PDF.js library into Nextcloud. Using this + <id>files_pdfviewer</id> + <name>PDF viewer</name> + <summary>PDF viewer plugin for Nextcloud</summary> + + <description><![CDATA[This application integrates the PDF.js library into Nextcloud. Using this application users can view their PDF files online without the need to download the file. @@ -14,16 +15,20 @@ will not work with Microsoft® Internet Explorer® versions below 9. PDF.js is a JavaScript library developed by Mozilla, you can learn more about the PDF.js project at [https://mozilla.github.io/pdf.js/](https://mozilla.github.io/pdf.js/)]]></description> - <version>1.3.2</version> - <licence>agpl</licence> - <author>Thomas Müller, Lukas Reschke</author> - <namespace>Files_PdfViewer</namespace> - <category>files</category> - <category>office</category> - <website>https://github.com/nextcloud/files_pdfviewer</website> - <repository type="git">https://github.com/nextcloud/files_pdfviewer.git</repository> - <bugs>https://github.com/nextcloud/files_pdfviewer/issues</bugs> - <dependencies> - <nextcloud min-version="14" max-version="14" /> - </dependencies> + <version>2.0.O</version> + <licence>agpl</licence> + <author mail="skjnldsv@protonmail.com">John Molakvoæ</author> + + <namespace>Files_PDFViewer</namespace> + <default_enable/> + + <category>files</category> + <category>office</category> + <bugs>https://github.com/nextcloud/files_pdfviewer/issues</bugs> + <website>https://github.com/nextcloud/files_pdfviewer</website> + <repository type="git">https://github.com/nextcloud/files_pdfviewer.git</repository> + + <dependencies> + <nextcloud min-version="20" max-version="20" /> + </dependencies> </info> diff --git a/appinfo/routes.php b/appinfo/routes.php index 3cfe624..42ee25b 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -1,15 +1,31 @@ <?php + declare(strict_types=1); + /** - * @author Lukas Reschke * @copyright 2014 Lukas Reschke lukas@owncloud.com * - * This file is licensed under the Affero General Public License version 3 or - * later. - * See the COPYING-README file. + * @author Lukas Reschke <lukas@owncloud.com> + * @author John Molakvoæ <skjnldsv@protonmail.com> + * + * @license GNU AGPL version 3 or any later version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program 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 program. If not, see <http://www.gnu.org/licenses/>. + * */ -namespace OCA\Files_PdfViewer\AppInfo; +namespace OCA\Files_PDFViewer\AppInfo; return ['routes' => [ ['name' => 'display#showPdfViewer', 'url' => '/', 'verb' => 'GET'], |