Commit Graph

247 Commits

Author SHA1 Message Date
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
Klaus Leithoff
5e41e076e8 avoid preview artifacts on preview of no search results 2014-02-10 10:04:59 +00:00
Klaus Leithoff
c4b8bd6c17 avoid javascript error on preview of no search results 2014-02-10 09:56:40 +00:00
Klaus Leithoff
08e01e54cf reduce possible unseen counter on folderlabel on preview and mail-open; no server roundtrip, just grab the label, extract the counter, reduce by one, set the label 2014-02-07 14:34:04 +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
4a4327d57e some userinteraction for show all folders, improve regex for unseen detection 2014-02-06 12:48:01 +00:00
Klaus Leithoff
903245f550 first shot at show all folders menu action on tree 2014-02-06 09:09:57 +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
Ralf Becker
92701be185 setting foldernames now as text and (optional) style 2014-02-05 12:23:04 +00:00
Hadi Nategh
4cce431c6f Change mail display layout, and apply click on expand for url-email instead of tagist. Additionally, build an extra function for url-email expand on click 2014-02-04 12:51:15 +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
Nathan Gray
2eff897d52 Make sure this.et2 is there before trying to use it.
Fixes type error when closing un-viewed mail tab.
2014-02-03 16:41:10 +00:00
Klaus Leithoff
7c28c6c016 make mailattachments of type message/rfc822 clickable on compose 2014-01-31 10:21:58 +00:00
Klaus Leithoff
b8dccc2641 fix for forward as attachment 2014-01-30 13:37:36 +00:00
Klaus Leithoff
e70a7bcf07 make uploaded/attached files clickable on compose 2014-01-30 09:35:56 +00:00
Hadi Nategh
d6b7350e5b value attribute could be undefined. It is safer to check it with get_value() since it return empty array if there's no value 2014-01-27 20:07:06 +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
7c4abc8da1 make cc/bcc field visible if values are present/preset 2014-01-23 13:59:10 +00:00
Klaus Leithoff
5564cb6e26 remove recent flag on preview too 2014-01-23 13:16:26 +00:00
Nathan Gray
4f9c9a8892 Clicking on profile in tree changes profile & selects inbox 2014-01-22 09:32:18 +00:00
Nathan Gray
1924a5f574 Some clean up:
- Avoid eval to create regular expression to check if string contains substring
- Remove extra event bound to tree click, using the one already there
- When changing profile, no longer calling applyFilters() on nextmatch when server is going to call egw_refresh()
2014-01-21 18:56:03 +00:00
Klaus Leithoff
bbfed65c0b handle click on forbidden/unwanted nodes 2014-01-21 17:11:58 +00:00
Nathan Gray
0fa870d53f Don't need an explicit reset, applyFilters() does it 2014-01-21 15:23:33 +00:00
Klaus Leithoff
ba7184f44f handle flagging of message as seen explizitly on preview 2014-01-21 14:46:00 +00:00
Ralf Becker
9f0f33e360 implementing callbacks for "onopenstart" and "onopenend" events: set_onopen(start|end)() and using it in mail to lock tree while accounts are newly opened 2014-01-21 13:34:02 +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
Ralf Becker
eaa6376170 method to lock and unlock tree (stop receiving clicks and give user visual feedback that we are working on his request 2014-01-21 10:21:59 +00:00
Nathan Gray
e73eeab637 - Reset before applying filters, not after
- Use applyFilters() to change filters instead of directly modifying
2014-01-21 09:41:19 +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
ab9423573b improve skip out condition on filter for search strings; fix javascrip error on unavailable next 2014-01-20 11:53:19 +00:00
Nathan Gray
f6420e9572 Disable preview pre-loading until we get all the details worked out 2014-01-20 08:19:22 +00:00
Nathan Gray
55155797d5 After previewing an email is finished, request the next one in the list.
Browser will cache it, making it available to the user faster.
2014-01-18 17:01:29 +00:00
Hadi Nategh
c2c8651097 Change layout of mail compose 2014-01-18 14:01:07 +00:00
Nathan Gray
f0c46ad6f8 Some UI improvements
- call delete async, server can notify of failure
- Immediately delete row for fast feedback
- leave preview open, nextmatch will select next row
2014-01-17 18:00:36 +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
Klaus Leithoff
c58ebacf08 fix cannot set property read of undefined 2014-01-16 12:07:45 +00:00
Klaus Leithoff
c23a3f5524 remove references to old refreshTime preference 2014-01-14 08:35:22 +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
ef1596fd5a Pick a better DOM node to put the loading indicator - using just the tree node from the action causes too many loading animations 2014-01-11 12:51:45 +00:00
Nathan Gray
473d7e2001 Move mail folders via drag and drop 2014-01-11 11:58:31 +00:00
Klaus Leithoff
5f85d2a592 fix javascript error for missing toolbaractions 2014-01-10 13:33:28 +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
1b873c4372 simple dialog for moveFolder action 2014-01-06 09:51:24 +00:00
Nathan Gray
abf75566b3 - Preview attachments now shows/hides similar to TO && CC addresses
- Re-order preview fields
- Fix auto-refresh would not turn off
2013-12-23 22:37:40 +00:00
Nathan Gray
ebc4845c64 - Fix doubling of to address
- Only show display more addresses button if all addresses are not visible.
2013-12-23 18:20:52 +00:00
Hadi Nategh
dc02eb28d7 Make folder acl be able to be selected from differnet accounts 2013-12-20 16:17:12 +00:00
Hadi Nategh
07e7e4978c Show/Hide unsubscribed folders in mail folder tree 2013-12-20 10:48:04 +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
Nathan Gray
60c9fcd4dd Finish up preview email display handling TO with one address split out. 2013-12-18 18:40:01 +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
Klaus Leithoff
3ae3d07fa5 hint nathan to ccaddresses available in dataElem.data; use fixed height for compose window 2013-12-17 08:47:16 +00:00
Nathan Gray
45f4aca24c Email address display work in progress 2013-12-17 00:26:29 +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
Nathan Gray
46253ec346 Shuffle some stuff around so switching folders works too. 2013-12-10 18:13:28 +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
Nathan Gray
3f531a29c0 Since we're changing dataset, force a reset() to clear cache and stuff. 2013-12-09 21:44:50 +00:00
Klaus Leithoff
a9903e8847 mend absolute path problem for address popup 2013-12-09 14:31:01 +00:00