|
|
|
@ -1218,7 +1218,7 @@ def changedetection_app(config=None, datastore_o=None):
|
|
|
|
|
if watch_uuid not in running_uuids and not datastore.data['watching'][watch_uuid]['paused']:
|
|
|
|
|
update_q.put(queuedWatchMetaData.PrioritizedItem(priority=1, item={'uuid': watch_uuid, 'skip_when_checksum_same': False}))
|
|
|
|
|
i += 1
|
|
|
|
|
flash("{} watches are queued for rechecking.".format(i))
|
|
|
|
|
flash("{} watches queued for rechecking.".format(i))
|
|
|
|
|
return redirect(url_for('index', tag=tag))
|
|
|
|
|
|
|
|
|
|
@app.route("/form/checkbox-operations", methods=['POST'])
|
|
|
|
@ -1239,7 +1239,6 @@ def changedetection_app(config=None, datastore_o=None):
|
|
|
|
|
uuid = uuid.strip()
|
|
|
|
|
if datastore.data['watching'].get(uuid):
|
|
|
|
|
datastore.data['watching'][uuid.strip()]['paused'] = True
|
|
|
|
|
|
|
|
|
|
flash("{} watches paused".format(len(uuids)))
|
|
|
|
|
|
|
|
|
|
elif (op == 'unpause'):
|
|
|
|
@ -1269,8 +1268,8 @@ def changedetection_app(config=None, datastore_o=None):
|
|
|
|
|
if datastore.data['watching'].get(uuid):
|
|
|
|
|
# Recheck and require a full reprocessing
|
|
|
|
|
update_q.put(queuedWatchMetaData.PrioritizedItem(priority=1, item={'uuid': uuid, 'skip_when_checksum_same': False}))
|
|
|
|
|
flash("{} watches queued for rechecking".format(len(uuids)))
|
|
|
|
|
|
|
|
|
|
flash("{} watches un-muted".format(len(uuids)))
|
|
|
|
|
elif (op == 'notification-default'):
|
|
|
|
|
from changedetectionio.notification import (
|
|
|
|
|
default_notification_format_for_watch
|
|
|
|
|