Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b59ccff
commit bc1549f
Showing
13 changed files
with
1,409 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
Mail Comment 7.x-2.x, 2011-12-04 | ||
-------------------------------- | ||
|
||
Mail Comment 7.x-2.0, 2011-12-04 | ||
-------------------------------- | ||
#1355106 by pereljon: Fixed message headers not added when node is posted. | ||
#1336582 by Dane Powell: Fixed comments being imported even on disallowed node types. | ||
#1352980 by pereljon: Fixed broken link to original comment in notification messages. | ||
#1352940 by pereljon: Fixed minor code style errors. | ||
#1350072 by pereljon: Fixed recoverable fatal error on comment import. | ||
Fixed bad version dependency. | ||
Added version requirements. | ||
|
||
Mail Comment 7.x-2.0-rc1, 2011-10-19 | ||
------------------------------------ | ||
Coder (code formatting) cleanup before next release. | ||
#1188584 by davideads: Improved message cleaning/filtering options. | ||
Fixed hook_feeds_after_parse (again). | ||
Fixed hook_feeds_after_parse definition. | ||
|
||
Mail Comment 7.x-2.0-beta2, 2011-08-30 | ||
-------------------------------------- | ||
#1244224 by davideads: Fixed Mail Comment redirect showing up in menu. | ||
#1188584 by arvinsingla, Dane Powell: Fixed reply text not being stripped from message body. | ||
Removed hook_mailcomment_alter() - the same functionality can be achieved with existing Feeds hooks. | ||
Updated for compatibility with Mailhandler 7.x-2.0-beta2 | ||
#1248182 by Dane Powell: Fixed WSOD on configuration page (again) | ||
#1248182 by Dane Powell: Fixed WSOD on configuration page | ||
|
||
Mail Comment 7.x-2.0-beta1, 2011-05-18 | ||
-------------------------------------- | ||
#1158562 by Dane Powell: Cleaned up code (Coder review and documentation) | ||
Added CHANGELOG.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
CONTENTS OF THIS FILE | ||
--------------------- | ||
|
||
* Requirements | ||
* Quick setup | ||
* Overview | ||
|
||
REQUIREMENTS | ||
------------ | ||
|
||
Dependencies: | ||
- Mailhandler (matching version required - i.e., if you are using Mail Comment | ||
7.x-2.0-alpha5, you must use Mailhandler 7.x-2.0-alpha5) | ||
- Notifications and Messaging (7.x-4.x branch) | ||
|
||
QUICK SETUP | ||
----------- | ||
|
||
- Enable the "Mail Comment Default" module. | ||
- Add a mailbox at admin/structure/mailhandler. | ||
- Configure Mail Comment at admin/messaging/mailcomment | ||
- Create a node and subscribe to the thread to receive email notifications. | ||
- Add a comment to the thread to generate a notification message. | ||
- Reply to the message. | ||
- Go to /import, choose the Mailhandler comments importer, choose the mailbox | ||
you just set up from the drop-down menu, and select "Import". Your email | ||
should be imported as a comment. |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name = Mail Comment | ||
description = Gateway module for responding to posts via mail | ||
package = "Mailhandler" | ||
dependencies[] = notifications | ||
dependencies[] = mailhandler (>1.99) | ||
core = 7.x | ||
|
||
files[] = mailcomment.install | ||
files[] = mailcomment.module | ||
files[] = plugins/MailcommentAuthenticate.inc | ||
files[] = tests/mailcomment.test | ||
; Information added by drupal.org packaging script on 2012-01-04 | ||
version = "7.x-2.1" | ||
core = "7.x" | ||
project = "mailcomment" | ||
datestamp = "1325704244" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<?php | ||
/** | ||
* @file | ||
* Install, update and uninstall functions for the Mailhandler module. | ||
*/ | ||
|
||
/** | ||
* Set the new mailcomment_mailboxes variable with the mailcomment_mailbox variable by default. | ||
*/ | ||
function mailcomment_update_6001() { | ||
$mailbox = variable_get('mailcomment_mailbox', ''); | ||
variable_set('mailcomment_mailboxes', array($mailbox)); | ||
return t('Set the mailcomment_mailboxes variable.'); | ||
} | ||
|
||
/** | ||
* Add filtering modes: To mimic old behavior, use basic filtering when mailcomment_reply_text was set by user. | ||
*/ | ||
function mailcomment_update_6201() { | ||
if (variable_get('mailcomment_reply_text', t('((( Reply ABOVE this LINE to POST a COMMENT )))'))) { | ||
variable_set('mailcomment_import_filter_mode', MAILCOMMENT_FILTER_BASIC); | ||
$query = 'Set mailcomment_import_filter_mode variable to use basic filtering.'; | ||
} | ||
else { | ||
variable_set('mailcomment_import_filter_mode', MAILCOMMENT_FILTER_NONE); | ||
$query = 'Set mailcomment_import_filter_mode variable to use no filtering.'; | ||
} | ||
return t($query); | ||
} | ||
|
||
/** | ||
* Add filtering modes: To mimic old behavior, use basic filtering when mailcomment_reply_text was set by user. | ||
*/ | ||
function mailcomment_update_7201() { | ||
if (variable_get('mailcomment_reply_text', t('((( Reply ABOVE this LINE to POST a COMMENT )))'))) { | ||
variable_set('mailcomment_import_filter_mode', MAILCOMMENT_FILTER_BASIC); | ||
$query = 'Set mailcomment_import_filter_mode variable to use basic filtering.'; | ||
} | ||
else { | ||
variable_set('mailcomment_import_filter_mode', MAILCOMMENT_FILTER_NONE); | ||
$query = 'Set mailcomment_import_filter_mode variable to use no filtering.'; | ||
} | ||
return t($query); | ||
} |
Oops, something went wrong.