Skip to content
Snippets Groups Projects
  1. Nov 27, 2017
    • unarist's avatar
      Merge indexes for reblog on statuses table (#5831) · 7fb850e9
      unarist authored
      We added an index for `[account_id, reblog_of_id]`, but we already have a similar index for `reblog_of_id`. Those index will be bigger according to statuses count. For example, `reblog_of_id` index uses 800MB for 10GB statuses table.
      
      So this patch swaps indexed columns like `[reblog_of_id, account_id]`, then it will covers both usage with single index.
      
      Since those index creation may take a while, I've also disabled previous index creation.
      7fb850e9
    • Yamagishi Kazutoshi's avatar
    • Eugen Rochko's avatar
      Add consumable invites (#5814) · 740f8a95
      Eugen Rochko authored
      * Add consumable invites
      
      * Add UI for generating invite codes
      
      * Add tests
      
      * Display max uses and expiration in invites table, delete invite
      
      * Remove unused column and redundant validator
      
      - Default follows not used, probably bad idea
      - InviteCodeValidator is redundant because RegistrationsController
        checks invite code validity
      
      * Add admin setting to disable invites
      
      * Add admin UI for invites, configurable role for invite creation
      
      - Admin UI that lists everyone's invites, always available
      - Admin setting min_invite_role to control who can invite people
      - Non-admin invite UI only visible if users are allowed to
      
      * Do not remove invites from database, expire them instantly
      Unverified
      740f8a95
    • Alda Marteau-Hardi's avatar
  2. Nov 26, 2017
  3. Nov 25, 2017
  4. Nov 24, 2017
  5. Nov 23, 2017
  6. Nov 21, 2017
  7. Nov 20, 2017
  8. Nov 19, 2017
  9. Nov 18, 2017
  10. Nov 17, 2017
    • Eugen Rochko's avatar
      Lists (#5703) · 24cafd73
      Eugen Rochko authored
      * Add structure for lists
      
      * Add list timeline streaming API
      
      * Add list APIs, bind list-account relation to follow relation
      
      * Add API for adding/removing accounts from lists
      
      * Add pagination to lists API
      
      * Add pagination to list accounts API
      
      * Adjust scopes for new APIs
      
      - Creating and modifying lists merely requires "write" scope
      - Fetching information about lists merely requires "read" scope
      
      * Add test for wrong user context on list timeline
      
      * Clean up tests
      Unverified
      24cafd73
Loading