Commit graph

995 commits

Author SHA1 Message Date
Ben Gotow a7ee6acbc5 Fix display of the application license file 2019-10-22 00:12:42 -05:00
Ben Gotow ed0270c17e Convert meta / control to mod only on the correct platforms #1678 2019-10-22 00:12:42 -05:00
Ben Gotow 8963b14364 When switching layout modes, clear selection to avoid immediate mark-as-read #1679 2019-10-22 00:12:42 -05:00
Piotr Zarycki 3071e76c4a Add instagram signature link - fix 2019-10-21 15:35:39 -05:00
Piotr Zarycki b40b82a3ce Add instagram signature link 2019-10-21 15:35:39 -05:00
Ben Gotow 63f39fca56 Bump to 1.7.2, update Changelog 2019-10-16 11:14:29 -05:00
Ben Gotow 45d4260b6d Bump to 1.7.1, update Changelog 2019-10-14 15:00:38 -05:00
Ben Gotow 9c763dac6c Fix race condition in ListTabular causing thread list to appear blank for some users 2019-10-14 13:38:20 -05:00
Ben Gotow 32254f2de9 Fix regression in some third party themes due to outline-viw classname change 2019-10-14 13:37:56 -05:00
Ben Gotow 65435390ad Requesting unapproved read-write Google Contacts API results in “App Not Verified”
We will have to make Google support read-only until the additional oauth scope is approved…
2019-10-14 01:04:03 -05:00
Ben Gotow 79cddc6968 Adjust Windows-specific CSS to match new slightly narrower toolbar 2019-10-13 15:57:57 -05:00
Ben Gotow 989482f417 Add a note to the login screen that FastMail requires an app password 2019-10-13 15:29:06 -05:00
Ben Gotow 75b234975f Bump version to 1.7.0 and update changelog 2019-10-13 14:44:04 -05:00
Ben Gotow c629967c3d Add a proper address book with CardDAV + Google People support
commit 423cf4f407
Author: Ben Gotow <ben@foundry376.com>
Date:   Fri Oct 11 22:33:53 2019 -0500

    Replace belcard with homegrown VCard parser because our needs are minimal and the linux binary has relocation issues

commit 4ae19c0ed5
Author: Ben Gotow <ben@foundry376.com>
Date:   Fri Oct 11 10:38:26 2019 -0500

    Skip building a few more belr components, still looking for relocation error cause

commit a7ec02a449
Author: Ben Gotow <ben@foundry376.com>
Date:   Thu Oct 10 22:16:15 2019 -0500

    Fix windows SRV record lookups for contact directory autodiscovery

commit 318a31d279
Author: Ben Gotow <ben@foundry376.com>
Date:   Thu Oct 10 20:50:06 2019 -0500

    Leave vcard_grammar unpacked so mailsync can find it at runtime

commit bf7e43e37d
Author: Ben Gotow <ben@foundry376.com>
Date:   Thu Oct 10 20:43:01 2019 -0500

    Fix bug in icon case sensitivity

commit c283513653
Author: Ben Gotow <ben@foundry376.com>
Date:   Thu Oct 10 17:29:24 2019 -0500

    Renew Windows Authenticode code signing cert (there goes $500…)

commit d13235f65b
Author: Ben Gotow <ben@foundry376.com>
Date:   Wed Oct 9 23:25:34 2019 -0500

    Bump mailsync to move belr dlls

commit 00ca6431df
Author: Ben Gotow <ben@foundry376.com>
Date:   Wed Oct 9 23:22:53 2019 -0500

    Bump to xcode9 to fix odd C++11 error

commit 47903c99c4
Author: Ben Gotow <ben@foundry376.com>
Date:   Wed Oct 9 23:01:32 2019 -0500

    Bump mailsync to build belr as a dll instead of a static lib

commit 21d645d4e7
Author: Ben Gotow <ben@foundry376.com>
Date:   Wed Oct 9 22:38:24 2019 -0500

    Bump mailsync

commit 3f943031cb
Author: Ben Gotow <ben@foundry376.com>
Date:   Wed Oct 9 21:57:39 2019 -0500

    Bump mailsync to fix windows libetpan failure

commit 8fb55ca0fc
Author: Ben Gotow <ben@foundry376.com>
Date:   Wed Oct 9 21:36:57 2019 -0500

    Bump mailsync, add grammar

commit b959c54e50
Author: Ben Gotow <ben@foundry376.com>
Date:   Wed Oct 9 21:20:13 2019 -0500

    Bump mailsync for linux / win32

commit ddb5229d67
Author: Ben Gotow <ben@foundry376.com>
Date:   Tue Oct 8 22:44:12 2019 -0500

    Bump mailsync

commit f80e1bc422
Author: Ben Gotow <ben@foundry376.com>
Date:   Tue Oct 8 11:11:39 2019 -0500

    Fix LESS linter failures

commit 66dc60a731
Author: Ben Gotow <ben@foundry376.com>
Date:   Tue Oct 8 11:00:37 2019 -0500

    Extend participant search to return / expand groups

commit 3bded91307
Author: Ben Gotow <ben@foundry376.com>
Date:   Tue Oct 8 03:18:11 2019 -0500

    Add comments, etc

