Commit Graph
48 Commits
Author SHA1 Message Date
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
Andrew Attali 253b047e5a fix(ios): hide the WKWebView input accessory bar 2026-07-19 01:06:27 +02:00
Erwan Leboucher e478112634 feat(android): add tauri-plugin-unifiedpush for intent-based UnifiedPush 2026-07-18 13:57:52 +02:00
Erwan Leboucher 40fe62d767 feat(notifications): swap SableClient fork for Choochmeque tauri-plugin-notifications 2026-07-18 12:57:16 +02:00
Erwan Leboucher 93b7de8b91 feat(android): tint native status bar with the open screen's surface color
Sample the surface rendered just below the top strip and push it to the native
Window.statusBarColor (via a cached JavaVM + a MainActivity JNI callback), plus
the theme-color meta, so the status bar matches the current screen and follows
theme changes. Re-samples on navigation/theme mutations with a trailing-edge
rAF debounce.
2026-07-18 00:15:00 +02:00
Erwan Leboucher 38fd34f708 fix(android): save downloaded attachments via native file system plugin 2026-07-17 20:50:19 +02:00
Erwan Leboucher 2f5ac8e0e7 fix(tauri): use native clipboard plugin so copy/paste works on linux 2026-07-17 20:06:54 +02:00
Erwan Leboucher 4ab6572e5d fix(android): bump tao to 0.35.3 to prevent deep-link onNewIntent panic 2026-07-17 19:35:24 +02:00
Erwan Leboucher cce57580e5 feat: handle image via uri scheme protocol
Make useRenderableMediaUrl idempotent under Tauri: it now rewrites
raw authenticated-media https URLs to sable-media:// even when the
caller bypassed the mxcUrlToHttp wrapper. This fixes 401 errors for
avatars from ~10 call sites (sidebar spaces, member tiles, reaction
viewer, etc.) that use the raw SDK method directly.

- Extract rewriteAuthenticatedMediaUrl helper in matrix.ts
- Apply it in useRenderableMediaUrl Tauri fast-path
- Use it from mxcUrlToHttp wrapper (single source)
- Add tests for both the helper and hook Tauri paths
2026-07-17 16:26:39 +02:00
hazre 8e3411f7e5 build: update tauri deps 2026-05-06 01:54:43 +02:00
hazre f616a00da5 build: use patched tauri-typegen 2026-04-12 20:59:03 +02:00
hazre f9e6a72445 build: update tauri stack for dbus 2026-04-12 00:30:23 +02:00
hazre d54e671880 refactor: add tauri-aware fetch wrapper 2026-04-11 20:08:55 +02:00
hazre a81199ac26 chore: update cargo dependencies 2026-04-08 01:17:14 +02:00
hazre abb65ca55e feat: add desktop tray settings 2026-04-08 00:58:50 +02:00
hazre 61febb864a feat: add edge-to-edge app shell 2026-04-02 00:33:36 +02:00
hazre 647265253c chore: refresh tauri mobile dependencies 2026-03-27 00:06:37 +01:00
hazre 3b63e35f6d refactor(tauri): remove splashscreen plugin integration
Delete the local splashscreen crate and package references.
Remove mobile splashscreen startup handling and permissions.
Add a frontend test covering desktop and mobile startup behavior.
2026-03-25 19:29:07 +01:00
hazre e8670348ff feat: add cef support and switch to tauri-typegen for bindings (wip)
- deep link sso is busted on dev
2026-03-14 20:48:19 +01:00
TastelessVoid 2d8609bb93 fix(tauri): Fixed avatars in the notification not showing 2026-03-12 17:12:23 +01:00
TastelessVoid ade84faf67 feat(tauri): Addressed review, updated package 2026-03-12 17:10:47 +01:00
TastelessVoid daeec6035d feat(tauri): Implement media caching and notification enhancements 2026-03-12 17:10:22 +01:00
TastelessVoid 46092a8661 feat: Add UnifiedPush for Fairphones or phones that have been "de-googled" 2026-03-12 17:08:02 +01:00
hazre b709f38142 feat(tauri): add android support and splash screen tauri plugin (WIP) 2026-03-12 17:01:51 +01:00
hazre 84e71cf864 feat(tauri): keep track of window state and position 2026-03-12 16:58:28 +01:00
hazre 6932dcbcb1 feat(tauri): custom windows titlebar
- add fake windows window snapping overlay like a native titlebar
- add sync status inside the titlebar
- upgrade framer-motion package to motion
- add service worker tauri exceptions 
- add automatically generated tauri typescript bindings
2026-03-12 16:57:24 +01:00
hazre d7883e846a chore(tauri): add initial setup 2026-03-12 16:53:51 +01:00