Commit Graph

971 Commits (6f285bb2a606467bac555b630364f82fb1f3eaaf)

Author SHA1 Message Date
Matt Jankowski 11e0049b08
Use enum-generated scopes/queries for `BulkImport` ()
Matt Jankowski caad1e2628
Add scope `Status.distributable_visibility` ()
Matt Jankowski 3159c0a547
Add scope `Status.list_eligible_visibility` ()
Matt Jankowski 285f63c02e
Use composable query in `User.active` scope ()
Matt Jankowski b61ae28f8d
Separate methods for theme style and meta color tags ()
Matt Jankowski 966d7f5bf9
Add missing snowflake range correction ()
Jeong Arm 4045c069f8
Use `public_visibility` ()
Matt Jankowski 921c4c1273
Match comment style of `FeedManager` list/tags checks ()
Co-authored-by: Renaud Chaput <renchap@gmail.com>
Renaud Chaput 672c9f5f05
Change the `theme-color` value automatically when using a built-in theme ()
Renaud Chaput 02ea161506
Support "system" theme setting (light/dark theme depending on user system preference) ()
Co-authored-by: Nishiki Liu <hello@nshki.com>
Matt Jankowski d39d625561
Use inclusive range in `ActivityTracker#get` ()
Matt Jankowski 2c0441acd7
Use rails built-in `tag` methods in `TextFormatter.shortened_link` ()
Matt Jankowski 7e6eb64f1e
Use full snowflake range in `admin/metrics` classes ()
Matt Jankowski a7284690fc
Add coverage for admin/metrics base classes, simplify subclass generation ()
Matt Jankowski e1fcb02867
Align `TagServersMeasure` to use `WITH` query style similar to others ()
Matt Jankowski ea8e7f3e9d
Align `TagServersMeasure` query style with other classes ()
Matt Jankowski 76d256138e
Wrap media attachment size calculation in `COALESCE` ()
Emelia Smith 68eaa804c9
Merge pull request from GHSA-7w3c-p9j8-mq3x
* Ensure destruction of OAuth Applications notifies streaming

Due to doorkeeper using a dependent: delete_all relationship, the destroy of an OAuth Application bypassed the existing AccessTokenExtension callbacks for announcing destructing of access tokens.

* Ensure password resets revoke access to Streaming API

* Improve performance of deleting OAuth tokens

---------

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Claire eff447a455
Rewrite signature verification using regexps and `StringScanner` ()
Claire 7efc33b909
Move HTTP Signature parsing code to its own class ()
Claire 1726085db5
Merge pull request from GHSA-3fjr-858r-92rw
* Fix insufficient origin validation

* Bump version to 4.3.0-alpha.1
KMY(雪あすか) 9a8293f58d
Fix process of receiving posts with bearcaps is not working ()
Matt Jankowski 1290fede65
Fix `Rails/WhereExists` cop in app/lib ()
Eugen Rochko b19ae521b7
Add confirmation when redirecting logged-out requests to permalink ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Matt Jankowski 7a1f087659
Add `created_before` and `updated_before` scopes to `MediaAttachment` ()
Eugen Rochko 5b1eb09d54
Add annual reports for accounts ()
Matt Jankowski fd64817fbe
Fix `Rails/WhereExists` cop in app/lib/status_cache_hydrator ()
Matt Jankowski a2f02a0775
Disable `Rails/SkipsModelValidations` cop ()
Claire 1070804a1a
Fix `RedownloadMediaWorker` not being called on transient S3 failure ()
MitarashiDango 2c05b8a60d
Fix Undo Announce activity is not sent, when not followed by the reblogged post author ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Claire 10203bd57a
Clean up `Setting` model and remove dead code ()
Matt Jankowski 3e7a9266ea
Remove unused `EmojiFormatter#count_tag_nesting` method ()
Claire 5f4643b895
Add `PAPERCLIP_ROOT_URL` to Content-Security-Policy when used ()
Claire 092bb8a27a
Fix Mastodon not correctly processing HTTP Signatures with query strings ()
Claire 2bf84b93d4
Fix media attachment order of remote posts ()
Eugen Rochko b5ac61b2c5
Change algorithm of follow recommendations ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Matt Jankowski 0e5b8fc46b
Fix `Style/RedundantReturn` cop ()
Claire dcc24db793
Fix N+1s because of association preloaders not actually getting called ()
Michael Stanclift afc8550b63
Change preview card deletes to be done using batch method ()
Michael Stanclift da3d8aff79
Error handling for attachment batch delete process ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Claire 7593465c23
Fix error when processing link preview with an array as `inLanguage` ()
Matt Jankowski 3bc437b99a
Fix `Style/RedundantParentheses` cop ()
Claire 963354978a
Add `Account#unavailable?` and `Account#permanently_unavailable?` aliases ()
Claire 85662a5a57
Change `img-src` and `media-src` CSP directives to not include `https:` ()
Matt Jankowski bb0efe16e6
Remove `default_scope` from `MediaAttachment` class ()
Matt Jankowski 43e2f763b2
Extract crutches_active_mentions from FeedManager ()
Matt Jankowski ce1bd81c85
Reduce complexity in `StatusCacheHydrator` ()
Matt Jankowski d6f50839e1
Fix `RSpec/SpecFilePathFormat` cops ()
Matt Jankowski 0c4e7c06dc
Fix `Rails/FindEach` cop ()
Matt Jankowski fe26f33e0a
Fix `Rails/RedundantActiveRecordAllMethod` cop ()
Claire c0989b78f8
Fix incoming status creation date not being restricted to standard ISO8601 ()
Matt Jankowski eae5c7334a
Extract class from CSP configuration/initialization ()
Claire 75255c01fc
Fix error when trying to delete already-deleted file with OpenStack Swift ()
Claire 235a4cfdc8
Fix batch attachment deletion when using OpenStack Swift ()
Matt Jankowski e93a75f1a1
Rails 7.1 update ()
Claire 13688539bc
Fix processing LDSigned activities from actors with unknown public keys ()
Jeong Arm ad44d832b8
Support "in:public" search filter ()
Claire 299aa71c8f
Fix handling of `inLanguage` attribute in preview card processing ()
KMY(雪あすか) 45bdd60f3c
Fix when unfollow a tag, my post also disappears from the home timeline ()
Claire 3262d1f1b6
Fix incorrect serialization of regional languages in `contentMap` ()
Michael Stanclift 3171afc36a
Add Elasticsearch index size to Admin dashboard ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Claire 3c13d70600
Add mention of YJIT in admin dashboard if enabled ()
Matt Jankowski 2f8f92df48
Fix Elastic check deprecation warning about gem version ()
Claire ceb365c419
Fix boosts of local users being filtered in account timelines ()
Jakob Gillich 770fd993ec
Fix importer returning negative row estimates ()
Claire 3de6dcf634
Add redirection on `/deck` URLs for logged-out users ()
Renaud Chaput 4aaaf0dde3
Fix the search documentation URL in system checks ()
Claire eeab3560fc
Merge pull request from GHSA-v3xf-c9qf-j667
Claire 94893cf24f
Merge pull request from GHSA-hcqf-fw2r-52g4
* Revert "Fix request URL normalisation for bare domain and 8-bit characters ()"

