Version Description
(2013.06.21) = * Added PHP version to debug output * Added PHP version check when disabling GSSAPI * Added new filter "postie_post_before" to replace "postie_post" * Added new filter "postie_post_after"
Download this release
Release Info
Developer | WayneAllen |
Plugin | Postie |
Version | 1.5.14 |
Comparing to | |
See all releases |
Code changes from version 1.5.13 to 1.5.14
- Revision +0 -2
- docs/Changes.txt +6 -0
- docs/Postie.txt +2 -2
- docs/TODO.txt +2 -2
- postie-functions.php +5 -1
- postie.php +3 -3
- postieIMAP.php +8 -1
- readme.txt +8 -2
Revision
CHANGED
@@ -1,2 +0,0 @@
|
|
1 |
-
Revision: 726477
|
2 |
-
Last Changed Date: 2013-06-12 16:39:49 -0700 (Wed, 12 Jun 2013)
|
|
|
|
docs/Changes.txt
CHANGED
@@ -22,6 +22,12 @@ 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.13 (2013.06.18) =
|
26 |
* Added more robust charset conversion to deal with malformed emails.
|
27 |
* Ensure the default title is used when category etc parsing results in blank title
|
22 |
Attachments are now processed in the order they were attached.
|
23 |
|
24 |
== CHANGELOG ==
|
25 |
+
= 1.5.14 (2013.06.21) =
|
26 |
+
* Added PHP version to debug output
|
27 |
+
* Added PHP version check when disabling GSSAPI
|
28 |
+
* Added new filter "postie_post_before" to replace "postie_post"
|
29 |
+
* Added new filter "postie_post_after"
|
30 |
+
|
31 |
= 1.5.13 (2013.06.18) =
|
32 |
* Added more robust charset conversion to deal with malformed emails.
|
33 |
* Ensure the default title is used when category etc parsing results in blank title
|
docs/Postie.txt
CHANGED
@@ -5,8 +5,8 @@ Author URI: http://allens-home.com/
|
|
5 |
Plugin URI: http://PostiePlugin.com/
|
6 |
Tags: e-mail, email
|
7 |
Requires at least: 3.0
|
8 |
-
Tested up to: 3.5.
|
9 |
-
Stable tag: 1.5.
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
5 |
Plugin URI: http://PostiePlugin.com/
|
6 |
Tags: e-mail, email
|
7 |
Requires at least: 3.0
|
8 |
+
Tested up to: 3.5.2
|
9 |
+
Stable tag: 1.5.14
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
docs/TODO.txt
CHANGED
@@ -6,8 +6,7 @@ date: tag is being detected in body when not wanted
|
|
6 |
Update tag_* and filter_* to handle HTML (per tag_Tags)
|
7 |
dynamically determine video size (height/width) - https://code.google.com/p/phpvideotoolkit/
|
8 |
gallery logic does not handle both images and non-images
|
9 |
-
|
10 |
-
standardize tags
|
11 |
|
12 |
=========
|
13 |
Postie 2.0
|
@@ -24,6 +23,7 @@ replace native imap MIME parser with flourish - http://flourishlib.com/docs/fMai
|
|
24 |
provide a location for custom icons. update docs about location.
|
25 |
handle condition where only one of text/plain & text/html is supplied, but Preferred Text Type is set to the opposite.
|
26 |
change all Postie command to use a more consistent and easy to parse syntax
|
|
|
27 |
commands with multiple data
|
28 |
#custom name="field name" data="field value" custom#
|
29 |
|
6 |
Update tag_* and filter_* to handle HTML (per tag_Tags)
|
7 |
dynamically determine video size (height/width) - https://code.google.com/p/phpvideotoolkit/
|
8 |
gallery logic does not handle both images and non-images
|
9 |
+
plugin conflict - Image Rotation Fixer
|
|
|
10 |
|
11 |
=========
|
12 |
Postie 2.0
|
23 |
provide a location for custom icons. update docs about location.
|
24 |
handle condition where only one of text/plain & text/html is supplied, but Preferred Text Type is set to the opposite.
|
25 |
change all Postie command to use a more consistent and easy to parse syntax
|
26 |
+
|
27 |
commands with multiple data
|
28 |
#custom name="field name" data="field value" custom#
|
29 |
|
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
|
@@ -49,6 +49,7 @@ if (!function_exists('mb_str_replace')) {
|
|
49 |
function postie_environment() {
|
50 |
EchoInfo("Postie Version: " . POSTIE_VERSION);
|
51 |
EchoInfo("WordPres Version: " . get_bloginfo('version'));
|
|
|
52 |
EchoInfo("Debug mode: " . (IsDebugMode() ? "On" : "Off"));
|
53 |
EchoInfo("Time: " . date('Y-m-d H:i:s', time()) . " GMT");
|
54 |
DebugEcho("Error log: " . ini_get('error_log'));
|
@@ -413,6 +414,7 @@ function PostEmail($poster, $mimeDecodedEmail, $config) {
|
|
413 |
$details = CreatePost($poster, $mimeDecodedEmail, $post_id, $is_reply, $config, $postmodifiers);
|
414 |
|
415 |
$details = apply_filters('postie_post', $details);
|
|
|
416 |
|
417 |
DebugEcho(("Post postie_post filter"));
|
418 |
DebugDump($details);
|
@@ -899,6 +901,8 @@ function PostToDB($details, $isReply, $customImageField, $postmodifiers) {
|
|
899 |
}
|
900 |
|
901 |
$postmodifiers->apply($post_ID, $details);
|
|
|
|
|
902 |
}
|
903 |
}
|
904 |
|
1 |
<?php
|
2 |
|
3 |
/*
|
4 |
+
$Id: postie-functions.php 731782 2013-06-25 23:40:57Z WayneAllen $
|
5 |
*/
|
6 |
|
7 |
//to turn on debug output add the following line to wp-config.php
|
49 |
function postie_environment() {
|
50 |
EchoInfo("Postie Version: " . POSTIE_VERSION);
|
51 |
EchoInfo("WordPres Version: " . get_bloginfo('version'));
|
52 |
+
EchoInfo("PHP Version: " . phpversion());
|
53 |
EchoInfo("Debug mode: " . (IsDebugMode() ? "On" : "Off"));
|
54 |
EchoInfo("Time: " . date('Y-m-d H:i:s', time()) . " GMT");
|
55 |
DebugEcho("Error log: " . ini_get('error_log'));
|
414 |
$details = CreatePost($poster, $mimeDecodedEmail, $post_id, $is_reply, $config, $postmodifiers);
|
415 |
|
416 |
$details = apply_filters('postie_post', $details);
|
417 |
+
$details = apply_filters('postie_post_before', $details);
|
418 |
|
419 |
DebugEcho(("Post postie_post filter"));
|
420 |
DebugDump($details);
|
901 |
}
|
902 |
|
903 |
$postmodifiers->apply($post_ID, $details);
|
904 |
+
|
905 |
+
apply_filters('postie_post_after', $details);
|
906 |
}
|
907 |
}
|
908 |
|
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,10 +27,10 @@
|
|
27 |
*/
|
28 |
|
29 |
/*
|
30 |
-
$Id: postie.php
|
31 |
*/
|
32 |
|
33 |
-
define('POSTIE_VERSION', '1.5.
|
34 |
define("POSTIE_ROOT", dirname(__FILE__));
|
35 |
define("POSTIE_URL", WP_PLUGIN_URL . '/' . basename(dirname(__FILE__)));
|
36 |
|
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.14
|
8 |
Author: Wayne Allen
|
9 |
Author URI: http://allens-home.com/
|
10 |
License: GPL2
|
27 |
*/
|
28 |
|
29 |
/*
|
30 |
+
$Id: postie.php 731782 2013-06-25 23:40:57Z WayneAllen $
|
31 |
*/
|
32 |
|
33 |
+
define('POSTIE_VERSION', '1.5.14');
|
34 |
define("POSTIE_ROOT", dirname(__FILE__));
|
35 |
define("POSTIE_URL", WP_PLUGIN_URL . '/' . basename(dirname(__FILE__)));
|
36 |
|
postieIMAP.php
CHANGED
@@ -75,12 +75,19 @@ class PostieIMAP {
|
|
75 |
}
|
76 |
if (preg_match("/google|gmail/i", $server)) {
|
77 |
//Fix from Jim Hodgson http://www.jimhodgson.com/2006/07/19/postie/
|
|
|
78 |
$this->_server_string = "{" . $server . ":" . $port . $option . "}INBOX";
|
79 |
} else {
|
80 |
$this->_server_string = "{" . $server . ":" . $port . $option . "}";
|
81 |
}
|
82 |
DebugEcho("IMAP: connection string - {$this->_server_string}");
|
83 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
84 |
|
85 |
if ($this->_connection) {
|
86 |
$this->_connected = true;
|
75 |
}
|
76 |
if (preg_match("/google|gmail/i", $server)) {
|
77 |
//Fix from Jim Hodgson http://www.jimhodgson.com/2006/07/19/postie/
|
78 |
+
DebugEcho("IMAP: using Google INBOX");
|
79 |
$this->_server_string = "{" . $server . ":" . $port . $option . "}INBOX";
|
80 |
} else {
|
81 |
$this->_server_string = "{" . $server . ":" . $port . $option . "}";
|
82 |
}
|
83 |
DebugEcho("IMAP: connection string - {$this->_server_string}");
|
84 |
+
//Exchange connection, but requires PHP 5.3.2
|
85 |
+
if (version_compare(phpversion(), '5.3.2', '<')) {
|
86 |
+
$this->_connection = imap_open($this->_server_string, $login, $password);
|
87 |
+
} else {
|
88 |
+
DebugEcho("IMAP: disabling GSSAPI");
|
89 |
+
$this->_connection = imap_open($this->_server_string, $login, $password, NULL, 1, array('DISABLE_AUTHENTICATOR' => 'GSSAPI'));
|
90 |
+
}
|
91 |
|
92 |
if ($this->_connection) {
|
93 |
$this->_connected = true;
|
readme.txt
CHANGED
@@ -5,8 +5,8 @@ Author URI: http://allens-home.com/
|
|
5 |
Plugin URI: http://PostiePlugin.com/
|
6 |
Tags: e-mail, email
|
7 |
Requires at least: 3.0
|
8 |
-
Tested up to: 3.5.
|
9 |
-
Stable tag: 1.5.
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
@@ -445,6 +445,12 @@ All script, style and body tags are stripped from html emails.
|
|
445 |
Attachments are now processed in the order they were attached.
|
446 |
|
447 |
== CHANGELOG ==
|
|
|
|
|
|
|
|
|
|
|
|
|
448 |
= 1.5.13 (2013.06.18) =
|
449 |
* Added more robust charset conversion to deal with malformed emails.
|
450 |
* Ensure the default title is used when category etc parsing results in blank title
|
5 |
Plugin URI: http://PostiePlugin.com/
|
6 |
Tags: e-mail, email
|
7 |
Requires at least: 3.0
|
8 |
+
Tested up to: 3.5.2
|
9 |
+
Stable tag: 1.5.14
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
445 |
Attachments are now processed in the order they were attached.
|
446 |
|
447 |
== CHANGELOG ==
|
448 |
+
= 1.5.14 (2013.06.21) =
|
449 |
+
* Added PHP version to debug output
|
450 |
+
* Added PHP version check when disabling GSSAPI
|
451 |
+
* Added new filter "postie_post_before" to replace "postie_post"
|
452 |
+
* Added new filter "postie_post_after"
|
453 |
+
|
454 |
= 1.5.13 (2013.06.18) =
|
455 |
* Added more robust charset conversion to deal with malformed emails.
|
456 |
* Ensure the default title is used when category etc parsing results in blank title
|