Commit Graph
1230 Commits
Author SHA1 Message Date
Erwan Leboucher 6eeb9be65c feat(flatpak): publish the aarch64 build 2026-09-10 22:28:42 +02:00
Erwan Leboucher 44f4278427 fix(crypto): recover from a crypto store left behind by another device 2026-09-10 14:28:04 +02:00
Erwan Leboucher ca76e0f993 fix(call): grant the widget MSC4407 sticky-event capabilities
The embedded call widget publishes its MatrixRTC membership as a sticky
event, which ClientWidgetApi refuses without
org.matrix.msc4407.send.sticky_event. The MembershipManager then shut
down and the call dropped.

Grant the send and receive capabilities and implement sendStickyEvent,
sendDelayedStickyEvent and readStickyEvents on CallWidgetDriver.

Also register an MSC4480 sticky_events extension on sliding sync, since
matrix-js-sdk only reads sticky events out of /sync v2.
2026-09-08 19:49:53 +02:00
Erwan Leboucher 2a09f4039a Add AI agent policy documentation (#885)
### Description

This pull request introduces and documents a clear policy restricting
the use of autonomous AI agents in this repository. It adds a new
`AGENTS.md` file with detailed guidelines, updates the contribution
documentation, and adds supporting policy files and editor settings to
ensure compliance and clarity for all contributors.

#### Type of change

docs change?

### Checklist:

- [x] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings

### AI disclosure:

no ai :3, but copied content from [linux's ai
guidelines](https://github.com/torvalds/linux/blob/master/Documentation/process/coding-assistants.rst)

Signed-off-by: Rye <[email protected]>
2026-09-08 17:38:14 +02:00
Erwan Leboucher b587664d06 fix: preserve room and sender data in push notifications 2026-09-07 00:33:11 +02:00
Erwan Leboucher a339b5ac2f fix: restore built-in push notifications on Android 2026-09-06 23:06:40 +02:00
Erwan Leboucher d11d4df525 fix: prevent metadata failures from signing users out 2026-09-06 17:03:30 +02:00
Erwan Leboucher d747e4f252 fix: handle notification delivery across mobile providers 2026-09-06 16:43:12 +02:00
crypt a2d5260465 chore: add changeset and fix formatting 2026-09-04 18:32:44 -05:00
Erwan Leboucher 3eac9bcb53 fix(composer): stop Gboard recomposing mention and command pills 2026-09-02 15:25:33 +02:00
Erwan Leboucher 702bb747c4 fix(notifications): pin the plugin build that stops mobile commands deadlocking the Android main thread 2026-09-01 14:54:18 +02:00
Erwan Leboucher aec8237975 fix(crypto): require a trusted cross-signature before showing a device as verified 2026-09-01 12:04:57 +02:00
Erwan Leboucher 0cacac405f fix(toast): show failure toasts in the error style 2026-08-31 09:03:34 +02:00
Erwan Leboucher b442ce4969 fix(notifications): stop the cold-push path blocking the Android main thread 2026-08-30 19:18:21 +02:00
Erwan Leboucher c76782e47a fix(crypto): skip unreadable backed-up keys instead of failing the import 2026-08-30 19:17:56 +02:00
Erwan Leboucher 13c99c2137 feat(notifications): report why cold pushes could not show content 2026-08-30 16:25:23 +02:00
Erwan Leboucher ae10593ddf fix(sync): derive mobile sync from current state so it resumes after backgrounding 2026-08-30 15:37:35 +02:00
Erwan Leboucher 41513d5874 fix(crypto): coalesce outgoing request drains and cache the backup version 2026-08-30 13:07:07 +02:00
Shea c45b36c992 merge dev
Signed-off-by: Shea <[email protected]>
2026-08-28 21:42:46 +03:00
Erwan Leboucher 2c65886bf6 fix(cef): pick up the cache-lock fix for flatpak launches 2026-08-28 20:28:24 +02:00
Erwan Leboucher b296ed8b9b feat(crypto): drive matrix-js-sdk crypto from a Rust engine over IPC 2026-08-28 14:37:51 +02:00
7w1 89043a4afa Add setting to show timestamps on every message (#1942)
### Description

By default, Sable only shows a timestamp on the first message in a group
of consecutive messages from the same sender. This adds a
`showAllTimestamps` setting (default: off) that renders a timestamp on
every message, even grouped/collapsed ones. The toggle is in Settings →
General → Messages, below "Message Spacing".

When enabled, collapsed messages render a right-aligned timestamp in
place of the empty header, without the username, avatar, or pronouns
that appear on ungrouped messages. The layout direction respects the
same Row/RowReverse logic as the full header (compact and right-aligned
bubble layouts).

#### Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings

### AI disclosure:

- [x] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).

The implementation was AI-assisted: adding the `showAllTimestamps`
boolean to the `Settings` interface and defaults, reading it via
`useSetting` in `Message.tsx` and conditionally rendering a
timestamp-only header for collapsed messages, and adding the
`SettingToggle` in `General.tsx`. I reviewed each change, verified the
collapsed header layout matches the existing direction logic, and ran
typecheck, lint, format, and tests in a containerized environment.
2026-08-27 21:02:18 +00:00
7w1 e5b50623b1 fix: improve legacy image pack compatibility 2026-08-27 13:58:59 -05:00
cwyptt d5c1e5e95c Add setting to show timestamps on every message 2026-08-25 08:57:44 -05:00
Erwan Leboucher 68b825f586 fix(crypto): prevent two clients sharing one crypto store 2026-08-25 11:22:32 +02:00
rooot 273b55b6d8 feat: set default device name when no name is provided
Signed-off-by: rooot <[email protected]>
2026-08-25 03:08:49 +02:00
rooot 287ed77e0c fix: device display name resetting on sync (#1735)
this essentially just reverts #1458, as it doesn't do
anything useful besides introducing a bug.

Signed-off-by: rooot <[email protected]>
2026-08-25 01:23:45 +02:00
Erwan Leboucher 1bb51b264d Update MSC4461 support to v3 (#1923)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Update
[MSC4461](https://github.com/matrix-org/matrix-spec-proposals/pull/4461)
support from v2 to v3. Also adds support for the keep_trigger option
when sending messages (not yet in settings)

See #1279

#### Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [X] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [X] My code follows the style guidelines of this project
- [X] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [X] My changes generate no new warnings

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).

<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-08-24 08:08:19 +02:00
Erwan Leboucher c05e8ed715 fix(auth): build the tauri sso redirect url without a relative base 2026-08-23 10:40:35 +02:00
Evelyn Gordon c832256c28 Update MSC4461 support to v3 2026-08-23 01:34:30 -05:00
Erwan Leboucher 2aaeb82d89 fix(android): let the keyboard shrink the layout viewport (#1921)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

Fixes #

#### Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).

<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-08-22 20:21:14 +02:00
Erwan Leboucher 440d19b503 fix(android): let the keyboard shrink the layout viewport 2026-08-22 20:11:26 +02:00
Erwan Leboucher ee2a34739c fix(gifs): send gifs through the media proxy instead of uploading them 2026-08-22 19:00:47 +02:00
Erwan Leboucher c6a0c786e4 feat(gifs): add configurable gif provider and upload sent gifs 2026-08-22 16:52:22 +02:00
Erwan Leboucher d67c262dc6 fix(media): keep media loading after the app returns from the background 2026-08-22 14:43:51 +02:00
Erwan Leboucher 4e3f476b90 fix: restore cross-signing with recovery key 2026-08-21 19:03:06 +02:00
Erwan Leboucher 614e7ef1a9 fix(media): unwrap sable-media URLs before fetching media bytes 2026-08-21 18:41:24 +02:00
Erwan Leboucher 5a7c27447b fix(avatar): retry failed avatar loads out of band instead of blinking the fallback 2026-08-21 17:25:32 +02:00
Erwan Leboucher d770f91d16 fix: preserve unread divider on room open (#1906)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

Fixes #

#### Type of change

- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).

<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-08-21 16:06:29 +02:00
Erwan Leboucher f0767cce26 fix: preserve unread divider on room open 2026-08-21 15:42:55 +02:00
Erwan Leboucher 83cfda5f27 fix: persist recovery-key device trust 2026-08-21 13:03:51 +02:00
Erwan Leboucher f254b64155 fix: prevent emoji autocomplete selection crash 2026-08-20 12:16:20 +02:00
Erwan Leboucher 5016b1afd7 fix more crypto stuff (#1879)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

Fixes #

#### Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-08-20 08:10:39 +02:00
Erwan Leboucher 84303e568c feat(mobile): allow swiping notifications away (#1863)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Allow swiping notifications away to either side on mobile.

[Screencast From 2026-08-18
22-52-06.webm](https://github.com/user-attachments/assets/fcc2db1d-d1da-4989-99aa-ecc1e07079f3)

Closes #1842

#### Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [X] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-08-20 05:58:22 +00:00
Erwan Leboucher 1374837c7d fix(crypto): clear the account's crypto stores on forced logout 2026-08-20 07:57:53 +02:00
Evelyn Gordon a47a12dda4 Fix checks 2026-08-19 19:18:34 -05:00
Erwan Leboucher 675fc837bf fix(mobile): stop soft keyboard flicker when deleting an emote 2026-08-19 21:45:24 +02:00
Erwan Leboucher e512530d9d fix(mobile): keep keyboard dismissed when tapping a timeline image 2026-08-19 21:45:24 +02:00
Erwan Leboucher 49ba688062 fix: Reimplement responsive composer layout (#1865)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

In the replacement of the Slate-based message editor with ProseMirror,
there was a regression regarding the composer layout responding to the
size of the entered text.

Fixes #

#### Type of change

- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings

### AI disclosure:

- [x] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->

I determined the exact range within `Editor.tsx` that previously
contained the logic that dealt with the responsive layout, but it was
quite dense and interspersed, so I had GitHub Copilot figure out the
ideal way to reimplement the logic and tests from the previous commits
into the new system. As far as I can tell, it creates multiple
references that measure different aspects and actions on the message
editor on each update to determine when and how to resize it.
2026-08-19 18:15:54 +02:00
Erwan Leboucher dfbf9828d8 fix(crypto): reload instead of retrying in place after a store mismatch 2026-08-19 17:28:10 +02:00