This reverts commit 8891d8945d.

* Revert "Do not normalize URL before fetching it ()"

This reverts commit fd284311e7.
Claire 6273416292
Fix post edits not being forwarded as expected ()
Eugen Rochko 3a679844e4
Fix `account_id`, `max_id` and `min_id` params not working in search ()
Eugen Rochko a90b0056cc
Fix `#hashtag` matching on individual components in search ()
Claire 1f99d86287
Fix blocked domain appears from account feed ()
Co-authored-by: Jeong Arm <kjwonmail@gmail.com>
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Claire b83e487502
Fix moderator rights inconsistencies ()
Claire 223f9ca665
Fix crash when encountering invalid URL ()
Claire cab4cbfa5c
Fix “Scoped order is ignored, it's forced to be batch order.” warnings ()
Eugen Rochko ece1ff77d6
Add `in:library` syntax to search ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Eugen Rochko 68b4e36c82
Fix `#hashtag` matching non-hashtagged posts in search ()
Eugen Rochko e52d0494ee
Fix `before:`, `after:` and `during:` failing when time zone not set ()
Claire 16681e0f20
Add admin notifications for new Mastodon versions ()
Eugen Rochko e754083e8a
Fix unmatched quotes and prefixes causing search to fail ()
Eugen Rochko 0008458128
Fix search queries with slash causing or-condition ()
Claire 9bb2fb6b14
Change importers to avoid a few inefficiencies ()
Claire 5c38c3a9a1
Change text extraction in `PlainTextFormatter` to be faster ()
Eugen Rochko bba76e7267
Change `language:` to attempt to match to a known value in search ()
Claire 9e77ab7db2
Change private statuses index to index without crutches ()
Claire c0605747ad
Fix N+1 in `tootctl search deploy` ()
Eugen Rochko 67166de865
Add `from:me` syntax to search ()
Eugen Rochko 822a35b9d5
Fix not being able to negate prefix clauses in search ()
Claire 072112867b
Fix dashboard check for Elasticsearch suggested command including incorrect names ()
Claire f2ec2876a4
Add Elasticsearch/OpenSearch version to “Software” in admin dashboard ()
Claire e3825a13c1
Add PublicStatusesCheck to Elasticsearch index check on admin dashboard ()
jsgoldstein 30c191aaa0
Add new public status index ()
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Claire bd023a2637
Fix admin dashboard check when using Elasticsearch with `ES_PREFIX` ()
Nick Schonning b970ed6098
Update rubocop and rubocop-rspec ()
Claire ac0eb0533e
Add Elasticsearch cluster health check and indexes mismatch check to dashboard ()
Claire 9ed0c91a37
Add auto-refresh of accounts we get new messages/edits of ()
Nicolai Søborg 13ffe91c81
Fix `frame_rate` for videos where `ffprobe` reports 0/0 ()
Renaud Chaput b95867ad1f
Allow setting a custom HTTP method in CacheBuster ()
Co-authored-by: Jorijn Schrijvershof <jorijn@jorijn.com>
Christian Schmidt 8da99ffb0d
Add alt text for preview card thumbnails ()