Commit Graph

382 Commits (138ee065a24cc65f5d3db1c6e2e93500f33acd92)

Author SHA1 Message Date
Ludovic Marcotte ada9c57ef7 (feat) trivial warning for encrypted mails 2017-12-23 09:36:22 -05:00
Francis Lachapelle 4b355f532d Initial Web-based management of email certificate 2017-12-21 16:41:06 -05:00
Francis Lachapelle 60bbe26289 (js) Catch some exceptions to avoid console errors 2017-12-19 09:53:48 -05:00
Francis Lachapelle 3816d25a44 (js) Make sure mail identities are unique
Fixes #4338
2017-12-15 16:30:37 -05:00
Francis Lachapelle 1d90aa748d (js) Don't try to select "noselect" mailbox 2017-11-23 14:03:22 -05:00
Francis Lachapelle 5ff28a37e2 (js) Restore msgs selection after refresh
Fixes #4330
2017-11-09 18:18:22 -05:00
Francis Lachapelle e7c15a697d (js) Fix mail composition from message headers
Fixes #4335
2017-11-08 16:40:33 -05:00
Francis Lachapelle c68d7204a1 (js) Handle corrupted JSON data in Mail module 2017-11-01 13:29:46 -04:00
Francis Lachapelle ccb1439c84 (js) Handle corrupted JSON data in Mail module
The Mail module will now be loaded even if the JSON representing the
list of expanded mailboxes is not a properly formatted.
2017-10-31 13:25:51 -04:00
Francis Lachapelle 104ac2db33 New SOGoMailComposeWindow default 2017-09-20 16:50:41 -04:00
Francis Lachapelle 614a137128 (js) Fix parsing of tab-delimited email addresses
Fixes #4258
2017-09-08 10:50:10 -04:00
Francis Lachapelle 141b3af83b (js) Always show center list when no msg selected
Fixes #4269
2017-09-05 10:18:52 -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 5e5e52e3f1 register web app as a handler for mailto scheme
Fixes #1223
2017-08-29 11:45:24 -04:00
Francis Lachapelle 8df0896028 (js) Fix error handling in mail editor popup 2017-08-21 15:25:26 -04:00
Francis Lachapelle c48750c6f2 (js) Fix mail composition from mailto link 2017-07-04 17:23:00 -04:00
Francis Lachapelle d72c614d29 (js) Fix edition of mail tags 2017-06-15 16:04:47 -04:00
Francis Lachapelle 7464c2e680 (js) Support backspace AND delete keys 2017-06-14 13:38:40 -04:00
Francis Lachapelle 67b9ef0b8b (js) Fix mailbox deletion from the hot key 2017-06-14 13:24:08 -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 c8e90b4abd (css) Improve sgImageGallery for small devices
Also include md-truncate directive from ng-material.
2017-05-31 09:40:22 -04:00
Francis Lachapelle 0355f66e96 (js) New ImageGallery ng service 2017-05-29 15:19:03 -04:00
Francis Lachapelle b00fc756e6 (js) Cleanup dependencies of sgMailboxListItem 2017-05-29 14:51:51 -04:00
Francis Lachapelle 555b7303d1 (js) New images viewer for Mail module 2017-05-29 14:03:59 -04:00
Francis Lachapelle a26970b33b (js) Remove bindings on message flags in directive 2017-05-19 22:20:20 -04:00
Francis Lachapelle ec02efe873 (js) No one-time bindings inside virtual-repeater 2017-05-19 07:53:05 -04:00
Francis Lachapelle 28ae2fd58a (js) Review Mail module to decrease watchers 2017-05-18 15:31:38 -04:00
Francis Lachapelle 2b4e357da6 (js) Improve handling of IMAP timeout handling
For external accounts only.
2017-04-21 11:58:52 -04:00
Francis Lachapelle 08fcee67bd Improve IMAP error handling in Mailer module 2017-04-11 11:47:47 -04:00
Francis Lachapelle 75aaef0f3d (js) Restrict special mailboxes to the top level
Fixes #6963
2017-03-22 14:53:07 -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 75aa6e90a2 (js) Fix handling of attachments in mail editor
Fixes #4058, #4063
2017-03-03 15:36:52 -05:00
Francis Lachapelle 7a4dbcb364 (js) Update children paths when renaming a mailbox
Fixes #4046
2017-02-22 23:07:26 -05:00
Francis Lachapelle 48b2008da4 (js) Localize mailbox names everywhere
Fixes #4041
2017-02-19 21:13:44 -05:00
Francis Lachapelle b1e8f30138 (js) Localized inbox label
Fixes #4040
2017-02-17 21:22:10 -05:00
Francis Lachapelle d7d88e2620 (js) Compose new message in a popup window 2017-01-19 12:23:55 -05:00
Francis Lachapelle 41dbb88b64 (js) Expandable mail editor
Added "autogrow" plugin for CKEditor.
2017-01-19 07:05:52 -05:00
Francis Lachapelle 26b69d25ee (js) Fix opening message in popup window 2017-01-18 15:03:29 -05:00
Francis Lachapelle 3560f0486e (js) Fix hotkeys with an active dialog in Mailer
Fixes #3983
2017-01-06 18:26:12 -05:00
Francis Lachapelle 8404de758b Improve error messages around draft attachments 2017-01-06 16:12:42 -05:00
Francis Lachapelle 4c78d81bf7 Formatting & Comments 2016-12-19 11:15:35 -05:00
Francis Lachapelle 011fae8a65 Download attachments of a message as a zip archive 2016-12-07 14:38:33 -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 c42507dbe4 (js) Add basic range selection with shift key 2016-11-10 10:42:23 -05:00
Francis Lachapelle 5961117208 (js) Fix uploading same attachment after removal
Fixes #3876
2016-11-10 10:21:33 -05:00
Francis Lachapelle 62a3057633 (js, html) Fix IMAP folder subscriptions manager
Fixes #3865
2016-11-08 15:20:41 -05:00
Francis Lachapelle 4a6e53934b (js) Mark multiple messages as seen
Fixes #3873
2016-11-07 12:14:00 -05:00
Francis Lachapelle 8cadf5cbbd (js) Fix mail settings persistence of sorting 2016-11-02 15:11:01 -04:00
Francis Lachapelle 0e0f53cd98 Allow a mailbox to be deleted immediately
Fixes #3875
2016-11-01 11:40:59 -04:00
Francis Lachapelle 5c7147cccc (js) Restore immediate deletion of messages 2016-11-01 10:35:00 -04:00
Francis Lachapelle 36c5f72317 Fix some unlocalized strings
Fixes #3858
2016-10-21 10:55:59 -04:00
Francis Lachapelle 9a050620f0 (js) New hotkeys for message controller
Fixes #3834
2016-10-17 15:37:40 -04:00
Francis Lachapelle 5c8568f14e (js) Improve navigation with hotkeys in lists 2016-10-03 11:27:57 -04:00
Francis Lachapelle c845d021ea (js) Add hotkey to flag a message 2016-09-30 12:15:37 -04:00
Francis Lachapelle 268b8ea1c3 (js,html) Improve IMAP subscriptions manager 2016-09-30 12:02:46 -04:00
Francis Lachapelle 57a735753f (js,css) Improve keyboard shortcuts
- Defined some hotkeys in all modules;
- Added generation of cheat sheet.
2016-09-27 16:16:09 -04:00
Francis Lachapelle ae58c771b6 (js) Add Mailbox.prototype.$selectedMessageIndex 2016-09-26 09:52:54 -04:00
Francis Lachapelle a2e3807a3a (js) Initial support for keyboard shortcuts 2016-09-23 17:17:25 -04:00
Francis Lachapelle 0c9a301f25 Automatically mark msg as read in Mail module
This avoids an extra XHR to the server.
2016-09-22 15:51:56 -04:00
Ludovic Marcotte 42127c51ab (feat) added IMAP folders subscriptions management (fixes #255) 2016-09-14 15:57:49 -04:00
Francis Lachapelle 4c23f21ae1 (js) Insert unseen msgs count in window's title 2016-09-12 16:11:35 -04:00
Francis Lachapelle 6dc2078c38 (js) Error handling when renaming a mailbox 2016-09-07 16:44:11 -04:00
Francis Lachapelle 84a2c70c87 (js) DnD of messages in the Mail module
Fixes #3497, #3586, #3734, #3788
2016-08-04 17:34:29 -04:00
Francis Lachapelle 80338daf91 Expunge mailbox on specific actions
Current mailbox is now expunged when leaving the Mail module. The drafts
mailbox is also expunged when a message is sent.
2016-07-27 11:56:28 -04:00
Francis Lachapelle 1a3fc0a1d2 (js) Notify on successful messages operations 2016-07-15 14:37:56 -04: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 cccdeee707 (js) Add batch operations in advanced search 2016-07-04 17:34:13 -04:00
Francis Lachapelle 13e826b6f2 (js) Add batch operations in advanced search 2016-06-23 16:05:05 -04:00
Francis Lachapelle dfc904f4f3 (js) Never query Gravatar.com when disabled 2016-06-21 21:29:44 -04:00
Francis Lachapelle 77ce13967c (js) Improve $scope.$watch 2016-06-07 11:08:06 -04:00
Francis Lachapelle 8395a78f6d (js) Fix error handling when renaming a mailbox 2016-06-03 09:01:26 -04:00
Francis Lachapelle 6d8dc29f28 (js) Minor cleanup 2016-06-02 11:24:58 -04:00
Francis Lachapelle b008e220fe (js) Fix error when visiting the Preferences 2016-06-01 14:00:41 -04:00
Francis Lachapelle 5c2aedb3c9 (js) Show loading progress for messages and cards 2016-05-30 12:31:31 -04:00
Francis Lachapelle f4d83bfa19 (js) Fix automatic expansion of mail account 2016-05-27 13:55:14 -04:00
Francis Lachapelle 06f596f821 (js) Collapsable mail accounts
Fixes #3493
2016-05-26 15:48:15 -04:00
Francis Lachapelle 7c4b1b36cf (js) Fix restore of mailboxes expansion states 2016-05-26 11:18:36 -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 ce1fb708a0 (js) Fix navigation in Mail advanced search mode 2016-05-18 14:47:33 -04:00
Francis Lachapelle 045013bc74 (js) Fix breakpoints consistency 2016-05-18 14:35:24 -04:00
Francis Lachapelle 669eee301b (js) Different behaviour when deleting msg in xs 2016-05-17 16:39:12 -04:00
Francis Lachapelle 8c4d4e0e2d (js) Fix usage of the "export" reserved word 2016-05-17 14:31:31 -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 315117b029 (js) Check for undefined message flags 2016-05-10 21:18:51 -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
Ludovic Marcotte d3ba62854c (fix) missing import 2016-05-05 08:24:26 -04:00
Ludovic Marcotte d4fc1775b2 (fix) code improvement for readability 2016-05-04 12:45:08 -04:00
Ludovic Marcotte de0540c784 (fix) completed the required modifications for XSRF in the mail module 2016-05-04 11:12:30 -04:00
Francis Lachapelle 64ce63d812 (js) Add support for XSRF token with downloads
Initial support to download a file from an Ajax query. This allows the
XSRF token to be sent and verified by the server.
2016-05-03 12:57:36 -04:00
Francis Lachapelle 2a3a575e72 (js) angularFileUpload now requires ngCookies 2016-05-02 09:39:55 -04:00
Francis Lachapelle 4eda59b3e7 (js) Fix handling of mail tags in msg viewer 2016-03-28 10:43:16 -04:00
Francis Lachapelle dec3f94392 (js) Fix message initialization in popup window
Fixes #3583
2016-03-15 09:59:57 -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 19d22cdcfb Adapt to latest md changes 2016-03-08 13:21:11 -05:00
Francis Lachapelle 9dd5dc4c47 (js) Cleanup of "catch" for promises 2016-03-04 11:00:44 -05:00
Francis Lachapelle fd8d7bb6ed (js) Fix attachments display when forwarding a msg
Fixes #3560
2016-03-03 15:41:29 -05:00
Francis Lachapelle 72a38c51b4 (js) Fix selection of search results in Webmail
When performing a search from the special router state
"mail.account.inbox", the first selection was changing the state name
and resetting the search. The special "inbox" state will now force a URL
change to avoid this problem.
2016-03-03 15:03:42 -05:00
Francis Lachapelle d4745ef598 (js) Update lodash to version 4.6.1 2016-03-03 13:46:14 -05:00
Francis Lachapelle 699399f339 (css) Initial media print (for messages only) 2016-02-26 15:45:28 -05:00
Francis Lachapelle 163e4637aa (js) Improve display of msgs with many recipients 2016-02-26 15:19:33 -05:00
Francis Lachapelle b294c5381a (js) Improve sg-search directive 2016-02-25 10:10:53 -05:00
Francis Lachapelle e5fe211dcd (js) Add missing dependency to msg popup view
Fixes #3545
2016-02-25 08:59:02 -05:00
Francis Lachapelle a838871361 (js) Fix UIDs range when preloading messages 2016-02-23 10:23:51 -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
Francis Lachapelle dfc0d23fa7 (js) Remove deferred promise 2016-02-10 16:40:38 -05:00
Francis Lachapelle 99e5c1b93c (feature) Convert a message to an event or task
Resolves #1722
2016-02-10 16:15:00 -05:00
Francis Lachapelle 37f4b11834 (js) Improve confirm dialogs for deletions 2016-02-10 10:52:46 -05:00
Ludovic Marcotte 693f80dc9a (feat) now supports RFC6154 and NoInferiors IMAP flag 2016-02-10 10:00:59 -05:00
Francis Lachapelle 1c52093537 (js) Move to top when changing mailbox 2016-02-08 15:43:02 -05:00
Francis Lachapelle 5a408bf14b (js) Fix virtual repeater when moving up in msgs 2016-02-08 15:39:25 -05:00
Ludovic Marcotte ee3276f01d (feat) added Junk handling feature from v2 2016-02-08 15:36:01 -05:00
Francis Lachapelle d63e277fc6 (js) Apply search filters when reloading mailbox
Fixes #3507
2016-02-08 10:07:44 -05:00
Francis Lachapelle e3fbde3c16 (js) Verify $topIndex of virtual-repeater
Fixes #3500
2016-02-05 10:55:05 -05:00
Francis Lachapelle f321e1c949 (js) Add "Move To" option for selected messages
Fixes #3477
2016-02-03 16:48:04 -05:00
Francis Lachapelle 0236d9ef46 (js) Remove empty error callbacks for promises 2016-02-03 14:32:29 -05:00
Francis Lachapelle 1a7e5c248f (js) Improve scrolling behavior when deleting msg
Fixes #3489
2016-02-03 10:53:26 -05:00
Ludovic Marcotte 5413ac8aa3 (fix) make sure an email is defined before trying to use it (#3488) 2016-02-03 09:00:08 -05:00
Francis Lachapelle cf91004ae6 (js) Improve handling of IMAP connection problem
Fixes #194
2016-02-02 15:06:00 -05:00
Emílio Fonseca bf3a072e6b Adding TAB to separate recipients in Mail Editor 2016-01-25 17:54:11 -02:00
Ludovic Marcotte dd59ef6c1d Remove superfluous code. 2016-01-25 14:32:56 -05: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 3787296fd6 (js) Scroll to previously selected message 2016-01-18 14:33:31 -05:00
Francis Lachapelle 3fa0c83626 (js) Close sidenav when searching on small screen 2016-01-18 14:05:33 -05:00
Francis Lachapelle be6bd47c15 (js) Improve URL routing in Mail module 2016-01-15 15:09:13 -05:00
Francis Lachapelle f5432525ec (js) Remove dependency on stateAccount 2016-01-14 16:06:55 -05:00
Francis Lachapelle 78771d7abb (js) Fix highlight of selected message 2016-01-13 16:24:37 -05:00
Francis Lachapelle 2c59495005 (js) Unselect message when selecting same mailbox 2016-01-13 12:34:15 -05:00
Francis Lachapelle 1bcdac328a (js) Improve message selection when deleting msgs 2016-01-08 16:31:06 -05:00
Francis Lachapelle f8d71966b9 Improve selection of mailboxes 2016-01-07 16:33:41 -05:00
Francis Lachapelle c86499f658 (js) Show indicator when swtiching mailbox 2016-01-07 16:32:08 -05:00
Francis Lachapelle 68c72f681c (js) Improve message viewer/editor in popup window 2016-01-07 15:45:16 -05:00
Francis Lachapelle 2acf9830f1 (js) Move ngSanitize dependency to SOGo.Common 2016-01-04 11:51:59 -05:00
Francis Lachapelle 6464e35704 (js) Decompose contacts list in mail editor 2015-12-22 16:58:40 -05:00
Francis Lachapelle 662201a428 (js) Show message when emptying the trash 2015-12-21 21:16:20 -05:00
Francis Lachapelle 39510a3242 Show inbox quota information in Mail module 2015-12-21 21:14:39 -05:00
Ludovic Marcotte 96e93c0eeb (feat) show toast when compacting folder 2015-12-10 13:54:24 -05:00
Ludovic Marcotte 28399b698a (feat) show toast when saving and sending messages 2015-12-10 13:41:07 -05:00
Francis Lachapelle cfe6a30d64 (js) Show all mailboxes when copying messages 2015-12-10 12:07:01 -05:00
Francis Lachapelle 6672e03c22 (js) Fix batch delete of messages
Internal arrays/objects were not properly updated.
2015-12-10 11:22:43 -05:00
Francis Lachapelle db96b2830e (js) Intercept and show HTTP errors in md-toast 2015-12-08 16:45:24 -05:00
Francis Lachapelle 7b1febe841 Fix display of S/MIME signature validation 2015-12-08 11:56:01 -05:00
Francis Lachapelle ee71829134 (js) Fix reply and compose message links 2015-12-07 14:07:48 -05:00
Francis Lachapelle e14414ed56 Various Web interface changes
- more contrasted primary palette;
- white toolbars for list and detail views;
- modules navigation always visible;
- wrapped detail views into a md-card;
- moved preferences button to the sidenav;
- moved the sidenav toggle button to the top toolbar;
- new "flip" visual effect when looking at the raw source of cards and
  messages.
2015-12-04 15:15:44 -05:00
Francis Lachapelle af5599015b (js) Add links to attachments in message editor 2015-12-02 16:32:39 -05:00
Francis Lachapelle 8635eab502 Improve display of message attachments
Images are now "zoomable" by clicking on them.
2015-12-02 14:03:10 -05:00
Francis Lachapelle f0ec431f30 (js) Refresh draft folder when saving new message 2015-12-01 16:26:30 -05:00