delete hook (#1032)

* make log_message optional in delete_device

* add hooks support to delete job

* make delete job high prio

* web delete now queues job instead of inline delete

* move web logging into web package and remove userlog from device delete helper

* submit delete job for expire device instead of inline delete

* fixes to get web submit form for delete device to work

* enable delete hook functionality
This commit is contained in:
Oliver Gorwits
2023-04-30 22:58:42 +01:00
committed by GitHub
parent d338c2d15a
commit 949aeb9eea
9 changed files with 84 additions and 40 deletions

View File

@@ -176,7 +176,7 @@
}
}
else {
toastr.success('Deleted device '+ tr.data('for-device'));
toastr.success('Queued job to delete '+ tr.data('for-device'));
}
}
// skip any error reporting for now