Has it ever been considered to allow people to edit raw sieve script through the managesieve plugin? What I see is that most people can use the nice UI to express almost all rules they need, but sometimes a match cant be made using the UI. These people then switch away from roundcube as their sieve client because they have no choice, even though they for instance only need 1 rule out of many to be manually editted.
Just as an example, it would be nice if people could use the variable extension to create matches. Something like:
if header :matches "List-ID" "*<*@*" { fileinto "Lists/${2}"; stop; }
Id be fine if people had to create such a rule manually, but then managesieve would have to allow adding manual rules.
Cor
W dniu 2012-04-25 11:48, Cor Bosman pisze:
Has it ever been considered to allow people to edit raw sieve script through the managesieve plugin? What I see is that most people can use the nice UI to express almost all rules they need, but sometimes a match cant be made using the UI. These people then switch away from roundcube as their sieve client because they have no choice, even though they for instance only need 1 rule out of many to be manually editted.
Just as an example, it would be nice if people could use the variable extension to create matches. Something like:
if header :matches "List-ID" "*<*@*" { fileinto "Lists/${2}"; stop; }
Id be fine if people had to create such a rule manually, but then managesieve would have to allow adding manual rules.
Cor
Roundcube Development discussion mailing list dev@lists.roundcube.net http://lists.roundcube.net/mailman/listinfo/dev
Check this https://github.com/JohnDoh/Roundcube-Plugin-SieveRules-Managesieve and the Advanced Editor
Check this https://github.com/JohnDoh/Roundcube-Plugin-SieveRules-Managesieve and the Advanced Editor
That's not quite what I mean. The easy UI is awesome. I just wish you could mix the easy UI with the occasional manual rule. Not having to choose between easy or advanced.
Cor
On 25.04.2012 11:48, Cor Bosman wrote:
Has it ever been considered to allow people to edit raw sieve script through the managesieve plugin? What I see is that most people can use the nice UI to express almost all rules they need, but sometimes a match cant be made using the UI. These people then switch away from roundcube as their sieve client because they have no choice, even though they for instance only need 1 rule out of many to be manually editted.
I don't want to add an option for scripts edition. It would be useless when used together with the user-friendly mode, because unsupported features would be removed when switching to user-friendly mode.
Just as an example, it would be nice if people could use the variable extension to create matches. Something like:
The plugin was designed as much user-friendly as possible, but I've been adding more and more (geek) features to it. I think we could add also variables support sometime in the future.
Has it ever been considered to allow people to edit raw sieve script through the managesieve plugin? What I see is that most people can use the nice UI to express almost all rules they need, but sometimes a match cant be made using the UI. These people then switch away from roundcube as their sieve client because they have no choice, even though they for instance only need 1 rule out of many to be manually editted.
I don't want to add an option for scripts edition. It would be useless when used together with the user-friendly mode, because unsupported features would be removed when switching to user-friendly mode.
Well, im not advocating a full script edit mode. The plugin allows for multiple rules to be created, which get concatenated into 1 sieve file. What if you could insert 1 or more rules that were manual, along with all the user-friendly stuff? So instead of clicking the rule together, there was a 'edit rule' option, where you could just edit a raw sieve rule, which gets saved along with all the other rules you created?
This could be possible maybe by adding an icon next to the + icon, that's maybe a pencil icon. It adds a form with just a text box, where you can manually edit a rule.
The option to be able to do that could be a preference setting.
Cor
On 25-4-2012 11:56, A.L.E.C wrote:
On 25.04.2012 11:48, Cor Bosman wrote:
Has it ever been considered to allow people to edit raw sieve script through the managesieve plugin? What I see is that most people can use the nice UI to express almost all rules they need, but sometimes a match cant be made using the UI. These people then switch away from roundcube as their sieve client because they have no choice, even though they for instance only need 1 rule out of many to be manually editted.
I don't want to add an option for scripts edition. It would be useless when used together with the user-friendly mode, because unsupported features would be removed when switching to user-friendly mode.
Can't you marshal those manual rules in the sieve script with some special comment or other identification, so that these rules can be preserved?
Geert