Commit Graph

423 Commits

Author SHA1 Message Date
Hadi Nategh
215289a5f5 Fix mail splitter loses its last stored height value after browsing with mobile theme 2014-12-17 12:02:01 +00:00
Hadi Nategh
f529a4fae6 Clear intervals assigned to window after submit compose dialog 2014-12-16 10:26:44 +00:00
Nathan Gray
8239ae9b2d Refresh the list if the move/copy target is the current folder so the new mails show 2014-12-15 17:26:04 +00:00
Ralf Becker
87c442434e * Mail: update title of compose window with subject 2014-12-12 15:28:53 +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
Klaus Leithoff
dbd2a7e9ca as class is kind of a keyword (by definition), refer to the dataElem.data class part using the notation used for associative arrays 2014-12-11 12:01:52 +00:00
Hadi Nategh
7116ae34a8 Show some attachment files in progress on visible bottom part of compose dialog 2014-12-09 08:56:45 +00:00
Ralf Becker
75688e8cb8 allow to share files and directories from filemanager via mail app 2014-12-03 16:25:10 +00:00
Ralf Becker
03ea6d9294 next (little) step for sharing files 2014-12-02 19:18:37 +00:00
Hadi Nategh
4d300a58e0 Resize mail compose after window resized too 2014-11-28 16:18:46 +00:00
Hadi Nategh
c41251a3e3 Fix printing problem happening in IE and FF 2014-11-28 13:51:00 +00:00
Ralf Becker
46b4758dac use a wrapper on a different url for sending mail to be able to select a different fpm pool 2014-11-21 13:37:30 +00:00
Hadi Nategh
b630e4acb6 Fix compose resizehandler: resize based on subtraction of header height from window height and allocate it to mail body 2014-11-20 15:54:09 +00:00
Ralf Becker
d3ff144685 first step for a combined account and identity/signature selector 2014-11-20 15:05:25 +00:00
Nathan Gray
3ec33534dc Add a paste flag to get around mail's check for all rows selected to ignore current selection when pasting 2014-11-19 20:13:46 +00:00
Nathan Gray
7afe1ee1e9 Check that interface is there before using it; when pasting the iface is missing.
Fixes error when copy + pasting mails from different folders.
2014-11-17 20:37:17 +00:00
Nathan Gray
d1d150b7c7 Don't preview the next message after deleting or moving messages. 2014-11-17 17:19:51 +00:00
Hadi Nategh
311d5fa4dd Do not register dataCache for popups 2014-11-11 11:46:16 +00:00
Hadi Nategh
a3260eb100 Remove not used variables 2014-11-10 12:45:22 +00:00
Hadi Nategh
cbc3074491 We do not need to resize explicitly the mail display popup, because the window resize handler does it correctly 2014-11-10 12:38:28 +00:00
Hadi Nategh
2ebad86634 Fix mail compose resize handler, and make sure that is happening after popup window resize 2014-11-10 12:03:49 +00:00
Hadi Nategh
795131df35 Fix re-positioning mail preview content according to its visible sibilings 2014-10-31 10:49:22 +00:00
Hadi Nategh
0d1a1c3f4a Adjust speed of double click trigger for taglist item modification 2014-10-30 11:55:22 +00:00
Hadi Nategh
f5c477174a Get compose email d-n-d working peacfully with taglist doubleclick item modification 2014-10-30 09:54:29 +00:00
Hadi Nategh
2fe71bdc48 Cancel d-n-d action on taglist item edit button 2014-10-29 17:15:14 +00:00
Ralf Becker
dec861fb3e do not use full path of attachments in compose popup 2014-10-20 18:08:03 +00:00
Hadi Nategh
fb35fdb8c2 Fix cc, bcc fileds, sent from AB to an open compose dialog, overflow the others 2014-10-20 12:25:43 +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
Klaus Leithoff
e2b160aede fix problem with undefined var w_h in javascript 2014-10-16 09:50:16 +00:00
Hadi Nategh
cb94c506d9 Fix hide handler of cc, bcc expander in compose 2014-10-16 08:29:10 +00:00
Hadi Nategh
ea47198d35 Fix copy/move of mail to another mail account 2014-10-14 08:01:52 +00:00
Ralf Becker
178bca7f7a fix redirect loop initiated eg. by saving a mail, caused by document.location=url triggering etemplate unload handler and destroying et2 request, identical redirect url detected by jdots framework causes refresh via nextmatch --> next redirect 2014-10-08 20:02:59 +00:00
Ralf Becker
1b9865bbbf fix javascript error "no method indexOf of undefined" 2014-10-06 09:57:50 +00:00
Hadi Nategh
3566d96698 Add documentation to commit r48728 2014-09-24 12:08:10 +00:00
Hadi Nategh
695e78c455 * Mail: Make switching between different folders of an mail account available in ACL dialog
-Style mail ACL dialog
2014-09-24 12:02:35 +00:00
Hadi Nategh
0b61fd4184 Make sure the opener window is still there before asking about its widgets.
-Fix mail compose save as draft throws an error if the mail tab is closed while saving.
2014-09-23 12:19:28 +00:00
Ralf Becker
f9c81f1af5 single from address was shown twice in mail display 2014-09-23 08:42:31 +00:00
Hadi Nategh
c0b92e9f10 Adjust mail preview header part according to its content 2014-09-22 16:25:36 +00:00
Hadi Nategh
3e7b572f16 Avoid to refresh mail list if the active folder is not the Draft folder while saving compose mail as draft 2014-09-22 09:07:48 +00:00
Hadi Nategh
c74a2d7501 Fix save as draft confirmation message does not disappear after a while 2014-09-22 08:12:54 +00:00
Hadi Nategh
adc8edb791 Implement draft autosaving for mail compose.
- Auto saving interval is every 2 minutes.
2014-09-12 12:10:48 +00:00
Hadi Nategh
7ca9e5c6bf Restructure compose save as draft functionality and implement it as an ajax function 2014-09-12 11:52:38 +00:00
Hadi Nategh
491e0002ca * Mail/Chrome: Fix not closing print dialog in compose after print or cancel in Chrome 2014-09-09 13:55:43 +00:00
Hadi Nategh
bdcda95930 Make the saveAsDraft and print functionality working in mail compose dialog 2014-09-09 12:08:08 +00:00
Ralf Becker
4d7f00d0fd nextmatch responses got cached for in meantime changed folder 2014-09-08 15:45:37 +00:00
Hadi Nategh
a884f3e444 Fix error "cannot read property of undefiend of indexOf" in mail expand on click 2014-09-08 14:09:21 +00:00
Klaus Leithoff
dc472cdb11 handle problems in email display and processing for further use after commit rev48461 2014-09-05 12:20:49 +00:00
Hadi Nategh
545531ba99 Make sure ckeditor is loaded before calling resizehandler in mail compose 2014-09-05 09:50:30 +00:00
Hadi Nategh
fe2e78f628 Mail compose and display dialog styling improvment 2014-09-04 09:01:43 +00:00
Hadi Nategh
e01c5506e6 Work in progress of mail attachment box styling in compose and display dialogs 2014-09-03 15:48:57 +00:00
Hadi Nategh
311a2efe53 * Mail: Fix mail compose attachment is not shown while it's on upload progress for the first time 2014-09-03 12:42:34 +00:00
Ralf Becker
90672ca3af also need to set/remove "read" flag when removing/adding "unseen" class 2014-09-03 10:34:14 +00:00
Hadi Nategh
8460b4d44a * Mail: Fix changing flags does not affect immidiately on mail list 2014-09-03 09:58:21 +00:00
Hadi Nategh
db4d26482a Use url-email contact_plus attribute in mail index instead of binding tooltip explicxitly on mail app 2014-08-29 15:16:23 +00:00
Hadi Nategh
b2d03e62fe Consider INBOX as default folder for edit ACL.
-Fix selecting edit acl from context menu on mail profile name (root folder) gives an javascript error
2014-08-28 12:30:16 +00:00
Ralf Becker
2ee25bc790 using JSON.stringfy() directly gave a crash in Safari 7.0.4 2014-08-21 18:28:05 +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
Klaus Leithoff
162c08a457 fix broken move via nm-action-menu-entry 2014-08-19 13:54:04 +00:00
Nathan Gray
b2544e1b2d When moving mail, remove any cache for target directory 2014-08-18 20:53:23 +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
Hadi Nategh
67c939d0e1 * MAIL/Compose: Make to/cc/bcc fields draggable and droppable.
- Ctrl+ dragging copy the email to target, otherwise it moves to target.
2014-08-14 14:44:16 +00:00
Hadi Nategh
bcedbb950e Fix switching between HTML/PLAIN is not working on mail compose 2014-08-13 12:55:28 +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
Nathan Gray
deeebeb77f Directly delete any trash cache when trash is emptied 2014-08-12 19:06:58 +00:00
Hadi Nategh
e06b02f6f6 Call ajax_refreshVacationNotice as a static method 2014-08-11 12:44: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
Hadi Nategh
449dea5553 Unlock mail folder tree after setFolderStatus operation is finished 2014-08-07 15:56:25 +00:00
Hadi Nategh
1d8c630a17 Lock mail tree by clicking on "empty trash" action and unlock it after the operation is finished 2014-08-07 12:57:33 +00:00
Nathan Gray
a28cbb4d7e - Fix cache key to include sorting
- Fix cache key for initial load, was missing selected folder
- Avoid deleting data, it causes blank rows.  Refreshing instead.
2014-08-06 21:13:27 +00:00
Nathan Gray
dcc6166212 Use cache callback to unlock folder tree immediately when the cache is used. 2014-08-04 17:04:45 +00:00
Hadi Nategh
a105ac7e1d Append aliases to mail vacation addresses insted of replacing them with existing one 2014-08-01 13:40:45 +00:00
Nathan Gray
d21e2b2dd7 Avoid error if _filters is not set 2014-07-29 22:10:48 +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
Hadi Nategh
95e1fb860a Make sure et2 is availabe, because it could be not available over cases like when mail connection error. It Fixes error: "can not read getWidgetById of undefined" 2014-07-18 17:22:28 +00:00
Klaus Leithoff
5933d54150 try to recover from non existing this.et2 2014-07-17 14:39:56 +00:00
Hadi Nategh
96dfb6d04f Make sure there are attachments to register them for drag 2014-07-16 11:10:25 +00:00
Hadi Nategh
304dcf42a3 Fix accidently overwritten messages of commit 47671 by commit 47680 2014-07-15 11:35:47 +00:00
Hadi Nategh
fb98168c7e Fix confirmation dialog messages for move/copy mail 2014-07-15 11:17:03 +00:00
Ralf Becker
82953bf156 change phrase "all messages in current folder" to "all messages in current view", as we take search and filters into account, also change German translation accordingly 2014-07-15 09:37:08 +00:00
Nathan Gray
2b1d6e2244 Add drag action for display popup attachments 2014-07-14 20:50:08 +00:00
Hadi Nategh
4d24812a48 Unlock the mail tree after move/copy actions 2014-07-14 15:56:34 +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
Hadi Nategh
a1b31addf1 Lock the mail folder tree for long time response operations (e.g. empty trash, or delete all) 2014-07-09 15:21:42 +00:00
Klaus Leithoff
096f753a59 different approach on calling bulk-download (all attachments in one archive) 2014-07-08 12:01:29 +00:00
Klaus Leithoff
0d3e58c01d fix typo 2014-07-08 09:30:24 +00:00
Klaus Leithoff
37ddf7d9c3 make sure by detecting the active filters, we get the filters set to mail -> nm (similar issue as rev47468) 2014-07-08 09:22:21 +00:00
Hadi Nategh
2681b2cee2 Fix lack of documentation 2014-07-03 14:03:59 +00:00
Ralf Becker
67677ff53c get selection of all mails to eg. delete working, if other tabs/apps were opend before mail 2014-07-02 07:48:24 +00:00
Klaus Leithoff
ecccc18d1c fix situation on single message in a folder selected, but on action cancel on dialog does not cancel 2014-07-01 15:22:18 +00:00
Klaus Leithoff
872b18a631 fix substr typo (copy n paste error) 2014-07-01 12:09:10 +00:00
Hadi Nategh
79f2554120 Fix mail "move to folder".Missing start index in substr function 2014-07-01 09:23:29 +00:00
Klaus Leithoff
49830e59a3 use egw dialog for strg+a messages 2014-06-26 15:05:04 +00:00
Klaus Leithoff
ebda07c37d handle js error, if preview pane is down 2014-06-26 08:24:16 +00:00
Klaus Leithoff
121e18fd50 checkAllSelected checks only nm for all selected 2014-06-24 14:29:32 +00:00
Klaus Leithoff
66f3c1d588 Strg+A (select all): if there is only one mail, even if the message is correct, regarding all messages in the mailbox; skip it 2014-06-24 08:49:39 +00:00
Hadi Nategh
e8fef0847c Remove unnecessary "console.log" commands which they were out commented in the code 2014-06-23 16:31:43 +00:00
Hadi Nategh
2aa1bece1f Fix mail expnad on click if the mails are passed as comma seperated serialise. Additionally, fix couple of IDE warnings 2014-06-23 16:22:30 +00:00
Klaus Leithoff
d071e645cd implement Strg+A on Message deletion per folder 2014-06-20 12:05:03 +00:00
Hadi Nategh
23ca90c448 Add resizeHandler method for mail compose window, in order to control textArea size 2014-06-03 16:37:50 +00:00
Hadi Nategh
cf28231770 Work in progress of improving mail compose UI 2014-06-02 16:57:30 +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
d58b111165 Remove _targetapp argument from observer and add _links. Additionally, make sure if the application, fired observer, is linked and needs to be refreshed 2014-05-26 14:01:18 +00:00
Hadi Nategh
797143e7e4 Get to show CC, Bcc field in compose after request of adding mail addresses from AB in case of an already opened mail 2014-05-23 15:17:42 +00:00
Hadi Nategh
80e7ca390c Fix printing mail for Firefox printing issue 2014-05-23 14:44:36 +00:00
Ralf Becker
b00dc896ea updating/refreshing tree on mail account changes using new observer method (not yet fully working, probably because of caching in mail backend) 2014-05-23 10:11:17 +00:00
Ralf Becker
f5c186c384 use observer in mail to overwrite refresh for Sieve rules in iframe (like app_refresh) 2014-05-23 09:21:59 +00:00
Hadi Nategh
af63a49792 Remove Cancel button from sieve rule delete confirmation dialog, as there is already a "No" button 2014-05-23 07:57:16 +00:00
Hadi Nategh
253bc18f90 Make sure to send json request from the current window 2014-05-22 15:22:19 +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
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
Hadi Nategh
f820209a6a Set account object based on acc_id. Additionally, disable acc_id selectbox if not is_admin_vac 2014-05-21 17:44:10 +00:00
Ralf Becker
f27fbd3fc8 changed emailadmin_imap to switch emailadmin_sieve to exceptions and handle these for vacation now 2014-05-20 15:39:20 +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
cb0901e3b8 * Mail/Vacation: Make vacation be able to be set from both Admin and Mail 2014-05-20 08:48:50 +00:00
Klaus Leithoff
88488caa6e fix typo that prevented totracker actions, when no rights for infolog 2014-05-19 12:29:26 +00:00
Hadi Nategh
029adcca5e Fix add emails from AB to mail compose getting join with comma. Additionally, fix warnings, and complete undocumented functions 2014-05-16 15:39:05 +00:00
Hadi Nategh
cf4ddbc60f Fix "add aliases button", add nothing 2014-04-25 10:38:31 +00:00
Hadi Nategh
8633fc35e0 Get Print action working for mail Preview 2014-04-17 09:59:08 +00:00
Hadi Nategh
d007da8e79 Fix print styling for mail Display popup 2014-04-16 17:16:42 +00:00
Klaus Leithoff
ff6484bbbb if this.et2 is not defined, try to recover, if this fails, return silently and skip attempt to refresh quta/vacationnotice/filter/filter2 2014-04-15 11:57:15 +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
Nathan Gray
2e72b12452 Only email addresses in mail app need the hover popup, so move it into mail app. 2014-04-07 19:25:17 +00:00
Klaus Leithoff
0113cd678c if this.et2 is null, skip accessing/setting vacationnotice 2014-04-07 11:51:25 +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
Nathan Gray
464c0f27fb Make sure quotabox is there before using it 2014-04-02 20:20:49 +00:00
Ralf Becker
33b93e0665 fixed every mail seems to request a delivery notification (caused by dataElem.data.dispositionnotificationto === null) 2014-03-26 09:09:30 +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
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
b770de8b10 fix problem with expected format on missing content in parameter list of functions on action 2014-03-07 10:06:04 +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
Ralf Becker
8b031a2ee2 fixed undeclared variables becomming global variables 2014-03-03 13:10:27 +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
Hadi Nategh
b5f6e35291 Fix mail common ACL options, not to select "all" if all are selected 2014-02-28 13:49:10 +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
Nathan Gray
cc11aede69 Remove an extra refresh or two.
Fixes row missing data after move.
2014-02-27 00:22:25 +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
Hadi Nategh
8f26f6fc56 Fix undefined var mail sieve 2014-02-14 09:37:59 +00:00
Hadi Nategh
e670459122 Fix mail ACL rights selector 2014-02-14 09:24:52 +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
Hadi Nategh
86bfd86826 Fix mail ACL select checkboxes not working. Additionally, cleanup and ducument sieve functions 2014-02-13 17:06:16 +00:00
Hadi Nategh
e84d243b5d Fix "Cc" and "Bcc" expander button 2014-02-13 08:16:14 +00:00
Ralf Becker
0ea2df92d8 fixed some javascript errors and ide warnings (long way to go) 2014-02-12 20:12:59 +00:00
Klaus Leithoff
9da0b4c9e2 harden CheckFolderNoSelect to ensure that we are ablen to enter tree context 2014-02-12 13:10:04 +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