Commit Graph
6704 Commits
Author SHA1 Message Date
7w1 03f6e73acb formatting 2026-05-05 00:21:00 -05:00
7w1 61f2b09def fix bundled urls with pmps 2026-05-05 00:18:40 -05:00
7w1 266a77018c themes settings refresh catalog button and appearance tweaks 2026-05-05 00:16:26 -05:00
github-actions[bot] 3283e285d8 chore: prepare release 1.15.0 2026-05-05 04:42:21 +00:00
7w1 385dfd0d3b Minor fixes (#737)
<!-- 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 #733 - animates apngs
Fixes #734 - adds dmed user to founders

Also fixes a few of the changeset types so they appear in the updates

#### 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-05-04 23:41:43 -05:00
7w1 c10d1bbec0 add other user to founders 2026-05-04 23:28:19 -05:00
7w1 6122161f8a animate apngs and changeset fixes 2026-05-04 23:23:38 -05:00
7w1 fc7aec771c Some potential sync request spam fixes (#736)
<!-- 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. -->

As I haven't really had any issues I'm not 100% sure this fixes anything
at all, but it at least doesn't break anything.

Increase the timeout for background clients to 60s, separates them into
their own store, and makes sliding sync respect the setting instead of
the client setting, and hopefully better management.

Adds a startup timeout of 45s to the main loading screen to prevent
anything from getting stuck behind that which may or may not actually do
anything.

Replaces the sdk's thread root event fetching on initial load to prevent
the useless loading delay and request spam on load. Get's swapped back
once the client loads which then functions normally, only loading thread
events when a room is opened.

Also some random formatting changes that happened in initMatrix.ts when
I saved for some reason?? They're more readable imo so I just left them
in.

Also fixed the 1 lint issue from #730 

Maybe related to #710 

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

Bickered with an AI to diagnose some potential syncing issues but none
of the changes were directly AI written.
2026-05-04 23:13:19 -05:00
7w1 7bff2bd2d3 Themes/Tweaks browser, sharing/import, custom themes/tweaks, and repo (#633)
<!-- 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. -->

Pulls themes and tweaks from https://github.com/SableClient/themes and
allows basic searching and filtering in the themes settings.
Migration modal should work fine, prompts the user to either enable
fetching from github or disable it and be limited to the built-in
light/dark themes.
Theme links that end in *.preview.sable.css from the official repo will
generate embeds, optional setting to allow generating embeds for any
*.preview.sable.css file.
In chat previews are generated with extracted css values and are safe
from injection. Full theme files will load the entire file, and are
vulnerable to injection, hence the official safe repo. Third party
themes sent in chat show a prominent banner making the risks clear.

Todo:
- ~~More clarity in settings menu when github fetching themes are
disabled (right now it just has a browse button that immediately enables
it, no confirmation or explanation)~~ updated labels and added
confirmation
- ~~Improve UI ?~~ consolidated card styling

Maybe worth adding in the future but out of scope for the time being:
- Info icon or some way to link to theme sources.

Mitigates #492 ?
Fixes #71 
Fixes #617 (via tweak in theme repo)

<img width="500" alt="image"
src="https://github.com/user-attachments/assets/3c97eb4c-0c3b-4b68-8ba5-132e1585ad1e"
/>

<img width="500" alt="image"
src="https://github.com/user-attachments/assets/600ce518-aba4-4679-8bf7-ed541587ac9a"
/>

#### Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [x] Breaking change - disables themes, but there's a migration modal
that prompts the user with 1 click to redownload and enable their
existing theme(s).
- [x] 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] 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 was used to write the code for parsing and extracting data from the
raw css files/links and dynamically populate the lists as well as
develop the migration system for current themes. Tests were AI
generated.
All code has (or will be) thoroughly reviewed by me by the time this PR
is ready.
2026-05-04 23:08:37 -05:00
7w1 e6a7746430 Error message for theme favoriting errors 2026-05-04 22:59:16 -05:00
7w1 c87630eb4c add export button and update changeset 2026-05-04 22:49:02 -05:00
7w1 af52a55aaa Improve theme loading disclaimers and chat preview setting options 2026-05-04 22:24:16 -05:00
7w1 e5bc629691 reverse theme source approval logic, empty is none 2026-05-04 21:58:51 -05:00
7w1 a4cd4e8e33 Remove relic of a bygone era 2026-05-04 21:50:11 -05:00
7w1 bc4ca6e2fd Changeset and formatting 2026-05-04 21:35:56 -05:00
7w1 eeab65b121 Consolidate theme cards a little 2026-05-04 21:25:32 -05:00
7w1 8ff6ff68de Improve initial enable flow 2026-05-04 21:04:59 -05:00
7w1 e635e9d28b Remove the no preview tokens in this tweak text 2026-05-04 20:54:02 -05:00
7w1 6ee0b9983a fix linting 2026-05-04 20:51:28 -05:00
7w1 1a6d6f4584 Merge branch 'dev' into feat/theme-edits-v2 2026-05-04 20:42:58 -05:00
7w1 e18d57bdd5 Add background styling to user profile cards (#712)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description
Add user styling to the background of user cards. This follows commet's
background styling for interoperability.

This could use a logarithmic shading but that would imply either adding
a new external library or doing some math that could be too complex for
the purposes of this.

(ideal example)
<img width="347" height="553" alt="image"
src="https://github.com/user-attachments/assets/9d35ec53-e8c0-4cd3-b3a2-f54a848a99f5"
/>

(normal example)
<img width="347" height="397" alt="image"
src="https://github.com/user-attachments/assets/a261e882-9590-4544-9e6c-3a7461dea746"
/>

(anti-ideal example)
<img width="345" height="526" alt="image"
src="https://github.com/user-attachments/assets/13b8f98e-cb6c-4184-8550-c60a9cff73ba"
/>

(normal example)
<img width="346" height="530" alt="image"
src="https://github.com/user-attachments/assets/cce5e703-8b18-4403-9052-f4db070296d7"
/>

(look of the new setting)
<img width="554" height="589" alt="image"
src="https://github.com/user-attachments/assets/d825eae6-ed27-47e4-8f8f-f975c3faa0c4"
/>

(look of it when it is light)
<img width="552" height="587" alt="image"
src="https://github.com/user-attachments/assets/4ea50630-48f4-4ddd-992e-0ddce037ba20"
/>

#### Type of change

- [x] New feature (non-breaking change which adds functionality)

### 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] 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. -->
Made with the weird feeling of not knowing what to do with my life
anymore <3
2026-05-05 01:39:05 +00:00
7w1 7f62d389e8 replace setting with options to only render dark/light profiles 2026-05-04 20:37:28 -05:00
Shea Duma 1345a0b41e ill stop playing around with the minutia 2026-05-05 04:21:50 +03:00
7w1 04c8f40ce6 Update fix_background_sync.md 2026-05-04 20:09:15 -05:00
7w1 e4cf72ed77 bypass sdk thread root spam on initial load 2026-05-04 20:03:44 -05:00
Shea Duma fb988dd20f merged and added setting 2026-05-05 03:34:12 +03:00
7w1 377c6fdcb1 changeset 2026-05-04 18:40:29 -05:00
7w1 663aa4f876 fix lint issue from other pr 2026-05-04 18:38:45 -05:00
7w1 7bbcbb841c fixes to reduce background client syncs + increase poll timeout to 30s
increase the timeout for background clients to 60s, separates them into their own store, and makes sliding sync respect the setting instead of the client setting, and hopefully better management

adds a startup timeout of 45s to the main loading screen to prevent anything from getting stuck behind that which may or may not actually do anything.

so much writing for such little change :(
2026-05-04 18:33:05 -05:00
7w1 3b6fd542fd Add partial MSC4459 support and refactor related code (#730)
### Description

partial implementation of
[MSC4459](https://github.com/matrix-org/matrix-spec-proposals/pull/4459)

Currently only sending the data and not rendering anything

Partially #729

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

No AI used
2026-05-04 21:46:10 +00:00
Shea f44835df01 Make the Read Receipts dialog scrollable again (#631)
### Description

At some point between commits
[43cb531](https://github.com/SableClient/Sable/commit/43cb5313be960746c984bbf1336f1a0dfde078a4)
and
[f4cc4d5](https://github.com/SableClient/Sable/commit/f4cc4d51de4301c8e3f201ecc2aec4bb7604cc1d),
in the process of switching various UI elements into unified modals, the
read receipts modal (specifically the one that opens from an individual
message's context menu) lost its ability to be scrolled through.

In this patch, I've reverted that specific component to its old form,
both to immediately return the functionality and to provide a useful
reference state for the process of creating a more polished fix.

I recommend directly patching this pull request to properly unify the
modals first, but it _should_ be functional enough on its own to be
implemented as an immediate fix if you prefer.

#### 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).
2026-05-04 21:42:54 +00:00
7w1 4f5f6e662a Merge branch 'dev' into feat/msc4459 2026-05-04 16:40:28 -05:00
7w1 ca311d9b8d Replace custom markdown parsing with marked, KaTeX, and some custom plugins for matrix things (#727)
<!-- 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. -->
Replaced Cinny's custom markdown parsing with marked which should
drastically reduce the various random obscure errors and crashes caused
by it.
Added math rendering support with KaTeX, sent using standard formatting
of $ for inline and $$ for block with LaTeX.

Supersedes #726
Fixes #711 
Fixes #587
Fixes #467  
Fixes #684 

Tbh I doubt I've tested this enough so there's probably still a bunch of
bugs, especially in parsing html back to markdown, but hopefully it's
less than our current system?

Might consider using another library like Turndown for converting html
into markdown, currently using a partial custom parser with... well okay
results.

Updated to also remove the WYSIWYG editor because it's largely unused,
can be entirely covered by markdown, and complicates translating html to
markdown. Keyboard shortcuts from the editor have been rewritten to
instead apply markdown syntax.

#### Type of change

- [x] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [x] Breaking change - removes the WYSIWYG editor.
- [ ] 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:

- [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 and then reviewed by me. I can confirm that the
tests probably test the right stuff.
I had AI do the initial merge and write the marked plugins for the link
preview hiding and spoiler hiding features, which I then tested and
reviewed.
2026-05-04 16:39:28 -05:00
Shea Duma 5ce2981cae fixed scrolling 2026-05-04 21:18:12 +03:00
Shea Duma 4c93f0bd3e continuous moves 2026-05-04 07:59:26 +03:00
Rye f49e84d1af fix(msc4459): don't set mxc when there is no data to associate with it 2026-05-04 06:57:11 +02:00
Rye ff41ff1061 perf: simple caching (might need some later adjustments) 2026-05-04 06:43:02 +02:00
Shea Duma 7eb5767f35 initial modifiable version 2026-05-03 23:14:16 +03:00
Rye 952212e8d2 fix(msc4459): fix room local image packs 2026-05-03 21:11:34 +02:00
Rye 58a98b1d96 fix(msc4459): emoji discoverable as per MSC4459 2026-05-03 20:08:16 +02:00
Rye 3d1b1026bb fix(formatting): fix formatting issues 2026-05-03 19:11:48 +02:00
Rye cbe38bae35 Merge branch 'dev' into feat/msc4459 2026-05-03 18:34:54 +02:00
Rye 6a4d5059b8 fix(msc4459): refactoring and restricting getImagePackReferencesForMxc to public rooms 2026-05-03 18:19:45 +02:00
Rye 0b8b7bc534 fix(msc4459): remove duplicate matrix client argument 2026-05-03 17:39:25 +02:00
Rye f518ff50fe fixup! initial commit for MSC4459 support + a fair bit of refactoring 2026-05-03 17:20:19 +02:00
Rye 0e61fc9cdb initial commit for MSC4459 support + a fair bit of refactoring 2026-05-03 17:17:43 +02:00
Shea Duma 2b40919308 added changeset 2026-05-01 05:12:31 +03:00
Shea Duma 0d57c1acbd fix - scrollable read receipts 2026-05-01 05:04:20 +03:00
Shea Duma d4cf86094c fix - scrollable read receipts 2026-05-01 05:01:02 +03:00
Shea Duma 59f8702674 minimal fix 2026-05-01 04:59:25 +03:00