Commit Graph
6205 Commits
Author SHA1 Message Date
Erwan Leboucher 53d7c5cd34 refactor(call): consume the extracted matrixrtc package 2026-08-03 09:34:29 +02:00
Erwan Leboucher 7bdb5af680 fix(timeline): refresh rows after decryption 2026-08-02 22:27:20 +02:00
Erwan Leboucher dc67f854fd feat(call): add the call UI, controls and settings gate 2026-08-02 22:27:20 +02:00
Erwan Leboucher 0c8d605196 feat(call): put both call engines behind one transport seam 2026-08-02 22:27:20 +02:00
Erwan Leboucher e583221415 feat(call): join MatrixRTC and distribute media keys 2026-08-02 22:27:20 +02:00
Erwan Leboucher cb71537349 feat(call): discover LiveKit transports and subscribe the call room 2026-08-02 22:27:20 +02:00
Erwan Leboucher 6442510033 chore(call): vendor the native call plugin and its iOS frameworks 2026-08-02 22:27:20 +02:00
Erwan Leboucher 3e3ae9a59f fix(members): refill the member roster when sliding sync only lazy-loaded it 2026-08-02 22:27:20 +02:00
sable-actions[bot] 168d15fd4b chore: update altstore-source-nightly.json for nightly [skip ci] 2026-08-02 17:56:39 +00:00
Erwan Leboucher 51b36688fa fix(user-profile): respect 24-hour clock setting for local time (#1579)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Fixes an inconsistency where a user profile's local time did not respect
the "24-Hour Time Format" setting. This was just a small annoyance I
noticed, therefore there is no corresponding issue.

#### 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~~ Does not apply
- [ ] ~~I have made corresponding changes to the documentation~~ Does
not apply
- [x] My changes generate no new warnings

### AI disclosure:

No artificial intelligence tools have been used while making this patch.

- [ ] 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-02 17:46:36 +00:00
Bart Oostveen 5b604a0b8a fix(user-profile): respect 24-hour clock setting for local time 2026-08-02 08:56:42 +02:00
sable-actions[bot] f3f71642aa chore: update altstore-source-nightly.json for nightly [skip ci] 2026-08-01 15:04:03 +00:00
Erwan Leboucher 1f8136184b fix(timeline): render events that are still encrypted and refresh on decryption (#1555)
### Description

messages in encrypted rooms didn't appear until you scrolled or
refocused.

getType() returns m.room.encrypted until decryption finishes, but the
render filter listed 'm.room.message.encrypted', which isn't a real
type. b1ac4a6fd turned that filter into a hard drop, so undecrypted
events got no row, and nothing re-ran the filter once they decrypted.

also fixes messages that fail to decrypt showing nothing instead of the
placeholder.

based on refactor/matrix-event-type-constants, which kept the bogus
string as ROOM_MESSAGE_DECRYPTED. nothing sets that type, so it's
removed.

Fixes #1553
Fixes #1508

#### 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
- [ ] 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-01 14:51:47 +00:00
Erwan Leboucher 606daa5ed8 fix(timeline): clear stale jump to latest state 2026-08-01 16:42:22 +02:00
Erwan Leboucher 64ee350ed8 fix(timeline): render events that are still encrypted and refresh on decryption 2026-08-01 16:42:21 +02:00
sable-actions[bot] 2cf314705f chore: update altstore-source-nightly.json for nightly [skip ci] 2026-08-01 14:35:39 +00:00
Erwan Leboucher 00b998aa35 refactor: replace hardcoded Matrix event type strings with SDK constants (#1552)
<!-- 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
- [ ] 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-01 14:24:26 +00:00
Erwan Leboucher 6d61d9b77c refactor: replace hardcoded Matrix event type strings with SDK constants 2026-08-01 16:20:36 +02:00
sable-actions[bot] fd5c07b641 chore: update altstore-source-nightly.json for nightly [skip ci] 2026-07-31 20:47:59 +00:00
7w1 17b480c1f1 fix(media): cap concurrent media fetches so they cannot stall the Mat… (#1543)
<!-- 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-31 20:33:18 +00:00
7w1 08e0618e52 timeline bug fixes plus tests, and one sliding sync fix for #1324 (#1540)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

sliding sync: subscription loading was only cleared when a RoomData
envelope arrived. quiet rooms never send one, so the timeline stayed
behind the spinner. it now clears after a full sync cycle.

timeline:

- row memo ignored permissions, so power level changes left stale
redact/react/pin buttons
- merged rows share itemIndex -1, so jumping to an edit highlighted all
of them
- new messages divider was dropped when the read marker sat on a
filtered event
- reading on another device left the green line and unread chips behind
- failed backfill on an empty room showed placeholders with the retry
unreachable

Fixes #1324

#### 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
- [ ] 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-31 20:33:17 +00:00
7w1 99200b0f03 fix(sliding-sync): keep an accepted invite joined when the server replays stale invite state (#1537)
### Description

repair the m.room.member event alongside selfMembership so a replayed
invite cannot revert an accepted join, and clear the invite the sidebar
cache persisted

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-31 20:33:17 +00:00
7w1 9beded4fcc fix(sliding-sync): refresh stale room member display names when global profile differs (#1530)
<!-- 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 #1520

#### 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-31 20:33:16 +00: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
Erwan Leboucher 821f7822eb fix(sync): settle room subscription loading when the server sends no room data 2026-07-31 15:27:08 -05:00
Erwan Leboucher 3836bfe9d0 fix(sliding-sync): keep an accepted invite joined when the server replays stale invite state 2026-07-31 15:27:08 -05:00
Erwan Leboucher 16b225f111 fix(timeline): surface a retry when the first backfill fails on an empty room 2026-07-31 15:27:08 -05:00
Erwan Leboucher fd1d03ec00 fix(timeline): clear the unread marker when the room is read on another device 2026-07-31 15:27:08 -05:00
Erwan Leboucher 91da38b283 fix(timeline): ignore the merged-row sentinel when highlighting a focus jump 2026-07-31 15:27:08 -05:00
Erwan Leboucher 7e1424775b fix(timeline): re-render message rows when permissions or display settings change 2026-07-31 15:27:08 -05:00
Erwan Leboucher 366adaa10e fix(timeline): keep the new-messages divider when its anchor is a filtered event 2026-07-31 15:27:08 -05:00
Erwan Leboucher 5d5f35186a test(timeline): fuzz the append-only fast path against a full reprocess 2026-07-31 15:27:08 -05:00
Erwan Leboucher c701dcb1cb test(timeline): cover pagination, live arrival and permalink jumps in useTimelineSync 2026-07-31 15:27:08 -05:00
Erwan Leboucher 768f83756d chore(deps): add @faker-js/faker as a dev dependency 2026-07-31 15:27:08 -05:00
Erwan Leboucher eee1198700 fix(sliding-sync): refresh stale room member display names when global profile differs 2026-07-31 15:27:07 -05:00
sable-actions[bot] 5fa6ba6c4d chore: update altstore-source-nightly.json for nightly [skip ci] 2026-07-31 20:14:42 +00:00
7w1 bdb4a9d48c fix(cef): don't default deny location permission on cef (#1546)
<!-- 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. -->

Location permissions were default denied.
Make sable prompt for location permissions on CEF.

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
- [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-31 20:02:55 +00:00
sable-actions[bot] c160f50b47 chore: update altstore-source-nightly.json for nightly [skip ci] 2026-07-31 17:02:41 +00:00
lunar-seal f5cc97d014 fix: ask user for location permission on cef 2026-07-31 19:02:25 +02:00
7w1 a3f324ebc2 fix: keep calls alive in background on iOS and Android (#1541)
<!-- 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
- [ ] 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 16:48:09 +00:00
Erwan Leboucher 377cbf4ce7 fix: keep calls alive in background on iOS and Android 2026-07-31 13:30:42 +02:00
sable-actions[bot] 25434c2874 chore: update altstore-source-nightly.json for nightly [skip ci] 2026-07-31 09:51:00 +00:00
Erwan Leboucher a88774db69 fix: register enable-pk-latching focusId in settings link map (#1532)
<!-- 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-31 09:41:00 +00:00
Erwan Leboucher 69cddfc3f6 fix: register enable-pk-latching focusId in settings link map 2026-07-31 11:31:19 +02:00
sable-actions[bot] f70e8871a9 chore: update altstore-source-nightly.json for nightly [skip ci] 2026-07-31 08:32:07 +00:00
Shea e05298762e Add persona latching when using shorthands (#1435)
<!-- 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 'latching', a PluralKit feature where if a shorthand is used it
will set the proxy to be used for subsequent messages. This is a setting
that is off by default.

Part of #1279

#### 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-07-31 08:19:45 +00:00
Shea c3831c4650 Add PMP name colors (#1462)
<!-- 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 name colors to PMPs. This is **not** using extended profiles, just
adding an unstable key onto the Beeper format.

```json
"com.beeper.per_message_profile": {
  <snip>
  "eu.she-a.colors": {
    "on_dark": "#ff81e7",
    "on_light": "#da02b2"
  }
},
```

Relevant settings have been added in the Persona submenus, and an option
to disable Persona name colors has also been added. (Though this will
only disable them in messages, not in a user's own persona settings or
persona picker.)

Also (by necessity) makes `NameColorEditor` more user-friendly and adds
an `onChange` optional callback.

Part of #1279

#### 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-07-31 08:18:54 +00:00
sable-actions[bot] df2056161e chore: update altstore-source-nightly.json for nightly [skip ci] 2026-07-31 07:48:54 +00:00
Shea 79fbfa89c3 fix(call): re-evaluate injected CSS when remote theme styles load (#1528)
<!-- 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-31 07:35:22 +00:00
sable-actions[bot] b0d5df0da6 chore: update altstore-source-nightly.json for nightly [skip ci] 2026-07-31 07:27:52 +00:00