Commit Graph
955 Commits
Author SHA1 Message Date
yoheizuho 59e77b2e80 Merge branch 'main' of https://github.com/mastodon/mastodon into features/quote 2024-02-26 02:28:56 +00:00
yoheizuho f2161a6340 fix:quote not working 2024-02-26 02:23:43 +00:00
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 <[email protected]>
2024-02-14 15:15:34 +01:00
ClaireandGitHub eff447a455 Rewrite signature verification using regexps and StringScanner (#29133) 2024-02-07 17:24:42 +00:00
ClaireandGitHub 7efc33b909 Move HTTP Signature parsing code to its own class (#28932) 2024-02-07 13:35:37 +00:00
yoheizuho 14625836de remove br 2024-02-04 12:38:54 +09:00
yoheizuho c09bab16e1 Merge remote-tracking branch 'origin/features/main' into features/4.3alpha 2024-02-02 22:18:11 +09:00
ClaireandGitHub 1726085db5 Merge pull request from GHSA-3fjr-858r-92rw
* Fix insufficient origin validation

* Bump version to 4.3.0-alpha.1
2024-02-01 15:56:46 +01:00
KMY(雪あすか)andGitHub 9a8293f58d Fix process of receiving posts with bearcaps is not working (#26527) 2024-01-25 10:37:09 +00:00
Matt JankowskiandGitHub 1290fede65 Fix Rails/WhereExists cop in app/lib (#28862) 2024-01-24 11:51:09 +00:00
b19ae521b7 Add confirmation when redirecting logged-out requests to permalink (#27792)
Co-authored-by: Claire <[email protected]>
2024-01-24 10:49:19 +00:00
Matt JankowskiandGitHub 7a1f087659 Add created_before and updated_before scopes to MediaAttachment (#28869) 2024-01-24 10:32:54 +00:00
Eugen RochkoandGitHub 5b1eb09d54 Add annual reports for accounts (#28693) 2024-01-24 09:38:10 +00:00
Matt JankowskiandGitHub fd64817fbe Fix Rails/WhereExists cop in app/lib/status_cache_hydrator (#28808) 2024-01-19 09:19:48 +00:00
Matt JankowskiandGitHub a2f02a0775 Disable Rails/SkipsModelValidations cop (#28712) 2024-01-15 13:46:47 +00:00
ClaireandGitHub 1070804a1a Fix RedownloadMediaWorker not being called on transient S3 failure (#28714) 2024-01-12 17:00:17 +00:00
2c05b8a60d Fix Undo Announce activity is not sent, when not followed by the reblogged post author (#18482)
Co-authored-by: Claire <[email protected]>
2024-01-12 15:58:28 +00:00
ClaireandGitHub 10203bd57a Clean up Setting model and remove dead code (#28661) 2024-01-09 14:01:53 +00:00
Matt JankowskiandGitHub 3e7a9266ea Remove unused EmojiFormatter#count_tag_nesting method (#28643) 2024-01-08 13:36:47 +00:00
ClaireandGitHub 5f4643b895 Add PAPERCLIP_ROOT_URL to Content-Security-Policy when used (#28561) 2024-01-05 10:45:36 +00:00
ClaireandGitHub 092bb8a27a Fix Mastodon not correctly processing HTTP Signatures with query strings (#28476) 2024-01-03 11:29:26 +00:00
yoheizuho d342d103ba Merge branch 'main' of https://github.com/mastodon/mastodon into features/main 2023-12-29 09:55:54 +00:00
yoheizuho 6bd375adab Merge branch 'main' of https://github.com/mastodon/mastodon into features/main 2023-12-29 09:54:22 +00:00
ClaireandGitHub 2bf84b93d4 Fix media attachment order of remote posts (#28469) 2023-12-22 15:10:39 +00:00
b5ac61b2c5 Change algorithm of follow recommendations (#28314)
Co-authored-by: Claire <[email protected]>
2023-12-19 10:59:43 +00:00
Matt JankowskiandGitHub 0e5b8fc46b Fix Style/RedundantReturn cop (#28391) 2023-12-18 09:50:51 +00:00
ClaireandGitHub dcc24db793 Fix N+1s because of association preloaders not actually getting called (#28339) 2023-12-13 07:47:32 +00:00
Michael StancliftandGitHub afc8550b63 Change preview card deletes to be done using batch method (#28183) 2023-12-11 07:49:10 +00:00
da3d8aff79 Error handling for attachment batch delete process (#28184)
Co-authored-by: Claire <[email protected]>
2023-12-07 14:40:44 +00:00
ClaireandGitHub 7593465c23 Fix error when processing link preview with an array as inLanguage (#28252) 2023-12-07 09:05:08 +00:00
Matt JankowskiandGitHub 3bc437b99a Fix Style/RedundantParentheses cop (#28176) 2023-12-01 16:00:44 +00:00
ClaireandGitHub 963354978a Add Account#unavailable? and Account#permanently_unavailable? aliases (#28053) 2023-11-30 15:43:26 +00:00
ClaireandGitHub 85662a5a57 Change img-src and media-src CSP directives to not include https: (#28025) 2023-11-30 13:47:01 +00:00
Matt JankowskiandGitHub bb0efe16e6 Remove default_scope from MediaAttachment class (#28043) 2023-11-30 13:30:35 +00:00
Matt JankowskiandGitHub 43e2f763b2 Extract crutches_active_mentions from FeedManager (#27785) 2023-11-10 12:47:38 +00:00
Matt JankowskiandGitHub ce1bd81c85 Reduce complexity in StatusCacheHydrator (#27783) 2023-11-09 09:53:44 +00:00
Matt JankowskiandGitHub d6f50839e1 Fix RSpec/SpecFilePathFormat cops (#27730) 2023-11-06 16:25:40 +00:00
Matt JankowskiandGitHub 0c4e7c06dc Fix Rails/FindEach cop (#26886) 2023-11-06 15:53:29 +00:00
Matt JankowskiandGitHub fe26f33e0a Fix Rails/RedundantActiveRecordAllMethod cop (#26885) 2023-11-06 15:51:52 +00:00
ClaireandGitHub c0989b78f8 Fix incoming status creation date not being restricted to standard ISO8601 (#27655) 2023-11-06 09:28:14 +00:00
Matt JankowskiandGitHub eae5c7334a Extract class from CSP configuration/initialization (#26905) 2023-10-27 16:20:40 +00:00
ClaireandGitHub 75255c01fc Fix error when trying to delete already-deleted file with OpenStack Swift (#27569) 2023-10-26 13:09:48 +00:00
ClaireandGitHub 235a4cfdc8 Fix batch attachment deletion when using OpenStack Swift (#27554) 2023-10-25 13:55:57 +00:00
Matt JankowskiandGitHub e93a75f1a1 Rails 7.1 update (#25963) 2023-10-23 17:58:29 +00:00
ClaireandGitHub 13688539bc Fix processing LDSigned activities from actors with unknown public keys (#27474) 2023-10-20 10:45:46 +02:00
Jeong ArmandGitHub ad44d832b8 Support "in:public" search filter (#26976) 2023-10-17 16:12:03 +02:00
ClaireandGitHub 299aa71c8f Fix handling of inLanguage attribute in preview card processing (#27423) 2023-10-16 15:24:14 +02:00
KMY(雪あすか)andGitHub 45bdd60f3c Fix when unfollow a tag, my post also disappears from the home timeline (#27391) 2023-10-13 11:15:47 +02:00
ClaireandGitHub 3262d1f1b6 Fix incorrect serialization of regional languages in contentMap (#27207) 2023-10-06 17:46:04 +02:00
3171afc36a Add Elasticsearch index size to Admin dashboard (#27301)
Co-authored-by: Claire <[email protected]>
2023-10-06 17:02:55 +02:00