Commit Graph
4430 Commits
Author SHA1 Message Date
Erwan Leboucher d807f2214b fix lint 2026-09-20 21:11:59 +02:00
Erwan Leboucher 6f051de835 fix(unread): render a dot instead of a placeholder count of 1 2026-09-20 20:33:09 +02:00
Erwan Leboucher cb0a01b293 fix(unread): keep the read marker when a room opens before it hydrates 2026-09-20 20:33:08 +02:00
Erwan Leboucher d5a9da4eed fix(cosmetics): scroll the saved theme/tweak lists instead of clamping the grid 2026-09-20 19:58:53 +02:00
Erwan Leboucher 57975b7ab2 feat(android): add a Firebase-free build for F-Droid and IzzyOnDroid 2026-09-19 20:25:31 +02:00
Erwan Leboucher b3c4b21cf8 fix(crypto): stop device verification from silently reverting 2026-09-18 21:42:42 +02:00
7w1 afe5c8823f fix: cap update banner description length 2026-09-17 21:17:36 -05:00
Erwan Leboucher 4cd44173a6 Add support for description lists (<dl>, <dt> and <dd>) (#2098)
<!-- 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. -->

This PR adds support for `<dl>`, `<dt>`, and `<dd>` HTML tags in
messages.

<img width="417" height="208" alt="Rendered message containing a
description list."
src="https://github.com/user-attachments/assets/da6cfeb9-00a3-44ac-989d-37014f640fb7"
/>

As with the tables PR, this PR does not add support for editing the
description list.

> [!Warning]
> 
> The Matrix spec seems to recommend not supporting description lists:
https://spec.matrix.org/v1.19/client-server-api/#mroommessage-msgtypes
>
> I don't see any risk or harm in implementing them anyway, as they have
no way of being a vector for cyberattacks. (Should a MSC be submitted to
add them?)

Fixes #2050.

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

### AI disclosure:

- [x] Created without the usage of AI
- [ ] 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.
You MUST explain what modifications you have made in order to ensure
that the result is compatible with THE LICENSE
By deleting this section or comment, in code or in body, the PR should
be rejected and closed.
-->
2026-09-17 22:17:11 +02:00
Erwan Leboucher bf392a6566 fix(auth): allow connecting to plaintext http homeservers 2026-09-16 09:24:17 +02:00
Steffo cd74b4a1b9 oxfmt pass
Signed-off-by: Stefano Pigozzi <[email protected]>
2026-09-14 07:55:49 +02:00
Steffo ef543d8e05 Style <dl>, <dt>, and <dd> elements
Signed-off-by: Stefano Pigozzi <[email protected]>
2026-09-14 07:55:48 +02:00
Steffo b1e95032f6 Add <dl>, <dt>, and <dd> to the allowed elements
Signed-off-by: Stefano Pigozzi <[email protected]>
2026-09-14 07:55:48 +02:00
Erwan Leboucher 635705d821 fix(location): unblock openstreetmap tiles and add native location on mobile (#2095)
… mobile
<!-- 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:

- [ ] Created without the usage of AI
- [ ] 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.
You MUST explain what modifications you have made in order to ensure
that the result is compatible with THE LICENSE
By deleting this section or comment, in code or in body, the PR should
be rejected and closed.
-->
2026-09-13 22:19:46 +02:00
Erwan Leboucher 21b33c5eaf fix(location): unblock openstreetmap tiles and add native location on mobile 2026-09-13 21:38:09 +02:00
Erwan Leboucher 931d5133d7 fix(notifications): keep encrypted push previews decryptable for the full retry window 2026-09-13 14:26:49 +02:00
Erwan Leboucher fa8c412890 fix(crypto): stop unsynced account data from resetting cross-signing
Fixes SABLE-1R6

Fixes SABLE-17K
2026-09-12 23:45:43 +02:00
Erwan Leboucher f9558894ba fix(timeline): scroll correctly at the bottom when sending message
fix(timeline): scroll correctly at the bottom when sending message
2026-09-12 17:28:33 +02:00
Erwan Leboucher 26a74caf11 fix: typo in password prompt (#2088)
### Description

Adds one missing letter to the password prompt message.

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

- [x] Created without the usage of AI
- [ ] 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.
You MUST explain what modifications you have made in order to ensure
that the result is compatible with THE LICENSE
By deleting this section or comment, in code or in body, the PR should
be rejected and closed.
-->
2026-09-11 12:53:49 +00:00
Erwan Leboucher fa608f806a fix(timeline): guard per-message-profile emote stripping against missing bodies
Fixes SABLE-1T0
2026-09-11 12:09:03 +02:00
keeri 0db8c0aa02 fix: typo in password prompt
Signed-off-by: keerifox <[email protected]>
2026-09-11 06:09:15 +00:00
Erwan Leboucher ca4b3d812e fix(ci): register the battery optimization focus id and drop an orphaned crypto helper 2026-09-10 23:09:23 +02:00
Erwan Leboucher 1c114c7aab fix(crypto): settle emoji verification on the verifier promise 2026-09-10 23:01:48 +02:00
Erwan Leboucher e7620ec419 feat(notifications): prompt for a battery exemption on the built-in distributor 2026-09-10 22:33:05 +02:00
Erwan Leboucher 091cbff3ea chore(notifications): report unified push transport failures 2026-09-10 16:51:23 +02:00
Erwan Leboucher a9c5d810bb fix(media): decode padded base64 in encrypted attachment info 2026-09-10 16:24:17 +02:00
Erwan Leboucher 44f4278427 fix(crypto): recover from a crypto store left behind by another device 2026-09-10 14:28:04 +02:00
Erwan Leboucher 37c0b9920f fix: preserve crypto stores and update Matrix SDK
Signed-off-by: Erwan Leboucher <[email protected]>
2026-09-10 09:23:42 +02:00
Erwan Leboucher 656e1a8523 fix: restore Matrix SDK crypto
Signed-off-by: Erwan Leboucher <[email protected]>
2026-09-09 17:55:58 +02:00
Erwan Leboucher 2db28e329b fix(crypto): prepare room keys safely before sending
Signed-off-by: Erwan Leboucher <[email protected]>
2026-09-08 23:53:11 +02:00
Erwan Leboucher 02a0bee756 Fix first encrypted message delay and key query ordering 2026-09-08 20:06:50 +02:00
Erwan Leboucher 4dd969e9d9 fix: repair push registration and failure diagnostics 2026-09-08 19:51:35 +02:00
Erwan Leboucher ca76e0f993 fix(call): grant the widget MSC4407 sticky-event capabilities
The embedded call widget publishes its MatrixRTC membership as a sticky
event, which ClientWidgetApi refuses without
org.matrix.msc4407.send.sticky_event. The MembershipManager then shut
down and the call dropped.

Grant the send and receive capabilities and implement sendStickyEvent,
sendDelayedStickyEvent and readStickyEvents on CallWidgetDriver.

Also register an MSC4480 sticky_events extension on sliding sync, since
matrix-js-sdk only reads sticky events out of /sync v2.
2026-09-08 19:49:53 +02:00
Erwan Leboucher 14dce6f2e8 Fix sync cache recovery and push diagnostics 2026-09-08 12:01:24 +02:00
Erwan Leboucher ef074216d6 fix: report native push diagnostics to Sentry logs 2026-09-07 20:05:58 +02:00
Erwan Leboucher b587664d06 fix: preserve room and sender data in push notifications 2026-09-07 00:33:11 +02:00
Erwan Leboucher a339b5ac2f fix: restore built-in push notifications on Android 2026-09-06 23:06:40 +02:00
Erwan Leboucher d11d4df525 fix: prevent metadata failures from signing users out 2026-09-06 17:03:30 +02:00
Erwan Leboucher d747e4f252 fix: handle notification delivery across mobile providers 2026-09-06 16:43:12 +02:00
crypt a2d5260465 chore: add changeset and fix formatting 2026-09-04 18:32:44 -05:00
crypt 73517807e2 fix(desktop): move Global shortcuts section to bottom and clarify wording
The Keyboard Shortcuts page now leads with the in-app sections and
places Global last, with its system-wide explanation as a caption
under the Global heading. Reword the intro to say "App-wide" instead
of "Global" shortcuts, since Global now names a section whose
shortcuts do run while typing.
2026-09-04 15:49:07 -05:00
crypt 50253fa7e8 fix(desktop): reject global shortcuts on Wayland sessions
global-hotkey has no Wayland backend: its X11 grab lives in XWayland
and only sees key presses while an X11 window is focused, so
registration succeeds silently but never fires on Wayland. Refuse the
binding with an explanatory error on Linux when WAYLAND_DISPLAY is
set, and surface the backend error message verbatim in the shortcuts
UI instead of a generic fallback.
2026-09-04 15:25:59 -05:00
crypt 7d663a1d3c feat(desktop): make the toggle-window global shortcut customizable
Surface the global show/hide window shortcut in Settings → Keyboard
Shortcuts under a new Global section (desktop only). The shortcut is
off by default; users can bind any key combination or disable it
entirely. Bindings persist through the new set_toggle_window_shortcut
command and are re-registered at startup. OS-registered shortcuts
collide with bindings in every scope, since the OS intercepts key
presses before the webview sees them.
2026-09-04 15:00:18 -05:00
Erwan Leboucher 3eac9bcb53 fix(composer): stop Gboard recomposing mention and command pills 2026-09-02 15:25:33 +02:00
Erwan Leboucher b98b7cb86f fix(crypto): stop stale verification flows from swallowing new requests 2026-09-02 14:12:42 +02:00
Erwan Leboucher 9688c696c4 fix(crypto): report to-device events the engine could not read 2026-09-02 11:05:27 +02:00
Erwan Leboucher 80ed52c21f fix(console): stop the paste-scam warning firing on every mobile keyboard 2026-09-02 10:52:27 +02:00
Erwan Leboucher 0460b128f3 fix(crypto): recover device verification and quieten resume disconnects 2026-09-02 09:22:56 +02:00
Erwan Leboucher c7c7b3f2dd fix(crypto): show a verification request that arrived before the prompt mounted 2026-09-01 23:04:04 +02:00
Erwan Leboucher 49397486b2 fix(crypto): send verification diagnostics to Sentry instead of the opt-in debug logger 2026-09-01 22:02:37 +02:00
Erwan Leboucher e5865ac83d fix(crypto): recover verification requests the sync path missed and surface failures 2026-09-01 20:33:33 +02:00