Commit graph

61 commits

Author SHA1 Message Date
Ben Gotow
beee52f5b2 Upgrade to Electron 33.3.0 2024-12-31 13:37:49 -06:00
Ben Gotow
8364579581 Update electron-packager, remove .dmg mac build - it’s unused 2024-06-02 09:29:16 -05:00
Ben Gotow
c214361b92 Electron 22 => 30
- The shell.showItemInFolder call must be made via electron/remote per https://github.com/electron/electron/issues/38540

- MacOS Sonoma requires a different method of setting default apps (https://developer.apple.com/documentation/appkit/nsworkspace/3753005-setdefaultapplication), which is thankfully now implemented + working in Electron, use it!

- Fixed a few styling issues in themes that i noticed while testing
2024-06-02 00:13:02 -05:00
Ben Gotow
d69e49a4ff Revert "Try Electron 27 for safestorage backend information on linux"
This reverts commit 5adc25b464.
2023-11-21 12:29:12 -06:00
Ben Gotow
5adc25b464 Try Electron 27 for safestorage backend information on linux 2023-11-20 19:18:10 -06:00
Ben Gotow
ab89d1bfcd Fix Appveyor, Travis CI builds 2023-11-15 08:20:27 -06:00
Janosch Braukmann
a1998fcc94
Upgrade electron to version 22 (#2444)
* chore: Upgrade electron to version 22.3.26

* chore: Remove keytar dependency

* fix: Cannot find module 'uuid/v4' error
2023-11-14 14:40:51 -06:00
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
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
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
2492789b26 Update mammoth to 1.4.19 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
972a02e42c Bump dependencies using npm audit fix 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
6e14dad1f8 Update changelog for 1.9.2 2021-09-05 12:05:19 -05: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
c7bf6b19dc Expand Yandex login screen to include steps to enable IMAP #2111 2020-08-16 18:37:33 -05:00
Arunmozhi
8b57cb4c32
fixes wrong time in event header due to timezone mismatch (#2093)
Co-authored-by: Ben Gotow <ben@foundry376.com>
2020-08-16 18:08:15 -05:00
Ben Gotow
71504f2c10 Pad the new “Show Original” menu item slightly, update changelog 2020-05-20 22:17:39 -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
7c0cb4e6fc Retrieve online status from mailsync workers, remove is-online and it’s 56 (🤭) internal deps #1357, #1731, #1123 2020-02-17 00:23:52 -06:00
Ben Gotow
1991f80fcb Bump to Xcode 11.2 for macOS notorization 2019-10-22 12:27:03 -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
f6de37f181 Rebuild package-lock to fix build errors 2019-06-11 00:05:40 -05:00
Ben Gotow
6bd51c70f6 Update package.lock and run npm audit 2019-03-18 09:14:03 -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
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