Commit graph

500 commits

Author SHA1 Message Date
Ben Gotow 75c2a95067 Update electron-installer-dmg, v4 adds Apple Silicon support 2022-08-09 08:39:05 -05:00
Ben Gotow af83444a63 Bump to 1.10.4, update changelog 2022-08-09 07:25:37 -05:00
Rony Mesquita da Silva 79a0670995
Fix sync issue windows 11 (#2396)
* Changed postinstall.js and updated better-sqlite3 to fix Windows 11 version

* Updated Grunt build to avoid error on Windows 11

Co-authored-by: Ben Gotow <ben@foundry376.com>
2022-08-08 17:58:54 -05:00
Ben Gotow a476c23089 Downgrade to Electron 17.4.0 to fix Linux font rendering issue in Ubuntu 16 VM
The issue is fixed by passing —disable-gpu at launch, but it seems like it might be required for some users and the text is totally unlegible without the flag. Even the stock “electron” app exhibits the problem and it wasn’t required in Electron 17.4 so I’m hopeful they’ll fix it.
2022-04-17 23:06:54 -05:00
Ben Gotow bf32a73659 Move app-module-path to the app’s package.json 2022-04-17 21:27:52 -05:00
Ben Gotow 1b3dd14635 Bump node-gyp to fix Windows build? 2022-04-15 16:52:31 -05:00
Janosch Maier 64c45260e4 Upgrade electron to 18.0.1 and windows-quiet-hours to 2.0.0 in order to fix notifications on windows 2022-04-14 09:32:20 -05:00
Ben Gotow 25e098f394 Revert "Revert "Update to electron 17 (#2378)""
This reverts commit 5bf048a07a.
2022-03-29 17:58:35 -05:00
Ben Gotow 5bf048a07a Revert "Update to electron 17 (#2378)"
This reverts commit 17e9a88eb0.
2022-03-29 16:19:02 -05:00
Steffan 17e9a88eb0
Update to electron 17 (#2378)
* update to electron 17

* Update app-env.ts
2022-03-22 16:40:54 +01:00
Ben Gotow 05db8ae6df Drop LESS linting - modules unsupported, deep deps not compatible with Node 16+ 2022-02-27 22:12:03 -06:00
Janosch Maier 2591fc7ff3 Downgrade electron version to 14.2.1 2022-02-27 21:49:17 -06:00
Janosch Maier 6aaf47b145 Downgrade electron to 15.3.2 2022-02-27 21:49:17 -06:00
Janosch Maier f685bfc021 Revert version bumps as they break the key storage 2022-02-27 21:49:17 -06:00
Janosch Maier 72899d0a21 Bump some versions to their latest patch version 2022-02-27 21:49:17 -06:00
Janosch Maier 30c05ed763 Set node version to 16 2022-02-27 21:49:17 -06:00
Janosch Maier 76b0336945 Bump versions using npm audit fix force 2022-02-27 21:49:17 -06:00
Janosch Maier 2346442316 Move remote dependency to app directory for correct packaging 2022-02-27 21:49:17 -06:00
Janosch Maier 3db0827a60 Bump electron to 16.0.0 2022-02-27 21:49:17 -06:00
Janosch Maier 6128fc74ce Bump electron to 14.2.1 2022-02-27 21:49:17 -06:00
Janosch Maier b21f70286f Bump Dependencies 2022-02-27 21:49:17 -06:00
Anton Maminov 0255ce7b50 bump electron 12.2.3 2022-02-27 21:49:17 -06:00
Janosch Maier 6dc0e82509 Update electron to v10
- Remove the electron-spelllchecker package as it does not work anymore
- Remove the spellchecker temporarily
- Manually set enableRemoteModule to true
2022-02-27 21:49:17 -06:00
Ben Gotow ac79e44463 Bump to 1.9.3, test ProtonMail change 2021-11-21 22:47:31 -06:00
Ben Gotow a34a40add7 Upgrade electron-packager and electron-installer-dmg 2021-04-15 16:16:50 -05:00
Ben Gotow 31fae07129 Switch from root devDeps (conceptually correct) to deps so npm ci installs everything 2021-04-08 01:52:52 -05:00
Ben Gotow fa28233822 Update CI configuration 2021-04-08 01:41:56 -05:00
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