Commit Graph

685 Commits

Author SHA1 Message Date
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
Hadi Nategh
45d2e21883 * Mail: Fix edit account does not refresh folder tree 2017-04-12 18:00:45 +02:00
Hadi Nategh
b2a8a2c12c * Mail: Fix contextmenu does not popup for brocken folder tree 2017-04-12 16:01:26 +02:00
nathangray
e1dbe90846 * Mail - add a new preference for preview pane to stay there, even when no mail is selected for previewing 2017-03-23 10:28:20 -06:00
nathangray
c01d0edeff Mail - Fix cursor did not start at the top of the body for Firefox in plaintext mode 2017-03-14 11:16:21 -06:00
Hadi Nategh
c834830df0 Add translation for quota warning dialog 2017-03-13 11:08:41 +01:00
Hadi Nategh
aaf3492588 Warn user about mail quota limit if it's 99% full and freespace is less than 50 mb 2017-03-13 10:49:32 +01:00
Hadi Nategh
2b6da19330 * Mail: Implement quota limit warning dialog 2017-03-10 11:22:51 +01:00
Hadi Nategh
d2fb5d56be Make sure the folder status runs last in jsonq 2017-03-08 15:11:55 +01:00
nathangray
608f9d1142 Some translation improvements from Stefan Unverricht 2017-02-27 11:14:31 -07:00
Hadi Nategh
116151a092 WIP of SMIME support:
- Implement smime ecryption in compose
- Implement passphrase dialog
2017-02-15 12:23:27 +01:00
Hadi Nategh
e3bacb3565 * Mobile template: Fix "info message regarding fullscreen" does not respect the discard checkbox 2017-02-01 18:12:35 +01:00
Hadi Nategh
29aa1048fe W.I.P of SMIME support for mail application:
- Add smime digital signature icon
- Add handler for smime certificate to be able to see the attached certificate
2017-01-23 09:48:00 +01:00
Hadi Nategh
a3562129b0 W.I.P of SMIME support for mail application:
- Resolve smime p7b attachment and translate it to PEM format
- Assign a button to show the message is signed plus handler for showing the certificate
- Fix Smime class to only use php openssl extension
2017-01-19 18:52:44 +01:00
nathangray
a5f45e2bfa Fix some translation problems reported by Stefan Unverricht 2017-01-10 09:30:00 -07:00
Hadi Nategh
23aea3864c Keep allowExternalIMGs preference intact and use an explicit preference for allowed domains 2016-12-02 10:09:56 +01:00
Hadi Nategh
6ed3b92298 Work in progress of mail external image handler:
- Fix styling
- Add handler for mobile and display
2016-11-24 14:35:54 +01:00
Hadi Nategh
5fb70c77ab Work in progress of mail external image handler 2016-11-23 18:52:43 +01:00
nathangray
017e45ffd4 Fix some missing / incorrect icons
- Addressbook advanced search was from default
- Add favorite dialog had no icons on buttons
- All dialogs using standard button sets were either missing or from default theme
- Mail confirm all was missing Yes icon
2016-10-27 09:04:47 -06:00