Skip to content
Snippets Groups Projects
  1. May 26, 2022
  2. May 22, 2022
  3. May 18, 2022
  4. May 09, 2022
  5. May 03, 2022
  6. May 02, 2022
  7. Apr 29, 2022
  8. Apr 28, 2022
  9. Apr 26, 2022
  10. Apr 08, 2022
    • Eugen Rochko's avatar
    • 0x2019's avatar
      Fix error resposes for `from` search prefix (#17963) · 01253745
      0x2019 authored
      * Fix error responses in `from` search prefix (addresses mastodon/mastodon#17941)
      
      Using unsupported prefixes now reports a 422; searching for posts from an
      account the instance is not aware of reports a 404. TODO: The UI for this
      on the front end is abysmal.
      
      Searching `from:username@domain` now succeeds when `domain` is the local
      domain; searching `from:@username(@domain)?` now works as expected.
      
      * Remove unused methods on new Error classes as they are not being used
      
      Currently when `raise`d there are error messages being supplied, but
      this is not actually being used. The associated `raise`s have been
      edited accordingly.
      
      * Remove needless comments
      
      * Satisfy rubocop
      
      * Try fixing tests being unable to find AccountFindingConcern methods
      
      * Satisfy rubocop
      
      * Simplify `from` prefix logic
      
      This incorporates @ClearlyClaire's suggestion (see
      https://github.com/mastodon/mastodon/pull/17963#pullrequestreview-933986737).
      
      Accepctable account strings in `from:` clauses are more lenient than
      before this commit; for example, `from:@user@example.org@asnteo +cat`
      will not error, and return posts by @user@example.org containing the
      word "cat". This is more consistent with how Mastodon matches mentions
      in statuses. In addition, `from` clauses will not be checked for
      syntatically invalid usernames or domain names, simply 404ing when
      `Account.find_remote!` raises ActiveRecord::NotFound.
      
      New code for this PR that is no longer used has been removed.
      Unverified
      01253745
    • Eugen Rochko's avatar
  11. Apr 07, 2022
  12. Apr 06, 2022
  13. Apr 01, 2022
  14. Mar 30, 2022
  15. Mar 26, 2022
  16. Mar 21, 2022
  17. Mar 17, 2022
  18. Mar 15, 2022
  19. Mar 12, 2022
  20. Mar 07, 2022
    • Claire's avatar
      Add more migration tests (#17710) · 61ae6b35
      Claire authored
      * Add migration tests for hide_network settings migration
      
      * Add tests about suspended/suspended_at
      
      * Add more tests regarding the results of migrations
      
      * Fix migration test regarding stale conflicting remote account
      
      * Add migration tests about AccountConversation
      Unverified
      61ae6b35
  21. Mar 06, 2022
  22. Feb 23, 2022
  23. Feb 22, 2022
    • Claire's avatar
      Fix some media attachments being converted with too high framerates (#17619) · 166f6e4b
      Claire authored
      Video files with variable framerates are converted to constant framerate videos
      and the output framerate picked by ffmpeg is based on the original file's
      container framerate (which can be different from the average framerate).
      
      This means that an input video with variable framerate with about 30 frames per
      second on average, but a maximum of 120 fps will be converted to a constant 120
      fps file, which won't be processed by other Mastodon servers.
      
      This commit changes it so that input files with VFR and a maximum framerate
      above the framerate threshold are converted to VFR files with the maximum frame
      rate enforced.
      Unverified
      166f6e4b
  24. Feb 08, 2022
  25. Feb 03, 2022
  26. Jan 31, 2022
  27. Jan 30, 2022
  28. Jan 23, 2022
  29. Jan 20, 2022
  30. Dec 26, 2021
  31. Dec 17, 2021
Loading