79 Commits

Author SHA1 Message Date
smizrahi
314b39dd1c fix(ui): Fix invalid display when creating new appointment / mail on mobile. Initialize isFullscreen to if screen is in portrait. Fixes #5970. 2024-05-22 10:35:16 +02:00
smizrahi
c2d9050539 fix(core): Notify sgCkeditor component when clicking the send button to update content. Fixes #5952. 2024-04-29 22:21:33 +02:00
smizrahi
b7e529dd49 fix(mail): When signature is too big and changing identity, a 'regex too big' error occurs. In this case just add signature at the end. Fixes #5695. 2023-07-31 10:41:37 +02:00
smizrahi
8582e423bd feat(preferences): Add user preferences to enable / disable signature for new mail, reply and forward 2023-07-26 19:38:57 +02:00
Hivert Quentin
854e83c22c fix(mail): autocomplete can find two lists named the same but in different address books 2023-05-30 18:29:55 +02:00
Hivert Quentin
9c7ef089c2 fix(mail): Recipients with umlaut (ü) trigerred the end of string
With chrome and edge and a german keyboard, the ü was considered as a separator keycode when adding recipients
2023-05-15 15:13:15 +02:00
Francis Lachapelle
715cf71ba3 fix(mail(js)): refresh of parent window when saving draft/template 2022-05-17 15:33:43 -04:00
Francis Lachapelle
35f9f35ef0 refactor(js): improve defintion of some controllers 2022-05-17 15:33:43 -04:00
Francis Lachapelle
c2eed7844a fix(mail(js)): use different email separator keys depending on locale
Fixes #3513
Fixes #4042
Fixes #5308
Fixes #5309
2022-04-27 15:38:51 -04:00
Francis Lachapelle
7c0592e03e fix(mail(js)): map the NSLocale to the proper CKEditor locale 2022-03-21 15:57:51 -04:00
Francis Lachapelle
d90e29ed63 fix(mail(js)): improve signature replacement when switching identities 2022-03-01 13:16:19 -05:00
Francis Lachapelle
6c420861d4 fix(mail(js)): handle new message from template in popup window 2022-02-14 12:56:08 -05:00
Francis Lachapelle
c986422a3d feat(mail(web)): Templates folder for pre-defined drafts
To create a template, the user needs to:

 - define a mailbox as the Templates folder;
 - move a draft to this special folder.

Fixes #4320
Fixes #5363
2022-02-11 10:06:57 -05:00
Francis Lachapelle
929c6b1c0c fix(mail): improve reply and forward templates
Fixes #5415
2022-01-26 09:02:03 -05:00
Francis Lachapelle
1786ec4d59 fix(mail(js)): ignore return key in input fields of editor
Fixes #4666
2021-12-09 17:31:56 -05:00
Francis Lachapelle
e064e9af44 fix(web(js)): position notifications to the bottom right
Fixes #5127
Fixes #5423
2021-12-03 17:40:21 -05:00
Francis Lachapelle
6ef99a5ec4 fix(mail(js)): save draft after having removed an attachment
Fixes #5432
2021-11-24 17:07:02 -05:00
Francis Lachapelle
80650919b8 feat(mail): prioritize personnal address books in autocompletion 2021-10-18 16:36:47 -04:00
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