Commit Graph

113 Commits

Author SHA1 Message Date
enki a264351fea Discord-style ||spoiler|| syntax + SPOILER_ media filenames (Android interop)
- ||text|| in outgoing messages/edits becomes <span data-mx-spoiler> (MSC2010),
  matching what Blap Android sends; code/pre spans are left alone
- spoiler media uploads get the Discord SPOILER_ filename prefix (the only
  marker the Rust SDK on Android can produce) and isSpoilerMedia honors it

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-25 12:50:02 -07:00
enki badbd8f0f7 release script: require the tag to exist before creating a release
Letting the release API auto-create the tag leaves a forge-only tag the
push-mirror prunes on its next sync — and Forgejo demotes the release
to a hidden draft when its tag disappears (this made v1.0.2 vanish from
the releases page overnight). Fail with instructions instead.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-11 09:36:14 -07:00
enki 8a26cdca8c desktop: fix auto-update feed — Codeberg has no /releases/latest/download route
Forgejo/Codeberg 404s the GitHub-style latest/download path, so the feed
baked into app-update.yml never worked (1.0.0/1.0.1 never saw updates).
Point it at a rolling release on the fixed tag "updates" instead, and
make release-codeberg.mjs sync latest.yml + the Windows installer to
that release on every ship (channel files always replaced; curl retries
added).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-10 20:37:27 -07:00
enki 3439d61fe0 Bump version to 1.0.2
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-10 19:40:39 -07:00
enki 955b3ea71d desktop: revert screenshare to video-only capture
The 1.0.1 loopback-audio request broke Windows screenshare entirely;
we don't need Windows audio, so go back to plain {video}.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-10 19:40:31 -07:00
enki 7445a9d4e4 Fix updater: resolve latest via Codeberg API, not the broken /latest/ alias
Codeberg does not serve the `/releases/latest/download/<file>` alias (404s); only
tag-specific `/releases/download/<tag>/<file>` URLs work. The update feed baked into
the app used the alias, so update checks never resolved on any platform.

