Mantis-Smime - Encrypted Notification Mails

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
cgrieger
Posts: 10
Joined: 01 Oct 2010, 07:45

Mantis-Smime - Encrypted Notification Mails

Post by cgrieger »

Hi Everyone,

I've created a plugin which I would like to share with the Mantis community.
Mantis-Smime is a plugin which enables the Mantis Bug Tracker to encrypt mail notifications with X.509 certificates. It uses your existing Mantis SMTP configuration. This plugin was developed
for Mantis 1.2.8 but should work in any 1.2.x version of Mantis.
You can find the plugin's source code, an extractable archive and further information here: https://github.com/cgrieger/mantisbt_smime

Regards
Chris
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Mantis-Smime - Encrypted Notification Mails

Post by atrol »

Thanks for the contribution.
Maybe you want to add it to http://www.mantisbt.org/wiki/doku.php/m ... is_plugins ?
Please use Search before posting and read the Manual
cgrieger
Posts: 10
Joined: 01 Oct 2010, 07:45

Re: Mantis-Smime - Encrypted Notification Mails

Post by cgrieger »

Yeah sure, I'll do that.
Could you create the http://www.mantisbt.org/wiki/doku.php/m ... ion_plugin page please?
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Mantis-Smime - Encrypted Notification Mails

Post by atrol »

cgrieger wrote: Could you create the http://www.mantisbt.org/wiki/doku.php/m ... ion_plugin page please?
Done
Please use Search before posting and read the Manual
cgrieger
Posts: 10
Joined: 01 Oct 2010, 07:45

Re: Mantis-Smime - Encrypted Notification Mails

Post by cgrieger »

Thanks, I updated the page.
mindstalker
Posts: 1
Joined: 31 Oct 2014, 15:50

Re: Mantis-Smime - Encrypted Notification Mails

Post by mindstalker »

Tried to install in Mantis 1.2.17 and it doesn't show up in the available plugins list. I have it installed in the plugins directory like all the other plugins. Is there some trick I'm overlooking?
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Mantis-Smime - Encrypted Notification Mails

Post by atrol »

Might be your problem:
Unfortunately the author of the plugin named the repository on Github mantisbt_smime (which might also be the name of the folder that you created under plugin folder)
As the name of the main plugin file is Smime.php the folder name must be exactly Smine (case sensitive on Unix systems)
Please use Search before posting and read the Manual
Mejstro
Posts: 24
Joined: 07 May 2014, 12:07

Re: Mantis-Smime - Encrypted Notification Mails

Post by Mejstro »

Hi,
Thanks for this plugin. I have tried it and made some minor changes for my needs:
1) Translated it to Czech language

Code: Select all

<?php
$s_plugin_smime_title = 'Mantis-S/MIME';
$s_plugin_smime_description = 'Umožňuje odesílat šifrované e-maily.';
$s_plugin_Smime_menu_manage = 'Konfigurace S/MIME';
$s_plugin_smime_add_user_title = 'Přidat certifikát uživateli';
$s_plugin_smime_existing_user_title = 'Uživatelé s certifikátem';
$s_plugin_Smime_delete = 'Smazat';
$s_plugin_Smime_cert_import_error = 'Import certifikátu se nezdařil. Neplatný certifikát!';
$s_plugin_Smime_success = 'Operace proběhla úspěšně.';
$s_plugin_Smime_error = 'Chyba.';
$s_plugin_Smime_test = 'Testovací e-mail';
$s_plugin_Smime_select_certificate_file = 'Vyberte soubor s certifikátem';
$s_plugin_smime_submit = 'Odeslat';
$s_plugin_Smime_user_title = 'Přehled uživatelů';
$s_plugin_Smime_user_action = 'Možnosti uživatele';


$s_plugin_Smime_bugnote = 'Přidána POZNÁMKA k problému.';
$s_plugin_Smime_owner = 'Problém byl PŘIŘAZEN.';
$s_plugin_Smime_new = 'Stav problému byl nastaven jako NOVÝ.';
$s_plugin_Smime_feedback = 'Stav problému byl nastaven jako  REAKCE.';
$s_plugin_Smime_resolved = 'Stav problému byl nastaven jako POTVRZENÝ.';
$s_plugin_Smime_closed = 'Stav problému byl nastaven jako UZAVŘENÝ';
$s_plugin_Smime_reopened = 'Problém byl ZNOVU OTEVŘEN.';
$s_plugin_Smime_deleted = 'Problém byl SMAZÁN.';
$s_plugin_Smime_updated = 'Problém byl AKTUALIZOVÁN.';
$s_plugin_Smime_sponsor = 'Změnilo se SPONZORSTVÍ problému.';
$s_plugin_Smime_relation = 'Byly změněny vztahy problému.';
$s_plugin_Smime_monitor = 'Tento problém je monitorován dalším uživatelem.';
2) Added some translation variables for hardcoded strings

3) Fixed broken link to settings on plugin list
Smime.php, line 14

Code: Select all

$this->page = 'manage_smime_page';
Mejstro
Posts: 24
Joined: 07 May 2014, 12:07

Re: Mantis-Smime - Encrypted Notification Mails

Post by Mejstro »

May I have one more question? Would be possible to allow each user upload his certificate in his profile page?
Thanks for your answer...
Post Reply