Renaud Chaput
02ea161506
Support "system" theme setting (light/dark theme depending on user system preference) ( #29748 )
...
Co-authored-by: Nishiki Liu <hello@nshki.com>
2 years ago
Matt Jankowski
d39d625561
Use inclusive range in `ActivityTracker#get` ( #29413 )
2 years ago
Matt Jankowski
2c0441acd7
Use rails built-in `tag` methods in `TextFormatter.shortened_link` ( #28976 )
2 years ago
Matt Jankowski
7e6eb64f1e
Use full snowflake range in `admin/metrics` classes ( #29416 )
2 years ago
Matt Jankowski
a7284690fc
Add coverage for admin/metrics base classes, simplify subclass generation ( #29527 )
2 years ago
Matt Jankowski
e1fcb02867
Align `TagServersMeasure` to use `WITH` query style similar to others ( #29435 )
2 years ago
Matt Jankowski
ea8e7f3e9d
Align `TagServersMeasure` query style with other classes ( #29414 )
2 years ago
Matt Jankowski
76d256138e
Wrap media attachment size calculation in `COALESCE` ( #29415 )
2 years ago
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>
2 years ago
Claire
eff447a455
Rewrite signature verification using regexps and `StringScanner` ( #29133 )
2 years ago
Claire
7efc33b909
Move HTTP Signature parsing code to its own class ( #28932 )
2 years ago
Claire
1726085db5
Merge pull request from GHSA-3fjr-858r-92rw
...
* Fix insufficient origin validation
* Bump version to 4.3.0-alpha.1
2 years ago
KMY(雪あすか)
9a8293f58d
Fix process of receiving posts with bearcaps is not working ( #26527 )
2 years ago
Matt Jankowski
1290fede65
Fix `Rails/WhereExists` cop in app/lib ( #28862 )
2 years ago
Eugen Rochko
b19ae521b7
Add confirmation when redirecting logged-out requests to permalink ( #27792 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Matt Jankowski
7a1f087659
Add `created_before` and `updated_before` scopes to `MediaAttachment` ( #28869 )
2 years ago
Eugen Rochko
5b1eb09d54
Add annual reports for accounts ( #28693 )
2 years ago
Matt Jankowski
fd64817fbe
Fix `Rails/WhereExists` cop in app/lib/status_cache_hydrator ( #28808 )
2 years ago
Matt Jankowski
a2f02a0775
Disable `Rails/SkipsModelValidations` cop ( #28712 )
2 years ago
Claire
1070804a1a
Fix `RedownloadMediaWorker` not being called on transient S3 failure ( #28714 )
2 years ago
MitarashiDango
2c05b8a60d
Fix Undo Announce activity is not sent, when not followed by the reblogged post author ( #18482 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
10203bd57a
Clean up `Setting` model and remove dead code ( #28661 )
2 years ago
Matt Jankowski
3e7a9266ea
Remove unused `EmojiFormatter#count_tag_nesting` method ( #28643 )
2 years ago
Claire
5f4643b895
Add `PAPERCLIP_ROOT_URL` to Content-Security-Policy when used ( #28561 )
2 years ago
Claire
092bb8a27a
Fix Mastodon not correctly processing HTTP Signatures with query strings ( #28476 )
2 years ago
Claire
2bf84b93d4
Fix media attachment order of remote posts ( #28469 )
2 years ago
Eugen Rochko
b5ac61b2c5
Change algorithm of follow recommendations ( #28314 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Matt Jankowski
0e5b8fc46b
Fix `Style/RedundantReturn` cop ( #28391 )
2 years ago
Claire
dcc24db793
Fix N+1s because of association preloaders not actually getting called ( #28339 )
2 years ago
Michael Stanclift
afc8550b63
Change preview card deletes to be done using batch method ( #28183 )
2 years ago
Michael Stanclift
da3d8aff79
Error handling for attachment batch delete process ( #28184 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
7593465c23
Fix error when processing link preview with an array as `inLanguage` ( #28252 )
2 years ago
Matt Jankowski
3bc437b99a
Fix `Style/RedundantParentheses` cop ( #28176 )
2 years ago
Claire
963354978a
Add `Account#unavailable?` and `Account#permanently_unavailable?` aliases ( #28053 )
2 years ago
Claire
85662a5a57
Change `img-src` and `media-src` CSP directives to not include `https:` ( #28025 )
2 years ago
Matt Jankowski
bb0efe16e6
Remove `default_scope` from `MediaAttachment` class ( #28043 )
2 years ago
Matt Jankowski
43e2f763b2
Extract crutches_active_mentions from FeedManager ( #27785 )
2 years ago
Matt Jankowski
ce1bd81c85
Reduce complexity in `StatusCacheHydrator` ( #27783 )
2 years ago
Matt Jankowski
d6f50839e1
Fix `RSpec/SpecFilePathFormat` cops ( #27730 )
2 years ago
Matt Jankowski
0c4e7c06dc
Fix `Rails/FindEach` cop ( #26886 )
2 years ago
Matt Jankowski
fe26f33e0a
Fix `Rails/RedundantActiveRecordAllMethod` cop ( #26885 )
2 years ago
Claire
c0989b78f8
Fix incoming status creation date not being restricted to standard ISO8601 ( #27655 )
3 years ago
Matt Jankowski
eae5c7334a
Extract class from CSP configuration/initialization ( #26905 )
3 years ago
Claire
75255c01fc
Fix error when trying to delete already-deleted file with OpenStack Swift ( #27569 )
3 years ago
Claire
235a4cfdc8
Fix batch attachment deletion when using OpenStack Swift ( #27554 )
3 years ago
Matt Jankowski
e93a75f1a1
Rails 7.1 update ( #25963 )
3 years ago
Claire
13688539bc
Fix processing LDSigned activities from actors with unknown public keys ( #27474 )
3 years ago
Jeong Arm
ad44d832b8
Support "in:public" search filter ( #26976 )
3 years ago
Claire
299aa71c8f
Fix handling of `inLanguage` attribute in preview card processing ( #27423 )
3 years ago
KMY(雪あすか)
45bdd60f3c
Fix when unfollow a tag, my post also disappears from the home timeline ( #27391 )
3 years ago