mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-25 13:05:53 +03:00
[GH-ISSUE #679] Add a one-way convert to code option for existing options in the GUI | was: Review all Sieve actions, in all different use cases (Standalone or within Tiki, with or without Sieve) #441
Labels
No labels
2fa
I18N
PGP
Security
Security
account
advanced_search
advanced_search
announcement
api_login
authentication
awaiting feedback
blocker
bug
bug
bug
calendar
config
contacts
core
core
devops
docker
docs
duplicate
dynamic_login
enhancement
epic
feature
feeds
framework
github
github
gmail_contacts
good first issue
help wanted
history
history
imap
imap_folders
inline_message
installation
keyboard_shortcuts
keyboard_shortcuts
ldap_contacts
mobile
need-ssh-access
new module set
nux
pop3
profiles
pull-request
question
refactor
release
research
saved_searches
smtp
strategic
tags
tests
themes
website
wordpress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cypht#441
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @marclaporte on GitHub (Feb 24, 2023).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/679
Originally assigned to: @josaphatim on GitHub.
To @josaphatim (mostly)
We have different use cases:
@henrique-borba and I reviewed a few other webmail clients, and we covered a quite complete list of actions via the creation of a new lib: https://github.com/henrique-borba/php-sieve-manager
It is expected to be a little shaky at first. So please review all the use cases and all the actions and address any issues your encounter.
Sieve is a standard so in theory, it should behave exactly the same everywhere. But in practice, there can be some minor divergences. So please use Gandi as the reference.
As a reference: Here is original task: https://github.com/jasonmunro/cypht/issues/9
@marclaporte commented on GitHub (Feb 24, 2023):
This can give you ideas for the UI: http://code.uoa.gr/p/avelsieve/screenshots.php
@dumblob commented on GitHub (Feb 24, 2023):
Yeah,
avelsieveis crazy complicated (but seems really comprehensive). I think Cypht should stay with the "limited use case" approach.Namely define precisely ~7 most common use cases for which templates/one-click filter setup/form should exist and then a "convert to code" button which would irreversibly bring you to a plain text editor (perhaps with syntax highlighting if that is your thing) where you would get real-time feedback (any errors/warnings taken directly from the backend Sieve engine with no changes to them unless security issues would arise in which case the relevant parts should be substituted with random data/anonymized and a separate note about this should be appended) from the server after each keystroke.
WDYT?
@marclaporte commented on GitHub (Feb 24, 2023):
@dumblob Good point: I think we forgot an option for manual entry.
@marclaporte commented on GitHub (Mar 12, 2023):
Wait! We do have manual entry.

It's not "convert to code" but it should be good enough for people that need more than the GUI.
@dumblob commented on GitHub (Mar 15, 2023):
Yes, that is necessary.
The reason why I wrote "convert to code" is to have an easy (from a geeks perspective) way to see how the sieve filters are structured internally to have more freedom to interact with other sieve filters (refer to them, mimick them, etc.).
@marclaporte commented on GitHub (Dec 20, 2023):
@dumblob Done. Please test and re-open if further work is needed.
Thanks!