Commit Graph
76 Commits
Author SHA1 Message Date
dependabot[bot] 1712799ef7 chore: bump the cargo group across 1 directory with 13 updates
Bumps the cargo group with 13 updates in the /src-tauri directory:

| Package | From | To |
| --- | --- | --- |
| [sentry](https://github.com/getsentry/sentry-rust) | `0.48.5` | `0.49.0` |
| [sha2](https://github.com/RustCrypto/hashes) | `0.10.9` | `0.11.0` |
| [aes](https://github.com/RustCrypto/block-ciphers) | `0.8.4` | `0.9.2` |
| [ctr](https://github.com/RustCrypto/block-modes) | `0.9.2` | `0.10.1` |
| [reqwest](https://github.com/seanmonstar/reqwest) | `0.12.28` | `0.13.4` |
| [base64](https://github.com/marshallpierce/rust-base64) | `0.22.1` | `0.23.0` |
| [zip](https://github.com/zip-rs/zip2) | `4.6.1` | `8.6.0` |
| [tauri-plugin-devtools](https://github.com/crabnebula-dev/devtools) | `2.0.0` | `2.1.0` |
| [enigo](https://github.com/enigo-rs/enigo) | `0.5.0` | `0.6.1` |
| [windows](https://github.com/microsoft/windows-rs) | `0.61.3` | `0.62.2` |
| [libloading](https://github.com/nagisa/rust_libloading) | `0.8.9` | `0.9.0` |
| [tauri-plugin-android-fs](https://github.com/aiueo13/tauri-plugin-android-fs) | `28.4.0` | `29.0.0` |
| [jni](https://github.com/jni-rs/jni-rs) | `0.21.1` | `0.22.4` |



Updates `sentry` from 0.48.5 to 0.49.0
- [Release notes](https://github.com/getsentry/sentry-rust/releases)
- [Changelog](https://github.com/getsentry/sentry-rust/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-rust/compare/0.48.5...0.49.0)

Updates `sha2` from 0.10.9 to 0.11.0
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.10.9...sha2-v0.11.0)

Updates `aes` from 0.8.4 to 0.9.2
- [Commits](https://github.com/RustCrypto/block-ciphers/compare/aes-v0.8.4...aes-v0.9.2)

Updates `ctr` from 0.9.2 to 0.10.1
- [Commits](https://github.com/RustCrypto/block-modes/compare/ctr-v0.9.2...ctr-v0.10.1)

Updates `reqwest` from 0.12.28 to 0.13.4
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.12.28...v0.13.4)

Updates `base64` from 0.22.1 to 0.23.0
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md)
- [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.22.1...v0.23.0)

Updates `zip` from 4.6.1 to 8.6.0
- [Release notes](https://github.com/zip-rs/zip2/releases)
- [Changelog](https://github.com/zip-rs/zip2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zip-rs/zip2/compare/v4.6.1...v8.6.0)

Updates `tauri-plugin-devtools` from 2.0.0 to 2.1.0
- [Release notes](https://github.com/crabnebula-dev/devtools/releases)
- [Commits](https://github.com/crabnebula-dev/devtools/compare/tauri-plugin-devtools-v2.0.0...tauri-plugin-devtools-v2.1.0)

Updates `enigo` from 0.5.0 to 0.6.1
- [Changelog](https://github.com/enigo-rs/enigo/blob/main/CHANGES.md)
- [Commits](https://github.com/enigo-rs/enigo/compare/v0.5.0...v0.6.1)

Updates `windows` from 0.61.3 to 0.62.2
- [Release notes](https://github.com/microsoft/windows-rs/releases)
- [Commits](https://github.com/microsoft/windows-rs/commits)

Updates `libloading` from 0.8.9 to 0.9.0
- [Commits](https://github.com/nagisa/rust_libloading/compare/0.8.9...0.9.0)

Updates `tauri-plugin-android-fs` from 28.4.0 to 29.0.0
- [Commits](https://github.com/aiueo13/tauri-plugin-android-fs/commits)

Updates `jni` from 0.21.1 to 0.22.4
- [Release notes](https://github.com/jni-rs/jni-rs/releases)
- [Changelog](https://github.com/jni-rs/jni-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jni-rs/jni-rs/compare/v0.21.1...v0.22.4)

---
updated-dependencies:
- dependency-name: sentry
  dependency-version: 0.49.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo
- dependency-name: sha2
  dependency-version: 0.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo
- dependency-name: aes
  dependency-version: 0.9.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo
- dependency-name: ctr
  dependency-version: 0.10.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo
- dependency-name: reqwest
  dependency-version: 0.13.4
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo
- dependency-name: base64
  dependency-version: 0.23.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo
- dependency-name: zip
  dependency-version: 8.6.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: cargo
- dependency-name: tauri-plugin-devtools
  dependency-version: 2.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo
- dependency-name: enigo
  dependency-version: 0.6.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo
- dependency-name: windows
  dependency-version: 0.62.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo
- dependency-name: libloading
  dependency-version: 0.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo
- dependency-name: tauri-plugin-android-fs
  dependency-version: 29.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: cargo
- dependency-name: jni
  dependency-version: 0.22.4
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo
...

Signed-off-by: dependabot[bot] <[email protected]>
2026-08-07 07:04:55 +00:00
7w1 32792c1126 chore: fix unrelated dependency version changes 2026-08-07 08:49:42 +02:00
Erwan Leboucher e3c204b208 fix: diagnostics and refresh CEF runtime 2026-08-07 08:49:42 +02:00
Erwan Leboucher e3e0c9165c chore(deps): bump tauri-plugin-notifications to 057d3238 2026-08-06 08:33:55 -05:00
Erwan Leboucher e155fdb1dc fix: use Alloy CEF media permissions 2026-08-04 19:54:55 +02:00
Erwan Leboucher 6ca2cdc4c7 fix(linux): pin HTTPS CEF media origin handling 2026-08-04 18:09:53 +02:00
Erwan Leboucher 8183ab7b72 fix(linux): pin corrected CEF protocol handling 2026-08-04 17:59:12 +02:00
Erwan Leboucher 5f71e9e6b0 fix(linux): update CEF custom protocol handling 2026-08-04 16:24:36 +02:00
Erwan Leboucher c50b59ad3b fix(linux): use updated CEF media permissions 2026-08-04 14:52:35 +02:00
Erwan Leboucher 377cbf4ce7 fix: keep calls alive in background on iOS and Android 2026-07-31 13:30:42 +02:00
7w1 a21daf4242 fix(mobile): keep calls active in background (#1474)
<!-- 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. -->

tested on ios and android, not native fully but works at least

#### 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
- [ ] 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-30 02:26:20 +00:00
7w1 e198c04794 fix(mobile): save downloaded media (#1475)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

tested on android sadly not on ios

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. -->
2026-07-30 02:07:17 +00:00
Erwan Leboucher 6acfb4ad52 fix: harden mobile push delivery 2026-07-29 20:01:24 +02:00
Erwan Leboucher a8a634634f fix(mobile): improve image saves and touch handling 2026-07-29 18:22:54 +02:00
Erwan Leboucher 922e62df65 fix(mobile): keep calls active in background 2026-07-29 16:02:22 +02:00
Erwan Leboucher 025839605f fix(mobile): save downloaded media 2026-07-29 11:14:25 +02:00
Erwan Leboucher 8f04652088 fix(mobile): save downloaded media 2026-07-28 17:11:53 +02:00
7w1 92c7822f69 feat(diagnostics): add sanitized log export (#1421)
<!-- 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)
- [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:

- [ ] 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-28 03:30:12 +00:00
Erwan Leboucher 5699dba70d feat(diagnostics): add sanitized log export 2026-07-27 23:34:03 +02:00
Erwan Leboucher 039bf5e7e1 chore: switch to SableClient/tauri-runtime-cef fork with cef 150 2026-07-27 11:32:43 +02:00
Erwan Leboucher 3d82cda286 fix(tauri): harden CSP, scope media CORS, block loopback redirects, allow --no-updater builds 2026-07-26 15:47:58 +02:00
hazre 314cb23dcd chore(tauri): update cargo.toml metadata
Signed-off-by: hazre <[email protected]>
2026-07-24 19:42:44 -05: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
Erwan Leboucher 8042533981 fix(media): sniff decrypted image content type and harden encrypted media cache 2026-07-24 10:25:40 +02:00
Erwan Leboucher 1273136f01 feat(sentry): enable Sentry for Tauri builds 2026-07-24 08:02:45 +02:00
Erwan Leboucher 807135e734 Add native push notifications with reply actions, content preview, and configurable gateway 2026-07-23 14:45:06 -05:00
Erwan Leboucher de227d2b63 fix: media 401, slow-internet loading, and native streaming decryption 2026-07-23 18:13:01 +02:00
7w1 142813d80a fix failing linux build 2026-07-21 12:31:42 -05:00
7w1 6dab80de31 fix(tauri): don't leak wry into CEF builds + don't gate updater manifest on android (#1165)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

fix packaging to not including wry in cef build + don't wait 45 minutes
to release the desktop auto update json

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-21 16:25:39 +00:00
7w1 45558f7a90 feat(mobile): add sharing to sable (#1159)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

What it says on the tin.

#### 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-20 22:47:05 +00:00
7w1 76a6874bed fix: shareText cancellation, Modal500 focus trap, Cargo pin, PageNav layout 2026-07-20 16:39:48 -05:00
Erwan Leboucher 7f5aee78e9 feat(mobile): render global modals as full-screen pages
Search, create room, create space, and bug report open as full-screen
pages on mobile via useOpen*Modal hooks checking useScreenSizeContext.
Desktop modal flow unchanged.

Adds full-screen room/space settings with shared section layout and
swipe-back navigation.

Adds tauri-plugin-sharekit (v0.4.0-rc.5) for iOS/Android system share
sheet, with a shareText() util that falls back to Web Share API then
clipboard. Wired into ShareChip, Space menu, SpaceTabs menu.

Syncs Cargo.lock with the new sharekit dependency and relaxes the
edge-to-edge inset contract test to match the wired plugin via
.plugin(tauri_plugin_edge_to_edge::init()) so chaining sharekit onto
the same mobile builder no longer breaks the test.
2026-07-20 16:38:05 -05:00
Erwan Leboucher 5489a6df67 Merge remote-tracking branch 'origin/dev' into conflict-resolve-1159
# Conflicts:
#	src-tauri/gen/android/app/src/main/java/moe/sable/client/MainActivity.kt
#	src/app/generated/tauri/commands.ts
#	src/app/generated/tauri/index.ts
#	src/app/generated/tauri/types.ts
2026-07-20 23:37:47 +02:00
Erwan Leboucher 01a7692785 fix: sync Cargo.lock for optional webkit2gtk dep
Record webkit2gtk as a direct (optional) dependency of the sable app
crate in Cargo.lock, matching the Cargo.toml change that made
webkit2gtk optional and gated via the wry feature. cargo --locked was
failing because the lockfile was missing this dependency entry.
2026-07-20 23:29:11 +02:00
7w1 3c7e1f7eab Merge remote-tracking branch 'origin/dev' into pr/1153 2026-07-20 16:20:10 -05:00
Erwan Leboucher 5a9934a6f0 fix(tauri): don't leak wry into CEF builds via plugins
tauri-plugin-devtools (default-features = wry) and the
tauri-plugin-notifications fork (tauri defaults = wry) both forced
tauri/wry -> tauri-runtime-wry -> webkit2gtk into CEF builds that
should only use the CEF runtime.

- devtools: default-features = false; Sable's wry feature already
  enables tauri/wry for wry builds
- notifications: bump to fork rev 0ca647a which drops tauri defaults
- remove the broken not(feature = "cef") target-cfg gate (cargo
  ignores feature = in cfg predicates) and the redundant direct
  webkit2gtk dep (pulled transitively via tauri-runtime-wry)
2026-07-20 22:46:03 +02:00
7w1 3f221da359 feat(tauri): cacheable media responses and Range streaming for video/audio (#1157)
<!-- 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)
- [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:

- [ ] 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-20 20:27:19 +00:00
Erwan Leboucher 45be0dae13 fix(tauri): stream android media uploads to fix OOM and show progress 2026-07-20 21:29:57 +02:00
Erwan Leboucher c66f7fa17d chore(tauri): bump tauri-plugin-notifications to 4ea297b (main HEAD) 2026-07-20 21:10:53 +02:00
Erwan Leboucher fddce39337 feat(desktop): menu accelerators and global show/hide shortcut 2026-07-20 20:46:39 +02:00
Andrew Attali 14900ab645 feat(mobile): add sharing to sable 2026-07-20 16:30:45 +02:00
Erwan Leboucher 3b4e412675 feat(notifications): android push over webpush for embedded FCM and UnifiedPush 2026-07-19 23:40:41 +02:00
Erwan Leboucher 292c3d00f1 fix(desktop): bundle appindicator for CEF tray and guard when missing 2026-07-19 22:21:07 +02:00
Erwan Leboucher fe3969a8b4 build(notifications): switch to SableClient fork for UnifiedPush 2026-07-19 18:50:39 +02:00
Erwan Leboucher 2f0196b618 chore(tauri): wire CrabNebula devtools alongside tauri-plugin-log 2026-07-19 17:36:20 +02:00
Erwan Leboucher d13c195d47 fix(tauri): apply desktop review fixes and drop redundant unifiedpush plugin 2026-07-19 01:06:27 +02:00
Erwan Leboucher dab35f9c44 feat(tauri): use fork notifications plugin with native macOS backend 2026-07-19 01:06:27 +02:00
Erwan Leboucher 3f648236fa feat(tauri): add desktop auto-updater with signed release artifacts 2026-07-19 01:06:27 +02:00
Erwan Leboucher b3729f4d17 feat(tauri): add CEF (Chromium) runtime on Linux for WebRTC calling 2026-07-19 01:06:27 +02:00