Version Description
(2013.05.02) = * Added ability to run a manual check with debugging output. * Added support for default post type. * Added version number to settings page. * Changed Admin User to Default Poster, clarified help text and changed input to combo box of valid values. * Fixed bug where commas (,) were not allowed in signature detection. * Fixed some CSS issues on admin page.
Download this release
Release Info
Developer | WayneAllen |
Plugin | Postie |
Version | 1.5.5 |
Comparing to | |
See all releases |
Code changes from version 1.5.4 to 1.5.5
- config_form.php +51 -7
- css/style.css +3 -0
- deploy/_deploy.txt +4 -1
- docs/Changes.txt +8 -0
- docs/Postie.txt +1 -1
- docs/TODO.txt +0 -2
- get_mail.php +8 -6
- postie-functions.php +7 -7
- postie.php +3 -2
- postieIMAP.php +1 -3
- readme.txt +9 -1
config_form.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<div class="wrap">
|
2 |
-
<div style="float:right; width: 220px; border: 1px solid darkgrey; padding:2px;border-radius:10px;" >
|
3 |
<p class="" style="text-align:center;font-weight: bolder; margin-top: 0px; margin-bottom: 2px;">Please Donate</p>
|
4 |
<p style="margin-top: 0;margin-bottom: 2px;">Your generous donation allows me to continue developing Postie for the WordPress community.</p>
|
5 |
<form style="" action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
@@ -12,8 +12,9 @@
|
|
12 |
</div>
|
13 |
<h2>
|
14 |
<a style='text-decoration:none' href='options-general.php?page=postie/postie.php'>
|
15 |
-
<img src="../wp-content/plugins/postie/images/mail.png" alt="postie" /><?php _e('Postie
|
16 |
</a>
|
|
|
17 |
</h2>
|
18 |
|
19 |
|
@@ -38,6 +39,14 @@
|
|
38 |
include('get_mail.php');
|
39 |
exit;
|
40 |
break;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
default:
|
42 |
$message = 2;
|
43 |
break;
|
@@ -84,10 +93,15 @@
|
|
84 |
<input name="Submit" value="<?php _e("Run Postie", 'postie'); ?> »" type="submit" class='button'>
|
85 |
<?php _e("(To run the check mail script manually)", 'postie'); ?>
|
86 |
</form>
|
|
|
|
|
|
|
|
|
|
|
87 |
<form name="postie-options" method="post">
|
88 |
<input type="hidden" name="action" value="test" />
|
89 |
<input name="Submit" value="<?php _e("Test Config", 'postie'); ?>»" type="submit" class='button'>
|
90 |
-
<?php _e("this will
|
91 |
</form>
|
92 |
|
93 |
<form name="postie-options" method="post" action='options.php' autocomplete="off">
|
@@ -275,11 +289,22 @@
|
|
275 |
<?php echo BuildTextArea("Authorized Addresses", "postie-settings[authorized_addresses]", $authorized_addresses, "Put each email address on a single line. Posts from emails in this list will be treated as if they came from the admin. If you would prefer to have users post under their own name - create a WordPress user with the correct access level."); ?>
|
276 |
<tr>
|
277 |
<th width="33%" valign="top" scope="row">
|
278 |
-
<?php _e('
|
279 |
-
<span class='recommendation'><?php _e("This
|
280 |
</th>
|
281 |
<td>
|
282 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
283 |
</td>
|
284 |
</tr>
|
285 |
</table>
|
@@ -359,6 +384,25 @@
|
|
359 |
</td>
|
360 |
</tr>
|
361 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
362 |
<tr>
|
363 |
<th width="33%" valign="top" scope="row"><?php _e('Default Title:', 'postie') ?> </th>
|
364 |
<td>
|
@@ -428,7 +472,7 @@
|
|
428 |
<?php echo BuildTextArea("Supported MIME Types", "postie-settings[supported_file_types]", $supported_file_types, "Add just the type (not the subtype). Text, Video, Audio, Image and Multipart are always supported. Put each type on a single line."); ?>
|
429 |
<?php echo BuildTextArea("Banned File Names", "postie-settings[banned_files_list]", $banned_files_list, "Put each file name on a single line.Files matching this list will never be posted to your blog. You can use wildcards such as *.xls, or *.* for all files"); ?>
|
430 |
<?php echo BuildBooleanSelect("Drop The Signature From Mail", "postie-settings[drop_signature]", $drop_signature); ?>
|
431 |
-
<?php echo BuildTextArea("Signature Patterns", "postie-settings[sig_pattern_list]", $sig_pattern_list, "Put each pattern on a separate line
|
432 |
<?php echo BuildTextArea("Allowed SMTP servers", "postie-settings[smtp]", $smtp, "Only allow messages which have been sent throught the following smtp servers. Put each server on a separate line. Leave blank to not check smtp servers."); ?>
|
433 |
</table>
|
434 |
</div>
|
1 |
<div class="wrap">
|
2 |
+
<div style="float:right; width: 220px; border: 1px solid darkgrey; padding:2px;border-radius:10px;margin-left: 10px;" >
|
3 |
<p class="" style="text-align:center;font-weight: bolder; margin-top: 0px; margin-bottom: 2px;">Please Donate</p>
|
4 |
<p style="margin-top: 0;margin-bottom: 2px;">Your generous donation allows me to continue developing Postie for the WordPress community.</p>
|
5 |
<form style="" action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
12 |
</div>
|
13 |
<h2>
|
14 |
<a style='text-decoration:none' href='options-general.php?page=postie/postie.php'>
|
15 |
+
<img src="../wp-content/plugins/postie/images/mail.png" alt="postie" /><?php _e('Postie Settings', 'postie'); ?>
|
16 |
</a>
|
17 |
+
<span class="description">(v<?php _e(POSTIE_VERSION, 'postie'); ?>)</span>
|
18 |
</h2>
|
19 |
|
20 |
|
39 |
include('get_mail.php');
|
40 |
exit;
|
41 |
break;
|
42 |
+
case "runpostie-debug":
|
43 |
+
EchoInfo("Checking for mail manually with debug output");
|
44 |
+
if (!defined('POSTIE_DEBUG')) {
|
45 |
+
define('POSTIE_DEBUG', true);
|
46 |
+
}
|
47 |
+
include('get_mail.php');
|
48 |
+
exit;
|
49 |
+
break;
|
50 |
default:
|
51 |
$message = 2;
|
52 |
break;
|
93 |
<input name="Submit" value="<?php _e("Run Postie", 'postie'); ?> »" type="submit" class='button'>
|
94 |
<?php _e("(To run the check mail script manually)", 'postie'); ?>
|
95 |
</form>
|
96 |
+
<form name="postie-options" method='post'>
|
97 |
+
<input type="hidden" name="action" value="runpostie-debug" />
|
98 |
+
<input name="Submit" value="<?php _e("Run Postie (Debug)", 'postie'); ?> »" type="submit" class='button'>
|
99 |
+
<?php _e("(To run the check mail script manually with full debug output)", 'postie'); ?>
|
100 |
+
</form>
|
101 |
<form name="postie-options" method="post">
|
102 |
<input type="hidden" name="action" value="test" />
|
103 |
<input name="Submit" value="<?php _e("Test Config", 'postie'); ?>»" type="submit" class='button'>
|
104 |
+
<?php _e("this will check your configuration options", 'postie'); ?>
|
105 |
</form>
|
106 |
|
107 |
<form name="postie-options" method="post" action='options.php' autocomplete="off">
|
289 |
<?php echo BuildTextArea("Authorized Addresses", "postie-settings[authorized_addresses]", $authorized_addresses, "Put each email address on a single line. Posts from emails in this list will be treated as if they came from the admin. If you would prefer to have users post under their own name - create a WordPress user with the correct access level."); ?>
|
290 |
<tr>
|
291 |
<th width="33%" valign="top" scope="row">
|
292 |
+
<?php _e('Default Poster:') ?> <br />
|
293 |
+
<span class='recommendation'><?php _e("This will be the poster if you allow posting from emails that are not a registered blog user.", 'postie'); ?></span>
|
294 |
</th>
|
295 |
<td>
|
296 |
+
<select name='postie-settings[admin_username]' id='postie-settings[admin_username]'>
|
297 |
+
<?php
|
298 |
+
$adminusers = get_users('orderby=nicename&role=administrator');
|
299 |
+
foreach ($adminusers as $user) {
|
300 |
+
$selected = "";
|
301 |
+
if ($user->user_nicename == $admin_username) {
|
302 |
+
$selected = " selected='selected'";
|
303 |
+
}
|
304 |
+
echo "<option value='$user->user_nicename'$selected>$user->user_nicename</option>";
|
305 |
+
}
|
306 |
+
?>
|
307 |
+
</select>
|
308 |
</td>
|
309 |
</tr>
|
310 |
</table>
|
384 |
</td>
|
385 |
</tr>
|
386 |
|
387 |
+
<tr>
|
388 |
+
<th width="33%" valign="top" scope="row"><?php _e('Default Post Type:', 'postie') ?> </th>
|
389 |
+
<td>
|
390 |
+
<select name='postie-settings[post_type]' id='postie-settings-post_type'>
|
391 |
+
<?php
|
392 |
+
$types = get_post_types();
|
393 |
+
//array_unshift($types, "standard");
|
394 |
+
foreach ($types as $type) {
|
395 |
+
$selected = "";
|
396 |
+
if ($config['post_type'] == $type) {
|
397 |
+
$selected = " selected='selected'";
|
398 |
+
}
|
399 |
+
echo "<option value='$type'$selected>$type</option>";
|
400 |
+
}
|
401 |
+
?>
|
402 |
+
</select>
|
403 |
+
</td>
|
404 |
+
</tr>
|
405 |
+
|
406 |
<tr>
|
407 |
<th width="33%" valign="top" scope="row"><?php _e('Default Title:', 'postie') ?> </th>
|
408 |
<td>
|
472 |
<?php echo BuildTextArea("Supported MIME Types", "postie-settings[supported_file_types]", $supported_file_types, "Add just the type (not the subtype). Text, Video, Audio, Image and Multipart are always supported. Put each type on a single line."); ?>
|
473 |
<?php echo BuildTextArea("Banned File Names", "postie-settings[banned_files_list]", $banned_files_list, "Put each file name on a single line.Files matching this list will never be posted to your blog. You can use wildcards such as *.xls, or *.* for all files"); ?>
|
474 |
<?php echo BuildBooleanSelect("Drop The Signature From Mail", "postie-settings[drop_signature]", $drop_signature); ?>
|
475 |
+
<?php echo BuildTextArea("Signature Patterns", "postie-settings[sig_pattern_list]", $sig_pattern_list, "Put each pattern on a separate line."); ?>
|
476 |
<?php echo BuildTextArea("Allowed SMTP servers", "postie-settings[smtp]", $smtp, "Only allow messages which have been sent throught the following smtp servers. Put each server on a separate line. Leave blank to not check smtp servers."); ?>
|
477 |
</table>
|
478 |
</div>
|
css/style.css
CHANGED
@@ -40,4 +40,7 @@ div.simpleTabs-content li li li {
|
|
40 |
}
|
41 |
table.checkbox-table td {
|
42 |
padding:0px;
|
|
|
|
|
|
|
43 |
}
|
40 |
}
|
41 |
table.checkbox-table td {
|
42 |
padding:0px;
|
43 |
+
}
|
44 |
+
.updated {
|
45 |
+
overflow: hidden;
|
46 |
}
|
deploy/_deploy.txt
CHANGED
@@ -1,9 +1,12 @@
|
|
1 |
see: http://codex.wordpress.org/Writing_a_Plugin#Updating_your_Plugin
|
|
|
2 |
update docs\Changes.txt
|
3 |
update date in docs\Changes.txt
|
4 |
update Upgrade Notice in docs\Changes.txt
|
5 |
update version number in docs\Postie.txt
|
6 |
-
update version number in postie.php
|
|
|
|
|
7 |
run deploy.cmd
|
8 |
commit
|
9 |
branch trunk to new version
|
1 |
see: http://codex.wordpress.org/Writing_a_Plugin#Updating_your_Plugin
|
2 |
+
|
3 |
update docs\Changes.txt
|
4 |
update date in docs\Changes.txt
|
5 |
update Upgrade Notice in docs\Changes.txt
|
6 |
update version number in docs\Postie.txt
|
7 |
+
update version number in postie.php comment
|
8 |
+
update version number in postie.php code
|
9 |
+
|
10 |
run deploy.cmd
|
11 |
commit
|
12 |
branch trunk to new version
|
docs/Changes.txt
CHANGED
@@ -22,6 +22,14 @@ All script, style and body tags are stripped from html emails.
|
|
22 |
Attachments are now processed in the order they were attached.
|
23 |
|
24 |
== CHANGELOG ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
= 1.5.4 (2013.05.01) =
|
26 |
* Added support for default post format
|
27 |
* Fixed bug where replies were getting attached to the wrong post
|
22 |
Attachments are now processed in the order they were attached.
|
23 |
|
24 |
== CHANGELOG ==
|
25 |
+
= 1.5.5 (2013.05.02) =
|
26 |
+
* Added ability to run a manual check with debugging output.
|
27 |
+
* Added support for default post type.
|
28 |
+
* Added version number to settings page.
|
29 |
+
* Changed Admin User to Default Poster, clarified help text and changed input to combo box of valid values.
|
30 |
+
* Fixed bug where commas (,) were not allowed in signature detection.
|
31 |
+
* Fixed some CSS issues on admin page.
|
32 |
+
|
33 |
= 1.5.4 (2013.05.01) =
|
34 |
* Added support for default post format
|
35 |
* Fixed bug where replies were getting attached to the wrong post
|
docs/Postie.txt
CHANGED
@@ -6,7 +6,7 @@ Plugin URI: http://PostiePlugin.com/
|
|
6 |
Tags: e-mail, email
|
7 |
Requires at least: 3.0
|
8 |
Tested up to: 3.5.1
|
9 |
-
Stable tag: 1.5.
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
6 |
Tags: e-mail, email
|
7 |
Requires at least: 3.0
|
8 |
Tested up to: 3.5.1
|
9 |
+
Stable tag: 1.5.5
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
docs/TODO.txt
CHANGED
@@ -1,12 +1,10 @@
|
|
1 |
provide a location for custom icons. update docs about location.
|
2 |
-
hide/disable config options that don't apply
|
3 |
handle condition where only one of text/plain & text/html is supplied, but Preferred Text Type is set to the opposite.
|
4 |
replace native imap MIME parser with flourish - http://flourishlib.com/docs/fMailbox
|
5 |
automatically create category if it doesn't exist. new option to allow this feature?
|
6 |
WP MU support
|
7 |
Add setting for category detection. I.e. checkboxes for [], -- and : styles. Default to all on.
|
8 |
Make sure all failures are sent to admin (option?) failed attachments, etc.
|
9 |
-
debug assistance
|
10 |
Comment not being created when subject contains category command []. I.e. listserv subject lines
|
11 |
rework attachment logic. video files can come through as application/octect-stream. Mail parsing should separate attachments
|
12 |
into buckets? i.e. video, image, other. Each gets processed differently. I.e. when gallery in turned on images don't get embedded
|
1 |
provide a location for custom icons. update docs about location.
|
|
|
2 |
handle condition where only one of text/plain & text/html is supplied, but Preferred Text Type is set to the opposite.
|
3 |
replace native imap MIME parser with flourish - http://flourishlib.com/docs/fMailbox
|
4 |
automatically create category if it doesn't exist. new option to allow this feature?
|
5 |
WP MU support
|
6 |
Add setting for category detection. I.e. checkboxes for [], -- and : styles. Default to all on.
|
7 |
Make sure all failures are sent to admin (option?) failed attachments, etc.
|
|
|
8 |
Comment not being created when subject contains category command []. I.e. listserv subject lines
|
9 |
rework attachment logic. video files can come through as application/octect-stream. Mail parsing should separate attachments
|
10 |
into buckets? i.e. video, image, other. Each gets processed differently. I.e. when gallery in turned on images don't get embedded
|
get_mail.php
CHANGED
@@ -14,8 +14,9 @@ if (!function_exists('file_get_html'))
|
|
14 |
require_once (dirname(__FILE__) . DIRECTORY_SEPARATOR . 'simple_html_dom.php');
|
15 |
|
16 |
EchoInfo("Starting mail fetch");
|
|
|
|
|
17 |
EchoInfo("Time: " . date('Y-m-d H:i:s', time()) . " GMT");
|
18 |
-
include('Revision');
|
19 |
$wp_content_path = dirname(dirname(dirname(__FILE__)));
|
20 |
DebugEcho("wp_content_path: $wp_content_path");
|
21 |
if (file_exists($wp_content_path . DIRECTORY_SEPARATOR . "filterPostie.php")) {
|
@@ -41,16 +42,18 @@ DebugEcho("Error log: " . ini_get('error_log'));
|
|
41 |
DebugDump($config);
|
42 |
|
43 |
//loop through messages
|
|
|
44 |
foreach ($emails as $email) {
|
45 |
-
|
|
|
46 |
//sanity check to see if there is any info in the message
|
47 |
if ($email == NULL) {
|
48 |
$message = __('Dang, message is empty!', 'postie');
|
49 |
-
EchoInfo($message);
|
50 |
continue;
|
51 |
} else if ($email == 'already read') {
|
52 |
-
$message = __("
|
53 |
-
EchoInfo($message);
|
54 |
continue;
|
55 |
}
|
56 |
|
@@ -70,5 +73,4 @@ foreach ($emails as $email) {
|
|
70 |
|
71 |
if (function_exists('memory_get_usage'))
|
72 |
DebugEcho("memory at end of e-mail processing:" . memory_get_usage());
|
73 |
-
|
74 |
?>
|
14 |
require_once (dirname(__FILE__) . DIRECTORY_SEPARATOR . 'simple_html_dom.php');
|
15 |
|
16 |
EchoInfo("Starting mail fetch");
|
17 |
+
EchoInfo("Postie Version: ". POSTIE_VERSION);
|
18 |
+
EchoInfo("Debug mode: " . (IsDebugMode() ? "On" : "Off"));
|
19 |
EchoInfo("Time: " . date('Y-m-d H:i:s', time()) . " GMT");
|
|
|
20 |
$wp_content_path = dirname(dirname(dirname(__FILE__)));
|
21 |
DebugEcho("wp_content_path: $wp_content_path");
|
22 |
if (file_exists($wp_content_path . DIRECTORY_SEPARATOR . "filterPostie.php")) {
|
42 |
DebugDump($config);
|
43 |
|
44 |
//loop through messages
|
45 |
+
$message_number = 0;
|
46 |
foreach ($emails as $email) {
|
47 |
+
$message_number++;
|
48 |
+
DebugEcho("$message_number: ------------------------------------");
|
49 |
//sanity check to see if there is any info in the message
|
50 |
if ($email == NULL) {
|
51 |
$message = __('Dang, message is empty!', 'postie');
|
52 |
+
EchoInfo("$message_number: $message");
|
53 |
continue;
|
54 |
} else if ($email == 'already read') {
|
55 |
+
$message = __("Message is already marked 'read'.", 'postie');
|
56 |
+
EchoInfo("$message_number: $message");
|
57 |
continue;
|
58 |
}
|
59 |
|
73 |
|
74 |
if (function_exists('memory_get_usage'))
|
75 |
DebugEcho("memory at end of e-mail processing:" . memory_get_usage());
|
|
|
76 |
?>
|
postie-functions.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
|
3 |
/*
|
4 |
-
$Id: postie-functions.php
|
5 |
*/
|
6 |
|
7 |
//to turn on debug output add the following line to wp-config.php
|
@@ -401,7 +401,7 @@ function PostEmail($poster, $mimeDecodedEmail, $config) {
|
|
401 |
*/
|
402 |
function tag_PostType(&$subject, $postmodifiers, $config) {
|
403 |
|
404 |
-
$post_type =
|
405 |
$custom_post_type = $config['post_format'];
|
406 |
$separated_subject = array();
|
407 |
$separated_subject[0] = "";
|
@@ -416,7 +416,7 @@ function tag_PostType(&$subject, $postmodifiers, $config) {
|
|
416 |
$custom_post_type = trim(strtolower($custom_post_type));
|
417 |
DebugEcho("post type: found possible type '$custom_post_type'");
|
418 |
}
|
419 |
-
|
420 |
$known_post_types = get_post_types();
|
421 |
|
422 |
if (in_array($custom_post_type, array_map('strtolower', $known_post_types))) {
|
@@ -2012,8 +2012,7 @@ function isEmailAddressAuthorized($address, $authorized) {
|
|
2012 |
if (is_array($authorized)) {
|
2013 |
$a = strtolower(trim($address));
|
2014 |
if (!empty($a)) {
|
2015 |
-
$
|
2016 |
-
$r = $isAuthorized;
|
2017 |
}
|
2018 |
}
|
2019 |
return $r;
|
@@ -2551,7 +2550,7 @@ function BuildTextArea($label, $id, $current_value, $recommendation = NULL) {
|
|
2551 |
$html.="</th>";
|
2552 |
|
2553 |
$html .="<td><br /><textarea cols=40 rows=3 name='$id' id='$id'>";
|
2554 |
-
$current_value = preg_split("/[
|
2555 |
if (is_array($current_value)) {
|
2556 |
foreach ($current_value as $item) {
|
2557 |
$html .= "$item\n";
|
@@ -2658,7 +2657,8 @@ function config_GetDefaults() {
|
|
2658 |
'wrap_pre' => 'no',
|
2659 |
'featured_image' => false,
|
2660 |
'email_tls' => false,
|
2661 |
-
'post_format' => 'standard'
|
|
|
2662 |
);
|
2663 |
}
|
2664 |
|
1 |
<?php
|
2 |
|
3 |
/*
|
4 |
+
$Id: postie-functions.php 707119 2013-05-02 19:59:45Z WayneAllen $
|
5 |
*/
|
6 |
|
7 |
//to turn on debug output add the following line to wp-config.php
|
401 |
*/
|
402 |
function tag_PostType(&$subject, $postmodifiers, $config) {
|
403 |
|
404 |
+
$post_type = $config['post_type'];
|
405 |
$custom_post_type = $config['post_format'];
|
406 |
$separated_subject = array();
|
407 |
$separated_subject[0] = "";
|
416 |
$custom_post_type = trim(strtolower($custom_post_type));
|
417 |
DebugEcho("post type: found possible type '$custom_post_type'");
|
418 |
}
|
419 |
+
|
420 |
$known_post_types = get_post_types();
|
421 |
|
422 |
if (in_array($custom_post_type, array_map('strtolower', $known_post_types))) {
|
2012 |
if (is_array($authorized)) {
|
2013 |
$a = strtolower(trim($address));
|
2014 |
if (!empty($a)) {
|
2015 |
+
$r = in_array($a, array_map('strtolower', $authorized));
|
|
|
2016 |
}
|
2017 |
}
|
2018 |
return $r;
|
2550 |
$html.="</th>";
|
2551 |
|
2552 |
$html .="<td><br /><textarea cols=40 rows=3 name='$id' id='$id'>";
|
2553 |
+
$current_value = preg_split("/[\r\n]+/", esc_attr(trim($current_value)));
|
2554 |
if (is_array($current_value)) {
|
2555 |
foreach ($current_value as $item) {
|
2556 |
$html .= "$item\n";
|
2657 |
'wrap_pre' => 'no',
|
2658 |
'featured_image' => false,
|
2659 |
'email_tls' => false,
|
2660 |
+
'post_format' => 'standard',
|
2661 |
+
'post_type' => 'post'
|
2662 |
);
|
2663 |
}
|
2664 |
|
postie.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Plugin Name: Postie
|
5 |
Plugin URI: http://PostiePlugin.com/
|
6 |
Description: Signifigantly upgrades the posting by mail features of Word Press (See <a href='options-general.php?page=postie/postie.php'>Settings and options</a>) to configure your e-mail settings. See the <a href='http://wordpress.org/extend/plugins/postie/other_notes'>Readme</a> for usage. Visit the <a href='http://wordpress.org/support/plugin/postie'>postie forum</a> for support.
|
7 |
-
Version: 1.5.
|
8 |
Author: Wayne Allen
|
9 |
Author URI: http://allens-home.com/
|
10 |
License: GPL2
|
@@ -27,9 +27,10 @@
|
|
27 |
*/
|
28 |
|
29 |
/*
|
30 |
-
$Id: postie.php
|
31 |
*/
|
32 |
|
|
|
33 |
define("POSTIE_ROOT", dirname(__FILE__));
|
34 |
define("POSTIE_URL", WP_PLUGIN_URL . '/' . basename(dirname(__FILE__)));
|
35 |
|
4 |
Plugin Name: Postie
|
5 |
Plugin URI: http://PostiePlugin.com/
|
6 |
Description: Signifigantly upgrades the posting by mail features of Word Press (See <a href='options-general.php?page=postie/postie.php'>Settings and options</a>) to configure your e-mail settings. See the <a href='http://wordpress.org/extend/plugins/postie/other_notes'>Readme</a> for usage. Visit the <a href='http://wordpress.org/support/plugin/postie'>postie forum</a> for support.
|
7 |
+
Version: 1.5.5
|
8 |
Author: Wayne Allen
|
9 |
Author URI: http://allens-home.com/
|
10 |
License: GPL2
|
27 |
*/
|
28 |
|
29 |
/*
|
30 |
+
$Id: postie.php 707119 2013-05-02 19:59:45Z WayneAllen $
|
31 |
*/
|
32 |
|
33 |
+
define('POSTIE_VERSION', '1.5.5');
|
34 |
define("POSTIE_ROOT", dirname(__FILE__));
|
35 |
define("POSTIE_URL", WP_PLUGIN_URL . '/' . basename(dirname(__FILE__)));
|
36 |
|
postieIMAP.php
CHANGED
@@ -110,9 +110,7 @@ class PostieIMAP {
|
|
110 |
* @return string
|
111 |
*/
|
112 |
function fetchEmail($index) {
|
113 |
-
|
114 |
-
// die("Invalid IMAP/POP3 message index!");
|
115 |
-
// }
|
116 |
$header_info = imap_headerinfo($this->_connection, $index);
|
117 |
|
118 |
if (IsDebugMode() || $header_info->Recent == 'N' || $header_info->Unseen == 'U') {
|
110 |
* @return string
|
111 |
*/
|
112 |
function fetchEmail($index) {
|
113 |
+
|
|
|
|
|
114 |
$header_info = imap_headerinfo($this->_connection, $index);
|
115 |
|
116 |
if (IsDebugMode() || $header_info->Recent == 'N' || $header_info->Unseen == 'U') {
|
readme.txt
CHANGED
@@ -6,7 +6,7 @@ Plugin URI: http://PostiePlugin.com/
|
|
6 |
Tags: e-mail, email
|
7 |
Requires at least: 3.0
|
8 |
Tested up to: 3.5.1
|
9 |
-
Stable tag: 1.5.
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
@@ -443,6 +443,14 @@ All script, style and body tags are stripped from html emails.
|
|
443 |
Attachments are now processed in the order they were attached.
|
444 |
|
445 |
== CHANGELOG ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
446 |
= 1.5.4 (2013.05.01) =
|
447 |
* Added support for default post format
|
448 |
* Fixed bug where replies were getting attached to the wrong post
|
6 |
Tags: e-mail, email
|
7 |
Requires at least: 3.0
|
8 |
Tested up to: 3.5.1
|
9 |
+
Stable tag: 1.5.5
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
443 |
Attachments are now processed in the order they were attached.
|
444 |
|
445 |
== CHANGELOG ==
|
446 |
+
= 1.5.5 (2013.05.02) =
|
447 |
+
* Added ability to run a manual check with debugging output.
|
448 |
+
* Added support for default post type.
|
449 |
+
* Added version number to settings page.
|
450 |
+
* Changed Admin User to Default Poster, clarified help text and changed input to combo box of valid values.
|
451 |
+
* Fixed bug where commas (,) were not allowed in signature detection.
|
452 |
+
* Fixed some CSS issues on admin page.
|
453 |
+
|
454 |
= 1.5.4 (2013.05.01) =
|
455 |
* Added support for default post format
|
456 |
* Fixed bug where replies were getting attached to the wrong post
|