Version Description
(2015-02-25) = * Add some additional checks and error messages to postie_media_handle_upload for cases where the TMP directory isn't writable. * Any user with "Roles that can post" can now be the default poster.
Download this release
Release Info
Developer | WayneAllen |
Plugin | Postie |
Version | 1.6.13 |
Comparing to | |
See all releases |
Code changes from version 1.6.12 to 1.6.13
- config_form.php +3 -0
- docs/Changes.txt +4 -0
- docs/Postie.txt +1 -1
- languages/postie-ja.mo +0 -0
- languages/postie-ja.po +75 -57
- postie-functions.php +22 -10
- postie.php +3 -3
- readme.txt +5 -1
config_form.php
CHANGED
@@ -293,6 +293,9 @@
|
|
293 |
<select name='postie-settings[admin_username]' id='postie-settings[admin_username]'>
|
294 |
<?php
|
295 |
$adminusers = get_users('orderby=nicename&role=administrator');
|
|
|
|
|
|
|
296 |
foreach ($adminusers as $user) {
|
297 |
$selected = "";
|
298 |
if ($user->user_login == $admin_username) {
|
293 |
<select name='postie-settings[admin_username]' id='postie-settings[admin_username]'>
|
294 |
<?php
|
295 |
$adminusers = get_users('orderby=nicename&role=administrator');
|
296 |
+
foreach ($config['role_access'] as $userrole => $value) {
|
297 |
+
$adminusers = array_merge($adminusers, get_users("orderby=nicename&role=$userrole"));
|
298 |
+
}
|
299 |
foreach ($adminusers as $user) {
|
300 |
$selected = "";
|
301 |
if ($user->user_login == $admin_username) {
|
docs/Changes.txt
CHANGED
@@ -27,6 +27,10 @@ All script, style and body tags are stripped from html emails.
|
|
27 |
Attachments are now processed in the order they were attached.
|
28 |
|
29 |
== CHANGELOG ==
|
|
|
|
|
|
|
|
|
30 |
= 1.6.12 (2015-02-09) =
|
31 |
* Fix confirmation emails that were always sending to administrator.
|
32 |
* Fix regression in 1.6.11 which prevented attachments from being displayed in some cases.
|
27 |
Attachments are now processed in the order they were attached.
|
28 |
|
29 |
== CHANGELOG ==
|
30 |
+
= 1.6.13 (2015-02-25) =
|
31 |
+
* Add some additional checks and error messages to postie_media_handle_upload for cases where the TMP directory isn't writable.
|
32 |
+
* Any user with "Roles that can post" can now be the default poster.
|
33 |
+
|
34 |
= 1.6.12 (2015-02-09) =
|
35 |
* Fix confirmation emails that were always sending to administrator.
|
36 |
* Fix regression in 1.6.11 which prevented attachments from being displayed in some cases.
|
docs/Postie.txt
CHANGED
@@ -6,7 +6,7 @@ Plugin URI: http://PostiePlugin.com/
|
|
6 |
Tags: e-mail, email, post-by-email
|
7 |
Requires at least: 3.0
|
8 |
Tested up to: 4.1
|
9 |
-
Stable tag: 1.6.
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
6 |
Tags: e-mail, email, post-by-email
|
7 |
Requires at least: 3.0
|
8 |
Tested up to: 4.1
|
9 |
+
Stable tag: 1.6.13
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
languages/postie-ja.mo
CHANGED
Binary file
|
languages/postie-ja.po
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: Postie v1.6.
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: \n"
|
6 |
-
"PO-Revision-Date:
|
7 |
"Last-Translator: stranger-jp <wordpress.stranger.jp@gmail.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -70,8 +70,8 @@ msgstr "添付ファイル"
|
|
70 |
msgid "Support"
|
71 |
msgstr "サポート"
|
72 |
|
73 |
-
msgid "Mail Protocol
|
74 |
-
msgstr "
|
75 |
|
76 |
msgid "Use Transport Layer Security (TLS)"
|
77 |
msgstr "トランスポートレイヤーセキュリティを使用 (TLS)"
|
@@ -79,11 +79,11 @@ msgstr "トランスポートレイヤーセキュリティを使用 (TLS)"
|
|
79 |
msgid "Choose Yes if your server requres TLS"
|
80 |
msgstr "サーバーがTLSを必要とする場合は'Yes'を選択します。"
|
81 |
|
82 |
-
msgid "Port
|
83 |
-
msgstr "
|
84 |
|
85 |
-
msgid "Standard Ports
|
86 |
-
msgstr "
|
87 |
|
88 |
msgid "POP3"
|
89 |
msgstr "POP3"
|
@@ -97,17 +97,17 @@ msgstr "IMAP-SSL"
|
|
97 |
msgid "POP3-SSL"
|
98 |
msgstr "POP3-SSL"
|
99 |
|
100 |
-
msgid "Mail Server
|
101 |
-
msgstr "
|
102 |
|
103 |
-
msgid "Mail Userid
|
104 |
-
msgstr "メールユーザーID
|
105 |
|
106 |
-
msgid "Mail Password
|
107 |
-
msgstr "
|
108 |
|
109 |
-
msgid "Postie Time Correction
|
110 |
-
msgstr "Postie
|
111 |
|
112 |
msgid "Should be the same as your normal offset, but this lets you adjust it in cases where that doesn't work."
|
113 |
msgstr "通常はオフセットと同じにする必要がありますが、動作しない場合は調整してください。。"
|
@@ -139,8 +139,8 @@ msgstr "5分ごと"
|
|
139 |
msgid "check manually"
|
140 |
msgstr "手動チェック"
|
141 |
|
142 |
-
msgid "Maximum number of emails to process
|
143 |
-
msgstr "
|
144 |
|
145 |
msgid "Delete email after posting"
|
146 |
msgstr "投稿後にメールを削除"
|
@@ -151,20 +151,20 @@ msgstr "テスト目的の場合のみ'No'に設定してください。"
|
|
151 |
msgid "Allow Anyone To Post Via Email"
|
152 |
msgstr "誰でもメールで投稿可能"
|
153 |
|
154 |
-
msgid "Roles That Can Post
|
155 |
-
msgstr "
|
156 |
|
157 |
msgid "This allows you to grant access to other users to post if they have the proper access level. Administrators can always post."
|
158 |
msgstr "適切なアクセス権限を持っている場合、投稿する他のユーザーにアクセスを許可することができます。管理者は常に投稿可能です。"
|
159 |
|
160 |
-
msgid "Default Poster
|
161 |
-
msgstr "
|
162 |
|
163 |
msgid "This will be the poster if you allow posting from emails that are not a registered blog user."
|
164 |
msgstr "登録済みユーザーではないメールアドレスからの投稿を許可した場合、このユーザーが投稿者になります。"
|
165 |
|
166 |
-
msgid "Default post by mail category
|
167 |
-
msgstr "
|
168 |
|
169 |
msgid "Default post by mail tag(s)"
|
170 |
msgstr "デフォルトのメール投稿タグ"
|
@@ -172,29 +172,29 @@ msgstr "デフォルトのメール投稿タグ"
|
|
172 |
msgid "separated by commas"
|
173 |
msgstr "カンマ区切り"
|
174 |
|
175 |
-
msgid "Default Post Status
|
176 |
-
msgstr "
|
177 |
|
178 |
-
msgid "Default Post Format
|
179 |
-
msgstr "
|
180 |
|
181 |
-
msgid "Default Post Type
|
182 |
-
msgstr "
|
183 |
|
184 |
-
msgid "Default Title
|
185 |
-
msgstr "
|
186 |
|
187 |
-
msgid "Preferred Text Type
|
188 |
-
msgstr "
|
189 |
|
190 |
-
msgid "Tag Of Message Start
|
191 |
-
msgstr "
|
192 |
|
193 |
msgid "Use to remove any text from a message that the email provider puts at the top of the message"
|
194 |
msgstr "メールプロバイダがメッセージの最初に置くメッセージから任意のテキストを削除するために使用します。"
|
195 |
|
196 |
-
msgid "Tag Of Message End
|
197 |
-
msgstr "
|
198 |
|
199 |
msgid "Use to remove any text from a message that the email provider puts at the end of the message"
|
200 |
msgstr "メールプロバイダがメッセージの最後に置くメッセージから任意のテキストを削除するために使用します。"
|
@@ -211,17 +211,17 @@ msgstr "送信者と管理者"
|
|
211 |
msgid "none"
|
212 |
msgstr "送信しない"
|
213 |
|
214 |
-
msgid "Encoding for pages and feeds
|
215 |
-
msgstr "
|
216 |
|
217 |
msgid "The character set for your blog."
|
218 |
msgstr "ブログの文字コード設定です。"
|
219 |
|
220 |
msgid "should handle ISO-8859-1 as well"
|
221 |
-
msgstr "だけでなくISO-8859-1
|
222 |
|
223 |
-
msgid "Image Place Holder Tag
|
224 |
-
msgstr "
|
225 |
|
226 |
msgid "Image Template"
|
227 |
msgstr "画像テンプレート"
|
@@ -241,8 +241,8 @@ msgstr "プレビュー"
|
|
241 |
msgid "Video template 1"
|
242 |
msgstr "動画テンプレート 1"
|
243 |
|
244 |
-
msgid "Video 1 file extensions
|
245 |
-
msgstr "動画ファイル拡張子 1
|
246 |
|
247 |
msgid "Use video template 1 for files with these extensions (separated by commas)"
|
248 |
msgstr "これらの拡張子を持つファイルは動画テンプレート 1を使用します。 (カンマ区切り)"
|
@@ -250,8 +250,8 @@ msgstr "これらの拡張子を持つファイルは動画テンプレート 1
|
|
250 |
msgid "Video template 2"
|
251 |
msgstr "動画テンプレート 2"
|
252 |
|
253 |
-
msgid "Video 2 file extensions
|
254 |
-
msgstr "動画ファイル拡張子 2
|
255 |
|
256 |
msgid "Use video template 2 for files with these extensions (separated by commas)"
|
257 |
msgstr "これらの拡張子を持つファイルは動画テンプレート 2を使用します。 (カンマ区切り)"
|
@@ -259,8 +259,8 @@ msgstr "これらの拡張子を持つファイルは動画テンプレート 2
|
|
259 |
msgid "Audio template"
|
260 |
msgstr "音声テンプレート"
|
261 |
|
262 |
-
msgid "Audio file extensions
|
263 |
-
msgstr "
|
264 |
|
265 |
msgid "Use the audio template for files with these extensions (separated by commas)"
|
266 |
msgstr "これらの拡張子を持つファイルは音声テンプレートを使用します。 (カンマ区切り)"
|
@@ -280,8 +280,8 @@ msgstr "変更を保存"
|
|
280 |
msgid "Reset Settings To Defaults"
|
281 |
msgstr "設定をデフォルトにリセット"
|
282 |
|
283 |
-
msgid "memory at start of e-mail processing
|
284 |
-
msgstr "
|
285 |
|
286 |
msgid "Dang, message is empty!"
|
287 |
msgstr "メッセージが空です!"
|
@@ -413,13 +413,13 @@ msgstr "自動的にリンクをURLに変換"
|
|
413 |
msgid "Use shortcode for embedding video (youtube and others)"
|
414 |
msgstr "動画を埋め込むためのショートコードを使用 (YouTubeや他のもの)"
|
415 |
|
416 |
-
msgid "When set to 'Yes' no attachments will appear in the post (including images, video & sound files). Instead the url to the attachment will be put into a custom field named 'image'. Your theme will need logic to display these attachments
|
417 |
msgstr "'Yes'に設定すると添付ファイルが無い場合に投稿に表示します。(画像、動画や音声ファイルを含む) 代わりの添付ファイルのURLが'image'という名前のカスタムフィールドに入ります。あなたのテーマは、これらの添付ファイルを表示するためのロジックが必要になります。"
|
418 |
|
419 |
msgid "Visit <a href=\"http://postieplugin.com/\" target=\"_blank\">PostiePlugin.com</a> for lots of information and assistance."
|
420 |
msgstr "多くの情報や支援のための<a href=\"http://postieplugin.com/\" target=\"_blank\">PostiePlugin.com</a>を参照してください。"
|
421 |
|
422 |
-
msgid "Add just the type (not the subtype). Text, Video, Audio, Image and Multipart are always supported. Put each type on a single line
|
423 |
msgstr "タイプを追加します。(サブタイプではない) テキストは動画、音声、画像やマルチパートを常にサポートしています。一行に1つずつ入力してください。"
|
424 |
|
425 |
msgid "Allowed SMTP servers"
|
@@ -458,19 +458,19 @@ msgstr "添付ファイルに'plain'形式を使用する場合に配置する
|
|
458 |
msgid "Match short category"
|
459 |
msgstr "ショートカテゴリにマッチ"
|
460 |
|
461 |
-
msgid "Only allow messages which have been sent throught the following
|
462 |
msgstr "指定したSMTPサーバーを介して送信されたメッセージのみ許可します。許可するSMTPサーバーを一行に1つずつ入力します。SMTPサーバーをチェックしない場合は空白にしてください。"
|
463 |
|
464 |
msgid "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"
|
465 |
msgstr "一行に1つずつファイル名を入力してください。 このリストに一致するファイルは投稿されません。例えばワイルドカードを用いて*.xlsのようにするか、すべてのファイルを*.*で指定します"
|
466 |
|
467 |
-
msgid "Put each pattern on a separate line. Patterns are <a href='http://regex101.com/' target='_blank'>regular expressions</a
|
468 |
msgstr "一行に1つずつ各パターンを入力してください。パターンは<a href='http://regex101.com/' target='_blank'>正規表現</a>です。"
|
469 |
|
470 |
msgid "Signature Patterns"
|
471 |
msgstr "シグネチャーパターン"
|
472 |
|
473 |
-
msgid "Some hosts crash during thumbnail generation. Set this to 'No' if you have this issue
|
474 |
msgstr "サムネイル生成時にホストがクラッシュする場合はこの設定を'No'にしてください。"
|
475 |
|
476 |
msgid "Start Image Count At"
|
@@ -488,7 +488,7 @@ msgstr "添付ファイルの画像用カスタムフィールドを使用"
|
|
488 |
msgid "Use First Image as Featured Image"
|
489 |
msgstr "最初の画像をアイキャッチ画像にする"
|
490 |
|
491 |
-
msgid "Filter newlines must be turned on for this option to take effect
|
492 |
msgstr "改行フィルターを有効にする場合は、このオプションを'Yes'にします。"
|
493 |
|
494 |
msgid "Retain newlines from plain text. Set to no if using markdown or textitle syntax"
|
@@ -529,3 +529,21 @@ msgstr "非公開"
|
|
529 |
|
530 |
msgid "All"
|
531 |
msgstr "全て"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: Postie v1.6.12\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: \n"
|
6 |
+
"PO-Revision-Date: 2015-02-12 00:23+0900\n"
|
7 |
"Last-Translator: stranger-jp <wordpress.stranger.jp@gmail.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
70 |
msgid "Support"
|
71 |
msgstr "サポート"
|
72 |
|
73 |
+
msgid "Mail Protocol"
|
74 |
+
msgstr "メールプロトコル"
|
75 |
|
76 |
msgid "Use Transport Layer Security (TLS)"
|
77 |
msgstr "トランスポートレイヤーセキュリティを使用 (TLS)"
|
79 |
msgid "Choose Yes if your server requres TLS"
|
80 |
msgstr "サーバーがTLSを必要とする場合は'Yes'を選択します。"
|
81 |
|
82 |
+
msgid "Port"
|
83 |
+
msgstr "ポート"
|
84 |
|
85 |
+
msgid "Standard Ports"
|
86 |
+
msgstr "標準ポート"
|
87 |
|
88 |
msgid "POP3"
|
89 |
msgstr "POP3"
|
97 |
msgid "POP3-SSL"
|
98 |
msgstr "POP3-SSL"
|
99 |
|
100 |
+
msgid "Mail Server"
|
101 |
+
msgstr "メールサーバー"
|
102 |
|
103 |
+
msgid "Mail Userid"
|
104 |
+
msgstr "メールユーザーID"
|
105 |
|
106 |
+
msgid "Mail Password"
|
107 |
+
msgstr "メールパスワード"
|
108 |
|
109 |
+
msgid "Postie Time Correction"
|
110 |
+
msgstr "Postieの時刻補正"
|
111 |
|
112 |
msgid "Should be the same as your normal offset, but this lets you adjust it in cases where that doesn't work."
|
113 |
msgstr "通常はオフセットと同じにする必要がありますが、動作しない場合は調整してください。。"
|
139 |
msgid "check manually"
|
140 |
msgstr "手動チェック"
|
141 |
|
142 |
+
msgid "Maximum number of emails to process"
|
143 |
+
msgstr "処理するメールの最大数"
|
144 |
|
145 |
msgid "Delete email after posting"
|
146 |
msgstr "投稿後にメールを削除"
|
151 |
msgid "Allow Anyone To Post Via Email"
|
152 |
msgstr "誰でもメールで投稿可能"
|
153 |
|
154 |
+
msgid "Roles That Can Post"
|
155 |
+
msgstr "投稿可能な権限"
|
156 |
|
157 |
msgid "This allows you to grant access to other users to post if they have the proper access level. Administrators can always post."
|
158 |
msgstr "適切なアクセス権限を持っている場合、投稿する他のユーザーにアクセスを許可することができます。管理者は常に投稿可能です。"
|
159 |
|
160 |
+
msgid "Default Poster"
|
161 |
+
msgstr "デフォルトの投稿者"
|
162 |
|
163 |
msgid "This will be the poster if you allow posting from emails that are not a registered blog user."
|
164 |
msgstr "登録済みユーザーではないメールアドレスからの投稿を許可した場合、このユーザーが投稿者になります。"
|
165 |
|
166 |
+
msgid "Default post by mail category"
|
167 |
+
msgstr "デフォルトの投稿カテゴリー"
|
168 |
|
169 |
msgid "Default post by mail tag(s)"
|
170 |
msgstr "デフォルトのメール投稿タグ"
|
172 |
msgid "separated by commas"
|
173 |
msgstr "カンマ区切り"
|
174 |
|
175 |
+
msgid "Default Post Status"
|
176 |
+
msgstr "デフォルトの投稿状態"
|
177 |
|
178 |
+
msgid "Default Post Format"
|
179 |
+
msgstr "デフォルトの投稿フォーマット"
|
180 |
|
181 |
+
msgid "Default Post Type"
|
182 |
+
msgstr "デフォルトの投稿タイプ"
|
183 |
|
184 |
+
msgid "Default Title"
|
185 |
+
msgstr "デフォルトのタイトル"
|
186 |
|
187 |
+
msgid "Preferred Text Type"
|
188 |
+
msgstr "好みのテキストの種類"
|
189 |
|
190 |
+
msgid "Tag Of Message Start"
|
191 |
+
msgstr "メッセージ開始タグ"
|
192 |
|
193 |
msgid "Use to remove any text from a message that the email provider puts at the top of the message"
|
194 |
msgstr "メールプロバイダがメッセージの最初に置くメッセージから任意のテキストを削除するために使用します。"
|
195 |
|
196 |
+
msgid "Tag Of Message End"
|
197 |
+
msgstr "メッセージ終了タグ"
|
198 |
|
199 |
msgid "Use to remove any text from a message that the email provider puts at the end of the message"
|
200 |
msgstr "メールプロバイダがメッセージの最後に置くメッセージから任意のテキストを削除するために使用します。"
|
211 |
msgid "none"
|
212 |
msgstr "送信しない"
|
213 |
|
214 |
+
msgid "Encoding for pages and feeds"
|
215 |
+
msgstr "ページとフィードの文字コード"
|
216 |
|
217 |
msgid "The character set for your blog."
|
218 |
msgstr "ブログの文字コード設定です。"
|
219 |
|
220 |
msgid "should handle ISO-8859-1 as well"
|
221 |
+
msgstr "だけでなくISO-8859-1を処理する必要があります。"
|
222 |
|
223 |
+
msgid "Image Place Holder Tag"
|
224 |
+
msgstr "画像プレースホルダタグ"
|
225 |
|
226 |
msgid "Image Template"
|
227 |
msgstr "画像テンプレート"
|
241 |
msgid "Video template 1"
|
242 |
msgstr "動画テンプレート 1"
|
243 |
|
244 |
+
msgid "Video 1 file extensions"
|
245 |
+
msgstr "動画ファイル拡張子 1"
|
246 |
|
247 |
msgid "Use video template 1 for files with these extensions (separated by commas)"
|
248 |
msgstr "これらの拡張子を持つファイルは動画テンプレート 1を使用します。 (カンマ区切り)"
|
250 |
msgid "Video template 2"
|
251 |
msgstr "動画テンプレート 2"
|
252 |
|
253 |
+
msgid "Video 2 file extensions"
|
254 |
+
msgstr "動画ファイル拡張子 2"
|
255 |
|
256 |
msgid "Use video template 2 for files with these extensions (separated by commas)"
|
257 |
msgstr "これらの拡張子を持つファイルは動画テンプレート 2を使用します。 (カンマ区切り)"
|
259 |
msgid "Audio template"
|
260 |
msgstr "音声テンプレート"
|
261 |
|
262 |
+
msgid "Audio file extensions"
|
263 |
+
msgstr "音声ファイルの拡張子"
|
264 |
|
265 |
msgid "Use the audio template for files with these extensions (separated by commas)"
|
266 |
msgstr "これらの拡張子を持つファイルは音声テンプレートを使用します。 (カンマ区切り)"
|
280 |
msgid "Reset Settings To Defaults"
|
281 |
msgstr "設定をデフォルトにリセット"
|
282 |
|
283 |
+
msgid "memory at start of e-mail processing"
|
284 |
+
msgstr "メール処理の開始時にメモリ"
|
285 |
|
286 |
msgid "Dang, message is empty!"
|
287 |
msgstr "メッセージが空です!"
|
413 |
msgid "Use shortcode for embedding video (youtube and others)"
|
414 |
msgstr "動画を埋め込むためのショートコードを使用 (YouTubeや他のもの)"
|
415 |
|
416 |
+
msgid "When set to 'Yes' no attachments will appear in the post (including images, video & sound files). Instead the url to the attachment will be put into a custom field named 'image'. Your theme will need logic to display these attachments"
|
417 |
msgstr "'Yes'に設定すると添付ファイルが無い場合に投稿に表示します。(画像、動画や音声ファイルを含む) 代わりの添付ファイルのURLが'image'という名前のカスタムフィールドに入ります。あなたのテーマは、これらの添付ファイルを表示するためのロジックが必要になります。"
|
418 |
|
419 |
msgid "Visit <a href=\"http://postieplugin.com/\" target=\"_blank\">PostiePlugin.com</a> for lots of information and assistance."
|
420 |
msgstr "多くの情報や支援のための<a href=\"http://postieplugin.com/\" target=\"_blank\">PostiePlugin.com</a>を参照してください。"
|
421 |
|
422 |
+
msgid "Add just the type (not the subtype). Text, Video, Audio, Image and Multipart are always supported. Put each type on a single line"
|
423 |
msgstr "タイプを追加します。(サブタイプではない) テキストは動画、音声、画像やマルチパートを常にサポートしています。一行に1つずつ入力してください。"
|
424 |
|
425 |
msgid "Allowed SMTP servers"
|
458 |
msgid "Match short category"
|
459 |
msgstr "ショートカテゴリにマッチ"
|
460 |
|
461 |
+
msgid "Only allow messages which have been sent throught the following SMTP servers. Put each server on a separate line. Leave blank to allow any SMTP server."
|
462 |
msgstr "指定したSMTPサーバーを介して送信されたメッセージのみ許可します。許可するSMTPサーバーを一行に1つずつ入力します。SMTPサーバーをチェックしない場合は空白にしてください。"
|
463 |
|
464 |
msgid "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"
|
465 |
msgstr "一行に1つずつファイル名を入力してください。 このリストに一致するファイルは投稿されません。例えばワイルドカードを用いて*.xlsのようにするか、すべてのファイルを*.*で指定します"
|
466 |
|
467 |
+
msgid "Put each pattern on a separate line. Patterns are <a href='http://regex101.com/' target='_blank'>regular expressions</a>"
|
468 |
msgstr "一行に1つずつ各パターンを入力してください。パターンは<a href='http://regex101.com/' target='_blank'>正規表現</a>です。"
|
469 |
|
470 |
msgid "Signature Patterns"
|
471 |
msgstr "シグネチャーパターン"
|
472 |
|
473 |
+
msgid "Some hosts crash during thumbnail generation. Set this to 'No' if you have this issue"
|
474 |
msgstr "サムネイル生成時にホストがクラッシュする場合はこの設定を'No'にしてください。"
|
475 |
|
476 |
msgid "Start Image Count At"
|
488 |
msgid "Use First Image as Featured Image"
|
489 |
msgstr "最初の画像をアイキャッチ画像にする"
|
490 |
|
491 |
+
msgid "Filter newlines must be turned on for this option to take effect"
|
492 |
msgstr "改行フィルターを有効にする場合は、このオプションを'Yes'にします。"
|
493 |
|
494 |
msgid "Retain newlines from plain text. Set to no if using markdown or textitle syntax"
|
529 |
|
530 |
msgid "All"
|
531 |
msgstr "全て"
|
532 |
+
|
533 |
+
msgid "Default category"
|
534 |
+
msgstr "デフォルトのカテゴリ"
|
535 |
+
|
536 |
+
msgid "Default tag(s)"
|
537 |
+
msgstr "デフォルトのタグ"
|
538 |
+
|
539 |
+
msgid "Text for Message Start"
|
540 |
+
msgstr "メッセージの開始テキスト"
|
541 |
+
|
542 |
+
msgid "Text for Message End"
|
543 |
+
msgstr "メッセージの終了テキスト"
|
544 |
+
|
545 |
+
msgid "Remove all text from the beginning of the message up to the point where this is found."
|
546 |
+
msgstr "これがある時点以前のすべてのテキストを削除します。"
|
547 |
+
|
548 |
+
msgid "Remove all text from the point this is found to the end of the message."
|
549 |
+
msgstr "これがある時点移行のすべてのテキストを削除します。"
|
postie-functions.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
-
$Id: postie-functions.php
|
4 |
*/
|
5 |
|
6 |
//to turn on debug output add the following line to wp-config.php
|
@@ -60,6 +60,7 @@ function postie_environment() {
|
|
60 |
DebugEcho("Debug mode: " . (IsDebugMode() ? "On" : "Off"));
|
61 |
DebugEcho("Time: " . date('Y-m-d H:i:s', time()) . " GMT");
|
62 |
DebugEcho("Error log: " . ini_get('error_log'));
|
|
|
63 |
|
64 |
if (isMarkdownInstalled()) {
|
65 |
EchoInfo("You currently have the Markdown plugin installed. It will cause problems if you send in HTML email. Please turn it off if you intend to send email using HTML.");
|
@@ -176,13 +177,14 @@ function tag_Date(&$content, $message_date) {
|
|
176 |
$html = LoadDOM($content);
|
177 |
if ($html !== false) {
|
178 |
$es = $html->find('text');
|
179 |
-
DebugEcho("tag_Date: html " . count($es));
|
180 |
foreach ($es as $e) {
|
181 |
-
|
182 |
$matches = array();
|
183 |
if (1 === preg_match("/^date:\s?(.*)$/im", trim($e->plaintext), $matches)) {
|
|
|
184 |
DebugEcho("tag_Date: found date tag $matches[1]");
|
185 |
-
$newdate = strtotime($
|
186 |
if (false !== $newdate) {
|
187 |
$t = date("H:i:s", $newdate);
|
188 |
DebugEcho("tag_Date: original time: $t");
|
@@ -194,6 +196,8 @@ function tag_Date(&$content, $message_date) {
|
|
194 |
$message_date = date($format, $newdate);
|
195 |
$content = str_replace($matches[0], '', $content);
|
196 |
break;
|
|
|
|
|
197 |
}
|
198 |
}
|
199 |
}
|
@@ -1810,13 +1814,16 @@ function postie_media_handle_upload($part, $post_id, $poster, $generate_thubnail
|
|
1810 |
$overrides = array('test_form' => false);
|
1811 |
|
1812 |
$tmpFile = tempnam(get_temp_dir(), 'postie');
|
1813 |
-
|
1814 |
-
|
1815 |
-
|
1816 |
-
|
1817 |
-
|
|
|
|
|
|
|
1818 |
} else {
|
1819 |
-
EchoInfo("
|
1820 |
}
|
1821 |
|
1822 |
//special case to deal with older png implementations
|
@@ -2417,8 +2424,11 @@ function filter_ReplaceImageCIDs(&$content, &$attachments, $config) {
|
|
2417 |
$ckey = str_replace('/', '\/', $key);
|
2418 |
$pattern = "/cid:$ckey/";
|
2419 |
if (preg_match($pattern, $content)) {
|
|
|
2420 |
$content = preg_replace($pattern, $info[0], $content);
|
2421 |
$used[] = $info[1]; //Index of html to ignore
|
|
|
|
|
2422 |
}
|
2423 |
}
|
2424 |
if (count($used) > 0) {
|
@@ -2449,6 +2459,8 @@ function filter_ReplaceImageCIDs(&$content, &$attachments, $config) {
|
|
2449 |
DebugDump($html);
|
2450 |
$attachments["html"] = $html;
|
2451 |
//DebugDump($attachments);
|
|
|
|
|
2452 |
}
|
2453 |
}
|
2454 |
}
|
1 |
<?php
|
2 |
/*
|
3 |
+
$Id: postie-functions.php 1097447 2015-02-23 18:39:54Z WayneAllen $
|
4 |
*/
|
5 |
|
6 |
//to turn on debug output add the following line to wp-config.php
|
60 |
DebugEcho("Debug mode: " . (IsDebugMode() ? "On" : "Off"));
|
61 |
DebugEcho("Time: " . date('Y-m-d H:i:s', time()) . " GMT");
|
62 |
DebugEcho("Error log: " . ini_get('error_log'));
|
63 |
+
DebugEcho("TMP dir: " . get_temp_dir());
|
64 |
|
65 |
if (isMarkdownInstalled()) {
|
66 |
EchoInfo("You currently have the Markdown plugin installed. It will cause problems if you send in HTML email. Please turn it off if you intend to send email using HTML.");
|
177 |
$html = LoadDOM($content);
|
178 |
if ($html !== false) {
|
179 |
$es = $html->find('text');
|
180 |
+
//DebugEcho("tag_Date: html " . count($es));
|
181 |
foreach ($es as $e) {
|
182 |
+
DebugEcho("tag_Date: " . trim($e->plaintext));
|
183 |
$matches = array();
|
184 |
if (1 === preg_match("/^date:\s?(.*)$/im", trim($e->plaintext), $matches)) {
|
185 |
+
$possibledate = trim($matches[1]);
|
186 |
DebugEcho("tag_Date: found date tag $matches[1]");
|
187 |
+
$newdate = strtotime($possibledate);
|
188 |
if (false !== $newdate) {
|
189 |
$t = date("H:i:s", $newdate);
|
190 |
DebugEcho("tag_Date: original time: $t");
|
196 |
$message_date = date($format, $newdate);
|
197 |
$content = str_replace($matches[0], '', $content);
|
198 |
break;
|
199 |
+
} else {
|
200 |
+
DebugEcho("tag_Date: failed to parse '$possibledate' ($newdate)");
|
201 |
}
|
202 |
}
|
203 |
}
|
1814 |
$overrides = array('test_form' => false);
|
1815 |
|
1816 |
$tmpFile = tempnam(get_temp_dir(), 'postie');
|
1817 |
+
if ($tmpFile !== false) {
|
1818 |
+
$fp = fopen($tmpFile, 'w');
|
1819 |
+
if ($fp) {
|
1820 |
+
fwrite($fp, $part->body);
|
1821 |
+
fclose($fp);
|
1822 |
+
} else {
|
1823 |
+
EchoInfo("postie_media_handle_upload: Could not write to temp file: '$tmpFile' ");
|
1824 |
+
}
|
1825 |
} else {
|
1826 |
+
EchoInfo("postie_media_handle_upload: Could not create temp file in " . get_temp_dir());
|
1827 |
}
|
1828 |
|
1829 |
//special case to deal with older png implementations
|
2424 |
$ckey = str_replace('/', '\/', $key);
|
2425 |
$pattern = "/cid:$ckey/";
|
2426 |
if (preg_match($pattern, $content)) {
|
2427 |
+
DebugEcho("found $key");
|
2428 |
$content = preg_replace($pattern, $info[0], $content);
|
2429 |
$used[] = $info[1]; //Index of html to ignore
|
2430 |
+
} else {
|
2431 |
+
DebugEcho("did not find $key");
|
2432 |
}
|
2433 |
}
|
2434 |
if (count($used) > 0) {
|
2459 |
DebugDump($html);
|
2460 |
$attachments["html"] = $html;
|
2461 |
//DebugDump($attachments);
|
2462 |
+
} else {
|
2463 |
+
DebugEcho("no cid attachments");
|
2464 |
}
|
2465 |
}
|
2466 |
}
|
postie.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Plugin Name: Postie
|
5 |
Plugin URI: http://PostiePlugin.com/
|
6 |
Description: Create posts via email. Signifigantly upgrades the Post by Email features of Word Press.
|
7 |
-
Version: 1.6.
|
8 |
Author: Wayne Allen
|
9 |
Author URI: http://allens-home.com/
|
10 |
License: GPL2
|
@@ -27,11 +27,11 @@
|
|
27 |
*/
|
28 |
|
29 |
/*
|
30 |
-
$Id: postie.php
|
31 |
*/
|
32 |
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "postie-functions.php");
|
33 |
|
34 |
-
define('POSTIE_VERSION', '1.6.
|
35 |
define("POSTIE_ROOT", dirname(__FILE__));
|
36 |
define("POSTIE_URL", WP_PLUGIN_URL . '/' . basename(dirname(__FILE__)));
|
37 |
|
4 |
Plugin Name: Postie
|
5 |
Plugin URI: http://PostiePlugin.com/
|
6 |
Description: Create posts via email. Signifigantly upgrades the Post by Email features of Word Press.
|
7 |
+
Version: 1.6.13
|
8 |
Author: Wayne Allen
|
9 |
Author URI: http://allens-home.com/
|
10 |
License: GPL2
|
27 |
*/
|
28 |
|
29 |
/*
|
30 |
+
$Id: postie.php 1099450 2015-02-25 18:12:14Z WayneAllen $
|
31 |
*/
|
32 |
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "postie-functions.php");
|
33 |
|
34 |
+
define('POSTIE_VERSION', '1.6.13');
|
35 |
define("POSTIE_ROOT", dirname(__FILE__));
|
36 |
define("POSTIE_URL", WP_PLUGIN_URL . '/' . basename(dirname(__FILE__)));
|
37 |
|
readme.txt
CHANGED
@@ -6,7 +6,7 @@ Plugin URI: http://PostiePlugin.com/
|
|
6 |
Tags: e-mail, email, post-by-email
|
7 |
Requires at least: 3.0
|
8 |
Tested up to: 4.1
|
9 |
-
Stable tag: 1.6.
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
@@ -238,6 +238,10 @@ All script, style and body tags are stripped from html emails.
|
|
238 |
Attachments are now processed in the order they were attached.
|
239 |
|
240 |
== CHANGELOG ==
|
|
|
|
|
|
|
|
|
241 |
= 1.6.12 (2015-02-09) =
|
242 |
* Fix confirmation emails that were always sending to administrator.
|
243 |
* Fix regression in 1.6.11 which prevented attachments from being displayed in some cases.
|
6 |
Tags: e-mail, email, post-by-email
|
7 |
Requires at least: 3.0
|
8 |
Tested up to: 4.1
|
9 |
+
Stable tag: 1.6.13
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
238 |
Attachments are now processed in the order they were attached.
|
239 |
|
240 |
== CHANGELOG ==
|
241 |
+
= 1.6.13 (2015-02-25) =
|
242 |
+
* Add some additional checks and error messages to postie_media_handle_upload for cases where the TMP directory isn't writable.
|
243 |
+
* Any user with "Roles that can post" can now be the default poster.
|
244 |
+
|
245 |
= 1.6.12 (2015-02-09) =
|
246 |
* Fix confirmation emails that were always sending to administrator.
|
247 |
* Fix regression in 1.6.11 which prevented attachments from being displayed in some cases.
|