Skip to content
Snippets Groups Projects
  1. Mar 28, 2022
    • Claire's avatar
      Fix /api/v1/admin/accounts (#17887) · 894956e2
      Claire authored
      
      * Fix /api/v1/admin/accounts
      
      Compatibility was broken since #17009 which changed the underlying filter class
      without changing the controller.
      
      This commits restore support for the old parameters.
      
      * Add /api/v2/admin/accounts with the new parameters
      
      * Add tests
      
      * Add missing filter for `silenced` status
      
      Co-authored-by: default avatarEugen Rochko <eugen@zeonfederated.com>
      
      Co-authored-by: default avatarEugen Rochko <eugen@zeonfederated.com>
      Unverified
      894956e2
    • Claire's avatar
      Fix test-related issues (#17888) · 30658924
      Claire authored
      * Remove obsolete RSS::Serializer test
      
      Since #17828, RSS::Serializer no longer has specific code for deleted statuses,
      but it is never called on deleted statuses anyway.
      
      * Rename erroneously-named test files
      
      * Fix failing test
      
      * Fix test deprecation warnings
      
      * Update CircleCI Ruby orb
      
      1.4.0 has a bug that does not match all the test files due to incorrect
      globbing
      Unverified
      30658924
  2. Mar 26, 2022
    • Eugen Rochko's avatar
      Refactor formatter (#17828) · cefa526c
      Eugen Rochko authored
      * Refactor formatter
      
      * Move custom emoji pre-rendering logic to view helpers
      
      * Move more methods out of Formatter
      
      * Fix code style issues
      
      * Remove Formatter
      
      * Add inline poll options to RSS feeds
      
      * Remove unused helper method
      
      * Fix code style issues
      
      * Various fixes and improvements
      
      * Fix test
      Unverified
      cefa526c
  3. Mar 25, 2022
  4. Mar 15, 2022
  5. Mar 12, 2022
  6. Mar 09, 2022
  7. Mar 08, 2022
  8. Mar 07, 2022
  9. Mar 06, 2022
  10. Mar 03, 2022
  11. Mar 02, 2022
  12. Mar 01, 2022
  13. Feb 24, 2022
  14. Feb 22, 2022
    • luzpaz's avatar
      Fix various typos (#17621) · 73f5e4a1
      luzpaz authored
      Found via `codespell -q 3 -S ./CHANGELOG.md,./AUTHORS.md,./config/locales,./app/javascript/mastodon/locales -L ba,keypair,medias,ro`
      Unverified
      73f5e4a1
  15. Feb 16, 2022
  16. Feb 14, 2022
    • Eugen Rochko's avatar
      Add appeals (#17364) · 564efd06
      Eugen Rochko authored
      * Add appeals
      
      * Add ability to reject appeals and ability to browse pending appeals in admin UI
      
      * Add strikes to account page in settings
      
      * Various fixes and improvements
      
      - Add separate notification setting for appeals, separate from reports
      - Fix style of links in report/strike header
      - Change approving an appeal to not restore statuses (due to federation complexities)
      - Change style of successfully appealed strikes on account settings page
      - Change account settings page to only show unappealed or recently appealed strikes
      
      * Change appealed_at to overruled_at
      
      * Fix missing method error
      Unverified
      564efd06
  17. Feb 11, 2022
  18. Feb 10, 2022
  19. Feb 09, 2022
  20. Feb 08, 2022
  21. Feb 07, 2022
  22. Feb 06, 2022
  23. Feb 03, 2022
  24. Jan 28, 2022
  25. Jan 27, 2022
    • Claire's avatar
      Refactor and improve tests (#17386) · e38fc319
      Claire authored
      * Change account and user fabricators to simplify and improve tests
      
      - `Fabricate(:account)` implicitly fabricates an associated `user` if
        no `domain` attribute is given (an account with `domain: nil` is
        considered a local account, but no user record was created), unless
        `user: nil` is passed
      - `Fabricate(:account, user: Fabricate(:user))` should still be possible
        but is discouraged.
      
      * Fix and refactor tests
      
      - avoid passing unneeded attributes to `Fabricate(:user)` or
        `Fabricate(:account)`
      - avoid embedding `Fabricate(:user)` into a `Fabricate(:account)` or the other
        way around
      - prefer `Fabricate(:user, account_attributes: …)` to
        `Fabricate(:user, account: Fabricate(:account, …)`
      - also, some tests were using remote accounts with local user records, which is
        not representative of production code.
      Unverified
      e38fc319
Loading