Commit Graph

1509 Commits (0a7cff53c2577b3e79599e069eeb344f2613ad8d)

Author SHA1 Message Date
Matt Jankowski 12550a6a28
Use `Rails.env.local?` shorthand method to check env (#27519) 1 year ago
Matt Jankowski 714e3ae5b5
Use Rails 7.1 `normalizes` feature (#27521) 1 year ago
Matt Jankowski e93a75f1a1
Rails 7.1 update (#25963) 1 year ago
Claire 8b770ce811
Add warnings to report action logs (#27425) 1 year ago
Claire bcae744275
Fix some link anchors being recognized as hashtags (#27271) 1 year ago
Matt Jankowski b0213472df
Validate allowed schemes on preview card URLs (#27485) 1 year ago
Matt Jankowski 63a2a4b074
Fix `Performance/DeletePrefix` cop (#27448) 1 year ago
Matt Jankowski 08a376cbcb
Fix `Style/CombinableLoops` cop (#27429) 1 year ago
Claire 340c390849
Fix crash when filtering for “dormant” relationships (#27306) 1 year ago
Matt Jankowski c676bc91e9
Dont match mention in url query string (#25656)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Matt Jankowski 2016c5d912
Fix deprecation warning about `rewhere: true` being default behavior (Rails 7.1 prep) (#27190) 1 year ago
Matt Jankowski 3060bfa4bd
Extract filename and csv helper methods from `Form::Import` (#26129) 1 year ago
Claire 686406cc2d
Fix filtering audit log for entries about disabling 2FA (#27186) 1 year ago
Essem bd810391d6
Properly remove tIME chunk from PNG uploads (#27111) 1 year ago
Claire 1bd7455d81
Fix inefficient queries in “Follows and followers” as well as several admin pages (#27116) 1 year ago
Claire 39da3d86f8
Fix ActiveRecord using two connection pools when no replica is defined (#27061) 1 year ago
Claire e4f5114aaf
Fix obsolete cache key in status cache invalidation logic (#26934) 1 year ago
Eugen Rochko fc6825055b
Change score half-life for trending posts from 2 hours to 1 hour (#26915) 1 year ago
Robert R George 20666482ef
Added admin api for managing tags (#26872) 1 year ago
Claire 81caafbe84
Fix performances of profile directory (#26842) 1 year ago
Claire 355e3fb529
Simplify `Account.by_recent_status` and `Account.by_recent_sign_in` scopes (#26840) 1 year ago
Colette Kerr 8a9d7aeb1e
Change DCT method used for JPEG encoding to float (#26675) 1 year ago
Claire b83e487502
Fix moderator rights inconsistencies (#26729) 1 year ago
Claire cab4cbfa5c
Fix “Scoped order is ignored, it's forced to be batch order.” warnings (#26793) 1 year ago
Eugen Rochko 05093266e6
Fix some video encoding failing due to uneven dimensions (#26766) 1 year ago
Claire 16681e0f20
Add admin notifications for new Mastodon versions (#26582) 1 year ago
Claire 9e26cd5503
Add `authorized_fetch` server setting in addition to env var (#25798) 1 year ago
Eugen Rochko ecd76fa413
Fix videos not playing in some browsers due to unsupported color space (#26745) 1 year ago
Claire 9e77ab7db2
Change private statuses index to index without crutches (#26713) 1 year ago
Eugen Rochko 01b87a1632
Change video compression parameters (#26631) 1 year ago
Claire 0cce7fb617
Fix incorrect call to `PublicStatusesIndex.import` (#26697) 1 year ago
Eugen Rochko 5694e24bbf
Fix unnecessary condition causing seqscan when indexing (#26689) 1 year ago
jsgoldstein 30c191aaa0
Add new public status index (#26344)
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Daniel M Brasil f337008819
Fix timeout on invalid set of exclusionary parameters in `/api/v1/timelines/public` (#26239) 1 year ago
Claire 9ed0c91a37
Add auto-refresh of accounts we get new messages/edits of (#26510) 1 year ago
Claire ee702e36e5
Change follow recommendation materialized view to be faster in most cases (#26545)
Co-authored-by: Renaud Chaput <renchap@gmail.com>
1 year ago
Claire 60b9fa641d
Fix cached posts including stale stats (#26409) 1 year ago
Claire cc4560d95b
Change “privacy and reach” settings so that unchecking boxes always increase privacy and checking them always increase reach (#26508) 1 year ago
Claire 0446394465
Fix “legal” report category not showing up in moderation interface (#26509) 1 year ago
Claire 90ec88d58b
Add support for `indexable` attribute on remote actors (#26485)
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
1 year ago
Claire fc5ab2dc83
Add privacy tab in profile settings (#26484)
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
1 year ago
Claire 2c204d904b
Change `DB_REPLICA_*` environment variables to `REPLICA_DB_*` (#26386) 1 year ago
Claire d5bee37c57
Fix missing cached preview cards attributes (#26343) 1 year ago
Claire 9405e9af58
Fix incorrect model annotation for List#exclusive (#26313) 1 year ago
Claire 3105fef21a
Rename “read” database to “replica” for consistency (#26326) 1 year ago
Christian Schmidt 8da99ffb0d
Add alt text for preview card thumbnails (#26184) 1 year ago
Christian Schmidt f2257069b2
Fix AVIF attachments (#26264) 1 year ago
Claire b4e739ff0f
Change interaction modal in web UI (#26075)
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2 years ago
Eugen Rochko 7bd8ef355c
Add `published_at` attribute to preview cards (#26153) 2 years ago
Vyr Cossont 394d1f19b1
Add report.updated webhook (#24211) 2 years ago
Eugen Rochko 4d01d1a1ee
Remove 16:9 cropping from web UI (#26132) 2 years ago
Claire 5cbc402687
Fix replica being used even if not explicitly defined (#26074) 2 years ago
Claire 1e3b19230a
Add stricter protocol fields validation for accounts (#25937) 2 years ago
Eugen Rochko 26e522ac55
Fix not actually connecting to the configured replica (#25977) 2 years ago
Matt Jankowski 644c5fddd8
Refactor `Status.tagged_with_all` for brakeman SQL injection warning (#25941) 2 years ago
Matt Jankowski ce43ed144c
Rails 7.0 update (#25668) 2 years ago
Matt Jankowski 1ef014802b
Refactor `Trends::Query` to avoid brakeman sql injection warnings (#25881) 2 years ago
Matt Jankowski b8b2470cf8
Fix `Style/SlicingWithRange` cop (#25923) 2 years ago
Eugen Rochko 610cf6c371
Fix trend calculation working on too many items at a time (#25835) 2 years ago
Matt Jankowski cf33028f35
Admin mailer parameterization (#25759) 2 years ago
Claire 94fbac77e7
Fix processing of media files with unusual names (#25788) 2 years ago
Claire dc8f1fbd97
Merge pull request from GHSA-9928-3cp5-93fm
* Fix attachments getting processed despite failing content-type validation

* Add a restrictive ImageMagick security policy tailored for Mastodon

* Fix misdetection of MP3 files with large cover art

* Reject unprocessable audio/video files instead of keeping them unchanged
2 years ago
Eugen Rochko ba06a2f104
Revert "Rails 7 update" (#25667) 2 years ago
Matt Jankowski 50c2a03695
Rails 7 update (#24241) 2 years ago
Matt Jankowski 683ba5ecb1
Fix rails `rewhere` deprecation warning in directories api controller (#25625) 2 years ago
jsgoldstein 4581a528f7
Change account search to match by text when opted-in (#25599)
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2 years ago
Claire 602c458ab6
Add finer permission requirements for managing webhooks (#25463) 2 years ago
Claire ebfeaebedb
Fix /api/v1/conversations sometimes returning empty accounts (#25499) 2 years ago
Claire ec91ea4457
Fix missing validation on `default_privacy` setting (#25513) 2 years ago
Claire dd07393e75
Fix user settings not getting validated (#25508) 2 years ago
Daniel M Brasil d9c6f70cc6
Fix `ArgumentError` in `/api/v1/admin/accounts/:id/action` (#25386) 2 years ago
Claire ec59166844
Fix ArgumentError when loading newer Private Mentions (#25399) 2 years ago
Renaud Chaput 1cb4514d0e
Add missing report category translation (#25400) 2 years ago
Eugen Rochko 4c9406bdb0
Add time zone preference (#25342) 2 years ago
Eugen Rochko 67d17ce194
Add `legal` as report category (#23941) 2 years ago
Nick Schonning c66250abf1
Autofix Rubocop Regex Style rules (#23690)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko 4eda233e09
Add webhook templating (#23289)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Darius Kazemi bacb674921
Add exclusive lists (#22048)
Co-authored-by: Liam Cooke <liam@liamcooke.com>
Co-authored-by: John Holdun <john@johnholdun.com>
Co-authored-by: Effy Elden <effy@effy.space>
Co-authored-by: Lina Reyne <git@lina.pizza>
Co-authored-by: Lina <20880695+necropolina@users.noreply.github.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire 8884d1ece0
Add support for importing lists (#25203) 2 years ago
Claire 2b45fecde1
Fix multiple N+1s in ConversationsController (#25134) 2 years ago
Christian Schmidt 69057467cb
Translate CW, poll options and media descriptions (#24175)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire b6519ab3f5
Fix inconsistent naming of Instance.by_domain_and_subdomain (#25159) 2 years ago
Claire 1d588d58f1
Improve various queries against account domains (#25126) 2 years ago
Claire dfa5889fc0
Change Identity to not destroy associated User on destroy (#25098) 2 years ago
Matt Jankowski 9f5deb310b
Fix Performance/MapCompact cop (#24797)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Emelia Smith 19f9098551
Allow reports with long comments from remote instances, but truncate (#25028) 2 years ago
Claire bec6a1cad4
Add hCaptcha support (#25019) 2 years ago
Claire 3ed3d54bf3
Fix reports not being closed when performing batch suspensions (#24988) 2 years ago
Matt Jankowski 0b249ebdb0
Extract StatusSafeReblogInsert concern from Status (#24821) 2 years ago
Nick Schonning da3bd913ae
Autofix Rubocop Style/HashSyntax (#23754) 2 years ago
Matt Jankowski 2c6c398c60
Fix Performance/CollectionLiteralInLoop cop (#24819) 2 years ago
Claire a2a22bad23
Fix various edge cases with local moves (#24812) 2 years ago
Claire 1e75eb690d
Fix own posts not getting delivered to own lists (#24810) 2 years ago
Matt Jankowski a0c9f2447e
Fix Performance/MethodObjectAsBlock cop (#24798) 2 years ago
Matt Jankowski b5c4b47746
Fix Rails/ActiveRecordCallbacksOrder cop (#24689) 2 years ago
Matt Jankowski 38b2974a83
Extract AccountSearch concern from Account (#24716) 2 years ago
Matt Jankowski f1c1dd0118
Rename `with_lock` to `with_redis_lock` to avoid confusion with ActiveRecord's method (#24741) 2 years ago
Matt Jankowski 5e060e1f44
Fix Performance/Sum cop (#24788) 2 years ago
Claire 6693a4fe7c
Change lists to be able to include accounts with pending follow requests (#19727) 2 years ago
Matt Jankowski 88d33f361f
Fix Lint/DuplicateBranch cop (#24766) 2 years ago