This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/config/initializers
Sam Saffron f8e92298f2 DEV: default Oj to compat mode
Out-of-the-box Oj uses :object mode, this shifts us to use :compat mode
by default which is safer.
It means any de-serialization going forward will default to this mode.

If we wish to serialize or deserialize arbitrary objects going forward with
no json interfaces we will have to opt in.
2020-01-16 07:52:28 +11:00
..
000-mini_sql.rb
000-post_migration.rb
001-redis.rb
002-freedom_patches.rb
003-sql_builder.rb
004-message_bus.rb
004-rails_multisite.rb
005-site_settings.rb
006-ensure_login_hint.rb
006-mini_profiler.rb
008-rack-cors.rb
009-omniauth.rb
010-discourse_iife.rb
012-web_hook_events.rb
013-excon_defaults.rb
014-track-setting-changes.rb
050-force_https.rb
099-anon-cache.rb
099-drain_pool.rb
100-i18n.rb
100-logster.rb
100-oj.rb DEV: default Oj to compat mode 2020-01-16 07:52:28 +11:00
100-onebox_options.rb
100-push-notifications.rb
100-quiet_logger.rb
100-secret_token.rb
100-session_store.rb
100-sidekiq.rb
100-silence_logger.rb
100-strong_parameters.rb
100-verify_config.rb
100-watch_for_restart.rb
100-wrap_parameters.rb
101-lograge.rb
200-message_bus_request_tracker.rb
300-perf.rb