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 <jason@sigio.com>
Tue, 17 Jan 2023 20:07:58 +0000 (15:07 -0500)
commit186a4561dbe7e0fefda891dce172e76d7f699059
tree1afd049a7f31513fde4b11e64474e322d05c74c4
parent59ad255b13653c6b1d5d6469db519acbb68bc340
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