Commit Graph
4536 Commits
Author SHA1 Message Date
Erwan Leboucher 5f6e61a7b2 chore(sentry): count forced logouts 2026-08-20 07:57:53 +02:00
Erwan Leboucher 1374837c7d fix(crypto): clear the account's crypto stores on forced logout 2026-08-20 07:57:53 +02:00
Erwan Leboucher 8b5dd78462 fix(crypto): reload instead of retrying in place after a store mismatch 2026-08-20 07:57:53 +02:00
Erwan Leboucher 2a6c39688e fix(room-menu): keep menu open when swapping direct invite to invite dialog (#1876)
…

<!-- 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 00:14:02 +02:00
Erwan Leboucher 13875d0262 fix(android): pad mobile sheet from injected safe-area inset
The sheet container fell back to env(safe-area-inset-bottom) directly,
which Android WebView reports as 0px on devices with three-button
navigation and certain WebView versions. Prefer the edge-to-edge
plugin's injected --safe-area-inset-bottom (native insets) first,
matching the rest of the app.
2026-08-20 00:06:19 +02:00
Erwan Leboucher 3076079019 fix(room-menu): keep menu open when swapping direct invite to invite dialog 2026-08-20 00:04:13 +02: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 d6051e4af0 fix(sliding-sync): merge local echoes with unlinked remote echoes 2026-08-19 17:28:10 +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
Erwan Leboucher f2c3930da6 fix: back out of space previews opened by address
An unjoined space renders the preview on every route of its section, so the
back button's section list path looped onto the same screen. useBackRoute now
escapes to home when the space is not joined (replace, so the dead end does
not linger in history). The preview back button also renders on desktop and
tablet sizes, and Tauri loads that start on a deep-linked page get a home
entry placed underneath it so webview back / iOS edge-swipe has somewhere to
land.
2026-08-19 17:28:10 +02:00
Erwan Leboucher b0a5db8323 test(editor): flush the prosemirror paste timer before teardown 2026-08-19 14:36:25 +02:00
Erwan Leboucher c6a62caedb fix(avatar): recover room and space avatars after iOS webview refreshes 2026-08-19 14:23:17 +02:00
Erwan Leboucher fa514a609f fix(mobile): keep composer sheets from popping the soft keyboard 2026-08-19 11:33:11 +02:00
Nick 5008e1f8c1 fix: Reimplement responsive composer layout 2026-08-19 01:43:40 -05:00
Erwan Leboucher 5e075bef8a fix: re-resolve loopback media after token rotation 2026-08-19 08:43:37 +02:00
Erwan Leboucher b3753b115e Fix Firefox Timeline Style (#1860)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Decided against my better judgement and patched the style for the
timeline to follow the latest folds style for the 2 elements.

No changeset as it is part of the folds package update

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
- [x] 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-18 21:15:43 +00:00
Erwan Leboucher e84cfcc9fd fix: tauri media loading, sent-message drafts and composer buttons 2026-08-18 22:31:28 +02:00
Shea 80aedc7468 2 liner 2026-08-18 20:55:36 +03:00
Erwan Leboucher 1ce49f7dc3 fix(forum): keep the event timeline open for forum rooms (#1857)
<!-- 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-18 19:23:14 +02:00
Erwan Leboucher ded306dcec fix(forum): keep the event timeline open for forum rooms 2026-08-18 18:12:32 +02:00
Erwan Leboucher 1eaaf4d8cb fix(avatar): clear the load-error latch when the resolved media url arrives 2026-08-18 17:25:12 +02:00
Erwan Leboucher 6c81e4c3c9 fix(media): drop the stale loopback url when the media source changes 2026-08-18 17:09:33 +02:00
Erwan Leboucher dc5f974f7c fix(room): keep composer focused and clear undo history on send (#1854)
<!-- 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-18 16:26:54 +02:00
Erwan Leboucher fd128b5895 fix(room): keep composer focused and clear undo history on send 2026-08-18 15:44:00 +02:00
Erwan Leboucher 463d6e31c4 fix(ios): fill the full screen in standalone PWAs instead of a bottom chin 2026-08-18 14:53:59 +02:00
Erwan Leboucher 8b6fd28748 feat(desktop): add spellcheck setting (#1850)
<!-- 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-18 12:01:29 +02:00
Erwan Leboucher f694ac3e8b fix(forum): restore the menu entries dropped in the rebase (#1849)
<!-- 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-18 11:56:05 +02:00
Erwan Leboucher 5944964de0 feat(desktop): add spellcheck setting 2026-08-18 11:53:22 +02:00
Erwan Leboucher 2bbce678cc fix(forum): restore the menu entries dropped in the rebase 2026-08-18 11:16:39 +02:00
Erwan Leboucher 0a8c8c9b08 fix(forum): stop the forum route being read as a timeline route 2026-08-18 11:16:39 +02:00
Erwan Leboucher 5af773e3b4 chore: consume @sableclient/tauri-plugin-notifications-api from npm 2026-08-18 10:38:35 +02:00
Erwan Leboucher 64becf006b fix(profile): keep extended profile fields across cache refreshes (#1846)
<!-- 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-18 10:26:53 +02:00
Erwan Leboucher bccbdc6070 fix(call): list real audio and video devices in the call preview (#1847)
<!-- 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-18 10:18:39 +02:00
Erwan Leboucher 7ff9e1a097 fix(call): list real audio and video devices in the call preview 2026-08-18 10:09:28 +02:00
Erwan Leboucher 4a5505bbd9 fix(profile): surface banner and animal identity save failures 2026-08-18 10:01:41 +02:00
Erwan Leboucher 80978dcc63 fix(profile): keep extended profile fields across cache refreshes 2026-08-18 09:57:25 +02:00
Erwan Leboucher f4d504befa revert(editor): restore the always inline editor setting 2026-08-18 09:39:23 +02:00
7w1 15e1bfb489 fix forums not opening in forum view 2026-08-17 17:25:31 -05:00
Erwan Leboucher 7ffb49ced9 fix(editor): restore composer focus after the autocomplete menu closes 2026-08-17 22:41:42 +02:00
Erwan Leboucher 843c4f2592 fix(unread): flush the sync store when the app is hidden or closed (#1837)
<!-- 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. -->

shameless copied from element 
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-17 22:26:38 +02:00
Erwan Leboucher 42e26cd2df fix(sliding-sync): keep the head back-pagination token on overlapping limited responses (#1836)
<!-- 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-17 22:26:28 +02:00
Erwan Leboucher f7117e7eaa fix(unread): flush the sync store when the app is hidden or closed 2026-08-17 22:14:27 +02:00
Erwan Leboucher a4445e96ba fix(sliding-sync): keep the head back-pagination token on overlapping limited responses 2026-08-17 22:08:24 +02:00
7w1 1719f17535 chore: bump a few dependencies 2026-08-17 14:47:01 -05:00
Erwan Leboucher 9498494dba fix(media): fall back to the original when a homeserver thumbnail drops EXIF orientation (#1834)
<!-- 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-17 21:28:24 +02:00
Erwan Leboucher a14328d757 fix(media): fall back to the original when a homeserver thumbnail drops EXIF orientation 2026-08-17 21:12:43 +02:00
7w1 47d1bd05a9 fix: switch to fully client side klipy gif fetching (#1832)
<!-- 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. -->

To appease the klipy overlords.

Removes all uses of the gif proxy. Previous favorites/sent gifs are
still rendered and parsed fully client side, so everything should
migrate cleanly. Gifs now go directly to klipy, no homeserver or gif
proxy intermediary to fully comply with Klipy's integration
requirements.

Obviously, this now means gifs will likely not appear on any clients
other than Sable (it would just be a message with a raw link, so it
would be dependent on homeserver fetching, sable attaches some metadata
to the message to make it easier for us to render blurhash and sizes)
and it means gifs are always going to be directly loaded by the client
so there's a little bit of a privacy issue there, but I can't find any
other way to satisfy Klipy.

Toggle for unencrypted rooms is baked into the disable media autoload.
There's an explicit opt-in toggle for automatically loading external
gifs for encrypted rooms.

#### 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-17 13:54:52 -05:00
7w1 48d62c234f fix gif sizing and adjust rendering 2026-08-17 13:42:21 -05:00