From d4c3fe4e6a2cf7656bdd7c9590b38b2aaf8e5bfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Mon, 17 Jun 2013 00:59:34 +0200 Subject: [PATCH] added `create_thumbnails?` site setting defaults to `false` --- app/models/site_setting.rb | 1 + config/locales/server.en.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/app/models/site_setting.rb b/app/models/site_setting.rb index c448e2cbc..4e126b8b3 100644 --- a/app/models/site_setting.rb +++ b/app/models/site_setting.rb @@ -71,6 +71,7 @@ class SiteSetting < ActiveRecord::Base setting(:queue_jobs, !Rails.env.test?) setting(:crawl_images, !Rails.env.test?) setting(:max_image_width, 690) + setting(:create_thumbnails, false) client_setting(:category_featured_topics, 6) setting(:topics_per_page, 30) setting(:posts_per_page, 20) diff --git a/config/locales/server.en.yml b/config/locales/server.en.yml index 274f17112..1e254cef1 100644 --- a/config/locales/server.en.yml +++ b/config/locales/server.en.yml @@ -583,6 +583,7 @@ en: newuser_max_mentions_per_post: "Maximum number of @name notifications a new user can use in a post" max_mentions_per_post: "Maximum number of @name notifications you can use in a post" + create_thumbnails: "Create thumbnails for lightboxed images" auto_link_images_wider_than: "Images wider than this, in pixels, will get auto link and lightbox treatment" email_time_window_mins: "How many minutes we wait before sending a user mail, to give them a chance to see it first"