Commit Graph

472 Commits

Author SHA1 Message Date
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
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