Commit Graph
82 Commits
Author SHA1 Message Date
Claudeandjared 58791930db fix(csp): allow Mixcloud, Deezer, and Steam iframe embeds in desktop app
Build Lotus Chat Desktop / prepare (push) Successful in 15s
Build Lotus Chat Desktop / build-linux (push) Successful in 26m57s
Build Lotus Chat Desktop / build-windows (push) Successful in 29m50s
Build Lotus Chat Desktop / update-manifest (push) Successful in 4s
The Tauri frame-src is an enumerated allowlist (unlike the permissive web CSP
`frame-src 'self' https:`), so embeds whose host isn't listed render as a
blank box in the desktop app with no visible error. Adds the two new music
providers (www.mixcloud.com, widget.deezer.com) and store.steampowered.com,
whose Steam widget shipped earlier but was already blank on desktop.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-24 23:43:14 -04:00
jaredandClaude Opus 4.8 527ebd200d fix(csp): allow Bluesky/Loom/Kick embeds in frame-src
Build Lotus Chat Desktop / prepare (push) Successful in 5s
Build Lotus Chat Desktop / build-linux (push) Successful in 24m21s
Build Lotus Chat Desktop / build-windows (push) Successful in 28m30s
Build Lotus Chat Desktop / update-manifest (push) Successful in 1m6s
Add embed.bsky.app, www.loom.com, player.kick.com.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-07 00:56:08 -04:00
jaredandClaude Opus 4.8 8b37e0c44e fix(csp): allow embed.reddit.com in frame-src
Reddit post embeds moved from www.redditmedia.com to embed.reddit.com.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-07 00:56:08 -04:00
jaredandClaude Opus 4.8 54c27a49ba fix(csp): allow Instagram/Tidal/Reddit embeds in frame-src
Build Lotus Chat Desktop / prepare (push) Successful in 4s
Build Lotus Chat Desktop / build-linux (push) Successful in 25m14s
Build Lotus Chat Desktop / build-windows (push) Successful in 29m18s
Build Lotus Chat Desktop / update-manifest (push) Successful in 4s
Add www.instagram.com, embed.tidal.com, www.redditmedia.com for the new inline
media embeds.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-06 23:05:32 -04:00
jaredandClaude Opus 4.8 f9e07434df fix(csp): allow X/Twitter post + Apple Music embeds in frame-src
Build Lotus Chat Desktop / prepare (push) Successful in 3s
Build Lotus Chat Desktop / build-linux (push) Successful in 23m48s
Build Lotus Chat Desktop / build-windows (push) Successful in 25m9s
Build Lotus Chat Desktop / update-manifest (push) Successful in 9s
Add platform.twitter.com (interactive tweet embed) and embed.music.apple.com
(Apple Music player) to the webview frame-src.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-06 20:24:24 -04:00
jaredandClaude Opus 4.8 5916f2f353 fix(csp): allow TikTok/Twitch/Dailymotion/Streamable/Spotify/SoundCloud embeds
Extend webview frame-src for the newly-added inline media players: www.tiktok.com,
www.dailymotion.com, geo.dailymotion.com, streamable.com, player.twitch.tv,
clips.twitch.tv, open.spotify.com, w.soundcloud.com.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-06 20:24:24 -04:00
jaredandClaude Opus 4.8 3af04491b2 fix(csp): allow YouTube/Vimeo embed iframes in frame-src
Lotus Chat now plays YouTube/Vimeo links inline; the webview CSP frame-src was
'self' blob: openstreetmap only, which blocked the embed players. Add
youtube-nocookie.com, youtube.com, and player.vimeo.com.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-06 20:24:24 -04:00
jaredandClaude Opus 4.8 1c05ef6a7a fix(config): drop the __csp_notes field — Tauri config schema is strict
Build Lotus Chat Desktop / prepare (push) Successful in 5s
Build Lotus Chat Desktop / build-linux (push) Successful in 23m28s
Build Lotus Chat Desktop / build-windows (push) Successful in 23m28s
Build Lotus Chat Desktop / update-manifest (push) Successful in 8s
`app.security.__csp_notes` failed `tauri.conf.json` schema validation
("Additional properties are not allowed") on BOTH platforms before any
compile. JSON can't hold comments and Tauri forbids extra keys, so the
rationale lives here instead:

CSP rationale (audit 2026-07): tightened from the fully-open policy.
- 'unsafe-eval' MUST stay: the native→web bridge (forward_deeplink /
  emit_to_web) uses window.eval, governed by page CSP; also covers crypto wasm.
- The sha256 hash allowlists the single inline `window.global ||= window;`
  shim in cinny's index.html (~line 96). If that snippet or its indentation
  changes, recompute the hash or the shim is silently blocked.
