Commit Graph
3935 Commits
Author SHA1 Message Date
7w1 787d1e1aaf fix: ensure correct url for acccount management 2026-07-25 16:32:23 -05:00
7w1 4edda08cac fix: submit the m.oauth stage type when completing OAuth UIA (#1348)
<!-- 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
- [x] 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-25 16:00:56 -05:00
7w1 5ab18f20f2 fix(mobile): clip the nav drawer viewport so it cannot scroll out of frame (#1343)
…

<!-- 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
- [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-07-25 15:59:27 -05:00
7w1 cf3c68f111 test: restructure e2e around fixtures and page objects, run against a build (#1336)
<!-- 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:

- [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-07-25 15:58:54 -05:00
7w1 ca6dce667a fix(media): request our own video and audio with CORS so Firefox does not block it (#1334)
### Description

Firefox blocks media Range responses whose URL it has not already
sniffed as audio/video (mozilla bug 1880289), which homeservers serving
`application/octet-stream` trip. The element then reports "no video with
supported format and MIME type found" and the request shows as
`NS_BINDING_ABORTED`. Requesting with CORS opts out of ORB.

Only applied to our own media, since external `og:video` URLs from link
previews go through the same component and cannot be assumed to send
`Access-Control-Allow-Origin`.

Verified on firefox

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-07-25 15:57:49 -05:00
7w1 5a66351de7 fix(sticker): send using the pack's image info instead of downloading the sticker (#1332)
### Description

Tapping a sticker did nothing. The send path downloaded and decoded the
sticker purely to compute `info`, with no error handling, so any media
failure meant `sendEvent` was never reached. It now uses the `info` the
pack already declares, only measures the file when a pack omits it, and
sends either way.

Fixes #1323

#### 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-07-25 15:56:03 -05:00
7w1 3785159460 fix: include user image packs 2026-07-25 15:53:05 -05:00
7w1 5f69c01883 perf(crypto): cache cross-signing device verification status (#1305)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

rewrote the device verification to use usequery instead 
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:

- [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-07-25 15:50:09 -05:00
7w1 1e0f12d65f fix: deduplicate device verification queries and share crypto event subscriptions 2026-07-25 15:47:02 -05:00
7w1 b1ac4a6fd5 fix: ensure timeline continues fetching when hidden events are disabled 2026-07-25 14:50:12 -05:00
Erwan Leboucher 0f211ab68f fix(room-nav): keep the mobile options sheet mounted while it is open 2026-07-25 17:13:33 +02:00
Erwan Leboucher 4f97d6b75a fix: submit the m.oauth stage type when completing OAuth UIA 2026-07-25 16:48:27 +02:00
Erwan Leboucher 127f60deed fix(media): request our own video and audio with CORS so Firefox does not block it 2026-07-25 11:58:42 +02:00
Erwan Leboucher 347920bfec fix(sticker): send using the pack's image info instead of downloading the sticker 2026-07-25 11:58:42 +02:00
Erwan Leboucher 7f0ae05dbd fix(mobile): clip the nav drawer viewport so it cannot scroll out of frame 2026-07-25 10:14:59 +02:00
7w1 7e58708223 Fix composer buttons (#1320)
<!-- 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. -->

makes them appear when emoji button is disabled and adjusts which ones
are highlighted properly

#### 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-07-24 23:13:45 -05:00
7w1 ac8e1fd6cb fix: resolve lint shadowing warning and typecheck types 2026-07-24 23:11:17 -05:00
7w1 ab44c51cdf fix positioning 2026-07-24 23:06:08 -05:00
7w1 ba605fc0ab fix composer button behavior 2026-07-24 23:03:07 -05:00
7w1 019480e586 Revert "fix(mobile): stop the nav drawer sliding out of frame and carry swipe velocity into the settle" 2026-07-24 21:18:09 -05:00
hazre 1c0950faee feat: add desktop auto-update pill with download progress and manual check
Signed-off-by: hazre <[email protected]>
2026-07-24 20:07:05 -05:00
hazre c83522d7e6 fix: move updater and global banner to appshell
Signed-off-by: hazre <[email protected]>
2026-07-24 20:07:05 -05:00
7w1 0625ddfc63 Fix spoilers breaking when using a proxy tag/shorthand (#1307)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Fix spoilers sending as [Spoiler] when using proxy tags

#### 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-07-25 00:39:39 +00:00
7w1 9eb21768c6 fix(mobile): stop the nav drawer sliding out of frame and carry swipe velocity into the settle (#1303)
<!-- 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
- [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-07-25 00:38:53 +00:00
Josie 731b633fbf Fix spoilers breaking when using a proxy tag/shorthand 2026-07-25 01:28:57 +01:00
Erwan Leboucher b77864d62c perf(crypto): cache cross-signing device verification status 2026-07-25 00:47:50 +02:00
7w1 aff701889b fix: (tauri) open homeserver-url in user chip via opener plugin (#1277)
<!-- 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. -->

on android/tauri: opening the homeserver url in the user chip replaces
sable.
fix: use the opener-plugin to follow the url, as in verification.tsx
https://github.com/SableClient/Sable/blob/444f2fc9c59900fb39ae621bc4badf75b9b0df78/src/app/features/settings/devices/Verification.tsx#L275-L285

on android: clicking in a youtube embed e.g. the video title replaces
the entire app with youtube
fix: on android specifically, make urls that do not lead to sable open
in the system browser
this doesn't work on other platforms, but is not needed for at least the
linux/cef version

Fixes #1295

#### 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-07-24 22:09:48 +00:00
Erwan Leboucher 38c5e85fc7 fix(mobile): stop the nav drawer sliding out of frame and carry swipe velocity into the settle 2026-07-25 00:05:43 +02:00
7w1 4a83e30f68 fix(settings): handle missing room member in cosmetics settings (#1298)
<!-- 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
- [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-07-24 21:11:33 +00:00
7w1 4cbc077864 fix(notifications): route push transports by explicit provider (#1273)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Fixes several Android push-notification bugs, and bumps
`tauri-plugin-notifications` to pick up the matching native fixes
(SableClient/tauri-plugin-notifications#11).

**Transport routing**
- Pass `provider: 'fcm'` / `provider: 'unifiedpush'` explicitly on
register, so the plugin routes deterministically instead of inferring
from saved state (switching to native no longer keeps using the old
UnifiedPush distributor).
- `switchBackgroundPushTransport` is break-before-make (deactivate old →
register new), which the plugin's single-active-provider guard requires.
If the new registration fails, the previous transport is now
**restored** instead of leaving the device with no pusher while the UI
still says push is on.
- Skip no-op mode changes when the resolved provider is unchanged.
- `enablePushNotifications` no-ops under Tauri instead of throwing
(fixes the SABLE-162 unhandled rejection).

**Background notification previews**
- Encrypted message bodies could appear in notifications with "show
encrypted content" disabled: `isEncryptedRoom` is derived from the local
room, which is absent on a cold start from push, so the gate passed and
the decrypted body was shown. Encryption is now taken from the fetched
event itself.
- A notification dismissed while its preview fetch was in flight could
reappear ("ghost" notification), the async update now checks the cache
is still the live one.
- An earlier message no longer stays stuck on the "New message"
placeholder when a second push arrives before its preview resolves.
- The second (enriching) post is awaited so failures are logged instead
of becoming unhandled rejections, and the per-room seen-event set is
capped.

#### 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-07-24 21:10:49 +00:00
7w1 ed8591f51b formatting 2026-07-24 15:53:28 -05:00
Erwan Leboucher 4caa4e5832 Merge remote-tracking branch 'origin/dev' into fix/media-slow-network
# Conflicts:
#	src/app/generated/tauri/commands.ts
#	src/app/generated/tauri/events.ts
#	src/app/generated/tauri/index.ts
#	src/app/generated/tauri/types.ts
2026-07-24 22:34:25 +02:00
Erwan Leboucher 5cf84feb0e fix(settings): handle missing room member in cosmetics settings 2026-07-24 22:33:41 +02:00
Erwan Leboucher 16f44b6adb fix(media): decrypt encrypted media on Android and improve slow-network loading 2026-07-24 22:30:18 +02:00
Erwan Leboucher 73b58bf5d5 fix(notifications): surface progress and errors when resetting all pushers 2026-07-24 22:12:56 +02:00
Erwan Leboucher f6165139d1 fix(notifications): restore the previous transport when switching fails 2026-07-24 22:12:55 +02:00
Erwan Leboucher 81dfa87ef0 fix(notifications): harden background push preview enrichment 2026-07-24 22:12:55 +02:00
7w1 584ddcc63d fix: route mobile notification sounds through ring volume stream (#1269)
<!-- 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
- [x] 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-24 19:38:37 +00:00
Erwan Leboucher a3f4a4683c fix: route mobile notification sounds through ring volume stream 2026-07-24 20:50:37 +02:00
7w1 da76149295 fix: complete and detect OIDC/SSO identity reset (#1255) (#1270)
<!-- 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
- [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-07-24 18:48:11 +00:00
Erwan Leboucher af2cb37bd6 fix(android): dedup synthetic click after mobile tap activation
chore: format and add changeset
2026-07-24 20:32:10 +02:00
7w1 20f1a2d598 fix remove lower res downloads from timeline (#1286)
<!-- 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-07-24 13:08:56 -05:00
7w1 40d26cd625 fix remove lower res downloads from timeline 2026-07-24 13:06:16 -05:00
7w1 8a0a521d47 Add Account-wide persona toggle in Persona Picker (#1264)
<!-- 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. -->
Adds a 'Global' option the the Persona Picker to choose an account-wide
persona. Adds a new account data record. A room-associated persona has
higher priority than a global persona. (Also slightly edited the
list-item styling for alignment.)

`fyi.cisnt.permessageprofile.globalassociation`
```json
{
  "association": {
    "profileId": <profile id>
  }
}
```

<img width="280" height="334" alt="image"
src="https://github.com/user-attachments/assets/778b1035-91ae-48c7-ba3d-11ddd029d2d5"
/>

<img width="280" height="334" alt="image"
src="https://github.com/user-attachments/assets/198c89c0-8ae0-4e62-995e-d4fae79d06f3"
/>

#### Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings

### AI disclosure:

- [ ] 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-24 17:30:28 +00:00
7w1 285cb46d93 fix(call): bypass PNA for split-horizon DNS homeservers (#1272)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

- wry: set_cors_allowlist for HTTP(S) targets so Element Call iframe
fetches to LAN-IP homeservers aren't PNA-blocked
- CEF: disable LocalNetworkAccessChecks feature flags
- Android/iOS: local-network-access added to iframe allow attribute

#### 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-07-24 17:29:15 +00:00
7w1 41346eb6b5 fix(sliding-sync): drop stale invite state for joined rooms in sidebar cache (#1284)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

On homeservers that keep sending invite_state for a room the user has
already joined (e.g. Continuwuity), accepting a local invite left the
room "half-joined": after a restart it reappeared as a pending invite.
The sidebar cache persisted the stale invite_state, and matrix-js-sdk
treats invite_state as authoritative (it short-circuits to invite
membership and ignores required_state), so hydration kept resurrecting
the invite.

Fixes #1283

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

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

code review and autocomplete
2026-07-24 15:57:31 +00:00
7w1 c2287d7f52 fix(android): activate room context menu items on pointerup (#1281)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

On Android WebView, the long-press that opens the room context menu
suppresses the first synthesized click, so every menu item did nothing.

Activate on pointerup (with movement + duration thresholds) instead the
same pattern used for room-row navigation. Desktop unchanged.

#### 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-07-24 15:34:21 +00:00
7w1 6e0bd7424f fix(media): sniff decrypted image content type and harden encrypted media cache (#1271)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

- Sniff decrypted image MIME type from magic bytes when sender omits
mimetype
- Keep encryption params on SHA-256 mismatch so transient network errors
are retryable
- Use no-store Cache-Control for octet-stream responses to prevent
cached broken render
- Self-heal existing cache entries with sniffed content type
- Release concurrency semaphore earlier after decrypt
- Skip thumbnail requests for animated images (GIF/APNG/AVIF/WebP)
- Fall back to full download when thumbnail fails on retry
- Swallow unhandled rejection on URL preview fetch (SABLE-167)
- Catch Tauri HTTP plugin SyntaxError on HTML error pages (SABLE-16F)

#### 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-07-24 15:31:24 +00:00
Erwan Leboucher 879c481e37 fix(sliding-sync): drop stale invite state for joined rooms in sidebar cache 2026-07-24 17:18:27 +02:00
Erwan Leboucher 7953ee50a7 fix(call): bypass PNA for split-horizon DNS homeservers
Element Call's iframe uses native window.fetch, bypassing Sable's Rust
proxy. With tauri://localhost classified as public address space, PNA
blocks fetches to homeservers resolving to LAN IPs.

CEF: disable LocalNetworkAccessChecks feature flags.
wry: set_cors_allowlist for HTTP(S) targets.
Android: add local-network-access to iframe allow attribute.
Add SABLE_DEVTOOLS env var to enable inspector in any build.

Same-origin policy and CSP remain enforced.
2026-07-24 13:57:41 +02:00