Commit Graph
5712 Commits
Author SHA1 Message Date
Erwan Leboucher a630be2296 fix(ios): declare AudioServicesCreateSystemSoundID URL param as const pointer 2026-07-24 23:32:18 +02:00
7w1 0d901333db fix mobile builds (#1299)
<!-- 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 16:18:28 -05:00
7w1 a95cbf6a65 fix ios build 2026-07-24 16:13:43 -05:00
7w1 81c10e0d99 fix android build 2026-07-24 16:12:04 -05: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
Erwan Leboucher 329a5ee6bd chore(tauri): bump tauri-plugin-notifications to the notification hardening fixes 2026-07-24 23:05:00 +02:00
7w1 82d1a2eb99 fix failing mobile builds (#1297)
<!-- 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 15:58:35 -05:00
7w1 03cb030534 fix failing mobile builds 2026-07-24 15:56:18 -05:00
7w1 a27e455aa0 fix(media): decrypt encrypted media on Android and improve slow-network loading (#1296)
<!-- 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 20:55:10 +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
7w1 991c372eb7 chore(ci): add cargo ecosystem to dependabot (#1282)
<!-- 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 19:37:43 +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
7w1 89ff24aaaf fix(android): dedup synthetic click after mobile tap activation (#1280)
<!-- 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 #1275](https://github.com/SableClient/Sable/issues/1275)

#### 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:33:50 +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 cbf502622b ci(android): speed up build by dropping x86 ABIs and caching Gradle (#1285)
<!-- 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. -->

the other platform are for simulator so we can drop them and make
building faster

#### 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 15:32:59 +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
7w1 00b3e66665 fix(sentry): scrub homeserver host from Sentry data (#1274)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Redact external http(s) origins (homeserver, OIDC issuers, media
redirectors) to [HOMESERVER] before sending to Sentry. Preserve the
app's own origin and local dev hosts. Also drop the sync.base_url span
attribute and the baseUrl debug-log field that leaked the homeserver
explicitly.

#### 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-24 15:29:33 +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 7fc30f3f7f ci(android): speed up build by dropping x86 ABIs and caching Gradle 2026-07-24 17:17:05 +02:00
Erwan Leboucher 4700d4b335 chore(ci): add cargo ecosystem to dependabot 2026-07-24 14:57:27 +02:00
Erwan Leboucher e4c58a7c3f fix(android): activate room context menu items on pointerup 2026-07-24 14:21:26 +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
Erwan Leboucher 9aeef41332 fix(android): activate room context menu items on pointerup 2026-07-24 13:42:08 +02:00
Erwan Leboucher 014c4eb15a fix(notifications): route push transports by explicit provider 2026-07-24 12:47:35 +02:00
Erwan Leboucher 87d7a8945d fix(sentry): scrub homeserver host from Sentry data
Redact external http(s) origins (homeserver, OIDC issuers, media
redirectors) to [HOMESERVER] before sending to Sentry. Preserve the
app's own origin and local dev hosts. Also drop the sync.base_url span
attribute and the baseUrl debug-log field that leaked the homeserver
explicitly.
2026-07-24 10:52:18 +02:00
Erwan Leboucher 8042533981 fix(media): sniff decrypted image content type and harden encrypted media cache 2026-07-24 10:25:40 +02:00
Erwan Leboucher 91a181a22d fix: format and add changeset for CI 2026-07-24 08:34:51 +02:00
Erwan Leboucher 84583977da fix: complete and detect OIDC/SSO identity reset (#1255) 2026-07-24 08:30:23 +02:00
7w1 444f2fc9c5 feat(sentry): enable Sentry for Tauri builds (#1239)
<!-- 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)
- [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:

- [ ] 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 06:04:44 +00:00
Erwan Leboucher 1273136f01 feat(sentry): enable Sentry for Tauri builds 2026-07-24 08:02:45 +02:00
7w1 76bffcfb52 Fix synced local tweaks (#1220)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Restores locally imported CSS tweaks after settings sync on a new
device. The change migrates legacy cache-only tweaks, restores listing
and application without IndexedDB races, bounds aggregate CSS payloads,
preserves source-only oversized tweaks, and reports partial sync when
necessary.

#### Verification

- `npm run test:run -- src/app/utils/settingsSync.test.ts
src/app/hooks/useSettingsSync.test.tsx
src/app/theme/syncedTweakCss.test.ts src/app/pages/ThemeManager.test.tsx
src/app/theme/processThemeImport.test.ts
src/app/features/settings/cosmetics/ThemeCatalogSettings.test.tsx` (65
passed)
- `npm run fmt:check -- src/app/utils/settingsSync.ts
src/app/utils/settingsSync.test.ts`
- `git diff --check`
- `npm run typecheck` remains blocked by pre-existing Matrix OAuth
exports and the missing sharekit declaration; no errors point to this
change.

Fixes #1208

#### 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)
- [x] 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).

<!-- The template requires this explanation to be written by the
contributor, not generated by AI. -->
2026-07-24 05:18:34 +00:00
7w1 8ae530db72 Small mobile tweaks (#1267)
<!-- 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. -->

Disables overscroll on swipe to reply
Adds editing if you keep swiping on reply
Opens keyboard automatically when editing
Hides the space tooltip when clicking on a space, it appears and lingers
even when entering room, it shouldnt.

Larger change:
delete the motion crap for the swipe animation between room list and
timeline, because it's fundamentally limited to 60 fps (or worse) on
mobile and older devices, particularly on iOS webkit, and its annoying
the hell out of me that its so stuttery compared to the rest of the ui

#### 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-23 23:57:17 -05:00
7w1 5aa9ff6559 fix: polish mobile message and drawer interactions 2026-07-23 23:47:34 -05:00
7w1 ea4d7259a3 fix: unify mobile sheet animations 2026-07-23 21:19:14 -05:00
7w1 936547facb fix: smooth mobile navigation gestures 2026-07-23 21:09:27 -05:00