diff --git a/Gemfile b/Gemfile index 74deb48c..51bb7e65 100644 --- a/Gemfile +++ b/Gemfile @@ -6,8 +6,8 @@ source 'https://rubygems.org' # README) is available at: # https://github.com/NHSDigital/activemodel-caution.git -gem 'activemodel-caution', '7.1.5.0' # Supports rails ~> 7.1.5.0 -gem 'rails', '~> 7.1.5', '>= 7.1.5.1' +gem 'activemodel-caution', '7.2.2.0' # Supports rails ~> 7.2.2.0 +gem 'rails', '~> 7.2.2', '>= 7.2.2.2' # Fixes uninitialized constant ActiveSupport::LoggerThreadSafeLevel::Logger on Rails 7.0x # and earlier. See https://github.com/rails/rails/issues/54260. gem 'concurrent-ruby', '1.3.4' @@ -64,9 +64,6 @@ gem 'will_paginate' # net-imap (via ndr_error) requires date. Puma needs us to stick to the ruby default version. gem 'date', '3.1.3' # Lock to Ruby 3.0 version of gem for live service -# TODO: 2023-09-03: Updating mail to 2.8.1 causes tests failures on Rails 6.1 -gem 'mail', '>= 2.1.1', '< 2.8.0' # mail 2.8.0 and 2.8.0.1 have major hidden bugs - gem 'ndr_authenticate', '~> 0.3', '>= 0.3.3' gem 'ndr_error', '~> 2.0' gem 'ndr_import' diff --git a/Gemfile.lock b/Gemfile.lock index e7934d61..727717bc 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,89 +2,83 @@ GEM remote: https://rubygems.org/ specs: Ascii85 (2.0.1) - actioncable (7.1.5.2) - actionpack (= 7.1.5.2) - activesupport (= 7.1.5.2) + actioncable (7.2.2.2) + actionpack (= 7.2.2.2) + activesupport (= 7.2.2.2) nio4r (~> 2.0) websocket-driver (>= 0.6.1) zeitwerk (~> 2.6) - actionmailbox (7.1.5.2) - actionpack (= 7.1.5.2) - activejob (= 7.1.5.2) - activerecord (= 7.1.5.2) - activestorage (= 7.1.5.2) - activesupport (= 7.1.5.2) - mail (>= 2.7.1) - net-imap - net-pop - net-smtp - actionmailer (7.1.5.2) - actionpack (= 7.1.5.2) - actionview (= 7.1.5.2) - activejob (= 7.1.5.2) - activesupport (= 7.1.5.2) - mail (~> 2.5, >= 2.5.4) - net-imap - net-pop - net-smtp + actionmailbox (7.2.2.2) + actionpack (= 7.2.2.2) + activejob (= 7.2.2.2) + activerecord (= 7.2.2.2) + activestorage (= 7.2.2.2) + activesupport (= 7.2.2.2) + mail (>= 2.8.0) + actionmailer (7.2.2.2) + actionpack (= 7.2.2.2) + actionview (= 7.2.2.2) + activejob (= 7.2.2.2) + activesupport (= 7.2.2.2) + mail (>= 2.8.0) rails-dom-testing (~> 2.2) - actionpack (7.1.5.2) - actionview (= 7.1.5.2) - activesupport (= 7.1.5.2) + actionpack (7.2.2.2) + actionview (= 7.2.2.2) + activesupport (= 7.2.2.2) nokogiri (>= 1.8.5) racc - rack (>= 2.2.4) + rack (>= 2.2.4, < 3.2) rack-session (>= 1.0.1) rack-test (>= 0.6.3) rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) - actiontext (7.1.5.2) - actionpack (= 7.1.5.2) - activerecord (= 7.1.5.2) - activestorage (= 7.1.5.2) - activesupport (= 7.1.5.2) + useragent (~> 0.16) + actiontext (7.2.2.2) + actionpack (= 7.2.2.2) + activerecord (= 7.2.2.2) + activestorage (= 7.2.2.2) + activesupport (= 7.2.2.2) globalid (>= 0.6.0) nokogiri (>= 1.8.5) - actionview (7.1.5.2) - activesupport (= 7.1.5.2) + actionview (7.2.2.2) + activesupport (= 7.2.2.2) builder (~> 3.1) erubi (~> 1.11) rails-dom-testing (~> 2.2) rails-html-sanitizer (~> 1.6) - activejob (7.1.5.2) - activesupport (= 7.1.5.2) + activejob (7.2.2.2) + activesupport (= 7.2.2.2) globalid (>= 0.3.6) - activemodel (7.1.5.2) - activesupport (= 7.1.5.2) - activemodel-caution (7.1.5.0) - actionpack (~> 7.1.5.0) - activemodel (~> 7.1.5.0) - activerecord (~> 7.1.5.0) - activesupport (~> 7.1.5.0) - railties (~> 7.1.5.0) - activerecord (7.1.5.2) - activemodel (= 7.1.5.2) - activesupport (= 7.1.5.2) + activemodel (7.2.2.2) + activesupport (= 7.2.2.2) + activemodel-caution (7.2.2.0) + actionpack (~> 7.2.2.0) + activemodel (~> 7.2.2.0) + activerecord (~> 7.2.2.0) + activesupport (~> 7.2.2.0) + railties (~> 7.2.2.0) + activerecord (7.2.2.2) + activemodel (= 7.2.2.2) + activesupport (= 7.2.2.2) timeout (>= 0.4.0) - activestorage (7.1.5.2) - actionpack (= 7.1.5.2) - activejob (= 7.1.5.2) - activerecord (= 7.1.5.2) - activesupport (= 7.1.5.2) + activestorage (7.2.2.2) + actionpack (= 7.2.2.2) + activejob (= 7.2.2.2) + activerecord (= 7.2.2.2) + activesupport (= 7.2.2.2) marcel (~> 1.0) - activesupport (7.1.5.2) + activesupport (7.2.2.2) base64 benchmark (>= 0.3) bigdecimal - concurrent-ruby (~> 1.0, >= 1.0.2) + concurrent-ruby (~> 1.0, >= 1.3.1) connection_pool (>= 2.2.5) drb i18n (>= 1.6, < 2) logger (>= 1.4.2) minitest (>= 5.1) - mutex_m securerandom (>= 0.3) - tzinfo (~> 2.0) + tzinfo (~> 2.0, >= 2.0.5) addressable (2.8.7) public_suffix (>= 2.0.2, < 7.0) afm (0.2.2) @@ -254,8 +248,11 @@ GEM crass (~> 1.0.2) nokogiri (>= 1.12.0) lumberjack (1.2.10) - mail (2.7.1) + mail (2.8.1) mini_mime (>= 0.1.1) + net-imap + net-pop + net-smtp marcel (1.0.4) matrix (0.4.2) method_source (1.1.0) @@ -269,7 +266,6 @@ GEM msworddoc-extractor (0.2.0) ruby-ole multi_json (1.15.0) - mutex_m (0.3.0) ndr_authenticate (0.3.4) devise devise_saml_authenticatable (~> 1.9) @@ -411,7 +407,7 @@ GEM puma (>= 5.0) rack racc (1.8.1) - rack (3.2.0) + rack (3.1.16) rack-mini-profiler (3.3.1) rack (>= 1.2.0) rack-proxy (0.7.7) @@ -424,20 +420,20 @@ GEM rackup (2.2.1) rack (>= 3) railroady (1.6.0) - rails (7.1.5.2) - actioncable (= 7.1.5.2) - actionmailbox (= 7.1.5.2) - actionmailer (= 7.1.5.2) - actionpack (= 7.1.5.2) - actiontext (= 7.1.5.2) - actionview (= 7.1.5.2) - activejob (= 7.1.5.2) - activemodel (= 7.1.5.2) - activerecord (= 7.1.5.2) - activestorage (= 7.1.5.2) - activesupport (= 7.1.5.2) + rails (7.2.2.2) + actioncable (= 7.2.2.2) + actionmailbox (= 7.2.2.2) + actionmailer (= 7.2.2.2) + actionpack (= 7.2.2.2) + actiontext (= 7.2.2.2) + actionview (= 7.2.2.2) + activejob (= 7.2.2.2) + activemodel (= 7.2.2.2) + activerecord (= 7.2.2.2) + activestorage (= 7.2.2.2) + activesupport (= 7.2.2.2) bundler (>= 1.15.0) - railties (= 7.1.5.2) + railties (= 7.2.2.2) rails-dom-testing (2.2.0) activesupport (>= 5.0.0) minitest @@ -445,10 +441,10 @@ GEM rails-html-sanitizer (1.6.1) loofah (~> 2.21) nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0) - railties (7.1.5.2) - actionpack (= 7.1.5.2) - activesupport (= 7.1.5.2) - irb + railties (7.2.2.2) + actionpack (= 7.2.2.2) + activesupport (= 7.2.2.2) + irb (~> 1.13) rackup (>= 1.0.0) rake (>= 12.2) thor (~> 1.0, >= 1.2.2) @@ -472,7 +468,7 @@ GEM responders (3.1.1) actionpack (>= 5.2) railties (>= 5.2) - rexml (3.3.9) + rexml (3.4.4) roo (2.10.1) nokogiri (~> 1) rubyzip (>= 1.3.0, < 3.0.0) @@ -564,6 +560,7 @@ GEM tzinfo (2.0.6) concurrent-ruby (~> 1.0) unicode-display_width (2.6.0) + useragent (0.16.11) warden (1.2.9) rack (>= 2.0.9) web-console (4.2.1) @@ -597,7 +594,7 @@ PLATFORMS x86_64-linux DEPENDENCIES - activemodel-caution (= 7.1.5.0) + activemodel-caution (= 7.2.2.0) bootstrap-table-rails (~> 1.20.2) byebug cancancan (~> 3.0) @@ -621,7 +618,6 @@ DEPENDENCIES jquery-rails jquery-ui-rails (>= 7.0.0) loofah (>= 2.3.1) - mail (>= 2.1.1, < 2.8.0) mini_racer (~> 0.14) minitest mocha @@ -646,7 +642,7 @@ DEPENDENCIES puma-daemon rack-mini-profiler railroady - rails (~> 7.1.5, >= 7.1.5.1) + rails (~> 7.2.2, >= 7.2.2.2) rainbow regexp-examples sass-rails diff --git a/app/models/communication.rb b/app/models/communication.rb index 7f78ce01..9bf7f616 100644 --- a/app/models/communication.rb +++ b/app/models/communication.rb @@ -15,7 +15,7 @@ class Communication < ApplicationRecord has_paper_trail - enum medium: { email: 1, phone: 2, letter: 3, in_person: 4 } + enum :medium, { email: 1, phone: 2, letter: 3, in_person: 4 } validates :medium, presence: true validates :contacted_at, presence: true diff --git a/app/models/dataset.rb b/app/models/dataset.rb index 340c2603..80906633 100644 --- a/app/models/dataset.rb +++ b/app/models/dataset.rb @@ -16,7 +16,7 @@ class Dataset < ApplicationRecord delegate :name, to: :dataset_type, prefix: true, allow_nil: true - enum cas_type: { cas_defaults: 1, cas_extras: 2 } + enum :cas_type, { cas_defaults: 1, cas_extras: 2 } DATASET_BROWSER_TYPES = %w[xml non_xml].freeze diff --git a/bin/brakeman b/bin/brakeman new file mode 100755 index 00000000..ace1c9ba --- /dev/null +++ b/bin/brakeman @@ -0,0 +1,7 @@ +#!/usr/bin/env ruby +require "rubygems" +require "bundler/setup" + +ARGV.unshift("--ensure-latest") + +load Gem.bin_path("brakeman", "brakeman") diff --git a/bin/rubocop b/bin/rubocop new file mode 100755 index 00000000..40330c0f --- /dev/null +++ b/bin/rubocop @@ -0,0 +1,8 @@ +#!/usr/bin/env ruby +require "rubygems" +require "bundler/setup" + +# explicit rubocop config increases performance slightly while avoiding config confusion. +ARGV.unshift("--config", File.expand_path("../.rubocop.yml", __dir__)) + +load Gem.bin_path("rubocop", "rubocop") diff --git a/bin/setup b/bin/setup index ab7924f2..a1636a7a 100755 --- a/bin/setup +++ b/bin/setup @@ -1,8 +1,8 @@ #!/usr/bin/env ruby require 'fileutils' -# path to your application root. APP_ROOT = File.expand_path('..', __dir__) +APP_NAME = 'mbis'.freeze def system!(*args) system(*args, exception: true) @@ -33,4 +33,8 @@ FileUtils.chdir APP_ROOT do puts "\n== Restarting application server ==" system! 'bin/rails restart' + + # puts "\n== Configuring puma-dev ==" + # system 'ln -nfs #{APP_ROOT} ~/.puma-dev/#{APP_NAME}' + # system 'curl -Is https://#{APP_NAME}.test/up | head -n 1' end diff --git a/config/application.rb b/config/application.rb index d0a5a892..cb7bc962 100644 --- a/config/application.rb +++ b/config/application.rb @@ -1,4 +1,4 @@ -TIME_PROCESS_STARTED = Time.now +TIME_PROCESS_STARTED = Time.now # rubocop:disable Rails/TimeZone require_relative 'boot' @@ -11,6 +11,7 @@ require 'ndr_error/middleware/public_exceptions' module Mbis + # Global application configurations class Application < Rails::Application # Initialize configuration defaults for originally generated Rails version. config.load_defaults 7.1 @@ -18,7 +19,7 @@ class Application < Rails::Application # Please, add to the `ignore` list any other `lib` subdirectories that do # not contain `.rb` files, or that should not be reloaded or eager loaded. # Common ones are `templates`, `generators`, or `middleware`, for example. - config.autoload_lib(ignore: %w(assets tasks)) + config.autoload_lib(ignore: %w[assets tasks]) # Configuration for the application, engines, and railties goes here. # @@ -66,6 +67,14 @@ class Application < Rails::Application config.i18n.fallbacks = true config.i18n.available_locales = %i[en en-odr] + # Configuration for the application, engines, and railties goes here. + # + # These settings can be overridden in specific environments using the files + # in config/environments, which are processed later. + # + # config.time_zone = "Central Time (US & Canada)" + # config.eager_load_paths << Rails.root.join("extras") + # TODO: Would be nice to push this out to a YAML file and access via `config_for` # so that we can avoid hardcoding... config.x.user.internal_domains = ['phe.gov.uk', 'ukhsa.gov.uk'] diff --git a/config/environments/development.rb b/config/environments/development.rb index b4eed6d5..fa9ebdc7 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -14,7 +14,7 @@ # Show full error reports. config.consider_all_requests_local = true - # Enable server timing + # Enable server timing. config.server_timing = true # Enable/disable caching. By default caching is disabled. @@ -24,9 +24,7 @@ config.action_controller.enable_fragment_cache_logging = true config.cache_store = :memory_store - config.public_file_server.headers = { - 'Cache-Control' => "public, max-age=#{2.days.to_i}" - } + config.public_file_server.headers = { 'Cache-Control' => "public, max-age=#{2.days.to_i}" } else config.action_controller.perform_caching = false @@ -39,10 +37,13 @@ # Don't care if the mailer can't send. config.action_mailer.raise_delivery_errors = false config.action_mailer.perform_deliveries = false - config.action_mailer.default_url_options = { host: 'localhost', port: 3000 } + # Disable caching for Action Mailer templates even if Action Controller + # caching is enabled. config.action_mailer.perform_caching = false + config.action_mailer.default_url_options = { host: 'localhost', port: 3000 } + # Print deprecation notices to the Rails logger. config.active_support.deprecation = :log @@ -58,6 +59,9 @@ # Highlight code that triggered database queries in logs. config.active_record.verbose_query_logs = true + # Highlight code that enqueued background job in logs. + config.active_job.verbose_enqueue_logs = true + # Debug mode disables concatenation and preprocessing of assets. # This option may cause significant delays in view rendering with a large # number of complex assets. @@ -75,6 +79,9 @@ # Uncomment if you wish to allow Action Cable access from any origin. # config.action_cable.disable_request_forgery_protection = true - # Raise error when a before_action's only/except options reference missing actions + # Raise error when a before_action's only/except options reference missing actions. config.action_controller.raise_on_missing_callback_actions = true + + # Apply autocorrection by RuboCop to files generated by `bin/rails generate`. + # config.generators.apply_rubocop_autocorrect_after_generate! end diff --git a/config/environments/production.rb b/config/environments/production.rb index b6a3a977..2f5e1e1d 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -54,6 +54,13 @@ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies. # config.force_ssl = true + # Skip http-to-https redirect for the default health check endpoint. + # config.ssl_options = { redirect: { exclude: ->(request) { request.path == '/up' } } } + + # Log to STDOUT by default + # config.logger = ActiveSupport::Logger.new(STDOUT) + # .tap { |logger| logger.formatter = ::Logger::Formatter.new } + # .then { |logger| ActiveSupport::TaggedLogging.new(logger) } if ENV['RAILS_LOG_TO_STDOUT'].present? config.logger = ActiveSupport::Logger.new(STDOUT) .tap { |logger| logger.formatter = ::Logger::Formatter.new } @@ -75,6 +82,8 @@ # config.active_job.queue_adapter = :resque # config.active_job.queue_name_prefix = 'mbis_production' + # Disable caching for Action Mailer templates even if Action Controller + # caching is enabled. config.action_mailer.perform_caching = false # config.action_mailer.default_url_options = { host: 'prescriptions.phe.nhs.uk', protocol: 'https' } @@ -89,12 +98,12 @@ # Don't log any deprecations. config.active_support.report_deprecations = false - # Use default logging formatter so that PID and timestamp are not suppressed. - config.log_formatter = ::Logger::Formatter.new - # Do not dump schema after migrations. config.active_record.dump_schema_after_migration = false + # Only use :id for inspections in production. + config.active_record.attributes_for_inspect = [:id] + # Enable DNS rebinding protection and other `Host` header attacks. # config.hosts = [ # 'example.com', # Allow requests from example.com diff --git a/config/environments/test.rb b/config/environments/test.rb index 4342624e..2ee9306c 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -30,10 +30,7 @@ config.eager_load = ENV['CI'].present? # Configure public file server for tests with Cache-Control for performance. - config.public_file_server.enabled = true - config.public_file_server.headers = { - 'Cache-Control' => "public, max-age=#{1.hour.to_i}" - } + config.public_file_server.headers = { 'Cache-Control' => "public, max-age=#{1.hour.to_i}" } # Show full error reports and disable caching. config.consider_all_requests_local = true @@ -49,6 +46,8 @@ # Store uploaded files on the local file system in a temporary directory. # config.active_storage.service = :test + # Disable caching for Action Mailer templates even if Action Controller + # caching is enabled. config.action_mailer.perform_caching = false # Tell Action Mailer not to deliver emails to the real world. @@ -59,6 +58,8 @@ # This is the unit testing default - links generated by emails sent during # integration tests should automatically be configured with the correct # host/port of the puma instance by Rails, to ensure they're actually clickable. + # Unlike controllers, the mailer instance doesn't have any context about the + # incoming request so you'll need to provide the :host parameter yourself. config.action_mailer.default_url_options = { host: 'mbis' } config.active_job.queue_adapter = :test @@ -83,6 +84,6 @@ PaperTrail.enabled = false end - # Raise error when a before_action's only/except options reference missing actions + # Raise error when a before_action's only/except options reference missing actions. config.action_controller.raise_on_missing_callback_actions = true end diff --git a/config/initializers/new_framework_defaults_7_2.rb b/config/initializers/new_framework_defaults_7_2.rb new file mode 100644 index 00000000..b549c4a2 --- /dev/null +++ b/config/initializers/new_framework_defaults_7_2.rb @@ -0,0 +1,70 @@ +# Be sure to restart your server when you modify this file. +# +# This file eases your Rails 7.2 framework defaults upgrade. +# +# Uncomment each configuration one by one to switch to the new default. +# Once your application is ready to run with all new defaults, you can remove +# this file and set the `config.load_defaults` to `7.2`. +# +# Read the Guide for Upgrading Ruby on Rails for more info on each option. +# https://guides.rubyonrails.org/upgrading_ruby_on_rails.html + +### +# Controls whether Active Job's `#perform_later` and similar methods automatically defer +# the job queuing to after the current Active Record transaction is committed. +# +# Example: +# Topic.transaction do +# topic = Topic.create(...) +# NewTopicNotificationJob.perform_later(topic) +# end +# +# In this example, if the configuration is set to `:never`, the job will +# be enqueued immediately, even though the `Topic` hasn't been committed yet. +# Because of this, if the job is picked up almost immediately, or if the +# transaction doesn't succeed for some reason, the job will fail to find this +# topic in the database. +# +# If `enqueue_after_transaction_commit` is set to `:default`, the queue adapter +# will define the behaviour. +# +# Note: Active Job backends can disable this feature. This is generally done by +# backends that use the same database as Active Record as a queue, hence they +# don't need this feature. +#++ +# Rails.application.config.active_job.enqueue_after_transaction_commit = :default + +### +# Adds image/webp to the list of content types Active Storage considers as an image +# Prevents automatic conversion to a fallback PNG, and assumes clients support WebP, as they support gif, jpeg, and png. +# This is possible due to broad browser support for WebP, but older browsers and email clients may still not support +# WebP. Requires imagemagick/libvips built with WebP support. +#++ +# Rails.application.config.active_storage.web_image_content_types = %w[image/png image/jpeg image/gif image/webp] + +### +# Enable validation of migration timestamps. When set, an ActiveRecord::InvalidMigrationTimestampError +# will be raised if the timestamp prefix for a migration is more than a day ahead of the timestamp +# associated with the current time. This is done to prevent forward-dating of migration files, which can +# impact migration generation and other migration commands. +# +# Applications with existing timestamped migrations that do not adhere to the +# expected format can disable validation by setting this config to `false`. +#++ +# Rails.application.config.active_record.validate_migration_timestamps = true + +### +# Controls whether the PostgresqlAdapter should decode dates automatically with manual queries. +# +# Example: +# ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.select_value("select '2024-01-01'::date") #=> Date +# +# This query used to return a `String`. +#++ +# Rails.application.config.active_record.postgresql_adapter_decode_dates = true + +### +# Enables YJIT as of Ruby 3.3, to bring sizeable performance improvements. If you are +# deploying to a memory constrained environment you may want to set this to `false`. +#++ +# Rails.application.config.yjit = true diff --git a/config/initializers/permissions_policy.rb b/config/initializers/permissions_policy.rb index fdb2383e..68c3f942 100644 --- a/config/initializers/permissions_policy.rb +++ b/config/initializers/permissions_policy.rb @@ -2,12 +2,12 @@ # Define an application-wide HTTP permissions policy. For further # information see: https://developers.google.com/web/updates/2018/06/feature-policy -# -Rails.application.config.permissions_policy do |f| - f.camera :none - f.gyroscope :none - f.microphone :none - f.usb :none - f.fullscreen :self - f.payment :none + +Rails.application.config.permissions_policy do |policy| + policy.camera :none + policy.gyroscope :none + policy.microphone :none + policy.usb :none + policy.fullscreen :self + policy.payment :none end diff --git a/config/puma.rb b/config/puma.rb index a2513260..83c3fac4 100644 --- a/config/puma.rb +++ b/config/puma.rb @@ -1,3 +1,19 @@ +# This configuration file will be evaluated by Puma. The top-level methods that +# are invoked here are part of Puma's configuration DSL. For more information +# about methods provided by the DSL, see https://puma.io/puma/Puma/DSL.html. + +# Puma starts a configurable number of processes (workers) and each process +# serves each request in a thread from an internal thread pool. +# +# The ideal number of threads per worker depends both on how much time the +# application spends waiting for IO operations and on how much you wish to +# to prioritize throughput over latency. +# +# As a rule of thumb, increasing the number of threads will increase how much +# traffic a given process can handle (throughput), but due to CRuby's +# Global VM Lock (GVL) it has diminishing returns and will degrade the +# response time (latency) of the application. + # Puma can serve each request in a thread from an internal thread pool. # The `threads` method setting takes two numbers: a minimum and maximum. # Any libraries that use thread pools should be configured to match diff --git a/public/406-unsupported-browser.html b/public/406-unsupported-browser.html new file mode 100644 index 00000000..7cf1e168 --- /dev/null +++ b/public/406-unsupported-browser.html @@ -0,0 +1,66 @@ + + +
+Please upgrade your browser to continue.
+