Commit Graph

14 Commits

Author SHA1 Message Date
Stanko K.R. 5c5821a395 Keep an unsent message as a draft while switching rooms
The composer stores what's being written in localStorage per room and
restores it when the room is opened again. Sending clears it.
2026-09-26 10:38:13 +02:00
Stanko K.R. eab554aa4b Adapt the Lexxy composer to main's link preview hardening
Main strips a javascript: href from a preview node before it's parsed, so
tell legacy Trix attachments apart by their filename instead. escapeHTML
moved to the string helpers, and the unfurling system test now drives
the Lexxy editor.
2026-09-26 09:26:53 +02:00
Stanko K.R. 1bb7ef7c17 Fix Codex's code review comments 2026-09-26 09:13:44 +02:00
Stanko K.R. 9b1602d088 Polish 2026-09-26 09:13:27 +02:00
Stanko K.R. 47bc5f5425 Replace Trix with Lexxy 2026-09-26 09:13:27 +02:00
Rosa Gutierrez 8722057545 Keep one escapeHTML, and make it safe in an attribute
There were two: the one in dom_helpers escaped through a text node, which
leaves double quotes alone, so it could not have closed the hole in the
link preview's img src.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0186eyzivcTn6wqjEE4Wnxdt
2026-09-11 21:10:57 +02:00
Rosa Gutierrez c1ad057db8 Escape the OpenGraph image URL in link previews
Pasting a link builds the preview by interpolating the unfurled metadata
into an HTML string. The image URL went into src="..." unescaped, so a
page whose og:image carries a double quote closes the attribute early and
everything after it becomes attributes on the preview's img element.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0186eyzivcTn6wqjEE4Wnxdt
2026-09-11 21:10:57 +02:00
milos-dukic 336c9ae140 [Logout localhost fix] - fixing an error for logout process on localhost. 2025-10-06 15:14:23 +02:00
Stanko Krtalić c13bd1a4d3 Merge pull request #55 from milos-dukic/event-logger-controller-fix
[ERemove event_logger_controller.js
2025-09-19 14:12:01 +02:00
milos-dukic 5bb257b2d7 [Event Logger Controller fix] - removing the file event_log_controller.js since it is not being used. 2025-09-19 14:07:53 +02:00
milos-dukic baa2bfc713 [Event Logger Controller fix] - renaming the file to event_log_controller.js 2025-09-16 15:02:47 +02:00
Milos Dukic 10569b57a3 Update app/javascript/controllers/notifications_controller.js
Co-authored-by: Chris Oliver <excid3@gmail.com>
2025-09-15 16:24:27 +02:00
milos-dukic 3b31a83ac5 [ServiceWorler fix] - Failed to get a ServiceWorkerRegistration error. 2025-09-15 15:21:04 +02:00
Kevin McConnell df76a227dc Hello world
First open source release of Campfire 🎉
2025-08-21 09:31:59 +01:00