Skip to content

ShortSwitch v1.7.0

Latest

Choose a tag to compare

@belikellwyd belikellwyd released this 18 Nov 19:10
· 1 commit to main since this release

ShortSwitch v1.7.0 — Remote Moderation, Board Image Controls & Activity Regrading

This release expands moderation capabilities, improves real-time Board controls, and adds safe regrading for existing Activity submissions.

Remote Moderation Blocklists

  • Added support for multiple remote moderation blocklist sources.
  • Added Contains, Whole word, and Smart parsing modes.
  • Smart lists support explicit contains: and whole: directives.
  • Added secure synchronization from approved GitHub Raw HTTPS URLs.
  • Added request timeouts, response size limits, rule limits, redirect validation, and private-network protection.
  • Remote lists are cached locally and are never downloaded during individual moderation checks.
  • Failed synchronization preserves the last valid cached rules.
  • Unchanged lists update their check timestamp without replacing cached rules.
  • Added manual and scheduled synchronization.
  • Added synchronization status, error reporting, timestamps, and cached rule previews.
  • Added a responsive administrative Remote Blocklists interface.
  • Added enable, disable, edit, refresh, and delete controls.
  • Remote rules now use the same Unicode-aware moderation engine as local rules.
  • Remote rules apply to supported Live and Boards text moderation paths.
  • Existing local moderation rules remain independent and unchanged.

Boards Reactions

  • Added configurable reaction modes:
    • Likes and dislikes
    • Likes only
    • Dislikes only
    • Disabled
  • Read-only presentation mode now disables reactions server-side.
  • The previously configured reaction mode is preserved when leaving presentation mode.
  • Fixed real-time reaction synchronization so aggregate counts remain shared while selected reaction state remains participant-specific.
  • Public SSE events no longer cause another participant’s reaction to appear selected.
  • Direct API requests for forbidden reaction types are rejected.
  • Existing reaction records and counts are preserved when changing modes.

Board Image Moderation

  • Added a per-board “Blur images by default” setting.
  • New image cards inherit the current board blur default.
  • Added persistent per-card image blur state.
  • Existing images preserve their state when the board default changes.
  • Moderation approval no longer changes image blur state automatically.
  • Added authenticated Blur and Unblur administrative operations.
  • Added inline original-image previews to Cards and moderation.
  • Added clear Blurred and Visible status capsules.
  • Added icon-based blur, visibility, moderation, and ownership actions.
  • Public clients receive blur-state changes through the existing real-time infrastructure.
  • Increased public blur strength.
  • Board images are no longer clickable or draggable in the public interface.
  • Context-menu interaction is suppressed for public Board images.
  • Image blurring remains a visual moderation feature and does not hide the external source URL.

Boards Administration

  • Increased usable desktop width in the Board editor.
  • Cards and moderation now supports a responsive three-column desktop layout.
  • Added an in-place Refresh action with loading and error handling.
  • Refresh preserves the existing card list if the request fails.
  • Added inline image previews without requiring separate preview dialogs.
  • Improved moderation status capsules and action icons.
  • Improved responsive behavior on desktop, tablet, and mobile.
  • Existing moderation, ownership, reaction, and card-ordering behavior remains compatible.

Activities Regrading

  • Added an explicit administrative action for regrading existing submitted attempts.
  • Supports grading-mode changes for:
    • Multiple Choice
    • Ordering
    • Matching
  • Supports transitions between All or nothing and Partial credit.
  • Regrading preserves original participant answers.
  • Question scores and aggregate attempt totals are recalculated transactionally.
  • Manual grading overrides are preserved.
  • Incompatible question structures are skipped safely.
  • Regrading records grading audit information.
  • Administrative results and exports reflect recalculated scores.
  • Participants do not need to reopen or resubmit attempts.
  • Published Activity snapshots remain immutable.

UI and Accessibility

  • Improved Remote Blocklist modal scrolling.
  • Cached rule previews use two columns on desktop and one column on narrow screens.
  • Long Unicode rules and Smart directives wrap safely.
  • Modal actions remain accessible while rule previews scroll independently.
  • Updated Board and moderation status styling.
  • Added consistent action icons and hover behavior.
  • Latvian and English localization keys remain synchronized.

Database Migrations

This release includes additive migrations:

  • Migration 28: Remote moderation blocklists and cached rules.
  • Migration 29: Board reaction mode configuration.
  • Migration 30: Board image blur defaults and per-card blur state.

Existing Boards, cards, reactions, moderation rules, Activities, Live data, Pages, and Links are preserved.

No legacy tables are removed.

Compatibility

  • No destructive database migrations.
  • Existing local moderation rules remain unchanged.
  • Existing Board reactions are preserved.
  • Existing Board images remain visible by default.
  • Existing Activity submissions and answers are preserved.
  • Links, Pages, Live, Activities, and Boards public URLs remain compatible.
  • No additional external service is required.

Verification

  • TypeScript checks pass.
  • All 300 automated tests pass across 66 test files.
  • Production client and server builds pass.
  • Production HTTP verification passes.
  • Production dependency audit reports zero known vulnerabilities.
  • Clean Docker build passes.
  • Docker startup and health endpoint verification pass.
  • Synthetic Boards load test with 30 participants and 100 cards passes with zero request errors.
  • SQLite integrity and foreign key checks pass.