Commit Graph
7120 Commits
Author SHA1 Message Date
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 53fb361902 fix(toast): show failure toasts in the error style (#2005)
<!-- 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-31 09:23:33 +02:00
Erwan Leboucher 0cacac405f fix(toast): show failure toasts in the error style 2026-08-31 09:03:34 +02:00
Erwan Leboucher cfccfc3846 Fix/crypto audit hardening (#2002)
<!-- 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-30 21:40:37 +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 6f6154dc7e fix(crypto): make opening and releasing the engine atomic across the push and webview paths 2026-08-30 19:38:42 +02:00
Erwan Leboucher c79163e5c2 fix(crypto): tolerate unparseable member ids and reject unusable timeouts 2026-08-30 19:38:42 +02:00
Erwan Leboucher 8503c21477 Fix/backup import skips bad keys (#2001)
<!-- 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-30 19:26:52 +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 192bf6a541 feat(notifications): report why cold pushes could not show content (#2000)
<!-- 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-30 16:28:42 +02:00
Erwan Leboucher 5d302cde43 chore(deps): pin tauri-plugin-notifications to the cold-push work 2026-08-30 16:25:24 +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 b334d2b7e6 fix(sync): derive mobile sync from current state so it resumes after backgrounding (#1999)
…

<!-- 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-30 15:46:18 +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 7e24b1aaa7 fix(crypto): coalesce outgoing request drains and cache the backup version (#1998)
<!-- 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-30 13:17:05 +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 ef43dc4cba ci: publish stable releases to the AUR (#1997)
<!-- 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-30 11:56:06 +02:00
Erwan Leboucher b82675b9ea ci: publish stable releases to the AUR 2026-08-30 11:49:36 +02:00
7w1 b24ef899a8 revert versioned shell url (#1995)
<!-- 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. -->

okay two things i thought this would've fixed my install but it didn't,
secondly it makes it flash index.html on start so might as well just
revert it since im not sure it does anything

#### 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-29 15:31:13 -05:00
7w1 fa4d5a9071 revert versioned shell url 2026-08-29 15:28:23 -05:00
7w1 2b2883b5ae fix: version shell url to prevent stale webview (#1994)
<!-- 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. -->

At some point in a recent update my webview was persistently using some
old cached index.html for some reason, clearing the actual app cache is
an easy fix but this should hopefully evade the problem for
non-technical users. Ideally we also detect stale caches and evict them
but too lazy for that atm

#### 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-29 14:12:26 -05:00
7w1 644c88a501 fix: version shell url to prevent stale webview 2026-08-29 14:03:35 -05:00
Erwan Leboucher 26fb5f5540 feat(cef): add env var to enable experimental cef views runtime (#1993)
<!-- 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. -->

Add env var to enable experimental support for wayland by using a CEF
Browser View.
While not enabled, behavior under cef does not change.

#### 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-29 11:05:25 +00:00
lunar-seal 8601adf058 feat(cef): add env var to enable experimental cef views runtime 2026-08-29 12:36:08 +02:00
Erwan Leboucher bafe75cda0 fix(crypto): repair encrypted messaging, key backup and verification (#1991)
<!-- 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-29 00:39:07 +02:00
Erwan Leboucher 859460e8b2 style(crypto): apply rustfmt 2026-08-29 00:32:33 +02:00
Erwan Leboucher 645c1cc09b fix(crypto): repair encrypted messaging, key backup and verification 2026-08-29 00:28:40 +02:00
Erwan Leboucher 5d8c660c78 Fix/sliding sync nested space rooms (#1989)
<!-- 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 21:22:01 +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 10c538c913 fix(crypto): keep the engine store path valid on windows 2026-08-28 20:35:33 +02: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 11b513b665 fix(linux): keep bundled sqlite symbols out of the executable 2026-08-28 20:25:43 +02:00
Erwan Leboucher 823d975456 fix(crypto): spell AppHandle with the runtime so the CEF build compiles (#1988)
<!-- 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 19:35:06 +02:00
Erwan Leboucher 3e50715a00 fix(crypto): spell AppHandle with the runtime so the CEF build compiles 2026-08-28 19:31:41 +02:00
Erwan Leboucher f90011b391 Fix/sliding sync nested space rooms (#1987)
<!-- 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 18:15:47 +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