Roundcube Community Forum

Third Party Contributions => API Based Plugins => Topic started by: umount on July 13, 2011, 05:35:24 AM

Title: Message label plugin
Post by: umount on July 13, 2011, 05:35:24 AM
Hi, You may know me about chbox and bounce plugin.

All know message highlighting plugin, it is a good plug-in, but I think it is unfinished.
http://www.roundcubeforum.net/7-third-party-contributions/46-api-based-plugins/6894-new-plugin-message-highlighting.html
And some use labels plugin
http://www.roundcubeforum.net/7-third-party-contributions/46-api-based-plugins/8207-new-plugin-beta-labels.html

Now I wont present you my new plugin message_label, it a label how in gmail
https://github.com/umount/message_label

Plugin testing with roundcube 5.2, 5.3, trunk (20110710) versions
[ATTACH=CONFIG]1703[/ATTACH][ATTACH=CONFIG]1704[/ATTACH][ATTACH=CONFIG]1705[/ATTACH][ATTACH=CONFIG]1707[/ATTACH]

You may click on left menu on label and rouncube search all filese this labeles.
[ATTACH=CONFIG]1706[/ATTACH]

Now available version 1.0 !

* no more patch
* manually and filter way add labels
* manually remove filter find labels
* multilabels support
* drag and drop to add label support
* remove label on one click on label in subject
* search all labels in all folder on one click  (manual select folder search on filter search label)
* display label list on left panel under folder list
Title: Message label plugin
Post by: Tayku on July 16, 2011, 06:56:06 PM
Hello!
This looks fantastic and it provides finally a possibilty to put your mails kind of into virtual folders, which appeared at first in Opera’s M2 and was (somehow) adapted by Google Mail. Thunderbird supports virtual folders only by using a filter function but not by manually adding mails to vfolders. So it’s nice to have vfolders (or labels) functionality in Roundcube. I just discovered this plugin and plan testing it tomorrow.

Could you please tell me what theme you are using? It does not seem to be the default one, but I could not find at anywhere else.
Title: Message label plugin
Post by: umount on July 17, 2011, 02:47:52 AM
Quote from: Tayku;35731
Could you please tell me what theme you are using? It does not seem to be the default one, but I could not find at anywhere else.

Hi it's closing not default theme.
Title: Message label plugin
Post by: umount on July 22, 2011, 04:05:39 AM
Who has put though would write, works or not
Title: Message label plugin
Post by: Tayku on July 22, 2011, 06:58:59 AM
Quote from: umount;35736
Hi it's closing not default theme.
I don’t understand. Is this a theme we can download from somewhere? If not, please provide screenshots with default theme as there will be other users who are disappointed.

About the plugin:
I tested it, seems nice. It is like Thunderbird’s virtual folders, where you can define the contents using a search expression. But it is not like Google’s labels or Opera’s virtual folders (same thing, other name) where you can put any message you like into the folder or mark with a label, respectively That’s a pity because I’d like to use the manual way. Search expressions are nice but not sufficient.

About the screenshots:
In your screenshots every tagged mail has a label in subject, like in Google Mail. But I don’t see it in my Roundcube. There’s only the settings tab and the list of labels below the folders.
Title: Message label plugin
Post by: umount on July 22, 2011, 09:45:35 AM
Quote from: Tayku;35811
I don’t understand. Is this a theme we can download from somewhere? If not, please provide screenshots with default theme as there will be other users who are disappointed.

About the plugin:
I tested it, seems nice. It is like Thunderbird’s virtual folders, where you can define the contents using a search expression. But it is not like Google’s labels or Opera’s virtual folders (same thing, other name) where you can put any message you like into the folder or mark with a label, respectively That’s a pity because I’d like to use the manual way. Search expressions are nice but not sufficient.

About the screenshots:
In your screenshots every tagged mail has a label in subject, like in Google Mail. But I don’t see it in my Roundcube. There’s only the settings tab and the list of labels below the folders.

