umount / message_label Goto Github PK
View Code? Open in Web Editor NEWRouncube plugin message_label
Rouncube plugin message_label
using the roundcube that comes with Kolab 3.1 Alpha (roundcubemail-1.0-0.7.dev20130809.git328876.el6.kolab_3.1.noarch)
I can set the label, but it does not appear in the messages list. Therefore it is not possible to remove the label by clicking on it.
The only way of fixing it was to add a line in method fetch_headers($folder, $msgs, $sort = true, $force = false) near https://github.com/roundcube/roundcubemail/blob/master/program/lib/Roundcube/rcube_imap.php#L1074
and setting $force = true;
There should be a better way though, but I am still learning about Roundcube plugins...
Hello,
Steps to reproduce:
select message (found by label) and from upper menu select 'more' (more actions...)
no matter which skin is selected (tested on IE9, FX15)
Additionally it's the same behaviour with contexmenu plugin installed, when selecting actions from menu.
Regards,
Adam
this is a nice and useful plugin!
Just thinking that for more powerful expressions to apply labels, it could make sense to link the labels to the filters.
At the moment, there is the option in the filters: "move message to ".
How difficult would it be to add to an option "apply label to message" with a dropdown for the labels?
With this plugin enabled, contacts do no longer load when composing mails. Clicking an address book in the left pane (larry skin) results in either the first or the first 3 contacts being loaded, then the "loading" overlay keeps spinning but nothing more happens.
I've checked the error console and found a clue: "rcmail.env.messages is undefined" in plugins/message_label/message_label.js
line 242. Addin a single line at the start of that function fixed it for me:
rcmail.addEventListener('insertrow', function(evt) {
if (rcmail.env.messages == undefined) return;
Cheers,
Izzy.
Hi,
This is dirty, but workng for me patch, that add ability to add labels manualy (without filter)
diff -r message_label-master/localization/ru_RU.inc message_label/localization/ru_RU.inc 36c36,38 < ?> \ No newline at end of file --- > $labels['label_null_filter'] = 'Без фильтра'; > > ?> diff -r message_label-master/message_label.php message_label/message_label.php 917a918 > $header_select->add(Q($this->gettext('label_null_filter')), 'label_null_filter'); 1000c1001 < if (!in_array($header[$i], array('subject', 'from', 'to', 'cc'))) { --- > if (!in_array($header[$i], array('subject', 'from', 'to', 'cc', 'label_null_filter'))) { 1008,1009c1009,1016 < if ($input[$i] == '') { < continue; --- > if (in_array($header[$i], array('subject', 'from', 'to', 'cc'))) { > if ($input[$i] == '') { > continue; > } > } else { > if ($input[$i] == '') { > $input[$i] = '-------- empty filter ---------'; > }
Hello,
you have to change
https://github.com/umount/message_label/blob/master/message_label.php#L878
In 1.1 the function was deprecated. And in 1.2 they removed it.
public function imap_connect() { return $this->storage_connect(); }
So if you call storage_connect() instead of imap_connect() is all fine.
@alecpl can you signal it in the change log for the 1.2?
Hello,
My IMAP folder is compose like that:
Folder1
subfolder1
subfolder2
I have define a rule who match a mail's subject keyword "word" with label "word" in subfolder1.
First issue:
Second issue:
Can you help me on this issue ?
Roundcube 1.1.3
Thanks!
When seeing all emails for a label it's not possible to activate the "arguments" view, it's only available the "list" view.
Thanks.
Hi,
Since 1.1.0 upgrade, i can add but can't delete label on a message.
When clicking on label to delete i've got the message :
Server error : UID STORE: Error in IMAP command UID STORE: Invalid uidset
on a popup.
Everythink else seems to work fine.
Thanks by advance !
Hi
I have the es_ES translation. Contact me if you are interested and ell me how can I send it to you?
Joe
TSolucio
When you click on the label, to see all messages that have this label, you get the error message "UID THREAD: Invalid flag name in Search command"
It seems there is a problem for filtering the label.
Hello,
When I try to edit message searched by label which is in drafs it opens in the same frame.
RC 0.8.1 message_label from git.
Regards,
Adam
Insertrow event of this plugin gets triggered when in compose address book contacts are expanded.
This results in javascript error and termination of execution
Error:
message_label.js line 242
rcmail.env.messages is not an object
Hotfix is possible by adding
if (rcmail.env.messages == null) return;
on line 242, however this is not a proper fix as the event shoudl not be run in this case in the first place
Hi,
if is interesting to someone, create a new file called "pt_BR.inc" in the ".../roundcube/plugins/message_label-master/localization" directory with the following content:
[portuguese]
Olá,
caso interessado, crie um arquivo chamado "pt_BR.inc" no diretório ".../roundcube/plugins/message_label-master/localization" com o seguinte conteúdo:
[/portuguese]
Hi, could you create tags for versioned releases? When you tell people to use a specific version, then it's useful to have the ability for them to retrieve it easily.
roundcube: PHP Warning: array_merge(): Argument #1 is not an array in /var/lib/roundcube/plugins/message_label/message_label.php on line 798
Right here:
$this->rc->imap->conn->flags = array_merge($this->rc->imap->conn->flags, $flags);
Using RC 0.3.1.
Rgds,
Julien
Hi,
I love labels and I try your plugin, but some stuff isn't working as I like. Maybe you agree...
Roundcube 0.8.1
default theme (german)
Thanks!
simple fallow the instruction on http://plugins.roundcube.net/about activate the github hook eh voilà another great plugin is simple accessible.
thanks in advice
I had to change /message_label.php line 48
from:
$this->include_stylesheet($this->local_skin_path().'/message_label.css');
to:
$this->include_stylesheet($this->url('message_label.css'));
was giving me the error:
[15-Nov-2011 11:30:36] PHP Fatal error: Cannot access private property rcube_json_output::$config in /var/www/roundcubemail-0.4.2/program/include/rcube_plugin.php on line 239
now everything is working smooth!
ATM when I want to have label "sth" for 3 different emails I in result have 3 labels "sth".
Do you plan to add such feature?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.