Skip to content
Snippets Groups Projects
  1. Mar 17, 2022
  2. Mar 12, 2022
  3. Mar 09, 2022
  4. Mar 07, 2022
  5. Mar 06, 2022
  6. Mar 01, 2022
  7. Feb 24, 2022
  8. 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`
      73f5e4a1
  9. 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
      564efd06
  10. Jan 30, 2022
  11. Jan 27, 2022
  12. Jan 23, 2022
    • Claire's avatar
      Remove leftover database columns from Devise::Models::Rememberable (#17191) · 8a07ecd3
      Claire authored
      * Remove leftover database columns from Devise::Models::Rememberable
      
      * Update fix-duplication maintenance script
      
      * Improve errors/warnings in the fix-duplicates maintenance script
      8a07ecd3
    • Claire's avatar
      Remove old duplicate index (#17245) · 96f0b33c
      Claire authored
      Some Mastodon versions (v1.1 and v1.2) had a duplicate index in `db/schema.rb`
      without any migration script creating it. #2224 (included in v1.3) removed the
      duplicate index from the file but did not provide a migration script to remove
      it.
      
      This means that any instance that was installed from v1.1 or v1.2's source code
      has a duplicate index and a corresponding warning in PgHero. Instances set up
      using an earlier or later Mastodon version do not have this issue.
      
      This PR removes the duplicate index if it is present.
      96f0b33c
  13. 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
      1060666c
  14. Jan 17, 2022
  15. Jan 16, 2022
  16. Dec 13, 2021
  17. Nov 26, 2021
  18. 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
  19. 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
  20. Aug 08, 2021
  21. Jul 13, 2021
  22. Jul 08, 2021
  23. Jun 30, 2021
  24. Jun 21, 2021
  25. 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
  26. May 07, 2021
  27. May 05, 2021
    • Claire's avatar
      Improve performance of follow recommendation scheduler (#16159) · d9ae3db8
      Claire authored
      Express follow_recommendations in terms of account_summaries rather than
      accounts, integrate filters that are unconditionally used, and materialize
      the resulting view.
      
      This should result in the bulk of the computation being performed only once
      instead of **once per recommendation language**.
      d9ae3db8
  28. Apr 26, 2021
  29. Apr 25, 2021
  30. Apr 17, 2021
  31. Apr 16, 2021
  32. Apr 15, 2021
  33. Apr 12, 2021
Loading