<!-- 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 some member info not being fetched when someone only appears in
read receipts or replies and should fix user heros not displaying the
avatars (should render cached one before updated full res one?) and
should reliably fetch info on demand when a user is clicked on.
#### 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. -->
<!-- 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 the timeline not reliably following new messages when pinned to the
bottom, and stop the browser's scroll anchoring from fighting the
virtualized message list.
#### 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. -->
> **Preview the next release on [dev.sable.moe](https://dev.sable.moe)**
> [!IMPORTANT]
> Merging this PR will create a new release.
## Security
* This release includes an important security fix. Please update as soon
as possible. Sensitive Matrix account data is not exposed by this issue.
([#1107](<https://github.com/SableClient/Sable/pull/1107>) by @7w1)
## Features
* Add Native OIDC (OAuth 2.0) login so you can sign in to and register
on homeservers that use delegated authentication, such as continuwuity
and Synapse with the Matrix Authentication Service. Sessions stay signed
in through automatic token refresh, and signing out revokes the tokens
on the server.
([#1071](<https://github.com/SableClient/Sable/pull/1071>) by
@eleboucher)
* Show the unread mention count in the page title.
([#1093](<https://github.com/SableClient/Sable/pull/1093>) by
@eleboucher)
### Improve sliding sync.
([#1069](<https://github.com/SableClient/Sable/pull/1069>) by @7w1,
@eleboucher)
- Make sliding sync easier to enable during login or loading and from
settings.
- Move the sliding sync toggle from Experimental to the bottom of
General settings.
- Start faster and restore rooms and spaces sooner.
- Reduce unnecessary background room data.
- Improve room details, memberships, presence, and unread indicators.
- Make startup loading smoother for both sliding and classic sync.
- It's fast now :3
## Fixes
* Use attachment filenames instead of captions when downloading files
and harden unsafe download names.
([#1086](<https://github.com/SableClient/Sable/pull/1086>) by @7w1)
* Allow users to send messages in encrypted rooms when they have
permission to send `m.room.encrypted` events.
([#1098](<https://github.com/SableClient/Sable/pull/1098>) by @7w1)
* Allow users without a locally configured LiveKit focus to join calls
started by others.
([#1099](<https://github.com/SableClient/Sable/pull/1099>) by @7w1)
* Fix the new messages divider not appearing when the read receipt
points at an event hidden from the timeline (reaction, edit, thread
reply). ([#1101](<https://github.com/SableClient/Sable/pull/1101>) by
@eleboucher)
* Fix the new messages divider staying at the room-open position instead
of re-anchoring at the last read when the window loses focus.
([#1095](<https://github.com/SableClient/Sable/pull/1095>) by
@eleboucher)
* Fix redacted messages rendering as "Unsupported message (no body)"
instead of "Message deleted" with sliding sync.
([#1089](<https://github.com/SableClient/Sable/pull/1089>) by
@eleboucher)
* Display redacted state events (membership, room name/topic/avatar,
pins and other state events) as a "deleted" tombstone in the timeline
instead of rendering them with empty/redacted content or hiding them, so
the reply-to of a redaction highlights the redacted event.
([#1090](<https://github.com/SableClient/Sable/pull/1090>) by
@eleboucher)
* Fix joining spaces with sliding sync enabled.
([#1085](<https://github.com/SableClient/Sable/pull/1085>) by
@eleboucher)
* Display the explicit room name for non-direct channels with two
members. ([#1098](<https://github.com/SableClient/Sable/pull/1098>) by
@7w1)
* Fix resetting animal identity
([#1070](<https://github.com/SableClient/Sable/pull/1070>) by @nushea)
* Fix the sliding-sync presence fallback consuming one-time-key updates
and to-device messages without processing them.
([#1078](<https://github.com/SableClient/Sable/pull/1078>) by @7w1)
* Fix clickable handles
([#1068](<https://github.com/SableClient/Sable/pull/1068>) by @nushea)
* Hide the "Register" link on the login page when the homeserver has
registration disabled and offers no SSO to register through, so you are
no longer sent to a dead-end registration page.
([#1073](<https://github.com/SableClient/Sable/pull/1073>) by
@eleboucher)
* Add uploaded Sable CSS theme loading, automatic catalog updates, and a
cleaner theme browser with full CSS viewing.
([#1087](<https://github.com/SableClient/Sable/pull/1087>) by @7w1)
* Show room members in developer tools.
([#1088](<https://github.com/SableClient/Sable/pull/1088>) by @7w1)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->
### Description
<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->
Fixes #
#### Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update
### Checklist:
- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
### AI disclosure:
- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
<!-- 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. -->
<!-- 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. -->
Allows users without livekit backends setup to join existing calls again
#### 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. -->
<!-- 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#1097Fixes#1092
#### 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. -->
<!-- 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. -->
- Moved sliding sync into a shared "Data Sync" general section with the
settings sync
- Added a sliding sync toggle to the login screen, added a "swap to
sliding/classic sync" clickable message to the loading screen.
- Removed all the instance host options for sliding sync for an instance
(afaik, it's usable ootb on Synapse, c10y, and tuwunel, so no reason to
force it to be disabled). **Sliding sync is still disabled by default**,
it's just more accessible now and should allow larger accounts to
actually log in instead of using work arounds to log in so they can
toggle the setting.
- UI shell is rendered prior to full sdk init, technically means things
load ever so slightly faster, but also feels faster since it's less
loading screen and more UI shell. Also applies to standard sync.
- Removed fallback loading screens from config and spec version checkers
to prevent brief flickers of their messages and added the background
grid to the base index.html to remove the flicker of white prior to any
other files loading in.
- Made the initial config fetch & versions check async, probably only
saving a few milliseconds but easy enough. Applies to standard sync as
well.
- Made crypto start up concurrent instead of linear
- Adjusted the initial sliding sync to be more minimal, aiming for only
what's necessary to render a space/room.
- I *think* I've fixed all mentioned bugs that are sliding sync specific
that I can isolate in #39
- cached rooms and spaces in sidebar that get updated as syncs complete
so the ui is usable prior to syncing all data on refreshes
Fixes#1091
#### Type of change
- [x] 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:
- [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. -->
AI did the tests, and also reviewed my code because some of this stuff
is confusing. anyway. it works. i think.
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->
### Description
Follow-up to #1095. The divider re-anchoring worked, but in busy rooms
the divider often didn't show up at all after tabbing back in.
Now the divider position is tracked across every iterated event, before
the render filters run, so a receipt on a filtered event still places
the divider on the next rendered message. Regression tests cover each
filtered anchor type; they fail on `dev` and pass here.
<!-- 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. -->
### Description
Open db should be closed so they don't leaks
<!-- 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. -->
<!-- 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#774
Adds pages for tweaks/themes browsing
Adds some simple catalog auto updating based on hashes
Adds the ability to load themes from uploaded `.sable.css` files in
rooms
#### 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:
- [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. -->
Tests were AI generated
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->
### Description
The "New Messages" divider was anchored to the read position captured
when the room was first opened (unreadInfo is computed once on mount and
never refreshed while the room stays open). So if you kept a room open,
tabbed away, and messages streamed in, the timeline auto-scrolled but
the divider stayed stuck at the open-time position instead of marking
where you actually left off.
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. -->
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->
### Description
When a state event (room name, topic, avatar, membership, pins, etc.) is
redacted, Sable either:
- renders it with empty/garbage content (e.g. "changed room name" with
no name), or
- hides it entirely (the fallback handler returns null on empty content)
Fixes#988
#### 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. -->
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->
### Description
Adds an unread indicator to the browser tab <title> so a backgrounded
Sable window shows new-message state at a glance. A new PageTitleUpdater
component watches the unread atom and sets document.title to (N) Sable
Client when there are unread mentions, reverting to Sable Client when
there are none.
<img width="171" height="34" alt="image"
src="https://github.com/user-attachments/assets/f9ab0428-8de6-4254-820d-2462a130a47c"
/>
Fixes#1082
#### 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. -->