Commit Graph
6704 Commits
Author SHA1 Message Date
hazre e6c1d1b05c chore: move pnpm overrides to pnpm-workspace.yaml
Signed-off-by: hazre <[email protected]>
2026-07-24 20:06:11 -05:00
hazre d3f6b89607 chore(tauri): update cargo.toml metadata
Signed-off-by: hazre <[email protected]>
2026-07-24 20:05:50 -05:00
hazre 2a22381278 feat: add mise support
Signed-off-by: hazre <[email protected]>
2026-07-24 20:05:50 -05:00
7w1 1f2a43b656 Update pnpm-lock.yaml 2026-07-24 20:02:46 -05:00
Erwan Leboucher 43a1e4cfe0 perf(android): cache gradle, pin NDK, use lld linker 2026-07-24 19:46:28 -05:00
hazre 989a83bb5f fix: tauri script being unreliable through mise
Signed-off-by: hazre <[email protected]>
2026-07-24 19:46:11 -05:00
hazre 37d537bf0b fix: invalid script path in package.json
Signed-off-by: hazre <[email protected]>
2026-07-24 19:46:11 -05:00
hazre 65558c43e7 chore(mise): add tauri ios setup task
Signed-off-by: hazre <[email protected]>
2026-07-24 19:46:11 -05:00
hazre 784171e8fb docs: add mise docs to README
Signed-off-by: hazre <[email protected]>
2026-07-24 19:46:11 -05:00
hazre 575ffdcab9 chore: make tauri.js pass through to tauri cli
Signed-off-by: hazre <[email protected]>
2026-07-24 19:46:11 -05:00
hazre 8d47de118a chore(mise): define tauri packages
Signed-off-by: hazre <[email protected]>
2026-07-24 19:46:11 -05:00
hazre 11ed5b30dd fix: knipe issues
Signed-off-by: hazre <[email protected]>
2026-07-24 19:46:11 -05:00
hazre 738f139cd3 style: fix formatting
Signed-off-by: hazre <[email protected]>
2026-07-24 19:46:10 -05:00
hazre 12f44f9c26 chore: update pnpm lock file
Signed-off-by: hazre <[email protected]>
2026-07-24 19:45:56 -05:00
hazre fe7a446381 chore: use devEngines for node version
Signed-off-by: hazre <[email protected]>
2026-07-24 19:45:52 -05:00
hazre 3d0b992a1a chore(ci): update ci to use mise
Signed-off-by: hazre <[email protected]>
2026-07-24 19:45:51 -05:00
hazre 8fe259dacd chore(scripts): replace fpm with nfpm for deb/rpm packaging
- Add nfpm.yaml declarative config with contents, deps, per-packager overrides
- Replace fpm CLI invocations in package.sh with nfpm pkg
- Manage appimagetool and nfpm via mise file task tools
- Remove manual appimagetool download + sha256 verification
- Fix stale paths from scripts/cef/ move (ROOT, copy-libs reference, usage)
- Add version extraction guard and appimagetool availability check

