Commit Graph
5072 Commits
Author SHA1 Message Date
7w1 b68bc73e80 fix unreads
seems to require a timeline item sadly
2026-07-15 17:41:29 -05:00
7w1 071b29bff7 adjust sliding sync toggle style and login with sso compatibility 2026-07-15 17:10:28 -05:00
7w1 539125cb14 fix presence sync and member list subscription 2026-07-15 16:48:44 -05:00
7w1 1300e3ac1c stabilize sliding sync room state and membership updates 2026-07-15 16:11:27 -05:00
7w1 487955465e Merge branch 'dev' into sliding-sync-stablization
# Conflicts:
#	src/app/pages/auth/login/loginUtil.ts
#	src/app/pages/client/BackgroundNotifications.tsx
#	src/app/pages/client/space/SpaceProvider.tsx
#	src/client/initMatrix.ts
2026-07-15 14:59:29 -05:00
7w1 6f73b46c0e fix: allow joining spaces with sliding sync enabled (#1085)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

With sliding sync enabled, joining a space was impossible. The root
cause was a navigation dead-end: when a room's m.room.create event
wasn't yet in the client store (common with sliding sync's delivery
model), isSpaceRoom() returned false, causing spaces to be misrouted.

<!-- 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
- [ ] 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-15 19:42:06 +00:00
Erwan Leboucher fae12afe10 fix: allow joining spaces with sliding sync enabled 2026-07-15 21:40:22 +02:00
7w1 98ecbaebce show room members in dev tools (#1088)
<!-- 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. -->

removing a cinnyism

#### 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-15 14:35:42 -05:00
7w1 d098e77130 show room members in dev tools 2026-07-15 14:33:08 -05:00
7w1 4b9b937bc4 Fix presence fallback ignoring key updates (#1078)
<!-- 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. -->

I think the fallback presence sync for sliding sync was consuming crypto
related data and discarding it, which could result in it being lost if
it was sent through that path, now it should be properly forwarded and
the fallback is properly disabled entirely for classic sync.

Fixes #1075 

#### 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-15 13:01:16 -05:00
7w1 392e455c05 Lower amount of unauthentificated media requests (#1080)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

very bodgy fix for a very specific firefox issue but it works well
enough.

does not have a changeset just because it is a very niche thing that
still needs a lot more love and should realistically require rewriting
how media is fetched entirely to move away from a sw

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-15 16:07:00 +00:00
7w1 9bdba8f956 Add Native OIDC (OAuth 2.0) login (#1071)
### Description

Adds Native OIDC (Matrix OAuth 2.0 API) login and registration so Sable
works with homeservers that use delegated auth including those that run
OAuth-exclusive and disable the legacy /login endpoints.

Fixes #1066

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

<!-- fmt:check, lint, typecheck, knip and test:run all pass locally. -->

### 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).

Code completion and 2nd code review
2026-07-15 16:05:47 +00:00
Shea 1642277993 bodge to try to lower the ammount of unauthentificated media requests
Signed-off-by: Shea <[email protected]>
2026-07-15 10:39:53 +03:00
7w1 3b3a0121ac fix presence fallback ignoring key updates 2026-07-14 18:26:07 -05:00
7w1 a463709928 cache space and room layout 2026-07-14 17:38:36 -05:00
7w1 c3975cdbb2 load initial room with first sync and bump poll time 2026-07-14 16:32:57 -05:00
7w1 0f8ce00b6b loader for rooms 2026-07-14 16:05:06 -05:00
7w1 9fbd2e5c6c some clean up 2026-07-14 15:52:30 -05:00
Erwan Leboucher a4cdd156c9 Add Native OIDC (OAuth 2.0) login 2026-07-14 22:14:45 +02:00
7w1 25a3c21de1 Merge branch 'dev' into sliding-sync-stablization 2026-07-14 12:32:28 -05:00
7w1 b64cb8b333 fix sync when open room, and clean up sync sizes and data, other stuff i forgot 2026-07-13 23:30:05 -05:00
7w1 04a0649cdb remove full cleanup from every start 2026-07-13 14:42:40 -05:00
7w1 5f5e0a8a12 delay presence until first sync 2026-07-13 14:09:11 -05:00
7w1 e4f194bed4 Hide register link when registration is disabled (#1073)
### Description

When a homeserver has registration disabled, the Login page still showed
a "Do not have an account? Register" prompt that led to a dead-end
Register page (which only renders "Registration has been disabled on
this homeserver."). This hides that prompt when registration is
genuinely unavailable, the server reports registration disabled (403
`M_FORBIDDEN`) and offers no SSO flow to register through. Password and
SSO login are unaffected, and the Register page keeps its message as a
fallback for direct navigation.

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

<!-- fmt:check, lint, typecheck, knip and test:run all pass locally. -->

### 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).

code completion and 2nd review
2026-07-13 19:07:10 +00:00
7w1 6be3d0a986 gate ui behind first usable sync response 2026-07-13 13:49:50 -05:00
7w1 3713694575 fetch image packs when needed 2026-07-13 13:25:34 -05:00
Erwan Leboucher 3e4acb7985 Add changeset 2026-07-13 20:08:47 +02:00
7w1 2e6a6ace8e Fix more Visual things (#1068)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Fix clicking handles, the coloring of heros, and ghost reaction things,
though through a massive hack :>

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

Fixes #1067

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

Written w the assistance of rewatching old tom scott videos
2026-07-13 18:06:05 +00:00
7w1 836a688c19 Fix animal identity resetting (#1070)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Fixes the animal identity, and adds more whimsy to the client, dont read
the pr if you dont wanna get spoiled on a probably not significant
change

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

Fixes #1040

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

- [ ] 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. -->
Written in order to sablize the client
2026-07-13 18:05:02 +00:00
7w1 9b2fa13ac1 add join rules to request data 2026-07-13 13:00:07 -05:00
Erwan Leboucher 9e80f56eae Hide register link when registration is disabled 2026-07-13 19:55:20 +02:00
7w1 67cb91546f remove the rest of sliding sync config 2026-07-13 12:25:46 -05:00
7w1 5855969295 remove maxRooms and reduce initial sync 2026-07-13 11:38:43 -05:00
7w1 82b1feee3c concurrent crypto and sync store start up 2026-07-13 11:03:42 -05:00
Shea f1cd82342d fix ghost reactions through an objective hack but the sdk is the sdk
Signed-off-by: Shea <[email protected]>
2026-07-13 07:37:07 +03:00
7w1 62fc8b776b make config and version fetches async 2026-07-12 21:57:40 -05:00
Shea 76d50188c9 fix animal identity resetting
Signed-off-by: Shea <[email protected]>
2026-07-13 05:21:06 +03:00
7w1 ee7a745100 remove fallback loading screen stages to prevent flicker 2026-07-12 21:04:41 -05:00
7w1 6bc3186fda render UI sooner 2026-07-12 20:39:25 -05:00
7w1 4e11c125eb move SSS to general, add toggle on login and load, remove config option 2026-07-12 17:02:00 -05:00
Shea b2d196447f fix unclickable handles and hard to see handles
Signed-off-by: Shea <[email protected]>
2026-07-12 22:39:08 +03:00
7w1 d8938a625d chore: prepare release 1.19.4 (#1058)
> [!IMPORTANT]
> Merging this PR will create a new release.

## Fixes

* Fix some image embeds not creating embeds.
([#1062](<https://github.com/SableClient/Sable/pull/1062>) by @7w1)
* Allow rooms with empty local parts to be viewed.
([#1062](<https://github.com/SableClient/Sable/pull/1062>) by @7w1)
* Fix the account button showing you 0 sessions active and the verify
this device showing when you have zero devices to verify
([#1064](<https://github.com/SableClient/Sable/pull/1064>) by @nushea)
* Various performance optimizations
([#1062](<https://github.com/SableClient/Sable/pull/1062>) by @7w1)
* Fixed the entire timeline being rerendered every time you scroll :P
([#1055](<https://github.com/SableClient/Sable/pull/1055>) by @7w1)

## Notes

* Added a new workflow that automatically previews dev on
[dev.sable.moe](https://dev.sable.moe)
([#1059](<https://github.com/SableClient/Sable/pull/1059>) by @7w1)
v1.19.4
2026-07-12 16:28:50 +00:00
github-actions[bot] aaa6f95aa9 chore: prepare release 1.19.4 2026-07-12 15:14:03 +00:00
7w1 4cf2800e0f Fix unverified counter (#1064)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Fix Unverified counter for the account sessions.

It also Fixes one visual error

And lastly it disables the sliding sync by default maybe, it can be
reverted on that but, even though the feature seems to be working very
well, it is not something that someone would have a reason to care to
use unless they are really pressed for resources and is otherwise not
useful seeing the occasional extra bug

<!-- Please include a summary of the change. Please also include
relevant motivation and context. List any dependencies that are required
for this change. -->

Fixes #1052

#### Type of change

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

### Checklist:

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

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
Written w the assistance of some brined mozzarella
2026-07-12 15:11:24 +00:00
Shea 3fcc84ac4c Merge branch 'dev' into fix/minor-fixes
Merge
2026-07-12 16:37:10 +03:00
Shea 68ad480d7f maybe more stringent rules maybe
Signed-off-by: Shea <[email protected]>
2026-07-12 16:35:52 +03:00
7w1 53cc8593af Fix settings updates not updating timeline (#1063)
<!-- 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. -->

Setting changes didn't immediately update the timeline (e.g. toggling
dev mode not showing view source on messages) due to the optimizations

#### 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-11 23:27:59 -05:00
7w1 6d1fd022b3 ensure more things trigger rerenders 2026-07-11 23:25:06 -05:00
7w1 efb7a68dbd Fix settings updates not updating timeline 2026-07-11 20:27:08 -05:00
7w1 93ada7e839 Further timeline performance improvements (#1062)
<!-- 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. -->

Smarter memoization of timeline events to prevent complete rerenders
when new messages come in/reactions/etc
Avoids creating multiple dom purify instances
Allows rooms without local parts to be viewed, e.g. #:maunium.net
Removed a legacy direct media render path for bigger images that's no
longer used, and was inadvertently filtering out many urls

#### 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-11 19:18:32 -05:00