From 44dc62da2dc379ab3547bed78ba51d04986c502c Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Fri, 16 Dec 2022 18:35:09 +0100 Subject: [PATCH] Overview list - Checkbox action "Recheck" --- changedetectionio/__init__.py | 8 ++++++++ changedetectionio/templates/watch-overview.html | 1 + 2 files changed, 9 insertions(+) diff --git a/changedetectionio/__init__.py b/changedetectionio/__init__.py index b6b82a77..c50c62da 100644 --- a/changedetectionio/__init__.py +++ b/changedetectionio/__init__.py @@ -1260,6 +1260,14 @@ def changedetection_app(config=None, datastore_o=None): datastore.data['watching'][uuid.strip()]['notification_muted'] = False flash("{} watches un-muted".format(len(uuids))) + elif (op == 'recheck'): + for uuid in uuids: + uuid = uuid.strip() + 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 un-muted".format(len(uuids))) elif (op == 'notification-default'): from changedetectionio.notification import ( default_notification_format_for_watch diff --git a/changedetectionio/templates/watch-overview.html b/changedetectionio/templates/watch-overview.html index 35c5cc95..eea9ebef 100644 --- a/changedetectionio/templates/watch-overview.html +++ b/changedetectionio/templates/watch-overview.html @@ -32,6 +32,7 @@ +