tomolimo, 01/27/2014 04:06 PM
h1. Ticket Cleaner
This plugins provides several features to clean Tickets and Followups at creation time and update time.
It gives the possibility to filter texts at Ticket (or Followup) creation.
And to exclude pictures from Ticket (or Followup) creation (when done via email receiver).
> Copy the folder 'ticketcleaner' into the 'plugins' folder of GLPI installation. Like for any other GLPI plugins.
h3. For Text cleaning
> Filters must be defined directly into the database: there is no web page interface for this (not yet :)).
Use your preferred db query tool to edit content of 'glpi_plugin_ticketcleaner_filters' table.
h3. For Image cleaning
> Image cleaning uses a sub-folder inside 'ticketcleaner' folder. This sub-folder is named 'pictures'.
You will store into this folder all picture files to be excluded from Tickets.
Then when needed, the plugin will load 'on the fly' the Sha1 signature of the picture files from this 'pictures' folder into the database.
The plugin will use these Sha1 signatures to exclude any images attached to emails sent to GLPI.
For each picture files excluded (or not) from emails a message will be logged into the 'TicketCleaner' log files.
*Beware that this log file may grow and may become large enough to prevent correct running of GLPI: then check the size of this file on a regular time basis in order to prevent any stop of GLPI.*