Commit Graph

445 Commits

Author SHA1 Message Date
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
Klaus Leithoff
b3ad328429 preparations to get mail_activesync into gear 2014-01-14 13:35:39 +00:00
Klaus Leithoff
2093860d44 fix cnp-error 2014-01-14 09:21:34 +00:00
Klaus Leithoff
c23a3f5524 remove references to old refreshTime preference 2014-01-14 08:35:22 +00:00
Klaus Leithoff
a2bb7fe833 remove pref refreshTime as we have a refresh in nm 2014-01-14 07:48:19 +00:00
Klaus Leithoff
24676c0a33 call counters on index call, but only retrieve them for one level up til the current folder level 2014-01-13 17:29:27 +00:00
Klaus Leithoff
e5a5fc8636 try to implement the requirement for compose: select of accounts on top, available signatures to the SELECTED mailaccount ONLY below 2014-01-13 15:40:34 +00:00
Nathan Gray
e94b62bd5e Use egw data cache to update mail CSS class & stop a few nextmatch refreshes.
Fixes unable to mark mail as unread.
2014-01-13 14:22:58 +00:00
Klaus Leithoff
2feef10702 skip the use of all for identities, as is was a conceptual misunderstanding 2014-01-13 13:34:50 +00:00
Klaus Leithoff
eb97a233a1 stuff regarding egw_refresh and interdependecys with the mail app 2014-01-13 13:06:29 +00:00
Klaus Leithoff
4273257138 catch error on accessing unknown mail account attribute 2014-01-13 09:36:51 +00:00
Nathan Gray
c8cfe6464e Bind to nextmatch refresh event to update folder status too 2014-01-11 14:16:36 +00:00
Nathan Gray
473d7e2001 Move mail folders via drag and drop 2014-01-11 11:58:31 +00:00
Klaus Leithoff
b0f50abd78 fix condition for folder move 2014-01-10 13:07:01 +00:00
Klaus Leithoff
bf09e9e46f reflect on thrown out preferences for folder settings; disable non working code in updateAccount, addAccount and deleteAccount hook-functions, and prepare for new account object 2014-01-10 10:33:53 +00:00
Klaus Leithoff
48e4d8daa0 change notification for new messages: now based on hook ->check_notify<- ; clean up of preferences in expectation of moving of most of the stuff to mail-accounts-data 2014-01-10 09:19:07 +00:00
Klaus Leithoff
d28b1d2500 operate on system flags only for filtering; try only calling this. instead of app.mail. whereever possible 2014-01-09 11:26:40 +00:00
Klaus Leithoff
f4254b5281 try to improve speed and refresh behavior 2014-01-09 08:36:22 +00:00
Klaus Leithoff
43ea576159 Mail/Mailhandling: missing setting for option >mail text only< for better control of import of mails to other apps 2014-01-07 13:25:21 +00:00
Klaus Leithoff
5786979a94 * Mail/Mailhandling: introduce option >mail text only< for better control of import of mails to other apps 2014-01-07 13:03:53 +00:00
Klaus Leithoff
880fc68bc9 attempt to minimize tree update/refresh attempts after movefolder-action 2014-01-06 15:47:19 +00:00
Klaus Leithoff
c4e135d64b first shot for tree update after movefolder-action 2014-01-06 14:26:33 +00:00
Klaus Leithoff
86df1da45b first shot at moveFolder action implementation; tree not correctly updated yet 2014-01-06 12:57:53 +00:00
Klaus Leithoff
1b873c4372 simple dialog for moveFolder action 2014-01-06 09:51:24 +00:00
Hadi Nategh
9b0fd9b7a5 Add ajax callback to take care of mailbox subscription 2013-12-20 16:23:45 +00:00
Hadi Nategh
dc02eb28d7 Make folder acl be able to be selected from differnet accounts 2013-12-20 16:17:12 +00:00
Klaus Leithoff
d302d78435 handle php-warning for attachmentobjects not set properly 2013-12-20 13:25:11 +00:00
Klaus Leithoff
ca93a60668 provide params to be able to pass subscribedOnly flag (true/false) to the getFolderObjects method, to be able to display all folders 2013-12-19 10:32:42 +00:00
Hadi Nategh
bf231133a0 Add subscribe/unsubcribe menus to mail tree context menu 2013-12-18 17:35:03 +00:00
Klaus Leithoff
fa609a3f2d ability to move mails from folder of one server to the folder of another server; beware mails are fetched from source and copied to target, so this can be quite stressfull on both mailservers AND your webserver regarding performance and memory, thus we sleep 500 miliseconds every 5 mails; ToDo: preserve the possible unseen status of a mail 2013-12-18 15:14:12 +00:00
Klaus Leithoff
c0d749ceac attempt to copy/move mails between servers; failed so far: no connection to the targetserver is even attempted by horde library 2013-12-18 12:14:18 +00:00
Klaus Leithoff
efc237024c since copy and move mails are pretty much the same (using the same bo function with different params) we merge this in ui as well 2013-12-18 10:27:27 +00:00
Klaus Leithoff
edec9c6c2b fix problems introduced by rev44904; refresh for folder counters removed by that commit in favour to rely on grids refresh call. sadly grids refresh does not provide a method to hook into so far (, so that counters of folders in tree are refreshed as well); until this is solved I reintroduce the application side triggered refresh 2013-12-18 08:46:31 +00:00
Nathan Gray
8ff6950c3f Show/hide lots of to/cc email addresses 2013-12-18 00:37:30 +00:00
Hadi Nategh
e4cf9ac9b3 Show vacation notice in popup window 2013-12-17 17:10:02 +00:00
Hadi Nategh
e73e01d71a Add vacation notice to mail tree context menu 2013-12-17 17:06:44 +00:00
Klaus Leithoff
bf362a5dce enhance error message if not allowed to access sieve 2013-12-17 15:58:51 +00:00
Hadi Nategh
eef0abc590 Add sieve link to mail tree action menu 2013-12-17 15:21:36 +00:00
Klaus Leithoff
491495e32d fix stuff regarding getSpecialUsefolders and defaultvalue of sievescriptname 2013-12-17 12:16:11 +00:00
Klaus Leithoff
d82075e86b work to get the sieve stuff back on the road. NOTE: uses oldImapServer Object, not cached, no validation regarding getInstance 2013-12-17 09:55:47 +00:00
Klaus Leithoff
3ae3d07fa5 hint nathan to ccaddresses available in dataElem.data; use fixed height for compose window 2013-12-17 08:47:16 +00:00
Nathan Gray
cc2fff754d No need to json_encode 2013-12-16 23:41:39 +00:00
Klaus Leithoff
2f083e41e4 move External quota label into quota hint. 2013-12-16 10:28:19 +00:00
Klaus Leithoff
447e3ed5f0 use new dialog.show_prompt for addfolder; 2013-12-12 15:44:47 +00:00
Klaus Leithoff
95021fe0fc use new dialog.show_prompt for rename; handle encoding issues; catch possible exceptions and try to handle it correctly by attempting some kind of rollback 2013-12-12 15:10:25 +00:00