Hello everybody
Here my first plugin based on the Mark As Junk one.
The goal is to archive selected message by moving them to an "Archive" folder. The name of the archive folder is configurable using the same scheme as the Mark as Junk plugin:
$rcmail_config['archive_mbox'] = 'Archive';
The localisations are in english and french.
The icons comes from the Tango icon set.
I hope it will be useful.
All the best, André.
--- 8< --- detachments --- 8< --- The following attachments have been detached and are available for viewing. http://detached.gigo.com/rc/tN/MtQUwbe2/archive.zip Only click these links if you trust the sender, as well as this message. --- 8< --- detachments --- 8< ---
List info: http://lists.roundcube.net/dev/
On Sat, Jun 6, 2009 at 16:45, Andre Rodierandre.rodier@red2.co.uk wrote:
Hello everybody
Here my first plugin based on the Mark As Junk one.
The goal is to archive selected message by moving them to an "Archive" folder. The name of the archive folder is configurable using the same scheme as the Mark as Junk plugin:
This exactly what I often use and it perfectly fits into my environment.
$rcmail_config['archive_mbox'] = 'Archive';
I've extended your plugin by adding a config option to the user prefs page where a user can select/change the archive folder. Also the toolbar button only shows up if such a folder is configured.
Please note that you need to update RoundCube to the latest SVN version in order to make the plugin work. It now uses a new feature where a plugin can define several tasks to be activated in by setting public $task = 'mail|settings'; Only SVN r2628 and higher support this.
The localisations are in english and french.
I've added German (de_CH and de_DE).
If you can host it somewhere you're kindly requested to add a link to it at http://trac.roundcube.net/wiki/Plugin_Repository Once we have our plugin repository ready you can upload it there.
Many thanks for your work!
Thomas
--- 8< --- detachments --- 8< --- The following attachments have been detached and are available for viewing. http://detached.gigo.com/rc/6U/vJqCMYAq/archive_1.1.tgz Only click these links if you trust the sender, as well as this message. --- 8< --- detachments --- 8< ---
List info: http://lists.roundcube.net/dev/
I will host this plugin meanwhile on mail4us.net. If it is ok for you ...
It'll be tomorrow.
----- Original Message ----- From: "Thomas Bruederli" roundcube@gmail.com To: "Andre Rodier" andre.rodier@red2.co.uk Cc: dev@lists.roundcube.net Sent: Tuesday, June 09, 2009 10:52 AM Subject: Re: [RCD] Message archive plugin
On Sat, Jun 6, 2009 at 16:45, Andre Rodierandre.rodier@red2.co.uk wrote:
Hello everybody
Here my first plugin based on the Mark As Junk one.
The goal is to archive selected message by moving them to an "Archive" folder. The name of the archive folder is configurable using the same scheme as the Mark as Junk plugin:
This exactly what I often use and it perfectly fits into my environment.
$rcmail_config['archive_mbox'] = 'Archive';
I've extended your plugin by adding a config option to the user prefs page where a user can select/change the archive folder. Also the toolbar button only shows up if such a folder is configured.
Please note that you need to update RoundCube to the latest SVN version in order to make the plugin work. It now uses a new feature where a plugin can define several tasks to be activated in by setting public $task = 'mail|settings'; Only SVN r2628 and higher support this.
The localisations are in english and french.
I've added German (de_CH and de_DE).
If you can host it somewhere you're kindly requested to add a link to it at http://trac.roundcube.net/wiki/Plugin_Repository Once we have our plugin repository ready you can upload it there.
Many thanks for your work!
Thomas
--- 8< --- detachments --- 8< --- The following attachments have been detached and are available for viewing. http://detached.gigo.com/rc/6U/vJqCMYAq/archive_1.1.tgz Only click these links if you trust the sender, as well as this message. --- 8< --- detachments --- 8< ---
List info: http://lists.roundcube.net/dev/
List info: http://lists.roundcube.net/dev/
Hi André
I like this one! Here's another updated version where the configured archive folder is added to the list of default folders which are always listed on top of the other folders. I've also added a list icon to make the archive folder appear accordingly.
~Thomas
--- 8< --- detachments --- 8< --- The following attachments have been detached and are available for viewing. http://detached.gigo.com/rc/yP/UWcxcBG2/archive_1.2.tgz Only click these links if you trust the sender, as well as this message. --- 8< --- detachments --- 8< ---
List info: http://lists.roundcube.net/dev/
Hi Thomas !
Thanks for your work.
I don't have made a lot myself.
Regards, André.
Thomas Bruederli wrote:
Hi André
I like this one! Here's another updated version where the configured archive folder is added to the list of default folders which are always listed on top of the other folders. I've also added a list icon to make the archive folder appear accordingly.
~Thomas