GithubHelp home page GithubHelp logo

mantisbt-plugins / customizeemailsubject Goto Github PK

View Code? Open in Web Editor NEW
7.0 9.0 5.0 27 KB

Customize Email Subject for MantisBT - This plugin is looking for a new maintainer !

PHP 100.00%
mantisbt-plugin

customizeemailsubject's Introduction

Customize Email Subject plugin for MantisBT

Copyright (c) 2013 eCola GmbH, Heiko Schneider-Lange

Description

CustomizeEmailSubject is a plugin for MantisBT that allows the administrator to alter the subject of the notification emails.

See the Change log.

Installation

Requirements

The plugin requires MantisBT version 2.0.0 or later.

For legacy 1.2.x installations, please download version 0.1.2. MantisBT 1.3.x is not supported.

Setup Instructions

  1. Download or clone a copy of the plugin's code.
  2. Copy the plugin (the CustomizeEmailSubject/ directory) into your Mantis installation's plugins/ directory.
  3. While logged in as an administrator, go to Manage โ†’ Manage Plugins.
  4. In the Available Plugins list, you'll find the CustomizeEmailSubject plugin; click the Install link.
  5. In the Installed Plugins list, click on the CustomizeEmailSubject plugin to configure it.

Configuration

The email subject can be customized on the plugin's config page.

The following variables can be used in combination with any other text, except the pipe symbol (|):

  • project_name
  • bug_id
  • summary
  • handler
  • priority
  • severity
  • reproducibility
  • status
  • resolution
  • projection
  • category
  • reason

The pipe symbol is used to wrap the variables, to separate them from regular text, e.g. [|project_name| |bug_id| |status|]: |summary|.

Support

If you wish to file a bug report, or have questions related to use and installation, please use the plugin's issues tracker on GitHub.

All code contributions (bug fixes, new features and enhancements, translations) are welcome and highly encouraged, preferably as a Pull Request.

The latest source code is available on GitHub.

customizeemailsubject's People

Contributors

atrol avatar dregad avatar langerheiko avatar maturbet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

customizeemailsubject's Issues

Request of new Function for the Subject - add Date

Dear all,

Is there a possibility to include in the code of the plugin the function that in the subject the creation date of the ticket is displayed? We would like the subject to look like this:

  • Ticket created on 2020-05-09 // Ticket ID: 0004563

Mail subject should then look like this: [Ticket#202005090004563]

Thanks in advance!

Regards,
Giuseppe

Minor Issue in plugin configuration page

At line 28 of CustomizeEmailSubject/pages/config.php you have used a short php opening tag.

<input type='text' name="email_subject_template" size="120" value="<? echo plugin_config_get('email_subject_template', '') ?>" />

That prevents the php runtime configured without allowing short tags to show up current database plugin config option and it always shows the default string:

<? echo plugin_config_get('email_subject_template', '') ?>

Consider using a long php opening tag <?php instead of <?

Cheers
Nayadegroup Team Developer

MantisBT 2.x compatibility

Hello,

Eager to try out the CustomizeEmailSubject plug-in; however, the MantisCore requirement makes our current installation (2.5.1) ineligible:

$this->requires = array('MantisCore' => '1.2.14');

Does the plug-in need to be updated to be compatible with a MantisCore installation > 2.0.0?

Thanks,
Ryan.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.