You are here

CHANGELOG.txt in Mass Contact 8

Same filename and directory in other branches
  1. 5.2 CHANGELOG.txt
  2. 6 CHANGELOG.txt
  3. 7 CHANGELOG.txt
2016-09-18 Jason Flatt drupal@oadaeh.net
  * mass_contact.module: Fix dispalying of help text, per Arkener on
    http://drupal.org/node/2555323

2015-06-24 Jason Flatt drupal@oadaeh.net
  * mass_contact.admin.inc, mass_contact.page.inc, mass_contact_role.inc,
    mass_contact_taxonomy.inc: Run category names through check_plain() before
    displaying, per daniel_j.
    The related security advisory is here: http://drupal.org/node/2561951

2014-06-11 Jason Flatt drupal@oadaeh.net
  * README.txt:
    * Added documentation on how to add Taxonomy categories.

2013-08-21 Jason Flatt drupal@oadaeh.net
  * mass_contact.admin.inc, mass_contact.page.inc:
    * Give the admin the choice of using either check boxes or select lists when
      displaying the category list to the message sender. Fixes
      https://drupal.org/node/1061120.

2013-08-13 Jason Flatt drupal@oadaeh.net
  * mass_contact.module, mass_contact.admin.inc, mass_contact.page.inc:
    * Add a mechanism for queuing the messages to be sent during Cron runs.
    * Moved the _mass_contact_send_message() function to mass_contact.module to
      facilitate the queuing.

2013-07-02 Jason Flatt drupal@oadaeh.net
  * README.txt:
    * Added information about the Attachment location for when upgrading from
      6.x, per kruser on https://drupal.org/node/1863640.
  * mass_contact.install:
    * Added a check and conversion of the Attachment location setting for when
      upgrading from 6.x

2013-05-06 Jason Flatt drupal@oadaeh.net
  * mass_contact.page.inc:
    * Fix incorrect variable usage in three places, per denisgre on
      http://drupal.org/node/1987434.

2013-04-16 Jason Flatt drupal@oadaeh.net
  * mass_contact.module:
    * Allow for opting in and out of all categories, per stomachfoot on
      http://drupal.org/node/1969754.
  * mass_contact.page.inc:
    * Fix how the subject is sanitized, so it does not become unreadable, per
      Shadowdare on http://drupal.org/node/1971386.

2013-04-11 Jason Flatt drupal@oadaeh.net
  * mass_contact.page.inc:
    * Potential fixes for http://drupal.org/node/1908260:
      Change the email addresses to have quotes around the name.
      Defaulted the option to include names to no (0).

2013-04-05 Jason Flatt drupal@oadaeh.net
  * mass_contact.page.inc:
    * Check for empty variables before using them. Fix for
      http://drupal.org/node/1962410.

2013-03-29 Jason Flatt drupal@oadaeh.net
  * mass_contact.page.inc:
    * Make use of the $format variable where it was intended to be used.
    * Remove the now unnecessary $node_message variable.
    * Save the message body directly into params, rather than an intermediate
      variable.

2013-02-28 Jason Flatt drupal@oadaeh.net
  * mass_contact.module:
    * Check for empty data value before iterating on it.
      http://drupal.org/node/1919818

2013-02-12 Jason Flatt drupal@oadaeh.net
  * mass_contact.info, mass_contact.install, mass_contact.module,
    mass_contact.admin.inc, mass_contact.page.inc, mass_contact_role.inc,
    mass_contact_taxonomy.inc:
    * Cleaned up based on Drupal coding standards.

2013-01-30 Jason Flatt drupal@oadaeh.net
  * mass_contact.module, mass_contact.admin.inc, mass_contact.page.inc,
    mass_contact_role.inc, mass_contact_taxonomy.inc:
    * Final troubleshooting and bug fixing from the previous changes.
  * mass_contact.page.inc:
    * Run array_unique() on the recipient list, not the category, per zigazou on
      https://drupal.org/node/1795286.

2013-01-27 Jason Flatt drupal@oadaeh.net
  * mass_contact.module, mass_contact.page.inc, mass_contact_role.inc:
    * More troubleshooting and bug fixing from the previous changes.
  * mass_contact.module, mass_contact.page.inc:
    * Convert the body processing to an array, as required by hook_mail(), and
      verify input formats are correctly accounted for.

2013-01-25 Jason Flatt drupal@oadaeh.net
  * mass_contact.module, mass_contact.page.inc, mass_contact_role.inc:
    * Troubleshooting and bug fixing from the previous changes.

2013-01-21 Jason Flatt drupal@oadaeh.net
  * mass_contact.module, mass_contact_role.inc, mass_contact_taxonomy.inc:
    * Continued modification of opting out of selected categories.

2013-01-18 Jason Flatt drupal@oadaeh.net
  * mass_contact.module, mass_contact_role.inc, mass_contact_taxonomy.inc:
    * Modified opting out of selected categories to use the Ctools plugin
      integration.

2013-01-17 Jason Flatt drupal@oadaeh.net
  * mass_contact.module, mass_contact.admin.inc, mass_contact.page.inc,
    mass_contact_role.inc, mass_contact_taxonomy.inc:
    * Cleaned up Ctools plugin integration.

2013-01-14 Jason Flatt drupal@oadaeh.net
  * mass_contact_role.inc:
    * Fix problem when attempting to run a query with an empty variable, per
      arkestra on https://drupal.org/node/1529212 and tutumlum on
      https://drupal.org/node/1855650.
  * mass_contact.module, mass_contact.page.inc:
    * Update some comments.
  * mass_contact_taxonomy.inc: Work around not being able to use OR
    * w/EntityFieldQuery(), per arkestra on https://drupal.org/node/1529212.
  * mass_contact.module:
    * Fix opting out of selected categories (for roles -- needs more work for
      taxonomies), per george esper on https://drupal.org/node/1499440.
  * mass_contact.module:
    * Fix opting back in after opting out of a selected category, per
      https://drupal.org/node/1461560.

2012-11-26 Jason Flatt drupal@oadaeh.net
  * mass_contact.page.inc:
    * Format the user name using to the Drupal API, per tutumlum on
      http://drupal.org/node/1850540

2012-11-20 Jason Flatt drupal@oadaeh.net
  * mass_contact.page.inc:
    * Complete adding the option of including a from and/or to name.
      https://drupal.org/node/574482

2012-10-27 Jason Flatt drupal@oadaeh.net
  * mass_contact.admin.inc:
    * Begin adding the option of including a from and/or to name.

2012-10-23 Jason Flatt drupal@oadaeh.net
  * mass_contact.page.inc:
    * Fix the logic for selecting the from name and email address back to the
      way it was before the security patch went in.
  * mass_contact.admin.inc:
    * Correct misspelling of word.

2012-10-10 Jason Flatt drupal@oadaeh.net
  * mass_contact.module, mass_contact.page.inc:
    * Correct the links to Mass Contact's permissions, per hoersche on
      https://drupal.org/node/1797454

2012-10-09 Jason Flatt drupal@oadaeh.net
  * mass_contact.page.inc:
    * Attempt to fix reported problem w/sender's info being replaced.
      http://drupal.org/node/1793078

2012-10-02 Jason Flatt drupal@oadaeh.net
  * mass_contact.page.inc:
    * Fix problem with retrieving the correct filter format in certain
      situations. http://drupal.org/node/1793078

2012-09-05 Jason Flatt drupal@oadaeh.net
  * mass_contact.page.inc:
    * Added extra permissions checks, per security advisory here:
      http://drupal.org/node/1782832

2012-02-02 Jason Flatt drupal@oadaeh.net
  * mass_contact.page.inc:
    * Made it possible for anonymous users to use this module, per chaloalvarezj
      at http://drupal.org/node/1446506.
    * Removed e-mail addresses from status messages.

