Skip to content
Snippets Groups Projects
  1. Mar 16, 2022
  2. Mar 12, 2022
  3. Mar 09, 2022
  4. Mar 07, 2022
  5. Mar 04, 2022
  6. Mar 03, 2022
  7. Mar 01, 2022
  8. Feb 26, 2022
  9. Feb 24, 2022
    • Eugen Rochko's avatar
      Add trending statuses (#17431) · 27965ce5
      Eugen Rochko authored
      * Add trending statuses
      
      * Fix dangling items with stale scores in localized sets
      
      * Various fixes and improvements
      
      - Change approve_all/reject_all to approve_accounts/reject_accounts
      - Change Trends::Query methods to not mutate the original query
      - Change Trends::Query#skip to offset
      - Change follow recommendations to be refreshed in a transaction
      
      * Add tests for trending statuses filtering behaviour
      
      * Fix not applying filtering scope in controller
      Unverified
      27965ce5
  10. 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
    • 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
    • Eugen Rochko's avatar
      Add caching layer to metrics (#17617) · b377022c
      Eugen Rochko authored
      Unverified
      b377022c
  11. Feb 16, 2022
  12. Feb 13, 2022
  13. Feb 09, 2022
  14. Feb 08, 2022
  15. Feb 07, 2022
    • Eugen Rochko's avatar
      Fix structured data parsing from links choking on bad data (#17403) · f1f6ddd5
      Eugen Rochko authored
      * Fix structured data parsing from links choking on bad data
      
      - Fix og:url meta tag being prioritized over canonical link tag
      - Fix structured data parsing choking on commented-out CDATA declarations
      - Fix HTML entities in title, description, provider_name, author_name
      - Change structured data parsing to attempt every JSON-LD script tag
      
      * Remove unnecessary slash escapes from CDATA regex pattern
      Unverified
      f1f6ddd5
  16. Feb 03, 2022
  17. 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
  18. Jan 23, 2022
  19. Jan 19, 2022
    • Eugen Rochko's avatar
      Add support for editing for published statuses (#16697) · 1060666c
      Eugen Rochko authored
      * Add support for editing for published statuses
      
      * Fix references to stripped-out code
      
      * Various fixes and improvements
      
      * Further fixes and improvements
      
      * Fix updates being potentially sent to unauthorized recipients
      
      * Various fixes and improvements
      
      * Fix wrong words in test
      
      * Fix notifying accounts that were tagged but were not in the audience
      
      * Fix mistake
      Unverified
      1060666c
  20. Jan 17, 2022
  21. Jan 16, 2022
  22. Dec 26, 2021
  23. Nov 28, 2021
  24. Nov 26, 2021
  25. Nov 25, 2021
    • Eugen Rochko's avatar
      Add trending links (#16917) · 6e50134a
      Eugen Rochko authored
      * Add trending links
      
      * Add overriding specific links trendability
      
      * Add link type to preview cards and only trend articles
      
      Change trends review notifications from being sent every 5 minutes to being sent every 2 hours
      
      Change threshold from 5 unique accounts to 15 unique accounts
      
      * Fix tests
      Unverified
      6e50134a
  26. Nov 14, 2021
    • Claire's avatar
      Fix confusing error when webfinger request returns empty document (#16986) · 3517867b
      Claire authored
      For some reason, some misconfigured servers return an empty document when
      queried over webfinger. Since an empty document does not lead to a parse
      error, the error is not caught properly and triggers uncaught exceptions
      later on.
      
      This PR fixes that by immediately erroring out with `Webfinger::Error` on
      getting an empty response.
      Unverified
      3517867b
  27. Nov 13, 2021
  28. Nov 05, 2021
  29. Oct 14, 2021
  30. Sep 29, 2021
    • Claire's avatar
      Switch from unmaintained paperclip to kt-paperclip (#16724) · fc3ae134
      Claire authored
      * Switch from unmaintained paperclip to kt-paperclip
      
      * Drop some compatibility monkey-patches not required by kt-paperclip
      
      * Drop media spoof check monkey-patching
      
      It's broken with kt-paperclip and hopefully it won't be needed anymore
      
      * Fix regression introduced by paperclip 6.1.0
      
      * Do not rely on pathname to call FastImage
      
      * Add test for ogg vorbis file with cover art
      
      * Add audio/vorbis to the accepted content-types
      
      This seems erroneous as this would be the content-type for a vorbis stream
      without an ogg container, but that's what the `marcel` gem outputs, so…
      
      * Restore missing for_as_default method
      
      * Refactor Attachmentable concern and delay Paperclip's content-type spoof check
      
      Check for content-type spoofing *after* setting the extension ourselves, this
      fixes a regression with kt-paperclip's validations being more strict than
      paperclip 6.0.0 and rejecting some Pleroma uploads because of unknown
      extensions.
      
      * Please CodeClimate
      
      * Add audio/vorbis to the unreliable set
      
      It doesn't correspond to a file format and thus has no extension associated.
      Unverified
      fc3ae134
  31. Sep 26, 2021
  32. Sep 08, 2021
Loading