178 Commits

Author SHA1 Message Date
Hivert Quentin
e959583390 fix(mail): Templates namespace is correctly returned 2023-08-09 16:30:33 +02:00
WoodySlum
8bd97d1464 Merge pull request #343 from jkanefendt/fix-move-messages-across-mailboxes
Fix moving mails across mailboxes
2023-03-14 08:35:05 +01:00
Johannes Kanefendt
49488efab9 Refactored variable declaration 2023-03-14 08:26:23 +01:00
Johannes Kanefendt
a556e742fb fix(mail): Store the Deleted flag in the correct (source) mailbox when moving mails across mailboxes 2023-03-10 15:57:53 +01:00
smizrahi
8001e3f6ab feat(alarms): Add possibility to use SMTP master account for system alarms. Fixes #5565. 2023-02-16 18:51:28 +01:00
smizrahi
48c7375544 perf(mail): Improve IMAP fetch sorting using NSDictionary keys instead of indexOfObject. Code refactoring 2022-11-22 17:48:45 +01:00
smizrahi
60ec3152e8 perf(mail): Improve IMAP fetch sorting using NSDictionary keys instead of indexOfObject. Code refactoring 2022-11-18 08:58:10 +01:00
smizrahi
38e886a3e0 perf(mail): Improve IMAP fetch sorting using NSDictionary keys instead of indexOfObject. Fix build issue. 2022-11-16 21:59:11 +01:00
smizrahi
40b5c0918a perf(mail): Improve IMAP fetch sorting using NSDictionary keys instead of indexOfObject 2022-11-16 21:08:48 +01:00
Francis Lachapelle
090c1ea9e7 fix(mail): mark deleted messages as seen
The STATUS command will now report the proper unseen messages count.
2022-04-25 10:28:00 -04:00
Francis Lachapelle
f32c3d78e5 fix(mail): add subject and date to file names of exported messages 2022-04-22 14:58:27 -04:00
Francis Lachapelle
55baeb107f fix(mail): check return value of "setacl" IMAP command 2022-03-09 14:57:32 -05:00
Francis Lachapelle
0e20bbc28e perf(mail): perform IMAP STATUS command to fetch unseen msgs count 2022-02-15 10:25:46 -05:00
Francis Lachapelle
c986422a3d feat(mail(web)): Templates folder for pre-defined drafts
To create a template, the user needs to:

 - define a mailbox as the Templates folder;
 - move a draft to this special folder.

Fixes #4320
Fixes #5363
2022-02-11 10:06:57 -05:00
Francis Lachapelle
fe038bb2ef fix(mail): identify junk mailbox in lookup
Fixes #5482
2022-02-11 08:04:11 -05:00
Francis Lachapelle
2c6cd53ea7 fix(mail): improve handling of QRESYNC responses 2022-01-14 10:13:20 -05:00
Francis Lachapelle
ecc1dee87a fix(mail): support very large HIGHESTMODSEQ values 2022-01-12 14:16:43 -05:00
Francis Lachapelle
e0df54838e fix(mail): delete msgs once moved to an external account 2021-12-02 17:11:13 -05:00
Francis Lachapelle
9c2b3bd473 fix(mail(dav)): add support for property {DAV:}getcontentlength 2021-11-09 17:11:09 -05:00
Francis Lachapelle
4df5e4b8fc fix(mail(dav)): fix mail-query response 2021-11-09 17:09:25 -05:00
Francis Lachapelle
cae51dc4d6 fix(mail): use pool to lower memory usage 2021-10-12 11:30:23 -04:00
Francis Lachapelle
0765c72616 fix(mail): replace STATUS by LIST command when copying/moving msgs
Fixes #4983
2021-09-10 16:59:26 -04:00
Francis Lachapelle
08581eefab fix(mail): split "l" and "r" ACL attributes for IMAP mailboxes
Fixes #4983
2021-09-10 16:57:15 -04:00
Francis Lachapelle
d1fc15b3a4 feat(mail): add support for UID MOVE operation 2021-09-10 14:16:03 -04:00
Francis Lachapelle
534bea674b fix(mail): properly sort partial fetch results (modseq)
Fixes #5385
2021-09-08 16:54:42 -04:00
Francis Lachapelle
a9c6f09273 perf(mail(js)): various optimizations
We now use IMAP QRESYNC to synchronize mailbox.
2021-06-15 17:16:10 -04:00
Francis Lachapelle
657f00f92b fix(mail): handle folders that end with a question mark
We now avoid using NSURL.

