| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -38,7 +38,16 @@ Rails.application.configure do
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  # config.action_dispatch.x_sendfile_header = "X-Accel-Redirect" # for NGINX
 | 
					 | 
					 | 
					 | 
					  # config.action_dispatch.x_sendfile_header = "X-Accel-Redirect" # for NGINX
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  # Store uploaded files on the local file system (see config/storage.yml for options).
 | 
					 | 
					 | 
					 | 
					  # Store uploaded files on the local file system (see config/storage.yml for options).
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  config.active_storage.service = :local
 | 
					 | 
					 | 
					 | 
					  config.active_storage.service =
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    if ENV['S3_ATTACHMENTS_BUCKET'].present?
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      :aws_s3
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    elsif ENV['GCS_BUCKET'].present?
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      :google
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    elsif ENV['AZURE_CONTAINER'].present?
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      :azure
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    else
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      :local
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    end
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  # Mount Action Cable outside main process or domain.
 | 
					 | 
					 | 
					 | 
					  # Mount Action Cable outside main process or domain.
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  # config.action_cable.mount_path = nil
 | 
					 | 
					 | 
					 | 
					  # config.action_cable.mount_path = nil
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -46,7 +55,7 @@ Rails.application.configure do
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  # config.action_cable.allowed_request_origins = [ "http://example.com", /http:\/\/example.*/ ]
 | 
					 | 
					 | 
					 | 
					  # config.action_cable.allowed_request_origins = [ "http://example.com", /http:\/\/example.*/ ]
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
 | 
					 | 
					 | 
					 | 
					  # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  # config.force_ssl = true
 | 
					 | 
					 | 
					 | 
					  config.force_ssl = ENV['FORCE_SSL'] == 'true'
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  # Include generic and useful information about system operation, but avoid logging too much
 | 
					 | 
					 | 
					 | 
					  # Include generic and useful information about system operation, but avoid logging too much
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  # information to avoid inadvertent exposure of personally identifiable information (PII).
 | 
					 | 
					 | 
					 | 
					  # information to avoid inadvertent exposure of personally identifiable information (PII).
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -61,7 +70,20 @@ Rails.application.configure do
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  # Ignore bad email addresses and do not raise email delivery errors.
 | 
					 | 
					 | 
					 | 
					  # Ignore bad email addresses and do not raise email delivery errors.
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  # Set this to true and configure the email server for immediate delivery to raise delivery errors.
 | 
					 | 
					 | 
					 | 
					  # Set this to true and configure the email server for immediate delivery to raise delivery errors.
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  # config.action_mailer.raise_delivery_errors = false
 | 
					 | 
					 | 
					 | 
					  config.action_mailer.raise_delivery_errors = false
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					  if ENV['SMTP_USERNAME']
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    config.action_mailer.delivery_method = :smtp
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    config.action_mailer.smtp_settings = {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      address: ENV.fetch('SMTP_ADDRESS', nil),
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      port: ENV.fetch('SMTP_PORT', 587),
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      domain: ENV.fetch('SMTP_DOMAIN', nil),
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      user_name: ENV.fetch('SMTP_USERNAME', nil),
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      password: ENV.fetch('SMTP_PASSWORD', nil),
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      authentication: ENV.fetch('SMTP_AUTHENTICATION', 'plain'),
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      enable_starttls_auto: ENV['SMTP_ENABLE_STARTTLS_AUTO'] == 'true'
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					  end
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
 | 
					 | 
					 | 
					 | 
					  # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  # the I18n.default_locale when a translation cannot be found).
 | 
					 | 
					 | 
					 | 
					  # the I18n.default_locale when a translation cannot be found).
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
 
 |