Commit graph

6922 commits

Author SHA1 Message Date
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
cd4539f934 Update snapcraft.yml to copy the icon to the part’s staging area 2019-03-26 10:35:44 -07:00
Ben Gotow
af2ccff963 Update snapcraft.yml since prepare has been deprecated by override-build 2019-03-26 09:32:57 -07:00
Ben Gotow
839009f50b Update snapcraft.yml to include gtk-3-themes #1435 2019-03-26 09:03:58 -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
8a4e94b5f8 Dispatch mail rules event when two updates are emitted back to back #605 2019-03-24 22:51:25 -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
10f5c95c03 Update Changelog 2019-03-17 23:34:30 -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
28087d67b8 Use a docker image with more linux configuration
FROM circleci/node:lts-jessie
RUN sudo apt-get update
RUN sudo perl -MCPAN -e 'install TAP::Parser'
RUN sudo perl -MCPAN -e 'install XML::Generator'
RUN sudo apt-get -y install lsb-release unzip software-properties-common
RUN lsb_release -a
RUN sudo apt-get -y install build-essential clang execstack fakeroot g++-4.8 git libgnome-keyring-dev libsecret-1-dev xvfb rpm libxext-dev libxtst-dev libxkbfile-dev
ENV DISPLAY=:99
ENV CC=gcc-4.8
ENV CXX=g++-4.8
2019-03-17 10:45:03 -07:00
Ben Gotow
7c13c29557 Run lint tasks within a circleCI workflow 2019-03-17 09:33:49 -07:00
Ben Gotow
6792a870e0 Run lint tasks on circleci 2019-03-17 09:28:01 -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
Ben Gotow
8277c72753 Report the OS and IMAP server when subscribing to events
This will give the team insight in to what platforms / mail providers are actively in use on a daily basis. We currently don’t get any telemetry at all and it’d be useful to prioritize calendar work on highly used providers.
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
5a0615afb3 Fix occasional flickering when marking as read + archiving in rapid succession
Caused by mailsync’s performRemote overwriting labels/folder of local data with cached data even if the task did not modify the labels/folders.
2019-02-24 00:13:14 -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
0bb7bde161 Fix “duplicate sent emails” in Gmail - Gmail IMAP changed handling of delete+expunge in Sent Mail #1279 #1086 #937 #1162 #1049
This also fixes the “I’m triggering my own read receipts” issue because one of the two emails you see was intended for the recipient only.
2019-02-23 16:05:32 -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
937937e434 Fix home.pl compatibility issues #1019, #813, #219, #967
2b1329d8 If a mime part has a content ID, check to see if a cid: is present rather than relying just on isInlineAttachment

f8241d0c Request “Internal Date” as well as headers in case headers omit “date” [home.pl]

700a728d Ignore XLIST capability on IdeaImapServer (home.pl)
2019-02-22 22:53:32 -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
66ee99315b Handle scenario where the server uses a different delimiter for Mailspring/Snoozed 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