Commit Graph

489 Commits

Author SHA1 Message Date
Hadi Nategh
b429fe8ef6 * Sieve/Felamimail|Mail:Make exclamation mark (\!) in the begining of sieve rule query escapable from always bien used as NOT conditon 2014-03-13 13:16:09 +00:00
Klaus Leithoff
08424b0307 way to rebuild/construct the basic imap class without using the session based information but preserving tghe cached data 2014-03-12 13:52:28 +00:00
Klaus Leithoff
05f8a151b8 * ESync: fix a problem with a non working global profile, when verifying settings 2014-03-11 13:31:13 +00:00
Klaus Leithoff
d241f9e019 fix error reported by tarantir; thx 2014-03-11 08:32:49 +00:00
Klaus Leithoff
7c8635a2a8 suppress refresh of whole messagelist when moving mails from one foölder to another; let et2 / nm / egw_refresh handle it 2014-03-10 14:36:03 +00:00
Klaus Leithoff
1a07aefd4a control target options regarding the move of messages via dragndrop (prefaskformove) 2014-03-10 13:01:02 +00:00
Klaus Leithoff
22112d9a0e remove preference prefaskformultipleforward and its use in app.js; remove unused functions in app.js 2014-03-10 11:13:51 +00:00
Klaus Leithoff
0773d1ad3a handle access space in front for switch from plain text to html too 2014-03-07 14:54:44 +00:00
Klaus Leithoff
5a49a57c5f suppress #divAppboxHeader #divGenTime_mail; disable actions displayastext and displayashtml on preview action menu (not supported yet) 2014-03-07 14:26:16 +00:00
Klaus Leithoff
1ae64aab58 refine the logic for the application of the font span for default font settings in ckeditor (should only be applied on first load or on switch plain->html and the absence of the font_part of the span; compose as new should possibly skip that too) 2014-03-04 15:19:48 +00:00
Klaus Leithoff
98444a7f04 derive an emailadmin_imapbase class from mail_bo; use it in mail app 2014-03-04 12:07:36 +00:00
Ralf Becker
2160ccc029 moved (lost) base font size and other css styles to new preview.css 2014-03-04 10:48:35 +00:00
Klaus Leithoff
7b61b42585 the font span for default font settings in ckeditor should only be applied on first load or on switch plain->html and the absence of the font_part of the span 2014-03-04 09:23:43 +00:00
Ralf Becker
39860b57f7 fixed mail preview was not sending CSP headers and clicking on mailto-urls redirected to home 2014-03-03 14:56:12 +00:00
Klaus Leithoff
d044c02ae8 fix use of mail->add registry use for mailto links in mailbody 2014-03-03 14:50:43 +00:00
Klaus Leithoff
11d6da9b5a remove most pear::isError checks; readability of __METHOD__.__LINE__; skip setting not used mailBoxDelimiter class variable; 2014-03-03 13:42:15 +00:00
Ralf Becker
8d3c1fabbd explicitly specifying columns to search to contacts class and let contacts class deal with constructing AND query from that 2014-03-03 11:59:18 +00:00
Ralf Becker
1e936ed0d7 method to check if imap server (class) supports group ACL and switching groups on or off in ACL dialog 2014-02-28 17:00:53 +00:00
Hadi Nategh
ecc37850f0 Fix not selecting right ACL common options when the with different sorted rights. Now common rights abbrivation are sorted alphabetically 2014-02-28 15:39:46 +00:00
Klaus Leithoff
796e48cd3d work to improve performance on getFolderObjects; partly based on emailadmin_imap changes 2014-02-28 15:08:18 +00:00
Hadi Nategh
aa4c108fcf Set the ACL new entry row with common ACL of lrs 2014-02-28 13:08:50 +00:00
Ralf Becker
f8a25df5c1 using taglist-account for acl popup, thought we need to fix taglist-account to automatic convert nummerical account_id to user-readable names 2014-02-28 12:44:27 +00:00
Klaus Leithoff
49230b834a switch back to return cached result (was disabled for testing) 2014-02-28 08:32:44 +00:00
Klaus Leithoff
0dbb43720d on subscribed only: break as we did before (was commented for testing/debugging) 2014-02-28 08:29:33 +00:00
Klaus Leithoff
f83ba23b16 switch off timedebugging; when fetching all folders (not only subscribed) fetch all folders in one go (for performance reasons) and not level by level (level by level was introduced years ago to be able to cope with possible recursions in folderstructure; we hope that horde takes care of that on its own; if not, we may have to switch back); 2014-02-28 08:08:59 +00:00
Nathan Gray
b1040d48ae Remove accidentally set readonlys 2014-02-27 21:34:30 +00:00
Ralf Becker
5fab71efab sending toolbar actions from index and get_rows (were on every rows/mail before), ToDo: only send them in get_rows if labels change 2014-02-27 17:47:06 +00:00
Klaus Leithoff
b8801d64e5 more debug for times; getFolderObjects and getFolderTree 2014-02-27 16:47:23 +00:00
Klaus Leithoff
5c460201f0 skip querying imap-server for SPECIAL-USE Folders on openConnection as we assume our wizard already detected the folders correctly 2014-02-27 16:07:14 +00:00
Klaus Leithoff
2a55cfd281 more debug for times; try to minimize old openConnection calls 2014-02-27 15:32:14 +00:00
Klaus Leithoff
910e696c38 use some more logRunTimes 2014-02-27 12:29:06 +00:00
Klaus Leithoff
1b7c3130b1 introduce static debugTimes and logRunTimes to track timeconsumption of calls 2014-02-27 12:16:23 +00:00
Klaus Leithoff
d3b244e069 use html::content_header for gathering download headers on getAttachment and saveMessage 2014-02-25 15:59:22 +00:00
Ralf Becker
8989ac5d01 fixed empty line in popup with drop actions and added icon for cancel 2014-02-25 15:04:09 +00:00
Hadi Nategh
fdd747fe35 Unset drag_mail actions from display and preview toolbar, and set view_rang for display toolbar to 6 actions 2014-02-25 13:50:58 +00:00
Ralf Becker
f8035b8312 fixed sending of arbitrary JSON data egw_json_request::isJSONRequest(false) 2014-02-24 19:12:37 +00:00
Ralf Becker
e96ec115a0 fixed sending of arbitrary JSON data egw_json_request::isJSONRequest(false) 2014-02-24 18:46:14 +00:00
Ralf Becker
bcc1393c49 new view/source icon 2014-02-21 08:56:12 +00:00
Hadi Nategh
017737e7eb Add more actions in mail display as default toolbar actions 2014-02-20 18:08:48 +00:00
Klaus Leithoff
6a9aaf9a53 work to fetch X-Priority for messagelist 2014-02-20 10:25:57 +00:00
Ralf Becker
5d098b9028 translating source with "Quelltext" in German and using view icon for it 2014-02-20 08:21:41 +00:00
Ralf Becker
f510e9d333 using two new icons for open as text/html and not mime icons 2014-02-19 08:01:37 +00:00
Klaus Leithoff
f04d607e2b harden copyMessages against failure by copying to/from existing but not listed (listMailboxes) folders 2014-02-18 15:22:25 +00:00
Hadi Nategh
0a10203058 Add error message to subscription folder 2014-02-17 16:36:16 +00:00
Hadi Nategh
1d0dc9fd59 Add subscription/unsubscription backend functionality to subscription folder popup 2014-02-17 16:11:28 +00:00
Klaus Leithoff
092af04bc4 catch error on failed copy/move messages and report to user via egw_message 2014-02-17 10:19:31 +00:00
Hadi Nategh
c3ce366abe Fix action enable/disable in mail seive context menu 2014-02-14 16:56:48 +00:00
Hadi Nategh
bbe57f9648 Add egw_refresh to mail sieve. In addition, tide up the code and add documentation 2014-02-14 15:39:18 +00:00
Klaus Leithoff
20632a0422 fix problem saving to vfs (mail/attachment) -> window.close; now using egw_framework::window_close 2014-02-14 14:09:56 +00:00
Klaus Leithoff
509c5f5a24 getFolderObjects; always use static on single request if info is available; so if you require subscribed/unsubscribed results on a single request you MUST set to false 2014-02-14 13:38:08 +00:00
Klaus Leithoff
d6a706d9b8 try to catch exeptions on ->no mail-accounts available at all<-; measure time consumption on folder-tree creation for subscription dialog 2014-02-14 12:31:34 +00:00
Klaus Leithoff
4bbda170bd try to catch exeptions on ->no mail-accounts available at all<- 2014-02-14 12:20:25 +00:00
Klaus Leithoff
420234cb46 change handling for numeric nodeid on getfolderTree when full tree is requested; use it in subscribe 2014-02-14 08:30:03 +00:00
Nathan Gray
efbdc7f532 Try to fix some errors in ajax actions
- Disable / enable did not work
- Refresh grid via ajax did not work
2014-02-13 19:00:11 +00:00
Klaus Leithoff
f618acc6b5 introduce capability to call getFolderTree with profileID only AND get a full tree 2014-02-13 16:29:37 +00:00
Klaus Leithoff
62a559e498 fix retrieval of attachments for display of attachment-list in display-popup plus indicator for attachments in message list (including preview) 2014-02-13 12:59:43 +00:00
Hadi Nategh
241db52e18 Add some more actions to mail display toolbar 2014-02-13 11:30:05 +00:00
Klaus Leithoff
6d23dfbd31 take care that calendar lang is loaded before opening calendar_uiforms.meeting 2014-02-12 12:05:22 +00:00
Klaus Leithoff
934650c64a fix a problem regarding the deletion from messages from display-popup; handle glitch of name used for downloading attachments 2014-02-12 10:56:44 +00:00
Nathan Gray
32971ef3cc Open sieve in div, not iframe 2014-02-11 21:26:31 +00:00
Klaus Leithoff
95eb49aa85 use new getNode function on tree widget to get node and its attributes 2014-02-11 16:01:31 +00:00
Klaus Leithoff
bcd78cdfa0 need to lang() tooltip 2014-02-11 15:28:14 +00:00
Klaus Leithoff
7809cdcdcc preparation for tree-menu action control on noSelect folders 2014-02-11 15:20:44 +00:00
Klaus Leithoff
187acc5295 mend broken display of event.ics 2014-02-10 16:37:21 +00:00
Hadi Nategh
c8ecdd2355 Change "Flag/Unflag" action caption and add hint 2014-02-10 16:15:18 +00:00
Hadi Nategh
8b064bcfb4 Set "toolbarDefault => true" attribute for some actions in mail, to be shown as default toolbar actions 2014-02-10 15:47:27 +00:00
Hadi Nategh
dab53cc607 No need to create the flag action since we have already did in get_action() 2014-02-10 14:03:19 +00:00
Klaus Leithoff
4e3e03e446 fix problem regarding display / visualization of .ics attachments 2014-02-10 13:24:08 +00:00
Klaus Leithoff
db262997fb fix problem regarding display / visualization of .ics attachments 2014-02-10 13:23:32 +00:00
Hadi Nategh
fd82fd2edc Change captions of some toolbar actions in mail 2014-02-10 13:06:49 +00:00
Klaus Leithoff
0e1d9ce607 avoid problems with not set identity infos on global/group profiles by using the account information first for the main identity connected to the account, and ignoring the regarding info (not properly seeded) on iterating over identities 2014-02-10 08:20:23 +00:00
Hadi Nategh
43460891b0 Add subscription folder dialog back-end, only show folder tree 2014-02-07 16:29:20 +00:00
Nathan Gray
8af9b45e13 Fix lists always showing in To field, not filtered properly. 2014-02-07 15:11:46 +00:00
Klaus Leithoff
a335a2e3fd more work regarding show all folders/subscribe/unsubscribe; controled by pref now 2014-02-07 08:33:23 +00:00
Hadi Nategh
a4e1324a04 Add subscription popup to mail, and fix the context menu. The popup up backend is not completed, though 2014-02-06 17:18:12 +00:00
Klaus Leithoff
0389960e32 switch notification on inbox off (which was the default fallback, when nothing is configured) 2014-02-06 10:31:21 +00:00
Klaus Leithoff
903245f550 first shot at show all folders menu action on tree 2014-02-06 09:09:57 +00:00
Ralf Becker
4c45f65801 mail config to deny access to certain features 2014-02-05 20:20:02 +00:00
Hadi Nategh
37c6013619 Set view_range for toolbar in mail display popup, and set the actions from the client-side 2014-02-05 16:17:37 +00:00
Klaus Leithoff
ae96c5333c resolve/work around problem of displaying account info in javasript triggered messages (brackets for emailaddresses) that use the nodes text 2014-02-05 13:02:51 +00:00
Ralf Becker
92701be185 setting foldernames now as text and (optional) style 2014-02-05 12:23:04 +00:00
Klaus Leithoff
c36ee4c041 resolve/work around problem of displaying account info in tree (brackets for emailaddresses) and further use/display in app.js 2014-02-05 09:49:24 +00:00
Klaus Leithoff
0c35d75565 fix warning in getMessageRawBody 2014-02-05 09:24:46 +00:00
Klaus Leithoff
d8a28da9d3 use different approach on mailboxExists; try to open, on failure return false, else true; as the listMailbox command does not return shared folders on first level for dovecot (dovecot bug) 2014-02-05 09:14:05 +00:00
Klaus Leithoff
3539f98176 add missing second param for imap_rfc822_parse_adrlist 2014-02-04 15:53:48 +00:00
Klaus Leithoff
247a7f824a try to handle not found image by cid 2014-02-04 13:37:26 +00:00
Klaus Leithoff
c9da3b7dfd allow browser to cache content on display of messages 2014-02-04 12:31:11 +00:00
Klaus Leithoff
7510c00e50 switch display of message in popup to load message body in iframe; on message deletion show one message for userinteraction 2014-02-04 11:31:13 +00:00
Klaus Leithoff
f13dca4c34 fix for send with copy to additional folder 2014-02-03 11:29:12 +00:00
Klaus Leithoff
ec013651a3 fix fetching/opening subsequent message/rfc822 attachments on display 2014-02-03 09:28:31 +00:00
Klaus Leithoff
f67fb1d1c6 try to document why we use the simple-withimage config on ckeditor in mail and not the EGroupware wide pref 2014-02-03 07:59:51 +00:00
Klaus Leithoff
7c28c6c016 make mailattachments of type message/rfc822 clickable on compose 2014-01-31 10:21:58 +00:00
Klaus Leithoff
6c8c58f5c6 introduce a static Method to be able to create RowIDs from anywhere 2014-01-31 09:47:17 +00:00
Klaus Leithoff
6dbfc80de2 get rid of wrong offset warning 2014-01-30 15:35:20 +00:00
Klaus Leithoff
9f43ef9b42 fix problem with reply all, own email address not taken out of recipients, when master-profile 2014-01-30 14:53:27 +00:00
Klaus Leithoff
6317ffa821 fix broken attachment on forward inline, when attachment is available 2014-01-30 11:28:20 +00:00
Klaus Leithoff
e70a7bcf07 make uploaded/attached files clickable on compose 2014-01-30 09:35:56 +00:00
Klaus Leithoff
0629f22bcc attachments not transported when converting to infolog/tracker on send 2014-01-29 10:59:14 +00:00
Klaus Leithoff
c3435b0359 fix for not indicated attachments if disposition is inline but no cid given or not is image (, as we display only images inline) 2014-01-27 15:04:18 +00:00
Klaus Leithoff
22d6fc05ee flag messages from preview; load translations for ajaxcalls, when needed 2014-01-27 12:18:16 +00:00
Klaus Leithoff
1b295f5c63 prevent redirect on display (when messagelocation is draft or template) when called from importMessageFromVFS2DraftAndDisplay 2014-01-24 11:48:24 +00:00
Klaus Leithoff
5b586c4687 fix several problems regarding compose; wrong addresses on nreply_all; failed opening of templates; not opening on importMessageFromVFS2DraftAndDisplay 2014-01-24 10:30:45 +00:00
Klaus Leithoff
3f035eaf42 keyword search definition on keyword1/label1 is now important instead of urgent; 2014-01-23 15:19:25 +00:00
Klaus Leithoff
fa2993bff3 keyword filtering must be done as flag search for 2014-01-23 14:46:57 +00:00
Klaus Leithoff
bc2689c3ae fix setting answered and forwarded flags on answering/forwarding mails 2014-01-23 11:56:34 +00:00
Nathan Gray
4f9c9a8892 Clicking on profile in tree changes profile & selects inbox 2014-01-22 09:32:18 +00:00
Klaus Leithoff
2f5cc230c8 tell ajax_flagMessages to be quiet 2014-01-21 15:00:22 +00:00
Klaus Leithoff
9356586af4 try to adapt async_vacation to use oldImapServer Object 2014-01-21 14:58:57 +00:00
Klaus Leithoff
77fd70275c revert async_vacation changes 2014-01-21 14:48:30 +00:00
Klaus Leithoff
ba7184f44f handle flagging of message as seen explizitly on preview 2014-01-21 14:46:00 +00:00
Klaus Leithoff
2eb18c1d4e being able to conditionally trigger quotaDisplayRefresh on mail_refreshFolderStatus; use new lock_tree/unlock_tree on changeFolder 2014-01-21 11:28:43 +00:00
Klaus Leithoff
d698f88e77 fix messages from draft and templates not opening in compose mode; fix typo that prevented the correct change of profile in getComposeFrom 2014-01-21 08:26:59 +00:00
Klaus Leithoff
d0e562ebef pass folder info explizitly on even more bo calls to cancel out problems there 2014-01-20 16:03:32 +00:00
Klaus Leithoff
68f2797cbc pass folder info explizitly to cancel out problems there; fix js error for getFocuedObject().getNext 2014-01-20 15:25:40 +00:00
Klaus Leithoff
b3ebabf997 fix error in mail_activesync getMessage that prevented the retrieval of all headers 2014-01-20 14:42:13 +00:00
Klaus Leithoff
35dc435ab9 try to tackle problem encountered with mail2infolog/tracker 2014-01-20 13:14:18 +00:00
Klaus Leithoff
ab9423573b improve skip out condition on filter for search strings; fix javascrip error on unavailable next 2014-01-20 11:53:19 +00:00
Klaus Leithoff
ac50def034 fix broken filter for search strings 2014-01-20 11:13:03 +00:00
Klaus Leithoff
238391ee63 still some issues regarding signatures->fixed them (hopefully) 2014-01-20 10:59:39 +00:00
Klaus Leithoff
32f75929af fix missing signature when attaching signature after compose, before send 2014-01-20 10:31:18 +00:00
Klaus Leithoff
d32e576dfa try to fix missing sender email 2014-01-20 09:26:26 +00:00
Klaus Leithoff
bb12e99a8b stuff to try to fix problems on header retrieval 2014-01-20 08:55:07 +00:00
Ralf Becker
496c34614d switch on private (browser only) caching for read mail bodys, plus fix to switch it on after session was started 2014-01-18 14:52:47 +00:00
Klaus Leithoff
e8e8224341 fix problems caused by changing html/plain selectbox to checkbox 2014-01-18 14:52:21 +00:00
Ralf Becker
6b926d5267 setting ident_realname/email for mail accounts&identities where mail-server is managed by EGroupware 2014-01-18 14:00:19 +00:00
Klaus Leithoff
c93e4fdc0e try to figure out generic error: IMAP error reported by server on structure retrieval, and failed messageHeaderretrieval 2014-01-18 13:48:34 +00:00
Klaus Leithoff
c59439f1ef try to figure out generic error: IMAP error reported by server on structure retrieval 2014-01-18 13:11:45 +00:00
Klaus Leithoff
437343bc0f fix for failed getBytes on a non object 2014-01-18 12:47:46 +00:00
Klaus Leithoff
2d4dd6d5d6 changed keyphrase for primary profile 2014-01-17 14:38:46 +00:00
Klaus Leithoff
8bdef50e23 give better feedback to frontend 2014-01-17 13:40:41 +00:00
Klaus Leithoff
80d68f84c1 try to catch further errors on structure retrieval 2014-01-17 13:24:48 +00:00
Klaus Leithoff
7256ad2239 try to catch further errors on structure retrieval 2014-01-17 13:14:40 +00:00
Klaus Leithoff
38dcee204a try to catch errors on structure retrieval 2014-01-17 13:05:23 +00:00
Klaus Leithoff
ff29574173 fix Argument 3 passed to mail_bo::getMessageAttachments(must be an instance of Horde_Mime_Part 2014-01-17 12:51:45 +00:00
Klaus Leithoff
70ebabaf90 fix missing delete after move when moving cross servers 2014-01-17 12:02:03 +00:00
Klaus Leithoff
57e0008ac9 force currentapp = mail for compose and display popups; changed approach 2014-01-17 10:47:35 +00:00
Klaus Leithoff
b98326fb0c force currentapp = mail for compose and display popups 2014-01-17 10:37:43 +00:00
Klaus Leithoff
9aa1506a84 move empty trash/compress folder to actionsmenu on tree 2014-01-17 09:59:25 +00:00
Klaus Leithoff
36e13b7c8f move empty trash/compress folder to actionsmenu on tree 2014-01-16 16:37:01 +00:00
Ralf Becker
117a2f5f6b mark mailing-lists in taglist responses with "mailinglist" css class, style it and give it a title "mailinglist" to differenciate from contacts/regular email addresses 2014-01-16 15:58:27 +00:00
Klaus Leithoff
5422864681 fix missing init in static rawMessage static 2014-01-16 15:22:18 +00:00
Klaus Leithoff
54f8fb5abb fix missing level in static rawMessage cache 2014-01-16 15:01:04 +00:00
Nathan Gray
05f0e486e3 Use long task UI to merge contacts into email templates 2014-01-16 14:05:07 +00:00
Klaus Leithoff
e10fd3f37c fix preserveSeen problem for activesync accessing mails with attachments 2014-01-16 10:51:22 +00:00
Nathan Gray
f9c2c73432 Get merging contact into mail template file working 2014-01-15 16:29:30 +00:00
Klaus Leithoff
fb4b2e1478 fix problem with broken rfc mailaddress on parsing for activesync 2014-01-15 10:31:08 +00:00
Klaus Leithoff
4b2dbc6526 throw out attachment type (if present) in preview (on request of sb);fix preserve seen for activesync 2014-01-15 08:45:05 +00:00
Nathan Gray
0c2453a7f9 Fix mime handler pointing to wrong app 2014-01-14 17:16:49 +00:00
Klaus Leithoff
092be08c96 fix broken default undeleted flag filter 2014-01-14 15:54:48 +00:00
Klaus Leithoff
1834389fec restore/ensure basic functionality on activesync for mail app 2014-01-14 15:21:54 +00:00