Skip to content

v0.10.0

Choose a tag to compare

@github-actions github-actions released this 01 Oct 03:24
· 43 commits to main since this release

Pairs with stellar-api 0.10.0, whose contract this re-vendors. Deploy after the
api.

Added

  • A member's ratio watch shows on their profile (#417). It needs
    stellar-api #658, which sends ratioWatch to every viewer and ratioPolicy
    to ratio_policy_manage.
    • Any viewer: an active watch, as present facts: when it ends, how far
      short of the required ratio the member currently is, and what they have
      consumed since it began.
    • ratio_policy_manage: the status instead, including a download
      disable and its cause, with a link into the ratio policy tool already on
      that member (/staff/tools/ratio-policy?user=<id>).
    • An override in that tool now refreshes any profile already loaded.
  • A rank holding only an invite permission can see and manage invites on a
    profile
    (#414). It needs stellar-api #655, which sends inviteCount and
    canInvite to a viewer holding invites_manage or invites_edit.
    • invites_edit: the Invites panel mounts on its own, without the rest
      of Staff Actions.
    • invites_manage: the balance shows read-only in the sidebar.
    • Staff: unchanged; the Invites panel stays inside Staff Actions.
    • Older api: with neither field sent, nothing mounts.

Changed

  • The vendored api contract is stellar-api 0.10.0's. No operation is added
    or removed.
    • The profile responses gain invitedBy (#411 will show it), ratioWatch
      and ratioPolicy. The last two are what #417 reads.
    • Registration log entries gain inviter, sameIp and lastIpAccounts
      (#412 will show them).
    • The invite note on POST /profile/referral/create-invite and the rank
      permission set now carry invites_note (#413 will hide the note field
      without it).
  • /invite passes the rules variables through unchanged (#410). The api
    now resolves ${irc} to the public IRC page itself, so the page's override is
    gone. Nothing visible changes.