Commit Graph
6214 Commits
Author SHA1 Message Date
Erwan Leboucher 4a735be2ba Impl MSC4461: Storing per-message profiles for users (#1589)
<!-- 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. -->

Migrates PMP account data to the format described in
[MSC4461](https://github.com/matrix-org/matrix-spec-proposals/pull/4461).
Extensions to the format are defined in my informal
[MSCF002](https://github.com/j0lol/matrix-spec-proposals/blob/mscf/proposals/F0002-PK-proxy-tags.md).
(Though ambiguity behavior defined in this spec have not been
implemented just yet.)

Part of #1279

#### Type of change
breaking change on an experimental feature, with migrations

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

### Checklist:

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

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-08-03 19:46:44 +00:00
sable-actions[bot] 900d810c54 chore: update altstore-source-nightly.json for nightly [skip ci] 2026-08-03 19:46:11 +00:00
Erwan Leboucher 67bb047e4b Fix jumbo emoji on pmp messages (#1602)
<!-- 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. -->
Fix jumbo emoji on pmp messages.

Part of #1279

#### 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
- [x] Does not add a changeset??

### 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-03 19:33:07 +00:00
Josie f9f7a468e6 Fix jumbo emoji on pmp messages 2026-08-03 20:30:36 +01:00
sable-actions[bot] 24748e576e chore: update altstore-source-nightly.json for nightly [skip ci] 2026-08-03 18:53:27 +00:00
Erwan Leboucher 37e756c296 Escape blockquote data-md=">" because that's good practice (#1600)
<!-- 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. -->
It's a one-line bug fix

#### Type of change

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

### Checklist:

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

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-08-03 18:41:50 +00:00
Josie 5ad4276bf0 Escape blockquote data-md=">" because that's good practice 2026-08-03 19:28:29 +01:00
sable-actions[bot] f3ae3873e2 chore: update altstore-source-nightly.json for nightly [skip ci] 2026-08-03 18:24:25 +00:00
Erwan Leboucher 3808c39083 fix: drop cef resize workaround (#1599)
<!-- 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 #

Fix CEF hanging on resize

#### Type of change

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

### Checklist:

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

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-08-03 18:10:41 +00:00
lunar-seal 19d101df5e fix: drop cef resize workaround 2026-08-03 19:20:28 +02:00
Josie afe64da018 msc4461 delete old records 2026-08-03 18:03:48 +01:00
Daisy b50b10f696 Impl MSC4461: Storing per-message profiles for users 2026-08-03 17:38:05 +01:00
Erwan Leboucher 606b72bcbe Allow changing/editing PMP on messages (#1586)
<!-- 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 an option on messages to change the PMP

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-08-03 15:54:23 +00:00
Josie bf287072e2 Allow changing/editing PMP on messages 2026-08-03 16:34:20 +01:00
sable-actions[bot] 609121cd99 chore: update altstore-source-nightly.json for nightly [skip ci] 2026-08-03 11:40:27 +00:00
Erwan Leboucher 029f8444cd Increase Node max-old-space-size to stop build crash (#1593)
<!-- 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. -->

Basic fix to stop builds crashing when running `mise build`.

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

it's a one line change in a toml file

- [ ] 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-03 11:27:51 +00:00
Josie 05085375f0 Increase Node max-old-space-size to stop build crash 2026-08-03 12:22:38 +01: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