railties 8.0.0 → 8.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +126 -137
- data/README.rdoc +1 -1
- data/lib/minitest/rails_plugin.rb +56 -13
- data/lib/rails/application/bootstrap.rb +6 -3
- data/lib/rails/application/configuration.rb +36 -16
- data/lib/rails/application/default_middleware_stack.rb +1 -1
- data/lib/rails/application/finisher.rb +2 -1
- data/lib/rails/application/routes_reloader.rb +1 -2
- data/lib/rails/application.rb +18 -13
- data/lib/rails/application_controller.rb +2 -0
- data/lib/rails/code_statistics.rb +6 -3
- data/lib/rails/command/base.rb +0 -2
- data/lib/rails/command/environment_argument.rb +0 -1
- data/lib/rails/command.rb +1 -1
- data/lib/rails/commands/app/update_command.rb +5 -0
- data/lib/rails/commands/console/irb_console.rb +7 -16
- data/lib/rails/commands/credentials/credentials_command.rb +25 -5
- data/lib/rails/commands/devcontainer/devcontainer_command.rb +1 -0
- data/lib/rails/commands/encrypted/encrypted_command.rb +0 -1
- data/lib/rails/commands/test/test_command.rb +0 -2
- data/lib/rails/engine/lazy_route_set.rb +8 -11
- data/lib/rails/engine.rb +0 -1
- data/lib/rails/gem_version.rb +2 -2
- data/lib/rails/generators/actions.rb +9 -6
- data/lib/rails/generators/app_base.rb +72 -45
- data/lib/rails/generators/bundle_helper.rb +34 -0
- data/lib/rails/generators/database.rb +1 -1
- data/lib/rails/generators/erb/authentication/authentication_generator.rb +2 -0
- data/lib/rails/generators/erb/scaffold/templates/partial.html.erb.tt +2 -2
- data/lib/rails/generators/generated_attribute.rb +1 -1
- data/lib/rails/generators/migration.rb +0 -1
- data/lib/rails/generators/rails/app/app_generator.rb +31 -11
- data/lib/rails/generators/rails/app/templates/Dockerfile.tt +28 -16
- data/lib/rails/generators/rails/app/templates/Gemfile.tt +8 -3
- data/lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb.tt +5 -0
- data/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb.tt +1 -0
- data/lib/rails/generators/rails/app/templates/bin/bundler-audit.tt +5 -0
- data/lib/rails/generators/rails/app/templates/bin/ci.tt +5 -0
- data/lib/rails/generators/rails/app/templates/bin/rubocop.tt +1 -1
- data/lib/rails/generators/rails/app/templates/bin/setup.tt +1 -0
- data/lib/rails/generators/rails/app/templates/config/bundler-audit.yml.tt +5 -0
- data/lib/rails/generators/rails/app/templates/config/ci.rb.tt +40 -0
- data/lib/rails/generators/rails/app/templates/config/databases/mysql.yml.tt +10 -2
- data/lib/rails/generators/rails/app/templates/config/databases/postgresql.yml.tt +10 -2
- data/lib/rails/generators/rails/app/templates/config/databases/sqlite3.yml.tt +11 -2
- data/lib/rails/generators/rails/app/templates/config/databases/trilogy.yml.tt +16 -6
- data/lib/rails/generators/rails/app/templates/config/deploy.yml.tt +25 -18
- data/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt +8 -0
- data/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt +10 -2
- data/lib/rails/generators/rails/app/templates/config/initializers/content_security_policy.rb.tt +4 -0
- data/lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults_8_1.rb.tt +74 -0
- data/lib/rails/generators/rails/app/templates/config/puma.rb.tt +3 -2
- data/lib/rails/generators/rails/app/templates/config/storage.yml.tt +0 -7
- data/lib/rails/generators/rails/app/templates/docker-entrypoint.tt +0 -6
- data/lib/rails/generators/rails/app/templates/dockerignore.tt +6 -0
- data/lib/rails/generators/rails/app/templates/github/ci.yml.tt +111 -23
- data/lib/rails/generators/rails/app/templates/github/dependabot.yml +2 -2
- data/lib/rails/generators/rails/app/templates/kamal-secrets.tt +4 -1
- data/lib/rails/generators/rails/app/templates/public/400.html +26 -5
- data/lib/rails/generators/rails/app/templates/public/404.html +27 -6
- data/lib/rails/generators/rails/app/templates/public/406-unsupported-browser.html +25 -4
- data/lib/rails/generators/rails/app/templates/public/422.html +26 -5
- data/lib/rails/generators/rails/app/templates/public/500.html +27 -6
- data/lib/rails/generators/rails/app/templates/ruby-version.tt +1 -1
- data/lib/rails/generators/rails/authentication/authentication_generator.rb +14 -10
- data/lib/rails/generators/rails/authentication/templates/app/controllers/concerns/authentication.rb.tt +1 -4
- data/lib/rails/generators/rails/authentication/templates/app/controllers/passwords_controller.rb.tt +6 -0
- data/lib/rails/generators/rails/authentication/templates/app/controllers/sessions_controller.rb.tt +2 -2
- data/lib/rails/generators/rails/authentication/templates/app/views/passwords_mailer/reset.html.erb.tt +3 -1
- data/lib/rails/generators/rails/authentication/templates/app/views/passwords_mailer/reset.text.erb.tt +3 -1
- data/lib/rails/generators/rails/benchmark/USAGE +1 -1
- data/lib/rails/generators/rails/benchmark/templates/benchmark.rb.tt +0 -2
- data/lib/rails/generators/rails/db/system/change/change_generator.rb +1 -1
- data/lib/rails/generators/rails/devcontainer/devcontainer_generator.rb +8 -1
- data/lib/rails/generators/rails/devcontainer/templates/devcontainer/Dockerfile.tt +4 -0
- data/lib/rails/generators/rails/devcontainer/templates/devcontainer/compose.yaml.tt +2 -2
- data/lib/rails/generators/rails/devcontainer/templates/devcontainer/devcontainer.json.tt +1 -1
- data/lib/rails/generators/rails/encryption_key_file/encryption_key_file_generator.rb +17 -5
- data/lib/rails/generators/rails/master_key/master_key_generator.rb +0 -12
- data/lib/rails/generators/rails/plugin/plugin_generator.rb +1 -0
- data/lib/rails/generators/rails/plugin/templates/Rakefile.tt +0 -4
- data/lib/rails/generators/rails/plugin/templates/github/ci.yml.tt +23 -11
- data/lib/rails/generators/rails/plugin/templates/github/dependabot.yml +2 -2
- data/lib/rails/generators/rails/scaffold_controller/templates/api_controller.rb.tt +2 -2
- data/lib/rails/generators/rails/scaffold_controller/templates/controller.rb.tt +2 -2
- data/lib/rails/generators/rails/script/USAGE +1 -1
- data/lib/rails/generators/test_unit/authentication/authentication_generator.rb +17 -0
- data/lib/rails/generators/test_unit/authentication/templates/test/controllers/passwords_controller_test.rb.tt +67 -0
- data/lib/rails/generators/test_unit/authentication/templates/test/controllers/sessions_controller_test.rb +33 -0
- data/lib/rails/generators/test_unit/authentication/templates/test/models/user_test.rb.tt +4 -3
- data/lib/rails/generators/test_unit/authentication/templates/test/test_helpers/session_test_helper.rb.tt +19 -0
- data/lib/rails/generators/test_unit/model/templates/fixtures.yml.tt +1 -1
- data/lib/rails/generators/test_unit/scaffold/scaffold_generator.rb +8 -2
- data/lib/rails/generators/test_unit/scaffold/templates/application_system_test_case.rb.tt +5 -0
- data/lib/rails/generators/testing/behavior.rb +0 -3
- data/lib/rails/generators.rb +8 -6
- data/lib/rails/health_controller.rb +10 -2
- data/lib/rails/info.rb +4 -4
- data/lib/rails/info_controller.rb +4 -5
- data/lib/rails/initializable.rb +63 -19
- data/lib/rails/rack/silence_request.rb +5 -2
- data/lib/rails/railtie/configurable.rb +0 -1
- data/lib/rails/railtie.rb +0 -1
- data/lib/rails/source_annotation_extractor.rb +6 -2
- data/lib/rails/tasks/statistics.rake +3 -21
- data/lib/rails/tasks.rb +1 -3
- data/lib/rails/templates/rails/info/notes.html.erb +23 -0
- data/lib/rails/templates/rails/mailers/email.html.erb +3 -2
- data/lib/rails/templates/rails/welcome/index.html.erb +19 -3
- data/lib/rails/test_unit/line_filtering.rb +24 -3
- data/lib/rails/test_unit/reporter.rb +12 -6
- data/lib/rails/test_unit/runner.rb +15 -8
- data/lib/rails/test_unit/test_parser.rb +18 -15
- data/lib/rails.rb +9 -2
- metadata +37 -21
- data/lib/rails/console/methods.rb +0 -7
- data/lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults_8_0.rb.tt +0 -30
- data/lib/rails/generators/test_unit/plugin/plugin_generator.rb +0 -15
- data/lib/rails/generators/test_unit/plugin/templates/%file_name%_test.rb.tt +0 -7
- data/lib/rails/generators/test_unit/plugin/templates/test_helper.rb +0 -2
- /data/lib/rails/generators/{rails → test_unit}/authentication/templates/test/mailers/previews/passwords_mailer_preview.rb.tt +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Name of your application. Used to uniquely configure containers.
|
|
2
2
|
service: <%= app_name %>
|
|
3
3
|
|
|
4
|
-
# Name of the container image.
|
|
5
|
-
image:
|
|
4
|
+
# Name of the container image (use your-user/app-name on external registries).
|
|
5
|
+
image: <%= app_name %>
|
|
6
6
|
|
|
7
7
|
# Deploy to these servers.
|
|
8
8
|
servers:
|
|
@@ -14,22 +14,27 @@ servers:
|
|
|
14
14
|
# cmd: bin/jobs
|
|
15
15
|
|
|
16
16
|
# Enable SSL auto certification via Let's Encrypt and allow for multiple apps on a single web server.
|
|
17
|
-
#
|
|
17
|
+
# If used with Cloudflare, set encryption mode in SSL/TLS setting to "Full" to enable CF-to-app encryption.
|
|
18
18
|
#
|
|
19
|
-
#
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
# Using an SSL proxy like this requires turning on config.assume_ssl and config.force_ssl in production.rb!
|
|
20
|
+
#
|
|
21
|
+
# Don't use this when deploying to multiple web servers (then you have to terminate SSL at your load balancer).
|
|
22
|
+
#
|
|
23
|
+
# proxy:
|
|
24
|
+
# ssl: true
|
|
25
|
+
# host: app.example.com
|
|
23
26
|
|
|
24
|
-
#
|
|
27
|
+
# Where you keep your container images.
|
|
25
28
|
registry:
|
|
26
|
-
#
|
|
27
|
-
|
|
28
|
-
|
|
29
|
+
# Alternatives: hub.docker.com / registry.digitalocean.com / ghcr.io / ...
|
|
30
|
+
server: localhost:5555
|
|
31
|
+
|
|
32
|
+
# Needed for authenticated registries.
|
|
33
|
+
# username: your-user
|
|
29
34
|
|
|
30
35
|
# Always use an access token rather than real password when possible.
|
|
31
|
-
password:
|
|
32
|
-
|
|
36
|
+
# password:
|
|
37
|
+
# - KAMAL_REGISTRY_PASSWORD
|
|
33
38
|
|
|
34
39
|
# Inject ENV variables into containers (secrets come from .kamal/secrets).
|
|
35
40
|
env:
|
|
@@ -38,7 +43,7 @@ env:
|
|
|
38
43
|
<% if skip_solid? -%>
|
|
39
44
|
# clear:
|
|
40
45
|
# # Set number of cores available to the application on each server (default: 1).
|
|
41
|
-
# WEB_CONCURRENCY:
|
|
46
|
+
# WEB_CONCURRENCY: auto
|
|
42
47
|
|
|
43
48
|
# # Match this to any external database server to configure Active Record correctly
|
|
44
49
|
# DB_HOST: 192.168.0.2
|
|
@@ -71,19 +76,21 @@ aliases:
|
|
|
71
76
|
console: app exec --interactive --reuse "bin/rails console"
|
|
72
77
|
shell: app exec --interactive --reuse "bash"
|
|
73
78
|
logs: app logs -f
|
|
74
|
-
dbc: app exec --interactive --reuse "bin/rails dbconsole"
|
|
79
|
+
dbc: app exec --interactive --reuse "bin/rails dbconsole --include-password"
|
|
75
80
|
|
|
76
|
-
<% unless skip_storage?
|
|
81
|
+
<% unless skip_storage? -%>
|
|
77
82
|
# Use a persistent storage volume for sqlite database files and local Active Storage files.
|
|
78
83
|
# Recommended to change this to a mounted volume path that is backed up off server.
|
|
79
84
|
volumes:
|
|
80
85
|
- "<%= app_name %>_storage:/rails/storage"
|
|
81
86
|
|
|
82
|
-
<% end
|
|
87
|
+
<% end -%>
|
|
88
|
+
<% unless options.api? -%>
|
|
83
89
|
# Bridge fingerprinted assets, like JS and CSS, between versions to avoid
|
|
84
90
|
# hitting 404 on in-flight requests. Combines all files from new and old
|
|
85
91
|
# version inside the asset_path.
|
|
86
92
|
asset_path: /rails/public/assets
|
|
93
|
+
<% end -%>
|
|
87
94
|
|
|
88
95
|
# Configure the image builder.
|
|
89
96
|
builder:
|
|
@@ -121,7 +128,7 @@ builder:
|
|
|
121
128
|
# directories:
|
|
122
129
|
# - data:/var/lib/mysql
|
|
123
130
|
# redis:
|
|
124
|
-
# image:
|
|
131
|
+
# image: valkey/valkey:8
|
|
125
132
|
# host: 192.168.0.2
|
|
126
133
|
# port: 6379
|
|
127
134
|
# directories:
|
|
@@ -64,6 +64,14 @@ Rails.application.configure do
|
|
|
64
64
|
# Highlight code that enqueued background job in logs.
|
|
65
65
|
config.active_job.verbose_enqueue_logs = true
|
|
66
66
|
|
|
67
|
+
<%- end -%>
|
|
68
|
+
# Highlight code that triggered redirect in logs.
|
|
69
|
+
config.action_dispatch.verbose_redirect_logs = true
|
|
70
|
+
|
|
71
|
+
<%- unless options[:skip_asset_pipeline] -%>
|
|
72
|
+
# Suppress logger output for asset requests.
|
|
73
|
+
config.assets.quiet = true
|
|
74
|
+
|
|
67
75
|
<%- end -%>
|
|
68
76
|
# Raises error for missing translations.
|
|
69
77
|
# config.i18n.raise_on_missing_translations = true
|
|
@@ -29,10 +29,18 @@ Rails.application.configure do
|
|
|
29
29
|
|
|
30
30
|
<%- end -%>
|
|
31
31
|
# Assume all access to the app is happening through a SSL-terminating reverse proxy.
|
|
32
|
+
<%- if skip_kamal? -%>
|
|
32
33
|
config.assume_ssl = true
|
|
34
|
+
<%- else -%>
|
|
35
|
+
# config.assume_ssl = true
|
|
36
|
+
<%- end -%>
|
|
33
37
|
|
|
34
38
|
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
|
39
|
+
<%- if skip_kamal? -%>
|
|
35
40
|
config.force_ssl = true
|
|
41
|
+
<%- else -%>
|
|
42
|
+
# config.force_ssl = true
|
|
43
|
+
<%- end -%>
|
|
36
44
|
|
|
37
45
|
# Skip http-to-https redirect for the default health check endpoint.
|
|
38
46
|
# config.ssl_options = { redirect: { exclude: ->(request) { request.path == "/up" } } }
|
|
@@ -41,7 +49,7 @@ Rails.application.configure do
|
|
|
41
49
|
config.log_tags = [ :request_id ]
|
|
42
50
|
config.logger = ActiveSupport::TaggedLogging.logger(STDOUT)
|
|
43
51
|
|
|
44
|
-
# Change to "debug" to log everything (including potentially personally-identifiable information!)
|
|
52
|
+
# Change to "debug" to log everything (including potentially personally-identifiable information!).
|
|
45
53
|
config.log_level = ENV.fetch("RAILS_LOG_LEVEL", "info")
|
|
46
54
|
|
|
47
55
|
# Prevent health checks from clogging up the logs.
|
|
@@ -66,7 +74,7 @@ Rails.application.configure do
|
|
|
66
74
|
# Set host to be used by links generated in mailer templates.
|
|
67
75
|
config.action_mailer.default_url_options = { host: "example.com" }
|
|
68
76
|
|
|
69
|
-
# Specify outgoing SMTP server. Remember to add smtp/* credentials via rails credentials:edit.
|
|
77
|
+
# Specify outgoing SMTP server. Remember to add smtp/* credentials via bin/rails credentials:edit.
|
|
70
78
|
# config.action_mailer.smtp_settings = {
|
|
71
79
|
# user_name: Rails.application.credentials.dig(:smtp, :user_name),
|
|
72
80
|
# password: Rails.application.credentials.dig(:smtp, :password),
|
data/lib/rails/generators/rails/app/templates/config/initializers/content_security_policy.rb.tt
CHANGED
|
@@ -20,6 +20,10 @@
|
|
|
20
20
|
# config.content_security_policy_nonce_generator = ->(request) { request.session.id.to_s }
|
|
21
21
|
# config.content_security_policy_nonce_directives = %w(script-src style-src)
|
|
22
22
|
#
|
|
23
|
+
# # Automatically add `nonce` to `javascript_tag`, `javascript_include_tag`, and `stylesheet_link_tag`
|
|
24
|
+
# # if the corresponding directives are specified in `content_security_policy_nonce_directives`.
|
|
25
|
+
# # config.content_security_policy_nonce_auto = true
|
|
26
|
+
#
|
|
23
27
|
# # Report violations without enforcing the policy.
|
|
24
28
|
# # config.content_security_policy_report_only = true
|
|
25
29
|
# end
|
data/lib/rails/generators/rails/app/templates/config/initializers/new_framework_defaults_8_1.rb.tt
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
|
2
|
+
#
|
|
3
|
+
# This file eases your Rails 8.1 framework defaults upgrade.
|
|
4
|
+
#
|
|
5
|
+
# Uncomment each configuration one by one to switch to the new default.
|
|
6
|
+
# Once your application is ready to run with all new defaults, you can remove
|
|
7
|
+
# this file and set the `config.load_defaults` to `8.1`.
|
|
8
|
+
#
|
|
9
|
+
# Read the Guide for Upgrading Ruby on Rails for more info on each option.
|
|
10
|
+
# https://guides.rubyonrails.org/upgrading_ruby_on_rails.html
|
|
11
|
+
|
|
12
|
+
###
|
|
13
|
+
# Skips escaping HTML entities and line separators. When set to `false`, the
|
|
14
|
+
# JSON renderer no longer escapes these to improve performance.
|
|
15
|
+
#
|
|
16
|
+
# Example:
|
|
17
|
+
# class PostsController < ApplicationController
|
|
18
|
+
# def index
|
|
19
|
+
# render json: { key: "\u2028\u2029<>&" }
|
|
20
|
+
# end
|
|
21
|
+
# end
|
|
22
|
+
#
|
|
23
|
+
# Renders `{"key":"\u2028\u2029\u003c\u003e\u0026"}` with the previous default, but `{"key":"
<>&"}` with the config
|
|
24
|
+
# set to `false`.
|
|
25
|
+
#
|
|
26
|
+
# Applications that want to keep the escaping behavior can set the config to `true`.
|
|
27
|
+
#++
|
|
28
|
+
# Rails.configuration.action_controller.escape_json_responses = false
|
|
29
|
+
|
|
30
|
+
###
|
|
31
|
+
# Skips escaping LINE SEPARATOR (U+2028) and PARAGRAPH SEPARATOR (U+2029) in JSON.
|
|
32
|
+
#
|
|
33
|
+
# Historically these characters were not valid inside JavaScript literal strings but that changed in ECMAScript 2019.
|
|
34
|
+
# As such it's no longer a concern in modern browsers: https://caniuse.com/mdn-javascript_builtins_json_json_superset.
|
|
35
|
+
#++
|
|
36
|
+
# Rails.configuration.active_support.escape_js_separators_in_json = false
|
|
37
|
+
|
|
38
|
+
###
|
|
39
|
+
# Raises an error when order dependent finder methods (e.g. `#first`, `#second`) are called without `order` values
|
|
40
|
+
# on the relation, and the model does not have any order columns (`implicit_order_column`, `query_constraints`, or
|
|
41
|
+
# `primary_key`) to fall back on.
|
|
42
|
+
#
|
|
43
|
+
# The current behavior of not raising an error has been deprecated, and this configuration option will be removed in
|
|
44
|
+
# Rails 8.2.
|
|
45
|
+
#++
|
|
46
|
+
# Rails.configuration.active_record.raise_on_missing_required_finder_order_columns = true
|
|
47
|
+
|
|
48
|
+
###
|
|
49
|
+
# Controls how Rails handles path relative URL redirects.
|
|
50
|
+
# When set to `:raise`, Rails will raise an `ActionController::Redirecting::UnsafeRedirectError`
|
|
51
|
+
# for relative URLs without a leading slash, which can help prevent open redirect vulnerabilities.
|
|
52
|
+
#
|
|
53
|
+
# Example:
|
|
54
|
+
# redirect_to "example.com" # Raises UnsafeRedirectError
|
|
55
|
+
# redirect_to "@attacker.com" # Raises UnsafeRedirectError
|
|
56
|
+
# redirect_to "/safe/path" # Works correctly
|
|
57
|
+
#
|
|
58
|
+
# Applications that want to allow these redirects can set the config to `:log` (previous default)
|
|
59
|
+
# to only log warnings, or `:notify` to send ActiveSupport notifications.
|
|
60
|
+
#++
|
|
61
|
+
# Rails.configuration.action_controller.action_on_path_relative_redirect = :raise
|
|
62
|
+
|
|
63
|
+
###
|
|
64
|
+
# Use a Ruby parser to track dependencies between Action View templates
|
|
65
|
+
#++
|
|
66
|
+
# Rails.configuration.action_view.render_tracker = :ruby
|
|
67
|
+
|
|
68
|
+
###
|
|
69
|
+
# When enabled, hidden inputs generated by `form_tag`, `token_tag`, `method_tag`, and the hidden parameter fields
|
|
70
|
+
# included in `button_to` forms will omit the `autocomplete="off"` attribute.
|
|
71
|
+
#
|
|
72
|
+
# Applications that want to keep generating the `autocomplete` attribute for those tags can set it to `false`.
|
|
73
|
+
#++
|
|
74
|
+
# Rails.configuration.action_view.remove_hidden_field_autocomplete = true
|
|
@@ -7,7 +7,8 @@
|
|
|
7
7
|
#
|
|
8
8
|
# You can control the number of workers using ENV["WEB_CONCURRENCY"]. You
|
|
9
9
|
# should only set this value when you want to run 2 or more workers. The
|
|
10
|
-
# default is already 1.
|
|
10
|
+
# default is already 1. You can set it to `auto` to automatically start a worker
|
|
11
|
+
# for each available processor.
|
|
11
12
|
#
|
|
12
13
|
# The ideal number of threads per worker depends both on how much time the
|
|
13
14
|
# application spends waiting for IO operations and on how much you wish to
|
|
@@ -34,7 +35,7 @@ port ENV.fetch("PORT", 3000)
|
|
|
34
35
|
plugin :tmp_restart
|
|
35
36
|
|
|
36
37
|
<% unless skip_solid? -%>
|
|
37
|
-
# Run the Solid Queue supervisor inside of Puma for single-server deployments
|
|
38
|
+
# Run the Solid Queue supervisor inside of Puma for single-server deployments.
|
|
38
39
|
plugin :solid_queue if ENV["SOLID_QUEUE_IN_PUMA"]
|
|
39
40
|
|
|
40
41
|
<% end -%>
|
|
@@ -21,13 +21,6 @@ local:
|
|
|
21
21
|
# credentials: <%%= Rails.root.join("path/to/gcs.keyfile") %>
|
|
22
22
|
# bucket: your_own_bucket-<%%= Rails.env %>
|
|
23
23
|
|
|
24
|
-
# Use bin/rails credentials:edit to set the Azure Storage secret (as azure_storage:storage_access_key)
|
|
25
|
-
# microsoft:
|
|
26
|
-
# service: AzureStorage
|
|
27
|
-
# storage_account_name: your_account_name
|
|
28
|
-
# storage_access_key: <%%= Rails.application.credentials.dig(:azure_storage, :storage_access_key) %>
|
|
29
|
-
# container: your_container_name-<%%= Rails.env %>
|
|
30
|
-
|
|
31
24
|
# mirror:
|
|
32
25
|
# service: Mirror
|
|
33
26
|
# primary: local
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
#!/bin/bash -e
|
|
2
2
|
|
|
3
|
-
# Enable jemalloc for reduced memory usage and latency.
|
|
4
|
-
if [ -z "${LD_PRELOAD+x}" ]; then
|
|
5
|
-
LD_PRELOAD=$(find /usr/lib -name libjemalloc.so.2 -print -quit)
|
|
6
|
-
export LD_PRELOAD
|
|
7
|
-
fi
|
|
8
|
-
|
|
9
3
|
<% unless skip_active_record? -%>
|
|
10
4
|
# If running the rails server then create or migrate existing database
|
|
11
5
|
if [ "${@: -2:1}" == "./bin/rails" ] && [ "${@: -1:1}" == "server" ]; then
|
|
@@ -3,39 +3,44 @@ name: CI
|
|
|
3
3
|
on:
|
|
4
4
|
pull_request:
|
|
5
5
|
push:
|
|
6
|
-
branches: [
|
|
6
|
+
branches: [ <%= user_default_branch %> ]
|
|
7
7
|
|
|
8
8
|
jobs:
|
|
9
|
-
<%- unless skip_brakeman? -%>
|
|
9
|
+
<%- unless skip_brakeman? && skip_bundler_audit? -%>
|
|
10
10
|
scan_ruby:
|
|
11
11
|
runs-on: ubuntu-latest
|
|
12
12
|
|
|
13
13
|
steps:
|
|
14
14
|
- name: Checkout code
|
|
15
|
-
uses: actions/checkout@
|
|
15
|
+
uses: actions/checkout@v6
|
|
16
16
|
|
|
17
17
|
- name: Set up Ruby
|
|
18
18
|
uses: ruby/setup-ruby@v1
|
|
19
19
|
with:
|
|
20
|
-
ruby-version: .ruby-version
|
|
21
20
|
bundler-cache: true
|
|
21
|
+
<%- unless skip_brakeman? -%>
|
|
22
22
|
|
|
23
23
|
- name: Scan for common Rails security vulnerabilities using static analysis
|
|
24
24
|
run: bin/brakeman --no-pager
|
|
25
|
+
<% end -%>
|
|
26
|
+
<%- unless skip_bundler_audit? -%>
|
|
27
|
+
|
|
28
|
+
- name: Scan for known security vulnerabilities in gems used
|
|
29
|
+
run: bin/bundler-audit
|
|
30
|
+
<% end -%>
|
|
25
31
|
|
|
26
32
|
<% end -%>
|
|
27
|
-
<%- if
|
|
33
|
+
<%- if using_importmap? -%>
|
|
28
34
|
scan_js:
|
|
29
35
|
runs-on: ubuntu-latest
|
|
30
36
|
|
|
31
37
|
steps:
|
|
32
38
|
- name: Checkout code
|
|
33
|
-
uses: actions/checkout@
|
|
39
|
+
uses: actions/checkout@v6
|
|
34
40
|
|
|
35
41
|
- name: Set up Ruby
|
|
36
42
|
uses: ruby/setup-ruby@v1
|
|
37
43
|
with:
|
|
38
|
-
ruby-version: .ruby-version
|
|
39
44
|
bundler-cache: true
|
|
40
45
|
|
|
41
46
|
- name: Scan for security vulnerabilities in JavaScript dependencies
|
|
@@ -45,16 +50,27 @@ jobs:
|
|
|
45
50
|
<%- unless skip_rubocop? -%>
|
|
46
51
|
lint:
|
|
47
52
|
runs-on: ubuntu-latest
|
|
53
|
+
env:
|
|
54
|
+
RUBOCOP_CACHE_ROOT: tmp/rubocop
|
|
48
55
|
steps:
|
|
49
56
|
- name: Checkout code
|
|
50
|
-
uses: actions/checkout@
|
|
57
|
+
uses: actions/checkout@v6
|
|
51
58
|
|
|
52
59
|
- name: Set up Ruby
|
|
53
60
|
uses: ruby/setup-ruby@v1
|
|
54
61
|
with:
|
|
55
|
-
ruby-version: .ruby-version
|
|
56
62
|
bundler-cache: true
|
|
57
63
|
|
|
64
|
+
- name: Prepare RuboCop cache
|
|
65
|
+
uses: actions/cache@v4
|
|
66
|
+
env:
|
|
67
|
+
DEPENDENCIES_HASH: ${{ hashFiles('.ruby-version', '**/.rubocop.yml', '**/.rubocop_todo.yml', 'Gemfile.lock') }}
|
|
68
|
+
with:
|
|
69
|
+
path: ${{ env.RUBOCOP_CACHE_ROOT }}
|
|
70
|
+
key: rubocop-${{ runner.os }}-${{ env.DEPENDENCIES_HASH }}-${{ github.ref_name == github.event.repository.default_branch && github.run_id || 'default' }}
|
|
71
|
+
restore-keys: |
|
|
72
|
+
rubocop-${{ runner.os }}-${{ env.DEPENDENCIES_HASH }}-
|
|
73
|
+
|
|
58
74
|
- name: Lint code for consistent style
|
|
59
75
|
run: bin/rubocop -f github
|
|
60
76
|
|
|
@@ -66,7 +82,7 @@ jobs:
|
|
|
66
82
|
<%- if options[:database] == "sqlite3" -%>
|
|
67
83
|
# services:
|
|
68
84
|
# redis:
|
|
69
|
-
# image:
|
|
85
|
+
# image: valkey/valkey:8
|
|
70
86
|
# ports:
|
|
71
87
|
# - 6379:6379
|
|
72
88
|
# options: --health-cmd "redis-cli ping" --health-interval 10s --health-timeout 5s --health-retries 5
|
|
@@ -92,23 +108,24 @@ jobs:
|
|
|
92
108
|
<%- end -%>
|
|
93
109
|
|
|
94
110
|
# redis:
|
|
95
|
-
# image:
|
|
111
|
+
# image: valkey/valkey:8
|
|
96
112
|
# ports:
|
|
97
113
|
# - 6379:6379
|
|
98
114
|
# options: --health-cmd "redis-cli ping" --health-interval 10s --health-timeout 5s --health-retries 5
|
|
99
115
|
|
|
100
116
|
<%- end -%>
|
|
101
117
|
steps:
|
|
118
|
+
<%- unless ci_packages.empty? -%>
|
|
102
119
|
- name: Install packages
|
|
103
|
-
run: sudo apt-get update && sudo apt-get install --no-install-recommends -y
|
|
120
|
+
run: sudo apt-get update && sudo apt-get install --no-install-recommends -y <%= ci_packages.join(" ") %>
|
|
104
121
|
|
|
122
|
+
<%- end -%>
|
|
105
123
|
- name: Checkout code
|
|
106
|
-
uses: actions/checkout@
|
|
124
|
+
uses: actions/checkout@v6
|
|
107
125
|
|
|
108
126
|
- name: Set up Ruby
|
|
109
127
|
uses: ruby/setup-ruby@v1
|
|
110
128
|
with:
|
|
111
|
-
ruby-version: .ruby-version
|
|
112
129
|
bundler-cache: true
|
|
113
130
|
<%- if using_bun? -%>
|
|
114
131
|
|
|
@@ -120,18 +137,89 @@ jobs:
|
|
|
120
137
|
- name: Run tests
|
|
121
138
|
env:
|
|
122
139
|
RAILS_ENV: test
|
|
123
|
-
<%- if options[:database] == "mysql"
|
|
140
|
+
<%- if options[:database] == "mysql" -%>
|
|
124
141
|
DATABASE_URL: mysql2://127.0.0.1:3306
|
|
142
|
+
<%- elsif options[:database] == "trilogy" -%>
|
|
143
|
+
DATABASE_URL: trilogy://127.0.0.1:3306
|
|
125
144
|
<%- elsif options[:database] == "postgresql" -%>
|
|
126
145
|
DATABASE_URL: postgres://postgres:postgres@localhost:5432
|
|
127
146
|
<%- end -%>
|
|
147
|
+
# RAILS_MASTER_KEY: ${{ secrets.RAILS_MASTER_KEY }}
|
|
128
148
|
# REDIS_URL: redis://localhost:6379/0
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
149
|
+
run: bin/rails <%= "db:test:prepare " unless skip_active_record? %>test
|
|
150
|
+
<%- unless options[:api] || options[:skip_system_test] -%>
|
|
151
|
+
|
|
152
|
+
system-test:
|
|
153
|
+
runs-on: ubuntu-latest
|
|
154
|
+
|
|
155
|
+
<%- if options[:database] == "sqlite3" -%>
|
|
156
|
+
# services:
|
|
157
|
+
# redis:
|
|
158
|
+
# image: valkey/valkey:8
|
|
159
|
+
# ports:
|
|
160
|
+
# - 6379:6379
|
|
161
|
+
# options: --health-cmd "redis-cli ping" --health-interval 10s --health-timeout 5s --health-retries 5
|
|
162
|
+
<%- else -%>
|
|
163
|
+
services:
|
|
164
|
+
<%- if options[:database] == "mysql" || options[:database] == "trilogy" -%>
|
|
165
|
+
mysql:
|
|
166
|
+
image: mysql
|
|
167
|
+
env:
|
|
168
|
+
MYSQL_ALLOW_EMPTY_PASSWORD: true
|
|
169
|
+
ports:
|
|
170
|
+
- 3306:3306
|
|
171
|
+
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
|
|
172
|
+
<%- elsif options[:database] == "postgresql" -%>
|
|
173
|
+
postgres:
|
|
174
|
+
image: postgres
|
|
175
|
+
env:
|
|
176
|
+
POSTGRES_USER: postgres
|
|
177
|
+
POSTGRES_PASSWORD: postgres
|
|
178
|
+
ports:
|
|
179
|
+
- 5432:5432
|
|
180
|
+
options: --health-cmd="pg_isready" --health-interval=10s --health-timeout=5s --health-retries=3
|
|
181
|
+
<%- end -%>
|
|
182
|
+
|
|
183
|
+
# redis:
|
|
184
|
+
# image: valkey/valkey:8
|
|
185
|
+
# ports:
|
|
186
|
+
# - 6379:6379
|
|
187
|
+
# options: --health-cmd "redis-cli ping" --health-interval 10s --health-timeout 5s --health-retries 5
|
|
188
|
+
|
|
189
|
+
<%- end -%>
|
|
190
|
+
steps:
|
|
191
|
+
<%- unless ci_packages.empty? -%>
|
|
192
|
+
- name: Install packages
|
|
193
|
+
run: sudo apt-get update && sudo apt-get install --no-install-recommends -y <%= ci_packages.join(" ") %>
|
|
194
|
+
|
|
195
|
+
<%- end -%>
|
|
196
|
+
- name: Checkout code
|
|
197
|
+
uses: actions/checkout@v6
|
|
198
|
+
|
|
199
|
+
- name: Set up Ruby
|
|
200
|
+
uses: ruby/setup-ruby@v1
|
|
201
|
+
with:
|
|
202
|
+
bundler-cache: true
|
|
203
|
+
<%- if using_bun? -%>
|
|
204
|
+
|
|
205
|
+
- uses: oven-sh/setup-bun@v1
|
|
206
|
+
with:
|
|
207
|
+
bun-version: <%= dockerfile_bun_version %>
|
|
208
|
+
<%- end -%>
|
|
209
|
+
|
|
210
|
+
- name: Run System Tests
|
|
211
|
+
env:
|
|
212
|
+
RAILS_ENV: test
|
|
213
|
+
<%- if options[:database] == "mysql" -%>
|
|
214
|
+
DATABASE_URL: mysql2://127.0.0.1:3306
|
|
215
|
+
<%- elsif options[:database] == "trilogy" -%>
|
|
216
|
+
DATABASE_URL: trilogy://127.0.0.1:3306
|
|
217
|
+
<%- elsif options[:database] == "postgresql" -%>
|
|
218
|
+
DATABASE_URL: postgres://postgres:postgres@localhost:5432
|
|
219
|
+
<%- end -%>
|
|
220
|
+
# RAILS_MASTER_KEY: ${{ secrets.RAILS_MASTER_KEY }}
|
|
221
|
+
# REDIS_URL: redis://localhost:6379/0
|
|
222
|
+
run: bin/rails <%= "db:test:prepare " unless skip_active_record? %>test:system
|
|
135
223
|
|
|
136
224
|
- name: Keep screenshots from failed system tests
|
|
137
225
|
uses: actions/upload-artifact@v4
|
|
@@ -140,5 +228,5 @@ jobs:
|
|
|
140
228
|
name: screenshots
|
|
141
229
|
path: ${{ github.workspace }}/tmp/screenshots
|
|
142
230
|
if-no-files-found: ignore
|
|
143
|
-
|
|
144
|
-
|
|
231
|
+
<%- end -%>
|
|
232
|
+
<%- end -%>
|
|
@@ -3,10 +3,10 @@ updates:
|
|
|
3
3
|
- package-ecosystem: bundler
|
|
4
4
|
directory: "/"
|
|
5
5
|
schedule:
|
|
6
|
-
interval:
|
|
6
|
+
interval: weekly
|
|
7
7
|
open-pull-requests-limit: 10
|
|
8
8
|
- package-ecosystem: github-actions
|
|
9
9
|
directory: "/"
|
|
10
10
|
schedule:
|
|
11
|
-
interval:
|
|
11
|
+
interval: weekly
|
|
12
12
|
open-pull-requests-limit: 10
|
|
@@ -7,11 +7,14 @@
|
|
|
7
7
|
# KAMAL_REGISTRY_PASSWORD=$(kamal secrets extract KAMAL_REGISTRY_PASSWORD ${SECRETS})
|
|
8
8
|
# RAILS_MASTER_KEY=$(kamal secrets extract RAILS_MASTER_KEY ${SECRETS})
|
|
9
9
|
|
|
10
|
+
# Example of extracting secrets from Rails credentials
|
|
11
|
+
# KAMAL_REGISTRY_PASSWORD=$(rails credentials:fetch kamal.registry_password)
|
|
12
|
+
|
|
10
13
|
# Use a GITHUB_TOKEN if private repositories are needed for the image
|
|
11
14
|
# GITHUB_TOKEN=$(gh config get -h github.com oauth_token)
|
|
12
15
|
|
|
13
16
|
# Grab the registry password from ENV
|
|
14
|
-
KAMAL_REGISTRY_PASSWORD=$KAMAL_REGISTRY_PASSWORD
|
|
17
|
+
# KAMAL_REGISTRY_PASSWORD=$KAMAL_REGISTRY_PASSWORD
|
|
15
18
|
|
|
16
19
|
# Improve security by using a password manager. Never check config/master.key into git!
|
|
17
20
|
RAILS_MASTER_KEY=$(cat config/master.key)
|
|
@@ -35,12 +35,35 @@
|
|
|
35
35
|
font-weight: 400;
|
|
36
36
|
letter-spacing: -0.0025em;
|
|
37
37
|
line-height: 1.4;
|
|
38
|
-
min-height:
|
|
38
|
+
min-height: 100dvh;
|
|
39
39
|
place-items: center;
|
|
40
40
|
text-rendering: optimizeLegibility;
|
|
41
41
|
-webkit-text-size-adjust: 100%;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
+
#error-description {
|
|
45
|
+
fill: #d30001;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
#error-id {
|
|
49
|
+
fill: #f0eff0;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@media (prefers-color-scheme: dark) {
|
|
53
|
+
body {
|
|
54
|
+
background: #101010;
|
|
55
|
+
color: #e0e0e0;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
#error-description {
|
|
59
|
+
fill: #FF6161;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
#error-id {
|
|
63
|
+
fill: #2c2c2c;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
44
67
|
a {
|
|
45
68
|
color: inherit;
|
|
46
69
|
font-weight: 700;
|
|
@@ -83,13 +106,11 @@
|
|
|
83
106
|
}
|
|
84
107
|
|
|
85
108
|
main article br {
|
|
86
|
-
|
|
87
109
|
display: none;
|
|
88
110
|
|
|
89
111
|
@media(min-width: 48em) {
|
|
90
112
|
display: inline;
|
|
91
113
|
}
|
|
92
|
-
|
|
93
114
|
}
|
|
94
115
|
|
|
95
116
|
</style>
|
|
@@ -102,10 +123,10 @@
|
|
|
102
123
|
|
|
103
124
|
<main>
|
|
104
125
|
<header>
|
|
105
|
-
<svg height="172" viewBox="0 0 480 172" width="480" xmlns="http://www.w3.org/2000/svg"><path d="m124.48 3.00509-45.6889 100.02991h26.2239v-28.1168h38.119v28.1168h21.628v35.145h-21.628v30.82h-37.308v-30.82h-72.1833v-31.901l50.2851-103.27391zm115.583 168.69891c-40.822 0-64.884-35.146-64.884-85.7015 0-50.5554 24.062-85.700907 64.884-85.700907 40.823 0 64.884 35.145507 64.884 85.700907 0 50.5555-24.061 85.7015-64.884 85.7015zm0-133.2831c-17.572 0-22.709 21.8984-22.709 47.5816 0 25.6835 5.137 47.5815 22.709 47.5815 17.303 0 22.71-21.898 22.71-47.5815 0-25.6832-5.407-47.5816-22.71-47.5816zm140.456 133.2831c-40.823 0-64.884-35.146-64.884-85.7015 0-50.5554 24.061-85.700907 64.884-85.700907 40.822 0 64.884 35.145507 64.884 85.700907 0 50.5555-24.062 85.7015-64.884 85.7015zm0-133.2831c-17.573 0-22.71 21.8984-22.71 47.5816 0 25.6835 5.137 47.5815 22.71 47.5815 17.302 0 22.709-21.898 22.709-47.5815 0-25.6832-5.407-47.5816-22.709-47.5816z"
|
|
126
|
+
<svg height="172" viewBox="0 0 480 172" width="480" xmlns="http://www.w3.org/2000/svg"><path d="m124.48 3.00509-45.6889 100.02991h26.2239v-28.1168h38.119v28.1168h21.628v35.145h-21.628v30.82h-37.308v-30.82h-72.1833v-31.901l50.2851-103.27391zm115.583 168.69891c-40.822 0-64.884-35.146-64.884-85.7015 0-50.5554 24.062-85.700907 64.884-85.700907 40.823 0 64.884 35.145507 64.884 85.700907 0 50.5555-24.061 85.7015-64.884 85.7015zm0-133.2831c-17.572 0-22.709 21.8984-22.709 47.5816 0 25.6835 5.137 47.5815 22.709 47.5815 17.303 0 22.71-21.898 22.71-47.5815 0-25.6832-5.407-47.5816-22.71-47.5816zm140.456 133.2831c-40.823 0-64.884-35.146-64.884-85.7015 0-50.5554 24.061-85.700907 64.884-85.700907 40.822 0 64.884 35.145507 64.884 85.700907 0 50.5555-24.062 85.7015-64.884 85.7015zm0-133.2831c-17.573 0-22.71 21.8984-22.71 47.5816 0 25.6835 5.137 47.5815 22.71 47.5815 17.302 0 22.709-21.898 22.709-47.5815 0-25.6832-5.407-47.5816-22.709-47.5816z" id="error-id"/><path d="m123.606 85.4445c3.212 1.0523 5.538 4.2089 5.538 8.0301 0 6.1472-4.209 9.5254-11.298 9.5254h-15.617v-34.0033h14.565c7.089 0 11.353 3.1566 11.353 9.2484 0 3.6551-2.049 6.3134-4.541 7.1994zm-12.904-2.9905h5.095c2.603 0 3.988-.9968 3.988-3.1013 0-2.1044-1.385-3.0459-3.988-3.0459h-5.095zm0 6.6456v6.5902h5.981c2.492 0 3.877-1.3291 3.877-3.2674 0-2.049-1.385-3.3228-3.877-3.3228zm43.786 13.9004h-8.362v-1.274c-.831.831-3.323 1.717-5.981 1.717-4.929 0-9.083-2.769-9.083-8.0301 0-4.818 4.154-7.9193 9.581-7.9193 2.049 0 4.486.6646 5.483 1.3845v-1.606c0-1.606-.942-2.9905-3.046-2.9905-1.606 0-2.548.7199-2.935 1.8275h-8.197c.72-4.8181 4.985-8.6393 11.409-8.6393 7.088 0 11.131 3.7659 11.131 10.2453zm-8.362-6.9779v-1.4399c-.554-1.0522-2.049-1.7167-3.655-1.7167-1.717 0-3.434.7199-3.434 2.3813 0 1.7168 1.717 2.4367 3.434 2.4367 1.606 0 3.101-.6645 3.655-1.6614zm27.996 6.9779v-1.994c-1.163 1.329-3.599 2.548-6.147 2.548-7.199 0-11.131-5.8151-11.131-13.0145s3.932-13.0143 11.131-13.0143c2.548 0 4.984 1.2184 6.147 2.5475v-13.0697h8.695v35.997zm0-9.1931v-6.5902c-.664-1.3291-2.159-2.326-3.821-2.326-2.99 0-4.763 2.4368-4.763 5.6488s1.773 5.5934 4.763 5.5934c1.717 0 3.157-.9415 3.821-2.326zm35.471-2.049h-3.101v11.2421h-8.806v-34.0033h15.285c7.31 0 12.35 4.1535 12.35 11.5744 0 5.1503-2.603 8.6947-6.757 10.2453l7.975 12.1836h-9.858zm-3.101-15.2849v8.1962h5.538c3.156 0 4.596-1.606 4.596-4.0981s-1.44-4.0981-4.596-4.0981zm36.957 17.8323h8.03c-.886 5.7597-5.206 9.2487-11.685 9.2487-7.643 0-12.682-5.2613-12.682-13.0145 0-7.6978 5.316-13.0143 12.515-13.0143 7.643 0 11.962 5.095 11.962 12.5159v2.1598h-16.115c.277 2.9905 1.827 4.5965 4.32 4.5965 1.772 0 3.156-.7753 3.655-2.4921zm-3.822-10.0237c-2.049 0-3.433 1.2737-3.987 3.5997h7.532c-.111-2.0491-1.385-3.5997-3.545-3.5997zm30.98 27.5234v-10.799c-1.163 1.329-3.6 2.548-6.147 2.548-7.2 0-11.132-5.9259-11.132-13.0145 0-7.144 3.932-13.0143 11.132-13.0143 2.547 0 4.984 1.2184 6.147 2.5475v-1.9937h8.695v33.726zm0-17.9981v-6.5902c-.665-1.3291-2.105-2.326-3.821-2.326-2.991 0-4.763 2.4368-4.763 5.6488s1.772 5.5934 4.763 5.5934c1.661 0 3.156-.9415 3.821-2.326zm36.789-15.7279v24.921h-8.695v-2.16c-1.329 1.551-3.821 2.714-6.646 2.714-5.482 0-8.75-3.5999-8.75-9.1379v-16.3371h8.64v14.288c0 2.1045.996 3.5997 3.212 3.5997 1.606 0 3.101-1.0522 3.544-2.769v-15.1187zm19.084 16.2263h8.03c-.886 5.7597-5.206 9.2487-11.685 9.2487-7.643 0-12.682-5.2613-12.682-13.0145 0-7.6978 5.316-13.0143 12.515-13.0143 7.643 0 11.963 5.095 11.963 12.5159v2.1598h-16.116c.277 2.9905 1.828 4.5965 4.32 4.5965 1.772 0 3.156-.7753 3.655-2.4921zm-3.822-10.0237c-2.049 0-3.433 1.2737-3.987 3.5997h7.532c-.111-2.0491-1.385-3.5997-3.545-3.5997zm13.428 11.0206h8.474c.387 1.3845 1.606 2.1598 3.156 2.1598 1.44 0 2.548-.5538 2.548-1.7168 0-.9414-.72-1.2737-1.939-1.5506l-4.873-.9969c-4.154-.886-6.867-2.8797-6.867-7.2547 0-5.3165 4.762-8.4178 10.633-8.4178 6.812 0 10.522 3.1567 11.297 8.0855h-8.03c-.277-1.0522-1.052-1.9937-3.046-1.9937-1.273 0-2.326.5538-2.326 1.6614 0 .7753.554 1.163 1.717 1.3845l4.929 1.163c4.541 1.0522 6.978 3.4335 6.978 7.4763 0 5.3168-4.818 8.2518-10.91 8.2518-6.369 0-10.965-2.88-11.741-8.2518zm27.538-.8861v-9.5807h-3.655v-6.7564h3.655v-6.8671h8.584v6.8671h5.205v6.7564h-5.205v8.307c0 1.9383.941 2.769 2.658 2.769.941 0 1.993-.2216 2.769-.5538v7.3654c-.997.443-2.88.775-4.818.775-5.871 0-9.193-2.769-9.193-9.0819z" id="error-description"/></svg>
|
|
106
127
|
</header>
|
|
107
128
|
<article>
|
|
108
|
-
<p><strong>The server cannot process the request due to a client error.</strong> Please check the request and try again. If you
|
|
129
|
+
<p><strong>The server cannot process the request due to a client error.</strong> Please check the request and try again. If you're the application owner check the logs for more information.</p>
|
|
109
130
|
</article>
|
|
110
131
|
</main>
|
|
111
132
|
|