Fixes #5303
2021-05-18 13:34:46 -04:00
Francis Lachapelle
cb6de75845 fix(mail): unsubscribe from all subfolders when deleting parent
Fixes #5218
2021-03-16 11:50:05 -04:00
Extra Fu
04673e4673 Merge pull request #281 from jkanefendt/use-libzip
Use libzip API instead of zip command line tool for creating zip archives
2020-06-12 14:00:20 -04:00
Johannes Kanefendt
b951c72451 Use libzip API for creating ZIP archives instead of zip command line tool 2020-06-09 13:50:29 +02:00
Extra Fu
62823815a7 Merge pull request #263 from jkanefendt/revise-group-expansion
Revision of the group member expansion interface
2020-04-02 09:52:21 -04:00
Francis Lachapelle
62f64314c0 fix(mail): fix SMTP authentication when reporting spam/ham
Fixes #4941
2020-01-17 09:53:16 -05:00
Johannes Kanefendt
948c89f5bb - Respect the user domain when dealing with groups
- Renamed protocol MembershipAwareSource to SOGoMembershipSource
2019-12-04 10:37:08 +01:00
Johannes Kanefendt
2e98929900 Removed tight coupling of group membership expansion and LDAPSource.
Any implementation of SOGoSource may now support group expansion by implementing the protocol MembershipAwareSource.
2019-11-26 15:29:02 +01:00
Ludovic Marcotte
1aa0d012cd (fix) honor "any authenticated user" when setting IMAP ACLs 2019-08-29 11:06:13 -04:00
Ludovic Marcotte
0cbb8ea9eb (fix) honor groups when setting IMAP ACLs 2019-08-29 10:46:13 -04:00
Ludovic Marcotte
4df69587a2 (fix) honor IMAPLoginFieldName also when setting IMAP ACLs 2019-08-23 13:45:44 -04:00
Daniel Carlos Silva
193b73fa26 Update SOGoMailFolder.m 2019-05-23 18:20:10 -03:00
Francis Lachapelle
23d0b68e57 Add missing subject to junk/not junk mail reports 2018-01-24 16:21:55 -05:00
Francis Lachapelle
8bcda19799 (web) Fix renaming a mailbox with special chars 2017-04-12 13:41:24 -04:00
Francis Lachapelle
3137e4cdbb Respect mailbox administration rights of user 2016-11-23 11:16:13 -05:00
Ludovic Marcotte
42127c51ab (feat) added IMAP folders subscriptions management (fixes #255) 2016-09-14 15:57:49 -04:00
Ludovic Marcotte
bb34a22578 (fix) correctly write the content on disk before zipping it 2016-05-03 09:05:52 -04:00
Ludovic Marcotte
eb989fdd1b (fix) use PEEK when archiving messages (fixes #2792) 2016-03-29 11:37:40 -04:00
Patrice Levesque
4210131e12 Initialize highestmodseq to avoid any surprise.
Strongly inspired by comment at https://github.com/inverse-inc/sogo/pull/201#discussion-diff-54879796
2016-03-07 10:43:38 -05:00
Patrice Levesque
478b313122 Fix warning: distinct Objective-C type in return
Method is supposed to return a WOResponse pointer, but currently returns a
NSException pointer; typecast the return value, just like the archiveUIDs
method does.
2016-03-07 10:34:41 -05:00
Patrice Levesque
5b71ed319a Fix warning: variable ‘uidnext’ set but not used [-Wunused-but-set-variable]
Remove uidnext declaration and calls that change its value.
2016-03-07 10:34:40 -05:00
Patrice Levesque
ddade629fd Synchronize .h and .m method signatures. 2016-03-07 10:34:40 -05:00
Patrice Levesque
7c25b53fdf Remove pointless #imports from .m and .h files
This was done with a brute-force approach, ensuring no additional
warnings from GCC 4.9 under x86_64.
2016-02-13 16:11:52 -05:00
Ludovic Marcotte
ee3276f01d (feat) added Junk handling feature from v2 2016-02-08 15:36:01 -05:00