mastodon/app/lib
Claire 03d59340da
Fix Sidekiq warnings about JSON serialization (#17381)
* Fix Sidekiq warnings about JSON serialization

This occurs on every symbol argument we pass, and every symbol key in hashes,
because Sidekiq expects strings instead.

See https://github.com/mperham/sidekiq/pull/5071

We do not need to change how workers parse their arguments because this has
not changed and we were already converting to symbols adequately or using
`with_indifferent_access`.

* Set Sidekiq to raise on unsafe arguments in test mode

In order to more easily catch issues that would produce warnings in production
code.
2022-01-28 00:43:56 +01:00
..
activitypub Fix Sidekiq warnings about JSON serialization (#17381) 2022-01-28 00:43:56 +01:00
admin
connection_pool
nodeinfo
ostatus
rss
settings
access_token_extension.rb
account_reach_finder.rb
activity_tracker.rb
application_extension.rb
cache_buster.rb
delivery_failure_tracker.rb
entity_cache.rb
extractor.rb
fast_geometry_parser.rb
fast_ip_map.rb
feed_manager.rb Fix Sidekiq warnings about JSON serialization (#17381) 2022-01-28 00:43:56 +01:00
formatter.rb
hash_object.rb
inline_renderer.rb
language_detector.rb
link_details_extractor.rb
permalink_redirector.rb
potential_friendship_tracker.rb
rate_limiter.rb
request.rb
request_pool.rb
response_with_limit.rb
rss_builder.rb
search_query_parser.rb
search_query_transformer.rb
status_filter.rb
status_finder.rb
status_reach_finder.rb
tag_manager.rb
themes.rb
toc_generator.rb
user_settings_decorator.rb
validation_error_formatter.rb
video_metadata_extractor.rb
webfinger.rb
webfinger_resource.rb