Upload screnshots for default theme. You  can not download this theme from somewhere.
Yes,  every tagged mail has a label in subject, like in Google Mail. What version roundcube you use ? Do you have any javascript errors ?
Title: Message label plugin
Post by: umount on July 22, 2011, 09:54:05 AM
Quote from: Tayku;35811
But it is not like Google’s labels or Opera’s virtual folders (same thing, other name) where you can put any message you like into the folder or mark with a label, respectively That’s a pity because I’d like to use the manual way. Search expressions are nice but not sufficient.

In Gmail I'm don't use manual way, I think it is possible to realize too, once. :)
Title: Message label plugin
Post by: Tayku on July 23, 2011, 05:32:31 PM
Quote from: umount;35813
Upload screnshots for default theme. You  can not download this theme from somewhere.
Yes,  every tagged mail has a label in subject, like in Google Mail. What version roundcube you use ? Do you have any javascript errors ?
I’m using Roundcube 0.5.2. I just checked with Chrome’s JS console for errors, but none where displayed. Since my installation is quite new, I don’t think I have mis-configured anything. (Active plugins: 'markasjunk2', 'drag_upload', 'custom_from', 'smart_self_reply', 'message_label', 'jqueryui', 'keyboard_shortcuts') I will try a fresh install with 0.5.3 tomorrow.
 
Quote from: umount;35814
In Gmail I'm don't use manual way, I think it is possible to realize too, once. :)
That would be great, if it could be done. I did not test it, but the way the “label” plugin looks, you set the labels (tags) manually? This behaviour added to “message label”, and my almost perfect webmailer is done. :-)
Title: Message label plugin
Post by: rosali on July 24, 2011, 09:29:09 AM
Maybe you don't see the labels because your IMAP server backend does not support custom flags.
Title: Message label plugin
Post by: Tayku on July 26, 2011, 05:10:05 AM
What are custom flags? I just tested the “labels” plugin from above (though it is named “flags”), and the tags are displayed properly (work, personal, etc.). Does it use another method?
By the way I think I have installed 0.5.3 but can’t prove. Is there a menu item or some info in a file where I can get the version number?
Title: Message label plugin
Post by: umount on July 27, 2011, 07:57:48 AM
Add support highlighting mode

[ATTACH=CONFIG]1709[/ATTACH]
Title: Message label plugin
Post by: umount on July 27, 2011, 07:58:43 AM
Selector


[ATTACH=CONFIG]1711[/ATTACH]
Title: Message label plugin
Post by: umount on July 28, 2011, 09:57:00 AM
Plugin labels http://www.roundcubeforum.net/7-third-party-contributions/46-api-based-plugins/8207-new-plugin-beta-labels.html

rewrite extra_flags and my plugin don't show it.
If you want use my plugin with plugin labels use it in config after flags

$rcmail_config['plugins'] = array(''flags', 'message_label');
Title: Message label plugin
Post by: umount on August 03, 2011, 09:26:29 AM
Add support manual labels, drag/drop support.
Add support multilabels.
Delete support highlighting mode, I don't know how do multilabels on this mode.
Title: Message label plugin
Post by: umount on August 04, 2011, 08:50:59 AM
Quote from: Tayku;35811
I don’t understand. Is this a theme we can download from somewhere? If not, please provide screenshots with default theme as there will be other users who are disappointed.

About the plugin:
I tested it, seems nice. It is like Thunderbird’s virtual folders, where you can define the contents using a search expression. But it is not like Google’s labels or Opera’s virtual folders (same thing, other name) where you can put any message you like into the folder or mark with a label, respectively That’s a pity because I’d like to use the manual way. Search expressions are nice but not sufficient.

About the screenshots:
In your screenshots every tagged mail has a label in subject, like in Google Mail. But I don’t see it in my Roundcube. There’s only the settings tab and the list of labels below the folders.


I am fix error display  label in subject an add manual way :)
Title: Message label plugin
Post by: umount on August 05, 2011, 10:02:04 AM
Available version 1.0.
Title: Message label plugin
Post by: Tayku on August 07, 2011, 06:06:11 AM
Thanks alot! :) The labels are displayed now in my Roundcube installation. That’s quite nice. Manual deselecting from labels works, too.
If it’s possible to add a manual way for setting labels, the plugin would be perfect to me. :cool:
Title: Message label plugin
Post by: umount on August 07, 2011, 03:28:17 PM
Quote from: Tayku;36033
If it’s possible to add a manual way for setting labels, the plugin would be perfect to me. :cool:

 
Use dran n drop, for manual setting labels, how move for folder :)
Title: Message label plugin
Post by: Tayku on August 07, 2011, 05:34:46 PM
Ah, very nice. :) It makes this plugin perfect in functionality. Maybe I even give up on Thunderbird at home.

