Commit graph

522 commits

Author SHA1 Message Date
Ben Gotow
8751a97335 Switch from node-cld to an extension exposing chrome.i18n.detectLanguage 2025-01-01 14:01:45 -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
3df650013f Fix Outlook OAuth showing up as Office365 - for now, keep two providers 2024-09-14 18:08:47 -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
39108ff723 Add missing third party resource integrity check in test data for CASA compliance 2024-09-11 22:03:11 -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
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
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
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
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
Janosch Braukmann
d219a65e75
feat: Add proper tray icons for Windows dark mode (#2476) 2023-12-10 11:39:35 -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
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
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
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
Ben Gotow
601d799ec8 Fix lint warning 2023-10-09 15:52:49 -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
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
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
Glenn
3dfc84c0ed
Fix email preview being hidden in vertical layout (edge case) (#2443) 2023-04-11 21:52:16 -05:00
bobobo1618
89047ad768
Optionally configure gmail client secret with env var (#2454) 2023-04-11 21:47:53 -05:00
Ben Gotow
21a872930e Double-check URL protocol on calls to shell.openExternal 2022-11-21 09:36:06 -06:00
Tim Dorr
f9d69e8c02
Fix "and X more" display in message contacts (#2436)
This was changed from a template string to JSX, but the escape format was not updated. There is also now a missing space before the word "and".
2022-11-21 09:29:39 -06:00
Arhan Jain
c763b612ec
Making composer recipient name warnings optional (#2420)
* recipient warnings and errors split into a separate step for drafts

* checking and updating recipient warning blacklist through localstorage

* add option to reset emails that ignore warning in preferences
2022-10-25 06:30:05 -05:00
Glenn
00f08205d5
Quicken load on long threads - Community#183 (#2432)
Quicken the load on long threads:
- ignore blockquote links
- cache results by message id for current session only (helpful when there's a component state change)

_Prettier/lint code changes_
2022-10-25 05:59:46 -05:00
Ben Gotow
d0a80815eb Tweak vertical alignment of message labels 2022-10-10 07:58:22 -05:00
Ben Gotow
41398e039f Workaround ResizeObserver error loop when form submission causes navigation 2022-10-09 21:16:34 -05:00
Ben Gotow
6896aabfeb Disallow any and all forms of javascript within message bodies 2022-10-09 21:16:34 -05:00
Ben Gotow
17363b4442 Only inline image paths referenced via cid: in <img src=“”> 2022-10-09 20:49:13 -05:00
Arhan Jain
a693c3d6d6
UI for switching calendar view (day/week/month) (#2421)
* UI for switching calendar view (day/week/month)

* darken options on hover
2022-10-09 18:23:07 -05:00
Glenn
450dfbef42
Some UX improvements (#2425)
* Some UX improvements (plus .gitignore tweak)

Made a few UX improvements:
- The send later delay can be skipped by clicking the new `Send now instead` button (localization required)
- If there is a range selection in the subject line then a context menu pops up on right click (for those that are allergic to keyboard shortcuts 😂)
- Message participant tweaks:
  - you can now open the context menu on the name or email, not just the email
  - you don't need to expand the participants to open the context menu
  - name is shown over the email for `Email "Name else Email"` context menu item
  - added `Copy "Email"` to context menu when nothing is selected/highlighted and just `Copy` when something is
- **for devs:** pretty console messages now consider your device theme and use an appropriate colour

* Prettier adjustments

* Revert `.gitignore` change

* Fix & actual prettier-ing

- Fix email context menu (now email and name can be alt-clicked)
- Sorted auto format (sorry didn't realise it was off)

* Use localised date/time format

Use a localised date format rather than forcing the Americanised format. This does loose the ordinal in `fullTimeString(Date)`

* Use weekday(Mon-Sun), for recent emails

- Changed recent emails to:
  - display weekday and time (e.g Mon, 10:15)
  - the recent emails to be 5 days, rather than 2
- Removed dead code
- Removed unnecessary import

* Remove unnecessary log

* Add key to prevent console error

Added a key to prevent a `Each child in an array or iterator should have a unique "key" prop` error in the console

* Add a key to "more" span

Co-authored-by: Ben Gotow <ben@foundry376.com>
2022-09-13 11:24:39 -05:00
Glenn
3d60cedb8f
Fix [Message Clipped - Show All] link (#2426)
Applied a fix to resolve the broken `[Message Clipped - Show All]` link. Fixing community issues 4899 & 4731
2022-09-13 11:14:18 -05:00
Glenn
b1eae8097c
Fix the vertical overflow bug (Community - 3507) (#2423)
There is always overflow, at some point the renderer moves it to the top which hides messages
2022-09-13 11:07:45 -05:00
Ben Gotow
c6f5a164ec Fix a few stray references to BrowserWindow 2022-08-08 20:30:24 -05:00
Ben Gotow
ad30bcf641 Switch to a “Desktop” Google Client ID to satisfy new security rules 2022-08-08 20:30:12 -05:00
Janosch Maier
e9921d8094
Adjust the order of the reminder button to prevent icons from jumping around (#2415) 2022-08-08 17:43:59 -05:00
Ben Gotow
c6815cb535 Switch t Office365 desktop app flow (new redirect URI) 2022-08-08 17:34:18 -05:00
Siulun Rock
eded1ac5ef
Resolve Error by o365: AADSTS9002326: Cross-origin token redemption is permitted only for the 'Single-Page Application' client-type. (#2400) 2022-08-08 17:33:10 -05:00
Siulun Rock
960d8f2663
support multi o365 account to choose which to auth (#2399)
ref: https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow#request-an-authorization-code
2022-08-08 16:47:17 -05:00