Commit Graph

1093 Commits (fixes/cancel-follow-request)

Author SHA1 Message Date
Matt Jankowski 1f65a95421
Remove unneeded `reorder(nil)` conditions (#32200) 10 months ago
Matt Jankowski 4aa26eba53
Extract `WebPushRequest` from push notification worker and subscription (#32208) 10 months ago
Jeong Arm 66b2bc1c84
Ignore error if mentioned account was not processable (#29215)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
10 months ago
Claire 513f187daf
Add “A Mastodon update is available.” message on admin dashboard for non-bugfix updates (#32106) 10 months ago
Renaud Chaput 3dc4ddc663
Fix search params being dropped when redirected to non-deck path (#31984) 10 months ago
André Menrath 556837f156
Fix the summary of converted object types to be treated as HTML (#28629) 10 months ago
Eugen Rochko aaab6b7adc
Add reblogs and favourites counts to statuses in ActivityPub (#32007) 10 months ago
Claire 7ed9c590b9
Fix issue when encountering reblog of deleted post in feed rebuild (#32001) 10 months ago
Claire 8afa3bb2fa
Change Mastodon to issue correctly-signed queries by default (#31994) 10 months ago
Matt Jankowski 5405bdd344
Remove unused E2EE messaging code (#31193) 10 months ago
Taylor Chaparro 1b6a82b799
Fix invalid date searches returning 503 (#31526) 11 months ago
Claire a496aeabcb
Change form-action Content-Security-Policy directive to be more restrictive (#26897) 11 months ago
Claire c35ea59ee6
Fix security context sometimes not being added in LD-Signed activities (#31871) 11 months ago
David Roetzel ab763c493f
Ignore `undefined` as canonical url (#31882) 11 months ago
Matt Jankowski da07adfe6c
Add `CustomEmoji.enabled` scope (#31830) 11 months ago
Mike Dalessio a0ea2fa3b0
Change fetch link card service to parse as HTML5 (#31814) 11 months ago
Mike Dalessio 10143d053a
Change some instances of Nokogiri HTML4 parsing to HTML5 (#31812) 11 months ago
Matt Jankowski 4678473e54
Add `AnnualReport::Source#report_statuses` method for subclasses to use (#31753) 11 months ago
Matt Jankowski fe04291af4
Use more accurate beginning/ending times in annual report source (#31751) 11 months ago
David Roetzel 388d5473e1
Refactor (ruby) redis configuration (#31694) 11 months ago
Renaud Chaput 4016fd5128
Update CSS color variables to match our latest design system (#31510) 11 months ago
Claire 8a5b57f668
Revert "Support JSON-LD named graph (#31288)" (#31355) 12 months ago
Christian Schmidt 9d0cafd06b
Check Content-Length in ResponseWithLimitAdapter (#31285) 12 months ago
Christian Schmidt e9e63ed203
Support JSON-LD named graph (#31288) 12 months ago
Claire 2a704add90
Fix status processing failing halfway when a remote post has a malformed `replies` attribute (#31246) 12 months ago
Michael Stanclift 91fbd5b422
Adjust magick version detection in admin panel (#30845) 1 year ago
Michael Stanclift b120792f27
Adjust ffmpeg version detection in admin panel (#31130)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Emelia Smith 693d9b03ed
Enable OAuth PKCE Extension (#31129) 1 year ago
Adam Niedzielski fbf95216c5
Fix LinkCrawlWorker NoMethodError: undefined method `[]' for nil (#31144) 1 year ago
Adam Niedzielski cd0ca4b994
Select correct self link when parsing Webfinger response (#31110) 1 year ago
Claire ced5e853c7
Fix duplicate `orderedItems` in user archive's `outbox.json` (#31099) 1 year ago
Adam Niedzielski fa54b61216
Handle missing links in Webfinger response (#31030) 1 year ago
David Roetzel 2ea9336b68
Do not pass unknown encoding names to nokogiri. (#30987) 1 year ago
David Roetzel fa8e972722
Fix author names as arrays in linked data. (#30957) 1 year ago
David Roetzel 97eddb5906
Fix details extraction when no title exists. (#30933) 1 year ago
David Roetzel 016c1e4e78
Improve handling of encoding problems when creating link previews (#30929) 1 year ago
Claire d3a056adfd
Merge pull request from GHSA-xjvf-fm67-4qc3 1 year ago
Claire 395f17ca17
Merge pull request from GHSA-vp5r-5pgw-jwqx
* Fix streaming sessions not being closed when revoking access to an app

* Add tests for GHSA-7w3c-p9j8-mq3x
1 year ago
David Roetzel 9be77fc0db
Revert "Add system check for missing database indexes" (#30909) 1 year ago
David Roetzel ebd8e1bbb6
Add system check for missing database indexes (#30888) 1 year ago
Eugen Rochko 0f3fef6fda
Change search modifiers to be case-insensitive (#30865) 1 year ago
Michael Stanclift 3225954865
Fix browser window color on light theme (#30861) 1 year ago
Matt Jankowski ad53b0ab65
Rely on built-in ruby private IP detection (#30848) 1 year ago
Matt Jankowski 72484a194f
Remove `CacheBuster` default options (#30718) 1 year ago
David Roetzel 2cab1c7b09
Improve encoding detection for link cards (#30780) 1 year ago
Matt Jankowski a8b3d2e4e4
Consolidate time periods methods into base measure (#30757) 1 year ago
Claire 58ace2e45e
Fix SQL error in admin measures API (#30753) 1 year ago
Matt Jankowski 38c6825eda
Remove unused `Extractor#extract_cashtags_with_indices` method (#30742) 1 year ago
Michael Stanclift d5f02adad7
Add option to use native Ruby driver for Redis (#30717) 1 year ago
Michael Stanclift a777f7e3cc
Restore short Ruby version on admin dashboard (#30711) 1 year ago
Michael Stanclift 4a5442edaa
Add ffmpeg and ImageMagick versions to admin dashboard (#30710) 1 year ago
Claire bf56e982a9
Fix notifications from limited users being outright dropped (#30559) 1 year ago
Matt Jankowski 665f6f09a0
Add expired/revoked scopes for doorkeeper models via extension modules (#29936) 1 year ago
Matt Jankowski 88cfc4056d
Extract method to generate series of days in measure sql classes (#29928) 1 year ago
Matt Jankowski 9cc4040308
Extract `COMMENT_SIZE_LIMIT` constant in `AP::Activity::Flag` class (#30637) 1 year ago
Claire 496c10542b
Fix division by zero on some video/GIF files (#30600) 1 year ago
Emelia Smith e02d23b549
Change `read:me` scope to `profile` scope (#30357)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Eugen Rochko 5f15a892fa
Add support for libvips in addition to ImageMagick (#30090)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Emelia Smith d20a5c3ec9
Fix: remove broken OAuth Application vacuuming & throttle OAuth Application registrations (#30316)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Eugen Rochko 128987eded
Add support for `fediverse:creator` OpenGraph tag (#30398) 1 year ago
Matt Jankowski c61e356475
Add `Status::MEDIA_ATTACHMENTS_LIMIT` configuration constant (#30433) 1 year ago
Matt Jankowski 9b5055d34d
Fix `Style/SuperArguments` cop (#30406) 1 year ago
Claire 133d98fb25
Normalize language code of incoming posts (#30403) 1 year ago
Matt Jankowski def6b686ff
Fix `Rails/WhereRange` cop (#30343) 1 year ago
Emelia Smith 2da2a1dae9
Support multiple redirect_uris when creating OAuth 2.0 Applications (#29192) 1 year ago
Matt Jankowski c9ee1437c0
Use ruby language constants to build version string in software version dimension (#30309) 1 year ago
Claire 96fb6e491f
Revert "Migrate paperclip `_file_size` columns to bigint (#29263)" (#30203) 1 year ago
Matt Jankowski b152f936c1
Migrate paperclip `_file_size` columns to bigint (#29263)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Claire 8e4fea77e3
Fix race condition in `POST /api/v1/push/subscription` (#30166) 1 year ago
Tim Rogers 2f73e486b7
Switched HTMLEntities to the expanded flavor which supports a larger … (#30173) 1 year ago
Tim Rogers b128474625
Fixed rendering of excess whitespace in status card titles (#30017) 1 year ago
Tim Rogers 1ca6ff8ca5
Fixed crash when supplying FFMPEG_BINARY environment variable (#30022) 1 year ago
Matt Jankowski 11e0049b08
Use enum-generated scopes/queries for `BulkImport` (#29975) 1 year ago
Matt Jankowski caad1e2628
Add scope `Status.distributable_visibility` (#29950) 1 year ago
Matt Jankowski 3159c0a547
Add scope `Status.list_eligible_visibility` (#29951) 1 year ago
Matt Jankowski 285f63c02e
Use composable query in `User.active` scope (#29775) 1 year ago
Matt Jankowski b61ae28f8d
Separate methods for theme style and meta color tags (#29802) 1 year ago
Matt Jankowski 966d7f5bf9
Add missing snowflake range correction (#29841) 1 year ago
Jeong Arm 4045c069f8
Use `public_visibility` (#29847) 1 year ago
Matt Jankowski 921c4c1273
Match comment style of `FeedManager` list/tags checks (#29639)
Co-authored-by: Renaud Chaput <renchap@gmail.com>
1 year ago
Renaud Chaput 672c9f5f05
Change the `theme-color` value automatically when using a built-in theme (#29795) 1 year ago
Renaud Chaput 02ea161506
Support "system" theme setting (light/dark theme depending on user system preference) (#29748)
Co-authored-by: Nishiki Liu <hello@nshki.com>
1 year ago
Matt Jankowski d39d625561
Use inclusive range in `ActivityTracker#get` (#29413) 1 year ago
Matt Jankowski 2c0441acd7
Use rails built-in `tag` methods in `TextFormatter.shortened_link` (#28976) 1 year ago
Matt Jankowski 7e6eb64f1e
Use full snowflake range in `admin/metrics` classes (#29416) 1 year ago
Matt Jankowski a7284690fc
Add coverage for admin/metrics base classes, simplify subclass generation (#29527) 1 year ago
Matt Jankowski e1fcb02867
Align `TagServersMeasure` to use `WITH` query style similar to others (#29435) 1 year ago
Matt Jankowski ea8e7f3e9d
Align `TagServersMeasure` query style with other classes (#29414) 1 year ago
Matt Jankowski 76d256138e
Wrap media attachment size calculation in `COALESCE` (#29415) 1 year 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>
1 year ago
Claire eff447a455
Rewrite signature verification using regexps and `StringScanner` (#29133) 1 year ago
Claire 7efc33b909
Move HTTP Signature parsing code to its own class (#28932) 1 year 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) 2 years ago
Matt Jankowski eae5c7334a
Extract class from CSP configuration/initialization (#26905) 2 years ago
Claire 75255c01fc
Fix error when trying to delete already-deleted file with OpenStack Swift (#27569) 2 years ago
Claire 235a4cfdc8
Fix batch attachment deletion when using OpenStack Swift (#27554) 2 years ago
Matt Jankowski e93a75f1a1
Rails 7.1 update (#25963) 2 years ago
Claire 13688539bc
Fix processing LDSigned activities from actors with unknown public keys (#27474) 2 years ago
Jeong Arm ad44d832b8
Support "in:public" search filter (#26976) 2 years ago
Claire 299aa71c8f
Fix handling of `inLanguage` attribute in preview card processing (#27423) 2 years ago
KMY(雪あすか) 45bdd60f3c
Fix when unfollow a tag, my post also disappears from the home timeline (#27391) 2 years ago
Claire 3262d1f1b6
Fix incorrect serialization of regional languages in `contentMap` (#27207) 2 years ago
Michael Stanclift 3171afc36a
Add Elasticsearch index size to Admin dashboard (#27301)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire 3c13d70600
Add mention of YJIT in admin dashboard if enabled (#27283) 2 years ago
Matt Jankowski 2f8f92df48
Fix Elastic check deprecation warning about gem version (#27262) 2 years ago
Claire ceb365c419
Fix boosts of local users being filtered in account timelines (#27204) 2 years ago
Jakob Gillich 770fd993ec
Fix importer returning negative row estimates (#27258) 2 years ago
Claire 3de6dcf634
Add redirection on `/deck` URLs for logged-out users (#27128) 2 years ago
Renaud Chaput 4aaaf0dde3
Fix the search documentation URL in system checks (#27036) 2 years ago
Claire eeab3560fc
Merge pull request from GHSA-v3xf-c9qf-j667 2 years ago
Claire 94893cf24f
Merge pull request from GHSA-hcqf-fw2r-52g4
* Revert "Fix request URL normalisation for bare domain and 8-bit characters (#26285)"

This reverts commit 8891d8945d.

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

This reverts commit fd284311e7.
2 years ago
Claire 6273416292
Fix post edits not being forwarded as expected (#26936) 2 years ago
Eugen Rochko 3a679844e4
Fix `account_id`, `max_id` and `min_id` params not working in search (#26847) 2 years ago
Eugen Rochko a90b0056cc
Fix `#hashtag` matching on individual components in search (#26835) 2 years ago
Claire 1f99d86287
Fix blocked domain appears from account feed (#26823)
Co-authored-by: Jeong Arm <kjwonmail@gmail.com>
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2 years ago
Claire b83e487502
Fix moderator rights inconsistencies (#26729) 2 years ago
Claire 223f9ca665
Fix crash when encountering invalid URL (#26814) 2 years ago
Claire cab4cbfa5c
Fix “Scoped order is ignored, it's forced to be batch order.” warnings (#26793) 2 years ago
Eugen Rochko ece1ff77d6
Add `in:library` syntax to search (#26760)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko 68b4e36c82
Fix `#hashtag` matching non-hashtagged posts in search (#26781) 2 years ago