kareila: (Default)
kareila ([personal profile] kareila) wrote in [site community profile] changelog2010-06-10 08:33 pm

[dw-free] Email summary of post-by-email commands/options

[commit: http://hg.dwscoalition.org/dw-free/rev/901c12ccc642]

http://bugs.dwscoalition.org/show_bug.cgi?id=1689

When posting via email, allow post-icon as an alternative to post-userpic.
Also updates the emailpost site help text to reflect terminology changes.

Patch by [personal profile] kareila.

Files modified:
  • cgi-bin/ljemailgateway.pl
  • htdocs/manage/emailpost.bml
--------------------------------------------------------------------------------
diff -r 3bf819c640a2 -r 901c12ccc642 cgi-bin/ljemailgateway.pl
--- a/cgi-bin/ljemailgateway.pl	Thu Jun 10 08:06:16 2010 -0500
+++ b/cgi-bin/ljemailgateway.pl	Thu Jun 10 15:33:38 2010 -0500
@@ -430,6 +430,7 @@ sub process {
     # are used.
     $props->{taglist} = $post_headers{tags};
     $props->{picture_keyword} = $post_headers{'userpic'} ||
+                                $post_headers{'icon'} ||
                                 $u->{'emailpost_userpic'};
     if (my $id = LJ::mood_id($post_headers{'mood'})) {
         $props->{current_moodid}   = $id;
diff -r 3bf819c640a2 -r 901c12ccc642 htdocs/manage/emailpost.bml
--- a/htdocs/manage/emailpost.bml	Thu Jun 10 08:06:16 2010 -0500
+++ b/htdocs/manage/emailpost.bml	Thu Jun 10 15:33:38 2010 -0500
@@ -188,7 +188,7 @@ body<=
                     $to_pin
                     $from
                     $subject
-                    <b>post-userpic:</b> $ML{'.help.headers.options.userpic.example'}<br />
+                    <b>post-icon:</b> $ML{'.help.headers.options.userpic.example'}<br />
                     <b>post-tags:</b> $ML{'.help.headers.options.tags.example'}<br />
                     <b>post-mood:</b> $ML{'.help.headers.options.mood.example'}<br />
                     <b>post-music:</b> $ML{'.help.headers.options.music.example'}<br />
@@ -209,7 +209,7 @@ body<=
                     <div style="margin-left:40px">$ML{'.help.headers.security.private.desc'}</div><br />
                     </div>
                     <div style="margin-left:40px">
-                    <b>post-security:</b> friends<br />
+                    <b>post-security:</b> access (or friends)<br />
                     <div style="margin-left:40px">$ML{'.help.headers.security.friends.desc'}</div><br />
                     </div>
                     <div style="margin-left:40px">
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org