roundcube / roundcubemail

The Roundcube Webmail suite
https://roundcube.net
GNU General Public License v3.0
5.78k stars 1.62k forks source link

Add the possibility to reorder the sieve filter rules #6313

Open ychaouche opened 6 years ago

ychaouche commented 6 years ago

Dear roundcube,

Suppose I want to get every mail that has the keyword "cloud" in it in my cloud folder. I also want to get every mail that was sent to the "it_group" alias I'm part of to be in the IT folder.

An e-mail that is both sent to it_group and containing the "cloud" word in the body will land in cloud or IT folder depending on which rule is put first.

I could put a "stop" after any of the rules, but that means that addtionnal rules won't be processed : say I add a third rule that sets a flag whenever "boss" is in CC. The flag won't be set if the e-mail is sent to it_group and CC to boss because the second rule has a stop.

But, if roundcube allows me to reorder my filters, I can move all the "stop" rules to the bottom, so that the other rules can have a chance to execute.

alecpl commented 6 years ago

You can currently drag-n-drop them. I guess we'll need something that works without mouse for mobile.

ychaouche commented 6 years ago

Thanks @alecpl. I am using version 1.2.4 so maybe it wasn't implemented at this version ?

alecpl commented 6 years ago

I think it was, but is this the managesieve plugin?

ychaouche commented 6 years ago

According to the URL it is : https://my.web.mail/?_task=settings&_action=plugin.managesieve It could be a browser issue then. Yes ! I just tested on my coworker's browser the drag'n'drop works well. Firefox 60.0.1 Windows 10.

My setup is : Firefox 60.0.1 Linux 4.4.0-98-generic Linux Mint Qiana (17)

elyograg commented 5 years ago

I was going to file an issue pretty much exactly like this, good thing I searched for it first. Would there be some way to tell users in the interface for the managesieve plugin that drag/drop is available? I did not even think to try it, because there was no indication that it was possible.

seanm commented 2 years ago

This would help with this too: https://github.com/roundcube/roundcubemail/issues/6590