Commit Graph

181 Commits

Author SHA1 Message Date
Klaus Leithoff
acbf3c4301 * eMail: support multipart/mixed mails with html parts to display (apple mail does that kind of emails) 2013-01-15 12:06:38 +00:00
Klaus Leithoff
54488b8bcd more attemts to handle possible problems on openConnection 2013-01-11 13:05:45 +00:00
Klaus Leithoff
94a04fb4c4 try to handle possible errors when retrieving folderStatus 2013-01-11 10:54:59 +00:00
Klaus Leithoff
0e46ac5353 add missing static, to ensure the use of the cached folderBasicInfo during a single request 2013-01-11 09:46:09 +00:00
Klaus Leithoff
a1eb77a949 introduce more caching to reduce traffic to imap-server (basic folderBasicInfo) Note: is reset by folder maintenance operations 2013-01-10 17:17:42 +00:00
Klaus Leithoff
bfb1923254 * eMail: improve control regarding the unwanted selection of NoSelect Folders 2013-01-10 15:47:14 +00:00
Klaus Leithoff
1b0b16f3ed more debug on failed message deletion; preparation for move to last folder action; try to select last folder (stored in session) after openConnection 2012-12-19 14:17:45 +00:00
Klaus Leithoff
ff16579e5d * email: allow cid as overall url schema; handle background url in htmLawed, as background is not allowed except for body, but commonly used with other tags (e.g. in td); control schema for background in hook_tag 2012-12-17 15:09:14 +00:00
Klaus Leithoff
a1b63e9aeb fix problem regarding the cleaning of Word-HTML Style eMails 2012-12-04 14:21:09 +00:00
Klaus Leithoff
03d1727377 since we remove comments with htmlLawed, we do not use our comment-removal anymore as we experienced problems with expectations on/for the comment closing tag. htmLawed solves that way better, so we rely on it. 2012-12-03 08:51:08 +00:00
Klaus Leithoff
345b73dcc0 * eMail: improve import of mails; improve parsing of mailstructures of activesync send rfc-messages (reply on complex html-messages) 2012-11-22 14:00:17 +00:00
Klaus Leithoff
a49327c1ed merge missing merge 40848 2012-11-22 12:26:04 +00:00
Klaus Leithoff
d103ceffb4 disable debug message; if importing mail, regard the possibility that multipart/related messages may hold a html part directly 2012-11-22 10:54:42 +00:00
Klaus Leithoff
42660ddfa1 use different method to determine the default/Global profile for the current User 2012-11-20 14:00:03 +00:00
Klaus Leithoff
e3b9662fce restore call by ref 2012-11-19 15:55:38 +00:00
Klaus Leithoff
e72881e484 clean up of cache after using (admin) connection via forceEAProfileLoad 2012-11-19 15:49:52 +00:00
Klaus Leithoff
7a2583562f allow to fetch a felamimail instance with specific emailadmin-profile instanciated (must/should be a complete profile to funtion as expected) 2012-11-19 13:24:00 +00:00
Klaus Leithoff
464145ee3b * eMail: restructuring of manage folder section (ACL area, no tabs, different layout) 2012-11-13 16:24:29 +00:00
Klaus Leithoff
99335ec62a handle call of getFolderStatus with empty or not expected (maybe a PEAR::Error); do not proceed if is not a string or empty 2012-11-07 12:59:38 +00:00
Klaus Leithoff
3b21d2aeb7 add li (list) element to allow_for_inline list, to fix problems with broken lists when balance is active 2012-11-07 10:31:00 +00:00
Klaus Leithoff
411bc98d9d * eMail/merge: allow to replace reply-to adresses with senders own active address when special address ->replace@import@action<- is used within the email-template 2012-11-05 13:38:57 +00:00
Klaus Leithoff
c133b16728 * eMail/HTMLawed: introduce and use new make_tag_strict option 3, to exclude font from applying strict measures to it 2012-10-30 14:27:40 +00:00
Klaus Leithoff
c6372b0f49 * eMail: allow table as inline element while balancing tags (new internal config option); try to correct common errors/problems in html-code which caused display/layout problems 2012-10-29 15:51:30 +00:00
Ralf Becker
fdffa94172 * Addressbook/eMail: fixed wrong characterset when merge printing into eMail 2012-10-25 16:17:56 +00:00
Klaus Leithoff
acc8b555a9 use static translation::detect_encoding 2012-10-24 11:00:32 +00:00
Klaus Leithoff
ec9d6d9806 * eMail: fix problem regarding the deletion of the last message in list if pagination is switched on 2012-10-23 15:29:41 +00:00
Klaus Leithoff
190b623fd5 try to fix/improve situation that there is no UID returned on appendMessage; filter by INTERNALDATE, not DATE as it was the default before 2012-10-18 11:01:45 +00:00
Klaus Leithoff
225cdb2f99 switch from keep_bad 6 to keep_bad 2; remove tags but keep element content (4 and 6 keep element content only if text (pcdata) is valid in parent element as per specs, this may lead to textloss if balance is switched on) 2012-10-15 09:42:50 +00:00
Klaus Leithoff
d1d80efba0 silence error_log on import message, when no filename for attachment is found 2012-10-11 08:41:44 +00:00
Klaus Leithoff
09d3160447 rework changes regarding denied attributes; improve import of mails regarding filename detection for attachments 2012-10-10 10:40:08 +00:00
Klaus Leithoff
e695f84f3a only suppress known/supported INLINE image formats as JPG,JPEG,GIF,PNG for attachment list (on display of html message) 2012-10-02 10:14:13 +00:00
Klaus Leithoff
ba2be3bb5b fix problem regarding strange runtime situations for gathering the items in shared folders 2012-10-01 10:38:23 +00:00
Klaus Leithoff
754cbe37d0 * eMail/eSync: on failed connection with the mail-server return 503 Service Unavailable; Retry After; if the client supports this, he should wait until retrying; if we experience consecutive connection failure over a defined limit, return 500 internal Server Error 2012-09-26 09:14:13 +00:00
Klaus Leithoff
fa7439dca8 * eMail: improve namespace/prefix detection and handling; work-around for dovecot bug/problem regarding the counters in shared folders; fix problem regarding the recognition of INLINE images (only INLINE images should NOT be listed as attachments in windowed message display); support firefox drag and drop feature for inserting images (as data url) into html edit area in compose window; handle Reply-To as intended in creating eMails from .eml files; improving profile handling, regarding the ID of the activeProfile; 2012-09-18 12:05:36 +00:00
Klaus Leithoff
8e9a616e9f fixing bug regarding the reset of the Connection, in some cases some cached objects have not been reset as intended 2012-08-29 09:29:42 +00:00
Klaus Leithoff
88179025b0 * email/tracker: fix bug regarding the manual transformation of emails to tracker, if tracker is set to htmledit 2012-08-27 12:22:30 +00:00
Klaus Leithoff
d1f25f9209 fix problem within TestConnection (failed Sieve Connect on special conditions) 2012-08-21 09:56:53 +00:00
Klaus Leithoff
f310b5e711 fix for encoding problem in Header on importing mails; fix for not recognizing plain text/calendar messages on importing mail; fix problem regarding the fetching of bodies of eMails when not in ->current-Folder<- (folder that is selected by UI) 2012-08-20 09:21:24 +00:00
Klaus Leithoff
22464affda fix for possible cause for unwanted foldercreation within esync 2012-08-16 13:43:22 +00:00
Klaus Leithoff
2c5f606c35 * eMail: fix problem with not recognized Kolab Invitations 2012-08-16 11:45:47 +00:00
Klaus Leithoff
8e41dc91ff switch on folderObject caching (was accidently switched off for debugging) 2012-08-15 11:56:43 +00:00
Klaus Leithoff
772847fcb6 * eMail: adding missing translations, enabled preview for drafts and templates, some library changes regarding the fetch of the namespace(s) 2012-08-15 11:49:57 +00:00
Klaus Leithoff
96d5e48885 some servers seem to sent their responses for the content not with the first EXT section, so we loop through the parsed response until we find some matching content; second attempt 2012-08-14 08:11:24 +00:00
Klaus Leithoff
3b763e3c6a * eMail: added translations for SIEVE notifications 2012-08-13 10:03:39 +00:00
Klaus Leithoff
a3dffb75ef repair some stuff htmLawed stumbles upon with balancing switched on 2012-08-03 12:59:13 +00:00
Klaus Leithoff
7f3e8b6ce8 * eMail: allow to set connection timeout via preferences;
translations thereoff, some minor changes to clarify the use of the selection mode in listview (availability of checkbox)
2012-08-02 14:30:34 +00:00
Klaus Leithoff
482997d645 silence error message regarding not using cache 2012-08-01 07:35:00 +00:00
Klaus Leithoff
0ada1b10c0 trying to catch problems with cached/not cached folders 2012-07-31 10:34:16 +00:00
Klaus Leithoff
2257ffb08a allow comments in style definitions; introduce more caching; move required reset of connections of connection failure to uifelamimail constructor; let htmLawed handle \![if...]> </[endif]> sequences in bodyparts; 2012-07-27 09:59:49 +00:00
Klaus Leithoff
813a2686ed fix error for trying to use PEAR::Error as folder array to iterate; third attempt (and solution) 2012-07-27 07:41:01 +00:00
Klaus Leithoff
7f6130db67 fix error for trying to use PEAR::Error as folder array to iterate; second attempt 2012-07-27 07:26:46 +00:00
Klaus Leithoff
9325b8205e fix error for trying to use PEAR::Error as folder array to iterate 2012-07-27 07:14:35 +00:00
Klaus Leithoff
b036319f90 * eMail: fix problem with ->mark message as deleted<-; flag was not applied 2012-07-24 14:46:13 +00:00
Klaus Leithoff
11b2ae4548 * eMail: fix for failed deletion of messages in Trash-Folder 2012-07-24 11:43:03 +00:00
Klaus Leithoff
9bd5320f16 handle error in display of message list when folder to be accessed is inaccessable for some reason 2012-07-13 10:05:01 +00:00
Klaus Leithoff
894483a077 * email: while flagging messages, fix problem with dovecot ->too long argument<- 2012-07-10 14:49:29 +00:00
Klaus Leithoff
57c361fd3f reset connectionError Cache on login 2012-07-02 11:16:29 +00:00
Klaus Leithoff
dbc96fa181 switch off error_log 2012-07-02 09:50:09 +00:00
Klaus Leithoff
10c28ee720 handling mail display problem with dovecot server: retrieval of a subpart of a message (attached email) will fail if the message structure is not actively queried from the server, but used from cache. Now we ignore the structure cache on getMessageBody 2012-07-02 09:47:09 +00:00
Klaus Leithoff
82042ee06c * email: if marking a message for deletion, set the message as read too; if not trusting SEEN/UNSEEN info, always look/filter for unseen and return the counter (not only when unseen counter is set to 0) 2012-06-29 09:01:14 +00:00
Klaus Leithoff
e61b2901c6 * email: suppress empty user leaf on shared folders while in manage folders 2012-06-28 13:21:37 +00:00
Klaus Leithoff
abd9edcba9 silence log 2012-06-28 08:18:32 +00:00
Klaus Leithoff
04b1b69043 introducing the retrieval of special-use folders (though they are not used yet); handling of cached folderObjects on manage folders 2012-06-28 08:15:29 +00:00
Klaus Leithoff
fab868ac5c email/esync: fix for missing folder on flagMessages 2012-06-15 09:16:14 +00:00
Klaus Leithoff
53c4e33b9f fixing/removing broken html comment in style definitions; changing indentation depth in class section 2012-06-13 14:28:51 +00:00
Klaus Leithoff
6531bc69d2 * eMail: fix problem with display of ms-outlook 14 calendar requests (text/calendar only) 2012-06-12 10:53:47 +00:00
Klaus Leithoff
d6bfcc3add make sure mailbox delimiter is always set with the imap server object after successful connection 2012-06-08 08:12:37 +00:00
Klaus Leithoff
8abb10c5ed when converting HTML 2 Text remove style,head and comment style browser-switch 2012-06-04 14:54:08 +00:00
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