Commit Graph
3611 Commits
Author SHA1 Message Date
Andrew Attali 39e0c8be09 fix(ios): correctly calculate keyboard offset position 2026-07-19 01:06:26 +02:00
Erwan Leboucher f8c5ebc491 fix(android): make UnifiedPush notifications work when app is open or killed 2026-07-19 01:06:26 +02:00
Erwan Leboucher 5b81d734f6 feat(android): add tauri-plugin-unifiedpush and route fetch through Tauri HTTP 2026-07-19 01:06:26 +02:00
Andrew Attali f2ebe8bbd6 fix(ios): properly guard serviceWorker in navigator 2026-07-19 01:06:26 +02:00
Erwan Leboucher 0208d8a2cb fix(android): fix plugin build.rs API and route remaining fetch through Tauri HTTP 2026-07-18 14:30:27 +02:00
Erwan Leboucher 719f987bcc fix(android): route theme fetch through Tauri HTTP plugin 2026-07-18 14:28:35 +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 86403ae649 fix(notifications): handle missing UnifiedPush distributor command on Android 2026-07-18 13:51:45 +02:00
Erwan Leboucher 3a8bd64d1a format 2026-07-18 13:40:36 +02:00
Erwan Leboucher 1fe606eaaa Merge origin/dev into feat/tauri-desktop 2026-07-18 13:36:55 +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 aedfa7a40c Merge branch 'dev' into feat/tauri-desktop
# Conflicts:
#	src/app/pages/client/ClientNonUIFeatures.tsx
#	src/app/utils/presence.ts
#	src/client/presenceSync.ts
2026-07-18 12:25:54 +02:00
Erwan Leboucher 2006bb3114 fix(lint): correct hook usage, drop unused imports, and type test mocks 2026-07-18 12:21:46 +02:00
Erwan Leboucher 35a9396ff9 perf(room): navigate to rooms in a transition to keep the UI responsive 2026-07-18 11:42:59 +02:00
Erwan Leboucher 94b97d0a9e fix(mobile): restore room-list scroll and reliable swipe reveal 2026-07-18 11:42:58 +02:00
Erwan Leboucher 668886c95d chore(tauri): regenerate command bindings 2026-07-18 10:40:39 +02:00
Erwan Leboucher 93d32a8193 perf(avatar): lazy-load avatars and drop SVG refetch reprocessing 2026-07-18 10:40:39 +02:00
Erwan Leboucher 6734fea82e refactor(swipe): track overlay swipe via live-seeded offset 2026-07-18 10:40:38 +02:00
Erwan Leboucher 6eed3a5dd7 feat(mobile): finger-tracked swipe drawer for room list navigation 2026-07-18 10:39:47 +02:00
7w1 065630e386 fix various member state with sliding sync and fix test 2026-07-18 00:37:18 -05:00
7w1 0e1adfd33c fix: improve timeline reliablity to follow new message (#1105)
<!-- 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. -->

Fix the timeline not reliably following new messages when pinned to the
bottom, and stop the browser's scroll anchoring from fighting the
virtualized message list.

#### 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
- [ ] 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-18 03:55:21 +00:00
Erwan Leboucher 95ae0d9bca fix(pdf): contain render failures instead of crashing the app 2026-07-18 00:15:12 +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
niki 417bbe94bc Move service worker initialization 2026-07-17 22:17:50 +02:00
7w1 8c61ff1498 formatting 2026-07-17 15:11:47 -05:00
Erwan Leboucher 82a389ced3 fix(notifications): re-persist selected unifiedpush distributor on re-enable 2026-07-17 21:54:37 +02:00
7w1 8099c4c494 ensure gifs require klipy proxy, harden url parsing, and add tests 2026-07-17 14:40:07 -05:00
Erwan Leboucher 2da28be481 fix(notifications): establish and refresh the unifiedpush pusher via endpoint lifecycle 2026-07-17 21:38:13 +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 32c902158b fix(notifications): start the foreground push transport listener at client boot 2026-07-17 20:00:35 +02:00
Erwan Leboucher e2b3e6f126 fix(tauri): set native media session token so authenticated media loads 2026-07-17 19:53:47 +02:00
Erwan Leboucher d1eea80ad6 fix(tauri): route custom-protocol hosts through native fetch so encrypted media loads on android 2026-07-17 19:35:25 +02:00
Erwan Leboucher 64310c7226 fix(linux): enable WebKitGTK WebRTC settings and auto-allow media permissions 2026-07-17 18:59:30 +02:00
7w1 995435bca0 fix profile data not syncing on mobile 2026-07-17 11:53:23 -05:00
Erwan Leboucher 5670c9ef3f fix(tauri): use getAppOrigin() for all origin-dependent paths 2026-07-17 18:18:50 +02:00
Erwan Leboucher a2ce65da1c fix(tauri): use valid origin for call widget parentUrl
On Tauri 2.x macOS/Linux, window.location.origin returns the string
"null" because tauri:// is a non-standard (opaque) URL scheme per
the WHATWG URL spec. The embedded Element Call widget parses
parentUrl with new URL() — "null" is not a valid absolute URL, so
it throws TypeError, the widget silently falls back to standalone
mode (no widget API), and calls fail with "Room not found".

Construct the origin from protocol + host to get a valid absolute URL
(tauri://localhost) instead of the opaque-origin serialization.
2026-07-17 17:18:57 +02:00
niki 35510f1f04 Do not show desktop settings on mobile 2026-07-17 16:59:14 +02:00
niki d0cec4a12c Fix notifications 2026-07-17 16:59:08 +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 d434097366 fix: improve timeline reliablity to follow new message 2026-07-17 16:17:11 +02:00
Erwan Leboucher 56382a90d8 fix(tauri): unconditional banner media hook; real loadImageElementFromMediaUrl for stickers 2026-07-17 14:33:40 +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 f8d7c050f5 fix(tauri): render authenticated inline images via token blob-fetch when no service worker 2026-07-17 14:17:03 +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
Erwan Leboucher b180c23310 fix: show tauri window via TauriFrontendReady in App 2026-07-17 12:34:47 +02:00
Erwan Leboucher d0c5d7d8cf fix: reconcile tauri integration with dev (media modules, routes, vite target, deferred push/desktop wiring) 2026-07-17 12:21:07 +02:00
Erwan Leboucher ec91c3579a Merge remote-tracking branch 'origin/dev' into feat/tauri-desktop
# Conflicts:
#	.gitignore
#	.prettierignore
#	.vscode/settings.json
#	eslint.config.js
#	flake.lock
#	flake.nix
#	knip.json
#	package.json
#	pnpm-lock.yaml
#	src/app/components/AuthFlowsLoader.tsx
#	src/app/components/ClientConfigLoader.tsx
#	src/app/components/SpecVersionsLoader.tsx
#	src/app/components/SwipeableChatWrapper.tsx
#	src/app/components/SwipeableOverlayWrapper.tsx
#	src/app/components/emoji-board/components/Item.tsx
#	src/app/components/message/content/ImageContent.tsx
#	src/app/components/message/content/ThumbnailContent.tsx
#	src/app/components/power/PowerIcon.tsx
#	src/app/components/url-preview/ClientPreview.tsx
#	src/app/features/room/RoomInput.tsx
#	src/app/features/room/message/Message.tsx
#	src/app/features/settings/Settings.tsx
#	src/app/features/settings/emojis-stickers/GlobalPacks.tsx
#	src/app/features/settings/notifications/PushNotifications.tsx
#	src/app/features/settings/notifications/SystemNotification.tsx
#	src/app/hooks/useClientConfig.ts
#	src/app/hooks/useIntegrationManager.ts
#	src/app/hooks/useSessionProfiles.ts
#	src/app/pages/App.tsx
#	src/app/pages/Router.tsx
#	src/app/pages/auth/SSOLogin.tsx
#	src/app/pages/auth/login/Login.tsx
#	src/app/pages/auth/register/PasswordRegisterForm.tsx
#	src/app/pages/auth/register/Register.tsx
#	src/app/pages/auth/reset-password/PasswordResetForm.tsx
#	src/app/pages/client/AutoDiscovery.tsx
#	src/app/pages/client/BackgroundNotifications.tsx
#	src/app/pages/client/ClientNonUIFeatures.tsx
#	src/app/pages/client/ClientRoot.tsx
#	src/app/pages/client/SyncStatus.tsx
#	src/app/plugins/react-custom-html-parser.tsx
#	src/app/state/serviceWorkerRegistration.ts
#	src/app/state/settings.ts
#	src/app/utils/matrix.ts
#	src/app/utils/notifications.ts
#	src/app/utils/settingsSync.test.ts
#	src/client/initMatrix.ts
#	src/index.tsx
#	src/sw.ts
#	src/sw/pushNotification.ts
#	tsconfig.json
#	vite.config.ts
2026-07-17 12:12:26 +02:00
Erwan Leboucher e6ddedd4dd Merge branch 'pr-134' into test/tauri-134-850 2026-07-17 11:22:43 +02:00
7w1 7b60c45ec5 Fix unnecessary livekit support checks (#1099)
<!-- 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. -->

Allows users without livekit backends setup to join existing calls again

#### 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:

- [ ] 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-16 22:37:10 -05:00