- connect-src / img-src / media-src keep http: (plain-http homeservers).
- Review-added: Google Fonts (VT323) + OpenStreetMap iframe (m.location).
- style-src keeps 'unsafe-inline' for React style attributes.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-02 09:37:31 -04:00
jaredandClaude Opus 4.8 706b02545d fix(security): tighten the webview CSP (was fully open)
script-src drops unsafe-inline/blob/data/http/https (any-origin script exec is
gone); the single inline shim in index.html is hash-pinned; object-src 'none',
base-uri 'self'. Kept deliberately: 'unsafe-eval' (the window.eval native→web
bridge + crypto wasm), broad connect-src (arbitrary homeservers), http: in
img/media (plain-http homeservers), and review-added allowances for Google
Fonts (VT323) and the OpenStreetMap location iframe.

NEEDS RUNTIME SMOKE ON WINDOWS before release (CI can't catch CSP breakage):
boot, avatars/media, VT323 renders, location map embeds, calls connect, deep
links navigate.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-02 08:49:07 -04:00
jaredandClaude Fable 5 5da2069eba feat: Windows-native desktop polish (tray, single-instance, deep links, Mica, installer)
Build Lotus Chat Desktop / prepare (push) Successful in 3s
Build Lotus Chat Desktop / build-linux (push) Failing after 14m12s
Build Lotus Chat Desktop / build-windows (push) Failing after 22m14s
Build Lotus Chat Desktop / update-manifest (push) Has been skipped
- System tray with Open/Quit menu + left-click toggle; closing the window now
  minimizes to tray instead of quitting, so notifications keep arriving.
- Single-instance: a second launch focuses the running window (and forwards a
  matrix: link) instead of colliding on the localhost port.
- Window: 1100x720 default, 480x600 min, centered first run; starts hidden and
  shows on page-load to kill the white launch flash (8s failsafe).
- matrix: deep links via tauri-plugin-deep-link -> dispatched to the web client
  (useDeepLinkNavigate) for both cold-start and already-running cases.
- Windows 11 Mica backdrop (subtle; app paints opaque TDS bg).
- NSIS installer: per-user install (no UAC), downloadBootstrapper.
- Remove dead/broken src/menu.rs.
- Bump cinny submodule to 053b364a (deep-link web handler).

Note: Rust not compiled locally (no toolchain / Windows-only paths); verified by
careful API review against tauri 2.10 — needs a real 'tauri build' to confirm.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-13 18:52:37 -04:00
jaredandClaude Sonnet 4.6 838c69f46e fix(windows): grant microphone and camera permissions in WebView2
WebView2 silently denies getUserMedia() unless a PermissionRequested
handler explicitly allows it. macOS was already covered by Info.plist;
Windows had nothing. Adds a COM event handler via with_webview that
auto-approves mic and camera requests so Element Call voice/video
works in the desktop app.

Also includes previously uncommitted changes:
- tauri.conf.json: add media-src / mediastream: to CSP
- Info.plist: macOS NSMicrophoneUsageDescription / NSCameraUsageDescription

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-09 18:27:12 -04:00
jared 8f0f8db201 Rename to Lotus Chat, point updater at our release manifest
Build Lotus Chat Desktop / build-windows (push) Has been cancelled
Build Lotus Chat Desktop / build-linux (push) Has been cancelled
2026-06-07 13:13:32 -04:00
KrishanandGitHub 36887eaf40 chore: Release v4.12.2 (#580)
Release v4.12.2
2026-05-23 23:18:03 +10:00
KrishanandGitHub 2b61520524 fix: update CSP to allow reordering rooms inside space (#579)
* fix: update CSP to allow reordering rooms inside space

Fixes https://github.com/cinnyapp/cinny/issues/2949

* disable native dnd in windows configuration

* Disable drag and drop for main webview window in lib.rs

* Remove dragDropEnabled setting from tauri.conf.json

* Replace drag_drop_enabled with disable_drag_drop_handler
2026-05-23 21:52:14 +10:00
KrishanandGitHub 8b7bced138 chore: Release v4.12.1 (#577)
chore: release v4.12.1
2026-05-15 19:16:31 +10:00
Shenwei WangandGitHub a396a54f90 fix: modify CSP to allow connect-src blob (#549)
* Modify CSP to allow connect-src blob

Updated Content Security Policy to include 'blob' in connect-src.

Fixing #548

* chore(ci): Disable Updater for Fork PRs

* fix: disable createUpdaterArtifacts for fork PRs

* fix: always disable createUpdaterArtifacts

* fix: fix typos
2026-03-17 23:57:32 +11:00
KrishanandGitHub d2b51ee0e6 chore(release): v4.11.2 [skip ci] (#543) 2026-03-12 01:10:36 +11:00
KrishanandGitHub 8da44b2b88 chore(release): v4.11.1 [skip ci] (#541) 2026-03-12 00:35:57 +11:00
KrishanandGitHub fcd638bc1c fix: duplicate window creation and CSP issues (#540) 2026-03-12 00:23:50 +11:00
KrishanandGitHub d15e86a176 Update Tauri from v1 to v2 (#496)
* Upgrade tauri to v2

* update action and disable menu

* Add args to workflow step in test.yml

* Rename environment variables for Tauri signing

* Change mainBinaryName from 'Cinny' to 'cinny'

* Update linux file names to use 'Cinny' instead of 'cinny'

* Upgrade Tauri action to v0.6.1 and fix targets

Updated Tauri action version and corrected target specification.
2026-03-03 23:16:04 +11:00
KrishanandGitHub 92b4f91c6b Release v4.10.5 (#524) 2026-02-23 23:16:03 +11:00
KrishanandGitHub 7ae56af131 Release v4.10.4 (#523)
* Release v4.10.4

* bump cinny submod
2026-02-23 22:48:07 +11:00
KrishanandGitHub fb6dc8ba9a Release v4.10.3 (#510) 2026-02-16 22:51:29 +11:00
KrishanandGitHub b102ceba08 Release v4.10.2 (#481) 2025-11-05 18:22:29 +11:00
KrishanandGitHub 22f7d58c9f Release v4.10.1 (#471) 2025-09-29 14:50:30 +10:00
KrishanandGitHub fbc7071696 Release v4.10.0 (#466)
* Release v4.10.0

* bump cinny submodule
2025-08-31 21:24:20 +10:00
KrishanandGitHub f127a1474b Release v4.9.1 (#463) 2025-08-17 21:28:42 +10:00
KrishanandGitHub 8b293cfd51 Release v4.9.0 (#462)
* Release v4.9.0

* bump cinny sub module
2025-08-13 12:25:53 +10:00
Ajay BuraandGitHub e34faf7f6c Release v4.8.1 (#454) 2025-06-11 00:00:17 +10:00
Ajay BuraandGitHub b4a9779f9d Release v4.8.0 (#452)
* Release v4.8.0

* update cinny submodule
2025-05-24 21:28:06 +05:30
Ajay BuraandGitHub 22489e880f Release v4.7.1 (#450)
* Release v4.7.1

* update cinny submodule
2025-05-21 17:46:13 +05:30
Ajay BuraandGitHub 77952f5c58 Release v4.7.0 (#448) 2025-05-18 12:50:02 +05:30
KrishanandGitHub 2329d2c55c Release v4.6.0 (#441)
* Release v4.6.0

* bump cinny submodule
2025-03-31 23:37:13 +11:00
KrishanandGitHub fe40597eac Release v4.5.1 (#428)
* Release v4.5.1

* bump cinny submodule
2025-03-05 13:38:28 +11:00
KrishanandGitHub de29f8a49e Release v4.5.0 (#425)
* Release v4.5.0

* bump cinny submodule
2025-03-04 17:53:14 +11:00
KrishanandGitHub ab3ca3ead4 Release v4.4.0 (#420)
* Release v4.4.0

* bump cinny submodule
2025-02-23 23:39:58 +11:00
KrishanandGitHub 90af6493d5 Release v4.3.2 (#419)
* Release v4.3.2

* bump cinny submodule
2025-02-17 12:10:11 +11:00
KrishanandGitHub c25f7e5afb Release v4.3.1 (#416) 2025-02-11 22:02:44 +11:00
KrishanandGitHub e8837ef50e Release v4.3.0 (#414)
* Release v4.3.0

* update cinny submodule
2025-02-11 17:11:31 +11:00
KrishanandGitHub 05ce94884a Release v4.2.3 (#391)
* Release v4.2.3

* update cinny submodule
2024-11-12 20:49:57 +11:00
KrishanandGitHub 792837b02b Release v4.2.2 (#379)
* Release v4.2.2

* Bump cinny submodule
2024-10-16 21:34:13 +11:00
KrishanandGitHub 5acc9eb615 Release v4.2.1 (#346)
* Release v4.2.1

* update cinny submodule
2024-09-14 23:29:09 +10:00
KrishanandGitHub 2ed0e8e532 Update screen size to more usable (#347) 2024-09-14 21:44:11 +10:00
KrishanandGitHub db5a2dbe01 Release v4.2.0 (#343) 2024-09-12 00:31:46 +10:00
KrishanandGitHub 8a29f48092 Release v4.1.0 (#328) 2024-08-04 20:24:34 +10:00
KrishanandGitHub 2ff11d65e7 Release v4.0.3 (#315) 2024-07-25 16:04:16 +10:00
KrishanandGitHub e8f5c4ce24 Undo system tray and single instance (#312)
* Revert 5872ab9

* Undo 095b8fc
2024-07-25 14:15:59 +10:00
Krishan f36934a796 Release v4.0.1 2024-07-25 00:20:22 +10:00
Krishan 2c4b96e9ed Release v4.0.0 2024-07-24 23:07:18 +10:00
Krishan 6f83708511 Release v3.2.1 2023-11-01 21:53:00 +11:00