Skip to content

fix(#521): Optional: one-click video conference link (opt-in) - #620

Merged
BeSovereign merged 1 commit into
mainfrom
fix/issue-521
Oct 20, 2026
Merged

BeSovereign merged 1 commit into
mainfrom
fix/issue-521

Conversation

@BeSovereign

Copy link
Copy Markdown
Contributor

Refs #521

Added an opt-in, per-user Jitsi server setting (off by default; saving it asks first and names the server) and a 'Videokonferenz hinzufügen' button in the event dialog that adds a random room link with no request to anyone, saved as an RFC 7986 CONFERENCE property plus a line in the description. Choices I made: the setting is per user, the server field is pre-filled with https://meet.jit.si, room names are 'freeshard-' plus 20 random characters, only the standard CONFERENCE property is written, and dial-in CONFERENCE entries are kept. I could not run the red phase myself because reverting the fix was blocked by permissions.

Driver gates (measured, not claimed)

  • Suites: lint: 1 passed, 0 failed | node: 2000 passed, 0 failed | python: 194 passed, 0 failed | e2e: 324 passed, 0 failed
  • Red/green check on declared tests: server/test/issue521_video_conference.test.js, e2e/issue521_video_conference.spec.js, server/test/issue498_task_view_preference.test.js, server/test/issue509_secondary_timezone.test.js, server/test/issue517_week_numbers_preference.test.js
red/green output
RED without the change:
─────────────────────────────────────────────────

    Error Context: test-results/issue521_video_conference--452ce-ENCE-and-in-the-description-chromium/error-context.md

    attachment #3: trace (application/zip) ─────────────────────────────────────────────────────────
    test-results/issue521_video_conference--452ce-ENCE-and-in-the-description-chromium/trace.zip
    Usage:

        npx playwright show-trace test-results/issue521_video_conference--452ce-ENCE-and-in-the-description-chromium/trace.zip

    ────────────────────────────────────────────────────────────────────────────────────────────────

  1 failed
    [chromium] › e2e/issue521_video_conference.spec.js:20:1 › Issue #521 — "Videokonferenz hinzufügen" only after opt-in; the link is saved as CONFERENCE and in the description 


GREEN with the change:
..
    # Subtest: a foreign conference link with a script scheme is not passed on
    ok 4 - a foreign conference link with a script scheme is not passed on
      ---
      duration_ms: 0.265599
      ...
    # Subtest: an invalid link is refused when writing
    ok 5 - an invalid link is refused when writing
      ---
      duration_ms: 0.35787
      ...
    1..5
ok 5 - Issue \#521 — CONFERENCE property (RFC 7986)
  ---
  duration_ms: 7.683188
  ...
1..5
# tests 30
# suites 0
# pass 30
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 2769.94635


Running 1 test using 1 worker

  ✓  1 [chromium] › e2e/issue521_video_conference.spec.js:20:1 › Issue #521 — "Videokonferenz hinzufügen" only after opt-in; the link is saved as CONFERENCE and in the description (5.4s)

  1 passed (8.0s)

🤖 Generated with Claude Code

Added an opt-in, per-user Jitsi server setting (off by default; saving it asks first and names the server) and a 'Videokonferenz hinzufügen' button in the event dialog that adds a random room link with no request to anyone, saved as an RFC 7986 CONFERENCE property plus a line in the description. Choices I made: the setting is per user, the server field is pre-filled with https://meet.jit.si, room names are 'freeshard-' plus 20 random characters, only the standard CONFERENCE property is written, and dial-in CONFERENCE entries are kept. I could not run the red phase myself because reverting the fix was blocked by permissions.

Refs #521

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@BeSovereign

Copy link
Copy Markdown
Contributor Author

Security review (claude-fable-5-1): no blocking finding. No blocking findings. Validation runs on both event routes and inside eventToICS (covers occurrence overrides); read path filters non-http(s) CONFERENCE; preference URL is normalised, credential/query/fragment-free, per user, never fetched server-side; CSRF guard applies; tests fail if checks are removed. Gaps: isNoOpEventSave (ical.js:1938-2054) and SERIES_FIELD_KEYS (ical.js:2060) ignore conference, so a link-only change/removal can be dropped while the API reports success; isConferenceUrl (ical.js:269) lets C1 controls like U+0085 through (no verified parser split); per-event URL allows userinfo/query unlike the preference; duplicate keeps the same room.

@BeSovereign
BeSovereign merged commit 0054b60 into main Oct 20, 2026
5 checks passed
@BeSovereign
BeSovereign deleted the fix/issue-521 branch October 20, 2026 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant