Commit Graph

703 Commits

Author SHA1 Message Date
Hadi Nategh
2bcd6b16d8 Make sure value is set before using it 2021-12-09 14:02:35 +01:00
nathan
da6ff9d639 Merge branch 'master' into web-components 2021-11-24 09:42:28 -07:00
nathan
4cc8eea7b6 Mail: Make sure pressing [del] key twice in a row does not delete the first row on the second press 2021-11-22 11:56:42 -07:00
Hadi Nategh
b84ef08c29 Set node property for inputWidget as it's expected to contain input node 2021-10-13 15:36:33 +02:00
Hadi Nategh
966e611941 Find out the mailbox from the rowID 2021-09-27 11:22:49 +02:00
Hadi Nategh
6a689231e5 Catch miss encoding exception while checking mailbox for commit bec53dc57d 2021-09-27 10:50:50 +02:00
Hadi Nategh
c7d2f40a7b Try to avoid running select all action on undesired mailbox 2021-09-24 10:23:51 +02:00
Hadi Nategh
1fd43b0bdd * Mail: fix updating/deleting mail accounts does not refresh the mail tree no more 2021-09-01 16:23:38 +02:00
Hadi Nategh
89695620bc Make sure et2 widgets are there before the container into vfsSelectUI app object 2021-07-06 15:50:49 +02:00
Hadi Nategh
70faf346e4 Fix error egw_keycode_translation_function is not defined 2021-07-06 14:53:56 +02:00
Ralf Becker
b88716c8b6 legacy load jQueryUI as tooltip has wired context problems if loaded as module 2021-07-02 08:52:18 +02:00
Hadi Nategh
7e350f4a4a Fix miss replaced atob from commit e5f533cf6c 2021-07-01 10:28:06 +02:00
Hadi Nategh
b9d47c1511 Replace jQuery.base64 with native JS and remove its library 2021-07-01 10:26:51 +02:00
Hadi Nategh
8ac6b45b78 Fix not working actions in mail 2021-06-16 11:12:46 +02:00
Ralf Becker
771d6c727f got mail app.js incl. jsapi/app_base.js working
plus marking et2 methods returning promisses as async and removing cache-buster from includeJS calls in egw_action_common.js as it causes double loads
2021-06-11 10:11:13 +02:00
nathangray
f953d7a3b2 Mail: Adapt to taglist not following API fix (200aebd171) to drag and drop of email addresses works 2021-05-31 10:27:29 -06:00
Hadi Nategh
f5e2f7e719 Fix infinite loop before sending mail caused by integrated actions with no app right 2021-04-27 11:51:16 +02:00
Ralf Becker
6bac65210f set an explict message-type "success" to stop error- instead of success-messages, if folder contained "error" or its translation 2021-04-21 09:39:47 +02:00
nathangray
3fb74753c8 Mail: No longer need to defer select handler restoration 2021-03-16 11:06:48 -06:00
nathangray
2aa52a43c8 Need to wait to restore the select handler to avoid nm selecting the next row. 2021-03-15 15:58:01 -06:00
nathangray
71be88ae75 Mail: Attempt to stop mail from loading but not displaying the next mail after moving a mail to another folder
Now de-selecting so push update does not re-select
2021-03-15 14:41:26 -06:00
nathangray
a97416ff5d Mail: Attempt to stop mail from loading but not displaying the next mail after moving a mail to another folder
This is a timing issue.
2021-03-10 10:31:24 -07:00
nathangray
0021080641 Translation fixes from Stefan 2021-02-04 17:00:40 -07:00
Hadi Nategh
870cb9f175 Fix error "Uncaught (in promise) TypeError: framework.notifyAppTab is not a function", happens in mobile view 2020-12-17 16:01:43 +01:00
Hadi Nategh
a12cdb1d02 * Mail: do not override existing compose fields with predefined values 2020-10-19 13:12:18 +02:00
Ralf Becker
9ed7d0b110 * Mail: handle push of delete or move of all messages in folder 2020-09-08 17:17:25 +02:00
Hadi Nategh
ec77cf0ff6 * Mail: Fix opening mailto: link in html mail causes connection error 2020-08-25 15:18:38 +02:00
nathangray
8628b50ffb * Mail: Fix deleting or moving multiple mail to another folder did not update the list 2020-08-24 12:35:06 -06:00
Ralf Becker
a7e611af5f * Mail: fix moving a mail removes more then the moved mail, if push is active 2020-08-19 17:09:34 +02:00
Ralf Becker
e188c9f904 fix foldertree.getLabel(folder).replace() is not a function 2020-08-17 21:45:41 +02:00
Ralf Becker
6bd87cafb5 dynamic disable NM autorefresh on get_rows response depending on push support of imap-server 2020-08-11 15:52:28 +02:00
Ralf Becker
19b8cb25a8 ignore MessageAppend all together for all new message notifications, as Sieve moved mails still use MessageNew 2020-08-06 14:46:28 +02:00
Ralf Becker
879943f3d2 do NOT update counter in Mail tab-header, eg. for Junk 2020-08-06 13:00:51 +02:00
Ralf Becker
deac5166e7 check et2 is ready 2020-08-06 09:40:53 +02:00
Ralf Becker
6e2745f129 update unseen counter in folder-tree for delete too 2020-08-06 09:02:34 +02:00
Ralf Becker
2ea0792600 remove mails marked as \Delete eg. by TB, which does not expunge immediatly 2020-08-05 18:09:37 +02:00
Hadi Nategh
e3cf9b7aa5 Make sure to clean up the duplicated class 2020-08-05 16:43:57 +02:00
Hadi Nategh
6b3747d225 Update pushed flags without requesting from server 2020-08-05 15:38:14 +02:00
Hadi Nategh
3ece75667d Avoid extra request to server for update-in-place refresh 2020-08-05 10:43:04 +02:00
Ralf Becker
371bb59bdf pass requested uids to backend, also ignore Sent folder for notification and fix update of foldername 2020-08-04 18:17:04 +02:00
Ralf Becker
bb0b93bf67 changes to receive further push notifications from Dovecot 2.3+ 2020-08-04 15:54:29 +02:00
Ralf Becker
a562cdf502 dynamic enable password suggest for sharing links 2020-07-30 21:56:57 +02:00
Ralf Becker
0f4b40c7fb * Mail: new preference to disable notifications for new arriving mails (requires push for mail) 2020-07-30 12:10:53 +02:00
Ralf Becker
a350f6a871 increment notification counter on (closed) mail tab 2020-07-24 19:13:11 +02:00
Ralf Becker
a101a6f579 fix typo 2020-07-22 21:27:05 +02:00
Ralf Becker
a86a4bcdc3 fix account marked in tree gives only $acc_id not "$acc_id::INBOX" 2020-07-22 18:58:25 +02:00
Ralf Becker
28616ef0ee nm_value.selectedFolder is not always set, read it from foldertree, if not 2020-07-22 17:38:02 +02:00
Ralf Becker
0f8a2668fb fix token was only updated on account-change, not new login or daily token rotation, also support now multiple tokens/instances registring tokens for same account 2020-07-22 17:01:19 +02:00
Ralf Becker
8c46a2d541 remove outside module invalid import statement (added by PHPStorm) 2020-07-22 08:55:35 +02:00
nathangray
f0b924008b Etemplate: Add a callback so apps can decide where to put new push rows 2020-07-21 15:32:22 -06:00
Hadi Nategh
eb927182b1 Mail push update:
- Implement folder status update
- Fix list gets updated even if it is not the active profile
2020-07-21 11:46:36 +02:00
Ralf Becker
bf44ee753a WIP push for mail (currently only Dovecot with further configuration!) 2020-07-20 12:09:08 +02:00
Hadi Nategh
67d50fca78 Fix mail subject modifier dialog 2020-07-13 16:30:11 +02:00
Ralf Becker
76c36cfbcd * Mail: allow to configure a proxy to display external http images (eg. proxy.egroupware.org) 2020-07-09 11:54:52 +02:00
Ralf Becker
bcf9e1edee proxy http images to https 2020-07-08 20:51:33 +02:00
Ralf Becker
0faa8b367e * Mail: open notification email of own domain as popup 2020-07-08 14:28:21 +02:00
Hadi Nategh
11ba189bd0 Make sure content has at least an empty object 2020-07-02 11:00:15 +02:00
Hadi Nategh
ae101a28c4 Implement predefined addresses for compose dialog 2020-07-02 10:42:42 +02:00
Hadi Nategh
6ba8210d83 Avoid requesting external images with mixed content 2020-06-30 15:54:21 +02:00
Hadi Nategh
5b1071e3d9 Try to warn user about Mixed Content sometimes being used as external images in mail contents. 2020-06-25 16:34:40 +02:00
nathangray
7e1da8d909 Fix some popups restricted to just one popup window
- Admin -> Edit user
- Mail -> View source & View header
2020-03-23 09:57:06 -06:00
Hadi Nategh
e8b3372d43 Cleanup filename before saving it to avoid mismatch filename 2020-01-06 15:48:02 +01:00
Hadi Nategh
a69d24ee66 * Api: Enable d-n-d into HtmlArea 2019-09-30 17:22:18 +02:00
Hadi Nategh
8506bf5e5f * Mail: fix drag-n-drop files from desktop no longer works on htmlarea as expected 2019-08-28 16:16:36 +02:00
Hadi Nategh
c6adfe64ca * Mail: fix broken save to filemanager action 2019-08-21 12:12:20 +02:00
Hadi Nategh
193a8847b9 Remove extra saving as draft 2019-08-19 10:26:21 +02:00
Hadi Nategh
88164b6dac Fix save-to-filemanager action not working when it's an opened popup mail from another app (e.g. filemanager) 2019-08-01 12:30:55 +02:00
Hadi Nategh
98b9de516d Save the composed mail before it gets sent 2019-04-29 13:02:33 +02:00
Hadi Nategh
5f04ec0ad6 * Mail: fix opening a forwarded mail as attachment into an existing compose dialog fails 2019-02-26 11:58:20 +01:00
Hadi Nategh
cbbd3e2cd8 Remove resetting password field in compose dialog seems new Safari version does the right thing regarding autocomplete = "new-password" 2019-02-25 15:16:15 +01:00
Hadi Nategh
32095efd4b Make the edit account dialog slightly bigger to get all toolbars fit in one line 2019-01-25 14:54:06 +01:00
nathangray
4008f82be3 Mail - display multiple From addresses 2019-01-22 10:48:39 -07:00
Hadi Nategh
913a0095d0 * Mail: Move modify subject action from list view into preview 2018-12-07 11:18:06 +01:00
Hadi Nategh
5a7b1aabec Keep toggled on fields open when they're explicitly have been set in preferences to be on all the time 2018-11-16 14:55:40 +01:00
Hadi Nategh
1cbd0aa2a3 W.I.P. implementing TinyMCE editor and deprecating CKEditor 2018-10-19 16:35:18 +02:00
Hadi Nategh
577850cfd0 * Api: change default submit to async call and try to block user interfering with submitted popup until the response 2018-10-04 17:23:30 +02:00
nathangray
cabbacf229 Missing translations from Stefan Unverricht 2018-09-13 14:26:54 -06:00
Hadi Nategh
24b1dc745a * Mail: avoid to send so many requests when user tries to scroll on mail list via key up/down 2018-09-06 16:03:48 +02:00
nathangray
15dc81d8f8 Fix some bugs in mail.setContent() 2018-08-03 11:00:21 -06:00
Hadi Nategh
d85d204636 Fix translation 2018-07-12 16:37:07 +02:00
Hadi Nategh
50d02bff81 Try to warn user when switching between filemodes in compose dialog, also indicate each filemode with an icon. 2018-07-12 15:42:07 +02:00
Hadi Nategh
cc3e00f9f1 * Mail: take opened compose dialogs into account when trying to forward attachment, share files into mail or vcard attachment from addressbook 2018-07-11 14:39:40 +02:00
Hadi Nategh
1cfe10e831 Reset selected nm actions on change folder. Fixes selected all actions sometimes get disabled. 2018-07-05 16:34:30 +02:00
Hadi Nategh
018a6a4d09 Make sure there is toolbar before using it 2018-06-25 14:59:11 +02:00
Hadi Nategh
ec59013349 * Mail: Implement new preference for toggle actions. For instance, switching Cc, BCc or S/MIME Sign always on when trying to compose an email. 2018-06-25 11:34:16 +02:00
Hadi Nategh
593d81184d Do not run draft auto save if any of the tags are in edit mode 2018-06-21 14:20:52 +02:00
nathangray
350f186813 Mail - missing translations 2018-05-30 11:43:41 -06:00
nathangray
29dcccc6e4 * Mail - avoid javascript error blocking context menu from SpamTitan check when row data not found 2018-05-17 09:18:29 -06:00
Hadi Nategh
c0b5a7c44e Add and fix some translations, thanks to Stefan Unverricht. 2018-04-11 15:19:39 +02:00
Hadi Nategh
a8e10cdc64 WIP framework's popup storage/restore:
- Keep tracking of popup's window object and restore it when needed
- Implement a method to check an already opened popup and execute a method in the selected popup context
- Fix vcard import into opened compose windows not working
2018-03-09 17:48:09 +01:00
Hadi Nategh
8ac7684f66 Add vcards from addressbook into an opened mail compose if there's any 2018-02-28 17:30:45 +01:00
Hadi Nategh
89f4deba8e Use hover_action to edit subject of a message 2018-02-26 17:54:13 +01:00
Hadi Nategh
8e79ef4dfe WIP mail subject modify action 2018-02-26 12:34:08 +01:00
Hadi Nategh
7c2547f8c4 W.I.P. mail subject modify action 2018-02-20 18:00:30 +01:00
Ralf Becker
07fbe630a2 remove not necessary skipping of regular validation on sending mail 2018-02-05 18:57:26 +01:00
nathangray
8a8b8864fc * Mail - Filter / and ? from filenames when saving to VFS or disk 2018-01-15 11:52:15 -07:00
Hadi Nategh
62b00b3f75 Add/fix some translations 2018-01-04 11:34:26 +01:00
Hadi Nategh
76ef9f5d4a Do not select next mail from the list after a reported spam mail 2018-01-03 17:30:03 +01:00
nathangray
2d93c48b75 Some style fixes:
- Missing icons in several dialogs
- Change nextmatch dialog action to use et2_dialog
2017-11-28 15:59:06 -07:00
nathangray
0775343c8e Mail - Fix initial cursor position when replying to text emails 2017-11-27 15:28:17 -07:00
nathangray
28e6d4642a Mail - fix some tracker integration bugs:
- Dialog had english title & buttons
- Append button didn't work
2017-11-22 10:11:03 -07:00
Hadi Nategh
5b8edcfdb1 Fix previewPane doesn't work for expand & hide 2017-11-10 11:13:12 +01:00
Hadi Nategh
aaa0d729fb Fix VFS save action in mail 2017-11-08 19:07:04 +01:00
Hadi Nategh
5b76210218 W.I.P vfsSelect Widget:
- Fix mime types not being shown
- Fix name being displayed encoded in save2vfs mail
2017-10-12 17:45:46 +02:00
Hadi Nategh
d96ca3b427 Make sure message is saved as draft when trying to open save2vfs 2017-10-12 15:22:41 +02:00
Hadi Nategh
c4d4ac146a W.I.P. VFS Select Widget:
- Fix actions of SaveToVfs, SaveAttachmentToVfs, SaveAllToVfs in mail
2017-10-12 13:20:23 +02:00
Hadi Nategh
d2f1ac989b * Mail: Fix bug all fields in compose dialog always stay opened (happens in FF ESR) 2017-09-28 18:26:55 +02:00
nathangray
5daf70535f * Mail - Add keyboard actions for forward & reply in the list, and send in compose 2017-09-25 16:12:17 -06:00
Hadi Nategh
1b252ea821 S/MIME:
- Fix password request form in mobile view
- Fix smime indicators not being displayed in mobile view
2017-09-14 11:28:27 +02:00
Hadi Nategh
516015ac40 S/MIME:
- Activate smime actions for mobile view
- Read and set attachments for mobile view
2017-09-13 18:17:32 +02:00
Hadi Nategh
673f1b1c9a S/MIME:
- Avoid getting scrollbar on main window when opening certificate info dialog
2017-09-13 17:08:07 +02:00
Hadi Nategh
a075fae6a0 Offer to add contact if there's no contact found for given email in smime
addToContact dialog
2017-09-12 17:23:24 +02:00
Hadi Nategh
419f34616c Give more timeout to print mail to make sure the contentof iframe is there 2017-09-08 15:58:04 +02:00
Hadi Nategh
bde19f6f6c S/MIME:
- Preset smime_sign and smime_encrypt toolbar actions if the original mail
is smime.
- Fix smime alignment of smime icons in mail preview
2017-09-01 16:20:57 +02:00
Hadi Nategh
1a8e584e0c S/MIME:
- Fix PGP signed messages get shown as red
- Fix attachments area always gets displayed
2017-08-31 17:33:33 +02:00
Hadi Nategh
4b9b5aa7e4 S/MIME:
- Add password remember option for smime_passphrase dialog in compose
2017-08-28 16:14:56 +02:00
Hadi Nategh
1128f771b5 S/MIME:
- Add clickable class for sign and encryption indicators
2017-08-25 16:46:34 +02:00
Hadi Nategh
36211267bf S/MIME:
- Implement unknownemail status in case signer email address is not matched with sender email address
2017-08-25 16:07:09 +02:00
Hadi Nategh
830bbd127c S/MIME:
- Add certificate info dialog
2017-08-25 12:26:13 +02:00
Hadi Nategh
a89ccaa455 S/MIME:
- Set verification status text when the signature is verified
2017-08-24 19:00:46 +02:00
Hadi Nategh
17f06241d3 Keep vertical splitter open if nothing is selected as default 2017-08-24 18:33:22 +02:00
Hadi Nategh
26c4425e2b Set vertical splitter for mail list if nothing is selected as default 2017-08-24 12:14:18 +02:00
Hadi Nategh
6db82fbbf2 * Mail: fix cursor jumping at the end of textarea in compose while switching from subject 2017-08-22 17:53:52 +02:00
Hadi Nategh
bbea403298 W.I.P S/MIME:
- Generate private key and certificate
- Add export buttons for private key and certificate
- Add certificate field
2017-08-22 17:25:29 +02:00
Hadi Nategh
57d515bfc6 W.I.P. of S/MIME:
- Offer to add sender's certificate into addressbook
2017-08-21 10:59:02 +02:00
Hadi Nategh
44710a4183 * Mail: Fix vacation notice disappears when switching folders 2017-08-17 17:28:36 +02:00
Hadi Nategh
f600436898 W.I.P. SMIME:
- add notvalid state
- add metadata for key add to contact
2017-07-25 18:00:22 +02:00
Hadi Nategh
91fb816bb2 W.I.P. SMIME:
- Override verify method in order to pass certs bundle for verification
- Catch exception if decryption fails because encrypted message perhaps is not encrypted by receiver public key
- Define different states for signature verification
2017-07-25 17:13:49 +02:00
Hadi Nategh
74b4ff908e Not using ECS6 features because UglifyJs would fail 2017-07-20 09:44:20 +02:00
Hadi Nategh
0499f50943 W.I.P Smime:
- Adapt mail ui to resolve smime messages
- Set signature and encryption indicators
2017-07-19 18:16:40 +02:00
Hadi Nategh
4e4999af28 W.I.P. SMIME:
- Reposition the iframe in mail preview after the attachments are set
2017-07-13 17:51:37 +02:00
Hadi Nategh
f436538797 W.I.P. SMIME:
- First approach to get attachment content
- Adopt save actions in attachment area for smime encrypted attachments
2017-07-13 12:26:39 +02:00
Hadi Nategh
de91dc2a2a W.I.P. SMIME:
- Try to fetch attachments into attachmentArea after the message is being resolved
- Fix smime certificate button not working for encrypted certificate
2017-07-12 18:40:56 +02:00
Hadi Nategh
61c9acce84 Smime W.I.P:
- Fix smime passphrase dialog
2017-07-10 12:57:14 +02:00
Hadi Nategh
4e220eb3c3 Fix couple of IDE warnings 2017-07-04 13:25:38 +02:00
Hadi Nategh
19c435303f Fix opening file sharing compose dialog sets the password field automatically in Safari 2017-07-04 13:24:38 +02:00
Hadi Nategh
25d5465ec6 Fix mail list filters break when switch to vertical splitter 2017-06-28 16:20:41 +02:00
Hadi Nategh
05b2f22a95 Fix couple of glitches on mail splitter:
- Remove extra borders
- Fix preview frame not getting right top position
- Re-arrange toolbar widget in preview pane to always get fullwidth
2017-06-28 15:46:22 +02:00
Hadi Nategh
0cda97d7ac Fix mail preview pane orientation feature according to new preferences 2017-06-28 12:09:39 +02:00
Hadi Nategh
4bdde714e1 Fix not functioning spam action in preview toolbar 2017-06-22 10:09:15 +02:00
Hadi Nategh
9eeb8e1199 * Mail: Fix contextmenu does not work on select all 2017-06-13 15:55:08 +02:00
Hadi Nategh
09e9b47c9d Make spam actions available on multiple entries 2017-06-12 15:25:44 +02:00
Hadi Nategh
d06dcc6770 Copy to ham folder if only ham folder is set and spamTitan is not configured 2017-06-07 12:09:33 +02:00
Hadi Nategh
61dd93566a WIP SpamTitan integration:
- Implement add/remove domains into whitelist or blacklist
2017-06-02 17:17:15 +02:00
Hadi Nategh
b099ba8a5e WIP SpamTitan integration:
- Take acc_spam_api into account for showing spam actions
2017-05-31 17:38:09 +02:00
Hadi Nategh
6832bc778e WIP SpamTitan integration:
- Add actions into mail contextmenu
2017-05-30 16:19:37 +02:00
nathangray
45039f5f66 Fix some translation issues and typos found by Rafael Chacón Verdorama 2017-05-24 09:41:02 -06:00
Hadi Nategh
63e0157baf WIP of RFC 4314 implementation, in order to be able to separate delete message right and delete mailbox right in mail acl dialog 2017-05-11 16:47:31 +02:00
Hadi Nategh
5c8086f408 * Mail: Make multiple mail selection available for both "save to disk" and :save to filemanager" actions 2017-05-09 15:09:00 +02:00
Hadi Nategh
254ca19c2d * Mail: Make quota limit warning configurable
- Fix dialog warning message
- Add Quota limit warning in mail site configuration
2017-04-18 17:48:29 +02:00