Commit Graph
89 Commits
Author SHA1 Message Date
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