Commit graph

749 commits

Author SHA1 Message Date
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
Ben Gotow
c030b009c4 Bump to 1.5.6, Electron 4.0.1 2019-01-07 22:13:43 -08:00
Ben Gotow
80dcc9af73 Rewrite quickpreview to use strategy concept, add PrismJS for code file types 2019-01-06 13:10:58 -08:00
Ben Gotow
b7939d38bd Attach a small menu to the preview windows, remove scrollbars on Windows 2019-01-03 12:00:42 -08:00
Ben Gotow
6b2546c71f Properly escape preview file paths on Windows 2019-01-03 11:59:56 -08:00
Ben Gotow
255f3be62a Bump to 1.5.5, update Changelog 2019-01-03 10:18:29 -08:00
Ben Gotow
0f97926a75 Improve reliability of attachment thumbnail generation 2019-01-03 08:55:25 -08:00
Ben Gotow
e31cccfc06 Fix the example template’s variable regions 2019-01-03 01:17:21 -08:00
Ben Gotow
a9c61d135e Add a “View License” menu item similar to Atom’s 2019-01-03 01:11:20 -08:00
Ben Gotow
4d785c4166 Initial crossplatform preview support using pdfjs, mammoth, snarkdown, xlsx
PDFJS, MammothJS and SheetJS require we preserve copyright notices in the app. Need to put those somewhere!

# Conflicts:
#	app/lang/pt-BR.json
2019-01-03 01:11:11 -08:00
Leonardo Escarpellin Machado
c9e9a07916 Update pt-BR.json (#1296)
Made some adjustments in the translation
2019-01-02 13:12:22 -08:00
Ben Gotow
9cb1cff799 Fix inverted text in 1.5.4 due to Chrome handling invert() filter differently #1290 2018-12-31 17:47:02 -08:00
Ben Gotow
63286cc7e2 Disable cut/copy contextual menu items in password fields 2018-12-30 11:47:38 -08:00
Ben Gotow
1d923cf406 Enable automatic selection of pt-BR in Brazil 2018-12-29 08:40:11 -05:00
Ben Gotow
74d24923fa Silence max listener warning, the ComponentRegistry is fine. 2018-12-29 08:26:29 -05:00
Ben Gotow
8a18d2eb4f Add background to thread list that makes scrolling on slow machines less jarring 2018-12-29 08:26:29 -05:00
Ben Gotow
f79d82b424 Switch to use new safe Buffer constructors, address final Electron 4 deprecation 2018-12-29 08:26:29 -05:00
Ben Gotow
2a36421825 Do not show the “Send and Archive” option on drafts without a thread #980 2018-12-29 08:26:29 -05:00
Leonardo Escarpellin Machado
676e303061 Patch to add pt_BR.json (#1286)
* Create pt_BR.json

* Update pt_BR.json

* Update pt_BR.json

* Update pt_BR.json

* Update pt_BR.json
2018-12-28 17:00:21 -07:00
Leonardo Escarpellin Machado
fc46f1d5eb Add pt_BR - intl.es6 (#1285) 2018-12-28 16:57:37 -07:00
Ben Gotow
f242ec69f9 Fix signup Terms and Policy links not opening in the browser #1280 2018-12-28 16:51:24 -07:00
Ben Gotow
b167b9cdcd Update to electron-packager 13.0.x 2018-12-20 12:12:40 -07:00
Ben Gotow
edec4e37f8 Manually delete debug package shrinkwrapped with babel-register@6.2.0 2018-12-20 10:22:56 -07:00
Ben Gotow
622339dc12 Upgrade to Electron 4.0.0-beta.11, fix printing issues 2018-12-19 17:56:07 -07:00
Ben Gotow
673068220d Add Mailspring to the dock correctly in macOS Mavericks #1256 2018-12-18 11:49:40 -08:00
Ben Gotow
2e8f302a48 Fix support for the has: attachment search query #1260 2018-12-18 10:55:26 -08:00
Ben Gotow
38d282714d Remove extra line above signature in replies #1264 2018-12-17 21:57:51 -08:00
Ben Gotow
4d5e412498 When sending emails preserve consecutive spaces with &nbsp; #1270 2018-12-17 21:03:34 -08:00
Ben Gotow
1872954320 Fix copy-paste within the registration and billing web views 2018-12-17 21:02:21 -08:00
Ben Gotow
3b106f6484 Fix bottom of billing modal showing a small margin 2018-12-17 15:39:42 -08:00
Ben Gotow
1194518a4e Clip extremely long messages with popout option to maintain performance 2018-12-06 01:33:33 -08:00
Ben Gotow
964dabe34a Fix translation of the “1 of 2” text in the scrollbar tooltip 2018-12-05 23:59:37 -08:00
Ben Gotow
a27710f570 Require that tasks be past the local state and not in the local state to resolve #948 2018-12-05 23:59:02 -08:00
kometchtech
44d5aba443 update ja.json (#1246)
- Fixed where I thought it was doubtful as Japanese confirmed with the application.
2018-12-03 13:57:20 -08:00
Pavel Susanov
0f33e0bba3 Improving russian translation (#1251) 2018-12-03 13:55:38 -08:00
Ben Gotow
66afdb080b Change open tracking pixels to report as Sent from Mailspring 2018-11-27 15:12:21 -08:00
Ben Gotow
2e94255258 Add missing Outlook hotkeys, bind Ctrl-Q to mark as read instead of Quit #1227 2018-11-24 23:29:23 -08:00
Ben Gotow
a179a8edec Bump to 1.5.3 2018-11-22 14:44:42 -08:00
Ben Gotow
3f183b7f82 Honor “do not disturb” on Windows and macOS #966 2018-11-22 14:44:37 -08:00
Ben Gotow
e3e097fd00 Switch away from logo.clearbit.com for company logos 2018-11-22 14:04:15 -08:00
kometchtech
12f8da79f4 Update ja.json (#1216)
- Clearly corrected what seems to be funny as Japanese.
- I did not correct the words difficult to translate into Japanese.
2018-11-19 23:30:45 -05:00
shyne99
2ed1e788d9 Update weird translation in fr.json (#1230)
The rule editor was badly translated. Any was translated into "tous" which means "all' in this context. Which brings to the filter rules not understandable for french people. This fixes it
2018-11-19 23:29:45 -05:00
Ben Gotow
d09f7151f0 Fix “isSyncing” state when folder has been deleted 2018-11-09 12:20:23 -08:00
Ben Gotow
2781885ec0 Fix right-click > “Copy Image” on Linux, workaround electron/electron #8151 2018-11-09 12:19:00 -08:00
Ben Gotow
b8f9bc8d44 Properly remove hotwindow reference when window is destroyed 2018-11-09 12:09:23 -08:00
Ben Gotow
412d690945 Fix exception caused by null mailsync process 2018-11-09 12:03:08 -08:00
Ben Gotow
9b22712ca5 Handle sync worker account info being briefly null when it is initialized 2018-11-05 23:37:48 -08:00