Commit graph

7532 commits

Author SHA1 Message Date
Ben Gotow
650263ee18 Fix snap environment error in the Travis logs 2024-09-13 17:32:56 -05:00
Ben Gotow
04bfba83db Update Travis to fix failing Linux build 2024-09-12 17:50:58 -05:00
Ben Gotow
548ca4408c Update node-abi to the latest version supporting Node 30 2024-09-12 15:27:50 -05:00
Ben Gotow
033799f35b Update mailsync to use OAuth for Outlook, outlook.office.com as the scope 2024-09-12 14:01:05 -05:00
Ben Gotow
9d4bd33c96 Remove JS file in inbox-zero animation that FluidAttacks cannot verify 2024-09-11 22:10:21 -05:00
Ben Gotow
39108ff723 Add missing third party resource integrity check in test data for CASA compliance 2024-09-11 22:03:11 -05:00
Ben Gotow
663821a4cc Add missing noopener,noreferrer in test data for CASA compliance 2024-09-11 22:02:41 -05:00
Ben Gotow
878840f828 Replace all md5 hash usage with sha256 for easier CASA compliance 2024-09-11 17:01:23 -05:00
Ben Gotow
8a8ddf4bc6 Change SUID of chrome-sandbox for electron 30 to work on Linux 2024-08-30 12:35:12 -05:00
Ben Gotow
3139487675 Change SUID of chrome-sandbox for electron 30 to work on Linux 2024-08-19 15:49:35 -05:00
Ben Gotow
6c3993aa93 Update autoconfig - step 2, apply updates from Thunderbird ISPDB 2024-06-02 18:06:40 -05:00
Ben Gotow
9b2c55b4cb Update autoconfig - step 1, sort existing settings 2024-06-02 17:39:41 -05:00
Ben Gotow
41496e792a Include Apple team ID for codesigning 2024-06-02 17:22:11 -05:00
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
78fdf8432d Use xcode 13 for the Mac builds, need notarytool 2024-06-02 16:53:18 -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
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
e4aaa40f41 Switch from old scroll-touch-begin events to input-event 2024-06-01 19:23:29 -05:00
Sudeep Hazra
6347bbabff
Added signature icons for Medium, GitHub and YouTube (#2484)
* Added signature icons for Medium, GitHub and YouTube

* Reverted location of icons to Mailspring assets
2024-06-01 18:52:54 -05:00
Kasper
e5d8e46268
Fix long word subject overflow (#2485) 2024-06-01 18:51:51 -05:00
Ben Gotow
e7daf5abf2 Update Changelog to mention security contributions from Positive Technologies, Payatu, Sonar
Payatu - https://payatu.com
Postive Technologies - https://www.ptsecurity.com/ww-en/
Sonar - https://sonarsource.com
2024-02-01 22:11:58 -06:00
Ben Gotow
9a7e1a7843 1.13.3 2024-01-08 10:49:59 -06:00
Ben Gotow
c6d29c2420 Remove warning related to 10+ year old vm compability setup 2024-01-08 10:45:28 -06:00
Ben Gotow
8b4f59ba49 Switch to DOMPurify for HTML email sanitization 2024-01-08 10:45:15 -06:00
Ben Gotow
6ab1b642b7 Fix inserting accents into the text editor via long-press on MacOS
Related: https://github.com/ianstormtaylor/slate/pull/3041, https://github.com/ianstormtaylor/slate/issues/982
2024-01-06 23:32:35 -06:00
Ben Gotow
1ebaa3d46c Fix escaping of subject and participant names in the print modal 2024-01-01 11:49:18 -06:00
Ben Gotow
8a0a82ea18 1.13.2 2023-12-10 12:36:47 -06:00
Ben Gotow
79b4063ef7 Fix Slate composition issues following Chrome 105 update
Related discussion: https://github.com/ianstormtaylor/slate/issues/5108

This block undoes the addition of div.onbeforeinput = () => {}. This is very, very
gross, but Slate uses the presence of this handler (Added in Chrome 105) to activate a
new version of it's event handling, which doesn't quite work properly in our old version
of Slate: https://github.com/ianstormtaylor/slate/issues/5108#issuecomment-1297591129

Since this was added to Chrome in v105, we can be fairly confident nothing else needs
it to exist, or will similarly fall back to document.addEventListener('beforeInput')

One day, we will update Slate to the latest version, but 0.50.x is effectively a rewrite
and we have /lots/ of custom plugins that need to be re-built and re-tested.
2023-12-10 12:19:52 -06:00
Marco Trevisan
181e2fb11a
snap: Remove unused permissions and duplicated libraries (#2478)
* snap: Remove various unneeeded plugs

Remove various permissions that the snap required and that are not
actually used. In particular now all the file and settings access is handled
by XDG portals, so there's no need to grant direct file access.

Also this is not a media app or network management software, so no
need to add screen inhibitors or network observation.

* snap: Do not add libnss3

That's already provided by GNOME so no need to duplicate it.

* Update snapcraft.yaml

Put back password-manager-service, home for now

---------

Co-authored-by: Ben Gotow <bengotow@gmail.com>
2023-12-10 12:19:29 -06:00
Janosch Braukmann
608f1c7354
Fix bug on invalid recipient (#2481)
Fix bug where when an invalid recipient is chosen, the validation produces an error due to a wrong return value.
2023-12-10 11:43:30 -06:00
Janosch Braukmann
d219a65e75
feat: Add proper tray icons for Windows dark mode (#2476) 2023-12-10 11:39:35 -06:00
Ben Gotow
59cb1b1dbb 1.13.1 2023-11-21 16:00:38 -06:00
Ben Gotow
faf9e1cee0 Fix slate issue caused by Chrome 106, with higher specificity 2023-11-21 15:28:27 -06:00
Ben Gotow
453416ae04 Don’t block account setup If we’re unable to load your Mailspring ID password 2023-11-21 13:51:45 -06: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
e2e0f882ae Copy snap configuration from chromium’s snapcraft.yaml 2023-11-21 12:05:15 -06:00
Ben Gotow
5adc25b464 Try Electron 27 for safestorage backend information on linux 2023-11-20 19:18:10 -06:00
Ben Gotow
f34918daba Fix slate issue caused by Chrome 106
Was able to determine that this was the problem by bisecting our Electron upgrade and identifying which chrome version bump broke it, and then googling for slate + chrome version.

It looks like this entire concept of webkit-user-modify is deprecated, so I have no idea why this matters, but it looks like they changed the default to read-write-plaintext and it broke Slate for everyone.

https://github.com/ianstormtaylor/slate/issues/5110
2023-11-20 16:20:48 -06:00
Ben Gotow
fbb683404d Downgrade Travis CI machine for older GLIBC 2023-11-19 21:21:43 -06:00
Ben Gotow
89078ce5cd 1.13.0 for testing Electron 22 builds 2023-11-15 08:43:37 -06:00
Ben Gotow
ab89d1bfcd Fix Appveyor, Travis CI builds 2023-11-15 08:20:27 -06:00
Ben Gotow
79bdf8f940 1.2.0 for testing Electron 22 builds 2023-11-14 15:41:48 -06:00
Ben Gotow
7ed224ab19 Fix “Save to PDF” option in the Print popout window 2023-11-14 15:11:17 -06:00
Ben Gotow
3d1a513c4b Remove the “Twitter image” option in Prefs > Signature, it does not work with X 2023-11-14 15:11:01 -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
Janosch Braukmann
390a301dd7
Fix: Ensure correct keytar migration on snap and improve documentation (#2474) 2023-10-23 09:28:29 -05:00
Janosch Braukmann
16b6102319
chore: remove deprecated linux dependency gconf2 (#2473) 2023-10-23 09:26:33 -05:00
Thomas Cauquil
4643adff0d
Improve localization (#2466)
* feats: add script to improve localization

* fix: the script used to generate the translations didn't take certain concatenations into account.

Previously :
Many features are unavailable in plain-text mode. To create a single
Now :
Many features are unavailable in plain-text mode. To create a single plain-text draft, hold Alt or Option while clicking Compose or Reply.
-
Previously :
These features were %@ of the messages you sentin this time period, so these numbers do not reflect all of your activity. To enableread receipts and link tracking on emails you send, click the %@ or link tracking %@ icons in the composer.
Now :
These features were %@ of the messages you sent in this time period, so these numbers do not reflect all of your activity. To enable read receipts and link tracking on emails you send, click the %@ or link tracking %@ icons in the composer.
-
Previously :
To make changes to contacts in this account, you'll need to re-authorize Mailspring to access your data.\n\n
Now :
To make changes to contacts in this account, you'll need to re-authorize Mailspring to access your data.\n\nIn Mailspring's main window, go to Preferences > Accounts, select this account, and click \"Re-authenticate\". You'll be prompted to give Mailspring additional permission to update and delete your contacts.
...

* chore: improving the french and format-localizations.js executed

* feats: add templates to localizations

* fix(localization): define default template to english

* chore(localization): added explanations on how to use script files

---------

Co-authored-by: Ben Gotow <ben@foundry376.com>
2023-10-16 08:55:45 -05:00