From 7eca95d0b90c5ed10759043a51b700de7db463ca Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sun, 11 Sep 2016 20:53:16 -0700 Subject: [PATCH] `Image Hover in Catalog`, `Auto Watch`, `Auto Watch Reply`, and `Auto Prune` are now on by default in new installs. --- src/General/Settings.coffee | 5 +++++ src/config/Config.coffee | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/General/Settings.coffee b/src/General/Settings.coffee index c729f9e53..9b36de87b 100644 --- a/src/General/Settings.coffee +++ b/src/General/Settings.coffee @@ -318,6 +318,8 @@ Settings = changes = {} set = (key, value) -> data[key] = changes[key] = value + setD = (key, value) -> + set key, value unless data[key]? addSauces = (sauces) -> if data['sauces']? sauces = sauces.filter (s) -> data['sauces'].indexOf(s.match(/[^#;\s]+|$/)[0]) < 0 @@ -398,6 +400,9 @@ Settings = if compareString < '00001.00012.00001.00000' if not data['Persistent Thread Watcher']? and data['Toggleable Thread Watcher']? set 'Persistent Thread Watcher', not data['Toggleable Thread Watcher'] + if compareString < '00001.00012.00003.00000' + for key in ['Image Hover in Catalog', 'Auto Watch', 'Auto Watch Reply', 'Auto Prune'] + setD key, false changes loadSettings: (data, cb) -> diff --git a/src/config/Config.coffee b/src/config/Config.coffee index a51f55235..314bdbedf 100644 --- a/src/config/Config.coffee +++ b/src/config/Config.coffee @@ -193,7 +193,7 @@ Config = 'Show full image / video on mouseover.' ] 'Image Hover in Catalog': [ - false + true 'Show full image / video on mouseover in <%= meta.name %> catalog.' ] 'Gallery': [ @@ -628,15 +628,15 @@ Config = 'Periodically check status of watched threads.' ] 'Auto Watch': [ - false + true 'Automatically watch threads you start.' ] 'Auto Watch Reply': [ - false + true 'Automatically watch threads you reply to.' ] 'Auto Prune': [ - false + true 'Automatically remove dead threads.' ] 'Show Unread Count': [