Commit Graph
41 Commits
Author SHA1 Message Date
Erwan Leboucher 213b1b8e3a fix(tauri): disable native drag-drop handler for HTML5 DnD
Tauri 2.x intercepts OS drag-drop events by default, which prevents
HTML5 drag-and-drop (file uploads, image drops) from reaching the
WebView.
2026-07-17 18:11:25 +02:00
Erwan Leboucher d936986244 fix(tauri): declare camera/mic usage strings and allow inline styles
WKWebView hides navigator.mediaDevices entirely unless the app
declares NSCameraUsageDescription and NSMicrophoneUsageDescription
in Info.plist, which caused Element Call to bail with "Your
browser does not support WebRTC". Add a custom Info.plist merged
via tauri.conf.json bundle.macOS.infoPlist.

Also add style-src 'unsafe-inline' to the CSP so the embedded
Element Call iframe's inline styles are not silently dropped.
2026-07-17 18:11:13 +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
Erwan Leboucher 78c9b528bc feat(tauri): apply niki's tauri fixes; render mxc emoji/reactions via renderable urls 2026-07-17 14:28:54 +02:00
Erwan Leboucher e786c20440 feat(tauri): native OIDC login via system browser + sable:// deep-link callback 2026-07-17 13:05:57 +02:00
TastelessVoid 68d02a153b Add keystore to gitignore, fixed AppImage failing due to GStreamer plugin discovery failing 2026-05-15 16:23:54 +02:00
TastelessVoid d780c45225 Fix Tauri desktop builds and media caching 2026-05-15 01:16:40 +02:00
hazre ca2cf3fe47 chore: add android signing step on release 2026-05-06 01:54:45 +02:00
hazre 8e3411f7e5 build: update tauri deps 2026-05-06 01:54:43 +02:00
Tasteless Void bfcb24c00f fix(tauri): android APK crashing and UnifiedPush not registering (#747)
* (Tauri/fix):Android APK crashing and UnifiedPush not registering

* Fixed ESLint errors
2026-05-05 18:53:06 +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 1963bbdfc4 fix: add linux startup env workaround 2026-04-11 23:46:18 +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 5578658700 fix: linux startup 2026-04-07 12:43:35 +02:00
hazre 61febb864a feat: add edge-to-edge app shell 2026-04-02 00:33:36 +02:00
hazre be4dd23f5d fix: repair android package and window startup 2026-03-27 00:06:37 +01: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 4795fb387e fix: move window creation into rust side for easier control 2026-03-14 20:48:20 +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
hazre bf36d2b376 fix: sso login on mobile 2026-03-12 22:48:57 +01:00
hazre fd6a135a2b chore: remove binary files 2026-03-12 21:00:05 +01:00
hazre 65e83ed694 fix: make android actually build 2026-03-12 20:13:22 +01:00
TastelessVoid 93bca4bd9f chore(tauri): Merge dev into feat/tauri-integration and resolved conflicts 2026-03-12 18:50:47 +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 f9f37a157b fix: Adjusted .gitignore and tracked files 2026-03-12 17:08:02 +01:00
TastelessVoid 0aa9cf810b fix: Commit the gen folder as the nested .gitignore should keep the repo clean 2026-03-12 17:08:02 +01:00
TastelessVoid f5d90c011d feat: Add build.gradle.kts to specify a higher kotlin version and update .gitignore 2026-03-12 17:08:02 +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 535ded24f2 chore: add tauri.conf.json to knope.toml 2026-03-12 17:00:10 +01:00
hazre 84e71cf864 feat(tauri): keep track of window state and position 2026-03-12 16:58:28 +01:00
hazre 5823d23bb4 fix(tauri): deep linking breaking due to specta export
Aaaaaaa spent an hour on this, problem was that it was panicking trying to export to a path relative to the executable which is protected by the os.
2026-03-12 16:57:24 +01:00
hazre 2e10f735fa feat(tauri): add desktop system tray and option to close to tray
note that close to tray currently does nothing and it's intended for when notifications land
2026-03-12 16:57:24 +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