Commit graph

155 commits

Author SHA1 Message Date
Ben Gotow
18dce432d2 Upgrade to Less 3
via https://github.com/atom/less-cache/pull/17

Less 3 has a way smaller dependency tree and reduces our `npm audit` from `4 vulnerabilities` to 4. (and the remaining 4 are just regex issues, which should never have counted as vulnerabilities in the first place.)
2024-06-02 17:03:58 -05:00
Ben Gotow
1c2c4ee695 Rework quicklook previews on windows, linux to avoid preload script
From Electron 20 onwards, preload scripts are sandboxed by default and no longer have access to a full Node.js environment. Practically, this means that you have a polyfilled require function that only has access to a limited set of APIs.

https://www.electronjs.org/docs/latest/tutorial/tutorial-preload
2024-06-02 15:16:24 -05:00
Ben Gotow
13f734acae Update rtlcss, xlsx, chrono-node to apply issues flagged by npm audit 2024-06-02 14:41:48 -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
9a7e1a7843 1.13.3 2024-01-08 10:49:59 -06:00
Ben Gotow
8b4f59ba49 Switch to DOMPurify for HTML email sanitization 2024-01-08 10:45:15 -06:00
Ben Gotow
8a0a82ea18 1.13.2 2023-12-10 12:36:47 -06:00
Ben Gotow
59cb1b1dbb 1.13.1 2023-11-21 16:00:38 -06:00
Ben Gotow
89078ce5cd 1.13.0 for testing Electron 22 builds 2023-11-15 08:43:37 -06:00
Ben Gotow
79bdf8f940 1.2.0 for testing Electron 22 builds 2023-11-14 15:41:48 -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
8bc31f1696 1.12.0 2023-10-09 15:13:39 -05:00
Janosch Braukmann
5616b82942
Migrate from Keytar to SafeStorage (#2471)
* Switch credential storage from keytar to electrons key storage

* feat: Migrate credentials from keytar

* feat: add function to cleanup old keytar credentials

* refactor: Remove CredentialStore

* feat: Remove old keytar credentials on migration
2023-10-09 14:20:19 -05:00
Ben Gotow
5126294f58 1.11.0 2023-07-28 23:06:28 -05:00
Ben Gotow
8ea2a61fed 1.10.8 2022-12-29 11:03:36 -06:00
Ben Gotow
5008ecc361 1.10.7 2022-11-21 09:42:32 -06:00
Ben Gotow
868fa80df4 Bump to 1.10.6, update Changelog 2022-10-10 09:11:21 -05:00
Ben Gotow
1ce06f18ba Bump to 1.10.5, update Changelog 2022-08-10 12:59:56 -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
c6815cb535 Switch t Office365 desktop app flow (new redirect URI) 2022-08-08 17:34:18 -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
97f16bed0a Bump to 1.10.3, update Changelog 2022-04-14 09:38:49 -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
69a03d6da3 Bump to 1.10.2 and update changelog 2022-03-29 16:19:12 -05:00
Ben Gotow
b2e69c4b0a Bump to 1.10.1, update Changelog 2022-03-12 10:37:53 -06:00
Ben Gotow
06926efbf5 Bump to 1.10.0, update Changelog 2022-02-28 10:35:08 -06:00
Ben Gotow
445546f9ed Bump better-sqlite3 to 7.5 to fix "Could not detect abi" issue on Windows 2022-02-27 22:51:02 -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
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
2346442316 Move remote dependency to app directory for correct packaging 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
Janosch Maier
0586a0aa6f Remove node-mac-notifier 2022-02-27 21:49:17 -06:00
Janosch Maier
90d020ae5a Bump cld version to 2.7.1
This fixes builds on newer Linux systems
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
921cd536fd Bump to 1.9.1, update changelog 2021-04-16 00:22:01 -05:00
Ben Gotow
4982064fba Fix AppVeyor build 2021-04-13 10:39:34 -05:00
Ben Gotow
1554a23fd3 Bump to 1.9.0 and update changelog in preparation for next release 2021-04-08 00:15:49 -05: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
90137f11fe Bump to 1.8.0, update Changelog 2021-01-19 12:22:07 -06:00
Janosch Maier
38e89c9d20
Fix moment-timezone errors on calendar invites (#2255) 2021-01-19 00:17:28 -06:00
Ben Gotow
13635bcf56 Bump to 1.7.8, update Changelog 2020-05-24 19:22:42 -05:00
Ben Gotow
02a9572d18 Bump master to 1.7.7 2020-05-18 20:32:10 -05:00
Ben Gotow
34eccfa7df Fix Slate bug causing the composer to blur if you undo past the end of undo history 2020-04-22 00:12:49 -05:00
Ben Gotow
2a5cfb88ba Bump version for 1.7.6 patch release, next version will be on Electron 8 2020-04-20 20:40:07 -05:00