Commit graph

61 commits

Author SHA1 Message Date
Francis Lachapelle cd95649f08 fix(web(js)): remove calls to deprecated functions in ng-material 2020-08-04 16:12:52 -04:00
Francis Lachapelle 9c391b8d8d fix(mail): use unique names for attachments
Fixes #5086
2020-07-23 12:56:35 -04:00
Francis Lachapelle 8940651586 feat(mail): handle multiple mail identities
Fixes #5083
2020-07-21 17:01:33 -04:00
Francis Lachapelle 8f3738bfef fix(mail(js)): pick proper "from" address when replying/forwarding
Fixes #5072
2020-07-13 12:29:35 -04:00
Francis Lachapelle f7e7612e05 fix(mail(js)): pick proper "from" address when replying/forwarding
Fixes #5072
2020-07-07 14:53:11 -04:00
Francis Lachapelle 089935297c fix(mail(js)): respect signature placement when switching identity 2020-07-06 12:43:55 -04:00
Francis Lachapelle f8aa338e64 feat(mail): handle multiple mail identities
Fixes #768, fixes #4602
2020-06-18 16:53:42 -04:00
Francis Lachapelle 07c06db69d refactor(mail(js)): replace ckEditor directive by sgCkeditor component
This refactoring

 1. simplifies updating the CKEditor source code;
 2. allows many instances of the CKEditor on the same page;
 3. fixes the cursor positioning on focus.
2020-05-15 11:37:56 -04:00
Francis Lachapelle a303011237 fix(mail(js)): avoid exception when adding duplicated recipient 2019-12-09 12:34:48 -05:00
Francis Lachapelle 456a66b66b feat(mail(js)): new button to expand recipients that are LDAP groups 2019-11-21 21:51:27 -05:00
Francis Lachapelle 060dea3818 style(mail(js)): add missing semi-colon 2019-10-30 13:55:03 -04:00
Francis Lachapelle 99bfcaec37 (js) Improve syntax of MessageEditorController.js 2019-10-07 11:09:12 -04:00
Francis Lachapelle 9a8415c095 Fix refresh of drafts folder when saving a draft 2019-01-21 16:24:07 -05:00
Francis Lachapelle 4069158178 (js) Fix handling of duplicate recipients
Fixes #4597
2018-11-22 10:17:09 -05:00
Francis Lachapelle ec4d93a845 Fix popup window detection in message viewer
Fixes #4518
2018-09-12 21:44:33 -04:00
Francis Lachapelle f0b4e1b719 (js) Restore caret position in message editor
Fixes #4517
2018-08-17 16:31:50 -04:00
Francis Lachapelle ad943bf2aa (js) Fix URL of file uploader in mail editor 2018-01-30 15:37:33 -05:00
Francis Lachapelle 3816d25a44 (js) Make sure mail identities are unique
Fixes #4338
2017-12-15 16:30:37 -05:00
Francis Lachapelle 614a137128 (js) Fix parsing of tab-delimited email addresses
Fixes #4258
2017-09-08 10:50:10 -04:00
Francis Lachapelle 84edeb85cd (js) Fix parsing of pasted email addresses
Fixes #4258 and fixes #4097
2017-09-01 11:09:24 -04:00
Francis Lachapelle 8df0896028 (js) Fix error handling in mail editor popup 2017-08-21 15:25:26 -04:00
Francis Lachapelle 89bfa0c536 Expose user's settings and defaults inline
This improves performance by removing two AJAX calls and a lot of
JavaScript promises.
2017-06-01 13:48:45 -04:00
Francis Lachapelle 5ff8463fba (js) Split string when pasting multiple addresses
Fixes #4097
2017-03-22 11:58:05 -04:00
Francis Lachapelle 270ff1bd29 (js) Fix saving draft outside Mail module
Fixes #4071
2017-03-07 10:26:10 -05:00
Francis Lachapelle 41dbb88b64 (js) Expandable mail editor
Added "autogrow" plugin for CKEditor.
2017-01-19 07:05:52 -05:00
Francis Lachapelle 8404de758b Improve error messages around draft attachments 2017-01-06 16:12:42 -05:00
Francis Lachapelle e059a6043e (js) Fix possible cross-origin exception
When SOGo is launched from an external link, either using a different
"target" or using window.open(), the Mail composer could throw a
JavaScript exception when trying to save or send a message that would
completely stop the operation.

