From 5bd480a3b71b1760ec1c2eba62f36e568568ab05 Mon Sep 17 00:00:00 2001 From: blake Date: Fri, 15 Jan 2021 16:59:19 -0600 Subject: [PATCH] Overhauling the Tattler mechanism This commit moves most of the functionality into: https://github.com/mcoia/mobius_evergreen/tree/seek_and_destroy_tattle_tale_reporting This code has been condensed into a single web call that responds with 0,1,2 depending on the state of seekdestroy.ignore_list. The table creation is not included as it's part of the main seek_and_destroy code right now. TODO: Fully integrate the seek and destroy funcationality into Evergreen, including: new schema action triggers catalog administration interfaces catalog participation interfaces Signed-off-by: blake --- Open-ILS/examples/fm_IDL.xml | 15 +- .../Storage/CDBI/{tattler.pm => seekdestroy.pm} | 12 +- .../OpenILS/Application/Storage/Driver/Pg/dbi.pm | 6 +- .../src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm | 2 +- .../lib/OpenILS/WWW/EGCatLoader/Tattler.pm | 45 ++-- Open-ILS/src/sql/Pg/tattle-tale-reports.sql | 12 - .../src/sql/Pg/upgrade/1174.schema.tattler.sql | 14 -- .../tattle-tale-scripts/DVD-mismatch.sql | 71 ------ ...Audiobook-MARC-with-physical-Items-attached.sql | 21 -- .../tattle-tale-scripts/VHS-mismatch.sql | 64 ----- .../audio-not-attached-to-audio-bibs.sql | 51 ---- .../items-that-are-attached-to-deleted-bibs.sql | 38 --- ...arge-print-attached-to-non-large-print-bibs.sql | 56 ----- .../not-audio-but-are-attached-to-audio-bibs.sql | 39 ---- ...-print-but-are-attached-to-large-print-bibs.sql | 43 ---- .../questionable-music-format-mismatches.sql | 74 ------ .../questionable-video-format-mismatches.sql | 85 ------- Open-ILS/src/support-scripts/tattler.pl.in | 259 --------------------- Open-ILS/src/templates/opac/tattler.tt2 | 15 +- 19 files changed, 44 insertions(+), 878 deletions(-) rename Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI/{tattler.pm => seekdestroy.pm} (58%) delete mode 100644 Open-ILS/src/sql/Pg/tattle-tale-reports.sql delete mode 100644 Open-ILS/src/sql/Pg/upgrade/1174.schema.tattler.sql delete mode 100644 Open-ILS/src/support-scripts/tattle-tale-scripts/DVD-mismatch.sql delete mode 100644 Open-ILS/src/support-scripts/tattle-tale-scripts/Electronic-Audiobook-MARC-with-physical-Items-attached.sql delete mode 100644 Open-ILS/src/support-scripts/tattle-tale-scripts/VHS-mismatch.sql delete mode 100644 Open-ILS/src/support-scripts/tattle-tale-scripts/audio-not-attached-to-audio-bibs.sql delete mode 100644 Open-ILS/src/support-scripts/tattle-tale-scripts/items-that-are-attached-to-deleted-bibs.sql delete mode 100644 Open-ILS/src/support-scripts/tattle-tale-scripts/large-print-attached-to-non-large-print-bibs.sql delete mode 100644 Open-ILS/src/support-scripts/tattle-tale-scripts/not-audio-but-are-attached-to-audio-bibs.sql delete mode 100644 Open-ILS/src/support-scripts/tattle-tale-scripts/not-large-print-but-are-attached-to-large-print-bibs.sql delete mode 100644 Open-ILS/src/support-scripts/tattle-tale-scripts/questionable-music-format-mismatches.sql delete mode 100644 Open-ILS/src/support-scripts/tattle-tale-scripts/questionable-video-format-mismatches.sql delete mode 100644 Open-ILS/src/support-scripts/tattler.pl.in diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml index bf2d24cd18..c52a4f88ee 100644 --- a/Open-ILS/examples/fm_IDL.xml +++ b/Open-ILS/examples/fm_IDL.xml @@ -12792,18 +12792,13 @@ SELECT usr, - - - + + + - - - + + - - - -