Install

Works with Drupal: 7.x

Using Composer to manage Drupal site dependencies

Downloads

Download tar.gz 26.18 KB
MD5: e7dee69c68210a7ec2e0dccc72c2f5a1
SHA-1: 5f6d2b57145af7b829c7515b05a3d7a2337f6bd2
SHA-256: 47327191683e3f57f724c7af0df2605e69babc641aab55fabeea7df6d9057c7a
Download zip 33.48 KB
MD5: b657f5af9dbca289c1b6c83065f9e0a3
SHA-1: e87dca6fbd563f1771e7b51004e20a60302218b9
SHA-256: 4a2a35253ca8e919774feff88af75d5ebdce8420745ff46d2fb8b958ac7c697b

Release notes

Highlights:

PLEASE NOTE IF YOU ARE UPGRADING FROM 7.x-1.3:

You will see the following error message when enabling the mandrill_template module:

DatabaseSchemaObjectExistsException:
Table mandrill_template_map already exists.

This is ugly but irrelevant, everything should function normally.

Changes since 7.x-1.3:

  • Rewrote the README to be very clear about installation issues and to cover the template module and other new settings since 1.2.
  • Refactor the alter and mail sending interface to allow for more clarity and flexibility.
  • Change mandrill_template_map_usage_chart() to mandrill_template_map_usage().
  • Resolves issue where template emails would fail to compress array-formatted message bodies.
  • Fixes misplaced parenthesis that was breaking the default application of templates.
  • Misc coding standards.
  • Refactor mandrill_template_mail_alter() and mandrill_template_map_load_by_mailsystem() to streamline code and minimize db calls.
  • Remove index to non-existent column.
  • Remove reference to missing file.
  • Refactoring and cleanup in MandrillMailSystem::mail(), including avoiding the repeat of queued messages.
  • Use the right array index for the from email when sending messages.
  • Refactor mandrill_cron().
  • Set batch_limit variable to accept only positive values.
  • Add an API call for getting Mandrill 'from' information and use throughout.
  • Set Entity API dependency version.
  • Minor coding standard tweaks.
  • Use call_user_func() when calling a variable function name.
  • First pass at coding standards.
  • minor change in hook_mail_alter so that the changes happen when mandrill is the default system.
  • sensible initial default set for From Name.
  • File description updates & README updates.
  • Removed redundant call to drupal_alter (now using hook_mail_alter) and added a check for extra mandrill API variables that might be set by a hook_mail_alter.
  • changes to the way send_function and args are set in mandrill_messages to accomodate change in hook usage.
  • Rewrote message_send_arguments() to accomodate changes to hook utilization. Removed hook_mandrill_mail_alter usage and replaced with hook_mail_alter in mandrill template module.
  • Updated README with installation oddity notes and proper linebreaks
  • Applied fix described in #1942540 to properly handle rich 'to' fields in messages. --author="j0rd "
  • to prevent Mandrill templates from stripping html formatting from html content. #1942680 --author="j0rd "
  • Removed failed attempt to test for pre-existing schema in mandrill_template_chema
  • Added hook_requirements to mandrill.install to make sure we get the mailsystem module enabled.
  • Added installation notes to the readme for the strange errors that occur from 1.3-1.4
  • Updated some other module/key mismatches from the prior naming scheme.
  • Cleaned up some error messaging to handle corner cases.
  • Added link to log message for simplicity.
  • Updated some test functions for the renamed mail key.
  • minor updates to .install hooks to match module changes and clarify comments.
  • Added a configuration option and proceedure in mail to optionally log module/key pairs that are triggering the default, for mailsystem configuration assistance.
  • Replaced references to poorly formatted module_key pair for mandrill_test operations.
  • Fixed hook_mandrill_mail_alter to use the correct index into the mailsystem module_keys, and to check if a default template had been configured.
  • Recreated the from and from_name variables, input form items, and logic around them in the send system.
  • Restructured from & reply-to creation for proper anti-spam behavior & to work around Mandrill API's distaste for multiple "from" addresses.
  • Additional commenting added for recent changes.
  • Added check in mandrill_template_schema to avoid trying to create a schema if it was already created by mandrill v 1.3 before the template module was created
  • Added a check for valid data after retrieving URL list from mandrill API, since it was intermittently returning some invalid data.
  • Commented out Sender data retrieval, which was unused in reports but was eliciting strange API errors
  • Implementing hook_mandrill_mail_alter and associated sender function in mandrill_template.
  • Set mandrill as a dependency for mandrill_template
  • Restructured mandrill_mailsend for simpler function calls and to allow a simple hook to change the message send data. Restructured the mail function to match these changes.
  • Renamed _mandrill_get_module_key_names to mandrill_get_module_key_names and moved into .module so it can be used by other modules.
  • moved mandrill_reports module into the modules folder.
  • Removed mandrill_template_map functions & definitions from main mandrill module
  • Created modules directory & mandrill_template module, moved template_map includes into the template module, created initial versions of module files with copied content from relevant mandrill module functions
Created by: gcb
Created on: 18 Mar 2013 at 22:18 UTC
Last updated: 24 Mar 2014 at 18:54 UTC
New features
Bug fixes
Unsupported

Other releases