diff --git a/README.md b/README.md index cd1c5db..fc54a71 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Roundcube plugin to use Mailvelope's OpenPGP-support -This plugin makes Roundcube webmail use the client-API -of Mailvelope in order to create handle OpenPGP +This plugin makes [Roundcube webmail](https://roundcube.net/) use the client-API +of [Mailvelope](https://www.mailvelope.com/) in order to create handle OpenPGP emails. It's useful only for users that have Mailvelope installed in their browser. Users without Mailvelope won't note any difference. @@ -16,9 +16,11 @@ Confirmed to be working with Roundcube v1.0.x. To use the plugin drop the code into Roundcube's plugins-folder and enable it in Roundcube's config. E.g.: - cd $roundcube/plugins - git clone git://github.com/posteo/mailvelope_client - vim ../config/config.inc.php +```Shell +cd $roundcube/plugins +git clone git://github.com/posteo/mailvelope_client +vim ../config/config.inc.php +``` ## Contribution diff --git a/composer.json b/composer.json index 272ad55..1ac9807 100644 --- a/composer.json +++ b/composer.json @@ -3,20 +3,20 @@ "type": "roundcube-plugin", "description": "Hook Mailvelope's OpenPGP-support in Roundcube", "keywords": ["mail","openpgp"], - "homepage": "http://github.com/posteo/mailvelope_client", - "license": "GPL-3.0+", + "homepage": "https://github.com/posteo/mailvelope_client", + "license": "AGPL-3.0+", "authors": [ { "name": "Enoch Root", "email": "opensource@posteo.de", - "homepage": "http://posteo.de/", + "homepage": "https://posteo.de/", "role": "Developer" } ], "repositories": [ { "type": "composer", - "url": "http://plugins.roundcube.net/" + "url": "https://plugins.roundcube.net/" } ], "require": { diff --git a/mailvelope_client.js b/mailvelope_client.js index 18c2024..aa1c22c 100644 --- a/mailvelope_client.js +++ b/mailvelope_client.js @@ -1,3 +1,20 @@ +/* +Copyright (c) 2015 The "Mailvelope client plugin for Roundcube" Authors + +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 . +*/ + function MailvelopeClient(debug) { // diff --git a/mailvelope_client.php b/mailvelope_client.php index e66713c..ddbd9b4 100644 --- a/mailvelope_client.php +++ b/mailvelope_client.php @@ -1,10 +1,26 @@ . +*/ /** * A client for mailvelopes client-API. * * @copyright Copyright (c) 2015 Posteo e.K - * @license GNU GPLv3+ + * @license AGPLv3+ */ class mailvelope_client extends rcube_plugin { public function init() {