working/Evergreen.git
6 years agoJBAS-1426 Enumclaw classroom cards
Bill Erickson [Fri, 20 May 2016 18:18:45 +0000 (11:18 -0700)]
JBAS-1426 Enumclaw classroom cards

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1426 Classroom cards generator improve error handling
Bill Erickson [Fri, 20 May 2016 18:18:14 +0000 (11:18 -0700)]
JBAS-1426 Classroom cards generator improve error handling

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1375 Classroom cards set to juvenile=false
Bill Erickson [Mon, 23 May 2016 15:48:53 +0000 (11:48 -0400)]
JBAS-1375 Classroom cards set to juvenile=false

Classroom cards have a DoB of 1900-01-01, which means the juvenile flag
is set to false for all classroom cards after one day of production
deployment.  Avoid the unnecessary update by setting the cards to
juvenile=false on import.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1375 Auburn school/classroom cards
Bill Erickson [Wed, 4 May 2016 14:27:40 +0000 (10:27 -0400)]
JBAS-1375 Auburn school/classroom cards

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1439 Swap Ingram vendcode/vendacct values
Bill Erickson [Tue, 24 May 2016 16:37:22 +0000 (12:37 -0400)]
JBAS-1439 Swap Ingram vendcode/vendacct values

Invoicing requires the vendor code and account values on the EDI
messages be in the proper location.  This also rolls back a change to
the EDI order template which swapped them directly within the template.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1379 Card app usability improvements
Bill Erickson [Tue, 10 May 2016 15:34:50 +0000 (11:34 -0400)]
JBAS-1379 Card app usability improvements

* Set state field to 'readonly' instead of 'disabled' in patron card form
so that the value will be passed to the server.

* Require phone to have the format /^\d{3}-\d{3}-\d{4}/ if any value is
present.

* Show warning style for missing values on street, city, post code.

