Commit Graph
4670 Commits
Author SHA1 Message Date
Erwan Leboucher cb1268c7a3 fix(crypto): let an unverified device start emoji verification with another device 2026-09-01 14:50:30 +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 a0d363d47b fix(notifications): do not fall back to native when the chosen distributor is missing 2026-08-31 23:17:29 +02:00
Erwan Leboucher 3552bca683 fix(notifications): avoid the never-settling service worker wait in background clients 2026-08-31 23:15:19 +02:00
Erwan Leboucher 5319aafba0 fix(notifications): retry the preview when the timeline copy is still encrypted 2026-08-31 23:11:30 +02:00
Erwan Leboucher 3995aa3803 fix(sync): bound the push drain by unproductive polls and a wall-clock deadline 2026-08-31 23:10:17 +02:00
Erwan Leboucher 3a096d4478 fix(notifications): keep a saved distributor the scan did not list 2026-08-31 23:08:21 +02:00
Erwan Leboucher 7caa72be4f fix(notifications): stop replacing a chosen UnifiedPush distributor on restart 2026-08-31 23:00:20 +02:00
Erwan Leboucher 10737b1034 fix(sync): keep draining to-device until the push payload actually arrives 2026-08-31 22:58:59 +02:00
Erwan Leboucher ccf17ea407 fix(mobile): handle immersive-mode rejections in the image viewer 2026-08-31 22:43:26 +02:00
Erwan Leboucher 82f31ac921 fix(crypto): send the backup version when fetching a session key from backup 2026-08-31 11:43:56 +02:00
Erwan Leboucher 0e33c474b4 fix(notifications): de-duplicate Sentry logs and surface push decrypt failures 2026-08-31 11:23:08 +02:00
Erwan Leboucher 0cacac405f fix(toast): show failure toasts in the error style 2026-08-31 09:03:34 +02:00
Erwan Leboucher 6c0e899826 feat(crypto): fetch missing session keys from backup and ask other devices for secrets 2026-08-30 21:21:44 +02:00
Erwan Leboucher 417c658759 fix(crypto): stop claiming the server has no fallback keys and honour the caller's trust requirement 2026-08-30 21:11:16 +02:00
Erwan Leboucher f411d96fe0 test(crypto): port upstream's request, encryption and cross-signing cases 2026-08-30 20:59:33 +02:00
Erwan Leboucher f1b531a112 fix(crypto): validate the stored backup key and settle a cancelled SAS flow 2026-08-30 19:53:54 +02:00
Erwan Leboucher a9eaf55840 fix(crypto): retry outgoing requests and serialize key claims and room encryption 2026-08-30 19:48:18 +02:00
Erwan Leboucher 4fb7eeb0e6 fix(crypto): keep room key requests disabled and report real restore progress 2026-08-30 19:40:45 +02:00
Erwan Leboucher 0391e50db2 fix(crypto): match upstream on backup completion, secret storage writes and gossip errors 2026-08-30 19:38:43 +02:00
Erwan Leboucher 4097e090be fix(crypto): match upstream on to-device drops, room-key forwarding and unknown devices 2026-08-30 19:38:43 +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
Erwan Leboucher 645c1cc09b fix(crypto): repair encrypted messaging, key backup and verification 2026-08-29 00:28:40 +02:00
Erwan Leboucher 53f39ecd2c feat(crypto): export legacy keys before the crypto upgrade 2026-08-28 21:06:03 +02:00
Erwan Leboucher 74732e110d fix(crypto): call the engine paths the webview left unwired 2026-08-28 21:06:03 +02:00
Erwan Leboucher da3ad5ba2f fix(client): show load failures that are not Error objects 2026-08-28 20:40:26 +02:00
Erwan Leboucher 789d953d40 fix(sync): invalidate device lists once per pos-less sliding sync run 2026-08-28 18:10:15 +02:00
Erwan Leboucher 5cf529e83a fix(crypto): keep a failed drain from poisoning the outgoing request chain 2026-08-28 18:01:06 +02:00
Erwan Leboucher c983a143d7 fix(crypto): repair SAS emoji timing and in-room verification 2026-08-28 17:51:27 +02:00
Erwan Leboucher ec5c324656 fix(crypto): stop presence sync from consuming to-device events 2026-08-28 17:51:26 +02:00
Erwan Leboucher 1e56737ddb fix(sync): preserve nested space room state 2026-08-28 16:10: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
Erwan Leboucher 8ba2d7750a fix: prevent color picker jitter (#1981)
<!-- 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-28 10:24:17 +02:00
Erwan Leboucher a88c26cba9 fix: stabilize shared color picker 2026-08-28 10:14:42 +02:00
Erwan Leboucher af8862c8c9 fix: prevent color picker jitter 2026-08-28 10:12:33 +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 9021e5f0fb undo some timeline stuff that broke tests (#1978)
<!-- 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. -->

reverts part of my last pr that failed the playwright tests

#### 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-27 16:55:23 -04:00
7w1 0c95dde5e3 undo some stuff that broke tests 2026-08-27 15:49:04 -05:00
7w1 8ec0123eb2 fix: improve legacy image pack compatibility (#1975)
<!-- 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. -->

When modifying image packs created with the legacy unstable keys,
ensures they are still updated and continually reads legacy keys for
updates from other clients.

New packs should use the stable key only and are unaffected.

#### 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-27 16:38:19 -04:00
7w1 56ed2ec2d9 redact events optimistically and reduce timeline flicker maybe (#1977)
<!-- 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. -->

Optimistically redacts events/reactions and hopefully reduces the
timeline flicker a little by removing some isReady gating and things

#### 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-27 16:34:42 -04:00
7w1 d4b5bd735f formatting 2026-08-27 15:22:26 -05:00
7w1 14603c1c51 redact events optimistically and reduce timeline flicker maybe 2026-08-27 15:20:56 -05:00
7w1 ecb2b43c44 fix tests 2026-08-27 15:03:05 -05:00
7w1 0baaa91fa9 formatting 2026-08-27 14:39:52 -05:00
7w1 b173b68b9a fix: devices showing as unverified when unverified 2026-08-27 14:38:00 -05:00
7w1 e5b50623b1 fix: improve legacy image pack compatibility 2026-08-27 13:58:59 -05:00
cwyptt 610c139866 Register show-all-timestamps as a shareable settings focus id 2026-08-27 12:44:15 -05:00
Erwan Leboucher 3798c30a4a fix: avoid shadowed editor state 2026-08-27 19:36:25 +02:00