RoundCube Webmail Forum  

Go Back   RoundCube Webmail Forum > Third Party Contributions > API Based Plugins

For more information about the ads and why they're here, please see the FAQ

Reply
  #41  
Old 06-26-2009, 06:33 AM
Super Moderator
 
Join Date: May 2007
Posts: 802
Default

easy, you have to use the 0.3-beta version of the plugin for 0.3-beta RC, not the latest development one.
__________________
RoundCube Patches & Plugins: Managesieve, SpamAssassin Prefs, and more…
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #42  
Old 06-26-2009, 09:23 PM
Registered User
 
Join Date: Jan 2009
Posts: 29
Default

ok, silly question then...

From your plugins page, is that the latest working version for the current codebase then?

If so, then where would I even get the 0.3 beta version of your plugin?

maybe it would be easier to just check out the latest version of roundcube from subversion, and that would get it working, right?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #43  
Old 06-27-2009, 08:29 AM
Super Moderator
 
Join Date: May 2007
Posts: 802
Default

On the plugins page there are links to both the latest dev version, and the 0.3b version. The latest dev version works with the latest version of roundcube from subversion. 0.3b tar.gz file
0.3b Zip file
__________________
RoundCube Patches & Plugins: Managesieve, SpamAssassin Prefs, and more…
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #44  
Old 06-28-2009, 10:16 PM
Roundcube Newcomer
 
Join Date: Jun 2009
Posts: 9
Default

Quote:
Originally Posted by JohnDoh View Post
hmmm ok so this looks like a bug, it shouldnt create a blank file when setting the default, unless ofcourse the default file is blank. What version of RC are you running? if its trunk then you can try with the lastest versioni of the plugin, I cant remember exactly when it was but I made some improvements to the way the files are loaded. Or could you attach your default sieve file? I can put it in my setup and see if I can figure it out.
I JohnDoh, sorry for the delay

I was using roundcube 0.3 beta with Sieverules 0.3 beta.
I've upgraded dovecot to 1.2 rc5 (that uses Sieve plugin). As you told me, with this version of dovecot and Sieve plugin, i can use sieve_before, so i solved my problem

thanks for your help!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #45  
Old 06-29-2009, 10:39 PM
Registered User
 
Join Date: Jan 2009
Posts: 29
Default

ok, I got the sieverules plugin to work by updating everything to a recent SVN version...

but, it looks like the rule option for imapflags isn't showing any values.

i.e. when I choose to "Mark message as", there is nothing to the right that would let me choose anything...

Tim.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #46  
Old 06-30-2009, 08:24 PM
Registered User
 
Join Date: Jan 2009
Posts: 29
Default

Just verified that I couldn't see any of the "Mark message as" choices in IE as well as Firefox...

It appears that in the source, the values are there, but when selected, it does not activate the menu to choose the imap flag value...

I do not see any javascript errors being produced either...

Tim.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #47  
Old 07-01-2009, 07:14 AM
Super Moderator
 
Join Date: May 2007
Posts: 802
Default

i cant recreate this, the drop down shows up just as it should for me in both 0.3b and the latest dev. could you double check there are no JS errors, also try clearing your cache and check the RC error log for any PHP errors? thanks
__________________
RoundCube Patches & Plugins: Managesieve, SpamAssassin Prefs, and more…
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #48  
Old 07-01-2009, 09:20 PM
Registered User
 
Join Date: Jan 2009
Posts: 29
Default

hmmmmm....

ok, I just got the latest SVN build (2694) and installed it from scratch...

then I got the latest SVN of your sieverules plugin and installed that too...

Still have the problem where it does not show the "Mark message as" list to choose from...

I dont see any javascript errors in the javascript console either, or the errors log in the installation.

I have included a screenshot of what I see.

Kind of baffling...

Tim
sieve.png

Last edited by timtraver; 07-01-2009 at 09:27 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #49  
Old 07-02-2009, 07:11 AM
Super Moderator
 
Join Date: May 2007
Posts: 802
Default

it is indeed kind of baffling. look at the source of that page, find \\Seen, it should be in there twice, it is one of the options in the imapflags dropdown, make sure the code for both boxes is generated correctly.
__________________
RoundCube Patches & Plugins: Managesieve, SpamAssassin Prefs, and more…
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #50  
Old 07-02-2009, 06:23 PM
Registered User
 
Join Date: Jan 2009
Posts: 29
Default

ok, It looks like they are generated correctly here is the first one :

Code:
<select name="_imapflags[]" style="display: none; width: 398px;">
<option value="\\Seen">Read</option>
<option value="\\Deleted">Deleted</option>
<option value="\\Answered">Answered</option>

<option value="\\Draft">Draft</option>
<option value="\\Flagged">Flagged</option>
</select>
and then the second one :

Code:
<select name="_imapflags[]" style="display: none; width: 398px;">
<option value="\\Seen">Read</option>
<option value="\\Deleted">Deleted</option>
<option value="\\Answered">Answered</option>
<option value="\\Draft">Draft</option>
<option value="\\Flagged">Flagged</option>
</select>

they look identical to me...

Like I had mentioned, I'm trying in Firefox (3.011) and IE (7.0.5730.13) and I'm not seeing any errors in the javascript consoles.

Some more odd behaviors. If I select it like you see in the pic i sent you, and then save the rule, the rule gets saved like so :

Code:
## Generated by RoundCube Webmail SieveRules Plugin ##
require ["imap4flags"];
# rule:[test]
if anyof (header :contains "Subject" "test")
{
        setflag "";
}
Then, if I select the rule again, I can then see the action popup for the flag action. But, if I save a different action, it does not save properly (same as above)

But even if I add another rule, and select "Mark message as" again, it is once again blank...

what can I send you to help out with the process of figuring this one out

I don't think it matters, but I'm using dovecot's managesieve stuff...

I might be able to get you a login to this test installation, but I'll have to open some ports...

Thanks,

Tim.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


LinkBacks (?)
LinkBack to this Thread: http://www.roundcubeforum.net/7-third-party-contributions/46-api-based-plugins/4878-sieverules-plugin.html
Posted By For Type Date
#1486078 (managesieve does not allow more than one match) ? RoundCube Webmail This thread Refback 09-02-2009 11:40 AM
RoundCube Patches & Plugins This thread Refback 06-09-2009 07:37 PM

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:15 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Copyright © 2006-2008 RoundCube Webmail Community