Commit Graph
62 Commits
Author SHA1 Message Date
Erwan Leboucher bdfa905721 fix(webkit): declare the host libraries the runtime actually needs
Derived by auditing the bundled runtime inside Ubuntu, Debian and Fedora
containers with a desktop package set, rather than assuming. The engine
needs libXtst, libXScrnSaver, libatomic, harfbuzz-icu, nghttp2, rsvg, psl,
tasn1, wayland-client/egl and xcb from the host, and none of them were
declared.

Also re-pins the runtime at run 13112.
2026-08-18 18:32:17 +02:00
Erwan Leboucher c9dc4ccde6 fix(webkit): keep the host's GStreamer plugins out of the bundled runtime
Setting only GST_PLUGIN_SYSTEM_PATH_1_0 left GST_PLUGIN_PATH_1_0 unset, so
the host-probing block below filled it with /usr/lib/gstreamer-1.0. Those
plugins then loaded against the bundle's older GStreamer core and failed on
missing symbols, and one pulled in libsoup2 alongside WebKit's libsoup3,
aborting the web process and leaving the window blank.

Also drops the WebKit runtime cache step. CodeQL flagged it as cache
poisoning reachable from workflow_dispatch, and caching a binary runtime we
then ship is exactly the wrong thing to key on a file hash. The artifact is
a 131 MB download that takes seconds.
2026-08-18 15:26:53 +02:00
Erwan Leboucher 71c9e4a6bc fix(webkit): pin the built runtime and fix the manifest read
Points at run 13100, the first portable build carrying the relocation patch.

fetch.sh could never have worked: node wrote the manifest fields without a
trailing newline, so read returned 1 at EOF and set -e killed the script
before it printed anything. Every earlier test had bypassed fetch.sh via
SABLE_WEBKIT_RUNTIME_DIR.
2026-08-18 14:34:09 +02:00
Erwan Leboucher af0121c7fd feat(linux): embed a WebRTC-enabled WebKitGTK in wry builds
Stock WebKitGTK ships without ENABLE_WEB_RTC on most distros, so wry Linux
builds cannot place calls. Bundle the portable runtime built by the
webkitgtk-webrtc pipeline next to the binary instead of relying on the host.

scripts/webkit mirrors scripts/cef: fetch the pinned artifact, stage it into
webkit/ beside the binary, and package deb/rpm/AppImage from there. build.rs
adds the matching rpath and main.rs points the helper processes and GStreamer
at the bundle, all inert when it is absent.

copy-libs.sh refuses a runtime built without relocatable-exec-path.patch or
with a glibc floor above the host's, since both fail silently at runtime.