I discovered a (display) bug. When I clear the last label for a mail, it vanishes from the current folder list. But it’s not deleted, as a folder’s refresh shows. Can you confirm the behaviour? This is kind of irritating (and it first I thought where the h… is my mail?).
Title: Message label plugin
Post by: umount on August 08, 2011, 03:16:06 AM
Quote from: Tayku;36042
I discovered a (display) bug. When I clear the last label for a mail, it vanishes from the current folder list. But it’s not deleted, as a folder’s refresh shows. Can you confirm the behaviour? This is kind of irritating (and it first I thought where the h… is my mail?).

If I have correctly understood about what you. It's not bug. When you remove labels from labels search, it delete from this vfolder, but message not delete from real folder. I make it how in gmail.

If you select message in vfolder, automatic selecting real folder on folder menu, where the given letter is located.
Title: Message label plugin
Post by: Tayku on August 08, 2011, 06:54:12 PM
Strange … now the bug is vanished. It really was not(!) in a vfolder but in a real folder, where I played with adding and removing labels via drag&drop. Maybe it’s because I used labels created with an older version of the plugin. With some new added labels it’s all fine. :)

The automatic real folder selection is a helpful bit of information. Thank you. Now I think the plugin is quite complete. I just have to come up with some appropriate managing system for all of my mails …
Title: Message label plugin
Post by: xrxca on August 08, 2011, 07:11:10 PM
Nice idea, but I have a couple problems with it.

