Lp 1902937: Make the Quipu Integration Code More Generic
authorJason Stephenson <jason@sigio.com>
Fri, 10 Sep 2021 16:56:16 +0000 (12:56 -0400)
committerJason Stephenson <jstephenson@cwmars.org>
Tue, 29 Nov 2022 15:31:54 +0000 (10:31 -0500)
commit8bd14d5b333e9acfcb072d11a9d5583d337aa97b
tree737327b90c09eaf73fb760e0cc12c4dcc922f99e
parentca8f4be200c70898332769bc0009b8cda4550556
Lp 1902937: Make the Quipu Integration Code More Generic

Rename quipu upgrade script.

Enable ecard form in EGCatLoader.

Add the calculate_luhn_checkdigit function to calculate a barcode
check digit using the Luhn algorithm to OpenILS::Applicaiton::AppUtils
because it could be useful for more than just generating barcodes for
the eCard integration.  We may also need more than one check digit
algorithm in the future.

Replace the KCLS specific registration form with one that is more generic.

Add new settings.

Add the generate_barcode utility function.

Modify Ecard login_vendor to use org unit settings

Change the login field value to FALSE so it can't be used to login.

Add evergreen.upgrade_deps_block_check to upgrade script

Add Ecard registration link to OPAC footer

Make voter registration field optional in Ecard.pm because not
everyone has or requires this survey.  It is PINES-specific.

Do not set actor.usr.name_keywords in Ecard.pm

Make day_phone optional.

Make in_house_registration optional.

Return the user's expiration date, in ISO format (YYYY-MM-DD), as the
"expiration_date" field in a successful response to Quipu.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Ecard.pm
Open-ILS/src/sql/Pg/005.schema.actors.sql
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/XXXX-quipu-ecard-integration.sql [deleted file]
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.quipu-ecard-integration.sql [new file with mode: 0644]
Open-ILS/src/templates/opac/ecard/form.tt2
Open-ILS/src/templates/opac/parts/footer.tt2