Commit Graph

69 Commits

Author SHA1 Message Date
Ralf Becker
2f6f682cd8 fix PHP 8.0 TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given 2021-11-18 09:01:36 +01:00
Ralf Becker
7d49599943 fix PHP 8.0 TypeError: array_search(): Argument #2 ($haystack) must be of type array, bool given 2021-11-14 10:27:12 +01:00
Ralf Becker
43ae41cae7 fix PHP 8.0 TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given 2021-11-10 12:24:08 +01:00
Ralf Becker
6ce05919b6 fix PHP 8 errors shown by PHPStorm 2021-03-30 20:34:58 +02:00
Ralf Becker
ffc048d472 fix PHP 8.0 Fatal error unknown function get_magic_quotes_gpc 2021-03-21 18:27:09 +01:00
Ralf Becker
5c2723d501 delete message after meeting-response is processed successful by calendar 2019-06-15 08:45:25 +02:00
Hadi Nategh
a206ec325a * ActiveSync: Fix error body part not set, while trying to forward an email 2017-04-26 17:23:48 +02:00
Klaus Leithoff
22c63665fc make sure changeFolder (and delete) actions are not cached either in class-var or in cache-object by explizitly calling getFolderObjects reinitializing cache 2016-11-30 15:11:42 +00:00
Klaus Leithoff
e9155a000b * Mail/Z-Push: handle charset-problem on sending mails with added EGW-Signature 2016-11-10 12:50:51 +00:00
Klaus Leithoff
dbc31d5ccb fix problem with AlterPingChanges with non selectable folders 2016-10-25 11:39:23 +00:00
Klaus Leithoff
910b92acca catch errors/exceÃptions on fetchMessages in GetMessageList (e.g. on not existing folders) 2016-10-24 16:46:45 +00:00
Klaus Leithoff
7588c9a493 rework of fix for problem regarding send with bcc when using esync 2016-10-19 10:01:38 +00:00
Klaus Leithoff
c47d8a26c3 * Mail: fix problem regarding send with bcc when using esync 2016-10-18 13:59:32 +00:00
Ralf Becker
a41f78381c Stylite AG --> EGroupware GmbH 2016-10-08 14:32:58 +02:00
leithoff
00ce2295be implement DeleteFolder in Mail-Backend 2016-08-12 15:04:52 +02:00
leithoff
8677289954 fix for ChangeFolder to, finally work as expected. tested move,rename and create. more exessive tests with specialchars in foldernames, and so on, may be needed 2016-08-12 13:02:29 +02:00
Ralf Becker
39c2e399d4 WIP implementing ChangeFolder (rename or create folder) for mail 2016-08-11 16:20:30 +02:00
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