Now both the Linux notifier and the Windows electron-updater resolve the newest
release via the Codeberg API (`/releases/latest` -> tag_name) and build the working
tag-specific feed URL from it (setFeedURL for electron-updater).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-02 12:22:41 -07:00
enki 0601e50778 Blap 1.0.1: desktop screen-share audio + release tooling
- Desktop: capture system audio with the shared screen via Electron "loopback"
  audio, gated to Windows/macOS (Electron doesn't support loopback on Linux).
  Fixes screen shares having no audio for Windows users.
- release script: make it host-agnostic (FORGE_API/OWNER/REPO/TOKEN env) so it
  can publish to the git.utn.lol Gitea as well as Codeberg. Defaults unchanged.
- Bump version to 1.0.1.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-02 11:20:30 -07:00
enki 5ccd85c8a9 release-codeberg: resume interrupted uploads
Skip release assets already uploaded at the same size instead of deleting and
re-uploading everything, so a re-run picks up where it left off.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-02 08:51:52 -07:00
enki d649ec645f Blap README + curl-based release uploads
- Replace the element-web README with a Blap one (downloads/updating/building).
- release-codeberg: upload assets via curl instead of Node fetch, which times
  out (UND_ERR_HEADERS_TIMEOUT) on 300MB+ files.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-30 21:31:23 -07:00
enki fb649be700 release-codeberg: upload all installers for the current version
Docker / Docker Buildx (push) Has been cancelled
Build Debian package / Build package (release) Has been cancelled
Build and Deploy / prepare (release) Has been cancelled
Build and Deploy / Trigger Pro pipeline (release) Has been cancelled
Build and Deploy / Windows arm64 (release) Has been cancelled
Build and Deploy / Windows x64 (release) Has been cancelled
Build and Deploy / macOS (release) Has been cancelled
Build and Deploy / Linux amd64 (sqlcipher static) (release) Has been cancelled
Build and Deploy / Linux arm64 (sqlcipher static) (release) Has been cancelled
Build and Deploy / ${{ needs.prepare.outputs.deploy == 'true' && 'Deploy' || 'Deploy (dry-run)' }} (release) Has been cancelled
Build and Deploy / Deploy builds to ESS (release) Has been cancelled
Deploy release / Deploy to Cloudflare Pages (release) Has been cancelled
Include deb/flatpak/pacman/tar.gz (not just the Windows exe) so the release page
has every platform's download for the Linux update-ping to link to. Filter by
version so leftover artifacts from older builds in dist/ aren't uploaded.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-30 20:55:29 -07:00
enki c9f73c26fa Packaging: build targets + Linux update-ping (v1.0.0)
- electron-builder: linux targets = deb, flatpak, tar.gz, pacman; win = nsis.
- updater.ts: Linux is notify-only (deb/pacman are package-manager owned,
  flatpak is sandboxed) — reads the same Codeberg feed as Windows and shows a
  "Blap X is available" desktop notification linking to HOW-TO-UPDATE.md.
  Windows/macOS keep electron-updater in-place install.
- HOW-TO-UPDATE.md: per-format update instructions.

Version stays 1.0.0.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-30 20:53:46 -07:00
enki aa8a765cf7 chore(desktop): set Blap version to 1.0.0
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-29 21:45:32 -07:00
enki 5b9d457704 Blap reskin: social UI, fixes, and update/release pipeline
Fork of element-web v1.12.22 reskinned as "Blap", a Discord-style social
Matrix client. Visual fork only: calls stay on the Element Call widget.

UI / reskin:
- yap CSS overlay (_yap.pcss) wired into the dark theme @layer; fonts, surfaces
- spaces rail icon-only with the collapse mechanism removed
- YapRoomList with manual drag-and-drop ordering (works in Home; drop-to-bottom)
- Discord-style inline message timestamps next to the sender name
- image lightbox toolbar visibility; themed context menus + toasts
- bridges panel + call facepile
- login screen rebuilt to the Blap design (centered card, accent buttons)
- accent (purple) primary buttons app-wide via Compound token overrides

Desktop / distribution:
- updater.ts switched Squirrel -> electron-updater (NSIS); Codeberg generic feed
- scripts/release-codeberg.mjs uploads artifacts to the Codeberg release
- Blap build variant (apps/desktop/blap/build.json, appId lol.utn.blap)

Calls (visual-only via widget API):
- "join with camera off" device setting + Voice settings toggle

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-29 21:37:49 -07:00
RiotRobot 94636e8d4d v1.12.22 2026-06-23 13:31:56 +00:00
RiotRobot 4920d6c8c6 v1.12.22-rc.0 2026-06-16 13:16:34 +00:00
renovate[bot] dd103f7a27 Update electron-builder to v26.15.2 (#33819)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-11 13:06:13 +00:00
Michael Telatynski 2d24778214 Fix modules dir tsc not running in CI (#33811)
* Fix modules dir tsc not running in CI

* Switch to nx run-many for ci task

This has smarter scheduling logic for dependant tasks
2026-06-11 10:37:47 +00:00
Michael Telatynski e9a89d9872 Consolidate vitest CI & coverage (#33808)
* Consolidate modules vitest coverage

* Use vite-common as base for modules vitest config

* Make knip happier

* Fix coverage paths

* Place modules unit tests alongside src

* Switch to defineProject for better type safety

* Consolidate vitest CI & coverage

Kills off vite-common

* Update comment

* Update lockfile

* Fix shared-components vitest config

* Soften eslint config for tests in modules

* Run eslint on modules/playwright dir too

* Make tsc happy
2026-06-10 16:00:34 +00:00
renovate[bot] 042ded86c7 Update electron-builder to v26.15.1 (#33741)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-10 11:12:54 +00:00
Michael Telatynski a74add6fbd Merge branch 'develop' of ssh://github.com/element-hq/element-web into t3chguy/merge-modules
# Conflicts:
#	pnpm-lock.yaml
2026-06-09 14:05:01 +01:00
RiotRobot ce4167d3b4 Merge branch 'master' into develop 2026-06-09 13:01:56 +00:00
RiotRobot 1829f52448 v1.12.21 2026-06-09 12:58:28 +00:00
Michael Telatynski eaccc01687 Merge branch 'develop' of ssh://github.com/element-hq/element-web into t3chguy/merge-modules
# Conflicts:
#	pnpm-lock.yaml
#	pnpm-workspace.yaml
2026-06-09 12:39:57 +01:00
renovate[bot] 47fe4ba4d0 Update electron to v42.3.3 (#33791)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-09 09:35:06 +00:00
Michael Telatynski 4825a5a4a4 Tidy deps 2026-06-08 10:33:09 +01:00
RiotRobot c27bf50d0b v1.12.21-rc.2 2026-06-03 14:03:37 +00:00
renovate[bot] ce69e07620 Update nodenv non-major dependencies to v24.16.0 (#33711)
* Update nodenv non-major dependencies to v24.16.0

* Workaround for https://github.com/electron/electron/issues/51619

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2026-06-03 10:24:14 +00:00
renovate[bot] 3f0878eeb7 Update electron to v42.3.0 (#33701)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-03 08:58:03 +00:00
renovate[bot] ceac6c5010 Update rust:bullseye Docker digest to ae411a6 (#33717)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-02 16:36:51 +00:00
RiotRobot 1ae3038bf0 v1.12.21-rc.1 2026-06-02 16:32:20 +00:00
renovate[bot] 8788c1aed1 Update electron-builder to v26.12.1 (#33702)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-02 16:03:20 +00:00
RiotRobot d478b80d99 v1.12.21-rc.0 2026-06-02 15:41:08 +00:00
Michael Telatynski 35484e5183 Switch to using diff-cover for the Coverage gate (#33673)
* Switch to using diff-cover for the Coverage gate

Enabling developers to check their PR coverage without waiting for CI

* Remove sonar-project.properties - in automatic mode Sonar will not read this file

* Add note to CONTRIBUTING.md

* Skip sonar in MQ
2026-06-01 12:26:03 +00:00
renovate[bot] 1fb6b778e7 Update pnpm to v11 (#33573)
* Update pnpm to v11

* Handle breaking changes

* Attach pnpm hash

* Remove redundant packageManager fields

* Make lint-staged happy

* Lockfile pnpm itself too

* Update pnpm/action-setup for better v11 compatibility

* Specify types to make tsc happier

* Fix permissions

* Check ulimit

* Specify minimumReleaseAgeExclude

* Run desktop tests

* Revert "Run desktop tests"

This reverts commit 911eb0ba2e9237d4b28e3bdaaf8f10ba6f22e827.

* Revert "Check ulimit"

This reverts commit f09eb59d715ba30a2e7fc5dba17dde092bd9bf17.

* Reapply "Check ulimit"

This reverts commit 83227c19ff5d07db91b6586f407f56870b00c041.

* Run desktop tests

* Switch nodeLinker & remove app-builder-lib patch

* Fix webpack.config.ts

* Fix .stylelintrc.cjs

* Fix `events` package

* Makes types happier

* Make knip happy

* Fix hak build

* Make jest happy

* Make pnpm-link happy

* Remove dead file

* Run playwright tests

* Fix linux hak permissions in ci

* Test

* Remove ulimit checks

* Disable skip

* Update nx

* Tweak line endings

* Update screenshot

* Iterate

* Webpack fallback `events`

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2026-05-29 08:26:59 +00:00
Michael Telatynski 7408796362 Fix element desktop dockerbuild utilities (#33641)
Got broken by monorepo merge
2026-05-28 09:53:29 +00:00
renovate[bot] efeef6cd84 Update electron-builder to v26.11.1 (#33563)
* Update electron-builder to v26.11.1

* Update patch

* Make tsc happy

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2026-05-27 13:50:12 +00:00
RiotRobot 3c6233c3a3 Merge branch 'master' into develop 2026-05-27 13:49:41 +00:00
RiotRobot 5d36492432 v1.12.20 2026-05-27 13:46:37 +00:00
ElementRobot 2bf14fbc80 Realign the User Menu profile picture on desktop (#33633) (#33634)
The button already shoves itself left so we don't need the macos
style to do so as well.

(cherry picked from commit 0d8ebf48fa)

Co-authored-by: David Baker <dbkr@users.noreply.github.com>
2026-05-27 14:42:22 +01:00
David Baker 0d8ebf48fa Realign the User Menu profile picture on desktop (#33633)
The button already shoves itself left so we don't need the macos
style to do so as well.
2026-05-27 12:33:47 +00:00
RiotRobot 00daa1c621 v1.12.19 2026-05-27 08:01:57 +00:00
RiotRobot 4b03bb2303 Merge branch 'master' into develop 2026-05-27 08:05:04 +00:00
renovate[bot] 5a2f246577 Update electron (#33562)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-23 21:32:32 +00:00
renovate[bot] 1a78597e72 Update pnpm to v10.33.4 (#33558)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-23 19:38:40 +00:00
renovate[bot] 6574863fcd Update rust:bullseye Docker digest to 28afaeb (#33550)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-22 17:22:21 +00:00
renovate[bot] 63c2bb5aab Update playwright to v1.60.0 (#33565)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-22 11:44:06 +01:00
RiotRobot 4a101ddebd v1.12.19-rc.0 2026-05-19 14:44:41 +00:00
Richard van der Hoff b51891ae2a Update dependency matrix-seshat to v4.3.0 (#33526)
Seshat 4.3.0 improves some error messages, which I hope will help resolve https://github.com/element-hq/element-web/issues/33501.

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-18 16:51:44 +00:00
RiotRobot 76950cf863 Merge branch 'master' into develop 2026-05-12 13:20:24 +00:00
RiotRobot dc0dbd540b v1.12.18 2026-05-12 13:17:09 +00:00