Commit Graph

52 Commits

Author SHA1 Message Date
leithoff
955ba34599 implement ChangeFolder 2016-08-11 15:33:02 +02:00
leithoff
a41896f802 fix charset/transfer encoding issue when sending plain ascii mails but adding utf-8 signature 2016-08-05 15:12:21 +02:00
leithoff
5f25a87766 fix problem with missing folders from other and user namespace caused by wrong (calculated under different assumptions) parent-id 2016-08-04 13:38:10 +02:00
leithoff
fa7bd97801 apply integer as type to maximum-sync-range in days pref in preferences->activesync->mail 2016-07-29 15:50:34 +02:00
leithoff
0e93274657 * eSync/Mail: allow to override the settingregarding the date range for syncing mail when no limit is set clientside (preventing client crash that may be caused by too many mails/too much data (default is half a year)). If you want to sync way-back into the past: set a large number 2016-07-28 15:48:43 +02:00
leithoff
e3132b7775 * eSync/Mail: make sure From is set correctly to the identity used, when sending by iOS 2016-07-21 13:36:43 +02:00
Ralf Becker
f89142629a * eSync: fix not synced subject and other headers, after RC3 Outlook memory reduction 2016-07-08 10:34:33 +02:00
leithoff
5f7e13adaa fix bug with visible broken css stuff in outlook when answering to html-mails (with style-definitions) to outlook 2016-07-07 12:04:47 +02:00
Ralf Becker
39288e5e89 only cache last headers of last call to GetMessageList, to keep within memory_limit if OL wants to sync a huge number of folders 2016-06-23 23:16:12 +02:00
Ralf Becker
6c88354494 remove *CloseStream objects, now that z-push WBXMLEncode closes all streams 2016-06-23 17:51:03 +02:00
Ralf Becker
5b7e27c275 reduce memmory consumption by closing stream on destruction of Sync objects containing streams 2016-06-23 14:45:06 +02:00
Ralf Becker
1b4bef13f5 return full mime message as stream without any conversation and without caching it, as this probably caused high memory usage when syncing with Outlook 2016-06-21 09:33:44 +02:00
leithoff
c173de3935 fix for functional folders showing up multiple times 2016-06-17 11:50:20 +02:00
Ralf Becker
6a02f1c19a merge changes from update-zpush-2.3 branch into master 2016-06-17 09:11:26 +02:00
leithoff
4363e7289a use one function to get the data reqired on ItemOperationsGetAttachmentData AND/ot GetAttachmentData calls 2016-06-14 16:41:50 +02:00
Ralf Becker
0f7ca734e3 remove call to no longer existing method Api\Mailer::AddCustomHeader 2016-06-10 12:11:56 +02:00
Ralf Becker
c193325f4c remove call to no longer existing method Api\Mailer::EncodeHeader 2016-06-10 12:01:10 +02:00
Ralf Becker
17e8473e6e store folder-hashes via state-maschine in db 2016-06-10 08:31:09 +02:00
Ralf Becker
5858523c53 z-push 2.3 requires all SyncBaseBody->data to be streams, using StringStreamWrapper::Open and stream_get_contents to convert from and to strings 2016-06-08 11:59:11 +02:00
Ralf Becker
e9f854a074 replace under zpush 2.3 removed global debugLog() function with ZLog::Write(LOGLEVEL_DEBUG, ...) 2016-06-07 13:02:41 +02:00
Ralf Becker
72404a1e29 using new api for mail app 2016-05-03 19:17:44 +00:00
Ralf Becker
00abda4682 moving emailadmin to api and admin, only emailadmin_hooks and tables still need moving 2016-03-28 18:51:38 +00:00
Ralf Becker
f25070a9c2 - switching minifying of javascript to use Grunt and Uglify (instead of doing it on the fly with php on every host)
- generating now a couple of bundles: api, et2, mail, calendar, jdots, pixelegg and mobile
- developers need to update minified files whenever a javascript file changes: grunt uglify[:(api|et2|mail|calendar|jdots|pixelegg|mobile)]
- minified files also contains a map file allowing to debug with them
2016-03-01 20:45:31 +00:00
Klaus Leithoff
ecb2da3fa6 support daterangefilter on serversidesearch 2016-02-26 14:19:11 +00:00
Klaus Leithoff
78d2bc33a9 support SINCE, BEFORE, BETWEEN and ON as (range) date filters; use it in mail_zpush and add example usage to get_rows 2016-02-26 13:04:35 +00:00
Klaus Leithoff
862a848043 ActiveSync/Mail/MeetingRequests: HandlingMeetingRequests on MobileDevice has serious issues within our/zpush2 implementation. thus we overwrite the globalobjId from calendar object, as: if you delete the mail, that is the meeting-request its using the globalobjid as reference and deletes both: mail AND meeting. we dont want this. since accepting meeting requests with the mobile does nothing we see no further drawbacks with that. TODO: Look into MeetingRequestHandling 2015-12-15 13:39:10 +00:00
Klaus Leithoff
afcb47bc46 fix problem output->nativebodytype is set too early, as it is used as marker that the original message was of type ... but is now converted to (, as type 2 is requested) 2015-12-04 13:58:57 +00:00
Ralf Becker
6969120d8b z-push requires text-parts to be in utf-8, not eg. iso-8859-1 2015-11-11 12:25:43 +00:00
Ralf Becker
aa7666baac remove old zpush (1) support and refactored backend (autoloadable name, moved interfaced to separate file 2015-11-05 13:23:00 +00:00
Klaus Leithoff
294b3c2ea8 disable the use of tidy when using zpush/activesync 2015-10-23 10:02:18 +00:00
Ralf Becker
6886b0a3b1 meeting requests and responses were send twice in spite of esync preferences 2015-10-22 17:24:14 +00:00
Ralf Becker
28577e8fb4 moving blocking of device on connection failure / exception from mail code to EGroupware pluging, to cate for failures everywhere in plugins, not just connect method of mail plugin, which does not fail because Horde defers IMAP login until it realy needs to connect 2015-10-20 16:26:55 +00:00
Ralf Becker
7fb9d4d15f fixes around calendar sync and meeting-requests, also fixed all IDE warnings in calendar_zpush 2015-10-14 16:42:04 +00:00
Ralf Becker
375cf22ba6 fix flags to only contain AS supported flags analog to Zimbra code and seek stream of attachments to beginning, as z-push requires that 2015-10-13 21:12:02 +00:00
Ralf Becker
ea0f039a37 fix PHP Fatal error, replace utf8_truncate --> Utils::Utf8_truncate 2015-10-13 16:15:32 +00:00
Klaus Leithoff
258846103a supplement flagsstring to mod, to represent flag changes 2015-10-13 15:06:04 +00:00
Ralf Becker
52dd6bd3d7 documented and reimplemented failure handling of connect method 2015-10-13 14:47:18 +00:00
Ralf Becker
33e15ea3f4 fix PHP Fatal error this->mail->getErrorMessage() and using Request::GetDeviceID() 2015-10-13 12:45:18 +00:00
Ralf Becker
4757b67af0 using new z-push 2 / hashed device directory for folder hashes, falling back to old directory/file for reading it 2015-09-15 07:45:58 +00:00
Ralf Becker
a67b3c24df sending whole mail for bodypreference 4, not parsing and reconstruction it first, which has problems around inline images in html mails 2015-09-10 16:00:16 +00:00
Ralf Becker
ded1a651d9 fix handling of inline attachments, still open is that inline attachments are one byte short when send to device and therefore dont display! 2015-09-07 12:59:19 +00:00
Ralf Becker
8b6ba73c79 using calendar_zpush not calendar_activesync 2015-09-04 15:27:41 +00:00
Klaus Leithoff
11b2918d47 fix problem on mailsearch. ToDo: Respect range, when given 2015-08-11 08:46:19 +00:00
Klaus Leithoff
d9723648fd adapt SendMail, and getSearchResultsMailbox 2015-07-21 15:23:18 +00:00
Klaus Leithoff
8f63d7e737 adapt GAL and Mailbox search to meet zpush2 expectations on result 2015-07-17 08:41:26 +00:00
Ralf Becker
a639f2a8fb fixed not show attachments by using mimesupport and not bodypreference, also removed wrong Change FOUND! message 2015-07-02 15:42:22 +00:00
Klaus Leithoff
f1c7fc9656 quiten debug log chitterchatter for SendMail and GetMessage; ignore ZPush Option SaveInSent, as it appears to be set to null always; Use EGroupware settings instead 2015-07-02 13:29:11 +00:00
Klaus Leithoff
299f66cce0 quiten debug log chitterchatter for SendMail and GetMessage; ignore ZPush Option SaveInSent, as it appears to be set to null always; Use EGroupware settings instead 2015-07-02 12:09:19 +00:00
Klaus Leithoff
ee02151c3a attempt to get Sendmail working in zpush implementation 2015-06-23 15:36:12 +00:00
Klaus Leithoff
657e387526 changes to better handle attachments 2015-06-16 11:57:25 +00:00