Fixes #3900
2016-11-28 15:36:03 -05:00
Francis Lachapelle 5961117208 (js) Fix uploading same attachment after removal
Fixes #3876
2016-11-10 10:21:33 -05:00
Francis Lachapelle 6bbb56c386 (css,js) Improve progress feedback
This ads a "ripple" effect that blocks the context when login in or
sending a message. Generic enough to be used elsewhere.

Fixes #3765
2016-07-15 14:03:16 -04:00
Francis Lachapelle fd4b09428f Expose all email addresses in autocompletion
This change is immediately applicable to LDAP-based system address
books. However, personal SQL-based address books must have their quick
tables recreated. To do so, one must use sogo-tool to backup and restore
the user's data.

Resolves #3443, #3526
2016-05-25 10:25:53 -04:00
Francis Lachapelle cc28357553 (js) Fix autocompletion of LDAP-based groups
Fixes #3673
2016-05-19 16:34:42 -04:00
Francis Lachapelle 68381b31d8 (js) Create new message when opening a mailto link
Fixes #3588
2016-05-10 21:29:18 -04:00
Francis Lachapelle 42bdfbcf7b (js) Update raw source when editing a draft 2016-05-10 21:23:15 -04:00
Francis Lachapelle a1e0f2767f Fix sender addresses of draft
The sender addresses select menu is now populated with the identities of
the selected account *only*. The chosen sender address is also restored
from the draft.

Fixes #3577
2016-05-10 14:41:24 -04:00
Francis Lachapelle 0af364d076 (js) Fix display of CC/BCC fields in msg editor 2016-03-15 09:54:15 -04:00
Francis Lachapelle fd8d7bb6ed (js) Fix attachments display when forwarding a msg
Fixes #3560
2016-03-03 15:41:29 -05:00
Francis Lachapelle d4745ef598 (js) Update lodash to version 4.6.1 2016-03-03 13:46:14 -05:00
Ludovic Marcotte 4cd0c501bd (fix) make use of existing string 2016-02-17 08:40:57 -05:00
Ludovic Marcotte 1f71cff18d (feat) you can now limit the file upload size using WOMaxUploadSize 2016-02-17 08:24:32 -05:00
Emílio Fonseca bf3a072e6b Adding TAB to separate recipients in Mail Editor 2016-01-25 17:54:11 -02:00
Ludovic Marcotte 5ad4d317df (fix) delete messages from Drafts folder that aren't meant to be sent 2016-01-25 14:21:38 -05:00
Francis Lachapelle f5432525ec (js) Remove dependency on stateAccount 2016-01-14 16:06:55 -05:00
Francis Lachapelle 68c72f681c (js) Improve message viewer/editor in popup window 2016-01-07 15:45:16 -05:00
Francis Lachapelle 6464e35704 (js) Decompose contacts list in mail editor 2015-12-22 16:58:40 -05:00
Ludovic Marcotte 28399b698a (feat) show toast when saving and sending messages 2015-12-10 13:41:07 -05:00
Francis Lachapelle db96b2830e (js) Intercept and show HTTP errors in md-toast 2015-12-08 16:45:24 -05:00
Francis Lachapelle af5599015b (js) Add links to attachments in message editor 2015-12-02 16:32:39 -05:00
Francis Lachapelle 5bb6cea09e (js,css) Improve handling of attachments in editor 2015-12-01 16:12:30 -05:00
Ludovic Marcotte 4d0361759a (fix) use toast to warn about too many sent mails 2015-11-26 16:30:21 -05:00
Francis Lachapelle 3b0ead7bbd (js) Cleanup unused dependencies 2015-09-03 14:11:39 -04:00