Skip to content
Snippets Groups Projects
  1. Dec 24, 2018
    • Eugen Rochko's avatar
      Add REST API for creating an account (#9572) · 5d2fc6de
      Eugen Rochko authored
      * Add REST API for creating an account
      
      The method is available to apps with a token obtained via the client
      credentials grant. It creates a user and account records, as well as
      an access token for the app that initiated the request. The user is
      unconfirmed, and an e-mail is sent as usual.
      
      The method returns the access token, which the app should save for
      later. The REST API is not available to users with unconfirmed
      accounts, so the app must be smart to wait for the user to click a
      link in their e-mail inbox.
      
      The method is rate-limited by IP to 5 requests per 30 minutes.
      
      * Redirect users back to app from confirmation if they were created with an app
      
      * Add tests
      
      * Return 403 on the method if registrations are not open
      
      * Require agreement param to be true in the API when creating an account
      Unverified
      5d2fc6de
    • ThibG's avatar
      5f387995
  2. Dec 22, 2018
    • Eugen Rochko's avatar
      Add moderation warnings (#9519) · 3c033c43
      Eugen Rochko authored
      * Add moderation warnings
      
      Replace individual routes for disabling, silencing, and suspending
      a user, as well as the report update route, with a unified account
      action controller that allows you to select an action (none,
      disable, silence, suspend) as well as whether it should generate an
      e-mail notification with optional custom text. That notification,
      with the optional custom text, is saved as a warning.
      
      Additionally, there are warning presets you can configure to save
      time when performing the above.
      
      * Use Account#local_username_and_domain
      Unverified
      3c033c43
  3. Dec 21, 2018
  4. Dec 20, 2018
  5. Dec 19, 2018
  6. Dec 18, 2018
  7. Dec 17, 2018
  8. Dec 14, 2018
  9. Dec 13, 2018
  10. Dec 11, 2018
  11. Dec 10, 2018
  12. Dec 09, 2018
  13. Dec 07, 2018
Loading