summary refs log tree commit diff stats
path: root/rails/test/dummy/config/initializers
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-12-07 21:14:52 +0000
committerStar Rauchenberger <fefferburbia@gmail.com>2023-12-07 21:14:52 +0000
commit295dd1906a98913275145c5b9cc403f1e76cfd33 (patch)
treef45d7721c9a138b743ada905a12596f050a7473d /rails/test/dummy/config/initializers
parent460edd4191229635e86c0e3781a361126c140ca9 (diff)
parenta37605e3d7d17e322a9cf2a497768f6fd8b5d0a3 (diff)
downloadlingo-295dd1906a98913275145c5b9cc403f1e76cfd33.tar.gz
lingo-295dd1906a98913275145c5b9cc403f1e76cfd33.tar.bz2
lingo-295dd1906a98913275145c5b9cc403f1e76cfd33.zip
Merge branch 'main' of /srv/git/lingo into main
Diffstat (limited to 'rails/test/dummy/config/initializers')
-rw-r--r--rails/test/dummy/config/initializers/assets.rb12
-rw-r--r--rails/test/dummy/config/initializers/content_security_policy.rb25
-rw-r--r--rails/test/dummy/config/initializers/filter_parameter_logging.rb8
-rw-r--r--rails/test/dummy/config/initializers/inflections.rb16
-rw-r--r--rails/test/dummy/config/initializers/permissions_policy.rb11
5 files changed, 0 insertions, 72 deletions
diff --git a/rails/test/dummy/config/initializers/assets.rb b/rails/test/dummy/config/initializers/assets.rb deleted file mode 100644 index 2eeef96..0000000 --- a/rails/test/dummy/config/initializers/assets.rb +++ /dev/null
@@ -1,12 +0,0 @@
1# Be sure to restart your server when you modify this file.
2
3# Version of your assets, change this if you want to expire all your assets.
4Rails.application.config.assets.version = "1.0"
5
6# Add additional assets to the asset load path.
7# Rails.application.config.assets.paths << Emoji.images_path
8
9# Precompile additional assets.
10# application.js, application.css, and all non-JS/CSS in the app/assets
11# folder are already added.
12# Rails.application.config.assets.precompile += %w( admin.js admin.css )
diff --git a/rails/test/dummy/config/initializers/content_security_policy.rb b/rails/test/dummy/config/initializers/content_security_policy.rb deleted file mode 100644 index 54f47cf..0000000 --- a/rails/test/dummy/config/initializers/content_security_policy.rb +++ /dev/null
@@ -1,25 +0,0 @@
1# Be sure to restart your server when you modify this file.
2
3# Define an application-wide content security policy.
4# See the Securing Rails Applications Guide for more information:
5# https://guides.rubyonrails.org/security.html#content-security-policy-header
6
7# Rails.application.configure do
8# config.content_security_policy do |policy|
9# policy.default_src :self, :https
10# policy.font_src :self, :https, :data
11# policy.img_src :self, :https, :data
12# policy.object_src :none
13# policy.script_src :self, :https
14# policy.style_src :self, :https
15# # Specify URI for violation reports
16# # policy.report_uri "/csp-violation-report-endpoint"
17# end
18#
19# # Generate session nonces for permitted importmap and inline scripts
20# config.content_security_policy_nonce_generator = ->(request) { request.session.id.to_s }
21# config.content_security_policy_nonce_directives = %w(script-src)
22#
23# # Report violations without enforcing the policy.
24# # config.content_security_policy_report_only = true
25# end
diff --git a/rails/test/dummy/config/initializers/filter_parameter_logging.rb b/rails/test/dummy/config/initializers/filter_parameter_logging.rb deleted file mode 100644 index adc6568..0000000 --- a/rails/test/dummy/config/initializers/filter_parameter_logging.rb +++ /dev/null
@@ -1,8 +0,0 @@
1# Be sure to restart your server when you modify this file.
2
3# Configure parameters to be filtered from the log file. Use this to limit dissemination of
4# sensitive information. See the ActiveSupport::ParameterFilter documentation for supported
5# notations and behaviors.
6Rails.application.config.filter_parameters += [
7 :passw, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn
8]
diff --git a/rails/test/dummy/config/initializers/inflections.rb b/rails/test/dummy/config/initializers/inflections.rb deleted file mode 100644 index 3860f65..0000000 --- a/rails/test/dummy/config/initializers/inflections.rb +++ /dev/null
@@ -1,16 +0,0 @@
1# Be sure to restart your server when you modify this file.
2
3# Add new inflection rules using the following format. Inflections
4# are locale specific, and you may define rules for as many different
5# locales as you wish. All of these examples are active by default:
6# ActiveSupport::Inflector.inflections(:en) do |inflect|
7# inflect.plural /^(ox)$/i, "\\1en"
8# inflect.singular /^(ox)en/i, "\\1"
9# inflect.irregular "person", "people"
10# inflect.uncountable %w( fish sheep )
11# end
12
13# These inflection rules are supported but not enabled by default:
14# ActiveSupport::Inflector.inflections(:en) do |inflect|
15# inflect.acronym "RESTful"
16# end
diff --git a/rails/test/dummy/config/initializers/permissions_policy.rb b/rails/test/dummy/config/initializers/permissions_policy.rb deleted file mode 100644 index 00f64d7..0000000 --- a/rails/test/dummy/config/initializers/permissions_policy.rb +++ /dev/null
@@ -1,11 +0,0 @@
1# Define an application-wide HTTP permissions policy. For further
2# information see https://developers.google.com/web/updates/2018/06/feature-policy
3#
4# Rails.application.config.permissions_policy do |f|
5# f.camera :none
6# f.gyroscope :none
7# f.microphone :none
8# f.usb :none
9# f.fullscreen :self
10# f.payment :self, "https://secure.example.com"
11# end