Skip to content
Snippets Groups Projects
  1. Feb 08, 2022
  2. Feb 03, 2022
  3. Jan 31, 2022
  4. Jan 30, 2022
  5. Jan 23, 2022
  6. Jan 20, 2022
  7. Dec 26, 2021
  8. Dec 17, 2021
  9. Dec 12, 2021
    • Takeshi Umeda's avatar
      Add remove orphans to tootctl statuses remove (#17067) · 6c8c031b
      Takeshi Umeda authored
      * Add remove orphans to tootctl statuses remove
      
      * Add REINDEX and change option from vacuum to compression-database
      
      * Changed to extract the deletion target of conversations to a temporary table
      
      * Support progress bar and exceptions when media remove
      
      * Add continue option
      
      * Fix compression to compress
      
      * Remove skip_remove_orphans
      6c8c031b
  10. Nov 26, 2021
  11. 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
      6e50134a
  12. Nov 18, 2021
  13. Nov 16, 2021
    • Claire's avatar
      Fix upload of remote media with OpenStack Swift sometimes failing (#16998) · 48f8658d
      Claire authored
      Under certain conditions, files fetched from remotes trigger an error when
      being uploaded using OpenStack Swift. This is because in some cases, the
      remote server will not return a content-length, so our ResponseWithLimitAdapter
      will hold a `nil` value for `#size`, which will lead to an invalid value
      for the Content-Length header of the Swift API call.
      
      This commit fixes that by taking the size from the actually-downloaded file
      size rather than the upstream-provided Content-Length header value.
      48f8658d
  14. Nov 11, 2021
  15. Nov 06, 2021
  16. Oct 28, 2021
  17. Oct 25, 2021
  18. Oct 18, 2021
  19. Oct 14, 2021
  20. 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.
      fc3ae134
  21. Aug 09, 2021
    • Claire's avatar
      Add feature to automatically delete old toots (#16529) · 4ac78e2a
      Claire authored
      * Add account statuses cleanup policy model
      
      * Record last inspected toot to delete to speed up successive calls to statuses_to_delete
      
      * Add service to cleanup a given account's statuses within a budget
      
      * Add worker to go through account policies and delete old toots
      
      * Fix last inspected status id logic
      
      All existing statuses older or equal to last inspected status id must be
      kept by the current policy. This is an invariant that must be kept so that
      resuming deletion from the last inspected status remains sound.
      
      * Add tests
      
      * Refactor scheduler and add tests
      
      * Add user interface
      
      * Add support for discriminating based on boosts/favs
      
      * Add UI support for min_reblogs and min_favs, rework UI
      
      * Address first round of review comments
      
      * Replace Snowflake#id_at_start with with_random parameter
      
      * Add tests
      
      * Add tests for StatusesCleanupController
      
      * Rework settings page
      
      * Adjust load-avoiding mechanisms
      
      * Please CodeClimate
      4ac78e2a
  22. Aug 08, 2021
  23. Jul 13, 2021
  24. Jul 08, 2021
  25. Jul 07, 2021
  26. Jun 03, 2021
  27. Jun 02, 2021
    • Claire's avatar
      Fix migration script not being able to run if it fails midway (#16312) · 11d3c065
      Claire authored
      * Fix migration script not being able to run if it fails midway
      
      * Fix old migration script
      
      * Fix old migration script
      
      * Refactor CorruptionError
      11d3c065
    • Claire's avatar
      Fix account deletion sometimes failing because of optimistic locks (#16317) · 526332c5
      Claire authored
      * Fix account deletion sometimes failing because of optimistic locks
      
      In some rare occasions[1], deleting accounts would fail with a
      `StaleObjectError` exception.
      
      Indeed, account deletion manually sets the `AccountStat` values without
      handling cases where the optimistic locking on `AccountStat` would fail.
      
      To my knowledge, with the rewrite of account counters in #15913, the
      `DeleteAccountService` is now the only place that changes the counters in
      a way that is not atomic.
      
      Since in this specific case, we do not care about the previous values of the
      account counters, it appears we don't need locking at all for this table
      anymore.
      
      [1]: https://discourse.joinmastodon.org/t/account-cant-be-deleted/3602
      
      * Bump MAX_SUPPORTED_VERSION in maintenance script
      526332c5
  28. Jun 01, 2021
  29. May 16, 2021
  30. May 12, 2021
  31. May 11, 2021
Loading