Releases: mantisbt-plugins/EmailReporting
EmailReporting v0.10.1
This release fixes several issues. The most important changes are
- MantisBT dropped print_bracket_link in MantisBT 2.11. This required us to change some code so that the "Test" and "Complete test" functionality keeps working properly
- MantisBT 2.12 retired needed functions for realname validation. The validation had been removed from EmailReporting
Please report any bugs that are found here: https://www.mantisbt.org/bugs/bug_report_page.php within the project "Plugin - EmailReporting" or here https://www.mantisbt.org/forums/viewforum.php?f=13
Please extract the attached archive within the /mantisbt/plugins/ folder
Changelog
- Added error if, on installation, 'api/soap/mc_file_api.php' is missing
- Updated english and spanish language files
- STARTTLS encryption only shown when available
- Fix issue with bugnote not triggering reassign (#23708 & #23712)
- Process default custom field values
- Fix PHP 7.2 deprecated function in PEAR MimeDecode package
- Replace print_bracket_link (dropped from MantisBT 2.11)
- Limit the length of the summary (kallelix)
- Update HTTP permissions on the EmailReporting scripts folder
- Use mbstring functions where applicable
- Correct help link for MantisBT doku wiki EmailReporting page
- Removed realname validation (MantisBT 2.12 retired needed functions)
- Fixed issue with URL fix incase of symlinked paths
EmailReporting v0.10.0
This release is fully compatible with MantisBT 2.x.x and drops support for MantisBT 1.2.x
MantisBT 2.1.x introduced markdown support. Support for html to markdown conversion has been added to leverage that feature.
See here for the requirements: http://www.mantisbt.org/wiki/doku.php/mantisbt:plugins:emailreporting#mail_parse_html
Please report any bugs that are found here: https://www.mantisbt.org/bugs/bug_report_page.php within the project "Plugin - EmailReporting" or here https://www.mantisbt.org/forums/viewforum.php?f=13
Please extract the attached archive within the /mantisbt/plugins/ folder
Changelog
- Officially compatible with MantisBT 2.x.x
- Drop support for MantisBT 1.2.x
- Updated PEAR packages: PEAR, Auth_SASL, Net_Socket
- Fixed issue with css path in notification emails
- Added support for processing signed emails (#22153)
- Fixed "Email address without the domain name" option for user/real names (based on work from srh-hochschule-berlin)
- Fixed issues with MimeDecode concerning signed email attachments
- Improved email parser to not parse unsupported content
- Fixed issue with "Test" not reporting issues with login information incase of POP3 mailbox
- SAPI helper link now opens in a new tab/window
- Moved the moment for the mailbox (complete) test
- Refreshed the interface for MantisBT 2.x.x
- Added parameter documentation for the ERP_output_config_option function
- Fixed issue with non-existing reporter user resulting in APPLICATION ERROR #811
- Added check to see whether issue exists before adding attachments
- Standardized the regex for email address searching/validation
- Add support for converting html emails to markdown (MantisBT 2.1.x or later required)
- Added Spanish language file (provided by franksanabria)
- Fixed issue when job_users variable is not an array
- Fixed issue with PHP 7.1.x and PEAR Net_IMAP package
- Debug output will now show moment of new user creations
- Fix call to 'email_relationship_added' when incomming mail on fixed or closed bug
- Remove any invisible unicode control format characters from email body
- When bounce messages are processed, some attachments don't have any body
- Fix issue with directory separators for MantisBT URL fix
EmailReporting v0.9.3.1
This release fixes an issue with MantisBT 1.2.x with a legacy function
This update is only required if you are still running on MantisBT 1.2.x. If you use this update on MantisBT 1.3.x or 2.0.x, it will trigger a deprecated error. This is not an issue as everything still works as intended
Changelog
- Fixed issue with db_get_table and MantisBT 1.2.x (legacy issue)
EmailReporting v0.9.3
This release will be the last to support MantisBT 1.2.x
This release adds preliminary support for MantisBT 2.0.x and ModernUI. The interface still requires some work but reports are saying that EmailReporting seems to work as required
Please report any bugs that are found here: https://www.mantisbt.org/bugs/bug_report_page.php within the project "Plugin - EmailReporting"
Please extract the attached archive within the /mantisbt/plugins/ folder
Changelog
- Preliminary support for MantisBT 2.0.x and ModernUI
- Fix possible fatal error on return value
- Added error when __construct is not run when it should have
- Added fallback in case of an unknown email priority
- Added helper link for scheduled job setup
- Updated mimeDecode pear package to version 337165
- SSL Cert error only shown when ssl_cert_verify is enabled
- Added option that allows restricting access to bug_report_mail when invoked through a webserver (based on work from Chris_Z #21786)
- Fixed deprecated errors in PEAR packages
- Fixed issue with disabled mailboxes and "Create project subfolder structure" (#21856)
- Added clean-up of message ids after issue deletion (#21850)
- Added clean-up of message ids for issues beyond the readonly border (#21850)
- Show IMAP foldername if it could not be created
- Fixed IMAP issue with Exchange and empty folders
- Store references ids from message headers for a better match of new emails to existing bugs (#21851)
- Fixed possible duplication of removed reply text
- Only show removed reply text when the description has changed
- Grouped remove reply options together
- Email body can now be limited to a certain size (#21858)
- Added IMAP folder sort to maintain proper email processing order
- Test and Complete test now also show location of pear error
- Fixed moved functionality concerning reassign_on_feedback
- Added extra check whether the given priority exists
- Test and Complete test now always show result
EmailReporting v0.9.2
This release fixes several issues with MantisBT 1.3.x compatibility and PHP 7 compatibility
There are still some deprecated errors. They will be corrected but they have a low priority since they don't break functionality
Please report any bugs that are found here: https://www.mantisbt.org/bugs/bug_report_page.php within the project "Plugin - EmailReporting"
Please extract the attached archive within the /mantisbt/plugins/ folder
Changelog
- Officially compatible with MantisBT 1.3.x
- Fixed collation check issue with MantisBT 1.3.x
- Modified the user option list to also check user accessible projects
- Show missing user id behind the error in the user option list
- user_is_realname_valid function does not exist in MantisBT 1.3.x
- Changed errors formatting
- Added current mailbox runtime in seconds to debug mode when show memory usage is enabled
- Fixed PHP7 removed functionality in pear package mimeDecode
- Fixed notice level error in pear package mimeDecode
EmailReporting v0.9.1
This release contains minor fixes
Please report any bugs that are found here: https://www.mantisbt.org/bugs/bug_report_page.php within the project "Plugin - EmailReporting"
Please extract the attached archive within the /mantisbt/plugins/ folder
Changelog
- Modified error message incase no valid reporter could be found
- Allow numbers in the anchor name for the help link
- HTML Body will be added as attachment if mail_parse_html is off
- Readme and Changelog renamed
- README.md added for github
- Corrected typo for english language variable input_name_not_allowed
- Added error incase pear.php could not be loaded from the local PEAR repository because of open_basedir
- Fixed issue with IMAP subfolder not being created (#20599)
- Corrected schema to include charset for MySQL
- Net_Socket now force loaded from included pear repository
- IMAPProtocol.php now force loaded from included pear repository
- Process emails from oldest to newest to fix issue with recognizing replies
EmailReporting v0.9.0
Finally a stable version for the 0.9.0 branch of EmailReporting
Please report any bugs that are found here: https://www.mantisbt.org/bugs/bug_report_page.php within the project "Plugin - EmailReporting"
Please extract the attached archive within the /mantisbt/plugins/ folder
Changelog
- Minimum requirement for EmailReporting is now MantisBT 1.2.6
- Officially compatible with MantisBT 1.2.6-1.2.19
- Preliminary compatibility for MantisBT 1.3.x
- Updated pear packages (Fixes issue ~28437)
- New rule system added
- Removed "Mailbox " from mailbox setting descriptions
- Changed the action texts (for example "Add mailbox" to "Add")
- Added default values for form variables to manage_mailbox_edit
- Deleted setting mail_tmp_directory as it was no longer needed
- Replaced the custom file_add method with the mantisconnect file_add equivalent
- Changed the displaying of the memory usage a little bit in debug mode
- Updated readme with description on proper configuration for max_file_size
- Fixed a problem with deleted categories connected to mailboxes (#12719)
- Changed plugin urls
- Small adjustment to error handling of non-existing reporter
- Added documentation links to all configuration options
- Removed job1 and job2 from the language file
- form field output function ERP_output_config_option redesigned for more universal usage
- mailbox index type has been renamed to mailbox_type
- The mailbox indexes for IMAP are now prepended with imap_
- Mailboxes containing disabled projects will be skipped.
- Mailbox project dropdown box now shows all projects
- Added a setting with which the regex can be selected for finding the issue id in the subject (based on zdroyer's work)
- Added option to add the subject of the email in the added note (based on zdroyer's work)
- Fixed the event EVENT_ERP_BUGNOTE_DATA which had no effect on the added note
- Updated README with better explanation on how to install and upgrade EmailReporting
- Added an option to set the realname for new user creations (zdroyer)
- Added a fix for a safemode error
- The regex that searches for the name and email address in the from part of the email has been improved
- Dumping of the current mailbox during debug mode no longer shows while testing the mailbox.
- Error handling improvements on disconnection from IMAP servers
- Check added to see if the mailbox type is valid
- Added a check that shows a warning in the configuration page if their might be a problem with the user account thats running the scheduled job
- USERLEN and REALLEN renamed to DB_FIELD_SIZE_USERNAME and DB_FIELD_SIZE_REALNAME
- Improved the finding of the reporting user
- Fixed issue with form fields when certain html characters were used
- Added html pre tags to make the bug_report_mail output better readable if viewed by a web browser
- Added extra error handling incase deletion of email fails
- Adjusted the moment memory limit and time limit limitations are removed
- Added an extra check to see if the upload directory for attachments exists
- Optimized memory usage a tiny bit during the handling of attachments
- Added check to see if the project for the selected mailbox exists
- Check to see if the category exists for the selected mailbox has been moved
- Added some extra events for showing memory usage in debug mode
- Small improvements to the error handling of attachments
- bug_report_mail will now output the date and time before checking the mailboxes
- Corrected the location of the "Finished process mailbox" event. It started before actually processing the mailbox
- Adjusted the conditions under which the url fix is applied
- Small tweak to Mail reporter user creation during installation
- Moved loading of simple_html_dom.php from mail_api.php to Parser.php
- User last visit date will be updated if they use EmailReporting to create notes and issues
- Improved memory usage during parsing of emails
- Updated simple_html_dom to 1.5
- Some small enhancements to pear_error handling
- Added option to test a single mailbox completely
- Added pear IMAP plugin 1.1.2 (1.1.0 had bugs and would not work with EmailReporting)
- Removed customized pear IMAP 1.0.3 from EmailReporting
- The maximum fetched emails now works per scheduled job execution instead of per mailbox per execution of the scheduled job. This is to save memory
- gpc_get_bool replaced with gpc_get_int in manage_config_edit.php as gpc_get_bool might cause blank values to be stored instead of FALSE or 0
- mail_email_receive_own was using gpc_get_string which should have been gpc_get_int
- Fixed notice level error in ERP_ldap_get_username_from_email
- ERP_ldap_get_username_from_email rebased on ldap_get_field_from_username as there have been some minor changes to the function
- Added a new setting with which the showing of memory usage can be enabled or disabled during debug mode
- username and password variable names have been prepended with erp_ to avoid problems with reauthentication
- ERP_output_config_option will now return an error when username or password variable names are used
- Fixed charset conversion not working as it should for the "From" and "Subject" part of emails
- Increased mbstring supported charsets by adding all aliases using mb_encoding_aliases
- mail_encoding configuration option has been deleted as it was no longer necessary and could only cause miss configurations
- Added a warning that EmailReporting could have problems if the mbstring extension is not available
- The method for temporarily overwriting existing settings has been changed to address project specific settings problems
- Fixed an issue with email notifications not working properly for project specific email notification settings (#15595)
- Pear package Auth_SASL now by default included within the EmailReporting package (#14685 thanks to morgant)
- Added a workaround for Net_IMAP 1.1.x issues with the getMsg function.
- Improved error handling around the getMsg function
- Simplified email address validation function
- Update procedure updated to prevent issues if config_version is deleted
- Improved username and realname handling
- Enabled disposable email address checker, including an option to disable this since MantisBT does not offer this.
- eval replaced with process_complex_value to process mail_bug_priority form property
- Improved checking for changes while processing forms
- Moved several default issue configuration options from _construct to add_bug function to accommodate project specific configuration options
- Improved general error handling methods
- Added strip_signature option (based on work from manilal)
- Changed bug re-open logic (based on work from rolfkleef)
- Parser fix for uppercase ctypes (based on work from rolfkleef)
- Attachment blocking added based on a md5 hash list
- Added feature to remove Gmail style replies in notes
- Added feature to add users from Cc and To list of mail header to issue monitoring list
- Added extra error in case OpenSSL is missing while it is needed
- Added a workaround for Net_IMAP 1.1.x issues with the hasFlag function (used by isDeleted function).
- mail_fetch_max has been removed as it was useless after some memory optimizations
- Fixed Exchange IMAP support
- Added feature to identify notes using Message-ID in mail header. Relate the bugs if Message-ID is already in the database (Refer #16719).
- Added error handling for plugin schema updates
- Incase of empty filenames will try to set the extension based on mimetype
- Fixed IMAP encryption issue in case the default IMAPS port is used
- Corrected variable used for access level of Mail reporter user during installation
- Mail Reporter dropdown list now shows all users
- Added more supported encryptions
- Cast job_users to string to avoid possible issues
- Added extra error handling during selection/creation of imap folder
- Adjusted SIMPLE_HTML_DOM to not strip linewrap endings
- Added STARTTLS support for IMAP
- Added an option to enable or disable SSL certificate verification.
- EmailReporting will now always use the included PEAR packages Net_IMAP and Net_POP3 because of custom modifications applied to them for EmailReporting
- German language file added (JeromyK & roman-1983)
- EmailReporting will now always use the included Mail_mimeDecode package to avoid issues with older versions that might reside on the host system
- Added error message incase there are Collation issues in the database