Changeset f278df9 in Klonkt for src/config/database.js


Ignore:
Timestamp:
06/26/2026 07:47:20 AM (2 months ago)
Author:
Robin Genis <roboburr@…>
Branches:
main
Children:
ce0bedf
Parents:
283f618
Message:

feat(fediverse): auto-boost a followed account ('feature an artist')

Phase 1 of the Cirkels-on-AP rework. A followed account can be marked auto-boost:
their new top-level posts are automatically re-Announced (boosted) to your own
followers. Toggle in the /tijdlijn following list + a checkbox on the follow box.
ap_following.auto_boost column (migrated), setAutoBoost(), hook in handleInbox's
timeline loop, POST /tijdlijn/autoboost. nl/en/de.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/config/database.js

    r283f618 rf278df9  
    400400    CREATE INDEX IF NOT EXISTS idx_ap_delivery_due ON ap_delivery(next_at);
    401401  `);
     402  // Auto-boost a followed account's posts ("feature an artist"): their new
     403  // top-level posts get re-Announced to our followers automatically.
     404  ensureColumn('ap_following', 'auto_boost', 'INTEGER DEFAULT 0');
    402405}
    403406
Note: See TracChangeset for help on using the changeset viewer.