Skip to content
Snippets Groups Projects
  1. Feb 09, 2019
  2. Feb 04, 2019
    • Eugen Rochko's avatar
      Add featured hashtags to profiles (#9755) · 364f2ff9
      Eugen Rochko authored
      * Add hashtag filter to profiles
      
      GET /@:username/tagged/:hashtag
      GET /api/v1/accounts/:id/statuses?tagged=:hashtag
      
      * Display featured hashtags on public profile
      
      * Use separate model for featured tags
      
      * Update featured hashtag counters on-write
      
      * Limit featured tags to 10
      364f2ff9
  3. Feb 03, 2019
  4. Feb 02, 2019
  5. Jan 26, 2019
  6. Jan 21, 2019
  7. Jan 18, 2019
    • ThibG's avatar
      Reject existing Follow in addition to sending a Block (#9811) · aeb12449
      ThibG authored
      Mastodon expects remote servers to remove follow relationships upon receiving
      a Block. However, the spec only evokes Block activities in a C2S context, never
      in a S2S context.
      
      This PR, in addition to federating the Block, explicitly sends a Reject for any
      affected follow relationship, which makes a bit more sense with regards to the
      spec.
      aeb12449
  8. Jan 16, 2019
  9. Jan 15, 2019
  10. Jan 14, 2019
    • Renato Cerqueira's avatar
      Fix undefined method error in sidekiq (#9807) · 5c5e14c8
      Renato Cerqueira authored
      * Fix undefined method error in sidekiq
      
      Body can be not nil but still be empty, which causes a
      `NoMethodError: undefined method `[]' for nil:NilClass` further in the
      code. This checks for an empty body to avoid the issue.
      
      * Fix codeclimate issue
      5c5e14c8
  11. Jan 11, 2019
  12. Jan 10, 2019
  13. Jan 08, 2019
  14. Jan 05, 2019
  15. Jan 03, 2019
  16. Jan 02, 2019
  17. Dec 30, 2018
    • ThibG's avatar
      Reduce usage of LD signatures (#9659) · 29093260
      ThibG authored
      * Do not LDS-sign Follow, Accept, Reject, Undo, Block
      
      * Do not use LDS for Create activities of private toots
      
      * Minor cleanup
      
      * Ignore unsigned activities instead of misattributing them
      
      * Use status.distributable? instead of querying visibility directly
      29093260
  18. Dec 29, 2018
  19. Dec 28, 2018
  20. 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
      5d2fc6de
    • ThibG's avatar
      5f387995
  21. 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
      3c033c43
  22. Dec 21, 2018
  23. Dec 20, 2018
Loading