Commit graph

10 commits

Author SHA1 Message Date
Ben Gotow
17e3f42164 Skip macOS entitlements that require a provisioning profile for now, will revisit in next release 2026-01-13 20:27:52 -06:00
Ben Gotow
70fae12971 Update osx-sign arguments to actually read entitlements file, trim down security entitlements 2026-01-11 20:58:24 -06:00
Ben Gotow
0563c480eb
Fix notifications respecting macOS Do Not Disturb (#2525)
* Fix DND/Focus mode not silencing new mail sounds on macOS 12+

Update macos-notification-state from v1.3.6 to v3.0.0 to add proper
support for macOS Focus mode (which replaced Do Not Disturb in macOS 12).
The old version did not detect Focus mode on macOS 12+, causing sounds
to play even when the user had DND/Focus enabled.

The v3.0.0 API change requires async handling since getDoNotDisturb()
now returns a Promise, so update doNotDisturb() and displayNotification()
to be async, along with their callers in the unread-notifications package.

Fixes: https://community.getmailspring.com/t/notifications-do-not-respect-focus-mode-on-macos/9737

* Silence all sounds when macOS Focus/DND mode is enabled

Move the Do Not Disturb check into SoundRegistry.playSound() so that
all sounds are silenced when Focus mode is active, not just the new
mail notification sound. This affects:
- New mail sound
- Send button click sound ('hit-send')
- Mail sent sound ('send')

This is more consistent with user expectations - when DND is enabled,
no sounds should play from the app.

* Patches from local testing

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-01-02 14:29:52 -06:00
Ben Gotow
d54ff73044 Update macOS notorization for Apple’s Feb 2020 “hardened runtime” requirement 2020-02-24 18:29:45 -06:00
Ben Gotow
68b33b8dbf Update DMG background image 2018-03-07 12:41:50 -08:00
Ben Gotow
ae72cf1c65 Bump to React 16.2 now that the old composer is gone 🎉
commit 3c10d22199ea6428a6b45c6361d281b1d281ef4f
Author: Ben Gotow <ben@foundry376.com>
Date:   Fri Jan 19 08:10:43 2018 -0800

    Small fixes

commit e7d4ba85eb011a6fd58b57e079bf3a19c19126d8
Author: Ben Gotow <ben@foundry376.com>
Date:   Thu Jan 18 23:47:03 2018 -0800

    Rewrite UnsafeComponent using Error Boundaries

commit aa772694fdee6c57887b75b3abb2e654e146fab5
Author: Ben Gotow <ben@foundry376.com>
Date:   Thu Jan 18 23:15:53 2018 -0800

    Remove GeneratedForm

commit f9ea4296f07d446f942dfc2532deea37db43ddac
Author: Ben Gotow <ben@foundry376.com>
Date:   Thu Jan 18 23:08:45 2018 -0800

    Fully remove calendar related dead code and spec_disabled

    It’s making it hard to see what I need to edit and what I don’t care about

commit 6192ce6073244bc66b7908b66b5033d34e947efb
Author: Ben Gotow <ben@foundry376.com>
Date:   Thu Jan 18 23:08:16 2018 -0800

    Bump to React 16.2 🎉
2018-01-22 22:18:46 -08:00
Ben Gotow
b698458766 Switch product name to “Mailspring” 2017-09-05 13:40:25 -07:00
Ben Gotow
cc486ce72a Stop shipping an entire extra copy of Electron inside the app… 🙃 2017-09-01 23:22:35 -07:00
Ben Gotow
717fe440e8 Replace references to Nylas in many places 2017-08-16 13:20:54 -07:00
Ben Gotow
7f3731bc10 Clean up project directory structure, removing legacy packages folder 2017-08-10 19:24:10 -07:00