Commit Graph

395 Commits (d9f059a9e38895852d27558a68a648b320c72888)

Author SHA1 Message Date
Ludovic Marcotte 1216464f28 (fix) handle Dovecot's mail_shared_explicit_inbox when using EAS 2016-03-28 11:13:41 -04:00
Ludovic Marcotte f6f5613be5 (fix) handle FilterType changes using EAS (fixes #3543) 2016-03-28 08:43:56 -04:00
Ludovic Marcotte 284c45f111 (fix) use the correct message class for S/MIME mails 2016-03-18 13:01:29 -04:00
Ludovic Marcotte 69b6f7878f (fix) minor EAS fixes relating to path handling in v3 2016-03-16 09:05:43 -04:00
Ludovic Marcotte cd6c56953b (fix) properly split long headers (fixes #3152)
Conflicts:

	ActiveSync/SOGoMailObject+ActiveSync.m
2016-03-16 08:57:39 -04:00
extrafu 5a7652de87 Merge pull request #202 from RaphWeyman/master
Update SOGoActiveSyncDispatcher.m - local memory pool for ping cycle.
2016-03-13 09:01:12 -04:00
RaphWeyman dd183d039f Update SOGoActiveSyncDispatcher.m
Add local memory pool so as to restrict memory consumption while waiting in the ping cycle.
Consumption can otherwise grow quite large while if the SOGoMaximumPingInterval and SOGoMaximumSyncInterval have been increased to allow for push ActiveSync.
2016-03-12 12:51:17 +00:00
Ludovic Marcotte 4ac41dace7 (core) new database structure options to make SOGo use a total of nine tables 2016-03-10 16:34:06 -05:00
Ludovic Marcotte be7ee69f0f (fix) avoid truncating the MIME content when fetching the whole message 2016-03-09 08:57:51 -05:00
Ludovic Marcotte aab87212d0 (fix) avoid compilation warning 2016-02-21 07:27:42 -05:00
Ludovic Marcotte 95d0a18c08 (fix) avoid truncating XML entities 2016-02-19 09:07:53 -05:00
Patrice Levesque 6bb2065f46 Fix too aggressive #include and #import removal in ActiveSync directory - it broke master branch. 2016-02-16 18:39:58 -05:00
Patrice Levesque 9cb1b899b0 Merge branch 'master' into fix-some-warnings
Conflicts:
	UI/Scheduler/UIxAppointmentActions.m
2016-02-16 14:32:50 -05:00
Ludovic Marcotte e51f8625d6 (fix) don't mark content as truncated if it's not 2016-02-16 08:32:04 -05:00
Ludovic Marcotte 929915542c Make sure we don't go overbounds 2016-02-15 16:12:21 -05:00
Ludovic Marcotte 42131c564a (fix) support EAS MIMETruncation 2016-02-15 16:04:18 -05:00
Patrice Levesque a5cc2bb5d5 Merge branch 'master' into fix-some-warnings
Conflicts:
	SoObjects/Appointments/SOGoAppointmentObject.m
2016-02-15 11:23:27 -05:00
Patrice Levesque 520b1094be Remove now-useless preprocessor conditional block 2016-02-13 18:15:38 -05:00
Patrice Levesque bd56f4cf9f Remove pointless #include 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 17:41:54 -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 d5f95c6b30 (fix) make sure our heartbeat interval is always greater than the internal one 2016-02-12 13:07:34 -05:00
Ludovic Marcotte 4f1ce3f2df (fix) avoid EAS bday offset (fixes #3518) + small fix in previous commit 2016-02-11 15:04:44 -05:00
Ludovic Marcotte c9e7eac3fd (fix) EAS issue with attachments in 2nd-level mailboxes (fixes #3505) 2016-02-11 14:33:39 -05:00
Ludovic Marcotte dd19f380ad (fix) added local memory pool 2016-02-05 10:03:56 -05:00
Ludovic Marcotte c12200c7b5 (fix) correctly encode filename of attachments over EAS (#3491) 2016-02-04 10:34:55 -05:00
Ludovic Marcotte 9a6cf0eb66 (fix) do not try to decode non-wbxml responses for debug output (#3444) 2016-01-25 10:26:31 -05:00
Ludovic Marcotte 42c2edce19 (feat) newly created folders using EAS are always sync'ed by default (#3454) 2016-01-25 10:21:46 -05:00
Ludovic Marcotte 81f13404bf (fix) more fix regarding recurrence exceptions and body tags
Conflicts:

	ActiveSync/iCalEvent+ActiveSync.m
2016-01-22 14:05:00 -05:00
Ludovic Marcotte 88207d27c4 (fix) now always generate invitation updates when using EAS
Conflicts:

	NEWS
2016-01-22 13:50:48 -05:00
Ludovic Marcotte 9ba7425e56 (fix) make sure we escape control chars 2016-01-22 13:50:19 -05:00
Ludovic Marcotte 985db9465c (fix) avoid generating empty ConversationId which can break Android EAS 2016-01-17 06:29:13 -05:00
Ludovic Marcotte defd9ab84b (fix) don't generate dual Body tag for event exceptions 2016-01-16 08:08:37 -05:00
Ludovic Marcotte f3ea377bdb (fix) correctly remove the event/task 2016-01-14 14:49:59 -05:00
Ludovic Marcotte 321193472d (fix) when deleting an event using EAS, properly invoke the auto-scheduling code 2016-01-08 13:13:39 -05:00
Ludovic Marcotte 96588aef6a (fix) properly handle mail subfolders for EAS 2016-01-08 10:29:14 -05:00
Ludovic Marcotte 030272d48a (fix) EAS folder name for emails in v3 2016-01-07 11:50:15 -05:00
Ludovic Marcotte ed799c5c35 (fix) EAS mail sync fix for v3 2016-01-07 11:39:15 -05:00
Ludovic Marcotte a755546f75 (fix) properly escape the UID too 2016-01-07 10:17:37 -05:00
Ludovic Marcotte 9d9f7b4c56 (fix) don't escape twice (#3423) 2016-01-07 10:01:17 -05:00
Ludovic Marcotte 77755770a8 (feat) Initial support for EAS calendar exceptions 2015-11-30 09:19:25 -05:00
Ludovic Marcotte faa5d83cf6 (fix) EAS fix on qp-encoded subjects (#3390) 2015-11-25 15:09:48 -05:00
Ludovic Marcotte 9a12fb24a6 (fix) EAS fix for wrong charset being used (#3392) 2015-11-23 18:09:58 -05:00
Ludovic Marcotte dc3e42fd62 (fix) additional fix for #3356 2015-11-09 14:31:28 -05:00
Ludovic Marcotte 0d919dbd02 (fix) small fixes 2015-11-06 09:02:06 -05:00
Ludovic Marcotte 350fe2e7e0 (fix) one more fix for #3118 2015-11-05 14:59:41 -05:00
Ludovic Marcotte a8525658b3 (fix) additional fix for #3118 2015-11-05 11:11:49 -05:00
Euan Thoms 3c62cc744e Stage 1 of clang compiler warning patches. 2015-10-31 14:10:03 +08:00
Ludovic Marcotte 09e354ed0e (feat) support for ghosted elements on contacts over EAS 2015-10-26 10:27:13 -04:00
Ludovic Marcotte d7fb79381e (feat) we now save the supported elements in EAS collections 2015-10-26 10:16:09 -04:00
Ludovic Marcotte 700a00b822 (fix) prevent postal address showing on single line over EAS (#2614) 2015-10-26 10:08:28 -04:00
Ludovic Marcotte 2ee09159a2 (feat) now possible to choose which folders to sync over EAS 2015-10-20 15:33:48 -04:00
Ludovic Marcotte 114622fee0 (fix) last fixes for cache coherency 2015-10-20 08:49:32 -04:00
Ludovic Marcotte 8979aebe31 (fix) oh well, old crappy distros 2015-10-15 16:11:30 -04:00
Ludovic Marcotte 020fa78848 (feat) initial S/MIME support for EAS (#3327) 2015-10-15 15:32:15 -04:00
Ludovic Marcotte 15de70b938 (fix) make sure English is always used when generating Date headers using EAS (#3356) 2015-10-14 09:58:42 -04:00
Ludovic Marcotte ea24e9586b (fix) we no longer always rewrite emails for Outlook when using EAS 2015-10-14 09:30:35 -04:00
Ludovic Marcotte 4e9911419a (fix) handle references correctly over EAS (#3365) 2015-10-14 09:28:12 -04:00
Ludovic Marcotte bfa3cf379c (fix) numerous EAS fixes when connections are dropped before the EAS client receives the response (#3058, #2849)
Conflicts:

	NEWS
2015-10-14 09:23:03 -04:00
Ludovic Marcotte 9a2f3914e2 (fix) additional fix for issue #3152 2015-09-17 16:29:21 -04:00
Ludovic Marcotte f13b3dd201 (fix) typo in previous commit 2015-09-17 16:02:45 -04:00
Ludovic Marcotte 413550a025 (fix) memory leak when sync'ing GCS collections 2015-09-17 15:59:20 -04:00
Ludovic Marcotte 59ad8a2e5a (fix) improved EAS speed during initial syncing of large mailboxes (#3293)
Conflicts:

	SoObjects/Mailer/SOGoMailFolder.h
	SoObjects/SOGo/SOGoGCSFolder.m
2015-09-09 10:22:29 -04:00
Ludovic Marcotte ab8feff67d (fix) avoid too-many LIST commands over EAS (#3294) 2015-09-09 10:13:27 -04:00
Ludovic Marcotte a8ab01a5eb (fix) fixed EAS conversation ID issues on BB10 (#3152) 2015-07-22 10:27:24 -04:00
Ludovic Marcotte 046c4db2e8 (fix) fixed computation of GlobalObjectId (#3235) 2015-07-22 10:00:28 -04:00
Ludovic Marcotte ac21649633 (feat) added support for DeletesAsMoves over EAS
Conflicts:

	ActiveSync/SOGoActiveSyncDispatcher+Sync.m
2015-07-22 09:56:36 -04:00
Ludovic Marcotte efd182f145 (fix) improved EAS email flagging handling (#3140) 2015-07-22 09:46:44 -04:00
Ludovic Marcotte b6c6e09a5a (fix) compilation warning 2015-07-22 09:26:00 -04:00
Ludovic Marcotte 83a8f388ce Android EAS Lollipop fixes (#3268 and #3269)
Conflicts:

	NEWS
2015-07-22 09:16:49 -04:00
Ludovic Marcotte 8650492989 Applied PR90 as a patch due to too-many merge conflicts when cherry-picking 2015-07-22 09:05:17 -04:00
Ludovic Marcotte 647f052486 Fix for dfecce7381
Conflicts:

	ActiveSync/SOGoActiveSyncDispatcher+Sync.m
2015-06-29 13:55:12 -04:00
Ludovic Marcotte e5c4907aba (fix) improved memory usage 2015-06-17 08:47:15 -04:00
Ludovic Marcotte 44af47f69e (fix) avoid method clash from categories that would lead to unexpected behaviors 2015-06-10 20:09:40 -04:00
Ludovic Marcotte 6bc471ad9a (fix) properly support big characters in EAS and fix encoding QP EAS error for Outlook (#3082) 2015-06-10 10:58:59 -04:00
Ludovic Marcotte b1453e1d7e (fix) fixed potential organizer highjacking when using EAS (#3131) 2015-06-10 10:47:30 -04:00
Ludovic Marcotte 88cab67f6d (fix) properly escape folder after creation using EAS (#3237) 2015-06-10 10:21:15 -04:00
Ludovic Marcotte ccbaea6999 (fix) EAS's GetItemEstimate/ItemOperations now support fetching mails and empty folders 2015-06-02 13:05:37 -04:00
Ludovic Marcotte 75206f1f2c (fix) improved EAS speed, especially when fetching big attachments 2015-06-02 12:57:37 -04:00
Ludovic Marcotte 7da6b0b822 (fix) only dump broken eas data to file if SOGoEASDebugEnabled is enabled 2015-05-29 14:23:01 -04:00
Ludovic Marcotte 037a3a136a (fix) message bodies not shown on some EAS devices (#3173) 2015-05-14 15:58:53 -04:00
Ludovic Marcotte c98a000515 (feat) many improvements to EAS SmartReply/SmartForward commands 2015-05-14 15:49:53 -04:00
Ludovic Marcotte cc1e9f2fff (fix) additional fix for #3152 2015-05-14 15:40:03 -04:00
Ludovic Marcotte 9dc0a08bba (fix) removed unused import 2015-05-14 15:28:23 -04:00
Ludovic Marcotte 5412599832 (feat) now possible to log EAS commands using the SOGoEASDebugEnabled system defaults 2015-05-14 15:26:18 -04:00
Ludovic Marcotte fbf5c4f6c2 (fix) always include SrcMsgId in the MoveItems's response 2015-05-13 19:09:58 -04:00
Ludovic Marcotte e71a1c9974 (fix) addition fix for #3152 2015-05-12 10:44:51 -04:00
Ludovic Marcotte 96b2e0e1f5 (fix) use dateTime instead of compact format for meeting requests 2015-05-12 10:37:26 -04:00
Ludovic Marcotte 619e9fe7dd (fix) now correctly handle multiple email addresses in the GAL over EAS 2015-05-12 10:28:47 -04:00
Ludovic Marcotte 364a07bd05 set the preferred body type for meeting response 2015-05-12 10:15:07 -04:00
Ludovic Marcotte 2c78d60e4a (fix) now correct handle external invitations using EAS 2015-05-12 10:12:57 -04:00
Ludovic Marcotte ee8caa5a99 (fix) now set MeetingMessageType only for EAS 14.1 2015-05-12 10:05:45 -04:00
Ludovic Marcotte f666b436dd (fix) make sure sure email invitations can always be read by EAS clients 2015-05-12 09:59:01 -04:00
Ludovic Marcotte a37f438663 (fix) the EAS maximum response size being per-folder, and not global 2015-05-04 09:11:52 -04:00
Julio García 3f3ae3acd7 Merge remote-tracking branch 'upstream/master' into contribute-back
Conflicts:
	NEWS
2015-04-15 17:08:30 +02:00
Julio García ca7c4c026e Merge pull request #119 from Zentyal/jjgarcia/merge-from-upstream
Merge from upstream version 2.2.17a
2015-04-15 16:05:37 +02:00
Jesús García Sáez 1d6f1a83af use full login for sogo_cache_folder tables
So when multidomain is enabled we will have tables like
sogo_cache_folder_user_A_domain_D_com instead of just
sogo_cache_folder_user

If multidomain is disabled the folders will still be like
sogo_cache_folder_user
2015-04-14 13:18:23 +02:00
Ludovic Marcotte 9b320ec2a1 Improvements over 491d7aaffc 2015-03-31 16:17:21 -04:00
Ludovic Marcotte b2d7eb40c2 (fix) fixed a potential EAS error with multiple email priority flags 2015-03-31 16:13:52 -04:00
Ludovic Marcotte c428ac2553 EAS reply fix when message/rfc822 parts are included in the original mail (#3153) 2015-03-30 09:57:27 -04:00
Ludovic Marcotte f5607b3e85 now keep the BodyPreference for future EAS use and default to MIME if none set (#3146) 2015-03-30 09:49:44 -04:00
Ludovic Marcotte 491d7aaffc improved multipart handling using EAS 2015-03-30 09:42:32 -04:00
Ludovic Marcotte cc3652b59b improvements to EAS SyncKey handling to avoid missing mails (#3048, #3058) 2015-03-23 17:23:29 -04:00
Ludovic Marcotte 9d7bbbc312 enable by default HTML mails support using EAS on Windows and BB phones 2015-03-23 14:55:14 -04:00
Ludovic Marcotte 67139ce3e3 improved GetItemEstimate to count all vasnished/deleted mails too 2015-03-23 11:35:45 -04:00
Ludovic Marcotte ecd336fa5c Fix compilation warning and error 2015-03-20 08:51:35 -04:00
Ludovic Marcotte afd73289d1 properly fallback over EAS to UTF-8 and then Latin1 for messages w/o charset (#3103) 2015-03-20 08:45:42 -04:00
Ludovic Marcotte bff21ab1ff support for mail prority using EAS 2015-03-19 16:08:33 -04:00
Ludovic Marcotte 6d99226b13 Always add DisplayName no matter EAS client version 2015-03-19 14:53:01 -04:00
Ludovic Marcotte e25a7e3d8d Fix for bug #3138 2015-03-18 09:36:35 -04:00
Ludovic Marcotte df59b73a22 use correct mail attachment elements for EAS 2.5 clients - patch from tfu 2015-02-26 17:56:42 -05:00
Ludovic Marcotte a5672fda52 do not use syncKey from cache when davCollectionTag = -1 - patch from tfu 2015-02-26 17:55:36 -05:00
Ludovic Marcotte b593ddc643 SmartReply improvements for missing body attributes - patch from tfu 2015-02-26 17:53:58 -05:00
Ludovic Marcotte 38d61f720f use the correct body element for events for EAS 2.5 clients - patch from tfu 2015-02-26 17:52:37 -05:00
Ludovic Marcotte 733e334726 fixed tasks disappearing issue with RoadSync - patch from tfu 2015-02-26 17:51:02 -05:00
Ludovic Marcotte 22888ba5ac use the correct mail body element for EAS 2.5 clients - patch from tfu 2015-02-26 17:49:26 -05:00
Ludovic Marcotte 33c485d2f6 fixed empty sync responses for EAS 2.5 and 12.0 clients - patch from tfu 2015-02-26 17:48:06 -05:00
Ludovic Marcotte 9160e34134 multiple collections support for GetItemEstimate - patch from tfu 2015-02-26 17:46:34 -05:00
Ludovic Marcotte 5ceddc213e Fix for bug #3116 2015-02-26 16:00:03 -05:00
Ludovic Marcotte d7c283f751 improved fetching of text parts over EAS 2015-02-12 08:49:17 -05:00
Ludovic Marcotte 82178fd6ce Initial patch from tfu for bug #3055 2015-02-11 08:31:32 -05:00
Ludovic Marcotte 3731819e15 Added patch from tfu for #2995 2015-02-05 16:21:27 -05:00
Ludovic Marcotte 7fd1564a86 fix for #3076 2015-01-28 15:16:21 -05:00
Ludovic Marcotte 981c718d22 improved handling of EAS Push when no heartbeat is provided 2015-01-28 15:03:49 -05:00
Ludovic Marcotte d907d5d268 Avoid using NSLog() where we can 2015-01-22 13:31:31 -05:00
Ludovic Marcotte 16c863d89d Fixed potential issue when handling multiple Add/Change/Delete/Fetch EAS commands (#3057) 2015-01-15 11:55:04 -05:00
Ludovic Marcotte d87056ebfa handle multipart for EAS/ItemOperations 2015-01-12 14:38:55 -05:00
Ludovic Marcotte 135b463e8f Updated the EAS doc 2015-01-12 13:39:06 -05:00
Ludovic Marcotte f4c4f5af62 fixed From's full name over EAS 2015-01-12 09:09:06 -05:00
Ludovic Marcotte 70e45f7843 fixed birthday offset in EAS 2015-01-12 08:40:06 -05:00
Ludovic Marcotte 1cfbea69c1 Make sure we always release local pool 2015-01-08 15:56:16 -05:00
Ludovic Marcotte cb9118d869 Moved the pool destruction at the correct location 2015-01-07 09:29:31 -05:00
Ludovic Marcotte ead665de85 fix tz issue when the user one was different from the system one with EAS 2014-12-29 16:19:10 -05:00
Ludovic Marcotte a0c1ce8f3b Improved handling of non-existant vs. subscribed folders over EAS 2014-12-29 12:43:20 -05:00
Ludovic Marcotte 255bcbe92f Fixed memory leaks in SOGoSyncCacheObject and correctly kill the cache upon each EAS iteration 2014-12-22 19:59:33 -05:00
Ludovic Marcotte 24a934275f Fix small memory leak incase of errors 2014-12-22 16:12:26 -05:00
Ludovic Marcotte ca4a754f2c Use the right cutoff date 2014-12-22 12:39:58 -05:00
Ludovic Marcotte 8015688df3 Added SOGoMaximumSyncResponseSize to support memory-limited EAS syncs 2014-12-22 11:50:51 -05:00
Ludovic Marcotte b07913d66d See NEWS file 2014-12-22 08:36:55 -05:00
Ludovic Marcotte 8aea5f232e Fix for bug #3028 2014-12-17 16:18:39 -05:00
Ludovic Marcotte 493c366ac4 Fix for bug #3003 2014-12-17 15:26:02 -05:00
Ludovic Marcotte eb4d20e50f Privacy and categories support for tasks 2014-12-16 13:27:01 -05:00
Ludovic Marcotte 70dbcf0418 Fix for MeetingStatus applied yesterday 2014-12-16 13:24:10 -05:00
Ludovic Marcotte 68655deabd Improved rpath handling (#2996) 2014-12-16 12:36:08 -05:00
Ludovic Marcotte cbfb927ec9 Properly escape Attendee's email address in case it contains crap 2014-12-16 10:46:05 -05:00
Ludovic Marcotte 0f2798f017 Lucid fixes for EAS 2014-12-16 10:46:05 -05:00
Ludovic Marcotte fb6ef3aa8a Now possible to set alarms on event invitations 2014-12-16 09:20:27 -05:00
Ludovic Marcotte 20b3d4882d MeetingStatus fix affecting iOS devices 2014-12-15 19:27:21 -05:00
Ludovic Marcotte e79ea75834 Categories and privacy fixes for bug #3022 2014-12-15 19:24:10 -05:00
Ludovic Marcotte 3c063e04fb v2.2.11a release + bug fix 2014-12-10 14:24:06 -05:00
Ludovic Marcotte 12788c847d New sogo-tool feature to manage EAS data 2014-12-08 10:45:34 -05:00