[Enhancement] Group widget messages by users (#367)
* Remove thumbnail * Show grouped messages
This commit is contained in:
@@ -40,6 +40,8 @@ Rails.application.configure do
|
||||
config.action_mailer.delivery_method = :letter_opener
|
||||
config.action_mailer.perform_deliveries = true
|
||||
|
||||
Rails.application.routes.default_url_options = { host: 'localhost', port: 3000 }
|
||||
|
||||
# Print deprecation notices to the Rails logger.
|
||||
config.active_support.deprecation = :log
|
||||
|
||||
@@ -67,7 +69,6 @@ Rails.application.configure do
|
||||
# Disable host check during development
|
||||
config.hosts = nil
|
||||
|
||||
|
||||
# Bullet configuration to fix the N+1 queries
|
||||
config.after_initialize do
|
||||
Bullet.enable = true
|
||||
|
||||
@@ -56,16 +56,18 @@ Rails.application.configure do
|
||||
# config.active_job.queue_name_prefix = "chatwoot_production"
|
||||
|
||||
config.action_mailer.perform_caching = false
|
||||
config.action_mailer.default_url_options = { :host => ENV['FRONTEND_URL'] }
|
||||
config.action_mailer.default_url_options = { host: ENV['FRONTEND_URL'] }
|
||||
config.action_mailer.smtp_settings = {
|
||||
:address => ENV['SMTP_ADDRESS'],
|
||||
:port => 587,
|
||||
:user_name => ENV["SMTP_USERNAME"],
|
||||
:password => ENV["SMTP_PASSWORD"],
|
||||
:authentication => :login,
|
||||
:enable_starttls_auto => true
|
||||
address: ENV['SMTP_ADDRESS'],
|
||||
port: 587,
|
||||
user_name: ENV['SMTP_USERNAME'],
|
||||
password: ENV['SMTP_PASSWORD'],
|
||||
authentication: :login,
|
||||
enable_starttls_auto: true
|
||||
}
|
||||
|
||||
Rails.application.routes.default_url_options = { host: ENV['FRONTEND_URL'] }
|
||||
|
||||
# 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.
|
||||
# config.action_mailer.raise_delivery_errors = false
|
||||
|
||||
@@ -66,6 +66,8 @@ Rails.application.configure do
|
||||
enable_starttls_auto: true
|
||||
}
|
||||
|
||||
Rails.application.routes.default_url_options = { host: ENV['FRONTEND_URL'] }
|
||||
|
||||
# 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.
|
||||
# config.action_mailer.raise_delivery_errors = false
|
||||
|
||||
@@ -21,6 +21,7 @@ Rails.application.configure do
|
||||
'Cache-Control' => "public, max-age=#{1.hour.to_i}"
|
||||
}
|
||||
config.action_mailer.default_url_options = { host: 'localhost', port: 3000 }
|
||||
Rails.application.routes.default_url_options = { host: 'localhost', port: 3000 }
|
||||
|
||||
# Show full error reports and disable caching.
|
||||
config.consider_all_requests_local = true
|
||||
|
||||
Reference in New Issue
Block a user