Commit Graph

332 Commits

Author SHA1 Message Date
Klaus Leithoff
2feef10702 skip the use of all for identities, as is was a conceptual misunderstanding 2014-01-13 13:34:50 +00:00
Klaus Leithoff
eb97a233a1 stuff regarding egw_refresh and interdependecys with the mail app 2014-01-13 13:06:29 +00:00
Klaus Leithoff
4273257138 catch error on accessing unknown mail account attribute 2014-01-13 09:36:51 +00:00
Nathan Gray
c8cfe6464e Bind to nextmatch refresh event to update folder status too 2014-01-11 14:16:36 +00:00
Nathan Gray
473d7e2001 Move mail folders via drag and drop 2014-01-11 11:58:31 +00:00
Klaus Leithoff
b0f50abd78 fix condition for folder move 2014-01-10 13:07:01 +00:00
Klaus Leithoff
bf09e9e46f reflect on thrown out preferences for folder settings; disable non working code in updateAccount, addAccount and deleteAccount hook-functions, and prepare for new account object 2014-01-10 10:33:53 +00:00
Klaus Leithoff
48e4d8daa0 change notification for new messages: now based on hook ->check_notify<- ; clean up of preferences in expectation of moving of most of the stuff to mail-accounts-data 2014-01-10 09:19:07 +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
43ea576159 Mail/Mailhandling: missing setting for option >mail text only< for better control of import of mails to other apps 2014-01-07 13:25:21 +00:00
Klaus Leithoff
5786979a94 * Mail/Mailhandling: introduce option >mail text only< for better control of import of mails to other apps 2014-01-07 13:03:53 +00:00
Klaus Leithoff
880fc68bc9 attempt to minimize tree update/refresh attempts after movefolder-action 2014-01-06 15:47:19 +00:00
Klaus Leithoff
c4e135d64b first shot for tree update after movefolder-action 2014-01-06 14:26:33 +00:00
Klaus Leithoff
86df1da45b first shot at moveFolder action implementation; tree not correctly updated yet 2014-01-06 12:57:53 +00:00
Klaus Leithoff
1b873c4372 simple dialog for moveFolder action 2014-01-06 09:51:24 +00:00
Hadi Nategh
9b0fd9b7a5 Add ajax callback to take care of mailbox subscription 2013-12-20 16:23:45 +00:00
Hadi Nategh
dc02eb28d7 Make folder acl be able to be selected from differnet accounts 2013-12-20 16:17:12 +00:00
Klaus Leithoff
d302d78435 handle php-warning for attachmentobjects not set properly 2013-12-20 13:25:11 +00:00
Klaus Leithoff
ca93a60668 provide params to be able to pass subscribedOnly flag (true/false) to the getFolderObjects method, to be able to display all folders 2013-12-19 10:32:42 +00:00
Hadi Nategh
bf231133a0 Add subscribe/unsubcribe menus to mail tree context menu 2013-12-18 17:35:03 +00:00
Klaus Leithoff
fa609a3f2d ability to move mails from folder of one server to the folder of another server; beware mails are fetched from source and copied to target, so this can be quite stressfull on both mailservers AND your webserver regarding performance and memory, thus we sleep 500 miliseconds every 5 mails; ToDo: preserve the possible unseen status of a mail 2013-12-18 15:14:12 +00:00
Klaus Leithoff
c0d749ceac attempt to copy/move mails between servers; failed so far: no connection to the targetserver is even attempted by horde library 2013-12-18 12:14:18 +00:00
Klaus Leithoff
efc237024c since copy and move mails are pretty much the same (using the same bo function with different params) we merge this in ui as well 2013-12-18 10:27:27 +00:00
Klaus Leithoff
edec9c6c2b fix problems introduced by rev44904; refresh for folder counters removed by that commit in favour to rely on grids refresh call. sadly grids refresh does not provide a method to hook into so far (, so that counters of folders in tree are refreshed as well); until this is solved I reintroduce the application side triggered refresh 2013-12-18 08:46:31 +00:00
Nathan Gray
8ff6950c3f Show/hide lots of to/cc email addresses 2013-12-18 00:37:30 +00:00
Hadi Nategh
e4cf9ac9b3 Show vacation notice in popup window 2013-12-17 17:10:02 +00:00
Hadi Nategh
e73e01d71a Add vacation notice to mail tree context menu 2013-12-17 17:06:44 +00:00
Klaus Leithoff
bf362a5dce enhance error message if not allowed to access sieve 2013-12-17 15:58:51 +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
d82075e86b work to get the sieve stuff back on the road. NOTE: uses oldImapServer Object, not cached, no validation regarding getInstance 2013-12-17 09:55:47 +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
cc2fff754d No need to json_encode 2013-12-16 23:41:39 +00:00
Klaus Leithoff
2f083e41e4 move External quota label into quota hint. 2013-12-16 10:28:19 +00:00
Klaus Leithoff
447e3ed5f0 use new dialog.show_prompt for addfolder; 2013-12-12 15:44:47 +00:00
Klaus Leithoff
95021fe0fc use new dialog.show_prompt for rename; handle encoding issues; catch possible exceptions and try to handle it correctly by attempting some kind of rollback 2013-12-12 15:10:25 +00:00
Klaus Leithoff
d3a2dff6a9 implement delete folder with subfolders; fix encoding issue when creating folders with umlauts 2013-12-12 13:34:35 +00:00
Klaus Leithoff
1f438436e1 stuff of the day: label/remove all sorted to meet birgits requirements; distinct display schema for listview to send/draft/template folders (address column); some translations for upcomming folder delition for folders with subfolders 2013-12-10 15:59:54 +00:00
Hadi Nategh
b06b18e006 Fix to set combination of Obsolote Rights (eg. c=kx) for ACL mail application 2013-12-09 10:10:51 +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
Hadi Nategh
fd8b4a72f6 Try to catch exceptions from none existing account 2013-12-05 12:32:32 +00:00
Klaus Leithoff
38644b8b3c only try to trigger a connect, when there is a profileID 2013-12-05 09:12:17 +00:00
Klaus Leithoff
892cdf5775 catch errors if there is NO configured account at all 2013-12-05 09:08:14 +00:00
Hadi Nategh
fac4e68213 Add recursive functionality to mail-acl actions, including delete recursively 2013-12-05 07:58:45 +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
7e2b648590 Make the delete button in mail folder's acl popup window a bit more functional 2013-12-02 17:09:35 +00:00
Klaus Leithoff
ce226a3197 fix messed up addresses by horde for listview too 2013-11-29 13:29:49 +00:00
Ralf Becker
2a32284616 fixed PHP Fatal error: Using $this when not in object context 2013-11-29 05:24:39 +00:00
Hadi Nategh
1dc919e83b Update ACL for mail application 2013-11-28 15:08:41 +00:00
Klaus Leithoff
6e88374e6f control (and try to fix) messed up addresses by horde, when fetching the envelope 2013-11-27 15:40:00 +00:00
Klaus Leithoff
c94e5e61c1 translation stuff 2013-11-27 14:36:15 +00:00
Klaus Leithoff
bd55137531 some work regarding translation of mail app 2013-11-27 13:07:54 +00:00
Klaus Leithoff
dfd2c3eaa4 some code cleanup, some styling in display, some attempts regarding translations 2013-11-26 15:30:08 +00:00
Nathan Gray
a749ba519d Provide proper data for widget 2013-11-25 18:14:33 +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
fda214670c Add mailing lists to email tag list search results.
Added for To, CC & Bcc.
2013-11-21 22:29:57 +00:00
Klaus Leithoff
03327b4bb1 adapt moving/copy of mails from folder to folder; fix fetch all available accounts with servers; fix missing emailaddress in mail-account-foldertree (first level) needed htmlspecialchars 2013-11-21 13:22:34 +00:00
Klaus Leithoff
0e765f8566 implement/adapt appending message to mailbox 2013-11-21 11:10:31 +00:00
Klaus Leithoff
379cc5042d first attempt to be able to open a mail for reply 2013-11-20 15:05:25 +00:00
Klaus Leithoff
9bc3c57239 make sure the content type map is available on accessing a known/wanted attachment part 2013-11-20 10:00:16 +00:00
Klaus Leithoff
8e336ed31a adapt view and save attachments to horde stuff (winmail.dat may require changes later) 2013-11-20 09:30:25 +00:00
Klaus Leithoff
7dd61b5617 fix excess calls of get_rows triggered by refreshFolderStatus; fix not using folderObjectCache 2013-11-19 15:14:36 +00:00
Klaus Leithoff
730eb55387 fix one problem regarding failed xml-response 2013-11-19 13:31:58 +00:00
Ralf Becker
762f0f5c8a fixed infinit recursion in multipart message containing other multipart 2013-11-19 13:18:30 +00:00
Klaus Leithoff
8a38b817d0 fix one activeFolderCache problem (did not save it per server as intended) 2013-11-19 12:03:53 +00:00
Klaus Leithoff
e5818d9b62 abandon folderStatusCache and rely completely on hordes cache capability and handling 2013-11-19 11:17:32 +00:00
Klaus Leithoff
d8f2661a27 some stuff, to fix access to cached search results 2013-11-19 08:17:49 +00:00
Ralf Becker
d5788429c8 remove accidently comment 2013-11-16 13:10:47 +00:00
Ralf Becker
77e9071f5c fixed not displayed mails with encoding 2013-11-16 11:25:09 +00:00
Ralf Becker
cec909fb13 fixed an other warning 2013-11-16 11:24:52 +00:00
Ralf Becker
76eb7d2ca0 validateProfileID now also checks for non-empty imap-username 2013-11-16 10:30:01 +00:00
Hadi Nategh
34827545cc Mail folder ACLs feature on mail app 2013-11-15 17:22:46 +00:00
Ralf Becker
f975e93677 get display of mails working again, using now Horde_Mime_Part based structure and for images, attachments not yet fully working, should use it too 2013-11-10 20:53:51 +00:00
Ralf Becker
e08a8dc12f fix not working validateProfile by rewriting it, could not change to other account and it was querying all accounts multiple times, even if it only want to validate an existing account 2013-11-08 17:56:47 +00:00
Ralf Becker
f4cd622af6 using emailadmin_account::search alone for displaying all accounts 2013-11-07 17:46:26 +00:00
Ralf Becker
f8026cf624 mail redirects on connection or authentication failure, or if there is no account to account wizard, so user can fix the problem 2013-11-06 21:02:19 +00:00
Klaus Leithoff
fb94a6a645 some work to be able to displayHeaders, displayRawMessage, SaveMessageToDisc, saveMessageToVFS 2013-11-06 15:11:15 +00:00
Ralf Becker
562b317a27 need to load emailadmin/js/app.js 2013-11-06 09:12:22 +00:00
Klaus Leithoff
5309f81e64 indicate attachments on main mail message list 2013-11-05 14:16:40 +00:00
Klaus Leithoff
8cbe09b24c fix broken status refresh for nonexistent shortDisplayNames 2013-11-04 12:31:50 +00:00
Klaus Leithoff
cfc3550d6f get filters to work, empty trash, etc. 2013-11-04 11:22:38 +00:00
Ralf Becker
e125b27e52 mail_wizard extending emailadmin_wizard, to allow regular users to use it 2013-11-03 10:24:09 +00:00
Klaus Leithoff
cce5514771 use icServer folder infos for specialuse folder and trash/sent/draft/template folder retrieval (if no valid pref is set) 2013-10-31 14:45:11 +00:00
Klaus Leithoff
7baddc4d39 adapt getFlags method 2013-10-31 09:13:56 +00:00
Klaus Leithoff
75dc25a684 implement flagMessages; implement getCurrentMailbox 2013-10-31 08:55:33 +00:00
Klaus Leithoff
69ecce26d7 fix issue with double-encoded foldernames; fix getCurrentMailbox issue; sorting of accounts in tree by id (as before; by name may be an option to consider); use openConnection as central access to gather specialUseFolderInfo and/or fetching the delimiter 2013-10-30 13:27:26 +00:00
Klaus Leithoff
7e0f61f8d9 gather specialUseFolderInformation 2013-10-30 12:21:28 +00:00
Klaus Leithoff
6d4de6abb1 fix foldertree: initial display 2013-10-30 09:59:05 +00:00
Klaus Leithoff
4bd8d43318 steps to get back to a working list in ui 2013-10-29 16:16:56 +00:00
Klaus Leithoff
dd2465b317 fix a problem regarding the status fetch for noselect mailboxes 2013-10-25 14:17:20 +00:00
Klaus Leithoff
628806c289 implement getMailboxes and listSubscribedMailboxes, to get listview back on the road; attachment info still missing, and filters to be implemented 2013-10-25 13:37:53 +00:00
Klaus Leithoff
49bacaef69 supplement folder status Info with delimiter 2013-10-25 10:23:36 +00:00
Klaus Leithoff
e4abe0fba0 full list support for new horde mail based client 2013-10-24 15:29:57 +00:00
Klaus Leithoff
87388857d7 some steps towards an hopefully working horde client based mail client 2013-10-24 13:34:53 +00:00
Klaus Leithoff
299936705f some steps to work with the new horde mail class 2013-10-24 07:15:48 +00:00
Ralf Becker
fe2ef3ac1c first step to new Horde_Imap_Client based eMailAdmin classes for new mail app 2013-10-22 15:30:25 +00:00
Klaus Leithoff
c799aad6be commit session right after successfully contructing class object 2013-10-22 14:56:33 +00:00
Klaus Leithoff
861674d5d8 move folderCache completely from session to egw_cache::INSTANCE 2013-10-22 10:06:21 +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
451aa51beb add simple list interface for manage identities and accounts (based on grid widget) 2013-10-21 13:57:49 +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
61bcdd2137 implement simple list signatures template based on grid widget 2013-10-18 13:24:54 +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
Klaus Leithoff
190a98499a sieve sidebox entrys always visible if one or more IMAP profiles support sieve; check if sieve enabled on rules-index, vacation notice and sieve forwarding 2013-10-11 11:43:01 +00:00
Klaus Leithoff
4354a02fbd display: control attachmentdiv and displayareadiv class by code, to hide attachmentarea, when no attachments are present 2013-10-11 09:28:33 +00:00
Hadi Nategh
fe217e5458 Remove _debug_array() from sieve rules index page 2013-10-11 08:57:25 +00:00
Hadi Nategh
58a042c1f9 Fix unnecessary demonstration of bodytransform fields on sieve rules, when they're not filled 2013-10-11 07:58:37 +00:00
Klaus Leithoff
35a0132161 implement saveAsDraft 2013-10-10 16:11:26 +00:00
Klaus Leithoff
025d20f2d1 fix missing signature on top, on reply and forward 2013-10-10 14:56:30 +00:00
Hadi Nategh
c58716b64d Set the right value for action_folder_text/taglist in sieve->edit popup window 2013-10-10 14:07:50 +00:00
Klaus Leithoff
2fc466e145 basically make changing of identity and signature work, that they reflect in content, and change the possibly preinserted signature 2013-10-10 11:44:01 +00:00
Hadi Nategh
ed107f9496 Fix encoded mail folder-names by utf7-imap used by sieve rules->action->folder, and replace it with utf-8 2013-10-10 11:41:59 +00:00
Hadi Nategh
a6b3fb95c0 Remove inline script from mail->sieve->edit() 2013-10-09 17:20:14 +00:00
Hadi Nategh
0babe3c7b0 Set correct values for ['action'] array on server-side in mail->Sieve-edit_popup window 2013-10-09 17:17:24 +00:00
Klaus Leithoff
473da1949d fix curly brackets issue in subject in mainview 2013-10-08 14:55:20 +00:00
Klaus Leithoff
03b901db04 work to get forward working; code cleanup; several other stuff 2013-10-08 14:23:46 +00:00
Klaus Leithoff
6950fb0cc9 fix id behavior for identities in compose, introduced long ago when trying to utilize taglist 2013-10-07 16:33:56 +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
Klaus Leithoff
78855fa7b7 change quota percentage calculation 2013-10-07 12:35:38 +00:00
Klaus Leithoff
35167898cd try to detect changes on signatureID and Identity 2013-10-07 12:17:33 +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
Klaus Leithoff
82dcae783a now you are able to send mails; not fully functional yet 2013-10-05 09:47:34 +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
Nathan Gray
2a502c3a16 - set empty placeholder action for when there are no mails in the list
- set mail_id so we can find it for actions
2013-10-04 14:39:25 +00:00
Nathan Gray
4629785782 Add a toolbar to display 2013-10-04 11:09:31 +00:00
Klaus Leithoff
ec8011e148 toggle editor mode 2013-10-04 11:02:12 +00:00
Klaus Leithoff
53299cfce6 fix importMail for vfsfiles 2013-10-04 10:18:13 +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
98da72c757 fix saveToVFS on preview; fetch content for reply; prepare for click events like send and saveasdraft 2013-10-03 10:05:05 +00:00
Ralf Becker
f8a0db06fc completly remove preferences menu from sidebox and tiled preferences index in favoir of app-sensitive entries in top-menu 2013-10-03 09:23:18 +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
0546a15913 make default filter date run descending 2013-09-23 12:42:38 +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
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