You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In org.apache.james.jmap.api.filtering.Rule add a comparator any that matches all supplied value - can then be used to see if a given header exists.
Refactor Condition to be based on a marker interface with class for each possible condition (mimic scala sealed traits)
Add a condition Header taking as a field the header name.
Modify ContentMatcher in order to handle any comparator and Header. Those should be covered by JMAPFilteringTest test suite.
Handle those elements onto RuleDTO in order to plug them onto internal storage based on eventSourcing. FilteringManagementContract shall cover this.
Modify FilterSerializer in order to enable serialization + deserialization in JMAP. Those should be covered by tests within LinagoraFilterSetMethodContract.
Document the TMail backend filter extension accordingly: docs/modules/ROOT/pages/tmail-backend/jmap-extensions/jmapFilters.adoc
Why
The condition exists in Thunderbird:
It allows writing advanced classification (eg mailing lists?
X-GitLab-Project
,X-Mailgun-Sid
, etc...)Also asked by @pvi-github
How
org.apache.james.jmap.api.filtering.Rule
add a comparatorany
that matches all supplied value - can then be used to see if a given header exists.Condition
to be based on a marker interface with class for each possible condition (mimic scala sealed traits)Header
taking as a field the header name.ContentMatcher
in order to handleany
comparator andHeader
. Those should be covered byJMAPFilteringTest
test suite.RuleDTO
in order to plug them onto internal storage based on eventSourcing.FilteringManagementContract
shall cover this.FilterSerializer
in order to enable serialization + deserialization in JMAP. Those should be covered by tests withinLinagoraFilterSetMethodContract
.docs/modules/ROOT/pages/tmail-backend/jmap-extensions/jmapFilters.adoc
The text was updated successfully, but these errors were encountered: