Image Hover in Catalog, Auto Watch, Auto Watch Reply, and Auto Prune are now on by default in new installs.
This commit is contained in:
parent
a103d266dc
commit
7eca95d0b9
@ -318,6 +318,8 @@ Settings =
|
|||||||
changes = {}
|
changes = {}
|
||||||
set = (key, value) ->
|
set = (key, value) ->
|
||||||
data[key] = changes[key] = value
|
data[key] = changes[key] = value
|
||||||
|
setD = (key, value) ->
|
||||||
|
set key, value unless data[key]?
|
||||||
addSauces = (sauces) ->
|
addSauces = (sauces) ->
|
||||||
if data['sauces']?
|
if data['sauces']?
|
||||||
sauces = sauces.filter (s) -> data['sauces'].indexOf(s.match(/[^#;\s]+|$/)[0]) < 0
|
sauces = sauces.filter (s) -> data['sauces'].indexOf(s.match(/[^#;\s]+|$/)[0]) < 0
|
||||||
@ -398,6 +400,9 @@ Settings =
|
|||||||
if compareString < '00001.00012.00001.00000'
|
if compareString < '00001.00012.00001.00000'
|
||||||
if not data['Persistent Thread Watcher']? and data['Toggleable Thread Watcher']?
|
if not data['Persistent Thread Watcher']? and data['Toggleable Thread Watcher']?
|
||||||
set 'Persistent Thread Watcher', not 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
|
changes
|
||||||
|
|
||||||
loadSettings: (data, cb) ->
|
loadSettings: (data, cb) ->
|
||||||
|
|||||||
@ -193,7 +193,7 @@ Config =
|
|||||||
'Show full image / video on mouseover.'
|
'Show full image / video on mouseover.'
|
||||||
]
|
]
|
||||||
'Image Hover in Catalog': [
|
'Image Hover in Catalog': [
|
||||||
false
|
true
|
||||||
'Show full image / video on mouseover in <%= meta.name %> catalog.'
|
'Show full image / video on mouseover in <%= meta.name %> catalog.'
|
||||||
]
|
]
|
||||||
'Gallery': [
|
'Gallery': [
|
||||||
@ -628,15 +628,15 @@ Config =
|
|||||||
'Periodically check status of watched threads.'
|
'Periodically check status of watched threads.'
|
||||||
]
|
]
|
||||||
'Auto Watch': [
|
'Auto Watch': [
|
||||||
false
|
true
|
||||||
'Automatically watch threads you start.'
|
'Automatically watch threads you start.'
|
||||||
]
|
]
|
||||||
'Auto Watch Reply': [
|
'Auto Watch Reply': [
|
||||||
false
|
true
|
||||||
'Automatically watch threads you reply to.'
|
'Automatically watch threads you reply to.'
|
||||||
]
|
]
|
||||||
'Auto Prune': [
|
'Auto Prune': [
|
||||||
false
|
true
|
||||||
'Automatically remove dead threads.'
|
'Automatically remove dead threads.'
|
||||||
]
|
]
|
||||||
'Show Unread Count': [
|
'Show Unread Count': [
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user