commit 4ede5446de
Author: Ben Gotow <ben@foundry376.com>
Date:   Tue Oct 8 02:38:50 2019 -0500

    Google People API contacts CRUD alongside CardDav

commit 96c6a64e46
Author: Ben Gotow <ben@foundry376.com>
Date:   Mon Oct 7 14:00:34 2019 -0500

    Build ContactBook concept to track which accounts have sync running

commit 1f6aab1083
Author: Ben Gotow <ben@foundry376.com>
Date:   Mon Oct 7 11:38:03 2019 -0500

    Contact and contact group CRUD, address book menus

commit b877c58d48
Author: Ben Gotow <ben@foundry376.com>
Date:   Sun Oct 6 16:32:33 2019 -0500

    Editing contact names working

commit 761079304c
Author: Ben Gotow <ben@foundry376.com>
Date:   Mon Sep 30 15:42:59 2019 -0500

    Improved styling of YYYYMMDD field

commit 71a567276b
Author: Ben Gotow <ben@foundry376.com>
Date:   Mon Sep 30 15:06:28 2019 -0500

    UI for edit + move + delete contacts

commit f1967dd603
Author: Ben Gotow <ben@foundry376.com>
Date:   Thu Sep 26 13:50:44 2019 -0500

    Allow you to turn on / off the “Found in Mail” autocompletions

commit 0c2b0eb03b
Author: Ben Gotow <ben@foundry376.com>
Date:   Thu Sep 26 13:50:14 2019 -0500

    Improve contacts window launch perf by lazy loading composer support, scanning less of fs for themes

commit 07abd6cb71
Author: Ben Gotow <ben@foundry376.com>
Date:   Thu Sep 26 04:36:10 2019 -0500

    Support for CardDav contact display, better groups presentation

commit 0a9e166d79
Author: Ben Gotow <ben@foundry376.com>
Date:   Tue Sep 24 12:42:37 2019 -0500

    Add hidden attribute to the model in prep for deletion of auto-created contacts

commit e6ce3b2af9
Author: Ben Gotow <ben@foundry376.com>
Date:   Tue Sep 24 12:12:52 2019 -0500

    Initial pass at address book

commit 740d7e8655
Author: Ben Gotow <ben@foundry376.com>
Date:   Tue Sep 24 08:27:06 2019 -0500

    Make headers of Preferences > Accounts consistent with General