The CI job builds and uploads wry bundles as artifacts only; CEF stays the
shipped Linux path.
2026-08-18 10:49:42 +02:00
Erwan Leboucher ba242c9bf5 feat(tauri): build arm64 Linux desktop bundles 2026-08-15 18:00:59 +02:00
Erwan Leboucher 52d4004b0a fix: hide desktop updater when disabled 2026-08-14 15:22:21 +02:00
Erwan Leboucher 49e9789c9b fix: disable updater in Linux packages 2026-08-13 14:47:32 +02:00
Erwan Leboucher bb9089628c test(e2e): stabilize mobile timeline navigation (#1755) 2026-08-13 10:54:38 +02:00
Erwan Leboucher cd9f934e6d test(e2e): isolate accounts for parallel workers 2026-08-13 10:48:26 +02:00
Erwan Leboucher 6097f81592 feat(call): add native calls 2026-08-13 08:25:37 +02:00
Erwan Leboucher 3e2e322f20 fix: package CEF releases without goreleaser 2026-08-12 11:56:33 +02:00
Erwan Leboucher a1c764a147 fix: package CEF releases without goreleaser 2026-08-12 11:31:40 +02:00
Erwan Leboucher 38d4e466b6 fix: make Linux distribution work via GoReleaser, drop nfpm config 2026-08-11 20:38:43 +02:00
Erwan Leboucher 404d7e27d3 feat: add multi-channel distribution via GoReleaser + nfpm 2026-08-11 20:37:42 +02:00
Erwan Leboucher 6820d54eb1 feat(settings): add runtime app icon selection 2026-08-08 15:02:02 -05:00
Erwan Leboucher e155fdb1dc fix: use Alloy CEF media permissions 2026-08-04 19:54:55 +02:00
Erwan Leboucher e41569b31d revert: bundle PulseAudio for CEF 2026-08-04 14:51:53 +02:00
Erwan Leboucher 5595ed14c1 feat(android): add a one-tap Obtainium button for the nightly channel 2026-08-04 11:10:04 +02:00
Erwan Leboucher 92e868890e feat(android): publish an Obtainium app config with each release 2026-08-04 10:19:43 +02:00
Erwan Leboucher 8bd58334ef fix(linux): bundle PulseAudio for CEF 2026-07-30 11:03:24 +02:00
Erwan Leboucher 852dd7fe9b fix(linux): refresh CEF runtime cache 2026-07-27 23:14:31 +02:00
7w1 2a372dfc25 lint 2026-07-26 12:27:43 -05: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 79480169a6 fix(ci): mark task scripts executable for mise discovery 2026-07-25 11:42:23 +02:00
7w1 d49deac7ac fix appimage 2026-07-24 23:33:42 -05:00
7w1 2092616d97 make sure app images are uploaded 2026-07-24 23:25:45 -05:00
7w1 ccb2d36866 fix workflows again please work 2026-07-24 21:37:10 -05:00
hazre 989a83bb5f fix: tauri script being unreliable through mise
Signed-off-by: hazre <[email protected]>
2026-07-24 19:46:11 -05:00
hazre 37d537bf0b fix: invalid script path in package.json
Signed-off-by: hazre <[email protected]>
2026-07-24 19:46:11 -05:00
hazre 575ffdcab9 chore: make tauri.js pass through to tauri cli
Signed-off-by: hazre <[email protected]>
2026-07-24 19:46:11 -05:00
hazre 8d47de118a chore(mise): define tauri packages
Signed-off-by: hazre <[email protected]>
2026-07-24 19:46:11 -05:00
hazre 11ed5b30dd fix: knipe issues
Signed-off-by: hazre <[email protected]>
2026-07-24 19:46:11 -05:00
hazre 8fe259dacd chore(scripts): replace fpm with nfpm for deb/rpm packaging
- Add nfpm.yaml declarative config with contents, deps, per-packager overrides
- Replace fpm CLI invocations in package.sh with nfpm pkg
- Manage appimagetool and nfpm via mise file task tools
- Remove manual appimagetool download + sha256 verification
- Fix stale paths from scripts/cef/ move (ROOT, copy-libs reference, usage)
- Add version extraction guard and appimagetool availability check

Signed-off-by: hazre <[email protected]>
2026-07-24 19:43:04 -05:00
hazre b7b5deb65e chore(mise): add task definitions and reorganize scripts
Signed-off-by: hazre <[email protected]>
2026-07-24 19:43:04 -05:00
hazre 612aa2f87e chore(scripts): convert shell scripts to cross-platform ESM
Signed-off-by: hazre <[email protected]>
2026-07-24 19:43:04 -05:00
Erwan Leboucher a082264a5c test: add playwright e2e harness with throwaway continuwuity homeserver 2026-07-24 23:56:45 +02:00
7w1 e2040b7082 fix(ci): add updater to linux builds 2026-07-22 10:46:17 -05:00
7w1 9869bf3339 unify naming and clean up press detection and fix selection 2026-07-21 10:59:01 -05:00
7w1 f72eb6cfea fix(ci): update builds to display nightly 2026-07-20 23:23:04 -05:00
Erwan Leboucher a280edd7dd perf(cef): strip binaries and trim locales
strip -s on libcef.so (1.3GB to 241MB), libEGL.so, libGLESv2.so.
Ship only en-US locale (49MB to 570KB) per CEF README.redistrib.txt.

Package sizes: .deb 151MB, .rpm 150MB, AppImage 141MB (was 322MB).
2026-07-20 16:05:30 +02:00
Erwan Leboucher c3cd1aba6b fix(cef): correct deb/rpm deps, drop WebKitGTK, add ALSA/CUPS/xwayland 2026-07-20 14:27:54 +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 5a430d73ff build(cef): compile via pnpm tauri:cef build instead of raw cargo 2026-07-19 20:55:59 +02:00
7w1 5b628ef781 ci: fix build workflows 2026-07-19 13:03:32 -05:00
7w1 2b2d0d1681 ci(tauri): add nightly auto updating 2026-07-19 12:19:37 -05:00
Erwan Leboucher 8f0db81a1a build(cef): package Linux CEF via cef-package.sh, skip tauri's bundler 2026-07-19 17:36:20 +02:00
Erwan Leboucher 87f1728c6e fix(tauri): package full CEF runtime and correct AppImage sandbox handling 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
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
7w1 bed7024ab1 address lint rules & update package.json
via an exclusion and lots of copy paste
as part of that swapped space banner and abbr to use buttons and disabled button styles for them
2026-06-16 18:05:31 -05:00