Commit graph

473 commits

Author SHA1 Message Date
Ben Gotow 7a11432b18 Use npm@7 when running our own postinstall script 2021-02-14 17:14:39 -06:00
Ben Gotow cff437e900
Upgrade to Electron 8, improve TS usage and TS errors outside calendar [requires re- npm install] (#2284)
* Shfit away from default exports and PropTypes for better TS support

* localize strings and expand use of types in WeekView, create new EventOccurence distinct from Event

* Remove calendar wrap, use TS enum for view type + consistent prop interface

* Bump Typescript to 3.8.3 and improve query / attribute / search typings

* Re-use the Autolinker for calendar event descriptions with aggressive phone detection

* Clean up WeekView and the editing popover, lots of cruft here

* Update ScrollRegion to initialize scrollbar provided by external ref

* Expose ScrollRegion’s resizeObserver to clean up tick interval tracking

* Simply tickGenerator and move it to a helper

* Bump to Electron 8.x for Chrome 75+ CSS features

* Bump Handlebars dep to fix annoying npm audit noise

* Remove electron-remote from electron-spellchecker

* Explicitly add node-gyp, why is this necessary?

* Fix lesslint issues

* Bump eslint and let it fix 133 issues

* Satisfy remaining eslint@2020 errors by hand

* Add tsc-watch npm script and fix all TS errors outside calendar

* Configure appveyor to publish all the pdb files it gets

* Log sync exit codes and signals for easier triage on Windows

* Upgrade npm, mark that the build process supports Node 11+ not just Node 11

* Resolve more errors

* Upgrade sqlite to be a context-aware native module

* Fix: Tab key no longer navigating into contenteditable because tabIndex not inferred

* Fix: Bad print styles because Chrome now adds more CSS of it’s own when doctype is missing

* Fix: before-navigate is now called after beforeunload
2021-02-14 15:58:22 -06:00
Ben Gotow d2e4590df0 Fix or downgrade remaining eslint warnings to make Travis CI builds succeed 2021-01-19 10:28:44 -06:00
Ben Gotow b13bcd5c0a Update Typescript, eslint dependencies to reflect TS 3.7+ requirement 2021-01-19 00:39:32 -06:00
Ben Gotow c0d816ab96 Explicitly add node-gyp as a dev dependency for Linux #2106 2020-08-17 08:30:44 -05:00
Ben Gotow f0afe9b585 Bump to Electron 4.2.12 for upstream bug fixes before we move to Electron 9 2020-08-16 17:32:16 -05:00
Ben Gotow d54ff73044 Update macOS notorization for Apple’s Feb 2020 “hardened runtime” requirement 2020-02-24 18:29:45 -06:00
Ben Gotow ea37c75596 Add plaintext mail display and composition via new setting / Alt key #52
Most draft features are disabled in plaintext mode because I don’t think it’s worth trying to make them work unless this gains traction. Mostly doing this so we can add GPG / PGP / Keybase in the future.
2020-02-19 23:25:02 -06:00
Ben Gotow 134e6c3e8b Update electron-packager to notorize the app for Catalina 2019-10-22 11:30:59 -05:00
Ben Gotow bf0b08dc63 Spring cleaning: Build with Node 11 instead of Node 6.9 2019-06-11 01:00:12 -05:00
Ben Gotow f6de37f181 Rebuild package-lock to fix build errors 2019-06-11 00:05:40 -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
Ben Gotow 7ade1c7243 Bump to Electron 4.2.2 2019-05-26 17:14:53 -05:00
Ben Gotow aceed8e594 Bump to Electron 4.1.4 2019-04-04 16:12:42 -07:00
Ben Gotow 152149b0a0 Bump to Electron 4.1.3 2019-04-04 09:03:44 -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 731aa71134 Bump to 1.6.0, Electron 4.0.8 2019-03-12 21:27:01 -07: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 43d80dea46 Bump to 1.5.7, Electron 4.0.5, update Changelog 2019-02-24 10:41:07 -08:00
Ben Gotow e85d8bd8f3 Upgrade packages with the help of npm audit fix 2019-02-04 21:54:38 -08:00
Ben Gotow d7fb2a20da Bump to Electron 4.0.4 for security fix 2019-02-04 20:56:35 -08:00
Ben Gotow 7718ed3539 Bump to Electron 4.0.2 2019-01-22 19:15:33 -08:00
Ben Gotow c030b009c4 Bump to 1.5.6, Electron 4.0.1 2019-01-07 22:13:43 -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 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 622339dc12 Upgrade to Electron 4.0.0-beta.11, fix printing issues 2018-12-19 17:56:07 -07:00
Ben Gotow 6a24e46d9b Bump Electron to 2.0.14 2018-11-22 14:12:50 -08:00
Ben Gotow a9da75094f Bump to Electron 2.0.11 to resolve #1108 2018-10-07 23:40:19 -07:00
Ben Gotow cb311d32be Bump to Electron 2.0.2 🎉 2018-06-25 00:43:41 -05:00
Ben Gotow e427096848 Bump to Electron 1.8.7 2018-05-22 17:26:53 -07:00
Ben Gotow cc719cfbe9 Bump to Electron 1.8.6 2018-04-30 07:52:46 -07:00
Ben Gotow 14d2f5b9b7 Bump Electron to 1.8.4 2018-03-26 14:44:54 -07:00
Ben Gotow 9963f7b923 Bump Electron to 1.8.3 2018-03-06 17:05:43 -08:00
Ben Gotow 65ddf18416 Bump to 1.1.4, update changelog 2018-02-13 20:41:01 -08:00
Ben Gotow 1b7646fed3 Bump to Electron 1.8.2-beta5 2018-02-04 19:58:42 -08:00
Ben Gotow 23081d2e10 Bump to a newer version of runas with 1.8.x support 2018-01-28 22:45:23 -08:00
Ben Gotow 346fde7cce Remove donna since there is no coffeescript, update locks 2018-01-28 21:44:27 -08:00
Ben Gotow 22357dff60 Upgrade prettier to 1.10, fix linter issues 2018-01-24 14:13:08 -08:00
Ben Gotow 3e29f997c5 ⚠️ Drop support for CoffeeScript / CJSX in plugins, themes, and core 2018-01-23 23:59:37 -08:00
Ben Gotow 9dcabe0db1 Bump to Electron 1.8.2-beta4 2018-01-22 22:17:45 -08:00
Ben Gotow c40c9b62eb Bump to Electron 1.7.10 2017-12-21 16:01:58 -07:00
Ben Gotow 4e8a2abfc3 Make postinstall script to untar mailsync 2017-10-23 10:51:32 -07:00
Ben Gotow 346d85801b Bump Electron for critical security fix
https://electron.atom.io/blog/2017/09/27/chromium-rce-vulnerability-fix
2017-09-27 23:12:09 -07:00
Ben Gotow 0e1e753ca3 Expand engine support in package.json to fix mac build 2017-09-27 12:07:47 -07:00
Ben Gotow 0f54aa11b5 Adopt prettier , upgrade ESLint 2017-09-26 11:33:08 -07:00
Ben Gotow b698458766 Switch product name to “Mailspring” 2017-09-05 13:40:25 -07:00
Ben Gotow cc486ce72a Stop shipping an entire extra copy of Electron inside the app… 🙃 2017-09-01 23:22:35 -07:00
Ben Gotow c4488cbc7b Travis: Setup mac keychain before building C++ 2017-08-31 12:27:07 -07:00