2019-10-12 12:40:57 -05:00
Ben Gotow 1d5f3ff4f1 Fix account re-ordering via drag and drop #1577 2019-10-08 22:43:07 -05:00
Ben Gotow 0c2da7a7a4 Always display non-inline image attachments as files in the composer for clarity #1653 2019-10-08 22:43:02 -05:00
Ben Gotow e319e9d447 Remove the (broken) plugin template and link to the starter github repo instead #1645 2019-10-08 22:42:56 -05:00
Ben Gotow 2165c54be2 Make headers of Preferences > Accounts consistent with General 2019-10-08 22:42:46 -05:00
Mathieu Petitjean 7b7efdfc25 Slight improvements to FR translation 2019-10-08 11:13:05 -05:00
Clemens Damke 2b6cb0ad86 Various fixes in the german translation 2019-10-08 11:12:43 -05:00
Ben Gotow 4e5c02eee6 On Linux, system tray does not turn blue if window is hidden #1467 2019-09-23 23:57:23 -05:00
Ben Gotow 78ecc4d7fb Need to move Win32 visual elements XML into place on first run 2019-09-23 18:11:15 -05:00
Ben Gotow 91add0b67e Only requestAnimationFrame calls stop in the background, this is fine 2019-09-23 17:44:15 -05:00
Ben Gotow d561d7d6a1 Stop using model version to check if a message is brand new #1467 2019-09-23 17:43:52 -05:00
Ben Gotow 03dd94596c Disable window throttling at the Chromium layer, Electron backgroundThrottling is broken #1467 2019-09-23 16:59:38 -05:00
Ben Gotow 8b6abc979a Add Show first and last names of all recipients #515, #505 2019-09-23 16:10:40 -05:00
Ben Gotow 48a768dce8 Make Preferences > General two columns, slightly better? 2019-09-23 16:10:18 -05:00
Ben Gotow 9ce848c053 Add VisualElements manifest to the Windows version for square Start icon 2019-09-23 15:11:56 -05:00
Ben Gotow ca55b5c870 Add VisualElements manifest to the Windows version for square Start icon 2019-09-23 14:49:13 -05:00
Max b508a318be Update the icon for Windows 2019-09-23 14:48:39 -05:00
Ben Gotow 6608d37a73 Fix lint task - paths in eslintrc are relative to cwd not eslintrc file 2019-09-23 13:45:59 -05:00
Ben Gotow bf389079ac Fix a whole bunch of failing tests that needed ❤️ [7 left] 2019-09-23 13:24:15 -05:00
mhatvan d79cd44c11 allow cancel upgrade prompt (#1514, #913), change invalid 'apt install libgconf2-4' to libgconf-2-4 in CONTRIBUTING.md
Signed-off-by: mhatvan <markus_hatvan@aon.at>
2019-09-23 10:48:08 -05:00
Markus Hatvan 14d47659f4 Add preferences option 'show detailed message header by default' to reading section (#1521) (#1525)
Signed-off-by: mhatvan <markus_hatvan@aon.at>
2019-09-23 10:43:50 -05:00
Maurits Lourens 506124cf28 add frame and remove toolbar from calendar preview (#1545) 2019-09-23 10:40:18 -05:00
Alessandro Magionami 63db2fbf15 Added the leading 'www' to the social links in the sidebar, now curso… (#1559)
* Added the leading 'www' to the facebook and linkedin links in the sidebar, now cursor pointer is shown wheh hovering social links in the sidebar

* SocialProfileLink now accepts a hostname parameter used to generate social link urls, service remains only for the img
2019-09-23 10:39:01 -05:00
Harvzor de07989480 Fixed unread tray icon always showing when windows is blurred (#1017) 2019-09-23 10:34:52 -05:00
Devon Zuegel f4929c7c9b Add snooze date shorthand expander (#1621)
* Add snooze date shorthand expander

* Add "tomorrow", "next week" expanders

* Support "2mo" for "2 months"

* Add additional tomorrow expander
2019-09-23 10:13:45 -05:00
Maj Štrukelj b3b1f84874 Update sl.json (#1614)
Corrected about half of the translations (finished at line 251)
2019-09-23 10:11:31 -05:00
Matheus Reich 22f13bf3f0 pt-BR.json (#1618)
Added new strings to the translation file, and corrected a few miswritten words.
2019-09-23 10:10:35 -05:00
Daniel Opitz cd2e1f63c8 Fixed placeholder typo in german translation (#1619) 2019-09-23 10:09:46 -05:00
singer233 4222032627 Update zh-CN.json (#1622)
add 1 new mandarin translation
2019-09-23 10:09:07 -05:00
lizzards 8d0040223b Update ta.json (#1631) 2019-09-23 10:08:31 -05:00
Ben Gotow ed72723b6d Use a LRU approach for the cache of translated messages 2019-08-02 00:21:35 -05:00
Ben Gotow 7102809fb4 More sophisticated logic to reduce # of characters sent to translation service 2019-08-02 00:13:00 -05:00
Ben Gotow dc0c6e2307 Very questionable whether CSS linting is worth it 2019-07-31 10:01:03 -05:00
Ben Gotow 4f75f7435f Improve removal of quoted text added by terrible old mail clients 2019-07-31 03:50:56 -05:00
Ben Gotow 87a4853db9 Keep translated message bodies in local storage to avoid re-requests 2019-07-31 02:06:05 -05:00
Ben Gotow 6b53ff6c91 Machine translate missing strings added in translation feature 2019-07-31 01:45:48 -05:00
Ben Gotow 767bd66361 Feature: translate incoming messages into your preferred language automatically 2019-07-31 01:19:03 -05:00
Ben Gotow e2bdf45b68 JS Regexp engine does not support posessive qualifiers, fix link regexp another way 2019-07-26 12:15:38 -05:00
Ben Gotow a8dd37217b Fork slate-react to backport null checks in paste / dragover 2019-07-26 12:15:08 -05:00
Ben Gotow 1d2163c29a Fix insanely catastrophic backtracking when typing a link with a #hash and then “return” #
This change makes this part of the regexp “greedy and posessive”, meaning that if the regexp reaches the `$` end-of-string qualifier and it’s not the end of the string, it can’t go back and try to change the way it allocated characters to the regexp to make it work (infinitely.)
2019-07-22 11:12:46 -05:00
Ben Gotow 78268432c5 Suggest rather than require gnomekeyring on Debian #998 2019-07-07 19:09:25 -05:00
Ben Gotow 134a0e55b8 Ensure that a textInput event is always emitted when text composition ends #1531 2019-07-01 14:09:46 -05:00
Ben Gotow 2508797ff1 Do not jump to next field when pressing Tab during IME composition #1531 2019-07-01 13:41:18 -05:00
Ben Gotow a6a3b5d23a Update changelog, fix build 2019-06-30 23:35:06 -05:00
Ben Gotow af61bac1a5 Fix drag and drop of messages onto a label / folder in the sidebar #1533 2019-06-30 22:56:25 -05:00
Ben Gotow 99a40d7b9f Fix critical drag and drop issue with composer, dropEffect now required? #1534 2019-06-30 21:52:57 -05:00
Ben Gotow 3ab9b0edf1 Add a small button for downloading ics attachments to the event preview #1547 2019-06-30 20:48:13 -05:00
Ben Gotow 9d1b8fe600 Add a context menu to attachment items with the direct-open / save options #1548 2019-06-30 20:37:36 -05:00
Ben Gotow 020780223d Improve launch perf by only retrieving account keys once, not in for loop 2019-06-30 19:50:28 -05:00
Ben Gotow 33aba8f31f Sentry fix: new items that were not in the previous set have new sort orders 2019-06-23 18:13:53 -05:00
Ben Gotow c3fb7bd8db Sentry fix: Display an error when encountering ts files in plugins—we are no longer shipping the typescript compiler 2019-06-23 11:25:23 -05:00
Ben Gotow e492429548 Fork Slate and backport #slate/2772 and #slate/2800 to fix common crash cases 2019-06-23 01:43:08 -05:00
Ben Gotow 7a1be10ca1 Sentry fix: pressing the left/rright arrow keys in an empty To field throws an exc 2019-06-23 01:00:36 -05:00
Ben Gotow 900ccdbc73 Sentry fix: Occasionally value.focusBlock is null when markdown shortcut fires 2019-06-23 00:47:50 -05:00
Ben Gotow 5bb9e80404 Sentry fix: Only display sender responses inline if the email has a From: line 2019-06-23 00:47:09 -05:00
Ben Gotow 67605e983f Sentry fix: don’t count on theme names being valid CSS selectors 2019-06-23 00:43:48 -05:00
Ben Gotow 0134c8a4b3 Sentry fix: Don’t allow labels to be selected as the Gmail trash folder, see description
This is neat but Gmail has very specific semantics around labels vs the “spam”, “trash” and “all mail” folders. If you choose a label as your Trash the email still appears in all mail and Mailspring freaks out in several places. We could fix support for this scenarrio, but it’s unlikely this is what users actually want.
2019-06-23 00:27:20 -05:00
Ben Gotow 1c485ae213 Sentry fix: reproduce issue with reminder metadata not transfered to thread, increase timeout 2019-06-22 23:47:04 -05:00
Ben Gotow 808c7581a4 Sentry fix: handling events from a second instance being launched before app setup crashes 2019-06-22 23:28:30 -05:00
Ben Gotow 8edc9f0fc6 When Slate fails, include the shape (not content) of the offending draft in the error report and recover 2019-06-22 01:05:37 -05:00
Ben Gotow 50d61d36fa Sentry fix: A draft with an empty string body is populated 2019-06-22 00:25:33 -05:00
Ben Gotow 684eb2d420 Sentry fix: Cannot read property 'setHeightQuietly' of null 2019-06-21 23:25:41 -05:00
Ben Gotow e35d44109c Bump master to 1.6.3 2019-06-21 23:25:17 -05:00
Ben Gotow 278bf219bf Improve performance of client queries - accountId is redundant and triggers use of wrong index 2019-06-18 02:37:52 -05:00
Ben Gotow 0a2feaa88d Fix self-triggering opens on server-created drafts (message ID not set by Mailspring) 2019-06-18 01:25:55 -05:00
Ben Gotow 9b506c55d3 When message list is in descending order, avoid mutating state in-place 2019-06-17 13:37:26 -05:00
Ben Gotow 2c630c47bc Draft “commit time” is the time the write starts, not the time the write finishes 2019-06-17 12:45:07 -05:00
Ben Gotow adbae6657c Beta feedback: mailbox permalink dates are in unix time, not JS time 2019-06-17 01:08:41 -05:00
Ben Gotow 763232b177 Bump down composer toolbar item padding slightly to avoid wrapping 2019-06-17 00:59:29 -05:00
Ben Gotow 6d4e805437 Tighten padding of composer action bar buttons so they fit at narrowest size 2019-06-16 22:00:18 -05:00
Ben Gotow 9c242f5bb2 Fix linter error 2019-06-16 21:57:19 -05:00
Ben Gotow 3b15c3b887 Improve performance of modals and the preferences sheet animation 2019-06-16 20:23:19 -05:00
Ben Gotow bf246e64e7 Improve theme support in new event RSVP cards 2019-06-16 19:57:22 -05:00
Ben Gotow b189b0e65a Don’t query for “related threads” if the contacts sidebar is closed 2019-06-16 19:44:08 -05:00
Ben Gotow cfef571559 Improve performance of body <> bodyEditorValue by making both mutations lazy 2019-06-16 16:47:40 -05:00
Ben Gotow 60c613fe7d Sentry fix: Warn about a greater range of fs errors, don’t collect them 2019-06-16 16:46:20 -05:00
Ben Gotow b28931dad4 Sentry fix: Handle scenario where messge, thread specified for new draft cannot be found 2019-06-16 15:34:40 -05:00
Ben Gotow aee42e31c8 Sentry fix: Clicking upgrade before the SSO URL has been retrieved should work 2019-06-16 15:22:57 -05:00
Ben Gotow f1bdd892ed Sentry fix: Additional rare null-scenario handling 2019-06-16 15:22:22 -05:00
Ben Gotow c50cfaf3ff Sentry fix: Handle case where spawning a background query runner fails immediately 2019-06-16 14:57:30 -05:00
Ben Gotow 0405cfc31c Sentry fix: Handle null in a few strange places / rare cases 2019-06-16 14:40:53 -05:00
Ben Gotow a4eb7d6ee2 Sentry fix: guard more aggressively against creating tasks when folders are missing 2019-06-16 14:25:55 -05:00
Ben Gotow b70e27a66a Sentry fix: when the web contents have crashed, we can’t mount a dialog to the window reliably 2019-06-16 13:55:03 -05:00
Ben Gotow 7db9258f5a Sentry fix: Crash when popping out a draft before it’s loaded 2019-06-16 13:51:53 -05:00
Ben Gotow 31a9f7e257 Sentry fix: Fix undefined reference in IdentityStore 2019-06-16 13:43:40 -05:00
Ben Gotow 808f516a09 Sentry fix: Linux theme config can reference a theme that cannot be found
Error: Cannot read property 'data' of null
  File "/tmp/nylas-build/electron-packager/linux-x64/mailspring-linux-x64/resources/app/src/linux-theme-utils.ts", line 175, col 61, in __getAllIconPaths
  File "/tmp/nylas-build/electron-packager/linux-x64/mailspring-linux-x64/resources/app/src/linux-theme-utils.ts", line 212, col 17, in getIconFromTheme
  File "/tmp/nylas-build/electron-packager/linux-x64/mailspring-linux-x64/resources/app/src/linux-theme-utils.ts", line 245, col 14, in getIconPath
  File "/tmp/nylas-build/electron-packager/linux-x64/mailspring-linux-x64/resources/app/src/linux-theme-utils.ts", line 269, col 10, in Object.getIcon
  File "/tmp/nylas-build/electron-packager/linux-x64/mailspring-linux-x64/resources/app/src/native-notifications.ts", line 111, col 30, in NativeNotifications.getIcon
2019-06-16 13:37:45 -05:00
Ben Gotow acfe38e485 Sentry fix: race condition can cause finalize to be called after captureWindow destroyed 2019-06-16 13:34:54 -05:00
Ben Gotow 3994c6e67f Sentry fix: Don’t report completely empty error payloads to Sentry 2019-06-16 13:33:31 -05:00
Ben Gotow 88dc7bb6b9 Sentry fix: “Cannot read property 'split' of undefined” in linux theme resolution 2019-06-16 13:24:46 -05:00
Ben Gotow 1547234040 Don’t waste CPU animating the tooltip “dots” when in the background 2019-06-16 12:04:53 -05:00
Ben Gotow 62d2c700b8 Handle changes in same ms as lastCommitTime, committed but not finished, when sending 2019-06-14 11:38:43 -05:00
Ben Gotow ad13cab209 Fix support for select-all + copy of email message contents 2019-06-14 02:16:56 -05:00
Ben Gotow e549d48299 Copy-pasting out and back in to the editor uses Slate’s representation, not HTML 2019-06-14 02:12:30 -05:00
Ben Gotow 6167938af2 Allow copy-paste of void nodes (images) in Slate by changing fix to #787 2019-06-14 02:11:48 -05:00
Ben Gotow 4d06593b93 Add a small hack to allow copy-pasting just an image in the composer 2019-06-14 01:53:30 -05:00
Ben Gotow 33048e3388 Allow Slate’s default drag-and-drop behavior to pass through the file dropzone 2019-06-14 01:45:38 -05:00
Ben Gotow ee909d5ceb Improve the styling of inline image attachments in the composer 2019-06-14 01:45:00 -05:00
Ben Gotow c02a3b33f1 window.onerror is not always calleed with an error object (resizeobserver issue) 2019-06-13 22:51:10 -05:00
Ben Gotow 9e31412654 Profile and improve resize performance, fix “resize observer loop” error 2019-06-13 22:50:32 -05:00
Ben Gotow 1808e52b05 Update changelog for 1.6.2 release (pending testing) 2019-06-11 02:24:16 -05:00
Ben Gotow 5ad85ff7cb Semver caret syntax is patch-only for 0.x.x, fork to update slate-edit-list peerDep 2019-06-11 01:48:25 -05:00
Ben Gotow 3eda735e06 Pin to exact versions of slate dependencies 2019-06-11 01:07:46 -05:00
Ben Gotow f79d850a0c Spring cleaning: Remove the (disabled) plugins package, will be web page 2019-06-11 00:53:50 -05:00
Ben Gotow 5c31fea79f Spring cleaning: Drop the -webkit css prefix where possible 2019-06-11 00:53:19 -05:00
Ben Gotow dee76b0f56 Spring cleaning: codemod spread syntax in place of Object.assign({}, [].concat( 2019-06-11 00:46:17 -05:00
Ben Gotow f6de37f181 Rebuild package-lock to fix build errors 2019-06-11 00:05:40 -05:00
Ben Gotow cfd99a8448 In copied text, do not consider default color a meaningful style #1053, #1309, #641, #1290 2019-06-10 23:15:47 -05:00
Ben Gotow d1923bbb26 Fix “composer dropdown list grey text on grey” on Windows #1500 2019-06-10 22:14:21 -05:00
Ben Gotow 2661b2134d Fix issue with copy-paste not working if the last element is uneditable #803 2019-06-10 20:55:08 -05:00
Ben Gotow 9835f4ebe7 Use the inline style transformer to reemove <style> nodes from signatures #964 2019-06-10 20:03:59 -05:00
Ben Gotow 66d3336aef Use slate-plain-serializer to preserve linefeed when copying out of composer #1457 2019-06-10 19:37:07 -05:00
Ben Gotow 0da398e631 Add a border around the composer color picker to resolve #645 2019-06-10 19:22:06 -05:00
Ben Gotow 21bc2ef398
Upgrade to Slate 0.45.1 for better composer perf and "setStart on Range" error fix (#1518)
* Move to Slate 44, start using types more extensively in Composer

* More types and cleanup

* Expose the editor object to the draft session, try exposing editor to session

* Bump to Slate 45 for https://github.com/ianstormtaylor/slate/pull/2225/files

* How did the unsubscribe plugin get in here

* Bump Slate types, fix TS errors, start testing

* Polish

* Fix issue with emails not shrinking when you close quoted text

* Fix the “remove quoted text” button

* More polish

* Fix issues with PR, improve typings

* Remove spurious log
2019-06-10 19:15:07 -05:00
Matt Lyons f20e9c3f39 Add setting to disable email content max width (#251)
commit 84d0997cdca895d321ed6e70f1ab40cf03b14aa0
Author: Ben Gotow <ben@foundry376.com>
Date:   Sun Jun 9 17:36:38 2019 -0500

    A bit of polish

commit 066963a8111d510cab2d87caaa547bdabe581461
Merge: 06d2e4546 8ed229a7c
Author: Ben Gotow <ben@foundry376.com>
Date:   Sun Jun 9 17:07:20 2019 -0500

    Merge branch 'emailWidthFix' of https://github.com/mattlyons0/Mailspring into mattlyons0-emailWidthFix

    # Conflicts:
    #	app/internal_packages/message-list/lib/message-list.tsx
    #	app/internal_packages/message-list/styles/message-list.less
    #	app/src/config-schema.es6

commit 8ed229a7c7
Author: Matt Lyons <matt@mattlyons.net>
Date:   Wed Oct 25 03:02:03 2017 -0700

    Add setting to disable email content max width

    Closes #228
2019-06-09 17:38:57 -05:00
Ben Gotow 11e2c404f1 RSVP to attached calendar events and view RSVP responses from a message 2019-05-27 23:48:20 -05:00
Ben Gotow 31479d25cc Move email iframe overflow CSS to <html> so body height: 100% !important works #1496 2019-05-27 11:17:13 -05:00
Ben Gotow 488cc27c34 Support hyphenated names during sender name validation #1445 2019-05-26 18:59:48 -05:00
Ben Gotow 3c6802b84e Add missing implementation of isMatchCompatible for HasAttachment query #1480 2019-05-26 18:41:14 -05:00
Ben Gotow c9b86cc217 Expose firstMessageTimestamp, implement menu item to copy “mailbox permalink” #1473 2019-05-26 18:08:29 -05:00
Ben Gotow 7ade1c7243 Bump to Electron 4.2.2 2019-05-26 17:14:53 -05:00
Ben Gotow d11fa8ced2 Properly handle linux icon themes without Context keys #1467 2019-05-26 17:14:53 -05:00
Ben Gotow df64fe293c Move the attach button to the left side of the composer footer #1508 2019-05-26 17:14:53 -05:00
Ben Gotow a38445c723 Prefix draft header message IDs with the account ID to fix filtering of open tracking #1494 2019-05-26 17:14:53 -05:00
Ben Gotow 4dfe0a3f13 Display an error message when Mailspring is unable to edit it’s launchAgent file #1493 2019-05-26 17:14:53 -05:00
Ben Gotow f927024628 Fix TS errors blocking the calendar preview #1492 2019-05-26 17:14:53 -05:00
João Miranda 598d8cc7ef Added confirmation dialog before resetting accounts and settings (#1486) 2019-05-26 14:03:21 -05:00
Mathias Bosman b620157464 Updated nl localization (#1482)
* Changed some capital letters
* Removed unneeded spaces before "..."
* Changed the English term "thread" to a Dutch term.. although one could discuss we don't have a correct word for "thread"
* Changed the English term "toggle"
* Removed some unnecessary punctuation marks
* ...
2019-05-26 14:01:58 -05:00
Štěpán Severa f1681fde2e Czech translation improved (#1459)
* Word "čoskoro" wich is not czech word replaced with "brzy" which is czech synonym of soon

* Word "niť" replaced with better czech word for thread -> "vlákno"
2019-05-26 14:01:04 -05:00
Ben Gotow 110c443598 Update changelog for 1.6.1 release, bump internal build to 1.6.2 2019-04-04 21:52:53 -07:00
Ivan.Nginx 60b644e69d Improving russian translation (#1430)
* Fixed previous incorrect message.

* Corrected emtpy string.

* Corrected Trash cleaning & Deleting single message.
2019-03-29 15:24:29 -07:00
kometchtech d87b7a513d Update ja.json (#1431) 2019-03-29 14:14:14 -07:00
Jack Arrington 701500f7da Add hotkey F5 for sync (#1429) 2019-03-29 14:12:21 -07:00
Ben Gotow 74d2b5a65a In the composer, allow the user to delete a selection from the first character forward 2019-03-27 01:31:00 -07:00
Ben Gotow 16ab68d895 Improve spellcheck performance on long emails [electron-spellchecker/issues/136] 2019-03-26 22:38:53 -07:00
Ben Gotow da4b34f08a Fix regression in removing quoted text caused by TS conversion #1434 2019-03-26 22:02:39 -07:00
Ben Gotow 4351084fe8 Threshold diagonal swipe movements, reduce accidental swipe-to-archive #690 2019-03-24 23:35:41 -07:00
Ben Gotow 51125ab11f Avoid flawed version check, run mail rules only once message body is received #605, #513 2019-03-24 17:48:46 -07:00
Ben Gotow 590a746b1a Fix autoupdate crash (nativeImage => NativeImage) #1425 2019-03-21 17:20:50 -07:00
Ben Gotow 6bd51c70f6 Update package.lock and run npm audit 2019-03-18 09:14:03 -07:00
Ben Gotow 60aa641037 Bump to 1.6.1, Electron 4.1.0 2019-03-18 09:09:36 -07:00
Ben Gotow ccd89fc20f Fix the “squished” window controls in darkside theme on Linux #1104 2019-03-17 11:08:47 -07:00
Ben Gotow 22795bed77 Display the shortcut for “Find in thread” and use F4/Ctrl-Shift-F in Outlook config #1372 2019-03-16 13:54:01 -07:00
Ben Gotow 8208850439 Handle double-clicking on the sheet toolbar on macOS #1388 2019-03-16 13:37:53 -07:00
Ben Gotow b253d49c7a Properly strip surrounding quotes from displayed contact names #1397 2019-03-16 13:06:14 -07:00
Ben Gotow 96c95eef18 Move default icon to a path preserved in packaged app 2019-03-12 23:30:36 -07:00
Ben Gotow 731aa71134 Bump to 1.6.0, Electron 4.0.8 2019-03-12 21:27:01 -07:00
Ben Gotow ccac20b250 Make the “Show Templates Folder” link smaller, improve Subscription tab styling 2019-03-12 21:27:01 -07:00
Artur Kraft 0f52f13618 Add icon to notifications (#1405)
* adds icon to the notifications

on windows and mac the default icon is used (from resources), on linux
the one set in the .desktop file is searched and used

* add budgie gnome to supported desktop environments

* converted to typescript and removed cache, icon is now loaded once at the beginning

* don't execute the gsettings command if the path is null
2019-03-12 21:16:57 -07:00
Ben Gotow 33da5465c4 When clicking in a scrollbar, move up/down by a single page (mimic native behavior) 2019-03-05 22:55:10 -08:00
Ben Gotow d972184c5f When printing emails, show the full date of every message 2019-03-05 22:54:51 -08:00
Ben Gotow 94309214a5 Make the linux “new items” icon brighter #1386 2019-03-04 11:22:46 -08:00
Artur Kraft 4aa18a806a replace small tray icons with larger ones and replace the new items icon (#1386) 2019-03-04 11:07:57 -08:00
André Hahn 8228564456 Improve German Translation (#1373)
* Improve German Translation (A to B)

Improve the German translation:
- Improve messages with first letters A to B

Signed-off-by: ahahn94 <ahahn94@outlook.com>

* Improve German Translation (C to H)

Improve the German translation:
- Improve messages with first letters C to H

Signed-off-by: ahahn94 <ahahn94@outlook.com>

* Improve German Translation (I to L)

Improve the German translation:
- Improve messages with first letters I to L

Signed-off-by: ahahn94 <ahahn94@outlook.com>

* Improve German Translation

Improve punctuation:
- replace " ..." with "..."
- replace " / " with "/"

Signed-off-by: ahahn94 <ahahn94@outlook.com>
2019-03-04 11:06:32 -08:00
Ben Gotow 149b389508
Replace Babel with TypeScript compiler, switch entire app to TypeScript 🎉 (#1404)
* Switch to using Typescript instead of Babel

* Switch all es6 / jsx file extensions to ts / tsx

* Convert Utils to a TS module from module.exports style module

* Move everything from module.exports to typescript exports

* Define .d.ts files for mailspring-exports and component kit… Yes it seems this is the best option :(

* Load up on those @types

* Synthesize TS types from PropTypes for standard components

* Add types to Model classes and move constructor constants to instance vars

* 9800 => 7700 TS errors

* 7700 => 5600 TS errors

* 5600 => 5330 TS errors

* 5330 => 4866 TS errors

* 4866 => 4426 TS errors

* 4426 => 2411 TS errors

* 2411 > 1598 TS errors

* 1598 > 769 TS errors

* 769 > 129 TS errors

* 129 > 22 TS errors

* Fix runtime errors

* More runtime error fixes

* Remove support for custom .es6 file extension

* Remove a few odd remaining references to Nylas

* Don’t ship Typescript support in the compiled app for now

* Fix issues in compiled app - module resolution in TS is case sensitive?

* README updates

* Fix a few more TS errors

* Make “No Signature” option clickable + selectable

* Remove flicker when saving file and reloading keymaps

* Fix mail rule item height in preferences

* Fix missing spacing in thread sharing popover

* Fix scrollbar ticks being nested incorrectly

* Add Japanese as a manually reviewed language

* Prevent the thread list from “sticking”

* Re-use Sheet when switching root tabs, prevent sidebar from resetting

* Ensure specs run

* Update package configuration to avoid shpping types

* Turn eslint back on - we will opt-in to the TS rules one by one
2019-03-04 11:03:12 -08:00
Ben Gotow 2057ca3023 Switch to 39-character message IDs to fix iCloud “SMTP black hole” issues
Detailed writeup of this found here: https://medium.com/follow-up-boss-dev/when-icloud-emails-go-into-a-black-hole-76991abd87a8. Mailspring was previously sending message IDs where the “local part” was 46 characters.

Using UUIDv4 because it exactly matches what iCloud itself is using.
2019-02-25 08:16:02 -08:00
Ben Gotow 43d80dea46 Bump to 1.5.7, Electron 4.0.5, update Changelog 2019-02-24 10:41:07 -08:00
Ben Gotow cc262ef0d2 Only re-evaluate visible range of a list when the number of items changes in an update 2019-02-24 10:24:21 -08:00
Ben Gotow 087892eaeb When the thread list is invalidated, re-run the SQL query in the background proc 2019-02-24 10:23:18 -08:00
Ben Gotow cd08553b92 Make scrollTo run in an animation frame to avoid interrupting React commit with layout 2019-02-24 10:21:32 -08:00
Ben Gotow 6c59cf14a2 Eliminate double-render of participant sidebar by presetting loading: true 2019-02-24 10:18:54 -08:00
Ben Gotow 835b6d04a7 Start cleaning up uses of local state / componentWillReceiveProps for React 16.8 2019-02-24 10:17:15 -08:00
Ben Gotow 209ba58e3e Use ResizeObserver to monitor email content size for better performance 2019-02-24 00:12:14 -08:00
Ben Gotow 9f2b5217bc Use the new DOM ResizeObserver for much more efficient custom scrollbars 2019-02-23 23:01:27 -08:00
Ben Gotow 46f6253e52 Fix race condition causing all account passwords to be lost when signing out of Mailspring ID 2019-02-22 23:39:56 -08:00
Ben Gotow 63f2316158 Fix cut / copy / paste in the billing and signup webviews #15219 2019-02-22 23:21:07 -08:00
Ben Gotow 02873b9f63 Fix contact sidebar not using the correct LinkedIn url type for personal profiles 2019-02-22 22:53:32 -08:00
Ben Gotow 1cdb6094de AAdd a LinkedIn profile link option to the signature builder 2019-02-22 22:53:32 -08:00
Ben Gotow 3e3cad8f9d Make Mailspring less aggressive about wrapping wide emails, prefer horizontal scrolling 2019-02-22 22:53:32 -08:00
Austin Lasher ca5f9bbb88 Fix message erroneously saying mailsync *could* be found, and update (#1374)
lang file keys accordingly. Translations were not updated.
2019-02-22 21:18:50 -08:00
Gaspacchio 94d7bac870 Improved french translation (#1360) 2019-02-22 21:17:39 -08:00
Ben Gotow 1ff9fc9616 Fix linter errors 2019-02-10 17:40:28 -08:00
Ben Gotow bf651e74ed Fix support for Yandex on a custom domain #1337 2019-02-10 17:02:11 -08:00
Ben Gotow 8945c5188e Merge branch 'feature/calendar-preview' 2019-02-10 16:17:16 -08:00
Ben Gotow 508a859abc Fix the max height of the calendar popovers 2019-02-10 16:16:03 -08:00
Ben Gotow 00c9bcafaa Fix column configuration to fix event query subscription 2019-02-10 15:44:41 -08:00
Ben Gotow 51af0b3117 Add support for recurring events 2019-02-09 17:53:56 -08:00
Ben Gotow 295300361b Switch to Mozilla’s ical.js parser 2019-02-09 11:52:39 -08:00
Ben Gotow d9bca1941f Revive old calendar prototype, link against new C++ sync engine 2019-02-09 02:29:23 -08:00
kometchtech 26b22ba2a5 Update ja.json (#1340)
* reviewed some Japanese.
2019-02-06 22:18:54 -08:00
Enrico Cavicchini 630789c040 Update it.json with a better Italian translation (#1352)
I tried to do my best, but sometimes I had to guess the context and make some changes to expressions that do not exist in Italian. It's still better than the original Italian translation, though.
2019-02-06 22:17:51 -08:00
Ben Gotow 1677bd7ed0 Add explicit deep-extend dependency to workaround bug in npm dedupe 2019-02-04 22:37:14 -08:00
Ben Gotow 23ac4e60b3 Remove jasmine-tagged which is tied to an old Atom build of jasmine-node 2019-02-04 22:31:04 -08:00
Ben Gotow dedc1d4465 Fix formatting of multiple lines in a code block #1346 2019-02-04 21:55:59 -08:00
Ben Gotow e85d8bd8f3 Upgrade packages with the help of npm audit fix 2019-02-04 21:54:38 -08:00
Ben Gotow 4a5b2d05c4 Merge branch 'master' of https://github.com/Foundry376/Mailspring 2019-01-22 19:18:07 -08:00
Ben Gotow 30968008fb Allow class attribute when sanitizing email content for display #1330 2019-01-22 19:15:52 -08:00
Leslie-Alexandre DENIS 57b43b55c1 fix(french) first iteration of french improvement (#1305) 2019-01-21 22:51:36 -08:00