Commit Graph

550 Commits

Author SHA1 Message Date
Klaus Leithoff
3ef17e277f add missing translations for emptying spam/junk folder; fix setting folder status after voiding spam/junk folder content 2015-02-19 13:41:40 +00:00
Klaus Leithoff
acb4f11d24 * Mail: feature to allow to void the (configured) spam/junk folder on right-click action on foldertree 2015-02-19 12:01:18 +00:00
Ralf Becker
9a633cab48 fix PHP Fatal error: Cannot pass parameter 3 by reference 2015-02-16 08:30:50 +00:00
Ralf Becker
36bc17a442 move code for html or javascript content-type headers from webdav to html class and use it for attachments too 2015-02-14 19:32:21 +00:00
Klaus Leithoff
d15d01a8b4 fix problem(s) with display of attachments on forward when either forwarding inline with several attachments to the forwarded message or forwarding multiple messages as attachment 2015-02-12 15:19:24 +00:00
Ralf Becker
7c4bc31306 removing an other unnecessary egw_info[flags][js_link_registry]=true 2015-02-02 19:50:20 +00:00
Klaus Leithoff
736eb6a329 bind some errorlog debug output to mail_bo:: variable 2015-01-15 11:03:07 +00:00
Klaus Leithoff
f384ac50a7 revert accidently ALWAYS looking up the mimeType with mime_magic 2015-01-09 14:11:57 +00:00
Klaus Leithoff
74a6cf6794 * Mail: fix problem on SentCopy ending up with the wrong mailaccount. Should be copied to chosen mailaccount on sending. If none is configured for folder; respect that setting. Ability to choose destination folders from starting mailaccount AND from selected mailaccount (only the original and the final selected mailaccount folders are checked and used for storing copies of the sent mail) 2015-01-09 13:56:14 +00:00
Hadi Nategh
8b5bc60235 Consider only vaction by date, missing condition from commit #51139 2015-01-07 08:15:39 +00:00
Hadi Nategh
26c6a96894 Do not show out dated vacation in vacation notice 2015-01-06 16:41:55 +00:00
Ralf Becker
cbf4051ef3 checking sieve enabled on imap-server object not account, so imap plugins can overwrite eg. always set this 2014-12-18 10:04:41 +00:00
Hadi Nategh
e07c11be85 Fix popup's window close
-Make sure window.close() closing the right egw window
-Make sure the modal popup has the opener
2014-12-12 14:21:04 +00:00
Ralf Becker
2feacbecb8 fixed sometimes not working download of all attachments via zip (name instead of filename set) and changed it to use streams 2014-12-08 18:24:08 +00:00
Ralf Becker
dd89cf84f7 parseFileIntoMailObject and parseRawMessageIntoMailObject using new egw_mailer 2014-11-26 14:08:52 +00:00
Nathan Gray
a55da7afc6 Change grouping for tree actions to move auto added copy+paste actions up 2014-11-24 15:35:02 +00:00
Klaus Leithoff
827caf674f handle error and error-messages on folder-creation. Special handling when having flat folderstructure (no prefix present) 2014-11-20 14:57:34 +00:00
Nathan Gray
a885057213 Support moving from different folders 2014-11-19 19:12:50 +00:00
Klaus Leithoff
06f8a7c829 take the extra time on failure on folderExists, when the folder seems to be not to be there 2014-11-18 15:53:53 +00:00
Ralf Becker
90a70f237f only display "Vacation notice is active" message, if it is active or by a date in future 2014-11-18 14:46:24 +00:00
Klaus Leithoff
4f2219908f make sure preview/display/saveAttachments etc. is using the ImapServer whose Id is passed on with the ID of the mail to be processed 2014-11-06 13:11:44 +00:00
Klaus Leithoff
1d48bf67d5 * Mail: on save as zip: always fetch all attachments, even inline (images); do not fatally fail on empty attachments 2014-11-06 11:42:44 +00:00
Ralf Becker
a37c884969 * Mail: fixed icons for special use folders did not use folders set in mail account 2014-11-05 16:51:55 +00:00
Hadi Nategh
a373f0f458 Fix IDE warnings 2014-10-23 13:59:12 +00:00
Hadi Nategh
dae1ce6554 Work in progress, standardization of dnd action helper styling for all apps 2014-10-17 16:34:14 +00:00
Nathan Gray
9481dab570 Drag & drop support for mail into filemanager 2014-10-16 22:41:39 +00:00
Ralf Becker
4f59ab7d81 resize import popup to regular compose size 2014-10-15 15:49:41 +00:00
Klaus Leithoff
b3441cb29b * Mail: fix copy/move of mails between accounts by making sure source and target are distinctively defined when performing the move 2014-10-14 08:51:01 +00:00
Hadi Nategh
889c8b88e8 Unset action "moveto" from display toolbar actions 2014-10-10 15:03:00 +00:00
Ralf Becker
418578dc2f remove not used attachmentsPresent value 2014-10-07 07:13:37 +00:00
Hadi Nategh
e68d5c19c6 Fix trash folder label get set by not translated trash folder name after trying to empty the trash 2014-10-06 14:59:13 +00:00
Klaus Leithoff
7f3c3e5613 cope with not set DATE from retrieved headers 2014-10-02 08:44:48 +00:00
Ralf Becker
32a6066156 * Mail: vaction notice indicator in mail showed result of other users
cache-key was identical for all uses due to a typo
2014-09-27 15:27:54 +00:00
Ralf Becker
007b632017 explicitly fetching structure in get_load_email_data, to supply it to getMessageBody and getMessageAtacchemnts, so they dont get fetcheds twice from imap-server 2014-09-25 12:43:06 +00:00
Ralf Becker
756b31ce9f remove html::purify call 2014-09-25 08:47:47 +00:00
Klaus Leithoff
3b54e4e39a disable non functional readall action on mail display popup actionmenu 2014-09-18 12:33:33 +00:00
Hadi Nategh
bdcda95930 Make the saveAsDraft and print functionality working in mail compose dialog 2014-09-09 12:08:08 +00:00
Klaus Leithoff
29ca1beb5b * Mail: fix for failed zip-download when users startfolder is not writeable
Reason: get_home_dir may fetch the users startfolder if set; if not writeable, action will fail
2014-08-26 12:37:27 +00:00
Klaus Leithoff
814f0b705c fixing assumed typo regarding:preg_match(): No ending delimiter '^' found in class.mail_ui.inc.php on line 144 2014-08-21 14:11:35 +00:00
Ralf Becker
af1bf17228 reverted accidently commited permanent error_log 2014-08-20 16:13:45 +00:00
Ralf Becker
6b243800c4 do not cache, if we dont find selectedFolder in query_context, as looking it up in tree causes mails to be cached for wrong folder 2014-08-20 16:12:19 +00:00
Ralf Becker
c670d879d5 do NOT connect to previous imap server, if user triggers a change of server 2014-08-20 14:58:12 +00:00
Ralf Becker
947f6b1551 fixed PHP Fatal error " Call to undefined method emailadmin_imapbase::subscribe" since r48090 2014-08-18 10:33:22 +00:00
Ralf Becker
e47db95be7 * Mail: fixed sometimes not working (un)subscribe of mailboxes, added better diagnostic and automatic (de)select children 2014-08-15 11:22:43 +00:00
Klaus Leithoff
1f3bb33fd8 implement some >mark all messages in folder as read< action 2014-08-14 15:38:32 +00:00
Klaus Leithoff
2df89703ca * Mail: fix problem on not applied but possibly set status filter on all message actions for flagging 2014-08-14 13:49:14 +00:00
Hadi Nategh
176c1247dc Refresh Trash folder folder-status when empty Trash action is triggered not from the Trash folder 2014-08-14 11:28:55 +00:00
Ralf Becker
589d2c9dae * Mail: keyword actions were not always displayed (eg. never for Dovecot and GMail) 2014-08-13 11:45:55 +00:00
Hadi Nategh
c60b7ae328 Revert the change on ajax_refreshVacationNotice from commit 48039. Fix not keeping other vacations of an user in the cache 2014-08-12 08:23:54 +00:00
Nathan Gray
91eabea294 Some more speed improvements for get_rows:
- Don't verify that special folders exist
2014-08-11 19:26:50 +00:00
Nathan Gray
82db8343bd Some more speed improvements for initial load:
- Avoid expensive connect in constructor for all AJAX calls (reconnect/cache used instead)
- Don't verify that special folders exist for folder tree
- Only fetch folder counts when fetchCounters flag is set, instead of always
- Avoid some et2 warnings about not existing attributes (no speed improvement, but less annoying)
2014-08-11 16:24:11 +00:00
Ralf Becker
217a2a8a11 fix for invalid operand, if vacation cache is not yet initialised 2014-08-11 14:16:26 +00:00
Hadi Nategh
cb093e7266 Avoid to call mail constructor (openConnection is an expensive operation) when client-side ask for vacationNotice.
-Check if there's no vacation cached then create mail object (try openConnection) and ask for vacation
-Add account_lid to cached vacations to distinguished them in case if the mail account was a shared profile
2014-08-11 12:14:27 +00:00
Hadi Nategh
f22b156f21 Add msg_type to callWizard to be able to set message type when we call emailadminWizard 2014-08-08 13:36:33 +00:00
Hadi Nategh
6b015a9448 Refresh the nm and lock the tree if current active folder is the Trash Folder, when calling "Empty Trash" action, otherwise no need to refresh or lock the tree 2014-08-08 10:04:49 +00:00
Nathan Gray
f19666096e Remove extra call to refresh vacation & quota, it is already done when changing folder which should be often enough. 2014-08-06 20:53:37 +00:00
Hadi Nategh
4830bcf784 Try to cache vacation for each account to avoid to connect to IMAP server if vacation rules are not changed 2014-08-06 10:56:01 +00:00
Klaus Leithoff
98cd4bbe28 using cache more efficiently; prevent clearing cache on profileChange; hook into clear_cache callable from admin 2014-08-05 11:59:06 +00:00
Hadi Nategh
19ff0d23cc Try to catch exceptions from Sieve retriveRuels, and call emailadminWizard 2014-08-05 09:26:28 +00:00
Klaus Leithoff
1bb1d18997 introduce some stuff to increase inital speed of mail-list by asyncronously calling gatherVacation and getQuotaRoot; increase cache-time on folderExists cache, trust a folder to be existant (or at least fot force the check with IMAP-Server) in get_rows 2014-08-05 08:51:26 +00:00
Hadi Nategh
22d6d80aae Add browser popup blocker checker for open_link method.
-Fix not poping up the emailadminWizard popup when an IMAP error occurrs, because of the browser blocks the popup.
2014-08-04 14:02:05 +00:00
Klaus Leithoff
7967387e3a unlock tree immediately after fetching the rows 2014-08-04 12:59:13 +00:00
Klaus Leithoff
3358da94e5 alter condion on not calling openConnection; as the refresh of quota was not working after changing a profile after rev47954 and not relyable after rev47956 2014-07-31 10:47:55 +00:00
Klaus Leithoff
14711b891f fix call for mail.mail_ui.ajax_refreshQuotaDisplay; as the refresh of quota was not working after changing a profile after rev47954 2014-07-31 10:42:56 +00:00
Hadi Nategh
8ccef246b4 Do not openConnection an extra time to imap server on constructor for changeProfile, refreshQuotaDisplay 2014-07-31 10:18:41 +00:00
Klaus Leithoff
c1c90c2621 cache subscribedFolders Call to be used in getfolderStatus; control param if to fetch subscribed Info on getFolderStatus at all; own getMailboxCounters wrapper, instead of getFolderStatus, if one needs the counters only 2014-07-31 10:10:07 +00:00
Klaus Leithoff
af749e891e * Mail: handle broken filenames (non utf8) in attachments 2014-07-29 08:13:34 +00:00
Nathan Gray
73c1f064b9 Don't send mail rows when opening mail app, but use client side cache instead.
Gives large speed improvements when changing to previously opened folders.
2014-07-28 21:21:23 +00:00
Klaus Leithoff
c013b68772 add missing flags parameter on reopening exported messages 2014-07-24 12:00:17 +00:00
Hadi Nategh
3055fe6875 Try to catch PEAR_Exception over mail_ui and callWizard if there is an exception 2014-07-18 17:18:29 +00:00
Klaus Leithoff
4e0480054b avoid php-warning regarding missing 4th argument on mail_ui::createAttachmentBlock() 2014-07-17 14:56:37 +00:00
Klaus Leithoff
24606be582 handle all text string for move and delete action success message 2014-07-17 09:59:14 +00:00
Hadi Nategh
07a036b5f4 Fix IDE warnings in mail_ui 2014-07-16 16:34:15 +00:00
Hadi Nategh
2b07a387c6 Remove Mail_ui class out commented statements, in order to make the code easier to read 2014-07-16 13:42:36 +00:00
Hadi Nategh
ae062b12c5 Mail_ui::__construct() free of out commented statements 2014-07-16 12:15:11 +00:00
Hadi Nategh
1d0db1e05b Fix mail import message dialog 2014-07-16 11:37:02 +00:00
Nathan Gray
2b1d6e2244 Add drag action for display popup attachments 2014-07-14 20:50:08 +00:00
Klaus Leithoff
a0d6257d1e handle message/rfc822 attachments as display when opened from drafted message; properly restore message/rfc822 attachments stored with .eml files 2014-07-11 13:49:27 +00:00
Klaus Leithoff
096f753a59 different approach on calling bulk-download (all attachments in one archive) 2014-07-08 12:01:29 +00:00
Ralf Becker
579e0da787 new method to check if mail account is an imap account: Checks if an imap host, username and NOT deliveryMode="forwardOnly" is set 2014-07-08 11:09:31 +00:00
Klaus Leithoff
5b1ed6a756 fix for failed bulk-download of attachments; bo functions for retrieving mail attachments (and header info for subject) NEED the folder information 2014-07-08 10:20:19 +00:00
Klaus Leithoff
07d1ba39a6 handle problems with select-all on flag, move and delete 2014-07-08 08:50:43 +00:00
Nathan Gray
99e28b96b3 Add save all attachments as zip to mail display popup 2014-07-03 17:17:54 +00:00
Nathan Gray
ed6d15098a Add save all attachments as zip to mail preview 2014-07-03 16:57:14 +00:00
Hadi Nategh
d67745ce4e Fix mail profile change failure pops up XML error. Instead, make sure if there is an exception then pops up the emailadminWizard or shows up a message via tree node 2014-06-30 15:48:49 +00:00
Hadi Nategh
0217c2ebaa Set an empty sidebox if there is json response, and for regular request like idots template render the framework to get header and navbar shown 2014-06-23 11:38:42 +00:00
Klaus Leithoff
0ab34ccfe5 basic implementation on Strg+A for copy/move mails; not working as of now, as this.mail_checkAllSelected(_action,true) seems not to produce the desiredv result on dragndrop 2014-06-20 13:37:20 +00:00
Klaus Leithoff
d071e645cd implement Strg+A on Message deletion per folder 2014-06-20 12:05:03 +00:00
Hadi Nategh
2babf41119 Use popup method to call emailadminWizard when there is no JSON request 2014-06-20 09:28:45 +00:00
Hadi Nategh
c0d85eb33e Make sure to not popup the emailadminWizard if getfoldertree is called via tree interaction 2014-06-18 11:23:54 +00:00
Hadi Nategh
94950729ab Popup the emailadminWizard if there is authentication failure 2014-06-18 09:56:11 +00:00
Klaus Leithoff
48d3f93fa3 always test if there are attachments listed with the header information, as we gather that info anyhow in getHeaders 2014-06-03 07:51:39 +00:00
Klaus Leithoff
324a599ae2 remove egw_refresh and egw_message calls and replace them with (this.)egw.message and (this.)egw.refresh 2014-05-27 13:31:37 +00:00
Klaus Leithoff
30ae5f1b81 * Mail: detect and handle actions on ALL-messages for setting and removing flags and lables for the mailbox we operate on 2014-05-27 12:05:23 +00:00
Hadi Nategh
78a461b120 * Mail/Sieve: Show mail sieve rules list in mail index with sidebox mailTree available 2014-05-22 14:46:50 +00:00
Hadi Nategh
6ed0d09212 Fix more warnings (e.g., remove unsed varaibles, and fix miss documentation) 2014-05-22 07:47:49 +00:00
Ralf Becker
7a305bdf95 enable/disable Sieve and ACL actions on tree account-specific, also added a couple more icons to tree icons 2014-05-22 07:36:02 +00:00
Ralf Becker
f98642df20 fixed not existing Sieve script gives now an exception 2014-05-21 11:24:34 +00:00
Klaus Leithoff
86eb361233 handle folder-tree refresh on subscribe/unsubscribe ; with focus on shared folders 2014-05-20 14:28:23 +00:00
Klaus Leithoff
c34ddd14c4 fix problem on folder Substribtion tree - all folders are marked as subscribed, wether they are ore not 2014-05-20 13:39:04 +00:00
Klaus Leithoff
30d2445714 silence debug messages 2014-05-20 11:47:18 +00:00
Klaus Leithoff
49e3fa5dbd * Mail: store last move or copy targets for action menu options to be used to move mails to previously used targets on rightclick 2014-05-20 10:02:21 +00:00
Hadi Nategh
1c31dad881 Switch sieve from oldimap class to new imap 2014-05-13 17:09:05 +00:00
Ralf Becker
3d5a2ffc3b handle connection errors by opening wizard and show a fake folder with error message (to not get error from tree and unlock tree again) 2014-05-12 07:35:23 +00:00
Klaus Leithoff
d808e0a6c5 * Mail: harden mailapp to better cope with broken accounts 2014-05-09 12:43:57 +00:00
Klaus Leithoff
ee46a063a0 * Mail: fix a namespace issue (for additional defineable namespaces under dovecot) reported by E.Popp 2014-05-08 08:50:48 +00:00
Klaus Leithoff
b69e147247 * Mail: skip accounts with no imap server set for notification and foldertree 2014-04-25 09:42:18 +00:00
Klaus Leithoff
d471d547ee refresh foldertree on subscribe/unsubscribe 2014-04-24 09:23:06 +00:00
Klaus Leithoff
b61c69f3dc * Email: remove option to reset cached objects; reset Cached Objects on account-edit 2014-04-23 09:18:50 +00:00
Klaus Leithoff
40136cff9b * eMail: some Servers have very limited SEARCH capability; (no OR allowed/supported) try to detect and act accordingly 2014-04-11 13:52:58 +00:00
Klaus Leithoff
d3ef9ea496 attempt to cleanup regarding old emailadmin/felamimail 2014-04-08 15:19:06 +00:00
Klaus Leithoff
1411cc73fb attempt to cleanup regarding old emailadmin/felamimail 2014-04-08 14:55:43 +00:00
Klaus Leithoff
acd782c287 basic check for sieve capability allows for empty acc_sieve_host -> fallback to acc_imap_host 2014-04-07 12:52:50 +00:00
Klaus Leithoff
a4efec4997 handle vacation notice on mail-index page; check and refresh on changeFolder; refresh on editVacation 2014-04-03 12:20:23 +00:00
Klaus Leithoff
e72f015d81 fix the serverside bug for bug handeled on r46405 2014-03-27 09:25:11 +00:00
Klaus Leithoff
e36a7b17e3 support Disposition-Notification-To, Return-Receipt-To and X-Confirm-Reading-To on preview 2014-03-25 16:20:28 +00:00
Klaus Leithoff
70d2a9f479 fix activesync attachment issue reported by randy; fix issue regarding the mail action on calendar entries; some cleanup 2014-03-21 10:37:09 +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
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
Ralf Becker
2160ccc029 moved (lost) base font size and other css styles to new preview.css 2014-03-04 10:48:35 +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
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
2a55cfd281 more debug for times; try to minimize old openConnection calls 2014-02-27 15:32:14 +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
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
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
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
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
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
Hadi Nategh
fd82fd2edc Change captions of some toolbar actions in mail 2014-02-10 13:06:49 +00:00
Hadi Nategh
43460891b0 Add subscription folder dialog back-end, only show folder tree 2014-02-07 16:29:20 +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
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
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
ec013651a3 fix fetching/opening subsequent message/rfc822 attachments on display 2014-02-03 09:28:31 +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
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
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
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
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
437343bc0f fix for failed getBytes on a non object 2014-01-18 12:47:46 +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
Nathan Gray
f9c2c73432 Get merging contact into mail template file working 2014-01-15 16:29:30 +00:00
Klaus Leithoff
b3ad328429 preparations to get mail_activesync into gear 2014-01-14 13:35:39 +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
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
eb97a233a1 stuff regarding egw_refresh and interdependecys with the mail app 2014-01-13 13:06:29 +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
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
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
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
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
e73e01d71a Add vacation notice to mail tree context menu 2013-12-17 17:06:44 +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
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
Klaus Leithoff
d3a2dff6a9 implement delete folder with subfolders; fix encoding issue when creating folders with umlauts 2013-12-12 13:34:35 +00:00
Klaus Leithoff
1f438436e1 stuff of the day: label/remove all sorted to meet birgits requirements; distinct display schema for listview to send/draft/template folders (address column); some translations for upcomming folder delition for folders with subfolders 2013-12-10 15:59:54 +00:00
Klaus Leithoff
db0879f4a6 controlling some requirements on a send attempt (recipient, subject, mailbody) 2013-12-09 09:57:03 +00:00
Klaus Leithoff
343a72c3a8 toggle flags/labels, remove all labels, shortcuts thereoff, codecleanup 2013-12-06 10:35:39 +00:00
Klaus Leithoff
fd6e7648d6 first attempt to toggle certain flags on actions, instead of e.g.: setting flagged and setting unflagged explizitly 2013-12-05 15:09:35 +00:00
Klaus Leithoff
1dd472f567 attempt to fix getMailboxes / getMailboxesRecursive 2013-12-03 14:38:50 +00:00
Klaus Leithoff
6e88374e6f control (and try to fix) messed up addresses by horde, when fetching the envelope 2013-11-27 15:40:00 +00:00
Klaus Leithoff
bd55137531 some work regarding translation of mail app 2013-11-27 13:07:54 +00:00
Nathan Gray
a749ba519d Provide proper data for widget 2013-11-25 18:14:33 +00:00
Klaus Leithoff
03327b4bb1 adapt moving/copy of mails from folder to folder; fix fetch all available accounts with servers; fix missing emailaddress in mail-account-foldertree (first level) needed htmlspecialchars 2013-11-21 13:22:34 +00:00
Klaus Leithoff
9bc3c57239 make sure the content type map is available on accessing a known/wanted attachment part 2013-11-20 10:00:16 +00:00
Klaus Leithoff
8e336ed31a adapt view and save attachments to horde stuff (winmail.dat may require changes later) 2013-11-20 09:30:25 +00:00
Klaus Leithoff
7dd61b5617 fix excess calls of get_rows triggered by refreshFolderStatus; fix not using folderObjectCache 2013-11-19 15:14:36 +00:00
Klaus Leithoff
730eb55387 fix one problem regarding failed xml-response 2013-11-19 13:31:58 +00:00
Klaus Leithoff
8a38b817d0 fix one activeFolderCache problem (did not save it per server as intended) 2013-11-19 12:03:53 +00:00
Klaus Leithoff
e5818d9b62 abandon folderStatusCache and rely completely on hordes cache capability and handling 2013-11-19 11:17:32 +00:00
Ralf Becker
cec909fb13 fixed an other warning 2013-11-16 11:24:52 +00:00
Hadi Nategh
34827545cc Mail folder ACLs feature on mail app 2013-11-15 17:22:46 +00:00
Ralf Becker
f975e93677 get display of mails working again, using now Horde_Mime_Part based structure and for images, attachments not yet fully working, should use it too 2013-11-10 20:53:51 +00:00
Ralf Becker
f4cd622af6 using emailadmin_account::search alone for displaying all accounts 2013-11-07 17:46:26 +00:00
Ralf Becker
f8026cf624 mail redirects on connection or authentication failure, or if there is no account to account wizard, so user can fix the problem 2013-11-06 21:02:19 +00:00
Klaus Leithoff
fb94a6a645 some work to be able to displayHeaders, displayRawMessage, SaveMessageToDisc, saveMessageToVFS 2013-11-06 15:11:15 +00:00
Klaus Leithoff
5309f81e64 indicate attachments on main mail message list 2013-11-05 14:16:40 +00:00
Klaus Leithoff
8cbe09b24c fix broken status refresh for nonexistent shortDisplayNames 2013-11-04 12:31:50 +00:00
Klaus Leithoff
cfc3550d6f get filters to work, empty trash, etc. 2013-11-04 11:22:38 +00:00
Ralf Becker
e125b27e52 mail_wizard extending emailadmin_wizard, to allow regular users to use it 2013-11-03 10:24:09 +00:00
Klaus Leithoff
cce5514771 use icServer folder infos for specialuse folder and trash/sent/draft/template folder retrieval (if no valid pref is set) 2013-10-31 14:45:11 +00:00
Klaus Leithoff
75dc25a684 implement flagMessages; implement getCurrentMailbox 2013-10-31 08:55:33 +00:00
Klaus Leithoff
69ecce26d7 fix issue with double-encoded foldernames; fix getCurrentMailbox issue; sorting of accounts in tree by id (as before; by name may be an option to consider); use openConnection as central access to gather specialUseFolderInfo and/or fetching the delimiter 2013-10-30 13:27:26 +00:00
Klaus Leithoff
7e0f61f8d9 gather specialUseFolderInformation 2013-10-30 12:21:28 +00:00
Klaus Leithoff
6d4de6abb1 fix foldertree: initial display 2013-10-30 09:59:05 +00:00
Klaus Leithoff
4bd8d43318 steps to get back to a working list in ui 2013-10-29 16:16:56 +00:00