Commit graph

52 commits

Author SHA1 Message Date
the-djmaze
6a715da1ac Bugfix Sieve rfc5429 2024-01-08 04:55:18 +01:00
the-djmaze
a96ff94c6f Bugfix handling of RainLoop Sieve script 2024-01-03 02:41:42 +01:00
the-djmaze
f3935b1df4 Fix some Sieve parser issues 2024-01-03 01:47:52 +01:00
the-djmaze
62639acc5a Cleanup Sieve RainLoop filter editor 2024-01-03 01:31:44 +01:00
the-djmaze
a2b638dc55 Remove all String.trim() from Sieve RainLoop script #1329 2023-11-26 02:55:08 +01:00
the-djmaze
bde5060008 Revert #1323
As rfc5228 implementations MUST support the "keep", "discard", and "redirect" actions.
2023-11-23 01:46:46 +01:00
the-djmaze
0736782a44 Resolve #1323 2023-11-23 01:34:55 +01:00
the-djmaze
88279c55e0 Resolve #1111 2023-05-01 11:48:57 +02:00
the-djmaze
ce2fb9d7f2 Many AppData properties to JavaScript camelCase 2023-02-21 10:22:59 +01:00
the-djmaze
8d52b0afdf Bugfix: Notification enum conflicts with window.Notification 2023-02-20 15:59:37 +01:00
the-djmaze
4cfd6479ce Better Sieve rainloop.user script handling 2023-01-25 09:28:09 +01:00
the-djmaze
f4b9501388 Resolve #728 by removing impossible button 2022-11-30 17:11:44 +01:00
the-djmaze
c7cf5b1c2c JavaScript substr() is deprecated 2022-10-19 16:43:16 +02:00
the-djmaze
732b6eb641 Use JavaScript Optional chaining 2022-09-02 11:52:07 +02:00
the-djmaze
58cd2fcacb Cleanup and improved handling of Sieve scripts 2022-08-23 10:52:23 +02:00
the-djmaze
edb7b38e0c Resolve #494 2022-08-22 22:10:09 +02:00
the-djmaze
6c4950615d Cleanup Sieve Filter edit, no need to reassign filters on save 2022-07-21 22:03:56 +02:00
the-djmaze
cf71c1a18f Resolve #464 2022-07-21 21:57:29 +02:00
the-djmaze
e1426b484e Sieve: use Optional chaining operator
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining
2022-05-21 23:58:46 +02:00
the-djmaze
7c8039d91d Resolve #407 2022-05-19 15:18:15 +02:00
the-djmaze
33f0e6febf Small code cleanup 2022-05-18 22:53:33 +02:00
the-djmaze
882c0bde42 Bugfix: sieve undefined args[i-1] 2022-05-17 14:48:38 +02:00
the-djmaze
663fb1485a Resolve #400 2022-05-17 12:18:49 +02:00
the-djmaze
6a90c62456 Resolve #317 2022-04-05 14:26:10 +02:00
the-djmaze
f47eb61aee Improved Sieve Script editor with lists of available Actions, Controls and Tests 2022-03-17 10:21:23 +01:00
the-djmaze
ff9a89380c Prepare some Sieve restructuring for GUI 2022-03-17 09:03:02 +01:00
the-djmaze
37bb9a9a97 added Sieve getMatchTypes() for easy valid match-types 2022-03-16 14:33:43 +01:00
the-djmaze
e4bd24b4e8 Added Sieve extension rfc6134 partial 2022-03-16 14:21:23 +01:00
the-djmaze
63de537f8f Added Sieve extension rfc5703 2022-03-16 12:05:50 +01:00
the-djmaze
57673384e9 Support Sieve extension rfc6131 2022-03-15 10:16:26 +01:00
the-djmaze
b3c1723c5c Improved Sieve code and added rfc5435 2022-03-15 09:58:04 +01:00
the-djmaze
c01c02d723 Added Sieve extension rfc5463 2022-03-15 07:54:25 +01:00
the-djmaze
219589b8ea Support Sieve RFC3894 2022-03-14 14:06:28 +01:00
the-djmaze
668a5f1fa5 Added Sieve rfc5490
Renamed tests classes *Command as *Test
2022-03-14 12:39:11 +01:00
the-djmaze
40adf992ed Activate more Sieve extensions and use parseScript when saving script 2022-03-13 20:22:00 +01:00
the-djmaze
42813b90dd Added the new Sieve parser as script validator 2022-03-11 13:41:13 +01:00
the-djmaze
9bae77bfa1 Fix Sieve Circular dependency 2022-03-11 13:01:46 +01:00
djmaze
d6dc4d291c Split Sieve/Filters code from app.js so that i can work on the new Sieve GUI 2022-03-11 10:26:25 +01:00
the-djmaze
f4cd25f8ad Added Sieve parser code in master 2022-03-09 12:33:31 +01:00
djmaze
ca91a6e408 drop sieve parser from sievescripts branch 2021-01-20 11:43:03 +01:00
djmaze
73e26d388a Added: rfc5233
Activate: comparator
Bugfix: StringList must use .toString()
Bugfix: redirect command
Bugfix: MultiLine
2021-01-15 16:09:03 +01:00
djmaze
3566f4a538 Added rfc5183, rfc5229, rfc5260 and rfc5293
Make comparator and match_type available for all Test classes

Signed-off-by: djmaze <djmaze@djmaze.lan>
2021-01-15 14:35:16 +01:00
djmaze
3ce123b536 Added RFC5231 check 2021-01-15 12:12:56 +01:00
djmaze
eb369ca122 Added rfc6609 2021-01-15 12:11:13 +01:00
djmaze
68fc9f21bd Centralize some argument parsing
Improved parser error handling
Fix Sieve Vacation extension
2021-01-15 11:34:16 +01:00
djmaze
55178016a0 Solve some comparators 2021-01-15 00:32:04 +01:00
djmaze
43c669e629 Added draft code for handling "require []" 2021-01-15 00:14:45 +01:00
djmaze
d9865e3a46 Simplify Sieve Parser and added RFC5235 2021-01-14 23:42:46 +01:00
djmaze
22964f1fde More improvements and fixes based on test scripts 2021-01-14 17:50:23 +01:00
djmaze
0aafce4214 More Sieve parser improvements after doing 'if not' test 2021-01-14 16:38:26 +01:00