Changeset 8f2f97c in Klonkt for src/views/pages


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@…>

Location:
src/views/pages
Files:
2 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • src/views/pages/admin-site-edit.ejs

    r24cdcc6 r8f2f97c  
    163163        <span><%= t('asite.enable_audio') %></span>
    164164      </label>
    165       <%# Prutter is een Hub-only premium-functie — toggle alleen tonen in Hub-modus. %>
    166       <% if (typeof tenancy !== 'undefined' && tenancy === 'hub') { %>
    167       <label class="cb">
    168         <input type="checkbox" name="enable_prutter" value="1" <%= site.enable_prutter ? 'checked' : '' %>>
    169         <span><%= t('asite.enable_prutter') %> <small class="form-hint-inline"><%= t('asite.enable_prutter_hint') %></small></span>
    170       </label>
    171       <% } %>
    172165    </fieldset>
    173166
  • src/views/pages/user.ejs

    r24cdcc6 r8f2f97c  
    2727        <% } %>
    2828      </p>
    29       <% if (user && user.id !== author.id && site && site.enable_prutter && (typeof tenancy !== 'undefined' && tenancy === 'hub') && (typeof premiumUnlocked === 'undefined' || premiumUnlocked)) { %>
    30         <p class="user-actions">
    31           <a href="<%= siteUrlBase %>/prutter/new?to=<%= encodeURIComponent(author.username) %>" class="btn btn-primary">💬 <%= t('pusr.send_dm') %></a>
    32         </p>
    33       <% } %>
    3429    </div>
    3530  </header>
Note: See TracChangeset for help on using the changeset viewer.