Commit Graph
493 Commits
Author SHA1 Message Date
Erwan Leboucher 851e8d91c2 fix: prevent duplicate media and reactions 2026-08-13 12:15:13 +02:00
Erwan Leboucher d42f2a6b16 fix: save Android gallery images from source URL (#1756)
<!-- 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-13 10:14:23 +02:00
Erwan Leboucher 6097f81592 feat(call): add native calls 2026-08-13 08:25:37 +02:00
Erwan Leboucher 3d3f457e8b fix: save Android gallery images from source URL 2026-08-13 08:16:30 +02:00
Erwan Leboucher 70b2403ada fix: download Android media (#1722)
<!-- 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:

- [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
- [ ] 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-12 09:47:41 +02:00
7w1 0cd636f3d7 fix(timeline): resolve focus by event id and render non-live events (#1690)
<!-- 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. -->
focus was stored as a raw index into the flattened timelines, so
backward pagination shifted it onto an older message. it is now keyed by
event id. also fixes late events never rendering (60s timestamp window
replaced by timeline set identity) and a failed jump leaving the room
blank.

#### 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
- [ ] 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-12 06:22:51 +00:00
Erwan Leboucher df43bd61a2 fix(timeline): keep event jumps stable across sync gaps 2026-08-12 08:04:51 +02:00
Erwan Leboucher 14d1b07537 fix: download Android media 2026-08-11 14:52:07 +02:00
Erwan Leboucher 14bb032278 fix(diagnostics): capture console output in diagnostics exports 2026-08-11 09:47:48 +02:00
7w1 91462a9596 fix: expand cache, load from all rooms, ui changes, cleanup stuff 2026-08-08 23:20:32 -05:00
Erwan Leboucher df6123501e feat(notifications): show inbox badge on the sidebar icon 2026-08-08 23:20:32 -05:00
Erwan Leboucher d724838a3d refactor(notifications): store only as much message body as the preview shows 2026-08-08 23:20:31 -05:00
Erwan Leboucher 73f84c13f9 feat(notifications): build the inbox from locally evaluated push rules 2026-08-08 23:20:31 -05:00
7w1 3932f6ea63 fix(media): load images natively instead of through the session blob cache (#1692)
<!-- 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:

- [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:

- [ ] 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-09 02:45:55 +00:00
Erwan Leboucher 6cb29628df fix(tauri): keep desktop message menus as popouts 2026-08-08 21:33:00 -05:00
Erwan Leboucher 4596ddd2ac fix(media): load images natively instead of through the session blob cache 2026-08-08 23:41:59 +02:00
7w1 8b938483bf formatting 2026-08-08 12:43:51 -05:00
Erwan Leboucher 77e79dfbd8 fix(media): serve the newest media request first and cache picker images in session 2026-08-08 12:43:51 -05:00
Erwan Leboucher ecb46f8af3 fix(tauri): save JSON exports through the native file dialog 2026-08-08 14:32:38 +02:00
Josie 91c9ef04d4 Import PluralKit data into MSC4611 PMP account data 2026-08-08 11:26:32 +01:00
7w1 dce2d3fb59 improve tablet and PWA layout (#1596)
<!-- 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:

- [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
- [ ] 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-08 01:56:50 +00:00
Erwan Leboucher 7fb3ca418a fix(auth): carry the homeserver in the query string instead of the path (#1582)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

A homeserver typed as a full URL landed in the path as
`/login/http%3A%2F%2Fhost`, and the hosting 307-redirects `%2F` to a
real slash, the mangled URL then matched a room route, so after login
you ended up in a fake room named "login".

The homeserver now rides in the query string (`/login?server=...`), old
`/login/<server>` links (incl. SSO/OIDC callbacks) redirect to it, and
auth paths are never kept as an after-login destination.

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-07 20:53:15 +00:00
Erwan Leboucher 45a91f71d6 Merge remote-tracking branch 'origin/dev' into fix/sliding-sync-room-state-and-unread
# Conflicts:
#	src/client/initMatrix.test.ts
2026-08-07 22:29:32 +02:00
Erwan Leboucher 8658e813b0 Suggest accessible light/dark name colors when not filled (#1662)
<!-- 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. -->

Suggest accessible name colors to hopefully encourage people to make
name colors easier to read in certain theme kinds.

<img width="554" height="192" alt="image"
src="https://github.com/user-attachments/assets/dfb741f1-8843-4544-97bb-c79c904f0675"
/>

#### 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
- [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:

- [ ] 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-07 09:00:17 +00:00
Josie c40df64e2d Suggest accessible light/dark name colors when not filled 2026-08-07 09:55:34 +01:00
Erwan Leboucher e3871cdc6b fix(sync): keep response corrections from wedging the sync loop 2026-08-07 09:12:44 +02:00
Erwan Leboucher 272b933c30 fix(sync): keep room state and read receipts flowing under sliding sync 2026-08-07 09:12:44 +02:00
Shea 257f8f7273 fix(mobile): save JSON exports natively (#1571)
<!-- 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-07 07:12:34 +00:00
Erwan Leboucher 815528a4a8 fix(dm): resolve bridged DM metadata (#1649)
<!-- 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-07 06:48:57 +00:00
Erwan Leboucher e2ac75846b fix(composer): serialize sends and snapshot drafts across the composer 2026-08-05 21:46:36 -05:00
Erwan Leboucher a466ba15a0 fix(persona): serialize per-message-profile account data writes 2026-08-05 21:13:35 -05:00
Erwan Leboucher 8cfbe0d136 fix(dm): resolve bridged DM metadata 2026-08-05 19:51:53 +02:00
Erwan Leboucher 1ab717f9a3 fix(dm): refresh direct chat avatars 2026-08-04 14:53:08 +02:00
Erwan Leboucher 14d0f75d0f fix(dm): filter bridge bots from DM name/avatar resolution
Fixes #1585
2026-08-04 10:04:28 +02:00
Erwan Leboucher 18884554fa fix(mobile): let the native layer own safe-area and keyboard insets 2026-08-03 15:41:34 +02:00
Erwan Leboucher 25ee7b9357 fix(auth): carry the homeserver in the query string instead of the path 2026-08-02 20:02:52 +02:00
Erwan Leboucher 1af625a364 fix(mobile): save JSON exports natively 2026-08-01 20:48:16 +02:00
Erwan Leboucher 6d61d9b77c refactor: replace hardcoded Matrix event type strings with SDK constants 2026-08-01 16:20:36 +02:00
Erwan Leboucher 8cb6836cd2 fix(media): cap concurrent media fetches so they cannot stall the Matrix API 2026-07-31 15:27:09 -05:00
Shea bca26a89bb New Color MSC4522 (#1526)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Since most of the changes are just converting to the MSC keys there
should be no real difference for any user besides deprecating the old
keys for setting, but not yet for getting since it will be bound to be
people that will not update their colors or even client upon release.

Implements
[MSC4522](https://github.com/matrix-org/matrix-spec-proposals/pull/4522)

#### 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. -->
Written with the assistance of the msc (no ai involvement)
2026-07-31 06:52:54 +00:00
Shea 67e400d9e7 clean everything up
Signed-off-by: Shea <[email protected]>
2026-07-31 08:18:22 +03:00
7w1 47c4f9a6be fix: retry tauri media after token refresh (#1498)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

- Prevents refreshed OIDC tokens from being overwritten in Tauri.
- Makes image and video Retry issue a fresh native media request.
- Avoids caching native media errors.

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
- [ ] 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-07-31 04:30:36 +00:00
7w1 adb57b8a59 formatting 2026-07-30 23:24:54 -05:00
7w1 3b7772b663 fix: retry all media shapes 2026-07-30 23:19:43 -05:00
7w1 876cd1b848 refactor: framer motion to native things 2026-07-30 21:40:13 -05:00
7w1 7935df05ae maybe fix katex rendering 2026-07-30 18:25:05 -05:00
7w1 67871c1210 fix media on secondary accounts not loading 2026-07-30 17:47:19 -05:00
7w1 2f013c1ade fix(media): bypass stale service worker auth 2026-07-30 16:00:54 -05:00
Erwan Leboucher 38c95e7b20 fix(media): fall back when service worker auth is unavailable 2026-07-30 15:45:51 -05:00
7w1 cd0f58a729 fix: keep enter preference local (#1499)
<!-- 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-07-30 20:05:51 +00:00