Signed-off-by: hazre <[email protected]>
2026-07-24 19:43:04 -05:00
hazre b7b5deb65e chore(mise): add task definitions and reorganize scripts
Signed-off-by: hazre <[email protected]>
2026-07-24 19:43:04 -05:00
hazre 612aa2f87e chore(scripts): convert shell scripts to cross-platform ESM
Signed-off-by: hazre <[email protected]>
2026-07-24 19:43:04 -05:00
hazre bacb087be6 chore: move pnpm overrides to pnpm-workspace.yaml
Signed-off-by: hazre <[email protected]>
2026-07-24 19:43:04 -05:00
hazre 314cb23dcd chore(tauri): update cargo.toml metadata
Signed-off-by: hazre <[email protected]>
2026-07-24 19:42:44 -05:00
hazre 7fffdfb500 feat: add mise support
Signed-off-by: hazre <[email protected]>
2026-07-24 19:42:44 -05:00
7w1 0625ddfc63 Fix spoilers breaking when using a proxy tag/shorthand (#1307)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Fix spoilers sending as [Spoiler] when using proxy tags

#### 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. -->
2026-07-25 00:39:39 +00:00
7w1 9eb21768c6 fix(mobile): stop the nav drawer sliding out of frame and carry swipe velocity into the settle (#1303)
<!-- 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 00:38:53 +00:00
Josie 731b633fbf Fix spoilers breaking when using a proxy tag/shorthand 2026-07-25 01:28:57 +01:00
7w1 75c3faed82 fix ios build again? (#1306)
<!-- 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:

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

asked a robot how to fix
2026-07-24 18:31:17 -05:00
7w1 44ae776a58 fix ios build again? 2026-07-24 18:28:32 -05:00
Erwan Leboucher b77864d62c perf(crypto): cache cross-signing device verification status 2026-07-25 00:47:50 +02:00
7w1 45cd67d6f0 test: add playwright e2e harness with throwaway continuwuity homeserver (#1301)
<!-- 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-24 22:21:50 +00:00
7w1 aff701889b fix: (tauri) open homeserver-url in user chip via opener plugin (#1277)
<!-- 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. -->

on android/tauri: opening the homeserver url in the user chip replaces
sable.
fix: use the opener-plugin to follow the url, as in verification.tsx
https://github.com/SableClient/Sable/blob/444f2fc9c59900fb39ae621bc4badf75b9b0df78/src/app/features/settings/devices/Verification.tsx#L275-L285

on android: clicking in a youtube embed e.g. the video title replaces
the entire app with youtube
fix: on android specifically, make urls that do not lead to sable open
in the system browser
this doesn't work on other platforms, but is not needed for at least the
linux/cef version

Fixes #1295

#### 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-24 22:09:48 +00:00
Erwan Leboucher 38c5e85fc7 fix(mobile): stop the nav drawer sliding out of frame and carry swipe velocity into the settle 2026-07-25 00:05:43 +02:00
7w1 89ae794bb9 fix(ios): link AudioToolbox via tauri.conf iOS frameworks (#1302)
<!-- 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-07-24 22:03:56 +00:00
Erwan Leboucher 8d90be9c80 fix(ios): link AudioToolbox via tauri.conf iOS frameworks 2026-07-25 00:00:20 +02:00
Erwan Leboucher a082264a5c test: add playwright e2e harness with throwaway continuwuity homeserver 2026-07-24 23:56:45 +02:00
lunar-seal 3efcc505aa fix: add ending newline in fix-tauri-external-link.md 2026-07-24 23:47:44 +02:00
7w1 18654e435b fix(ios): declare AudioServicesCreateSystemSoundID URL param as const pointer (#1300)
…

<!-- 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-07-24 21:36:27 +00:00
Erwan Leboucher a630be2296 fix(ios): declare AudioServicesCreateSystemSoundID URL param as const pointer 2026-07-24 23:32:18 +02:00
7w1 0d901333db fix mobile builds (#1299)
<!-- 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-07-24 16:18:28 -05:00
7w1 a95cbf6a65 fix ios build 2026-07-24 16:13:43 -05:00
7w1 81c10e0d99 fix android build 2026-07-24 16:12:04 -05:00
7w1 4a83e30f68 fix(settings): handle missing room member in cosmetics settings (#1298)
<!-- 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-24 21:11:33 +00:00
7w1 4cbc077864 fix(notifications): route push transports by explicit provider (#1273)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Fixes several Android push-notification bugs, and bumps
`tauri-plugin-notifications` to pick up the matching native fixes
(SableClient/tauri-plugin-notifications#11).

**Transport routing**
- Pass `provider: 'fcm'` / `provider: 'unifiedpush'` explicitly on
register, so the plugin routes deterministically instead of inferring
from saved state (switching to native no longer keeps using the old
UnifiedPush distributor).
- `switchBackgroundPushTransport` is break-before-make (deactivate old →
register new), which the plugin's single-active-provider guard requires.
If the new registration fails, the previous transport is now
**restored** instead of leaving the device with no pusher while the UI
still says push is on.
- Skip no-op mode changes when the resolved provider is unchanged.
- `enablePushNotifications` no-ops under Tauri instead of throwing
(fixes the SABLE-162 unhandled rejection).

**Background notification previews**
- Encrypted message bodies could appear in notifications with "show
encrypted content" disabled: `isEncryptedRoom` is derived from the local
room, which is absent on a cold start from push, so the gate passed and
the decrypted body was shown. Encryption is now taken from the fetched
event itself.
- A notification dismissed while its preview fetch was in flight could
reappear ("ghost" notification), the async update now checks the cache
is still the live one.
- An earlier message no longer stays stuck on the "New message"
placeholder when a second push arrives before its preview resolves.
- The second (enriching) post is awaited so failures are logged instead
of becoming unhandled rejections, and the per-room seen-event set is
capped.

#### 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-24 21:10:49 +00:00
Erwan Leboucher 329a5ee6bd chore(tauri): bump tauri-plugin-notifications to the notification hardening fixes 2026-07-24 23:05:00 +02:00
7w1 82d1a2eb99 fix failing mobile builds (#1297)
<!-- 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-07-24 15:58:35 -05:00
7w1 03cb030534 fix failing mobile builds 2026-07-24 15:56:18 -05:00
7w1 a27e455aa0 fix(media): decrypt encrypted media on Android and improve slow-network loading (#1296)
<!-- 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-07-24 20:55:10 +00:00
7w1 ed8591f51b formatting 2026-07-24 15:53:28 -05:00
Erwan Leboucher 4caa4e5832 Merge remote-tracking branch 'origin/dev' into fix/media-slow-network
# Conflicts:
#	src/app/generated/tauri/commands.ts
#	src/app/generated/tauri/events.ts
#	src/app/generated/tauri/index.ts
#	src/app/generated/tauri/types.ts
2026-07-24 22:34:25 +02:00
Erwan Leboucher 5cf84feb0e fix(settings): handle missing room member in cosmetics settings 2026-07-24 22:33:41 +02:00
Erwan Leboucher 16f44b6adb fix(media): decrypt encrypted media on Android and improve slow-network loading 2026-07-24 22:30:18 +02:00