$Id: CHANGELOG.txt,v 1.8.2.36 2010/10/08 23:51:40 oadaeh Exp $
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
mass_contact_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 "
" to "
". 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.)