Commit Graph
4944 Commits
Author SHA1 Message Date
niki fdfd37f0fa Add changeset 2026-07-06 14:15:01 +03:00
niki a0cef9367c Allow favoriting all gifs 2026-07-06 14:13:58 +03:00
7w1 faec72bf70 Fix other image viewer crash locations (#1027)
<!-- 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. -->

Same fix as #972, just applied to a couple other locations (inbox and
search) where it also regressed.

#### 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-05 15:18:24 -05:00
7w1 5710df7a80 fix other image viewer crash locations 2026-07-05 15:14:46 -05:00
7w1 2400453181 Fix autocomplete menu crash (#1026)
<!-- 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 the crash when clicking stuff and removes some unnecessary focus
calls after dependency update

#### 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-05 15:09:03 -05:00
7w1 7fc34ecc48 fix autocomplete crash 2026-07-05 13:45:43 -05:00
7w1 b059bf55a6 Add gallery support (#1019)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Adds gallery support as per msc4274. Cherry picked from smokku/cinny.

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

- [ ] 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).

Fueled by hate for CSS
2026-07-05 18:30:51 +00:00
niki a8742d9806 Add the ability to send individual attachment text as caption 2026-07-05 14:03:40 +03:00
niki b2029c4659 Redesign uploads menu 2026-07-04 23:32:01 +03:00
niki b69a00fbac Prefer body over filename in tooltip 2026-07-04 19:48:06 +03:00
niki 1234d63234 Rendering changes 2026-07-04 19:44:22 +03:00
niki 918cdd8c06 Fix re-rendering 2026-07-04 12:50:43 +03:00
sable-actions[bot] 4e608c119a chore(nix): auto-fix nix hashes 2026-07-04 05:16:50 +00:00
7w1 b2525ff7e1 Some dependency bumps (#1024)
<!-- 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. -->

Lightly tested, bumped dependencies that seemed safe + a sable call bump
to fix called users not disappearing after the ringback ends/call gets
declined.

#### 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-04 00:12:58 -05:00
7w1 633494f9d8 dependency bumps 2026-07-04 00:07:31 -05:00
7w1 f848e84246 Clean up sliding sync implementation (#1020)
<!-- 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 the bugs I've noticed using sliding sync on c10y, and seems to
still work fine on morg accounts. Obviously needs more testing, but its
better than the current implementation.

Maintains a slim classic sync when presence is enabled, because I can't
seem to figure out how to get presence in sliding sync. Does however get
rid of the large initial classic sync on first load when sliding sync is
enabled.

Edit: forgot but also makes the buttons in the little bar at the bottom
go up instead of down

Fixes #185 
I think this also fixes SableClient/SableCall#10

#### 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 updated with AI~~ tests weren't changed lol
2026-07-04 00:04:08 -05:00
niki 2dd1dc2ba3 Change gallery to be a grid 2026-07-03 15:30:24 +03:00
7w1 460e069bc4 fix calls not working 2026-07-02 18:43:58 -05:00
7w1 210ec9dea6 cleanup and fix c10y sending full sync data every response 2026-07-02 16:44:58 -05:00
7w1 96226ffdb6 feat(sticker): add a direct link to room/space settings when sticker list is empty (#1016)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

hey! i was helping onboard some friends and sable is really cool. i
wanted to add a bit of an easier way to get into the sticker page, so i
added quick links to them in the room & space bits of text:
<img width="428" height="525" alt="Screenshot_2026-06-30_18-41-32"
src="https://github.com/user-attachments/assets/57bb6273-9681-4d0c-960a-1beb07e62e6d"
/>

there doesn't seem to be an existing style to piggy-back off for the
links, so i put something quick together. happy to change to whatever
works best, the contrast is probably a bit low in the default dark
theme?

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

- [ ] 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-02 17:01:57 +00:00
7w1 056dbed66b change link color 2026-07-02 11:59:15 -05:00
7w1 72509ce0ed initial bookmarks implementation (#1000)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Adds support for bookmarks taken from https://github.com/smokku/cinny/
adding event rendering (copied from pin menu, will need to abstract it
somewhere, seems to be duplicated in a lot of code like notifications,
etc).

**May be a good idea to use a virtualiser and fetch events only when
they are visible, as with a lot of bookmarks it will fetch all of them**

THIS IS A CLONE PR OF #985 after i mistyped sth while committing 😭

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

Written with the assistance of brain-4.5-nonthinking
2026-07-02 03:25:36 +00:00
sable-actions[bot] dbd0968230 chore(nix): auto-fix nix hashes 2026-07-02 03:13:56 +00:00
7w1 8f8d9f8c07 Update call implementation and custom ringtones (#841)
<!-- 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. -->

Attempts to match spec notification/call end/join behaviors a little
better.
Adds an option for custom ringtones and ringbacks.
Adds permissions for calls.
Makes it so when you leave calls they don't instantly end
Makes it so calls are properly declined
Makes it so when a call is declined you don't automatically hang up
Includes updated sablecall
Removes the call controls from the call view and instead injects styles
to modify the widget appearance. For whatever reason font isn't working
quite yet, although it works locally :/
Adds some tests for things.
Fixes #857 
Fixes #855
Fixes #691
Might address #898, #908 (needs testing)

Still todo:
- ~~update changesets again~~
- ~~figure out how to style the call room backgrounds properly~~
- ~~inject twemoji font (or put in sable call?)~~
- ~~add phosphor icons to sable call?~~
- ~~add deafen button to sable call~~
- ~~fix odd ringtone looping behavior~~ hopefully fixed?
- ~~more testing~~ merge now, fix later?
- ~~Some file cleanup of some no longer necessary stuff due to removing
the call ui overlay thing~~
- ~~Fix some scaling related things~~

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

- [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 AI was used to compare some other call
implementations and ensure spec and standard compliance and to figure
out how to inject the sable theme into all the widget elements.
2026-07-01 22:11:54 -05:00
7w1 ad66511429 remove unnecessary sentry logging 2026-07-01 22:08:30 -05:00
7w1 efeca7ff7a make close ignore rather than decline 2026-07-01 21:59:18 -05:00
7w1 f596104580 Fix gradient theme base issues (#1007)
<!-- 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. -->

Quite some of the fixes are bodges to the fold library since we do not
host a modified folds library

<img width="1920" height="1080" alt="image"
src="https://github.com/user-attachments/assets/1afd248a-b655-4c0d-94a1-8a9cb7a10ea1"
/>

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
- [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 weariness of dying of a heatstroke at 38C wo an AC :<
2026-07-02 02:37:36 +00:00
7w1 ef722ab259 Potential fix for outdated firefox and some safari browsers not being able to send messages (#1010)
<!-- 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. -->

Swaps a foreach to a for loop and some general hardening in the input
box related things.
No clue if this will work
fixes #1008 and fixes #557 

#### 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-01 21:36:42 -05:00
7w1 57a9a93a00 changeset 2026-07-01 21:34:30 -05:00
niki ea9a392982 WIP css changes 2026-07-01 20:13:24 +03:00
Shea c9d6cc543a Make items keep aspect ratio 2026-07-01 15:15:52 +03:00
niki 2b0139fc80 Add changeset 2026-07-01 13:06:54 +03:00
nikiandTomasz Sterna 55a9032656 Add gallery support
Co-Authored-By: Tomasz Sterna <[email protected]>
2026-07-01 13:03:14 +03:00
7w1 cee4b50257 lint 2026-06-30 21:54:49 -05:00
7w1 2d8727c7c9 fix no pip when calling 2026-06-30 20:35:19 -05:00
7w1 3db57f1ba1 changesets and formatting 2026-06-30 19:58:48 -05:00
7w1 a1c6dd550b bump sable call and fix ring bug 2026-06-30 19:49:28 -05:00
7w1 2cf0acc659 fix scaling behaviors 2026-06-30 19:37:43 -05:00
7w1 03c0d08fc9 mute controls 2026-06-30 19:11:16 -05:00
7w1 d79273f9d3 Fix voice room background 2026-06-30 16:41:51 -05:00
7w1 9ddb3bbc37 fix button styles and settings menu 2026-06-30 16:29:11 -05:00
7w1 35461f5107 potentially fix font injection into widget 2026-06-30 16:03:00 -05:00
7w1 f012f4326b refactor ringtones and cleanup call controls 2026-06-30 15:48:13 -05:00
ellieplayswow a242f55949 format for real this time 2026-06-30 18:59:25 +01:00
7w1 4ba206bafd Gif reverse favorites (#1014)
<!-- 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. -->
2026-06-30 17:55:58 +00:00
ellieplayswow 6e485d8d2b format 2026-06-30 18:44:41 +01:00
ellieplayswow 9c93c151cc feat(sticker): add a direct link to room/space settings when sticker list is empty 2026-06-30 18:39:34 +01:00
Shea 2fdaec66d6 reversed
Signed-off-by: Shea <[email protected]>
2026-06-30 10:56:56 +03:00
7w1 4d6137b0d2 Swap to stable recent emojis key (#1009)
<!-- 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. -->

Swaps to the stable recent emojis identifier since it was added to spec
in 1.18, and has a bit of migration logic to convert the legacy one to
the stable one if its not present.

#### 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-06-29 14:22:05 -05:00
7w1 07d487d36d Redesign the user menu tab (#990)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Redesigns the user tab to allow switching presence status. Shows full
user profile.

Fixes #

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

Written with the assistance of a magic 8 ball
2026-06-29 19:09:38 +00:00