Roundcube Community Forum

SVN Releases => Issues & Bugs => Topic started by: ABerglund on November 13, 2009, 10:18:41 PM

Title: Need sig separator change for top-posting in 3148
Post by: ABerglund on November 13, 2009, 10:18:41 PM
Top-posting patch was incorporated into SVN r3087 and later. Just tested r3107 and noticed that while the patch works fine, signatures inserted at the top still use the '-- ' separator, which will cause problems for top-posters. See this post - http://www.roundcubeforum.net/api-based-plugins/5148-plugin-sig-above-reply-option.html#post21439

Ideally, the separator should be left alone for bottom-posters, but different or absent for top-posters.
Title: Need sig separator change for top-posting in 3107
Post by: ABerglund on December 02, 2009, 01:00:22 PM
Just checked out 3148, and this issue has still not been addressed.

I see only two choices - either the '-- ' separator needs to be changed/deleted for all replies/forwards, or better would be if the separator was left alone for bottom-posting but changed/deleted when top-posting is selected.

This definitely needs to be addressed prior to the next update to stable. Top-posting users will complain loudly if the quoted messages that they forward or reply to are stripped below their reply. This will negate all the good work on making top-posting possible.
Title: Need sig separator change for top-posting in 3107
Post by: SKaero on December 03, 2009, 12:01:53 AM
I thought there was a ticket for this but I can't find it now, If there isn't a ticket for it you should start one.
Title: Need sig separator change for top-posting in 3107
Post by: ABerglund on December 03, 2009, 01:38:43 AM
I couldn't find a ticket for it either, so I started one, #1486330.
Title: Need sig separator change for top-posting in 3107
Post by: ABerglund on December 12, 2009, 05:48:49 PM
I've attached a diff file to the ticket on this:

#1486330 (Need signature separator change for top-posting replies) ? Roundcube Webmail (http://trac.roundcube.net/ticket/1486330)

The diff was created from r3177, and can be applied as a patch to that version. (patch -bp0 sig-separator.diff)

The goal was to retain the '-- ' separator if the signature is placed at the bottom (whether the user top-posts or not), but not add it if the prefs are set to signature-above-replies.

Comments and/or criticism are welcome.
Title: Need sig separator change for top-posting in 3107
Post by: ABerglund on December 20, 2009, 07:10:49 PM
I've attached an alternate patch to the ticket linked in my previous reply. Based on feedback from my internal testers, many people like having a separator of some kind. So the alternate diff/patch (sig-separator2.diff) uses "-- " for bottom posting, but "- " for top-posting. This diff/patch should be valid for svn 3177-3184 (the current svn as I write this).
Title: Need sig separator change for top-posting in 3107
Post by: ABerglund on December 29, 2009, 11:21:09 AM
Has anyone other than myself tested the patches I attached to the ticket on this yet? If so, any feedback?
Title: Need sig separator change for top-posting in 3107
Post by: ABerglund on March 04, 2010, 11:16:44 AM
Fixed in SVN 3315. Works well, and better thought out than I had hacked together. Good work!