Commit Graph

617 Commits

Author SHA1 Message Date
Hadi Nategh
209b6de3a2 Mobile theme W.I.P.:
- Fix mail preview does not show calendar meeting mails
2016-04-20 09:54:33 +00:00
Klaus Leithoff
5f7eab435b merge startdate and enddate to activeFilters. if set 2016-04-12 13:37:38 +00:00
Klaus Leithoff
1a885f29e5 first step to allow for a date-range-filter on ui, allows quicksearch too; not yet available on selected-mail-operations 2016-04-12 12:53:50 +00:00
Hadi Nategh
e58851c50f Mobile theme W.I.P:
- Fix view destroy and close eg. used in mail view -> delete
2016-03-29 15:49:33 +00:00
Ralf Becker
4f3eb21e84 remove since 14.3 no longer necessary workaround for submiting mail compose to a different url, which was causing now problems (Application echoed something), and fixed not always instanciate $contacts_objs from previous commit 2016-03-29 10:13:32 +00:00
Ralf Becker
b540582c2b removing minified files again from svn and creating them automatic in our build and deployment scripts 2016-03-03 16:17:21 +00:00
Hadi Nategh
784aa2c82f Mobile theme W.I.P:
- Fix view mode loads with wrong context
- Fix mail view actions
2016-03-03 14:10:08 +00:00
Ralf Becker
ecb4b7e74a remove ckeditor from api bundle (it does not work, is already minified and uglify work a lot faster without) 2016-03-02 14:34:01 +00:00
Ralf Becker
f25070a9c2 - switching minifying of javascript to use Grunt and Uglify (instead of doing it on the fly with php on every host)
- generating now a couple of bundles: api, et2, mail, calendar, jdots, pixelegg and mobile
- developers need to update minified files whenever a javascript file changes: grunt uglify[:(api|et2|mail|calendar|jdots|pixelegg|mobile)]
- minified files also contains a map file allowing to debug with them
2016-03-01 20:45:31 +00:00
Hadi Nategh
2355f5edf5 Mobile theme W.I.P:
- Implement view mode for mail
- Improve performance for reading mails
2016-03-01 17:00:28 +00:00
Klaus Leithoff
20a27ad0fe reflect change in filters (additional details/no details) in app.js refreshFilter2Options refreshCatIdOptions 2016-02-25 12:26:50 +00:00
Klaus Leithoff
0f9fcefc8a set mail as appName to access translations in callback-popup 2016-02-05 11:47:54 +00:00
Klaus Leithoff
c1e374ea02 * Mail: deny moving folders from one mailaccount to another as we are not supporting it 2016-02-04 13:54:58 +00:00
Hadi Nategh
c8bc389d87 Mobile theme W.I.P.:
- Implement standard header for mail compose
- Fix toolbar style
2016-01-26 11:51:56 +00:00
Klaus Leithoff
50ee8dded0 some more translations and changes implied by them 2016-01-22 11:20:48 +00:00
Klaus Leithoff
0b7c76856a some suggested translations 2016-01-21 15:07:34 +00:00
Hadi Nategh
d62c9038dc Mobile theme WIP: Implement new look for mail compose dialog 2016-01-13 17:48:50 +00:00
Hadi Nategh
6c52615882 Use human-readable folder label for mail folder d-n-d messages 2016-01-08 09:14:07 +00:00
Hadi Nategh
a14e52753b Prompt user for mail folder d-n-d action 2016-01-07 11:31:17 +00:00
Hadi Nategh
748eb1ea2f Implement progress indicator for mail folders d-n-d 2016-01-07 11:12:32 +00:00
Hadi Nategh
6124a7fc21 W.I.P. of new approach for mail winmail.dat attachment handling
- Try to use mail client cache and store resolved winmail.dat attachments, it will avoid resolve it again
2015-11-30 14:55:39 +00:00
Hadi Nategh
0b0937f316 W.I.P. of new approach for mail winmail.dat attachment handling
- Fix iframe in preview overlays attachment area
2015-11-30 08:54:02 +00:00
Hadi Nategh
e1f4574b9a W.I.P. of new approach for mail winmail.data attachment handling
- Fix mail list is loading super slow if there are mails with winmail.data attachments
- Performance improvement for reading mails in preview pane with winmail.data
2015-11-27 16:17:59 +00:00
Ralf Becker
cf332755e9 textAreaWidget.ckeditor is null not undefined 2015-10-28 09:04:38 +00:00
Ralf Becker
b8f2902e80 fix double load of UI in compose after adding attachments caused by errors in mail app.js compose_resize handler 2015-10-27 11:44:54 +00:00
Hadi Nategh
9dd37010d4 Trigger explicit resize of splitter left panel when undock, because it would not be resized with correct size if it happens after sidebar get resized 2015-10-15 13:02:26 +00:00
Hadi Nategh
fe9dcbcc12 Get folders status asynchronously as it is an expensive operation to be called in initial load 2015-10-06 10:51:35 +00:00
Hadi Nategh
773fbf7eea Fix mail compose resize does not work always 2015-09-23 10:51:27 +00:00
Hadi Nategh
220d5b8ed4 Fix mail actions update for nm context menu, preview and display toolbar 2015-09-21 14:04:48 +00:00
Hadi Nategh
d3cd05165d Fix mail TO field is not getting focused, and initial resize does not work 2015-09-16 14:07:56 +00:00
Hadi Nategh
4479cf64c5 Mailvelope backup/restore integration WIP:
- Add mailvelope installation dialog for mail and infolog
2015-09-15 16:42:52 +00:00
Hadi Nategh
472636c32c Fix mail filter rules list does not get displayed 2015-09-07 08:25:53 +00:00
Hadi Nategh
a44e9a6f9e * Mail/preferences: Add Preview Pane option into mail preferences in order to be able to show/hide mail preview pane (split panel) 2015-09-02 09:31:47 +00:00
Ralf Becker
00ccd37a24 enable since Mailvelope 1.0 available signing and sigature verification of encrypted messages 2015-08-20 07:02:06 +00:00
Hadi Nategh
2cfc6586b3 Mail folder management dialog:
- Add more translation
2015-08-14 10:07:02 +00:00
Hadi Nategh
3b4864df7c Mail folder management dialog:
- Add some translation
- Add hints for multiple selection action
- Some styling
2015-08-13 17:34:12 +00:00
Hadi Nategh
6a1f5393e4 Mail folder management dialog:
- Add delete confirmation dialog in order to warn user
2015-08-13 11:54:50 +00:00
Hadi Nategh
fb6d06e322 Mail folder management dialog:
- Fix folder refresh on both index and folderMgmt trees
2015-08-13 10:29:51 +00:00
Hadi Nategh
c7cc902e1a WIP mail folder management dialog:
- Use long task dialog
- Fix multiple selection and highlighting
- Update index tree after delete operation
2015-08-11 16:28:59 +00:00
Hadi Nategh
85286a70da WIP of mail folder management dialog (multiple folders delete action) 2015-08-10 15:45:22 +00:00
Hadi Nategh
824fcf77f1 Fix couple of IDE warnings 2015-08-06 09:36:55 +00:00
Hadi Nategh
5e789237ed Fix custom rights option messes selected mail acl rights 2015-08-06 09:27:10 +00:00
Hadi Nategh
b12ac79060 Mail tree phase2 W.I.P.: Open tree when changing profile 2015-08-05 10:48:34 +00:00
Hadi Nategh
04145bf597 Mail tree W.I.P.:
-Show ajax-loader on clicked node while autoloading processing
2015-07-28 09:58:32 +00:00
Hadi Nategh
0c7e104027 More work in progress of mail tree:
-Initiate first level of mailboxes in subscription dialog, and let autoloading do the rest of expensive operation
-Save last state of tree in subscription dialog
-Uses new approach for comparing subscribed and unsubscribed folders
2015-07-27 17:46:45 +00:00
Hadi Nategh
cc979c563e * Mail/copmose: Fix mail compose d-n-d for emails and distribution lists 2015-06-16 12:19:57 +00:00
Hadi Nategh
f64e44ffad Fix mail display print with IE load issue 2015-06-03 10:48:43 +00:00
Hadi Nategh
3908b46079 Fix mailvelope display print with multipage content 2015-06-02 15:26:51 +00:00
Hadi Nategh
9a572dbf7d Prepare mailvelope iframe to be printed, and hide other original frames 2015-06-02 11:01:45 +00:00
Ralf Becker
2699dddc4e fix selector for Mailvelope iframe under Firefox 2015-05-29 11:04:09 +00:00
Ralf Becker
ddbe8ccec3 encryption of InfoLog entries (EPL only) 2015-05-28 14:40:33 +00:00
Hadi Nategh
5e911b879d Bind the load event only once (.one), seems the jQuery(.on)+IE calls load event on an iframe twice 2015-05-28 09:28:34 +00:00
Ralf Becker
ad07c416bf adding an own recipients onChange callback, as set_dragging_dndCompose is also called on hover 2015-05-26 16:33:35 +00:00
Ralf Becker
f0da3a71f9 fix error when switching encryption on for text mail, fix double signature when switching encryption off (by not doing a server round-trip) 2015-05-26 16:19:28 +00:00
Ralf Becker
d384f2407a fix replies to encrypted mails dont open with encryption switched on 2015-05-26 15:25:54 +00:00
Hadi Nategh
51fd95b69c Do not allow to drag an invalid email address in compose 2015-05-22 15:24:50 +00:00
Ralf Becker
c41156c47c check if we have PGP keys for all recipients, before switching to encrypted mail, when adding further recipients and before trying to send 2015-05-20 15:24:08 +00:00
Hadi Nategh
394f7394ff Introduce a checkbox method for toolbar widget in order to be able to get/set checkbox actions
- Function pattern: widget.checkbox(action_id,[value])
- Fix encrypt toolbar action set/get according to new method
2015-05-20 15:18:00 +00:00
Ralf Becker
c7765473f3 - fix autosave and save as draft to store encrypted content
- fix inline reply to encrypted message to clientside decrypt message and add signature
2015-05-20 07:26:15 +00:00
Ralf Becker
517286fdab using now a domain-specific "egroupware" keyring, instead of default "mailvelope", which only works on localhost, plus improved instructions 2015-05-19 20:23:38 +00:00
Ralf Becker
a480dfc022 Encrypt toggle-button in compose to switch PGP encrypted mail on and off 2015-05-19 18:56:12 +00:00
Hadi Nategh
9dc4cd76b3 Delay the drag action for d-n-d emails in compose 2015-05-19 16:12:28 +00:00
Hadi Nategh
bab4de6d16 Apply resized height value to parent container of textarea in compose 2015-05-19 13:30:48 +00:00
Ralf Becker
58aaff6b9b WIP mailvelope API integration:
- compose of plaintext mails works now
- display of encrypted mails in preview and display popup
ToDo: html compose, switching html on/off and resize of mailvelope iframe in compose
2015-05-17 19:03:45 +00:00
Hadi Nategh
8f20e57599 Make sure the popup has value and not false, the mail integration hooks may not be registered yet 2015-05-12 13:21:08 +00:00
Ralf Becker
a3453dbcd6 fix typo causing PHP Fatal error if "writable share" is selected in community version 2015-04-25 07:21:26 +00:00
Hadi Nategh
53363be626 Implement mail integration to an existing ticket 2015-04-20 14:31:21 +00:00
Hadi Nategh
b7c6be226d WIP of mail integration
-Centralize mail functionality of mail message integration in mail module
-Some clean up of mail_import in infolog and tracker apps
-Use hook registery in order of an app uses mail integration services
-Implement mail import into calendar
2015-04-15 11:23:59 +00:00
Hadi Nategh
728b165720 Fix mail compose not getting in focus on body when using html 2015-04-01 07:34:02 +00:00
Hadi Nategh
76c0911dcc Get focus on To/Body field depending on To field value 2015-03-30 13:47:08 +00:00
Nathan Gray
97efc7808c Let filemanager/vfs handle escaping characters instead of just stripping them out 2015-03-18 16:20:11 +00:00
Hadi Nategh
cc946b7c3e Fix mail sieve rules issues regarding idots and mobile theme 2015-02-27 16:28:51 +00:00
Hadi Nategh
9ae9ae7274 Implement mobile template for mail index:
- Do not create Splitter for mobile template
- Fix extra_iframe for displaying sieve rules covers mail tree when it is display:none (eg.happens in idots)
- Improve mail app performance browsing with mobile device
2015-02-27 14:47:27 +00:00
Hadi Nategh
6c52c48866 Disable compose dialog resize for mobile devices 2015-02-24 16:33:17 +00:00
Hadi Nategh
c45afda8b0 Use CKEditor resize method in order to resize mail body 2015-02-23 15:56:33 +00:00
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
0413898ce4 * Mail: composed mails saved as draft contains again attachments, drafts created by autosaving every 2 minutes do not for performance reasons 2015-02-18 10:10:10 +00:00
Ralf Becker
2eb5b6f097 read attachment data from etemplate request, use tmpname only to identify it 2015-02-14 20:10:26 +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
Hadi Nategh
32f3a52280 Prepare mail display iframe for printing 2015-02-12 09:02:56 +00:00
Hadi Nategh
df76d33437 Fix mail compose toggle buttons set values 2015-01-13 15:52:00 +00:00
Hadi Nategh
5129750d2e Fix priority toolbar action loses its selected label after submit in compose dialog 2015-01-13 12:14:41 +00:00
Hadi Nategh
e0e3565208 Fix mail compose notification not working 2015-01-13 09:54:19 +00:00
Hadi Nategh
9cac913e33 Fix taking wrong value for priority in compose dialog 2015-01-09 12:58:06 +00:00
Hadi Nategh
bd56119d38 Set default priority toolbar action to normal in compose dialog 2015-01-09 10:54:53 +00:00
Hadi Nategh
c041ea1801 Fix vfs save message dialog size 2015-01-09 09:08:17 +00:00
Hadi Nategh
bc1578693c Implement save into VFS for mail compose toolbar 2015-01-08 17:06:56 +00:00
Hadi Nategh
7134da86b3 Fix compose toolbar ids 2015-01-07 17:37:56 +00:00
Hadi Nategh
d3d84782a5 Implement mail compose toolbar with toolbar widget which makes actions draggable 2015-01-07 11:57:34 +00:00
Hadi Nategh
e4ea46f1f1 Call the vacation notice refresh for the active profile when the mail app gets loaded 2015-01-06 15:59:41 +00:00
Hadi Nategh
39cc660c0d Implement set window title for each application with a default title field or define an app specific custom get title 2015-01-05 14:28:35 +00:00
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
090693c122 fixed mail preview was not sending CSP headers and clicking on mailto-urls redirected to home 2014-03-03 14:57:17 +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
Klaus Leithoff
7809cdcdcc preparation for tree-menu action control on noSelect folders 2014-02-11 15:20:44 +00:00
Klaus Leithoff
d0b72178f7 fix problem on client side counter decrease 2014-02-11 12:18:03 +00:00
Hadi Nategh
5cceb7febc DOMNode is available as third parameter since the first and second are reserved for event and widget 2014-02-11 10:45:01 +00:00
Klaus Leithoff
814e5d1204 fix problem with clicking on attachments in preview 2014-02-11 10:01:48 +00:00
Nathan Gray
1450ac0016 Missed ID change from r45523, fixes undefined error when double-clicking a mail 2014-02-10 22:41:53 +00:00
Nathan Gray
74b52fb1da Fix preview never docks, caused by too early return skipping the hiding. 2014-02-10 19:52:23 +00:00
Klaus Leithoff
3a8dacd710 fix javascript error on click on .ics attachments 2014-02-10 10:25:09 +00:00