Hi,

I'm trying to create a spamstatus plugin which should accomplish these tasks:

 - flag messages in list view
 - flag messages in message view
 - option to select all flagged messages

This is no take on another local filter plugin, filtering is up to Sieve. What
I want to achieve is RC displays an icon on messages that have been marked by
SpamAssassin or any other filter.

Alpha code is available at https://github.com/capncrunch/spamstatus

I'm running into a couple of issues here:

 - I have no clue how to add an icon into list view. I could use colors but
   would prefer an icon.

 - I'm currently displaying an icon in front of the sender in message view but
   would prefer to display this icon in front of the subject.
   Problem is RC is HTML escaping the code when I put it in front of the
   subject field.

 - I added an icon to the listcontrols container manually. I tried using
   add_button instead but didn't get any output.

 - How do I make the select button to actually select all spam messages?
   Reading through the source code of RC suggests select-all isn't extendable
   like this.

This is supposed to be used on a virtual RC farm running on Debian stable so
code needs to be compatible with RC 0.3.1 and I can't modify RC itself.

I'd be very grateful if anybody could provide me with a hint to my problems
above.

TIA
-- 
Bodo Bellut          [email protected]         |     USE PGP!       +-----------+
Stangefolstr. 17     Fax/Mobile:   just ask  | (key via server    |\  O---m  /|
44141 Dortmund       Fon: +49-700-77-BELLUT  |  or on request)    |/---------\|
PGP: 768/FA18A639 AE 5A 47 40 5A A0 D6 15  8E 54 44 AA 8D DD 6E BD+-----------+



_______________________________________________
Roundcube Development discussion mailing list
[email protected]
http://lists.roundcube.net/mailman/listinfo/dev

Reply via email to