Commit graph

7510 commits

Author SHA1 Message Date
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
Janosch Braukmann f7cd7a7bb6
fix: ensure smooth migration from keytar (#2472) 2023-10-11 11:15:00 -05:00
Ben Gotow 29805b89f3 Fix snapcraft.yaml to reflect small changes to craftctl 2023-10-09 16:33:51 -05:00
Ben Gotow 601d799ec8 Fix lint warning 2023-10-09 15:52:49 -05:00
Ben Gotow 8bc31f1696 1.12.0 2023-10-09 15:13:39 -05:00
Janosch Braukmann 85ef793af7
Rework tray icon style (#2470)
* feat: Make try icon style configurable

* feat: Harmonize tray icons
2023-10-09 14:44:03 -05:00
Janosch Braukmann 224b41e686
feat: Make snooze label unambigious (#2469) 2023-10-09 14:42:21 -05:00
Janosch Braukmann 36864a21cb
Add "Reply to" filter to email rules (#2468)
* Add "Reply to" filter to email rules and adjust some translations for the recipient filter

* fix: Also adjust recipient on lt.json
2023-10-09 14:41:53 -05:00
Peter Dave Hello c831130944
Improve zh-TW Traditional Chinese translation (#2467) 2023-10-09 14:27:50 -05:00
Dan Bishop 0f8f1fe671
Create en-gb.json (#2465) 2023-10-09 14:25:31 -05:00
সৌম্যদীপ ঘোষ(सौम्यदीपः घोषः) fbfaceaf0d
update to gnome extension and core22 (#2464) 2023-10-09 14:23:11 -05:00
ChocoTonic c58415ebc6
Fix date formatting issue and time not being set correctly (#2463)
The commit fixes a bug where the dateLikeString was not being formatted
correctly if it only contained 3 or 4 digits. The fix adds a check for
this case and formats the string accordingly.

Additionally, the commit addresses an issue where the time was not being
set correctly if the "gotTime" variable was false. The fix adds a check
for each iteration of the loop to ensure that the time is only set if
the corresponding "gotTime" value is false.
2023-10-09 14:22:08 -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 bbd4f1880e Update the Apple codesigning certificate to one that expires in 2027 2023-07-29 11:45:10 -05:00
Ben Gotow 6193b33cd4 Fix linter errors from CI builds 2023-07-29 10:15:59 -05:00
Ben Gotow 5126294f58 1.11.0 2023-07-28 23:06:28 -05:00
Ben Gotow 2b75347c9c Allow mailspring:// for sounds / other media elements 2023-07-28 21:53:07 -05:00
Ben Gotow 31a8b5964a Additionally disable object, media browser features via csp: none 2023-07-28 21:39:18 -05:00
Kasper 97957cf777
Fix help menu search (#2460) 2023-07-28 21:37:05 -05:00
Marivaldo Júnior b0c8f6e451
Red icon for new mail and blue icon for unread mail (#2433)
Added .psd for each platform
2023-07-04 08:51:39 -05:00
kanunnikau 96592f36f3
Add Menu action allowing it to be used as AutoSuggest (#2456)
MovePickerPopover uses a newly added 'onExpand' callback from 'Menu' to
use it as AutoSuggest. When a user presses 'Tab' or 'ArrowRight' on a
highlighted folder, its name is plugged into the search field. This way
it is much easier to correctly complete long folder hierarchies.

Co-authored-by: Dzmitry Kanunnikau <dzmitry@kanunnikau.online>
2023-07-04 08:41:05 -05:00
Nick Zayatz 1584d4cf22
Update quoted-html-transformer.ts (#2457)
Added quote finder for Yahoo and AOL emails
2023-07-04 08:37:29 -05:00
Jesse Gumm bb9e373c7f
Fix: Colons are allowed in URL paths. (#2458) 2023-07-04 08:36:55 -05:00