Bug 283021

Summary: Create interface for configure sieve filters instead of plain text editing Sieve Scripts
Product: [Applications] kmail2 Reporter: Murz <MurzNN>
Component: sieveAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: wishlist CC: montel, pancho.s
Priority: NOR    
Version: Git (master)   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.11
Attachments: GUI interface for editing rules
Generated sieve script (advanced script editor)

Description Murz 2011-09-29 09:06:07 UTC
Version:           Git (master) (using KDE 4.7.1) 
OS:                Linux

At now Kmail provide only plaintext editing of sieve filters in managesieve, so it is not easy for non-improved users.
Will be good to create the interface (or wizards) to create sieve scripts (and stay here manually editing for improved users).
You can look how this done, for example, in Roundcube plugin: http://www.tehinterweb.co.uk/roundcube/#pisieverules

We can reproduce interface like local "Configure Filters" interface, or add sieve support in current "Configure Filters" module.

Reproducible: Always


Actual Results:  
Manual plain text editing of sieve scripts, that understandable only for improved users.

Expected Results:  
GUI filters setup with standart interface like "Configure Filters", that is understandable via any non-improved user.
Comment 1 Laurent Montel 2011-10-02 09:52:01 UTC
Do you have screenshot from pisieverules plugins ?
Comment 2 Murz 2011-10-03 06:08:56 UTC
Created attachment 64150 [details]
GUI interface for editing rules
Comment 3 Murz 2011-10-03 06:09:26 UTC
Created attachment 64151 [details]
Generated sieve script (advanced script editor)
Comment 4 Laurent Montel 2011-10-03 06:58:46 UTC
Ok for avanced script editor we have it + syntax hightlighting + import/export filter + verify script.
My idea to improve it (perhaps for 4.8 if I have time) is to add templates for script and create a wizard for helping users.
Comment 5 Murz 2011-10-03 07:18:00 UTC
Yes, advanced editor is good at now, but wizard and gui for editing filters is very needed. Maybe you can re-use "Configure Filters" module in Kmail and add to them module that generates sieve scripts?
Comment 6 Laurent Montel 2011-10-03 07:36:15 UTC
I don't think I can use kmfilterdialog but I can use same idea.
Comment 7 Bernd Oliver Sünderhauf 2012-11-29 16:23:27 UTC
Would be awesome to somehow integrate the two concepts, so Akonadi's mail filter agent would basically become an engine scripted by Sieve rules...
Comment 8 Laurent Montel 2013-04-03 08:07:00 UTC
Status:
I started to implement it in 4.11.
Will finish for 4.11
Comment 9 Laurent Montel 2013-04-05 19:20:01 UTC
Git commit 342f03d0e9c699795d6ea519303fcac26c595d06 by Montel Laurent.
Committed on 05/04/2013 at 21:19.
Pushed by mlaurent into branch 'master'.

Fix Bug 283021 - Create interface for configure sieve filters instead of plain text editing Sieve Scripts

FIXED-IN: 4.11

M  +2    -1    libksieve/ksieveui/autocreatescripts/sieveactions/sieveactionaddflags.cpp
M  +3    -1    libksieve/ksieveui/autocreatescripts/sieveactions/sieveactionsetflags.cpp

http://commits.kde.org/kdepim/342f03d0e9c699795d6ea519303fcac26c595d06