Commit Graph

63 Commits

Author SHA1 Message Date
Klaus Leithoff
fda576c01f * email: fix for Helpdesk Issue:3430 (Unstructured display of text when converting email to infolog) 2012-06-04 11:31:39 +00:00
Klaus Leithoff
93be561b13 handle array in NAME parameter of attachment structure 2012-06-01 07:34:22 +00:00
Klaus Leithoff
e7d1b64b89 only call replace routines if the string to match occurs 2012-05-31 14:23:56 +00:00
Klaus Leithoff
f5c1a067a6 use instance cache for folderstatus to make sure it is available for esync 2012-05-31 11:46:02 +00:00
Klaus Leithoff
f87891bb1d try to improve performance (main target here is esync) by using instance cache instead of sessionCache for folderObjects and deletedMessages 2012-05-31 09:17:35 +00:00
Klaus Leithoff
33633cd7a5 attempt of switching from htmlpurifier to htmLawed and replacing kses by htmLawed calls; this is done for performance and resource considerations; still the common call in egw is by html::purify, but htmLawed is doing the work now. let me know if there are issues regarding; if we cannot find issues within EGroupware, we will clean out the related sourcecode of kses and htmlpurifier with the next step 2012-05-30 14:47:03 +00:00
Klaus Leithoff
fae91d2355 fix problem regarding the import of multipart/related messages (missing body) 2012-05-18 11:55:51 +00:00
Klaus Leithoff
e8f83bede0 work around a problem with balance tags removing content 2012-05-15 15:19:32 +00:00
Klaus Leithoff
0b3e5228ac on deleting auto-draft-messages, use remove_immediately, to avoid cluttering the trash-box 2012-05-02 14:21:43 +00:00
Klaus Leithoff
a2b4861dc4 * email: caching of folderObjects for session under certain conditions, to speed up email module access
managing session cache for cached folderObjects; attempt to introduce better sorting for folderObjects in shared/other namespace (if available); removal of obsolete code
2012-04-23 08:16:40 +00:00
Klaus Leithoff
8ec9fb4ab3 avoid adding folders to folderlist, that are only supplemented by their delimiter 2012-04-19 10:40:28 +00:00
Klaus Leithoff
c76315e19d better check for folders to be autocreated, to avoid surplus folder creation 2012-04-19 09:30:13 +00:00
Klaus Leithoff
5785287917 * email: improvement regarding notification handling; using htmLawed now instead of purify as fallback when there is no tidy; 2012-04-17 09:23:14 +00:00
Klaus Leithoff
3090c19970 fix bug when importing multipart mixed messages, if html part was present it may have been marked as text/plain; fixed bug regarding addresslines with destination folder (where falsely treated as emailaddresses) 2012-03-22 14:31:56 +00:00
Klaus Leithoff
f09ede587e better control for cleanup of drafted messages by using onunload and onbeforeunload 2012-03-22 12:23:11 +00:00
Klaus Leithoff
a2af0cc046 * eMail: feature to save messages that are in progress of being composed to draft every 3 minutes;
* eMail: fix bug regarding language strings with single quotes in Javascript;
masking hash char when saving mails to filemanager, using purifyCreateHTMLTidyConfig when trying to use purifier as tidy substitution
2012-03-16 09:59:26 +00:00
Klaus Leithoff
1c0337f7d1 allow to pass the allowance of HTML to getdisplayableBody when calling get_mailcontent (needed for tracker, when html edit is allowed) 2012-02-28 15:37:33 +00:00
Klaus Leithoff
28b9d7980f * email: fix bug introduced with rev37914, sometimes an additional Mailbox Mail was introduced, as Mail was assumed falsely as mailbox prefix 2012-02-28 09:28:04 +00:00
Klaus Leithoff
fe98471d18 * email/esync: using tidy (if loadable) instead of purifier to straighten out html when retieving the displayableBody. This is due to performance considerations, and problems with purifier on large html chunks, with lots of tables. (This affects converting emails to infolog and tracker as well) 2012-02-10 09:38:56 +00:00
Klaus Leithoff
86912b72ed * email: fix a problem with the retrieval of DOVECOT Mailboxes; shorten mail structure cache expire time; handle structure cache on move and delete 2012-02-07 13:07:50 +00:00
Klaus Leithoff
7e3c94794e if we deal with text, we do not need to tidy any html, if we use tidy, we use show-body-only set to auto, and we switch to output-html 2012-02-06 13:57:41 +00:00
Klaus Leithoff
9873161e0a for performance reasons, use tidy (if available) instead of htmlpurifier to fix html tags 2012-02-03 12:37:57 +00:00
Klaus Leithoff
da5415555f * email: fix double encoding problem while toggling html2text (introduced while bugfixing a maildisplay issue) 2012-01-23 15:52:34 +00:00
Klaus Leithoff
4b856a43e1 fix up HTML as json_encode may mess up HTML-Content later on display, if tags are not propper 2012-01-16 08:40:32 +00:00
Klaus Leithoff
cc86326cb4 * calendar: allow to send a meeting request to all participants, add action to calendar event edit to choose between sending meeting requests or a mail with the ics file of an event attached. 2011-12-16 10:29:31 +00:00
Klaus Leithoff
475307d17b silence warnings about missing or not set folderInfo in folderExists 2011-12-14 13:10:25 +00:00
Klaus Leithoff
db6c0b6841 ignore/rebuild cache when retrieving ALL folder objects 2011-12-07 11:07:11 +00:00
Ralf Becker
f84f2c779b * Addressbook: ablity to mail (multiple) vCard via context menu 2011-11-29 12:09:29 +00:00
Klaus Leithoff
0b7a080627 transformation of webdav.php urls to vfs where only performed on local urls (starting with /) ToDo: test if the webdav url in question is of our own scope/instance before transforming it to a vfs url 2011-11-26 14:01:49 +00:00
Klaus Leithoff
39c6b6ca90 * email: feature for html-mails -> convert images included as link to inline images (attachments to the mail) 2011-11-23 12:43:40 +00:00
Klaus Leithoff
778935ff72 * email: fix for text/html attachment was not recognized (neither in list, nor in preview or display) if it is the one and only part of the mail; preparational function for Link2Attachment feature 2011-11-21 16:33:29 +00:00
Klaus Leithoff
b2916b9e68 handle encoded header information from parsed headers while fetching filename from structure (or the parsedHeader if structure does not provide the info) 2011-11-15 15:39:57 +00:00
Klaus Leithoff
145dcc6d02 handle utf-16 plain text attachments - now using translation::convert 2011-11-10 15:18:10 +00:00
Klaus Leithoff
135a4f6501 handle utf-16 plain text attachments 2011-11-10 15:07:38 +00:00
Klaus Leithoff
c954004ea6 * eMail/eSync: make sure expected folders are reported on getFolderList (so we force our Autofolders (Sent, Trash, Draft, Template, Outbox and Spam) - if set - to be returned, even if they are not subscribed) 2011-11-09 11:33:13 +00:00
Klaus Leithoff
893bdb1524 avoid maximum allowed path length warning - triggered by autoload caused by php.5.3.7 is_a behavior 2011-11-03 15:25:41 +00:00
Klaus Leithoff
9e46f70711 fix problem reported in org-tracker#3067 folder info upon Exists Test not initialized by activesync 2011-11-03 11:20:01 +00:00
Klaus Leithoff
320711dca4 * email: fix for problems when trying to open attached messages twice; Solved by handling problems regarding the caching of message structures caused by problems with SessionHandler storing the structure-array 2011-11-03 08:28:56 +00:00
Klaus Leithoff
76d2c3ac3d * eMail: bug regarding the mimetype of uploaded files; FF701 reports wrong mime type; work around this, by always checking mimetype by suffix 2011-10-26 12:04:54 +00:00
Klaus Leithoff
9091c829ba introduce static quota to make the call for quota getQuotaRoot faster within one request. ToDo: Cache it for the session 2011-10-25 09:20:53 +00:00
Klaus Leithoff
8ded7d7394 * eMail: workaround for failed merge on signature retrieval, which was seen/reported as no signature on send (or compose) inserted 2011-10-21 10:13:22 +00:00
Klaus Leithoff
3c4ec5bab3 * email: being able to set labels now, as thunderbird supports by default: urgent (red), job (orange), personal (green), to do (blue) and later (purple). If labeled the lines text will be coloured. (If the mailserver does support labels, otherwise you will/should not see any difference) 2011-10-13 14:35:01 +00:00
Klaus Leithoff
db60005691 * email: handle folder status cache for active sync 2011-10-11 16:08:24 +00:00
Klaus Leithoff
014775ab14 try to catch an empty connection error object too, while trying to auto recover on errors; try to disconnect, when connect was successful, but no username for login is supplied 2011-10-10 10:17:07 +00:00
Klaus Leithoff
f444bb253d fix bug regarding caching of email structure by server and uid, as gmail seems to handle uid by folder, not unique for the whole box; now using serverid, folder and uid to work around this behavior 2011-10-10 09:46:27 +00:00
Klaus Leithoff
2b2de0cd8b * eMail: improve connection handling and recovery on problems regarded as minor. offer user the possibility to reset the connection on failure 2011-10-07 10:27:09 +00:00
Klaus Leithoff
40708b49d1 fall back to default timeout (=20) on felamimail_bo->openConnection, as a timeout set to 5 seemed to trigger too many unwanted timeouts 2011-09-28 12:23:14 +00:00
Klaus Leithoff
4e0ae73a73 * email: improve connection handling (targeting failed connects), apply connection timeout on data retrieval as well. 2011-09-28 11:30:59 +00:00
Klaus Leithoff
c6feba0985 silence error_log on failed connection: tell only on debug==true, as user should be told on ui in anycase 2011-09-21 11:08:41 +00:00
Klaus Leithoff
7ae0a2fda3 * email:caching structure information (per session by server and uid) and status (per server and folder per request) to reduce communication to imap-server with the goal of improved performance clientside and less querying the mailserver 2011-09-21 10:15:35 +00:00