* Validate fields onkeyup so it's obvious when a field is newly valid.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1379 Avoid dupe stat cats for stage users (WHD #5007215)
Bill Erickson [Tue, 17 May 2016 17:31:04 +0000 (13:31 -0400)]
JBAS-1379 Avoid dupe stat cats for stage users (WHD #5007215)

Ensure at most one copy of each stat cat is represented when saving a
staged user.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1379 Stage address uses dynamic virtual ID
Bill Erickson [Tue, 10 May 2016 15:28:36 +0000 (11:28 -0400)]
JBAS-1379 Stage address uses dynamic virtual ID

Avoid using hard-coded ID for staged user addresses, using the dynamic
ID instead.  This resolves a problem where creating a new address
appeared to clone an existing staged address.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoUpdated sample data export, dropped to 750 bibs
Bill Erickson [Wed, 18 May 2016 17:49:58 +0000 (10:49 -0700)]
Updated sample data export, dropped to 750 bibs

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoConvenience script for running OS updates
Bill Erickson [Mon, 16 May 2016 18:43:45 +0000 (14:43 -0400)]
Convenience script for running OS updates

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1324 Minor UI repairs; w3 lang images
Bill Erickson [Mon, 2 May 2016 14:32:39 +0000 (10:32 -0400)]
JBAS-1324 Minor UI repairs; w3 lang images

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1345 Add Renton/Issaquah to SFTP client script
Bill Erickson [Sat, 30 Apr 2016 17:57:44 +0000 (13:57 -0400)]
JBAS-1345 Add Renton/Issaquah to SFTP client script

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1345 Renton/Issaquah school cards
Bill Erickson [Wed, 6 Apr 2016 17:31:53 +0000 (13:31 -0400)]
JBAS-1345 Renton/Issaquah school cards

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1132 (etc.) Avoid data inserts on new DB builds
Bill Erickson [Fri, 29 Apr 2016 18:37:25 +0000 (14:37 -0400)]
JBAS-1132 (etc.) Avoid data inserts on new DB builds

Repair some Sqitch SQL scripts so they don't insert or verify on data
that should not exist yet.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1324 Typos; image borders
Bill Erickson [Thu, 28 Apr 2016 20:57:06 +0000 (16:57 -0400)]
JBAS-1324 Typos; image borders

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1324 Use BCMS link for Privacy Policy
Bill Erickson [Thu, 28 Apr 2016 14:52:56 +0000 (10:52 -0400)]
JBAS-1324 Use BCMS link for Privacy Policy

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1324 PDF links; avoid dupe notice
Bill Erickson [Wed, 27 Apr 2016 20:56:10 +0000 (16:56 -0400)]
JBAS-1324 PDF links; avoid dupe notice

And move FAQ up to the top.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1324 Limit state to WA; activation notice
Bill Erickson [Wed, 27 Apr 2016 18:56:10 +0000 (14:56 -0400)]
JBAS-1324 Limit state to WA; activation notice

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1324 Patron reg downloadable forms ; tweaks
Bill Erickson [Wed, 27 Apr 2016 16:12:26 +0000 (12:12 -0400)]
JBAS-1324 Patron reg downloadable forms ; tweaks

* Create panel along the right for links to printable forms
* Change page title
* Add note about mailed cards delivery time
* Link to BCMS versions of card images

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1295 EDI invoice LI note requestor repair
Bill Erickson [Tue, 26 Apr 2016 15:06:14 +0000 (11:06 -0400)]
JBAS-1295 EDI invoice LI note requestor repair

Create LI notes using 'admin' as the creator for EDI invoices, since
there is no 'requestor' value in this context, but one is required.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1259 Hoopla/Lynda user login activity types
Bill Erickson [Tue, 15 Mar 2016 21:41:26 +0000 (17:41 -0400)]
JBAS-1259 Hoopla/Lynda user login activity types

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1259 SIP test code API updates
Bill Erickson [Tue, 15 Mar 2016 21:42:00 +0000 (17:42 -0400)]
JBAS-1259 SIP test code API updates

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1132 Remove fonts testing block
Bill Erickson [Mon, 25 Apr 2016 14:27:21 +0000 (10:27 -0400)]
JBAS-1132 Remove fonts testing block

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1132 Card app success blurb fonts/spacing
Bill Erickson [Wed, 13 Apr 2016 18:35:49 +0000 (14:35 -0400)]
JBAS-1132 Card app success blurb fonts/spacing

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1132 Card app submit-another button
Bill Erickson [Wed, 13 Apr 2016 03:37:06 +0000 (23:37 -0400)]
JBAS-1132 Card app submit-another button

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1132 Center form
Bill Erickson [Mon, 11 Apr 2016 18:01:16 +0000 (14:01 -0400)]
JBAS-1132 Center form

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1132 Biblio CMS remote header/footer
Bill Erickson [Thu, 24 Mar 2016 16:05:13 +0000 (12:05 -0400)]
JBAS-1132 Biblio CMS remote header/footer

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1132 Self-contained page / doctype
Bill Erickson [Thu, 24 Mar 2016 20:35:54 +0000 (16:35 -0400)]
JBAS-1132 Self-contained page / doctype

Avoid using the standard TPAC wrapper so the card app form can define
its own <DOCTYPE> to avoid IE quirks mode.  Also, the wrapper loaded
some stuff the page doesn't need.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1132 Default to no home library selected
Bill Erickson [Wed, 23 Mar 2016 19:58:03 +0000 (15:58 -0400)]
JBAS-1132 Default to no home library selected

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1132 TT org_selector onchange / none_label
Bill Erickson [Wed, 23 Mar 2016 19:57:43 +0000 (15:57 -0400)]
JBAS-1132 TT org_selector onchange / none_label

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1132 SQL sequence copy/paste repair
Bill Erickson [Tue, 22 Mar 2016 17:47:06 +0000 (10:47 -0700)]
JBAS-1132 SQL sequence copy/paste repair

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1132 Card app PDF link; avoid bibliocms links
Bill Erickson [Mon, 21 Mar 2016 15:46:23 +0000 (11:46 -0400)]
JBAS-1132 Card app PDF link; avoid bibliocms links

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1132 Card style stat cat; delivery method field
Bill Erickson [Thu, 17 Mar 2016 21:10:07 +0000 (17:10 -0400)]
JBAS-1132 Card style stat cat; delivery method field

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1132 Save (Clone) from staged users repairs
Bill Erickson [Thu, 17 Mar 2016 20:34:02 +0000 (16:34 -0400)]
JBAS-1132 Save (Clone) from staged users repairs

* Avoid trying to re-register the same staged patron after saving a
  staged patron and reloading the form.

* Avoid trying to remove a staged patron from the pending user grid if
  the patron row has already been removed.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1132 Self-reg fire onchange for post_code
Bill Erickson [Thu, 17 Mar 2016 16:03:45 +0000 (12:03 -0400)]
JBAS-1132 Self-reg fire onchange for post_code

Force onchange for post_code to execute post code alerts /
auto-complete.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1132 Self-reg clear values on page load
Bill Erickson [Thu, 17 Mar 2016 15:21:45 +0000 (11:21 -0400)]
JBAS-1132 Self-reg clear values on page load

Clear all text form values on page load to prevent browser-back from
leaking sensitive information.

Avoid unchecking checkboxes on self-register page load to that billing
address == mailing address can be set by default.

Note, page is SSL and caching is disabled.  This was not enough to
prevent the browser (Chrome, anyway) from caching the form values...

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1132 Self-reg avoid empty stat cats
Bill Erickson [Wed, 16 Mar 2016 18:42:54 +0000 (14:42 -0400)]
JBAS-1132 Self-reg avoid empty stat cats

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1132 Self-register inactivity timeout mods
Bill Erickson [Mon, 14 Mar 2016 21:24:33 +0000 (17:24 -0400)]
JBAS-1132 Self-register inactivity timeout mods

* 5 minute inactivity timeout.
* 30 second timeout before redirect after successful registration.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1132 Pending patrons squish DoB column
Bill Erickson [Mon, 14 Mar 2016 19:52:08 +0000 (15:52 -0400)]
JBAS-1132 Pending patrons squish DoB column

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1132 Staged user dupe search repair
Bill Erickson [Mon, 14 Mar 2016 19:27:31 +0000 (15:27 -0400)]
JBAS-1132 Staged user dupe search repair

Duplicate searches from staged users were failing due to incorrect use
of new_patron_tab within staged.js.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1132 success page; activity timeout
Bill Erickson [Mon, 14 Mar 2016 18:46:30 +0000 (14:46 -0400)]
JBAS-1132 success page; activity timeout

On success hide the registration form for privacy and provide link to
docs on what forms of identification will be necessary.

Support inacitivty timeout during registration and for automatic
redirect after successfull registration.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoCAT-44: Support copy-to-clipboard in Pending Patrons Interface
Victoria Lewis [Tue, 2 Feb 2016 22:47:05 +0000 (14:47 -0800)]
CAT-44: Support copy-to-clipboard in Pending Patrons Interface

Add right-click copy-to-clipboard behavior to rows
in the Pending Patron interface.

Signed-off-by: Victoria Lewis <vlewis@catalystitservices.com>
modified:   Open-ILS/xul/staff_client/server/patron/staged.js
modified:   Open-ILS/xul/staff_client/server/patron/staged.xul

6 years agoJBAS-1132 Pending users columns cleanup + addresses
Bill Erickson [Mon, 14 Mar 2016 14:49:46 +0000 (10:49 -0400)]
JBAS-1132 Pending users columns cleanup + addresses

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1132 Self-register patron edit mods
Bill Erickson [Mon, 14 Mar 2016 14:43:08 +0000 (10:43 -0400)]
JBAS-1132 Self-register patron edit mods

* Fire on-change handler for various fields after a staged user is
  loaded to apply various rules:
  ** setting juvenile flag from dob
  ** running duplicate patron searches
  ** creating password from phone
  ** Setting expire date base on profile
* Support for loading stat cats data

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1132 Self-register UI, KCLS-style
Bill Erickson [Mon, 14 Mar 2016 14:41:59 +0000 (10:41 -0400)]
JBAS-1132 Self-register UI, KCLS-style

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1132 OPAC org selector no_root/no_indent options
Bill Erickson [Mon, 14 Mar 2016 14:41:39 +0000 (10:41 -0400)]
JBAS-1132 OPAC org selector no_root/no_indent options

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1132 Self-register EGCatLoader API mods
Bill Erickson [Mon, 14 Mar 2016 14:36:49 +0000 (10:36 -0400)]
JBAS-1132 Self-register EGCatLoader API mods

* Upper-case most patron fields before inserting stage users.
* Normalize addresses
* De-duplicate addresses
* Handle KCLS-specific stat cats
* Honor opac.self_register.profile org setting

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1132 Self-register SQL / IDL
Bill Erickson [Mon, 14 Mar 2016 14:32:30 +0000 (10:32 -0400)]
JBAS-1132 Self-register SQL / IDL

* Adds card_style and ident_value2 columns
* Creates org setting opac.self_register.profile
* Sets values for org settings opac.self_register.profile,
  opac.allow_pending_user, and ui.patron.edit.au.ident_value2.show
* Modifies address IDL labels

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoOrphan browse entry cleanup repair
Bill Erickson [Wed, 13 Apr 2016 18:53:17 +0000 (14:53 -0400)]
Orphan browse entry cleanup repair

Clean up subject entries, not author entries twice.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1264 Highline added sftp agent script
Bill Erickson [Thu, 24 Mar 2016 20:25:07 +0000 (16:25 -0400)]
JBAS-1264 Highline added sftp agent script

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1264 Highline school cards
Bill Erickson [Fri, 4 Mar 2016 18:52:54 +0000 (13:52 -0500)]
JBAS-1264 Highline school cards

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1243 Push user expire_date's to future
Bill Erickson [Fri, 1 Apr 2016 19:35:56 +0000 (15:35 -0400)]
JBAS-1243 Push user expire_date's to future

Fixes issue where transactions (circs/holds) are not created because all
users are expired.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1243 Remove nested BEGIN/COMMIT on sample data
Bill Erickson [Tue, 22 Mar 2016 15:48:30 +0000 (11:48 -0400)]
JBAS-1243 Remove nested BEGIN/COMMIT on sample data

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1243 2.7 SQL upgrade INSERT wrapping
Bill Erickson [Thu, 3 Mar 2016 16:05:48 +0000 (11:05 -0500)]
JBAS-1243 2.7 SQL upgrade INSERT wrapping

1. Wrap INSERTs in insert_on_deploy() test.
2. Avoid unnecessary inserts, e.g. upgrade log versions

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1243 Dev DB exports for 2.7
Bill Erickson [Thu, 3 Mar 2016 15:44:51 +0000 (07:44 -0800)]
JBAS-1243 Dev DB exports for 2.7

Updated dev server sample data export for 2.7 series release.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1243 Add export table config.composite_attr_entry_definition
Bill Erickson [Thu, 3 Mar 2016 16:10:37 +0000 (11:10 -0500)]
JBAS-1243 Add export table config.composite_attr_entry_definition

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1185 Patron edit missing 2.7 2ndry grps button
Bill Erickson [Mon, 21 Mar 2016 16:32:19 +0000 (12:32 -0400)]
JBAS-1185 Patron edit missing 2.7 2ndry grps button

Add the missing button to the KCLS template.  Also, remove the local
copy of the register.tt2 file, since it contained no local
customizations.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoeg-updater uses --settings-startup-pause 5 (typo)
Bill Erickson [Fri, 18 Mar 2016 18:17:19 +0000 (14:17 -0400)]
eg-updater uses --settings-startup-pause 5 (typo)

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoeg-updater uses --settings-startup-pause 5
Bill Erickson [Fri, 18 Mar 2016 18:09:09 +0000 (14:09 -0400)]
eg-updater uses --settings-startup-pause 5

Avoid rare, but annoying cases of the C services starting before
opensrf-settings as completed its login to ejabberd.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1263 Browse entry cleanup utility SQL
Bill Erickson [Wed, 2 Mar 2016 21:34:50 +0000 (16:34 -0500)]
JBAS-1263 Browse entry cleanup utility SQL

SQL to delete un-referenced (dangling) browse entries.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1284 Strip apostrophes in search normalize
Bill Erickson [Thu, 3 Mar 2016 23:04:18 +0000 (18:04 -0500)]
JBAS-1284 Strip apostrophes in search normalize

Test case is title search for both forms:

ha-na'arah she-sihkah ba-esh
ha-Naʻarah she-śiḥḳah ba-esh

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1263 'Other Author' index no longer creates browse entries
Bill Erickson [Wed, 2 Mar 2016 19:45:19 +0000 (14:45 -0500)]
JBAS-1263 'Other Author' index no longer creates browse entries

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1185 Picklist fund selector perm repairs
Bill Erickson [Tue, 1 Mar 2016 17:23:39 +0000 (12:23 -0500)]
JBAS-1185 Picklist fund selector perm repairs

Enusre the fund search filter has a value set for the location org
units, based on picklist access permissions, otherwise zero funds
will be returned.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1246 Call number search configs continued
Bill Erickson [Tue, 1 Mar 2016 15:45:27 +0000 (10:45 -0500)]
JBAS-1246 Call number search configs continued

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1246 create call_number search config
Bill Erickson [Tue, 1 Mar 2016 15:31:54 +0000 (10:31 -0500)]
JBAS-1246 create call_number search config

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1245 2.7 SQL upgrade repair call-number extracts; part 2
Bill Erickson [Fri, 26 Feb 2016 22:43:18 +0000 (17:43 -0500)]
JBAS-1245 2.7 SQL upgrade repair call-number extracts; part 2

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1245 2.7 SQL upgrade repair call-number extracts
Bill Erickson [Fri, 26 Feb 2016 21:05:54 +0000 (16:05 -0500)]
JBAS-1245 2.7 SQL upgrade repair call-number extracts

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1164 apply subject dash fix before auth reingest
Bill Erickson [Fri, 26 Feb 2016 20:00:17 +0000 (15:00 -0500)]
JBAS-1164 apply subject dash fix before auth reingest

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoRevert "KMAIN-1510" (excess browse dashes)
Bill Erickson [Thu, 11 Feb 2016 20:42:49 +0000 (15:42 -0500)]
Revert "KMAIN-1510" (excess browse dashes)

This reverts commit 6c9cae946710ed9ed828daf78480c3b3f497c6a5.

6 years agoJBAS-1164 Subject browse dashes repair
Bill Erickson [Thu, 11 Feb 2016 20:39:18 +0000 (15:39 -0500)]
JBAS-1164 Subject browse dashes repair

Only add dashes before subject browse subfields v, x, y, and z.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-984 Student account imports crontab entry
Bill Erickson [Fri, 19 Feb 2016 16:01:35 +0000 (11:01 -0500)]
JBAS-984 Student account imports crontab entry

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-984 Addr normalizer shortens road/avenue
Bill Erickson [Wed, 17 Feb 2016 21:46:37 +0000 (16:46 -0500)]
JBAS-984 Addr normalizer shortens road/avenue

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1161 Tahoma classroom cards address repair
Bill Erickson [Wed, 17 Feb 2016 21:43:41 +0000 (16:43 -0500)]
JBAS-1161 Tahoma classroom cards address repair

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-984 Address normalizer street => st
Bill Erickson [Wed, 17 Feb 2016 15:55:03 +0000 (10:55 -0500)]
JBAS-984 Address normalizer street => st

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoStudent cards expire age universally 21
Bill Erickson [Thu, 11 Feb 2016 21:16:29 +0000 (16:16 -0500)]
Student cards expire age universally 21

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1161 Add district name to classroom card data
Bill Erickson [Mon, 8 Feb 2016 22:18:31 +0000 (14:18 -0800)]
JBAS-1161 Add district name to classroom card data

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-984 Student importer uses kcls addr normalizer
Bill Erickson [Wed, 10 Feb 2016 21:59:19 +0000 (16:59 -0500)]
JBAS-984 Student importer uses kcls addr normalizer

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-984 KCLS Address normalizer
Bill Erickson [Wed, 10 Feb 2016 22:00:01 +0000 (17:00 -0500)]
JBAS-984 KCLS Address normalizer

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-984 Student cards automation scripts
Bill Erickson [Tue, 9 Feb 2016 22:28:52 +0000 (17:28 -0500)]
JBAS-984 Student cards automation scripts

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1161 Map districts to org units; remove --assume-new
Bill Erickson [Mon, 1 Feb 2016 19:33:13 +0000 (14:33 -0500)]
JBAS-1161 Map districts to org units; remove --assume-new

1. District codes are mapped to org unit ID's within the script so the
caller does not have to know the org unit.

2. Remove the --assume-new option, since it serves little purpose.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1161 Tahoma classroom cards data
Bill Erickson [Mon, 1 Feb 2016 16:48:12 +0000 (11:48 -0500)]
JBAS-1161 Tahoma classroom cards data

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoeg-updater defaults to 20 second service start wait time
Bill Erickson [Wed, 10 Feb 2016 16:55:02 +0000 (11:55 -0500)]
eg-updater defaults to 20 second service start wait time

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-980 auth-to-auth clear links once
Bill Erickson [Mon, 4 Jan 2016 22:19:20 +0000 (14:19 -0800)]
JBAS-980 auth-to-auth clear links once

Only delete auth-to-auth links for a given subfield once per record.
Otherwise, we could only create one link per tag.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-980 local thes. falls back to Other
Bill Erickson [Thu, 31 Dec 2015 15:55:26 +0000 (07:55 -0800)]
JBAS-980 local thes. falls back to Other

When a controlled field specifies its source as local (ind2=7), consider
a link to an authority record whose thesaurus value is z=Other as always
valid.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-980 repair ind2=z remapping logic (lcgft)
Bill Erickson [Wed, 30 Dec 2015 23:16:08 +0000 (15:16 -0800)]
JBAS-980 repair ind2=z remapping logic (lcgft)

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-980 Make auth-2-auth more aggressive
Bill Erickson [Fri, 18 Dec 2015 20:46:57 +0000 (12:46 -0800)]
JBAS-980 Make auth-2-auth more aggressive

Remove all existing links for each processed auth-2-auth field before
rebuilding the links.  This lets us remove bogus links.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-980 auth linking repairs/consistency
Bill Erickson [Fri, 18 Dec 2015 16:34:50 +0000 (11:34 -0500)]
JBAS-980 auth linking repairs/consistency

1. Use consistent DB connection logic -- removes a lot of
   unnecessary DB connection settings logic.

2. Set log traces via OSRF_LOG_CLIENT

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-980 auth2auth link repairs/consistency
Bill Erickson [Fri, 18 Dec 2015 15:57:37 +0000 (10:57 -0500)]
JBAS-980 auth2auth link repairs/consistency

1. Use consistent DB connection logic -- removes a lot of
   unnecessary DB connection settings logic.

2. Use existing clean_marc utility function instead of inline version.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-980 auth batcher DB params consistency
Bill Erickson [Thu, 3 Dec 2015 17:08:42 +0000 (12:08 -0500)]
JBAS-980 auth batcher DB params consistency

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-980 throttle_disbatcher.pl time printing fix
Bill Erickson [Wed, 2 Dec 2015 22:40:31 +0000 (17:40 -0500)]
JBAS-980 throttle_disbatcher.pl time printing fix

Code previously displayed "Time::tm=ARRAY(0xe1e4f8)" instead of a time
string.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-980 bib/auth batch repairs / consistency
Bill Erickson [Wed, 2 Dec 2015 22:16:50 +0000 (17:16 -0500)]
JBAS-980 bib/auth batch repairs / consistency

1. Use consistent DB connection logic -- removes a lot of unnecessary
   DB connection settings logic.

2. Repair logic on building batch files to avoid warnings about writing
   to closed file handles.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-980 Extra del. record sanity check in bib/auth linker
Bill Erickson [Wed, 2 Dec 2015 21:38:26 +0000 (16:38 -0500)]
JBAS-980 Extra del. record sanity check in bib/auth linker

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-980 authority batch setup uses opensrf
Bill Erickson [Wed, 2 Dec 2015 21:36:57 +0000 (16:36 -0500)]
JBAS-980 authority batch setup uses opensrf

Assign ownership of authority batch files to opensrf instead of making
the directories world-writable.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-980 bib linking minor repairs and logging updates
Bill Erickson [Fri, 20 Nov 2015 16:57:05 +0000 (08:57 -0800)]
JBAS-980 bib linking minor repairs and logging updates

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-980 bib linking force thesaurus; local thesaurus
Bill Erickson [Thu, 19 Nov 2015 22:49:23 +0000 (17:49 -0500)]
JBAS-980 bib linking force thesaurus; local thesaurus

Preliminary support for mapping local thesaurus values (ind2=7) to one
of the supported authority leader/11 options.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-980 readability; remove stale links
Bill Erickson [Wed, 18 Nov 2015 17:21:49 +0000 (12:21 -0500)]
JBAS-980 readability; remove stale links

If auth record A links to record B, but they use a different thesaurus,
unlink them.

When 2 records use a different thesaurus, exit early to avoid
unnecessary processing.

Various readability and style modifications.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-980 auth-to-auth uses correct leader position
Bill Erickson [Wed, 18 Nov 2015 16:01:58 +0000 (11:01 -0500)]
JBAS-980 auth-to-auth uses correct leader position

008 indexes are zero-based.  We want index 11, not 10.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoKMAIN 1911 Auth-to-auth audience linking
Nick Duncan [Thu, 5 Nov 2015 18:44:01 +0000 (13:44 -0500)]
KMAIN 1911 Auth-to-auth audience linking

Authority Records Now Only Link To Other Authority Records With The Same 008/11 (Audience)

Signed-off-by: Nick Duncan <nDuncan@catalystitservices.com>
6 years agoJBAS-980 auth-to-bib linking repairs continued
Bill Erickson [Tue, 17 Nov 2015 19:49:01 +0000 (14:49 -0500)]
JBAS-980 auth-to-bib linking repairs continued

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoKMAIN-1897 Fix Authority Linking Script
Nick Duncan [Wed, 7 Oct 2015 21:31:43 +0000 (17:31 -0400)]
KMAIN-1897 Fix Authority Linking Script

Authority Linking Script Now Recognizes Matches From Bib 65X to Auth 008/11

Signed-off-by: Nick Duncan <nDuncan@catalystitservices.com>