Changeset 8f2f97c in Klonkt for src/config/database.js


Ignore:
Timestamp:
06/23/2026 02:24:46 PM (3 months ago)
Author:
Robin Genis <roboburr@…>
Branches:
main
Children:
cb01666
Parents:
24cdcc6
Message:

Prutter (DM feature) fully removed

Reason: redundant feature + unnecessary attack surface (real-time WebSocket +
storing private messages = privacy/abuse risk). Removed: routes/prutter.js,
PrutterService, the WebSocket server in server.js, both DM views, all nav links
(topnav/bottom-tab), the DM button on profiles, the per-site enable_prutter
toggle and column. Existing (empty) DM tables in old DBs remain untouched but
are no longer referenced anywhere. No WebSocket left in the app.

Co-Authored-By: Claude <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/config/database.js

    r24cdcc6 r8f2f97c  
    4747  // Site-level moderation toggle. 'trust' = auto-approve, 'moderate' = pending until reviewed.
    4848  ensureColumn('sites', 'comments_moderation_mode', "TEXT DEFAULT 'moderate'");
    49   // Per-site Prutter toggle: when off, DM endpoints/UI are hidden for that site.
    50   ensureColumn('sites', 'enable_prutter', 'INTEGER DEFAULT 1');
    5149  // Cirkels: mag deze site in cirkels van anderen verschijnen (surfacing opt-out).
    5250  ensureColumn('sites', 'allow_circle', 'INTEGER DEFAULT 1');
Note: See TracChangeset for help on using the changeset viewer.