Commit Graph

343 Commits

Author SHA1 Message Date
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
c361ef0219 * email: fix for ->no initial border on plaintext editor textarea<- 2012-08-15 14:56:37 +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
aa253ea9d6 some other translations missing for SIEVE email notification 2012-08-13 13:20:25 +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
248f590a45 unsubsubcribe from oldFoldername when renaming/moving a folder 2012-07-30 13:15:43 +00:00
Klaus Leithoff
eb49c1bfa7 add missing sievescriptname to setAsyncJob (as the name defaults to felamimail, your other rules are not in affect when you are using other names as felamimail as sievescriptname AND you are installing your vacation via cron job 2012-07-30 07:40:01 +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
a342db6fba * email: handle attaching eml files; handle no subject when forwarding as attachment 2012-07-24 10:20:21 +00:00
Ralf Becker
b0990eafbe fixed signature changing to work when switching to or from empty or no signature, as well as multibyte chars like German umlauts 2012-07-17 11:24:47 +00:00
Ralf Becker
cd65835d47 fixed PHP Strict Standards: config::save_value must be declared static to be used static (no longer allowing non-static usage!) 2012-07-14 08:57:29 +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
3bad7e4177 * email: improve the switching of signatures in HTML mode 2012-07-12 13:58:12 +00:00
Klaus Leithoff
56f1b4c32b * email: sieve, option to disable the validation of used addresses; that way you may use mail-server internal names for vacation notices 2012-07-11 10:19:23 +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
6cedec1768 * email: usability option to enable checkbox for all folders 2012-07-10 12:48:14 +00:00
Klaus Leithoff
a3e69082d0 finetuning on acl-management 2012-07-03 12:16:45 +00:00
Klaus Leithoff
4b9b287fab * email: manage acl table; show acl table for selected folder for first folder selected when clicking on ACL tab as first action 2012-07-03 11:15:39 +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
857b501cc2 * eMail: restructure sidebar, group sieve stuff as own section (if enabled AND available to the user) 2012-06-14 12:39:14 +00:00
Ralf Becker
89d945e635 * eSync/eMail: show error in eSync preferences, if non-functioning eMail profile is selected or no Trash or Sent folder 2012-06-14 10:10:52 +00:00
Klaus Leithoff
dc48db0713 * email/esync: handle exception on message deletion 2012-06-13 15:31:49 +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
5c6278629e * eMail/esync: pref to control client-side behavior for calendar notifications; default is to notify only if there is no server-side notification, to avoid double notification with calendar requests (server-side AND client-side) 2012-06-12 15:59:17 +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
b971d2d672 * eMail/esync: handle problem in content-type handling when android4 devices sent replies as html 2012-06-11 10:56:45 +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
f3b2cc3c46 calendar/email: distinguish between meeting request and meeting reply, while displaying ics 2012-06-06 09:45:44 +00:00
Klaus Leithoff
6027f58ad9 * email/esync: forcing a cutoffdate of 28 days, when there is no limitation set;
> switch debug from error_log to debug.txt, fix strict warning in call of splitID
2012-06-05 13:21:49 +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
87d0cff8f1 * email/esync: try to improve speed, by using already fetched headers when applicable;
more debug;
always report success on sending client side meeting requests
2012-06-04 11:42:06 +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
59adbc510e fix up illeagal string offset warnings for php5.4 2012-05-21 11:33:40 +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
Ralf Becker
6c160cd3b1 * EMail: fixed not working search in Addressbook, if LDAP backend was used (my.stylite.de bug #3337) 2012-05-15 10:21:28 +00:00
Ralf Becker
07dac25723 * EMail: default for new installations always display html mail 2012-05-14 13:47:28 +00:00
Klaus Leithoff
c048812466 call of egw_instant_load test that _tar.contentWindow is notnull before testing depending object properties 2012-05-09 11:56:54 +00:00
Klaus Leithoff
4a8abf8278 call of egw_instant_load test that _tar param is set and defined, before testing depending object properties 2012-05-09 08:59:08 +00:00
Klaus Leithoff
9dfe2ec1d6 whitespacestuff 2012-05-02 14:43:44 +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
87a323fd6c fix for not set 20467start20467 and 20467end20467 when set in datefields, but vacation is set as active (not timed) 2012-04-25 15:23:16 +00:00
Klaus Leithoff
a3b4b91d63 * email: if forwarding via SIEVE is not allowed - disable the according fields 2012-04-24 14:37:03 +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
344a618ac1 use app_refresh now, for part of the refresh when deleting a message: e.g. cleanup of previewed message 2012-04-18 13:52:08 +00:00
Klaus Leithoff
849259b340 * mail: improve refresh of messageList on message deletion 2012-04-17 15:11:26 +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
a4839350cd handle fatal error on missing object of mailPreferences 2012-04-12 14:21:56 +00:00
Klaus Leithoff
5450945136 * eMail: supporting deprecated text/directory mimetype (if filename extension is of type text/vcard) for opening in addressbook edit dialog.
handle jet another representation of hyphen, as it does not translate
2012-04-05 09:07:33 +00:00
Klaus Leithoff
333c03b41d better control of message forwarding inline/as attachment (was partially dependent on associated preference-setting) 2012-03-29 12:20:56 +00:00
Klaus Leithoff
bd7f00043c on reply use "its me" [some@mail.suffix] instead of "its me" <some@mail.suffix> when gathering mailheader data for display, as ckeditor took <some@mail.suffix> for a html-tag (and tried to close it) on compose of html messages; make sure that only messages in Draft folder will removed for lastDrafted messages 2012-03-26 15:52:41 +00:00
Klaus Leithoff
060a314482 silence debug 2012-03-23 10:55:05 +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
e6dae8ba56 take care of additional leading spaces when gathering draftData, they are neither needed nor wanted 2012-03-22 12:26:23 +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
Ralf Becker
c7b52a8928 remove not necessary mime_(type|size|name) 2012-03-20 16:02:00 +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
b570528f08 adapt translations 2012-03-12 11:57:01 +00:00
Klaus Leithoff
22746362c9 allow to choose forward mode on rightclick action (forward inline OR forward as attachment) 2012-03-12 09:50:57 +00:00
Klaus Leithoff
94b6d8e5ec handle drafted versions of viewed messages on close window, when opened from vfs/filemanager; all other actions like composeasnew, reply, forward, print,etc. preserve the viewed (imported) message stored in draft folder; handle special chars in filename when saving messages to filemanager; treat import/view from vfs more gently (try to guess name and mimetype, and set some size, to pass checkFileBasics tests) 2012-03-09 14:33:00 +00:00
Ralf Becker
f41d998e54 * Filemanager/FMail/Calendar: allow to open .eml and .ics files from filemanager in fmail or calendar (infrastructure for apps to register which mime-types they can open) 2012-03-08 18:45:18 +00:00
Klaus Leithoff
19edabd14d function to call import from VFS to Draft and Display message directly. Relies on / needs an open winpow. 2012-03-08 13:42:04 +00:00
Klaus Leithoff
5862e38617 * email: feature to be able to save Message to filemanager via context menu action; (only single message save supported) 2012-03-08 10:42:41 +00:00
Andreas Stöckel
36f9cc2f6a Backported commit 38270 from trunk, concatenated dhtmlxmenu and dhtmlxmenu_ext 2012-03-07 10:39:23 +00:00
Klaus Leithoff
e2d3a2eab5 * email: feature to be able to view plain message source on rightclick action 2012-03-06 16:20:19 +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
550ad3a12a add missing closing tag for <div> in showBody 2012-02-07 11:53:53 +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
46d8d84657 attempt to improve contact search while typing adresses in address fields 2012-02-01 13:06:06 +00:00
Klaus Leithoff
9775e544bd * eMail: allow to control the connection test link in email sidebar and/or the information displayed when called 2012-01-24 14:44:21 +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
06265cee4e * eMail: option to influence reply behavior for pre-selecting the editor type; simple connection test routine (can be used to reset connection too) 2012-01-16 16:43:33 +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
65a5aca94f * email: fix for ->print of messages in compose state failes with whitescreen<- 2012-01-05 12:12:28 +00:00
Klaus Leithoff
a780e5a1f1 * felamimail: handle IE (8) problem regarding toggling editor modes in compose window 2011-12-29 11:20:13 +00:00
Klaus Leithoff
cc3f3c92a9 fix to fetch Vacation part of sieve script when vacation is active (seen when using dovecot) 2011-12-21 15:25:46 +00:00
Klaus Leithoff
926e3bfca7 fixing bug, when preset is already set 2011-12-21 14:13:36 +00:00
Philip Herbert
25ab165898 mending Warnings: Cannot use a scalar value as an array 2011-12-19 12:40:47 +00:00
Klaus Leithoff
28c42cc78d control the availabilityof the stylite app, before trying to offer the mail VCard feature, because stylite.links:// is used/needed here 2011-12-16 11:26:01 +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
10490be1a0 handle error for messageisdraft=true: folder was set to a multidimensonal array by accident 2011-12-14 13:10:38 +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
c81b1b0cfa try to handle error, that there is no email profile at all. tricky, but at least try to inform the user 2011-12-14 12:03:21 +00:00
Klaus Leithoff
41d2d43509 try to be smart about missing send folders, when copying send mail to the sentfolder is expected: Do not send, but give an error instead, if there is no send folder to be found, an no other means of storing the mail sent with the mailserver/EGroupware is chosen 2011-12-14 11:59:04 +00:00
Klaus Leithoff
778d4c39a0 try to find and open text/vcard attachments as well as text/x-vcard attachments; treat them alike. problem occurred after changing the mime type detection/resolution for VCards from text/x-vcard to text/vcard 2011-12-13 14:34:28 +00:00
Klaus Leithoff
4431a978f5 * eMail: feature to attach the VCard of the current user to every new mail sent via UI 2011-12-12 17:24:52 +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
fd016edb83 * eMail/infolog: mail to infolog, preference (and action) to allow the additional attaching of the raw mail message as message/rfc822 (.eml) to the entry 2011-11-18 09:46:45 +00:00
Klaus Leithoff
f7b0db4ac4 handle to,cc,bcc and replyto addresses the way, that spamassasin rules regarding TO_NO_BRKTS_DIRECT are not triggered, by adding a personal namepart to the address (generated from emailaddress), if only emailaddress is present 2011-11-17 08:48:13 +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
af39f5a4e0 handle failed connection on fetch messages 2011-11-08 11:33:38 +00:00
Klaus Leithoff
bc1145533c * email/sieve: improved vacation script handling: be more talkative to the user on rule validation errors while saving 2011-11-07 09:48:08 +00:00
Klaus Leithoff
a43ec990cd further improvements regarding the quoting of preg special chars in signature used as pattern 2011-11-04 13:57:23 +00:00
Klaus Leithoff
d4088e79bb attempt to improve switching signatures, when displayed at compose time 2011-11-04 12:54:07 +00:00
Klaus Leithoff
582be7b147 harden folder-prefs of user defined accounts, against losing folder-pref settings accidentaly by misconfiguration of the imap account given 2011-11-04 09:20:18 +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
7eafc90307 * email: implementing basic server-side search for email 2011-11-03 08:31:25 +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
3978446168 check availaility of htmlarea before opening compose as html or html mails as html for reply; implement check based on http_user_agent for user agent known to be not compliant with ckeditor (android); allow class attribute for div, blockquote, a and img 2011-10-31 10:59:31 +00:00
Klaus Leithoff
571904dceb * eMail: import of VCARD; opening an already imported VCARD as addressbook-entry failed, and VCARD was offered for download; Fixed -> as the expectation was/is that the already imported vcard (found via uid) is opened as addressbook entry (data merged) 2011-10-27 16:18:41 +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
fb78a775a0 be more detailed on send errors; handle ContentType for smart forward when content type of message is text/html and of forwarded message content is text/plain 2011-10-19 14:14:40 +00:00
Klaus Leithoff
393dac8001 fix error reported with the stylite tracker(#2447) cannot print mail, as rare setup prevented the access of a drafted message for printing (wrong folder selected) 2011-10-17 15:36:34 +00:00
Klaus Leithoff
6634599014 silence warning regarding array_slice() expects parameter 1 to be array when no messages are found, or the retrieval of uids failed somehow 2011-10-14 07:00:46 +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
42c25d5377 fix bug of lost foldersettings on saving personal email accounts 2011-10-06 15:16:58 +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
2d7a2664dd * eMail/Sieve/Vacation: set default to 7 for days setting in vacation for new vacation setups 2011-09-26 14:39:00 +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
Klaus Leithoff
1f10e743d4 * felamimail: improve connection handling regarding the validation of connections via expected responses 2011-09-21 09:33:04 +00:00
Klaus Leithoff
63a5682169 log an errormessage to error-log, if expunge fails, after moving to trash on deleteMessage 2011-09-13 11:29:57 +00:00
Klaus Leithoff
791590bb31 is_a compatibility vs. php5.3.8 resolving to instanceof operator 2011-09-12 14:06:30 +00:00
Klaus Leithoff
752c0cbb7f * eMail: search for attachments in multipart/alternative (as it is used this way by clients now) to indicate attachments; switch back to DATE for sorting and display (instead of INTERNALDATE and ARRIVAL); using UNDELETED as standard filter instead of ALL on search; search for UNDELETED and UNSEEN on notifications and UNDELETED for eSync; 2011-08-23 13:34:16 +00:00
Klaus Leithoff
cd774a6104 * email: fix for missing style color:red in notification messages 2011-08-17 13:15:28 +00:00
Klaus Leithoff
90f86b3504 * email: fix bug in MailMerge; Mail-Templates with text/html only were not processed as text/html but as text/plain; now this is handeled correctly/as expected 2011-08-16 13:20:46 +00:00
Klaus Leithoff
60f991ec21 * email: fix for ->starting the search with enter with IE opens a compose window<- 2011-08-15 15:52:07 +00:00
Nathan Gray
113f92cd39 Open links on home page in eMail tab 2011-08-04 18:14:19 +00:00
Klaus Leithoff
2b41a75944 if a profile has no signature assigned, return the defaultSig on setComposeSignature 2011-08-03 11:22:56 +00:00
Klaus Leithoff
6cde93b7aa fix bug regarding ->recent messages are not flagged as seen on preview<- 2011-08-03 10:07:37 +00:00
Klaus Leithoff
8009e30086 * eMail: fix refresh behavior, regarding the reading of an eMail in previewMessageArea; timed refresh of Message list, now only refreshes the messageList Area, not the preview area; fix reload behavior on MailDeletion in preview mode (click on delete Icon within previewArea) 2011-08-02 15:39:59 +00:00
Klaus Leithoff
d64bca0330 improving ProfileValidation 2011-08-02 09:00:37 +00:00
Klaus Leithoff
0d94e7f0d3 * eMail: fix bug regarding ->foldertype SENT not detected on preview of message <- 2011-08-01 14:23:45 +00:00
Klaus Leithoff
f4af168888 * eMail: enhancement of visual decoration of high_priority mails and messages that are flagged 2011-08-01 10:53:43 +00:00
Klaus Leithoff
1909213bcb * eSync: fix signature problem, when using emailadmin defined profile 2011-07-29 12:41:08 +00:00
Klaus Leithoff
f911749268 fix warning when there are no userdefined profiles 2011-07-29 09:40:57 +00:00
Klaus Leithoff
30f64cad47 * eMail: (backend) introduce validator for a given eMailProfile ID. A profileID is checked for existence for the active user. If the profileID given does not exist, the next possible valid profileID is returned. This should fix problems regarding the storing of no longer existing profileIDs with the activeProfileID preference. 2011-07-29 09:22:33 +00:00
Klaus Leithoff
2c070b63c9 better control of error_log messages regarding the use of non standard identities while sending 2011-07-28 11:23:32 +00:00
Klaus Leithoff
3e9fa46b21 only allow to fake the Sender with an Alias Identity, when an emailadmin defined profile is used 2011-07-28 10:49:14 +00:00
Klaus Leithoff
d638ba372a * eMail: if the identity used for sending is part of the users mainProfile Identities (provided with the mainProfile by ogServer->getAccountEmailAddress ->NOT USER DEFINED<-) then the sender information is set accordingly, as it is assumed that the emailaddresses fetched with getAccountEmailAdress are known to the SMTP Server, thus allowing to be used as Sender/Return-Path 2011-07-28 10:10:29 +00:00
Klaus Leithoff
8bdb4fdc30 wordwrap , dont break overlong words containing html entities; code formatting 2011-07-27 12:54:47 +00:00
Klaus Leithoff
a3f0a41780 * email: if you want to see eMails as text/plain, you may want to see embedded images, as they are commonly only displayed with html messages 2011-07-26 15:33:34 +00:00
Klaus Leithoff
b42eadf8c6 * eMail: fix for broken showHeader in Message Display window, code cleanup 2011-07-21 13:13:44 +00:00
Klaus Leithoff
7b35552e33 use the correct class for retrieving the message header of the saved draft mail (, on reopen) 2011-07-21 11:13:37 +00:00
Klaus Leithoff
7d955cf2e7 make sure we are connected, before trying to reopen a drafted Message (while/after saving) 2011-07-19 12:56:45 +00:00
Klaus Leithoff
a981c31afd quieten warning regarding foreach on POST->destination 2011-07-19 11:42:35 +00:00
Klaus Leithoff
97a91b82a5 fix bug ->could not parse MimeMessage<- on saving (and reopening) Templates 2011-07-19 11:39:56 +00:00
Klaus Leithoff
944a31e610 use new option to fetch the activeMailProfile by ProfileID 2011-07-18 13:41:13 +00:00
Klaus Leithoff
e9eb6154ff use new option to fetch the activeMailProfile by ProfileID 2011-07-18 13:40:58 +00:00
Klaus Leithoff
e93d0ca3ac * eMail: bugfix for 'identities are set as active profile': status is now checked for active 2011-07-11 11:19:25 +00:00
Klaus Leithoff
d82ce69d2b * eSync: Take care of serverside message flagging on reply and forward 2011-07-08 13:44:08 +00:00
Klaus Leithoff
41f41e698b if requesting UIDs, do not try to look for the set assuming we got ids 2011-07-08 09:37:44 +00:00
Klaus Leithoff
1bd609e940 on changeFolder, skipPrevious, skipForward, changeActiveAccount, etc.; better control on preview - do not try, when there is no preview area active 2011-07-06 10:10:54 +00:00
Klaus Leithoff
1128548a8e on move, remove previewMessage from session 2011-07-06 08:51:12 +00:00
Klaus Leithoff
95a24bbef7 on delete, remove previewMessage from session 2011-07-05 15:54:15 +00:00
Ralf Becker
9db4fa8625 * jQuery: changed $ to $j to work around mootools use in Joomla templates and other js code in imported projects
required to change $ --> $j:
phpgwapi/*
jdots/*
etemplate/*
stylite/*
felamimail/*
admin/*
news_admin/*
projectmanager/*
importexport/*
infolog/*
ranking/*

required, but not automatic:
importexport/setup/etemplates.inc.php
phpgwapi/js/jquery/*

negative, not to touch or revert later:
phpgwapi/inc/savant2/Savant2/Savant2_Compiler_basic.php:		'(\$(.+))'            => 'print $1',
phpgwapi/js/dhtmlxtree/libCompiler/core.js
sitemgr/*
phpfreechat/*
gallery/*
activesync/include/smb.php:        '^\tIPC\\\$(.*)[ ]+IPC' => 'skip',
etemplate/inc/class.bo_merge.inc.php: if ($this->table_plugins && preg_match_all('/\\$\\$table\\/([A-Za-z0-9_]+)\\$\\$(.*?)\\$\\$endtable\\$\\$/s',$content,$matches,PREG_SET_ORDER))

find phpgwapi jdots etemplate stylite felamimail admin news_admin projectmanager importexport infolog ranking \
	\( -name '*.php' -o -name '*.js' \) -exec grep -q '\$(' {} \; -print \
	-exec sed -i '' 's|\$(|$j(|g' {} \;
svn revert phpgwapi/inc/savant2/Savant2/Savant2_Compiler_basic.php phpgwapi/js/dhtmlxtree/libCompiler/core.js \
	importexport/setup/etemplates.inc.php phpgwapi/js/jquery/jquery.js etemplate/inc/class.bo_merge.inc.php
	
additional changes:
phpgwapi/js/jquery/jquery.js:	window.$ --> window.$j
phpgwapi/js/egw_json.js:291	this.request = $j.ajax({url: this.url,
jdots/templates/jdots/head.tpl:59			$j(document).ready(function() {
phpgwapi/js/egw_action/egw_grid_view.js: $.browser --> $j.browser
importexport/setup/etemplates.inc.php: etemplate editor importexport.wizard_basic_export_csv.choose_fields onclick of check icon changed
phpgwapi/js/egw_action/tests/*.html
phpgwapi/js/egw_action/tests/js/jquery.js:	window.$ --> window.$j
2011-07-03 09:12:55 +00:00
Ralf Becker
aee4ea4724 Creating branches/Stylite-EPL-11.1 2011-07-01 10:37:47 +00:00