Gab-Social/config/initializers
Free Speech Forever 92c9092abd Avoid redundant OAuth queries when not signed in
If you aren't signed in, you don't have an auth token.
When you don't have an auth token, React was sending the headers

"Authorization: Bearer null"

This caused 5 Doorkeeper token lookups using
WHERE "oauth_access_tokens"."token" = 'null'
on the Explore page (the root of the app when not signed in).
2021-02-15 23:26:00 +00:00
..
1_hosts.rb Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
0_post_deployment_migrations.rb Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
active_model_serializers.rb Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
application_controller_renderer.rb Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
assets.rb Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
backtrace_silencers.rb Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
blacklists.rb Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
chewy.rb Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
content_security_policy.rb Updates to fixes for deploy 2020-11-09 16:19:04 -06:00
cookies_serializer.rb Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
cors.rb Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
delivery_job.rb Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
devise.rb Avoid redundant OAuth queries when not signed in 2021-02-15 23:26:00 +00:00
doorkeeper.rb Bundle of corrections and one doorkeeper writing role change 2021-02-09 22:32:24 -05:00
fast_blank.rb Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
ffmpeg.rb Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
filter_parameter_logging.rb Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
http_client_proxy.rb Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
httplog.rb Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
inflections.rb Commiting 2020-11-15 12:48:32 -06:00
instrumentation.rb Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
json_ld.rb Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
kaminari_config.rb Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
mime_types.rb Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
new_framework_defaults_6_0.rb Upgrade to Rails 6 2021-01-23 09:01:31 -06:00
oj.rb Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
omniauth.rb Avoid redundant OAuth queries when not signed in 2021-02-15 23:26:00 +00:00
open_uri_redirection.rb Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
pagination.rb Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
paperclip.rb [paperclip] increase http read timeout 2020-11-22 16:32:34 -08:00
premailer_rails.rb Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
rack_attack.rb Removed some Rack configs and moved RackAttack rate limits, headers 2021-01-14 13:37:38 -05:00
redis.rb Update hiredis driver and add a default REDIS_POOL_SIZE 2021-01-16 13:22:15 -05:00
session_activations.rb Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
session_store.rb Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
sidekiq.rb Update to sidekiq 6.0 2020-11-15 20:46:54 +00:00
simple_form.rb Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
single_user_mode.rb Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
statsd.rb Upgrade to Rails 6 2021-01-23 09:01:31 -06:00
stoplight.rb Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
strong_migrations.rb Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
suppress_csrf_warnings.rb Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
trusted_proxies.rb Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
twitter_regex.rb Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
vapid.rb Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00
wrap_parameters.rb Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00