Changeset 74544fb in Klonkt for src/services


Ignore:
Timestamp:
06/18/2026 06:48:40 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
8e29f77
Parents:
fee35fa
Message:

New sites: require login to comment on by default + post nav at top

  • require_login_to_comment default 0 → 1 (siteEditableFields, 001-init.sql, ensurePrimarySite). Moderation was already set to 'moderate' by default. Existing sites unchanged; applies to newly created sites.
  • Post navigation (← Newer / Older →) is now ABOVE the post instead of below, with the separator line below it. Applies to all sites.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/services/ensurePrimarySite.js

    rfee35fa r74544fb  
    4141      is_public, robots_index, require_login_to_comment, enable_audio_player,
    4242      feed_view_default, comments_moderation_mode, is_primary
    43     ) VALUES (?, ?, ?, '', '', ?, 'nl', 'sage', '#c2410c', NULL, 1, 1, 0, 1, 'grid', 'moderate', 1)
     43    ) VALUES (?, ?, ?, '', '', ?, 'nl', 'sage', '#c2410c', NULL, 1, 1, 1, 1, 'grid', 'moderate', 1)
    4444  `).run(siteId, slug, defaultTitle(), owner.id);
    4545
Note: See TracChangeset for help on using the changeset viewer.