Skip to content
Snippets Groups Projects
  1. Mar 15, 2022
  2. Mar 14, 2022
  3. Mar 12, 2022
  4. Mar 11, 2022
  5. Mar 10, 2022
  6. Mar 09, 2022
  7. Mar 08, 2022
  8. Mar 07, 2022
  9. Mar 03, 2022
  10. Mar 01, 2022
    • Eugen Rochko's avatar
      Add ability to mark statuses as sensitive from reports in admin UI (#17668) · 25d3dc43
      Eugen Rochko authored
      * Add ability to mark statuses as sensitive from reports in admin UI
      
      * Allow mark as sensitive action on statuses with preview cards
      Unverified
      25d3dc43
    • Claire's avatar
      Change old moderation strikes to be displayed in a separate page (#17566) · 14919fe1
      Claire authored
      * Change old moderation strikes to be displayed in a separate page
      
      Fixes #17552
      
      This changes the moderation strikes displayed on `/auth/edit` to be those from
      the past 3 months, and make all moderation strikes targeting the current user
      available in `/disputes`.
      
      * Add short description of what the strikes page is for
      
      * Move link to list of strikes to “Account status” instead of navigation item
      
      * Normalize i18n file
      
      * Fix layout and styling of strikes link
      
      * Revert highlights_on regexp
      
      * Reintroduce account status summary
      
      - this way, “Account status” is never empty
      - account status is not necessarily bound to strikes, or recent strikes
      Unverified
      14919fe1
  11. Feb 24, 2022
  12. Feb 23, 2022
  13. 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
  14. Feb 16, 2022
  15. 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
    • Jeong Arm's avatar
  16. Feb 13, 2022
  17. Feb 11, 2022
  18. Feb 10, 2022
  19. Feb 09, 2022
  20. Feb 08, 2022
  21. Feb 01, 2022
  22. Jan 27, 2022
    • Claire's avatar
      Fix Sidekiq warnings about JSON serialization (#17381) · 03d59340
      Claire authored
      * Fix Sidekiq warnings about JSON serialization
      
      This occurs on every symbol argument we pass, and every symbol key in hashes,
      because Sidekiq expects strings instead.
      
      See https://github.com/mperham/sidekiq/pull/5071
      
      We do not need to change how workers parse their arguments because this has
      not changed and we were already converting to symbols adequately or using
      `with_indifferent_access`.
      
      * Set Sidekiq to raise on unsafe arguments in test mode
      
      In order to more easily catch issues that would produce warnings in production
      code.
      Unverified
      03d59340
  23. Jan 23, 2022
    • Claire's avatar
      Fix error-prone SQL queries (#15828) · 0a120d86
      Claire authored
      * Fix error-prone SQL queries in Account search
      
      While this code seems to not present an actual vulnerability, one could
      easily be introduced by mistake due to how the query is built.
      
      This PR parameterises the `to_tsquery` input to make the query more robust.
      
      * Harden code for Status#tagged_with_all and Status#tagged_with_none
      
      Those two scopes aren't used in a way that could be vulnerable to an SQL
      injection, but keeping them unchanged might be a hazard.
      
      * Remove unneeded spaces surrounding tsquery term
      
      * Please CodeClimate
      
      * Move advanced_search_for SQL template to its own function
      
      This avoids one level of indentation while making clearer that the SQL template
      isn't build from all the dynamic parameters of advanced_search_for.
      
      * Add tests covering tagged_with, tagged_with_all and tagged_with_none
      
      * Rewrite tagged_with_none to avoid multiple joins and make it more robust
      
      * Remove obsolete brakeman warnings
      
      * Revert "Remove unneeded spaces surrounding tsquery term"
      
      The two queries are not strictly equivalent.
      
      This reverts commit 86f16c537e06c6ba4a8b250f25dcce9f049023ff.
      Unverified
      0a120d86
Loading