Commit graph

7538 commits

Author SHA1 Message Date
Michael Klein
17aa641655
Fix screenshot reference (#2488)
to conform to AppStream metainfo standard
See https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-screenshots
2024-12-21 13:48:53 -06:00
Ben Gotow
ae2119131b Update remaining mock emails, etc. to use rel=nofollow for CASA compliance 2024-09-28 11:06:49 -05:00
qiuzhiqian
07c62cca53
update zh-CN localization files (#2486)
* update zh-CN localization files

* fix: Mail server configuration cannot be performed when the domain name does not have a built-in template.

Create a fallback template. When the built-in template corresponding to the domain name cannot be found, use the fallback template to configure the server.

---------

Co-authored-by: xml <xiamengliang@uniontech.com>
2024-09-14 18:15:01 -05:00
Ben Gotow
d036f390c6 1.14.0 2024-09-14 18:08:53 -05:00
Ben Gotow
3df650013f Fix Outlook OAuth showing up as Office365 - for now, keep two providers 2024-09-14 18:08:47 -05:00
Ben Gotow
becde44839 Fix snap credentials encrypted in Travis 2024-09-13 23:21:25 -05:00
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