Commit Graph
4521 Commits
Author SHA1 Message Date
Erwan Leboucher fa514a609f fix(mobile): keep composer sheets from popping the soft keyboard 2026-08-19 11:33:11 +02: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
7w1 81f915c0b9 use correct klipy share url 2026-08-17 13:39:01 -05:00
Erwan Leboucher e383f3f47a fix(editor): scale composer text with the page zoom setting 2026-08-17 20:29:44 +02:00
7w1 6a872f3e24 fix: switch to fully client side klipy gif fetching 2026-08-17 13:10:56 -05:00
Erwan Leboucher ffc6d3f6d8 fix(url-preview): stop cards holding placeholder height and resolve previews ahead of the viewport 2026-08-17 17:29:57 +02:00
Erwan Leboucher b382f45ceb fix(editor): update the editable's attributes without rebuilding the view 2026-08-17 15:30:32 +02:00
Erwan Leboucher 7b99f8902d fix(editor): pad the composer text below as well as above 2026-08-17 15:30:32 +02:00
Erwan Leboucher 72c3ca5e87 feat(editor): replace Slate with ProseMirror in the composer (#1724)
<!-- 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 13:45:26 +02:00
Erwan Leboucher 345128e4e1 test(e2e): measure preview scroll drift between mounted rows 2026-08-17 11:59:00 +02:00
Erwan Leboucher 26b4017908 fix(android): retry a media save when MediaStore runs out of unique names 2026-08-17 11:47:58 +02:00
Erwan Leboucher bb8baacf6d fix: fix poll crashing and fix forward not searching correctly (#1822)
<!-- 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-16 23:12:32 +02:00
Erwan Leboucher 302c1bb298 fix(poll): stop an unreadable response crashing the room
PollEvent treated every m.reference child of a poll as a well formed
vote, reading the answers with optional chaining and then dereferencing
the result. m.relates_to is lifted out of the encrypted content, so a
response that has not decrypted yet still resolves as a child of the
poll while carrying no answers, and rendering the room threw.

PollResponses had the same unguarded read. The vote total's reduce and
a poll start with no answers threw on the same path.

Also align vote counting with MSC3381, shared with the voter list:

- max_selections defaults to 1
- an over long selection is truncated instead of spoiling the vote
- an unknown answer id spoils the whole vote
- an id repeated after truncation counts once
2026-08-16 23:02:03 +02:00
Erwan Leboucher 38dcaa14f7 fix(forward): keep search results from being dropped mid-typing
useAsyncSearch clears its result whenever the list identity changes. In the
room picker that list is derived from pickRoom, whose identity churned on
every GlobalModalManager render, so any room activity wiped the search and
fell back to recent rooms.

Key eligibleSet on the room ids instead of the pickRoom object, and make
close stable.
2026-08-16 22:54:25 +02:00
Erwan Leboucher e40782906d fix(crypto): reload on account switch and refresh verification status (#1817)
<!-- 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-16 19:57:11 +02:00
Erwan Leboucher d30a34acbe fix(ios): anchor the pwa viewport and banner to visualViewport.offsetTop (#1818)
<!-- 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-16 19:54:20 +02:00
Erwan Leboucher f12cc044a4 fix(inbox): read the real event so notification previews show the message 2026-08-16 19:44:45 +02:00