Mantis-Smime - Encrypted Notification Mails

Post about your customizations to share with others.

Moderators: Contributor, Developer

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

Mantis-Smime - Encrypted Notification Mails

Post by cgrieger » Nov 14, 2011 6:02 am

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: 7506
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: Mantis-Smime - Encrypted Notification Mails

Post by atrol » Nov 16, 2011 12:01 pm

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: Oct 01, 2010 2:45 am

Re: Mantis-Smime - Encrypted Notification Mails

Post by cgrieger » Nov 23, 2011 4:39 am

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: 7506
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: Mantis-Smime - Encrypted Notification Mails

Post by atrol » Nov 23, 2011 4:59 am

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: Oct 01, 2010 2:45 am

Re: Mantis-Smime - Encrypted Notification Mails

Post by cgrieger » Nov 23, 2011 5:22 am

Thanks, I updated the page.

mindstalker
Posts: 1
Joined: Oct 31, 2014 10:50 am

Re: Mantis-Smime - Encrypted Notification Mails

Post by mindstalker » Feb 20, 2015 11:00 am

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: 7506
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: Mantis-Smime - Encrypted Notification Mails

Post by atrol » Feb 20, 2015 11:34 am

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: May 07, 2014 7:07 am

Re: Mantis-Smime - Encrypted Notification Mails

Post by Mejstro » Mar 03, 2015 9:25 am

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: May 07, 2014 7:07 am

Re: Mantis-Smime - Encrypted Notification Mails

Post by Mejstro » Mar 03, 2015 11:36 am

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