2012-02-02 Jason Flatt drupal@oadaeh.net
  * mass_contact.page.inc:
    * Fixed a form field being overwritten by another field of the same name,
      per mjorlitzky at http://drupal.org/node/1423224.
  * mass_contact.admin.inc:
    * Fixed the situation where the admin could not set the prefix to be blank,
      per mjorlitzky at http://drupal.org/node/1423306.
  * plugins/mass_contact_taxonomy.inc:
    * Added a check for an empty variable, per floeschie at
      http://drupal.org/node/1425678.

2011-12-28 Jason Flatt drupal@oadaeh.net
  * mass_contact.page.inc:
    * Fix problem where selecting authenticated users role resulted in no users
      being selected: http://drupal.org/node/1353504
  * mass_contact.admin.inc, mass_contact.info, mass_contact.install,
    mass_contact.module, mass_contact.page.inc, plugins/mass_contact_role.inc,
    plugins/mass_contact_taxonomy.inc
    * Added a method for creating alternate grouping methods, using ctools, by
      ygerasimov: http://drupal.org/node/144343

2011-11-25 Jason Flatt drupal@oadaeh.net
  * mass_contact.page.inc:
    * Due to a syntax bug (http://drupal.org/node/1314372) and a logic bug in
      the opt out selection code, re-thought and re-worked how user selections
      are done.
  * README.txt, mass_contact.info, mass_contact.install, mass_contact.module,
    mass_contact.admin.inc, mass_contact.page.inc:
    * Changed 'e-mail' to 'email', per new standards.

2011-10-13 Jason Flatt drupal@oadaeh.net
  * mass_contact.install:
    * Added an update function to remove the variables that were converted into
      permissions.
  * mass_contact.admin.inc:
    * Renamed the 'Save a copy as a node by default.' administrative setting to
      'Archive messages by saving a copy as a node'. No setting was changed.
  * mass_contact.module, mass_contact.admin.inc, mass_contact.page.inc:
    * Every single permission and several administrative settings have been
      changed, as described below (**** BE SURE TO CLEAR ALL ALL CACHES AT
      admin/config/development/performance AFTER UPDATING. ****):
      * All permission identifiers were changed to have the module name precede
        them.
      * Changed existing permissions names:
        * 'Administer mass contact' is now 'Administer Mass Contact'.
        * 'Attach files to outgoing messages' is now 'Attach files to
          messages'.
      * Converted four administrative settings into permissions (which is what
        they should have been to begin with):
        * 'Allow sender to override BCC setting.' is now 'Override BCC
          setting'.
        * 'Allow sender to override node copy setting.' is now 'Override
          message archival setting'.
        * 'Allow sender to override the text format.' is now 'Override default
          text format'.
        * 'Allow the sender to change these values.' (within the 'Default
          sender information' fieldset) is now 'Change default sender
          information'.
      * Arranged all permissions so that they appear in alphabetized order (in
        English).
  * mass_contact.page.inc:
    * Updated the displayed text and some fields of the main form, based on the
      changes above.

2011-10-12 Jason Flatt drupal@oadaeh.net
  * mass_contact.module, mass_contact.admin.inc, mass_contact.page.inc:
    * Removed more commented out code and updated some comments.

2011-09-28 Jason Flatt drupal@oadaeh.net
  * mass_contact.module, mass_contact.page.inc:
    * Removed unnecessary, commented code.

2011-09-26 Jason Flatt drupal@oadaeh.net
  * mass_contact.page.inc:
    * Fix various syntax and logic errors with getting and setting recipients
      and recipient counts. Added _mass_contact_finalize_headers() and
      _mass_contact_send_message() to help with that.
  * mass_contact.admin.inc, mass_contact.page.inc:
    * Revamped the body and text format code for all aspects and situations.

2011-09-22 Jason Flatt drupal@oadaeh.net
  * mass_contact.page.inc:
    * Fixed setting correct text filter when admin as preselected one and does
      not allow users to change it.

2011-09-21 Jason Flatt drupal@oadaeh.net
  * mass_contact.page.inc:
    * Put in place a work around for the problem with the node not being
      completely saved until a real solution is found (if there is one).

2011-09-20 Jason Flatt drupal@oadaeh.net
  * mass_contact.page.inc:
    * Set a default text format, in case the admin has not done so.
    * Fix preparing the body to account for the text format in an array.
    * Removed message formatting from within the code.
  * mass_contact.page.inc, mass_contact.admin.inc:
    * Added text formatting to body and addons. Hopefully, this fixes
      http://drupal.org/node/1277192.

2011-09-17 Jason Flatt drupal@oadaeh.net
  * mass_contact.page.inc:
    * Fix problem w/message body and clean up how addons are displayed with
      body.
    * Made a bunch of changes in how attachments are dealth with and how the
      archived node is saved.
    * Fixed "Additional information for Mass Contact form" text not showing on
      form (http://drupal.org/node/1277184).

2011-09-16 Jason Flatt drupal@oadaeh.net
  * mass_contact.admin.inc:
    * Changed where and how the attachements directory is dealth with.

2011-09-08 Jason Flatt drupal@oadaeh.net
  * mass_contact.install:
    * Added some missing descriptions.

2011-08-29 Jason Flatt drupal@oadaeh.net
  * mass_contact.module:
    * Actually save the opt out information on the user profile.

2011-08-29 Jason Flatt drupal@oadaeh.net
  * mass_contact.admin.inc, mass_contact.page.inc:
    * Fix the rest of sending w/o Mime Mail that broke getting it to work
      w/Mime Mail (http://drupal.org/node/1262178 by oadaeh).

2011-08-28 Jason Flatt drupal@oadaeh.net
  * mass_contact.admin.inc, mass_contact.page.inc:
    * Fix sending w/o Mime Mail that broke getting it to work w/Mime Mail
      (http://drupal.org/node/1262178 by oadaeh).

2011-08-27 Jason Flatt drupal@oadaeh.net
  * mass_contact.admin.inc, mass_contact.page.inc:
    * Now sends HTML and attachments using the Mime Mail module.

2011-08-26 Jason Flatt drupal@oadaeh.net
  * mass_contact.page.inc:
    * Fix sending with Mime Mail. Still need to format the message correctly.
    * Removed unnecessary and unused code.

2011-08-24 Jason Flatt drupal@oadaeh.net
  * README.txt:
    * Fix some wording in the Troubleshooting section.

2011-08-24 Jason Flatt drupal@oadaeh.net
  * mass_contact.admin.inc, mass_contact.page.inc:
    * Fixed and simplified how text formats work for the default text format,
      since Drupal doesn't have the provision for allowing one to specify the
      list of available text formats through FAPI (if at all).
  * mass_contact.admin.inc:
    * Simplified the code behind the message prefix and suffix fields.
  * mass_contact.page.inc:
    * Account for more options whan setting $from_name and $from_email.

2011-08-19 Jason Flatt drupal@oadaeh.net
  * mass_contact.module:
    * Modified mass_contact_form_user_profile_form_alter() so that editing a
      user other than the currently logged in user shows the correct assigned
      categories.
  * mass_contact.module, README.txt:
    * Extensively modified the various help texts to be more readable and to
      reflect reality.
  * mass_contact.page.inc:
    * Updated error messages to point to the help texts.
  * mass_contact.admin.inc:
    * Fixed how text formats for the prefix, suffix and default HTML filter
      settings work.

2011-08-18 Jason Flatt drupal@oadaeh.net
  * mass_contact.page.inc:
    * Changed a couple of t() @ placeholders back to !.

2011-08-12 Jason Flatt drupal@oadaeh.net
  * mass_contact.module, mass_contact.admin.inc, mass_contact.page.inc:
    * Changed t() ! placeholders to @.
  * mass_contact.page.inc:
    * Added t() to a few l()s that did not have it.
    * Removed HTML output for Headers node field.
    * Moved $message_addon variable assignment inside the check for valid data.
  * mass_contact.install:
    * Changed the widgets for the Headers and Result fields to textarea.

2011-05-16 Jason Flatt drupal@oadaeh.net
  * mass_contact.module:
    * Converted the "Hourly threshold" setting from a select box to a text
      field, so that people can specify the exact number they want.
    * Moved the configuration menu structure from admin/structure to
      admin/config/system.
    * Removed administrative task list at the bottom of the main Mass Contact
      page.
    * Refactored the main send function.
  * HEAD.txt:
    * Removed file.
  * TODO.txt:
    * Removed file.

2011-04-23 Jason Flatt drupal@oadaeh.net
  * mass_contact.module:
    * Began the update to Drupal 7.
    * Pulled the administrative functions out into their own file.
    * Pulled the actual Mass Contact form and realted functions out into their
      own file.

2010-10-08 Jason Flatt drupal@oadaeh.net
  * mass_contact.module: Fixed problem with input formats not displaying
    correctly (http://drupal.org/node/294433, http://drupal.org/node/934222).
    Added an administrative option to specify when to check the HTML markup
    (http://drupal.org/node/468464).
    Converted several function calls to variables in the code ralated to the
    above activity to reduce the amount of processing needed and to improve
    the readability of the code.
    Fixed a bug (unrelated to the first item) with selecting the wrong input
    filter when building the message body.
    Fixed a problem when showing opt out options for users that are not a part
    of any categories (http://drupal.org/node/812518). Also, removed the when
    users may opt out as part of this fix.
    Added the ability for site administrator to specify what they want their
    opt-out message to say.

2010-10-05 Jason Flatt drupal@oadaeh.net
  * mass_contact.module: Removed reference to max_file_uploads, as it's only
    in newer versions of PHP.

2010-08-30 Jason Flatt drupal@oadaeh.net
  * mass_contact.install: Fix variable deletion query.

2010-08-27 Jason Flatt drupal@oadaeh.net
  * mass_contact.module: Correct the way a node type is created
    (http://drupal.org/node/894696).

2010-08-26 Jason Flatt drupal@oadaeh.net
  * mass_contact.install: Made variable removal encompassing during uninstall.
  * mass_contact.module: Make the closing boundary line the correct format.
    Removed some unnecessary CR/LFs.

2010-08-22 Jason Flatt drupal@oadaeh.net
  * mass_contact.module: Made the field for maximum recipients larger.
    Removed the setting of the weight for the send to self option, so that it
    wasn't all the way at the bottom of the main message form.
    Made the main menu link enabled by default.
  * README.txt: Updated the documentation, so that it was current and
    accurate. Also included a number of user recommendations.

2010-08-21 Jason Flatt drupal@oadaeh.net
  * mass_contact.module: Changed attachment behavior to allow multiple
    attachments, the number being defined by the system administrator.
    In doing the above, updated and/or fixed various MIME behaviors and/or
    settings.
    Made message attachments actual file attachments when saving the message
    as a node.
    Removed hard coded node settings when saving a node, per dabro in
    http://drupal.org/node/889846.

2010-05-11 Jason Flatt drupal@oadaeh.net
  * mass_contact.module: Separated the administrative settings page into
    three pages.
  * mass_contact.module, mass_contact.install: Added the ability to specify
    the input format for the message prefix, the user's message text, and the
    message suffix, along with allowing the user to change the input format
    for the user's message text or not.

2010-04-30 Jason Flatt drupal@oadaeh.net
  * mass_contact.module: Added the option to specify when to allow opting out
    of mass e-mails. This takes care of this feature request:
    http://drupal.org/node/354689.

2010-04-30 Jason Flatt drupal@oadaeh.net
  * mass_contact.module: Added code to be compatible with the Admin Role
    module (http://drupal.org/project/adminrole), per jim0203 and lyricnz in
    http://drupal.org/node/586870.

2010-04-30 Jason Flatt drupal@oadaeh.net
  * mass_contact.install: Corrected the default values for two database
    fields, per Nigeria and lyricnz in http://drupal.org/node/526130.

2010-04-30 Jason Flatt drupal@oadaeh.net
  * mass_contact.module: Added code to get around Drupal reformatting the
    body during the sending of the message, per hotspoons in
    http://drupal.org/node/473838.

2009-08-19 Jason Flatt drupal@oadaeh.net
  * mass_contact.module: Split a line in mass_contact_admin_delete() to avoid
    a possible accidental assignment.
    Added an "else" when checking for the number of recipients so that an
    error would not occur, due to the module attempting to send the e-mail
    even when there are no recipients, per mellenburg and drupalok in
    http://drupal.org/node/460648. Also changed the error message to include
    the category in question for less ambiguity.
    Pulled the send copy to self functionality out of the normal send process
    so that it would be sent even if there were no recipients (due to the
    above fix).
    Added a link to the logs in the error messages, for users who have
    permission to view them.

2009-08-18 Jason Flatt drupal@oadaeh.net
  * mass_contact.install: Added a field name correction to account for code
    change a long time ago, per sharplesa and MrWerewolf in
    http://drupal.org/node/371285.
  * mass_contact.module: Changed how user roles were being iterated through
    in order to fix http://drupal.org/node/543942, per ed523.

2009-03-13 Jason Flatt drupal@oadaeh.net
  * mass_contact.module: Added the ability to opt out of specific categories.
    Changed some of the text messages to use consistent wording and/or case.
    Fixed how the mass contact message content type is managed.

2009-03-11 Jason Flatt drupal@oadaeh.net
  * mass_contact.install: Added some missing variables in the uninstall
    routine.
  * mass_contact.module: Added a check for an empty menu item in
    mass_contact_menu_alter(), per cYu in http://drupal.org/node/375815.
    Fixed a bug where single categories were not being selected by default,
    per ProfStein in http://drupal.org/node/394318.

2008-10-23 Jason Flatt drupal@oadaeh.net
  * mass_contact.module: Tested and fixed problems with work around for
    http://drupal.org/node/227966.
    Changed the $from variable to $from_email and added $from_name to go
    along with it.
    Tweaked when to send self a copy, by not sending when the recipient list
    is in the BCC field and only sending at the end if the recipient list is
    being broken up.
  * README.txt: Removed note about Mime Mail.

2008-08-09 Jason Flatt drupal@oadaeh.net
  * mass_contact.module: Created a work around for
    http://drupal.org/node/227966, per compuguru and karlcw on
    http://drupal.org/node/290913.

2008-08-06 Jason Flatt drupal@oadaeh.net
  * mass_contact.module: Changed the way multipart messages are handled to
    include plain text parts with HTML messages.

2008-08-01 Jason Flatt drupal@oadaeh.net
  * mass_contact.module: Added checks for the message prefix and suffix to
    all areas where they're included, so they aren't added when they don't
    exist.
    Made the message form field larger.
    Added input formatting to the body of the message, per akolahi on
    http://drupal.org/node/231369.
    Removed extra spaces in task list items.
  * README.txt: Updated with a note about Mime Mail.
  * TODO.txt: Updated.

2008-07-31 Jason Flatt drupal@oadaeh.net
  * mass_contact.module: Fixed a bug where I forgot to change the
    $headers['Bcc'] variable to $params['headers']['Bcc'], per ulf1 on
    http://drupal.org/comment/reply/289229.
    Commented out all references to the Mime Mail module.
    Changed the $cids vaiable from a string to an array in lines 1140 through
    1143 in order for the db_placeholders() function in line 1145 to work
    correctly.

2008-07-29 Jason Flatt drupal@oadaeh.net
  * mass_contact.module: Added administrative options for forcing the HTML
    and node options, per skizzo on http://drupal.org/node/145940.
    Added a self copy option, per josvl on http://drupal.org/node/170928.
    Added an administrative option to allow or disalllow the sender to change
    the default name and e-mail address, per saul11 on
    http://drupal.org/node/143911#comment-683219.
    Added an administrative option to allow the charset to be specified, per
    jarihj on http://drupal.org/node/182903.
    Added permissions to send messages based on category, per silverd/csilver
    on http://drupal.org/node/270423.

2008-07-20 Jason Flatt drupal@oadaeh.net
  * translations/mass_contact.pot: Added.

2008-07-18 Jason Flatt drupal@oadaeh.net
  * mass_contact.module: Slight change to the wording of an error message.
    Changed the way the "Related tasks" texts are generated to hopefully help
    with translations and themeing, per meible on
    http://drupal.org/node/243292.
    Added and changed permissions per joachim in
    http://drupal.org/node/263156.

2008-07-06 Jason Flatt drupal@oadaeh.net
  * mass_contact.module: Changed how the message headers get updated.
    Slightly modified how the body is created for sending through Mime Mail
    (even though there is currently no Drupal 6.x compatible release of it).

2008-07-04 Jason Flatt drupal@oadaeh.net
  * mass_contact.module: Corrected error checking for when sending.
    Changed the node body variable to the correct one for saving attachments.
    Changed how the body array is created and edited.

2008-06-11 Jason Flatt drupal@oadaeh.net
  * mass_contact.module: More code updating to Drupal 6.x.
    Fixed a bug where an extra category was selected by default.
  * mass_contact.install: Added @file comment.

2008-06-10 Jason Flatt drupal@oadaeh.net
  * mass_contact.module: Documented the functions.
    Created separate function (_mass_contact_create_node_type()) for the
    creation of the node type.
    Made mass_contact_save_node() a private function.
    Removed the return value from mass_contact_save_node() since it always
    returned TRUE and never anything else.

2008-06-05 Jason Flatt drupal@oadaeh.net
  * mass_contact.module: More code cleanup.

2008-06-04 Jason Flatt drupal@oadaeh.net
  * mass_contact.install, mass_contact.module: Continued on upgrade to Drupal
    6.x.
    Code cleanup, based on PHP's E_ALL.

2008-05-28 Jason Flatt drupal@oadaeh.net
  * mass_contact.module, TODO.txt: Continued on upgrade to Drupal 6.x.

2008-05-23 Jason Flatt drupal@oadaeh.net
  * TODO.txt: Removed completed items.
  * mass_contact.module: Changed four watchdog messages to be translatable.
  * All: Started upgrade to Drupal 6.x.

2008-04-18 Jason Flatt drupal@oadaeh.net
  * mass_contact.module: Changed variable name from mass_contact_HTML_d to
    html_d.
    Changed how an HTML and plain text message are formed, taking into
    account the Mime Mail module.
    Added information about the formatting of HTML messages as descriptions
    for the checkboxes that enable HTML e-mails.

2008-04-15 Jason Flatt drupal@oadaeh.net
  * mass_contact.module: Tweaked the output of a log message.

2008-04-06 Jason Flatt drupal@oadaeh.net
  * mass_contact.module: Clean up based on the Code Review module and the
    ./code-style.pl script: Changed "<br>" to "<br />". Changed "!=" to "<>"
    in three SQL querues.

2008-02-22 Jason Flatt drupal@oadaeh.net
  * mass_contact.module: Modified the help text displayed for tokens to only
    show global tokens as nothing else will work at the time the tokens are
    being applied. In order to get user tokens to work, all messages would
    have to be sent out one-at-a-time to each recipient.

2008-02-17 Jason Flatt drupal@oadaeh.net
  * mass_contact.module: Changed how attachments are handled if Mime Mail is
    installed.

2008-01-23 Jason Flatt drupal@oadaeh.net
  * mass_contact.module: Made SQL query change for PostgreSQL: compatibility.
    Issue and fix reported by larsfp here: http://drupal.org/node/198778
    Changed attachment save operation from FILE_EXISTS_REPLACE to
    FILE_EXISTS_RENAME.
    Changed the help text to work with POT extractor as reported by skizzo
    here: http://drupal.org/node/176345

2008-01-22 Jason Flatt drupal@oadaeh.net
  * mass_contact.module: Removed the code to check for the SMTP module.
    Changed the recipients' e-mail addresses from $rnamea ." <". $rmaila .">"
    to $rmaila.
    Modified the way the attachment is added to the message.
    Changed the way the attachment is saved with the node to address
    http://drupal.org/node/155229.

2007-11-11 Jason Flatt drupal@oadaeh.net
  * mass_contact.module: Changed the default value for showing the opt-out
    check box from true to false.

2007-11-02 Jason Flatt drupal@oadaeh.net
  * mass_contact.module: Commented out the SMTP Auth. module specific code.

2007-10-31 Jason Flatt drupal@oadaeh.net
  * mass_contact.module: Removed denugging line, thanks to this notice:
    http://drupal.org/node/188308

2007-10-20 Jason Flatt drupal@oadaeh.net
  * mass_contact.module: Removed a forgotten extrapolation where the Token
    module was being used.

2007-09-12 Jason Flatt drupal@oadaeh.net
  * mass_contact.module: Fixed the fact that multiple categories were not
    being mailed to (which is what delayed the previous changes from getting
    into CVS).
    Fixed two places (in the area where there is a limit on the number of
    recipients) where I was not checking for a valid header before sending the
    e-mail. Thanks to sharplesa for alerting me to this oversight:
    http://drupal.org/node/173987
    Removed translation functions in areas that didn't work, as reported by
    skizzo in this comment: http://drupal.org/node/145940#comment-284484
  * TODO.txt: Added for notes and reminders on things to do.

2007-09-01 Jason Flatt drupal@oadaeh.net
  * CHANGELOG.txt: Added.
  * mass_contact.module: The community has spoken: reverting all constants to
    upper case.
    Removed an uncessary validation check in mass_contact_admin_edit_validate.
    Added periods at the end of a few sentences.
    Moved code to inform user about node creation inside the check to do it in
    the first place.
    Changed the way creating categories works so that multiple categories can
    be selected by default, and the mail page will respect those choices.
    Added the two feature requests listed here: http://drupal.org/node/170837,
    namely, hiding the categories checkbox, if there is only one category, and
    it is set as selected, and showing descriptive text instead of the BCC
    checkbox, if users are not allowed to change the setting.
    Rearranged the admin settings and the mail page, so that they flowed more
    like a standard e-mail sending form.
    Tweaked a few things here and there (text, punctuation, etc.).
    Added more commenting to the code. There's still more to do.
    Probably some other stuff I forgot about.  :^)  (This was supposed to be a
    quick change to a couple of things that ended up being a much bigger
    update that took a lot longer.)

File

CHANGELOG.txt
View source
  1. 2016-09-18 Jason Flatt drupal@oadaeh.net
  2. * mass_contact.module: Fix dispalying of help text, per Arkener on
  3. http://drupal.org/node/2555323
  4. 2015-06-24 Jason Flatt drupal@oadaeh.net
  5. * mass_contact.admin.inc, mass_contact.page.inc, mass_contact_role.inc,
  6. mass_contact_taxonomy.inc: Run category names through check_plain() before
  7. displaying, per daniel_j.
  8. The related security advisory is here: http://drupal.org/node/2561951
  9. 2014-06-11 Jason Flatt drupal@oadaeh.net
  10. * README.txt:
  11. * Added documentation on how to add Taxonomy categories.
  12. 2013-08-21 Jason Flatt drupal@oadaeh.net
  13. * mass_contact.admin.inc, mass_contact.page.inc:
  14. * Give the admin the choice of using either check boxes or select lists when
  15. displaying the category list to the message sender. Fixes
  16. https://drupal.org/node/1061120.
  17. 2013-08-13 Jason Flatt drupal@oadaeh.net
  18. * mass_contact.module, mass_contact.admin.inc, mass_contact.page.inc:
  19. * Add a mechanism for queuing the messages to be sent during Cron runs.
  20. * Moved the _mass_contact_send_message() function to mass_contact.module to
  21. facilitate the queuing.
  22. 2013-07-02 Jason Flatt drupal@oadaeh.net
  23. * README.txt:
  24. * Added information about the Attachment location for when upgrading from
  25. 6.x, per kruser on https://drupal.org/node/1863640.
  26. * mass_contact.install:
  27. * Added a check and conversion of the Attachment location setting for when
  28. upgrading from 6.x
  29. 2013-05-06 Jason Flatt drupal@oadaeh.net
  30. * mass_contact.page.inc:
  31. * Fix incorrect variable usage in three places, per denisgre on
  32. http://drupal.org/node/1987434.
  33. 2013-04-16 Jason Flatt drupal@oadaeh.net
  34. * mass_contact.module:
  35. * Allow for opting in and out of all categories, per stomachfoot on
  36. http://drupal.org/node/1969754.
  37. * mass_contact.page.inc:
  38. * Fix how the subject is sanitized, so it does not become unreadable, per
  39. Shadowdare on http://drupal.org/node/1971386.
  40. 2013-04-11 Jason Flatt drupal@oadaeh.net
  41. * mass_contact.page.inc:
  42. * Potential fixes for http://drupal.org/node/1908260:
  43. Change the email addresses to have quotes around the name.
  44. Defaulted the option to include names to no (0).
  45. 2013-04-05 Jason Flatt drupal@oadaeh.net
  46. * mass_contact.page.inc:
  47. * Check for empty variables before using them. Fix for
  48. http://drupal.org/node/1962410.
  49. 2013-03-29 Jason Flatt drupal@oadaeh.net
  50. * mass_contact.page.inc:
  51. * Make use of the $format variable where it was intended to be used.
  52. * Remove the now unnecessary $node_message variable.
  53. * Save the message body directly into params, rather than an intermediate
  54. variable.
  55. 2013-02-28 Jason Flatt drupal@oadaeh.net
  56. * mass_contact.module:
  57. * Check for empty data value before iterating on it.
  58. http://drupal.org/node/1919818
  59. 2013-02-12 Jason Flatt drupal@oadaeh.net
  60. * mass_contact.info, mass_contact.install, mass_contact.module,
  61. mass_contact.admin.inc, mass_contact.page.inc, mass_contact_role.inc,
  62. mass_contact_taxonomy.inc:
  63. * Cleaned up based on Drupal coding standards.
  64. 2013-01-30 Jason Flatt drupal@oadaeh.net
  65. * mass_contact.module, mass_contact.admin.inc, mass_contact.page.inc,
  66. mass_contact_role.inc, mass_contact_taxonomy.inc:
  67. * Final troubleshooting and bug fixing from the previous changes.
  68. * mass_contact.page.inc:
  69. * Run array_unique() on the recipient list, not the category, per zigazou on
  70. https://drupal.org/node/1795286.
  71. 2013-01-27 Jason Flatt drupal@oadaeh.net
  72. * mass_contact.module, mass_contact.page.inc, mass_contact_role.inc:
  73. * More troubleshooting and bug fixing from the previous changes.
  74. * mass_contact.module, mass_contact.page.inc:
  75. * Convert the body processing to an array, as required by hook_mail(), and
  76. verify input formats are correctly accounted for.
  77. 2013-01-25 Jason Flatt drupal@oadaeh.net
  78. * mass_contact.module, mass_contact.page.inc, mass_contact_role.inc:
  79. * Troubleshooting and bug fixing from the previous changes.
  80. 2013-01-21 Jason Flatt drupal@oadaeh.net
  81. * mass_contact.module, mass_contact_role.inc, mass_contact_taxonomy.inc:
  82. * Continued modification of opting out of selected categories.
  83. 2013-01-18 Jason Flatt drupal@oadaeh.net
  84. * mass_contact.module, mass_contact_role.inc, mass_contact_taxonomy.inc:
  85. * Modified opting out of selected categories to use the Ctools plugin
  86. integration.
  87. 2013-01-17 Jason Flatt drupal@oadaeh.net
  88. * mass_contact.module, mass_contact.admin.inc, mass_contact.page.inc,
  89. mass_contact_role.inc, mass_contact_taxonomy.inc:
  90. * Cleaned up Ctools plugin integration.
  91. 2013-01-14 Jason Flatt drupal@oadaeh.net
  92. * mass_contact_role.inc:
  93. * Fix problem when attempting to run a query with an empty variable, per
  94. arkestra on https://drupal.org/node/1529212 and tutumlum on
  95. https://drupal.org/node/1855650.
  96. * mass_contact.module, mass_contact.page.inc:
  97. * Update some comments.
  98. * mass_contact_taxonomy.inc: Work around not being able to use OR
  99. * w/EntityFieldQuery(), per arkestra on https://drupal.org/node/1529212.
  100. * mass_contact.module:
  101. * Fix opting out of selected categories (for roles -- needs more work for
  102. taxonomies), per george esper on https://drupal.org/node/1499440.
  103. * mass_contact.module:
  104. * Fix opting back in after opting out of a selected category, per
  105. https://drupal.org/node/1461560.
  106. 2012-11-26 Jason Flatt drupal@oadaeh.net
  107. * mass_contact.page.inc:
  108. * Format the user name using to the Drupal API, per tutumlum on
  109. http://drupal.org/node/1850540
  110. 2012-11-20 Jason Flatt drupal@oadaeh.net
  111. * mass_contact.page.inc:
  112. * Complete adding the option of including a from and/or to name.
  113. https://drupal.org/node/574482
  114. 2012-10-27 Jason Flatt drupal@oadaeh.net
  115. * mass_contact.admin.inc:
  116. * Begin adding the option of including a from and/or to name.
  117. 2012-10-23 Jason Flatt drupal@oadaeh.net
  118. * mass_contact.page.inc:
  119. * Fix the logic for selecting the from name and email address back to the
  120. way it was before the security patch went in.
  121. * mass_contact.admin.inc:
  122. * Correct misspelling of word.
  123. 2012-10-10 Jason Flatt drupal@oadaeh.net
  124. * mass_contact.module, mass_contact.page.inc:
  125. * Correct the links to Mass Contact's permissions, per hoersche on
  126. https://drupal.org/node/1797454
  127. 2012-10-09 Jason Flatt drupal@oadaeh.net
  128. * mass_contact.page.inc:
  129. * Attempt to fix reported problem w/sender's info being replaced.
  130. http://drupal.org/node/1793078
  131. 2012-10-02 Jason Flatt drupal@oadaeh.net
  132. * mass_contact.page.inc:
  133. * Fix problem with retrieving the correct filter format in certain
  134. situations. http://drupal.org/node/1793078
  135. 2012-09-05 Jason Flatt drupal@oadaeh.net
  136. * mass_contact.page.inc:
  137. * Added extra permissions checks, per security advisory here:
  138. http://drupal.org/node/1782832
  139. 2012-02-02 Jason Flatt drupal@oadaeh.net
  140. * mass_contact.page.inc:
  141. * Made it possible for anonymous users to use this module, per chaloalvarezj
  142. at http://drupal.org/node/1446506.
  143. * Removed e-mail addresses from status messages.
  144. 2012-02-02 Jason Flatt drupal@oadaeh.net
  145. * mass_contact.page.inc:
  146. * Fixed a form field being overwritten by another field of the same name,
  147. per mjorlitzky at http://drupal.org/node/1423224.
  148. * mass_contact.admin.inc:
  149. * Fixed the situation where the admin could not set the prefix to be blank,
  150. per mjorlitzky at http://drupal.org/node/1423306.
  151. * plugins/mass_contact_taxonomy.inc:
  152. * Added a check for an empty variable, per floeschie at
  153. http://drupal.org/node/1425678.
  154. 2011-12-28 Jason Flatt drupal@oadaeh.net
  155. * mass_contact.page.inc:
  156. * Fix problem where selecting authenticated users role resulted in no users
  157. being selected: http://drupal.org/node/1353504
  158. * mass_contact.admin.inc, mass_contact.info, mass_contact.install,
  159. mass_contact.module, mass_contact.page.inc, plugins/mass_contact_role.inc,
  160. plugins/mass_contact_taxonomy.inc
  161. * Added a method for creating alternate grouping methods, using ctools, by
  162. ygerasimov: http://drupal.org/node/144343
  163. 2011-11-25 Jason Flatt drupal@oadaeh.net
  164. * mass_contact.page.inc:
  165. * Due to a syntax bug (http://drupal.org/node/1314372) and a logic bug in
  166. the opt out selection code, re-thought and re-worked how user selections
  167. are done.
  168. * README.txt, mass_contact.info, mass_contact.install, mass_contact.module,
  169. mass_contact.admin.inc, mass_contact.page.inc:
  170. * Changed 'e-mail' to 'email', per new standards.
  171. 2011-10-13 Jason Flatt drupal@oadaeh.net
  172. * mass_contact.install:
  173. * Added an update function to remove the variables that were converted into
  174. permissions.
  175. * mass_contact.admin.inc:
  176. * Renamed the 'Save a copy as a node by default.' administrative setting to
  177. 'Archive messages by saving a copy as a node'. No setting was changed.
  178. * mass_contact.module, mass_contact.admin.inc, mass_contact.page.inc:
  179. * Every single permission and several administrative settings have been
  180. changed, as described below (**** BE SURE TO CLEAR ALL ALL CACHES AT
  181. admin/config/development/performance AFTER UPDATING. ****):
  182. * All permission identifiers were changed to have the module name precede
  183. them.
  184. * Changed existing permissions names:
  185. * 'Administer mass contact' is now 'Administer Mass Contact'.
  186. * 'Attach files to outgoing messages' is now 'Attach files to
  187. messages'.
  188. * Converted four administrative settings into permissions (which is what
  189. they should have been to begin with):
  190. * 'Allow sender to override BCC setting.' is now 'Override BCC
  191. setting'.
  192. * 'Allow sender to override node copy setting.' is now 'Override
  193. message archival setting'.
  194. * 'Allow sender to override the text format.' is now 'Override default
  195. text format'.
  196. * 'Allow the sender to change these values.' (within the 'Default
  197. sender information' fieldset) is now 'Change default sender
  198. information'.
  199. * Arranged all permissions so that they appear in alphabetized order (in
  200. English).
  201. * mass_contact.page.inc:
  202. * Updated the displayed text and some fields of the main form, based on the
  203. changes above.
  204. 2011-10-12 Jason Flatt drupal@oadaeh.net
  205. * mass_contact.module, mass_contact.admin.inc, mass_contact.page.inc:
  206. * Removed more commented out code and updated some comments.
  207. 2011-09-28 Jason Flatt drupal@oadaeh.net
  208. * mass_contact.module, mass_contact.page.inc:
  209. * Removed unnecessary, commented code.
  210. 2011-09-26 Jason Flatt drupal@oadaeh.net
  211. * mass_contact.page.inc:
  212. * Fix various syntax and logic errors with getting and setting recipients
  213. and recipient counts. Added _mass_contact_finalize_headers() and
  214. _mass_contact_send_message() to help with that.
  215. * mass_contact.admin.inc, mass_contact.page.inc:
  216. * Revamped the body and text format code for all aspects and situations.
  217. 2011-09-22 Jason Flatt drupal@oadaeh.net
  218. * mass_contact.page.inc:
  219. * Fixed setting correct text filter when admin as preselected one and does
  220. not allow users to change it.
  221. 2011-09-21 Jason Flatt drupal@oadaeh.net
  222. * mass_contact.page.inc:
  223. * Put in place a work around for the problem with the node not being
  224. completely saved until a real solution is found (if there is one).
  225. 2011-09-20 Jason Flatt drupal@oadaeh.net
  226. * mass_contact.page.inc:
  227. * Set a default text format, in case the admin has not done so.
  228. * Fix preparing the body to account for the text format in an array.
  229. * Removed message formatting from within the code.
  230. * mass_contact.page.inc, mass_contact.admin.inc:
  231. * Added text formatting to body and addons. Hopefully, this fixes
  232. http://drupal.org/node/1277192.
  233. 2011-09-17 Jason Flatt drupal@oadaeh.net
  234. * mass_contact.page.inc:
  235. * Fix problem w/message body and clean up how addons are displayed with
  236. body.
  237. * Made a bunch of changes in how attachments are dealth with and how the
  238. archived node is saved.
  239. * Fixed "Additional information for Mass Contact form" text not showing on
  240. form (http://drupal.org/node/1277184).
  241. 2011-09-16 Jason Flatt drupal@oadaeh.net
  242. * mass_contact.admin.inc:
  243. * Changed where and how the attachements directory is dealth with.
  244. 2011-09-08 Jason Flatt drupal@oadaeh.net
  245. * mass_contact.install:
  246. * Added some missing descriptions.
  247. 2011-08-29 Jason Flatt drupal@oadaeh.net
  248. * mass_contact.module:
  249. * Actually save the opt out information on the user profile.
  250. 2011-08-29 Jason Flatt drupal@oadaeh.net
  251. * mass_contact.admin.inc, mass_contact.page.inc:
  252. * Fix the rest of sending w/o Mime Mail that broke getting it to work
  253. w/Mime Mail (http://drupal.org/node/1262178 by oadaeh).
  254. 2011-08-28 Jason Flatt drupal@oadaeh.net
  255. * mass_contact.admin.inc, mass_contact.page.inc:
  256. * Fix sending w/o Mime Mail that broke getting it to work w/Mime Mail
  257. (http://drupal.org/node/1262178 by oadaeh).
  258. 2011-08-27 Jason Flatt drupal@oadaeh.net
  259. * mass_contact.admin.inc, mass_contact.page.inc:
  260. * Now sends HTML and attachments using the Mime Mail module.
  261. 2011-08-26 Jason Flatt drupal@oadaeh.net
  262. * mass_contact.page.inc:
  263. * Fix sending with Mime Mail. Still need to format the message correctly.
  264. * Removed unnecessary and unused code.
  265. 2011-08-24 Jason Flatt drupal@oadaeh.net
  266. * README.txt:
  267. * Fix some wording in the Troubleshooting section.
  268. 2011-08-24 Jason Flatt drupal@oadaeh.net
  269. * mass_contact.admin.inc, mass_contact.page.inc:
  270. * Fixed and simplified how text formats work for the default text format,
  271. since Drupal doesn't have the provision for allowing one to specify the
  272. list of available text formats through FAPI (if at all).
  273. * mass_contact.admin.inc:
  274. * Simplified the code behind the message prefix and suffix fields.
  275. * mass_contact.page.inc:
  276. * Account for more options whan setting $from_name and $from_email.
  277. 2011-08-19 Jason Flatt drupal@oadaeh.net
  278. * mass_contact.module:
  279. * Modified mass_contact_form_user_profile_form_alter() so that editing a
  280. user other than the currently logged in user shows the correct assigned
  281. categories.
  282. * mass_contact.module, README.txt:
  283. * Extensively modified the various help texts to be more readable and to
  284. reflect reality.
  285. * mass_contact.page.inc:
  286. * Updated error messages to point to the help texts.
  287. * mass_contact.admin.inc:
  288. * Fixed how text formats for the prefix, suffix and default HTML filter
  289. settings work.
  290. 2011-08-18 Jason Flatt drupal@oadaeh.net
  291. * mass_contact.page.inc:
  292. * Changed a couple of t() @ placeholders back to !.
  293. 2011-08-12 Jason Flatt drupal@oadaeh.net
  294. * mass_contact.module, mass_contact.admin.inc, mass_contact.page.inc:
  295. * Changed t() ! placeholders to @.
  296. * mass_contact.page.inc:
  297. * Added t() to a few l()s that did not have it.
  298. * Removed HTML output for Headers node field.
  299. * Moved $message_addon variable assignment inside the check for valid data.
  300. * mass_contact.install:
  301. * Changed the widgets for the Headers and Result fields to textarea.
  302. 2011-05-16 Jason Flatt drupal@oadaeh.net
  303. * mass_contact.module:
  304. * Converted the "Hourly threshold" setting from a select box to a text
  305. field, so that people can specify the exact number they want.
  306. * Moved the configuration menu structure from admin/structure to
  307. admin/config/system.
  308. * Removed administrative task list at the bottom of the main Mass Contact
  309. page.
  310. * Refactored the main send function.
  311. * HEAD.txt:
  312. * Removed file.
  313. * TODO.txt:
  314. * Removed file.
  315. 2011-04-23 Jason Flatt drupal@oadaeh.net
  316. * mass_contact.module:
  317. * Began the update to Drupal 7.
  318. * Pulled the administrative functions out into their own file.
  319. * Pulled the actual Mass Contact form and realted functions out into their
  320. own file.
  321. 2010-10-08 Jason Flatt drupal@oadaeh.net
  322. * mass_contact.module: Fixed problem with input formats not displaying
  323. correctly (http://drupal.org/node/294433, http://drupal.org/node/934222).
  324. Added an administrative option to specify when to check the HTML markup
  325. (http://drupal.org/node/468464).
  326. Converted several function calls to variables in the code ralated to the
  327. above activity to reduce the amount of processing needed and to improve
  328. the readability of the code.
  329. Fixed a bug (unrelated to the first item) with selecting the wrong input
  330. filter when building the message body.
  331. Fixed a problem when showing opt out options for users that are not a part
  332. of any categories (http://drupal.org/node/812518). Also, removed the when
  333. users may opt out as part of this fix.
  334. Added the ability for site administrator to specify what they want their
  335. opt-out message to say.
  336. 2010-10-05 Jason Flatt drupal@oadaeh.net
  337. * mass_contact.module: Removed reference to max_file_uploads, as it's only
  338. in newer versions of PHP.
  339. 2010-08-30 Jason Flatt drupal@oadaeh.net
  340. * mass_contact.install: Fix variable deletion query.
  341. 2010-08-27 Jason Flatt drupal@oadaeh.net
  342. * mass_contact.module: Correct the way a node type is created
  343. (http://drupal.org/node/894696).
  344. 2010-08-26 Jason Flatt drupal@oadaeh.net
  345. * mass_contact.install: Made variable removal encompassing during uninstall.
  346. * mass_contact.module: Make the closing boundary line the correct format.
  347. Removed some unnecessary CR/LFs.
  348. 2010-08-22 Jason Flatt drupal@oadaeh.net
  349. * mass_contact.module: Made the field for maximum recipients larger.
  350. Removed the setting of the weight for the send to self option, so that it
  351. wasn't all the way at the bottom of the main message form.
  352. Made the main menu link enabled by default.
  353. * README.txt: Updated the documentation, so that it was current and
  354. accurate. Also included a number of user recommendations.
  355. 2010-08-21 Jason Flatt drupal@oadaeh.net
  356. * mass_contact.module: Changed attachment behavior to allow multiple
  357. attachments, the number being defined by the system administrator.
  358. In doing the above, updated and/or fixed various MIME behaviors and/or
  359. settings.
  360. Made message attachments actual file attachments when saving the message
  361. as a node.
  362. Removed hard coded node settings when saving a node, per dabro in
  363. http://drupal.org/node/889846.
  364. 2010-05-11 Jason Flatt drupal@oadaeh.net
  365. * mass_contact.module: Separated the administrative settings page into
  366. three pages.
  367. * mass_contact.module, mass_contact.install: Added the ability to specify
  368. the input format for the message prefix, the user's message text, and the
  369. message suffix, along with allowing the user to change the input format
  370. for the user's message text or not.
  371. 2010-04-30 Jason Flatt drupal@oadaeh.net
  372. * mass_contact.module: Added the option to specify when to allow opting out
  373. of mass e-mails. This takes care of this feature request:
  374. http://drupal.org/node/354689.
  375. 2010-04-30 Jason Flatt drupal@oadaeh.net
  376. * mass_contact.module: Added code to be compatible with the Admin Role
  377. module (http://drupal.org/project/adminrole), per jim0203 and lyricnz in
  378. http://drupal.org/node/586870.
  379. 2010-04-30 Jason Flatt drupal@oadaeh.net
  380. * mass_contact.install: Corrected the default values for two database
  381. fields, per Nigeria and lyricnz in http://drupal.org/node/526130.
  382. 2010-04-30 Jason Flatt drupal@oadaeh.net
  383. * mass_contact.module: Added code to get around Drupal reformatting the
  384. body during the sending of the message, per hotspoons in
  385. http://drupal.org/node/473838.
  386. 2009-08-19 Jason Flatt drupal@oadaeh.net
  387. * mass_contact.module: Split a line in mass_contact_admin_delete() to avoid
  388. a possible accidental assignment.
  389. Added an "else" when checking for the number of recipients so that an
  390. error would not occur, due to the module attempting to send the e-mail
  391. even when there are no recipients, per mellenburg and drupalok in
  392. http://drupal.org/node/460648. Also changed the error message to include
  393. the category in question for less ambiguity.
  394. Pulled the send copy to self functionality out of the normal send process
  395. so that it would be sent even if there were no recipients (due to the
  396. above fix).
  397. Added a link to the logs in the error messages, for users who have
  398. permission to view them.
  399. 2009-08-18 Jason Flatt drupal@oadaeh.net
  400. * mass_contact.install: Added a field name correction to account for code
  401. change a long time ago, per sharplesa and MrWerewolf in
  402. http://drupal.org/node/371285.
  403. * mass_contact.module: Changed how user roles were being iterated through
  404. in order to fix http://drupal.org/node/543942, per ed523.
  405. 2009-03-13 Jason Flatt drupal@oadaeh.net
  406. * mass_contact.module: Added the ability to opt out of specific categories.
  407. Changed some of the text messages to use consistent wording and/or case.
  408. Fixed how the mass contact message content type is managed.
  409. 2009-03-11 Jason Flatt drupal@oadaeh.net
  410. * mass_contact.install: Added some missing variables in the uninstall
  411. routine.
  412. * mass_contact.module: Added a check for an empty menu item in
  413. mass_contact_menu_alter(), per cYu in http://drupal.org/node/375815.
  414. Fixed a bug where single categories were not being selected by default,
  415. per ProfStein in http://drupal.org/node/394318.
  416. 2008-10-23 Jason Flatt drupal@oadaeh.net
  417. * mass_contact.module: Tested and fixed problems with work around for
  418. http://drupal.org/node/227966.
  419. Changed the $from variable to $from_email and added $from_name to go
  420. along with it.
  421. Tweaked when to send self a copy, by not sending when the recipient list
  422. is in the BCC field and only sending at the end if the recipient list is
  423. being broken up.
  424. * README.txt: Removed note about Mime Mail.
  425. 2008-08-09 Jason Flatt drupal@oadaeh.net
  426. * mass_contact.module: Created a work around for
  427. http://drupal.org/node/227966, per compuguru and karlcw on
  428. http://drupal.org/node/290913.
  429. 2008-08-06 Jason Flatt drupal@oadaeh.net
  430. * mass_contact.module: Changed the way multipart messages are handled to
  431. include plain text parts with HTML messages.
  432. 2008-08-01 Jason Flatt drupal@oadaeh.net
  433. * mass_contact.module: Added checks for the message prefix and suffix to
  434. all areas where they're included, so they aren't added when they don't
  435. exist.
  436. Made the message form field larger.
  437. Added input formatting to the body of the message, per akolahi on
  438. http://drupal.org/node/231369.
  439. Removed extra spaces in task list items.
  440. * README.txt: Updated with a note about Mime Mail.
  441. * TODO.txt: Updated.
  442. 2008-07-31 Jason Flatt drupal@oadaeh.net
  443. * mass_contact.module: Fixed a bug where I forgot to change the
  444. $headers['Bcc'] variable to $params['headers']['Bcc'], per ulf1 on
  445. http://drupal.org/comment/reply/289229.
  446. Commented out all references to the Mime Mail module.
  447. Changed the $cids vaiable from a string to an array in lines 1140 through
  448. 1143 in order for the db_placeholders() function in line 1145 to work
  449. correctly.
  450. 2008-07-29 Jason Flatt drupal@oadaeh.net
  451. * mass_contact.module: Added administrative options for forcing the HTML
  452. and node options, per skizzo on http://drupal.org/node/145940.
  453. Added a self copy option, per josvl on http://drupal.org/node/170928.
  454. Added an administrative option to allow or disalllow the sender to change
  455. the default name and e-mail address, per saul11 on
  456. http://drupal.org/node/143911#comment-683219.
  457. Added an administrative option to allow the charset to be specified, per
  458. jarihj on http://drupal.org/node/182903.
  459. Added permissions to send messages based on category, per silverd/csilver
  460. on http://drupal.org/node/270423.
  461. 2008-07-20 Jason Flatt drupal@oadaeh.net
  462. * translations/mass_contact.pot: Added.
  463. 2008-07-18 Jason Flatt drupal@oadaeh.net
  464. * mass_contact.module: Slight change to the wording of an error message.
  465. Changed the way the "Related tasks" texts are generated to hopefully help
  466. with translations and themeing, per meible on
  467. http://drupal.org/node/243292.
  468. Added and changed permissions per joachim in
  469. http://drupal.org/node/263156.
  470. 2008-07-06 Jason Flatt drupal@oadaeh.net
  471. * mass_contact.module: Changed how the message headers get updated.
  472. Slightly modified how the body is created for sending through Mime Mail
  473. (even though there is currently no Drupal 6.x compatible release of it).
  474. 2008-07-04 Jason Flatt drupal@oadaeh.net
  475. * mass_contact.module: Corrected error checking for when sending.
  476. Changed the node body variable to the correct one for saving attachments.
  477. Changed how the body array is created and edited.
  478. 2008-06-11 Jason Flatt drupal@oadaeh.net
  479. * mass_contact.module: More code updating to Drupal 6.x.
  480. Fixed a bug where an extra category was selected by default.
  481. * mass_contact.install: Added @file comment.
  482. 2008-06-10 Jason Flatt drupal@oadaeh.net
  483. * mass_contact.module: Documented the functions.
  484. Created separate function (_mass_contact_create_node_type()) for the
  485. creation of the node type.
  486. Made mass_contact_save_node() a private function.
  487. Removed the return value from mass_contact_save_node() since it always
  488. returned TRUE and never anything else.
  489. 2008-06-05 Jason Flatt drupal@oadaeh.net
  490. * mass_contact.module: More code cleanup.
  491. 2008-06-04 Jason Flatt drupal@oadaeh.net
  492. * mass_contact.install, mass_contact.module: Continued on upgrade to Drupal
  493. 6.x.
  494. Code cleanup, based on PHP's E_ALL.
  495. 2008-05-28 Jason Flatt drupal@oadaeh.net
  496. * mass_contact.module, TODO.txt: Continued on upgrade to Drupal 6.x.
  497. 2008-05-23 Jason Flatt drupal@oadaeh.net
  498. * TODO.txt: Removed completed items.
  499. * mass_contact.module: Changed four watchdog messages to be translatable.
  500. * All: Started upgrade to Drupal 6.x.
  501. 2008-04-18 Jason Flatt drupal@oadaeh.net
  502. * mass_contact.module: Changed variable name from mass_contact_HTML_d to
  503. html_d.
  504. Changed how an HTML and plain text message are formed, taking into
  505. account the Mime Mail module.
  506. Added information about the formatting of HTML messages as descriptions
  507. for the checkboxes that enable HTML e-mails.
  508. 2008-04-15 Jason Flatt drupal@oadaeh.net
  509. * mass_contact.module: Tweaked the output of a log message.
  510. 2008-04-06 Jason Flatt drupal@oadaeh.net
  511. * mass_contact.module: Clean up based on the Code Review module and the
  512. ./code-style.pl script: Changed "
    " to "
    ". Changed "!=" to "<>"
  513. in three SQL querues.
  514. 2008-02-22 Jason Flatt drupal@oadaeh.net
  515. * mass_contact.module: Modified the help text displayed for tokens to only
  516. show global tokens as nothing else will work at the time the tokens are
  517. being applied. In order to get user tokens to work, all messages would
  518. have to be sent out one-at-a-time to each recipient.
  519. 2008-02-17 Jason Flatt drupal@oadaeh.net
  520. * mass_contact.module: Changed how attachments are handled if Mime Mail is
  521. installed.
  522. 2008-01-23 Jason Flatt drupal@oadaeh.net
  523. * mass_contact.module: Made SQL query change for PostgreSQL: compatibility.
  524. Issue and fix reported by larsfp here: http://drupal.org/node/198778
  525. Changed attachment save operation from FILE_EXISTS_REPLACE to
  526. FILE_EXISTS_RENAME.
  527. Changed the help text to work with POT extractor as reported by skizzo
  528. here: http://drupal.org/node/176345
  529. 2008-01-22 Jason Flatt drupal@oadaeh.net
  530. * mass_contact.module: Removed the code to check for the SMTP module.
  531. Changed the recipients' e-mail addresses from $rnamea ." <". $rmaila .">"
  532. to $rmaila.
  533. Modified the way the attachment is added to the message.
  534. Changed the way the attachment is saved with the node to address
  535. http://drupal.org/node/155229.
  536. 2007-11-11 Jason Flatt drupal@oadaeh.net
  537. * mass_contact.module: Changed the default value for showing the opt-out
  538. check box from true to false.
  539. 2007-11-02 Jason Flatt drupal@oadaeh.net
  540. * mass_contact.module: Commented out the SMTP Auth. module specific code.
  541. 2007-10-31 Jason Flatt drupal@oadaeh.net
  542. * mass_contact.module: Removed denugging line, thanks to this notice:
  543. http://drupal.org/node/188308
  544. 2007-10-20 Jason Flatt drupal@oadaeh.net
  545. * mass_contact.module: Removed a forgotten extrapolation where the Token
  546. module was being used.
  547. 2007-09-12 Jason Flatt drupal@oadaeh.net
  548. * mass_contact.module: Fixed the fact that multiple categories were not
  549. being mailed to (which is what delayed the previous changes from getting
  550. into CVS).
  551. Fixed two places (in the area where there is a limit on the number of
  552. recipients) where I was not checking for a valid header before sending the
  553. e-mail. Thanks to sharplesa for alerting me to this oversight:
  554. http://drupal.org/node/173987
  555. Removed translation functions in areas that didn't work, as reported by
  556. skizzo in this comment: http://drupal.org/node/145940#comment-284484
  557. * TODO.txt: Added for notes and reminders on things to do.
  558. 2007-09-01 Jason Flatt drupal@oadaeh.net
  559. * CHANGELOG.txt: Added.
  560. * mass_contact.module: The community has spoken: reverting all constants to
  561. upper case.
  562. Removed an uncessary validation check in mass_contact_admin_edit_validate.
  563. Added periods at the end of a few sentences.
  564. Moved code to inform user about node creation inside the check to do it in
  565. the first place.
  566. Changed the way creating categories works so that multiple categories can
  567. be selected by default, and the mail page will respect those choices.
  568. Added the two feature requests listed here: http://drupal.org/node/170837,
  569. namely, hiding the categories checkbox, if there is only one category, and
  570. it is set as selected, and showing descriptive text instead of the BCC
  571. checkbox, if users are not allowed to change the setting.
  572. Rearranged the admin settings and the mail page, so that they flowed more
  573. like a standard e-mail sending form.
  574. Tweaked a few things here and there (text, punctuation, etc.).
  575. Added more commenting to the code. There's still more to do.
  576. Probably some other stuff I forgot about. :^) (This was supposed to be a
  577. quick change to a couple of things that ended up being a much bigger
  578. update that took a lot longer.)