Commit Graph
3976 Commits
Author SHA1 Message Date
Erwan Leboucher 2a60778e60 fix(media): revoke decrypted media blob URLs that outlive their component 2026-07-26 16:55:26 +02:00
7w1 11f45e8a84 fix(ios): fall back to native clipboard for empty paste events in composer (#1374)
…

<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description
fix pasting on ios

Fixes #1364

#### Type of change

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

### Checklist:

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

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-07-26 09:25:29 -05:00
lunar-seal 15fff0e6c0 feat: add retry button for homeserver discovery during login 2026-07-26 16:12:34 +02:00
Erwan Leboucher 2cd71b342e fix(ios): fall back to native clipboard for empty paste events in composer 2026-07-26 14:59:49 +02:00
7w1 63b4a686f9 fix(markdown): keep task list markers as text instead of checkbox input (#1354)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description
it's not in the docs but well

#### Type of change

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

### Checklist:

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

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-07-25 23:51:46 -05:00
7w1 2f031b132d Fix some OIDC things (#1365)
<!-- 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. -->

Show all methods instead of just oidc when its present, show oidc first,
then sso, then password in the login page hierarchy.

#### 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-25 21:48:27 -05:00
7w1 05c75a6fe9 fix: mobile settings menu back button 2026-07-25 21:41:08 -05:00
Erwan Leboucher 7e5ba5d758 refactor: adopt getMouseEventCords at the hand-rolled literals 2026-07-25 21:05:33 -05:00
Erwan Leboucher 791fe4451b refactor: migrate sidebar, space and image viewer menus to useMenuAnchor 2026-07-25 21:05:33 -05:00
Erwan Leboucher acd41a671d refactor: extract buildReplacementContent for the composer and editor 2026-07-25 21:05:33 -05:00
Erwan Leboucher 90115b5705 refactor: remove unused exports flagged by fallow 2026-07-25 21:05:33 -05:00
Erwan Leboucher f6876a7cd0 refactor: share one settings shell and add an imperative confirm facade 2026-07-25 21:05:32 -05:00
Erwan Leboucher 03c57506f7 refactor: deduplicate the timeline event renderer 2026-07-25 21:05:32 -05:00
Erwan Leboucher a1403751b6 refactor: split commands per domain and move screen-size styling to css 2026-07-25 21:05:32 -05:00
Erwan Leboucher 1a4ccb657f refactor: share one SequenceCardStyle and one thread reply collector 2026-07-25 21:05:32 -05:00
Erwan Leboucher 78c4c36d24 refactor: share one persisted string-set atom and guard import cycles 2026-07-25 21:05:32 -05:00
Erwan Leboucher 9e651eed26 refactor: drop unused overlay props and route avatars through one helper 2026-07-25 21:05:32 -05:00
7w1 b63d90945a fix tests & restore room type linking 2026-07-25 21:05:32 -05:00
Erwan Leboucher a3f0d510ba fix: keep favourite gifs live instead of snapshotting them into state 2026-07-25 21:05:03 -05:00
Erwan Leboucher 38a0f60ed8 refactor: type the klipy search response instead of disabling any 2026-07-25 21:05:03 -05:00
Erwan Leboucher 95a459722d fix: pass cached profile data and guard failed-send actions in threads 2026-07-25 21:05:03 -05:00
Erwan Leboucher 30a2c0921d fix: apply inline image sizing in threads and collapse setting options 2026-07-25 21:05:03 -05:00
Erwan Leboucher b04c15b6d5 fix: apply nicknames to thread mentions and rewrite room avatar urls 2026-07-25 21:05:03 -05:00
7w1 8a0a0d9819 fix: tests 2026-07-25 19:58:00 -05:00
7w1 46b8018af3 lint 2026-07-25 17:10:13 -05:00
Erwan Leboucher aa20a2fd76 refactor: add useMenuAnchor and restore focus trapping in mobile menus 2026-07-26 00:05:45 +02:00
Erwan Leboucher f8eb8c7834 refactor: fold remaining selectors and extract MessageSearchHeader 2026-07-26 00:05:45 +02:00
Erwan Leboucher 4b974ee7a1 refactor: migrate hand-rolled overlays and split ClientNonUIFeatures 2026-07-26 00:05:45 +02:00
7w1 f05a11db42 fix: adjust login auth page flow 2026-07-25 16:56:57 -05:00
Erwan Leboucher 25368f43eb refactor: share bottom-sheet menus and one SettingMenuSelector 2026-07-25 23:54:18 +02:00
Erwan Leboucher f26d93f102 refactor: give ModalOverlay mobile presentation and android back 2026-07-25 23:54:17 +02:00
Erwan Leboucher 5dc5239893 refactor: collapse route selection hooks and share one sidebar panel 2026-07-25 23:52:44 +02:00
Erwan Leboucher 7a5e6b3387 refactor: merge space settings into room settings 2026-07-25 23:52:44 +02:00
Erwan Leboucher b77640531d refactor: make create, bug report and navigate surfaces shallow routes 2026-07-25 23:52:44 +02:00
Erwan Leboucher 03b922b62b refactor: share one FormPage and FormModal across the create surfaces 2026-07-25 23:52:08 +02:00
Erwan Leboucher 92d801e01c feat: open home and direct tab menus with a long press on touch 2026-07-25 23:52:07 +02:00
Erwan Leboucher 48767e43a7 refactor: share one ModalOverlay across the modal surfaces 2026-07-25 23:52:07 +02:00
7w1 787d1e1aaf fix: ensure correct url for acccount management 2026-07-25 16:32:23 -05:00
7w1 0d5bafd72a fix(notifications): stop in-app sounds leaking into the media layer (#1353)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

fixes sounds going to the media layer on ios or web, so dnd will work

#### Type of change

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

### Checklist:

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

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-07-25 16:13:39 -05:00
7w1 4edda08cac fix: submit the m.oauth stage type when completing OAuth UIA (#1348)
<!-- 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-25 16:00:56 -05:00
7w1 5ab18f20f2 fix(mobile): clip the nav drawer viewport so it cannot scroll out of frame (#1343)
…

<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

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

Fixes #

#### Type of change

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

### Checklist:

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

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-07-25 15:59:27 -05:00
7w1 cf3c68f111 test: restructure e2e around fixtures and page objects, run against a build (#1336)
<!-- 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
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-07-25 15:58:54 -05:00
7w1 ca6dce667a fix(media): request our own video and audio with CORS so Firefox does not block it (#1334)
### Description

Firefox blocks media Range responses whose URL it has not already
sniffed as audio/video (mozilla bug 1880289), which homeservers serving
`application/octet-stream` trip. The element then reports "no video with
supported format and MIME type found" and the request shows as
`NS_BINDING_ABORTED`. Requesting with CORS opts out of ORB.

Only applied to our own media, since external `og:video` URLs from link
previews go through the same component and cannot be assumed to send
`Access-Control-Allow-Origin`.

Verified on firefox

Fixes #

#### Type of change

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

### Checklist:

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

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-07-25 15:57:49 -05:00
7w1 5a66351de7 fix(sticker): send using the pack's image info instead of downloading the sticker (#1332)
### Description

Tapping a sticker did nothing. The send path downloaded and decoded the
sticker purely to compute `info`, with no error handling, so any media
failure meant `sendEvent` was never reached. It now uses the `info` the
pack already declares, only measures the file when a pack omits it, and
sends either way.

Fixes #1323

#### Type of change

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

### Checklist:

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

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-07-25 15:56:03 -05:00
7w1 3785159460 fix: include user image packs 2026-07-25 15:53:05 -05:00
7w1 5f69c01883 perf(crypto): cache cross-signing device verification status (#1305)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

rewrote the device verification to use usequery instead 
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
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-07-25 15:50:09 -05:00
7w1 1e0f12d65f fix: deduplicate device verification queries and share crypto event subscriptions 2026-07-25 15:47:02 -05:00
7w1 b1ac4a6fd5 fix: ensure timeline continues fetching when hidden events are disabled 2026-07-25 14:50:12 -05:00
Erwan Leboucher 3463d74a26 fix(markdown): keep task list markers as text instead of checkbox input 2026-07-25 19:47:31 +02:00
Erwan Leboucher c4cde87e8e fix: play notification sounds via Web Audio so they stay out of the media session 2026-07-25 19:15:03 +02:00