Commit Graph

1024 Commits (d58173e45bf0fdf5a6015d40eb88c313a3d99e5c)

Author SHA1 Message Date
Tim Rogers 2f73e486b7
Switched HTMLEntities to the expanded flavor which supports a larger … (#30173) 8 months ago
Tim Rogers b128474625
Fixed rendering of excess whitespace in status card titles (#30017) 8 months ago
Tim Rogers 1ca6ff8ca5
Fixed crash when supplying FFMPEG_BINARY environment variable (#30022) 8 months ago
Matt Jankowski 11e0049b08
Use enum-generated scopes/queries for `BulkImport` (#29975) 8 months ago
Matt Jankowski caad1e2628
Add scope `Status.distributable_visibility` (#29950) 9 months ago
Matt Jankowski 3159c0a547
Add scope `Status.list_eligible_visibility` (#29951) 9 months ago
Matt Jankowski 285f63c02e
Use composable query in `User.active` scope (#29775) 9 months ago
Matt Jankowski b61ae28f8d
Separate methods for theme style and meta color tags (#29802) 9 months ago
Matt Jankowski 966d7f5bf9
Add missing snowflake range correction (#29841) 9 months ago
Jeong Arm 4045c069f8
Use `public_visibility` (#29847) 9 months ago
Matt Jankowski 921c4c1273
Match comment style of `FeedManager` list/tags checks (#29639)
Co-authored-by: Renaud Chaput <renchap@gmail.com>
9 months ago
Renaud Chaput 672c9f5f05
Change the `theme-color` value automatically when using a built-in theme (#29795) 9 months 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>
9 months ago
Matt Jankowski d39d625561
Use inclusive range in `ActivityTracker#get` (#29413) 10 months ago
Matt Jankowski 2c0441acd7
Use rails built-in `tag` methods in `TextFormatter.shortened_link` (#28976) 10 months ago
Matt Jankowski 7e6eb64f1e
Use full snowflake range in `admin/metrics` classes (#29416) 10 months ago
Matt Jankowski a7284690fc
Add coverage for admin/metrics base classes, simplify subclass generation (#29527) 10 months ago
Matt Jankowski e1fcb02867
Align `TagServersMeasure` to use `WITH` query style similar to others (#29435) 10 months ago
Matt Jankowski ea8e7f3e9d
Align `TagServersMeasure` query style with other classes (#29414) 10 months ago
Matt Jankowski 76d256138e
Wrap media attachment size calculation in `COALESCE` (#29415) 10 months 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>
11 months ago
Claire eff447a455
Rewrite signature verification using regexps and `StringScanner` (#29133) 11 months ago
Claire 7efc33b909
Move HTTP Signature parsing code to its own class (#28932) 11 months ago
Claire 1726085db5
Merge pull request from GHSA-3fjr-858r-92rw
* Fix insufficient origin validation

* Bump version to 4.3.0-alpha.1
11 months ago
KMY(雪あすか) 9a8293f58d
Fix process of receiving posts with bearcaps is not working (#26527) 11 months ago
Matt Jankowski 1290fede65
Fix `Rails/WhereExists` cop in app/lib (#28862) 11 months ago
Eugen Rochko b19ae521b7
Add confirmation when redirecting logged-out requests to permalink (#27792)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
11 months ago
Matt Jankowski 7a1f087659
Add `created_before` and `updated_before` scopes to `MediaAttachment` (#28869) 11 months ago
Eugen Rochko 5b1eb09d54
Add annual reports for accounts (#28693) 11 months ago
Matt Jankowski fd64817fbe
Fix `Rails/WhereExists` cop in app/lib/status_cache_hydrator (#28808) 11 months ago
Matt Jankowski a2f02a0775
Disable `Rails/SkipsModelValidations` cop (#28712) 12 months ago
Claire 1070804a1a
Fix `RedownloadMediaWorker` not being called on transient S3 failure (#28714) 12 months 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>
12 months ago
Claire 10203bd57a
Clean up `Setting` model and remove dead code (#28661) 12 months ago
Matt Jankowski 3e7a9266ea
Remove unused `EmojiFormatter#count_tag_nesting` method (#28643) 12 months ago
Claire 5f4643b895
Add `PAPERCLIP_ROOT_URL` to Content-Security-Policy when used (#28561) 12 months ago
Claire 092bb8a27a
Fix Mastodon not correctly processing HTTP Signatures with query strings (#28476) 12 months ago
Claire 2bf84b93d4
Fix media attachment order of remote posts (#28469) 1 year ago
Eugen Rochko b5ac61b2c5
Change algorithm of follow recommendations (#28314)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Matt Jankowski 0e5b8fc46b
Fix `Style/RedundantReturn` cop (#28391) 1 year ago
Claire dcc24db793
Fix N+1s because of association preloaders not actually getting called (#28339) 1 year ago
Michael Stanclift afc8550b63
Change preview card deletes to be done using batch method (#28183) 1 year ago
Michael Stanclift da3d8aff79
Error handling for attachment batch delete process (#28184)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Claire 7593465c23
Fix error when processing link preview with an array as `inLanguage` (#28252) 1 year ago
Matt Jankowski 3bc437b99a
Fix `Style/RedundantParentheses` cop (#28176) 1 year ago
Claire 963354978a
Add `Account#unavailable?` and `Account#permanently_unavailable?` aliases (#28053) 1 year ago
Claire 85662a5a57
Change `img-src` and `media-src` CSP directives to not include `https:` (#28025) 1 year ago
Matt Jankowski bb0efe16e6
Remove `default_scope` from `MediaAttachment` class (#28043) 1 year ago
Matt Jankowski 43e2f763b2
Extract crutches_active_mentions from FeedManager (#27785) 1 year ago
Matt Jankowski ce1bd81c85
Reduce complexity in `StatusCacheHydrator` (#27783) 1 year ago
Matt Jankowski d6f50839e1
Fix `RSpec/SpecFilePathFormat` cops (#27730) 1 year ago
Matt Jankowski 0c4e7c06dc
Fix `Rails/FindEach` cop (#26886) 1 year ago
Matt Jankowski fe26f33e0a
Fix `Rails/RedundantActiveRecordAllMethod` cop (#26885) 1 year ago
Claire c0989b78f8
Fix incoming status creation date not being restricted to standard ISO8601 (#27655) 1 year ago
Matt Jankowski eae5c7334a
Extract class from CSP configuration/initialization (#26905) 1 year ago
Claire 75255c01fc
Fix error when trying to delete already-deleted file with OpenStack Swift (#27569) 1 year ago
Claire 235a4cfdc8
Fix batch attachment deletion when using OpenStack Swift (#27554) 1 year ago
Matt Jankowski e93a75f1a1
Rails 7.1 update (#25963) 1 year ago
Claire 13688539bc
Fix processing LDSigned activities from actors with unknown public keys (#27474) 1 year ago
Jeong Arm ad44d832b8
Support "in:public" search filter (#26976) 1 year ago
Claire 299aa71c8f
Fix handling of `inLanguage` attribute in preview card processing (#27423) 1 year ago
KMY(雪あすか) 45bdd60f3c
Fix when unfollow a tag, my post also disappears from the home timeline (#27391) 1 year ago
Claire 3262d1f1b6
Fix incorrect serialization of regional languages in `contentMap` (#27207) 1 year ago
Michael Stanclift 3171afc36a
Add Elasticsearch index size to Admin dashboard (#27301)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Claire 3c13d70600
Add mention of YJIT in admin dashboard if enabled (#27283) 1 year ago
Matt Jankowski 2f8f92df48
Fix Elastic check deprecation warning about gem version (#27262) 1 year ago
Claire ceb365c419
Fix boosts of local users being filtered in account timelines (#27204) 1 year ago
Jakob Gillich 770fd993ec
Fix importer returning negative row estimates (#27258) 1 year ago
Claire 3de6dcf634
Add redirection on `/deck` URLs for logged-out users (#27128) 1 year ago
Renaud Chaput 4aaaf0dde3
Fix the search documentation URL in system checks (#27036) 1 year ago
Claire eeab3560fc
Merge pull request from GHSA-v3xf-c9qf-j667 1 year 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.
1 year ago
Claire 6273416292
Fix post edits not being forwarded as expected (#26936) 1 year ago
Eugen Rochko 3a679844e4
Fix `account_id`, `max_id` and `min_id` params not working in search (#26847) 1 year ago
Eugen Rochko a90b0056cc
Fix `#hashtag` matching on individual components in search (#26835) 1 year 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>
1 year ago
Claire b83e487502
Fix moderator rights inconsistencies (#26729) 1 year ago
Claire 223f9ca665
Fix crash when encountering invalid URL (#26814) 1 year ago
Claire cab4cbfa5c
Fix “Scoped order is ignored, it's forced to be batch order.” warnings (#26793) 1 year ago
Eugen Rochko ece1ff77d6
Add `in:library` syntax to search (#26760)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Eugen Rochko 68b4e36c82
Fix `#hashtag` matching non-hashtagged posts in search (#26781) 1 year ago
Eugen Rochko e52d0494ee
Fix `before:`, `after:` and `during:` failing when time zone not set (#26782) 1 year ago
Claire 16681e0f20
Add admin notifications for new Mastodon versions (#26582) 1 year ago
Eugen Rochko e754083e8a
Fix unmatched quotes and prefixes causing search to fail (#26701) 1 year ago
Eugen Rochko 0008458128
Fix search queries with slash causing or-condition (#26699) 1 year ago
Claire 9bb2fb6b14
Change importers to avoid a few inefficiencies (#26721) 1 year ago
Claire 5c38c3a9a1
Change text extraction in `PlainTextFormatter` to be faster (#26727) 1 year ago
Eugen Rochko bba76e7267
Change `language:` to attempt to match to a known value in search (#26663) 1 year ago
Claire 9e77ab7db2
Change private statuses index to index without crutches (#26713) 1 year ago
Claire c0605747ad
Fix N+1 in `tootctl search deploy` (#26710) 1 year ago
Eugen Rochko 67166de865
Add `from:me` syntax to search (#26660) 1 year ago
Eugen Rochko 822a35b9d5
Fix not being able to negate prefix clauses in search (#26672) 1 year ago
Claire 072112867b
Fix dashboard check for Elasticsearch suggested command including incorrect names (#26658) 1 year ago
Claire f2ec2876a4
Add Elasticsearch/OpenSearch version to “Software” in admin dashboard (#26652) 1 year ago
Claire e3825a13c1
Add PublicStatusesCheck to Elasticsearch index check on admin dashboard (#26650) 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
Claire bd023a2637
Fix admin dashboard check when using Elasticsearch with `ES_PREFIX` (#26605) 1 year ago
Nick Schonning b970ed6098
Update rubocop and rubocop-rspec (#26329) 1 year ago
Claire ac0eb0533e
Add Elasticsearch cluster health check and indexes mismatch check to dashboard (#26448) 1 year ago
Claire 9ed0c91a37
Add auto-refresh of accounts we get new messages/edits of (#26510) 1 year ago
Nicolai Søborg 13ffe91c81
Fix `frame_rate` for videos where `ffprobe` reports 0/0 (#26500) 1 year ago
Renaud Chaput b95867ad1f
Allow setting a custom HTTP method in CacheBuster (#26528)
Co-authored-by: Jorijn Schrijvershof <jorijn@jorijn.com>
1 year ago
Christian Schmidt 8da99ffb0d
Add alt text for preview card thumbnails (#26184) 1 year ago
Val Lorentz f55f0ab0c3
Allow spaces around commas in ALLOWED_PRIVATE_ADDRESSES (#26297) 1 year ago
Christian Schmidt 8891d8945d
Fix request URL normalisation for bare domain and 8-bit characters (#26285) 1 year ago
Christian Schmidt fd284311e7
Do not normalize URL before fetching it (#26219) 1 year ago
Claire d82abc877a
Fix `Importer::BaseImporter#clean_up!` not using proper primary key (#26269) 1 year ago
Matt Jankowski 30f5ec7303
Rubocop fix: `Perfomance/UnfreezeString` (#26217) 1 year ago
Misty De Méo 12a6cf569e
Storage: add :azure to remaining callers (#26080) 1 year ago
Claire 6c3c5bbbc3
Fix crash when processing Flag activity with no status (#26189) 1 year ago
Claire b4e739ff0f
Change interaction modal in web UI (#26075)
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
1 year ago
Matt Jankowski 84d520ee80
Extract private methods in `StatusCacheHydrator` (#26177) 1 year ago
Eugen Rochko 7bd8ef355c
Add `published_at` attribute to preview cards (#26153) 1 year ago
Claire 2dfa8f797a
Fix LinkCrawlWorker crashing on `null` `created_at` (#26151) 1 year ago
Eugen Rochko 6b2952d1dd
Change design of link previews in web UI (#26136) 1 year ago
Claire 0078e7e760
Fix incorrect connect timeout in outgoing requests (#26116) 1 year ago
Claire 144a406d33
Clean up unused application records (#24871) 1 year ago
Claire ff41e5426a
Change request timeout handling to use a longer deadline (#26055) 1 year ago
Claire 943f27f437
Remove unfollowed hashtag posts from home feed (#26028) 1 year ago
Nick Schonning 1a6c2e450a
Update rubocop to v1.54.1 (#25627) 1 year ago
Matt Jankowski ce43ed144c
Rails 7.0 update (#25668) 1 year ago
Matt Jankowski 2e1391fdd2
Fix `Naming/MemoizedInstanceVariableName` cop (#25928) 1 year ago
Matt Jankowski b8b2470cf8
Fix `Style/SlicingWithRange` cop (#25923) 1 year ago
Eugen Rochko 93e8a15415
Add forwarding of reported replies to servers being replied to (#25341) 1 year ago
Claire b6d173b459
Fix crash in admin interface when viewing a remote user with verified links (#25796) 1 year ago
Claire 610731b03d
Merge pull request from GHSA-55j9-c3mp-6fcq 2 years ago
Claire c5929798bf
Merge pull request from GHSA-9pxv-6qvf-pjwc
* Fix timeout handling of outbound HTTP requests

* Use CLOCK_MONOTONIC instead of Time.now
2 years ago
Claire eb2417ce99
Fix OAuth apps page crashing when listing apps with certain admin API scopes (#25713) 2 years ago
Eugen Rochko ba06a2f104
Revert "Rails 7 update" (#25667) 2 years ago
Matt Jankowski 50c2a03695
Rails 7 update (#24241) 2 years ago
Claire 0ccf6c0eb7
Fix batch attachment deletion leaving empty directories (#25587) 2 years ago
S.H 7a25af64dd
Remove media attachment only when file was exist (#25586) 2 years ago
Eugen Rochko bb4756c823
Change files to be deleted in batches instead of one-by-one (#23302) 2 years ago
Claire c78280a8ce
Add translate="no" to outgoing mentions and links (#25524) 2 years ago
Matt Jankowski e1c9d52e91
Reduce `sleep` time in request pool spec (#25470) 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
Matt Jankowski af135bddd0
Update `Admin::Metrics::Measure` classes for Rails 7 (#25236) 2 years ago
Matt Jankowski 3b21c13dcc
Rails 7 compatibility fix for `Admin::Metrics::Dimension` classes (#25277) 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
Matt Jankowski f84037ae2b
Remove unused #hash_to_object method in SettingsHelper (#25213) 2 years ago
Claire e9385e93e9
Add a confirmation screen when suspending a domain (#25144) 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
Matt Jankowski 00c222377d
Remove unused Settings::Extend module (#25214) 2 years ago
Matt Jankowski 9f5deb310b
Fix Performance/MapCompact cop (#24797)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Matt Jankowski 0664704cd9
Fix Performance/StartWith cop (#24818) 2 years ago
Claire e13d2edd47
Fix “Authorized applications” inefficiently and incorrectly getting last use date (#25060) 2 years ago
Emelia Smith 19f9098551
Allow reports with long comments from remote instances, but truncate (#25028) 2 years ago
Claire 7bb8030cc1
Change OpenGraph-based embeds to allow fullscreen (#25058) 2 years ago
Claire 9015c2d646
Change profile updates to be sent to recently-mentioned servers (#24852) 2 years ago