Commit graph

342 commits

Author SHA1 Message Date
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
Francis Lachapelle 5bb6cea09e (js,css) Improve handling of attachments in editor 2015-12-01 16:12:30 -05:00
Francis Lachapelle 827bc00982 (js) Fix list refresh when saving draft at index 0 2015-12-01 11:19:18 -05:00
Ludovic Marcotte 39455a283a (fix) replace .md-actions with md-dialog-actions in JS files 2015-11-27 13:56:31 -05:00
Francis Lachapelle adb3c3a0e6 (html) Hide tags chips if message has none 2015-11-27 11:20:07 -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 6918650f5b (js) Close sidenav on small devices 2015-11-25 11:23:11 -05:00
Francis Lachapelle b6930fde26 (js) Move 'Reply All' action to a distinct button 2015-11-24 16:30:36 -05:00
Francis Lachapelle 5a5b4cc829 (js) Various improvements and fixes 2015-11-24 15:05:32 -05:00
Francis Lachapelle dc3741f436 (html,js) Adjust padding of dialogs
Following this commit:
d2140b1565
2015-10-14 10:31:15 -04:00
Francis Lachapelle e2d6e8ffe9 (js) Fix "file into" option of Sieve filter 2015-10-08 16:42:24 -04:00
Francis Lachapelle 73ac55acfe (js) Fix advanced search construction 2015-10-02 15:43:02 -04:00
Francis Lachapelle 790fc8e940 (js) Fix (sub)mailboxes state restore 2015-09-30 16:41:29 -04:00
Francis Lachapelle 35d1ca8775 Restore expandable mailboxes 2015-09-30 16:17:05 -04:00
Francis Lachapelle d07e254026 (js) Simplify Mailbox service 2015-09-30 11:29:05 -04:00
Francis Lachapelle 0f08571a83 (js) Fix ensureTarget filter to preserve CSS 2015-09-30 11:28:22 -04:00
Francis Lachapelle 90063ae563 (js) Fix error in advanced search mode 2015-09-29 08:58:23 -04:00
Francis Lachapelle 31f2e4b549 (js) Fix selected message class in advanced search
Also improved display of accounts subheaders.
2015-09-24 21:42:33 -04:00
Francis Lachapelle 70bb512bb8 Improve folders rename 2015-09-16 16:15:04 -04:00
Francis Lachapelle c464791d92 Improve display of mail advanced search 2015-09-14 21:35:34 -04:00
Francis Lachapelle 47ab4b837c (js) Fix issues with the mail advanced search
- fixed loading of headers when scrolling the virtual repeater;
- fixed viewing a single message;
- fixed search from a mailbox that contains subfolders.
2015-09-14 14:58:00 -04:00
Ludovic Marcotte cb0d327f90 (feat) initial implementation of advanced email search
There's one bug where viewing of the messages from the results
is still impossible due to the ui-router. This will be fixed
very soon.
2015-09-10 16:38:30 -04:00
Francis Lachapelle b646e35f5d (js) Fix mail labels handling in the Mail module 2015-09-10 11:44:09 -04:00
Francis Lachapelle 16d312eb98 (js) Don't load item in multi-selection mode
Also review the toolbars of the Calendar module.
2015-09-09 16:06:17 -04:00
Francis Lachapelle b8b45eda75 (js) Fix autocompletion of mail tags 2015-09-08 15:29:49 -04:00
Francis Lachapelle 370be4f835 (fix) Reload of message when saving draft 2015-09-08 12:22:37 -04:00
Francis Lachapelle 2720aebf04 Initial popup view for messages 2015-09-04 17:31:16 -04:00
Francis Lachapelle bf02b3046f (fix) Handle user's default for remote images 2015-09-04 16:43:01 -04:00
Francis Lachapelle 669bd99a2d (js) Fix bug when editing a saved draft 2015-09-03 14:11:39 -04:00
Francis Lachapelle 3b0ead7bbd (js) Cleanup unused dependencies 2015-09-03 14:11:39 -04:00
Ludovic Marcotte 3fdabf8671 (fix) properly update flags when message was answered/forwarded 2015-08-28 15:50:46 -04:00
Francis Lachapelle 8f7334f11d (js) Simplify Account and Message services 2015-08-28 15:17:04 -04:00
Ludovic Marcotte d878c69c15 (feat) can now create mails from address book module 2015-08-27 11:01:23 -04:00
Francis Lachapelle d9d59c6b52 (fix) Force a single mail composer dialog 2015-08-26 21:22:39 -04:00
Francis Lachapelle 69000a0929 Review animations of view detail (messages, cards) 2015-08-26 17:28:03 -04:00
Ludovic Marcotte 876d9cfa21 (fix) make messages loading very fast
Avoid calling angular.extend() loading when unwrapping the mailbox
and never call again Message.id directly, but rather use Message.$absolutePath()
which does initialization and caching
2015-08-26 11:56:47 -04:00
Francis Lachapelle da821ea6c7 (js) Improve recipient auto-completion 2015-08-25 22:17:57 -04:00
Francis Lachapelle 7b3a238fb9 (js) New progress indicator in Mail module 2015-08-25 12:20:46 -04:00
Ludovic Marcotte eab3ee111a (feat) now use md-on-demand for (hopefully) faster mailbox loading 2015-08-25 11:45:17 -04:00
Ludovic Marcotte 9c6884bd7d (feat) add single export/save as actions 2015-08-24 20:04:56 -04:00
Ludovic Marcotte 68ad3c1045 (fix) localize 'me' 2015-08-22 07:51:13 -04:00