1. What if I want more than one rule to get the same Label?
ie: if I get emails from big@brother.com and little@sister.com, and want them BOTH flagged as Family.  If I add two rules for "Family" I get two separate labels, not one "Family" label that will include both (I could manually drop each message onto the Family label, but that defeats the purpose of having rules.

2. It is not obvious how to manually set the label (I found that dragging onto the label worked, but I have a LOT of folders so always have to scroll the folders list down to see the labels.  A dropdown menu added to the toolbar to select a label would be nice.

3. If I have been in one of the label views, and return to the Inbox, if I delete the label from a message, the message disappears.   If I delete a label when I haven't been into the label views (just regular inbox) then message stays as it should (just the label is dropped)

4. When I remove a label from a message by clicking it then later decide it should have had that label and add it back on by dropping the message onto the label, the message will not show up when I click the label under the folders. (Once label removed it will never show up in the search for that label even if the label is added back on.)
Title: Message label plugin
Post by: xrxca on August 08, 2011, 07:15:55 PM
Quote from: Tayku;36059
Strange … now the bug is vanished. It really was not(!) in a vfolder but in a real folder

I think I ran into the same thing, if you switch FROM a vfolder back to a real folder then remove the label the message vanishes (it's like a flag isn't being cleared when you go back to a real folder.)
Title: Message label plugin
Post by: umount on August 09, 2011, 03:01:49 AM
Quote from: xrxca;36061
I think I ran into the same thing, if you switch FROM a vfolder back to a real folder then remove the label the message vanishes (it's like a flag isn't being cleared when you go back to a real folder.)

Fix this error update plugin :)
Title: Message label plugin
Post by: umount on August 09, 2011, 03:06:20 AM
Quote from: xrxca;36060
Nice idea, but I have a couple problems with it.

1. What if I want more than one rule to get the same Label?
ie: if I get emails from big@brother.com and little@sister.com, and want them BOTH flagged as Family.  If I add two rules for "Family" I get two separate labels, not one "Family" label that will include both (I could manually drop each message onto the Family label, but that defeats the purpose of having rules.

2. It is not obvious how to manually set the label (I found that dragging onto the label worked, but I have a LOT of folders so always have to scroll the folders list down to see the labels.  A dropdown menu added to the toolbar to select a label would be nice.

4. When I remove a label from a message by clicking it then later decide it should have had that label and add it back on by dropping the message onto the label, the message will not show up when I click the label under the folders. (Once label removed it will never show up in the search for that label even if the label is added back on.)

That's right it is written, I will try to make your suggestions. Thank you.
Title: Message label plugin
Post by: umount on August 09, 2011, 06:06:10 AM
Quote from: xrxca;36060
4. When I remove a label from a message by clicking it then later decide it should have had that label and add it back on by dropping the message onto the label, the message will not show up when I click the label under the folders. (Once label removed it will never show up in the search for that label even if the label is added back on.)

Fix this error update plugin.
Title: Message label plugin
Post by: Tayku on August 09, 2011, 10:21:25 AM
Ok, it seems that the plugin is not quite perfect, but at least the basic features are in. That is more than in e.g. Thunderbird. umount, keep up the good work! :)

Quote from: xrxca;36060
1. What if I want more than one rule to get the same Label?

I agree, that’s a disadvantage. It would be better with more or-related conditions. And then you stumble about the necessary feature for and-related conditions … but it’s true, you would need both: “and” and “or”.

Also, as you can add messages manually to labels, there should be an option to manually create a label that doesn’t rely on any condition. It’s pointless if I have to add a condition when I don’t want to label message automatically at all.

Quote from: xrxca;36060
2. It is not obvious how to manually set the label (I found that dragging onto the label worked, but I have a LOT of folders so always have to scroll the folders list down to see the labels.  A dropdown menu added to the toolbar to select a label would be nice.

That’s right, but I see this as a cosmetic feature, since the functionality is already there.
Title: Message label plugin
Post by: umount on August 10, 2011, 09:33:41 AM
Quote from: xrxca;36060
2. It is not obvious how to manually set the label (I found that dragging onto the label worked, but I have a LOT of folders so always have to scroll the folders list down to see the labels.  A dropdown menu added to the toolbar to select a label would be nice.

Add label list for add in markmessagemenu
Title: Re: Message label plugin
Post by: nuclearping on April 06, 2013, 07:18:10 PM
Hello!

We recently stumbled across this plugin and tested it.

It works great so far and we are very satisfied. Thanks for the great work! :)

One thing we miss tho: Is there a possibility to enable "threaded view" when displaying a "label folder"? Now RoundCube always jumps back to default "list view" when displaying a "label folder" and clicking on the "threaded view" icon.

I hope I explained my problem good enough. If not please look at the screenshot. It should clarify what I mean. :)

(http://img715.imageshack.us/img715/7572/rclabelsnothreads.jpg)
Title: Re: Message label plugin
Post by: Calaad on February 19, 2015, 06:53:23 PM
Hi,

I know it's et very old post and a very old plugin but i love it.

Since 1.1 update, i can't delete label on a message. It give an error pop up :

UID STORE: Error in IMAP command UID STORE: Invalid uidset

I can add label without any problem.

I post on umount github (https://github.com/umount/message_label/issues/25) but it seems like he isn't anymore there.

I try to watch in the code but i think it's above my poor php skills...

If somebody understand where the problem come from.

Thank by advance !



 
Title: Re: Message label plugin
Post by: tyszek on January 11, 2016, 06:06:12 PM
Hello!

Sorry for my english ;]


I have the same problem. Version my Roundcube 1.1.4.

In log RoundCube:
Code: [Select]
PHP Warning:  Missing argument 1 for message_label::message_label_imap_set() in /home/tyszek/public_html/poczta/plugins/message_label/message_label.php on line 230
Anyone know how to fix it?