Commit Graph

578 Commits

Author SHA1 Message Date
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
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
Hadi Nategh
95b704bd7d Fix combination common rights selector in ACL popup window 2013-12-09 11:17:32 +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
Hadi Nategh
aad8e35bee Add folder name indicator to mail_acl, also fix confirm dialog for delete button 2013-12-05 13:49:02 +00:00
Klaus Leithoff
2a7b7d9376 display all Adresses popup 2013-12-04 09:52:59 +00:00
Klaus Leithoff
2b5f986a75 first sketch for display all emailadresses popup 2013-12-03 16:46:32 +00:00
Klaus Leithoff
1dd472f567 attempt to fix getMailboxes / getMailboxesRecursive 2013-12-03 14:38:50 +00:00
Hadi Nategh
e9a7228a95 Fix delete buttons with new dialog in mail ACL popup window 2013-11-29 14:59:34 +00:00
Klaus Leithoff
bd55137531 some work regarding translation of mail app 2013-11-27 13:07:54 +00:00
Klaus Leithoff
e322875350 signature and identity control on compose; get rid of unsupported stationery-stuff 2013-11-22 13:55:09 +00:00
Nathan Gray
f0279d44a3 Some splitter fixes:
- Use new isDocked() instead of looking inside widget
- Some CSS fixes
2013-11-20 23:35:27 +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
Ralf Becker
670598a783 show available mail accounts of user and allow to switch between them, when calling mail wizard from admin >> manage accounts 2013-11-17 13:31:19 +00:00
Hadi Nategh
34827545cc Mail folder ACLs feature on mail app 2013-11-15 17:22:46 +00:00
Ralf Becker
6d226a7921 split constructor function and place of instanciation for app.js objects: app[appname] = new app.classes[appname](); 2013-11-04 20:54:23 +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
299936705f some steps to work with the new horde mail class 2013-10-24 07:15:48 +00:00
Klaus Leithoff
56bada408f rename template regarding list interface for manage identities and accounts 2013-10-21 14:41:51 +00:00
Klaus Leithoff
90dc7e6662 fix attachment methods (view/save/saveToVFS/saveAllToVFS) for previewarea 2013-10-21 13:07:32 +00:00
Klaus Leithoff
022ae3a310 use grids set_value method for attachmentArea display in Preview 2013-10-21 09:25:34 +00:00
Klaus Leithoff
40bb1078af basic implementation of open and edit on signature (no template for edit, and no action on delete yet) 2013-10-18 14:04:04 +00:00
Klaus Leithoff
eade0953b5 attempt to refresh previewAttechmentsArea grid with data; need refresh grid method; not implemented yet 2013-10-18 12:04:48 +00:00
Klaus Leithoff
95350da447 refresh quotaDisplay on folder change, and timed; prevent subject and filename from being translated 2013-10-18 09:58:25 +00:00
Klaus Leithoff
00fb069dc2 fix import-mail from local file; convert attachment block in display to grid widget; 2013-10-16 11:25:46 +00:00
Hadi Nategh
e5aa8a4873 Complete the missing "by date" option in mail app->sieve_rules->vacation 2013-10-16 11:22:53 +00:00
Klaus Leithoff
7f574b0a2a fix up preview area actions 2013-10-14 13:30:04 +00:00
Ralf Becker
be0530936c fixed taglist focus and click events to adhere to new event signature 2013-10-09 17:29:36 +00:00
Hadi Nategh
603fb8e782 Fix autoselected radioBottons for actions group in mail->sieve->edit popup 2013-10-09 16:44:03 +00:00
Ralf Becker
0163442f37 changed signature of on* event handlers: 1. event, 2. widget (context is DOM node), event handlers have now type "js" in attribute description and get automatic converted to a function, no more need to call et2_compileLegacyJS 2013-10-09 14:35:03 +00:00
Klaus Leithoff
03b901db04 work to get forward working; code cleanup; several other stuff 2013-10-08 14:23:46 +00:00
Ralf Becker
a6311fa1a3 creating and using an app-specific egw object 2013-10-07 16:53:13 +00:00
Nathan Gray
74b869640c Allow multiple compose windows 2013-10-07 15:28:49 +00:00
Klaus Leithoff
cd5d52d811 styling on compose toolbar; add print button on compose window; some codecleanup; some control regarding the compose actions on vfs-file-selector, infolog and tracker creation 2013-10-07 15:02:35 +00:00
Nathan Gray
81076f6e89 - Remove some unused variables
- Add check to make sure et2 object is there before using it
- Add function to set form content from array
2013-10-07 10:12:18 +00:00
Klaus Leithoff
a61dea2677 handle delete action from popup 2013-10-05 16:36:20 +00:00
Klaus Leithoff
94a8352575 show toolbar in preview area (non functional); add priority, disposition, save to infolog/tracker; some styling for toolbars in display and preview; disabling some actions in toolbar on display; remove testhtmlarea; 2013-10-05 14:15:29 +00:00
Nathan Gray
86abbbf443 Add compose prefix to window name so we can find all compose windows 2013-10-05 10:23:01 +00:00
Klaus Leithoff
7bf3db1a6f get some actions from mail-display working; fix mail-to-infolog; mail-to-tracker (missing convertHTMLToText) 2013-10-05 09:03:51 +00:00
Nathan Gray
3b3986e27d - Use mail_id in app.mail.compose() when there's no rows passed
- Some code consolidation in preparation for tracking open compose windows
2013-10-04 17:45:33 +00:00
Klaus Leithoff
4c6a249d40 use et2_obj.submit to toggle Editor; CKEditor prefs are lost then 2013-10-04 11:17:45 +00:00
Klaus Leithoff
e630823872 fix flag message action; hide quotabox if not supported; add toggle Editor to compose (not fully implemented) 2013-10-04 09:33:44 +00:00
Klaus Leithoff
0cea524cd7 stuff, to be able to do a server roundtrip for saving as draft; using vfs-file widget for compose AND import now. some removal of obsolete code; initialize quota bar 2013-10-03 16:09:25 +00:00
Klaus Leithoff
3733ef6d4c fiddle some stuff regarding the new vfs-file select widget; fix lable1-5 capability; 2013-10-02 14:50:24 +00:00
Klaus Leithoff
9288d23117 handle attachment area for preview and display, give basic details on attachment(s) on hover with title tag 2013-10-01 11:29:54 +00:00
Klaus Leithoff
e7a5418af2 get importFromVFS working, when selecting vfs file via vfs dialog 2013-09-24 13:38:02 +00:00
Klaus Leithoff
3bdc5577d8 fix sorting for mail app; try to get importMessage from VFS working -> ui form must get data from vfs openFile dialog and submitted when not in form context. still not working; ... 2013-09-23 08:33:30 +00:00
Klaus Leithoff
4b95b5b362 on submit of a form, move uploaded info to own datastructure (grid) to be able to preserve that over to formdata, in case we do stuff like saveAsDraft and other stuff, or to be able to manipulate the uploaded files information, or add files from vfs, ... 2013-09-11 13:46:00 +00:00
Nathan Gray
f10da7b36d Change ajax calls to jsapi egw.json() 2013-09-10 20:41:18 +00:00
Klaus Leithoff
cf26bde93c add fileupload widget to compose, display uploaded file list area below signature select box 2013-09-10 13:39:44 +00:00
Klaus Leithoff
55880077ee implement import mail from file (upload) 2013-09-05 14:52:11 +00:00
Klaus Leithoff
367811306f several stuff, AND basic attempt to handle upload files; first try with to importmessage and open. results in javascript error 2013-09-02 15:15:35 +00:00
Klaus Leithoff
102bc9d6a2 several stuff towards a compose window; a testhtmlarea template to test/figure out issues regarding disabled 2013-08-21 10:47:20 +00:00
Hadi Nategh
82faa1bd87 mail app-> sieve update 2013-08-09 17:47:53 +00:00
Hadi Nategh
da53230cd2 Add sieve rules to mail application 2013-07-25 15:48:18 +00:00
Hadi Nategh
3c23bd0dfb Add sieve rules to mail application 2013-07-25 15:35:44 +00:00
Klaus Leithoff
5b476d38e7 work in progress for compose 2013-07-20 07:23:55 +00:00
Nathan Gray
35ce67f62b Use readonly tag list for FROM as an example 2013-07-19 15:13:01 +00:00
Klaus Leithoff
c439cfbc72 implement search, with simple filter options as filter2; give title on popup display of message 2013-07-17 12:01:01 +00:00
Klaus Leithoff
9c2ff7cf80 provide a more presentable attachment section 2013-06-17 14:25:20 +00:00
Klaus Leithoff
547feb2391 one more step towards the display of the attachment list; way to tell wich template is loaded in app.js to be able to trigger resizing of the window and its sections 2013-06-12 11:50:30 +00:00
Klaus Leithoff
c7e763b705 use egw().open abstraction to open view popup 2013-06-06 09:14:14 +00:00
Klaus Leithoff
efa51c09b7 first draft regarding a display message popup 2013-06-05 14:24:56 +00:00
Klaus Leithoff
12f4018fd2 improve dock/undock on situations, when you click to preview, but e.g. a folder reload is still performing (sometimes however you just have to drag it into the open manually) 2013-06-05 10:41:38 +00:00
Klaus Leithoff
de5e5ba478 use same method to cache headers as felamimail; same cache store! try to gain control about the get_row calls 2013-06-04 15:29:53 +00:00
Klaus Leithoff
5fba6a1503 one more attempt to harden splitter dock/undock against breaking, as there are other methods to dock the split bar (e.g.:doubleclick) 2013-05-29 14:19:49 +00:00
Klaus Leithoff
c8a37e3c56 attempt to harden splitter dock/undock against breaking, as there are other methods to dock the split bar (e.g.:doubleclick) 2013-05-29 12:34:33 +00:00
Klaus Leithoff
0e0fff38ef trying to reduce calls to get_rows 2013-05-28 14:10:17 +00:00
Klaus Leithoff
4ba51c410a reenable splitter dock/undock; improve/fix bug in findNode regarding comparing node at hand and nodeid requested 2013-05-28 09:32:23 +00:00
Klaus Leithoff
a7fc441423 allow to delete messages immediately (on userinteraction), if OVERQUOTA error is encountered; completely hide preview area stuff on unselect (dock/undock still not working as desired); TODO: hiding the preview area by default 2013-05-27 13:48:55 +00:00
Klaus Leithoff
ab0404d500 disable dock/undock as I could not get it to work reliably 2013-05-21 12:05:21 +00:00
Klaus Leithoff
74ef3c6b5d small improvement of the preview functionality 2013-05-21 12:02:58 +00:00
Klaus Leithoff
1d963646f5 attempt to better control preview area; implementation of addFolder (action on branch still missing); basic search functionality 2013-05-21 08:46:54 +00:00
Klaus Leithoff
2a001498a1 implement delete action on tree; only the deletion of leafs (Items without children) is allowed and implemented by now 2013-05-13 14:42:42 +00:00
Klaus Leithoff
af6c57208a fully implement rename folder action on tree popup menu action. Subfolders are now subscribed and Re-Ided 2013-05-10 07:24:27 +00:00
Klaus Leithoff
918d5e787e * Mail: renaming folders-> give feedback to user while changing (suggested by nathan); fix problem while applying filters (was with old folder name) 2013-05-07 08:26:17 +00:00
Klaus Leithoff
0749b41b29 unset moved / deleted message store to control preview area 2013-04-30 14:16:52 +00:00
Klaus Leithoff
035e4b32b6 implement move7copy mails; rename folder simple renanme implemented. refresh of tree still to be done, if renaming a leaf inbetween 2013-04-29 14:56:33 +00:00
Ralf Becker
55b150cc14 added @meberOf JSDoc comment to constructor to get Eclipse show outline of class, also fixed several warnings 2013-04-13 10:30:07 +00:00
Klaus Leithoff
ccc75e2bc7 get preview working 2013-04-12 13:10:27 +00:00
Nathan Gray
ea175ca89d Change mail preview to use new nextmatch onselect method 2013-04-12 10:35:40 +00:00
Klaus Leithoff
b8609009dc broken mail app - to debug for nathan 2013-04-12 09:22:23 +00:00
Klaus Leithoff
7219683699 basic dragndrop action mailmove+mailcopy preparation (actual moving or copying not done yet) 2013-04-09 16:00:12 +00:00
Klaus Leithoff
42426121ab adapt AppJS usage in mail app, to get back to the state of usability before introducing it 2013-04-09 14:43:55 +00:00
Nathan Gray
da4215844d Use new AppJS base class for application javascript 2013-04-09 08:53:25 +00:00
Klaus Leithoff
9c830f7461 get some more actions to work 2013-03-05 14:09:35 +00:00
Klaus Leithoff
df1a2e20b5 get some more actions working (delete, view header, view message body) 2013-02-28 09:28:08 +00:00
Klaus Leithoff
91f9e29c49 rework of nodeIDs; to provide unfolding of profile nodes, change profile on-click, change folder on already opened nodes of other profiles, inital refresh 2013-02-20 16:27:10 +00:00
Klaus Leithoff
c8d6d4b436 first steps to change profile by click on profileNode 2013-02-20 11:31:57 +00:00
Klaus Leithoff
acd70575c6 lots of stuff like: css for attachments, flagged, message stati (recent answered, ...); display of all available accounts in sidebar, (ToDo: on open should connect and retrieve the folders); getCounters for current tree; flagging of messages 2013-02-19 16:30:59 +00:00
Nathan Gray
45d6f73dba Add stub drop actions to folder tree 2013-02-15 15:53:18 +00:00
Klaus Leithoff
0b7e7de01d get actions to show on et2; get refresh of the messagelist working; first step to implement row classes for recent/urgent 2013-02-14 17:10:20 +00:00
Klaus Leithoff
7fe9c7f97b name space issues within mail/js/app.js 2013-02-13 15:35:12 +00:00
Klaus Leithoff
cb91c4bb8c some css to style the foldertree, move the foldertree around, own app refresh method, handle and visualize NoSelect Folders 2013-02-13 14:02:02 +00:00
Klaus Leithoff
bd52ed3756 changeFolder stuff, triggered by javascript directly 2013-02-12 17:48:04 +00:00