working/Evergreen.git
6 years agoJBAS-1832 Remove refs to legacy search language_filter
Bill Erickson [Wed, 12 Sep 2018 14:43:28 +0000 (10:43 -0400)]
JBAS-1832 Remove refs to legacy search language_filter

And remove a few other local unused bits.  File now matches master.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-2098 Dev DB builder schema-only option
Bill Erickson [Fri, 31 Aug 2018 15:21:23 +0000 (11:21 -0400)]
JBAS-2098 Dev DB builder schema-only option

Note the script must be manually modified for now, pending support for
getopt.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1832 Apply COMMIT's to 3.2 SQL updates
Bill Erickson [Wed, 12 Sep 2018 20:11:45 +0000 (16:11 -0400)]
JBAS-1832 Apply COMMIT's to 3.2 SQL updates

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1832 Migrate 3.2 SQL to sqitch
Bill Erickson [Wed, 12 Sep 2018 14:50:35 +0000 (10:50 -0400)]
JBAS-1832 Migrate 3.2 SQL to sqitch

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1832 KCLS 2.12 -> 3.2 SQL upgrade
Bill Erickson [Tue, 28 Aug 2018 19:57:37 +0000 (15:57 -0400)]
JBAS-1832 KCLS 2.12 -> 3.2 SQL upgrade

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-2098 Migrate browse data back to stock tables
Bill Erickson [Thu, 30 Aug 2018 21:34:45 +0000 (17:34 -0400)]
JBAS-2098 Migrate browse data back to stock tables

Move data from the various
metabib.browse_[title|author|subject|series|call_number]_entry_* tables into
the stock metabib.browse_entry_* tables.

The data migration step handles de-duplication and creation of entry,
def_map, and simple_heading_map rows.

UI code is updated to refer to the stock tables as well.

Some local additions added to improve stock browse speed and resolve
index-size issues (combo_sort_value field, metabib_fields_cache field,
and substr indexes).

Includes updates to the new headings report to reference the new tables,
including a materialized view to speed up the initial report collection.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-2040 College cards use email; fixes
Bill Erickson [Wed, 11 Jul 2018 15:37:24 +0000 (11:37 -0400)]
JBAS-2040 College cards use email; fixes

College cards now use email for student_id values.  Values are scrubbed
and made lower case.

Fix sftp agent to properly pass the --college flag to the generator
script.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-2018 eCard UMS print notice validator
Bill Erickson [Thu, 26 Jul 2018 14:56:40 +0000 (10:56 -0400)]
JBAS-2018 eCard UMS print notice validator

Confirm patrons are un-purged and un-verified before sending to UMS for
ecard letter generation.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1925 eCard print notice ID fix
Bill Erickson [Wed, 25 Jul 2018 14:16:38 +0000 (10:16 -0400)]
JBAS-1925 eCard print notice ID fix

Update print notice generator to use correct prod event def ID.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1925 eCard code generator skips vowels
Bill Erickson [Tue, 24 Jul 2018 21:26:08 +0000 (17:26 -0400)]
JBAS-1925 eCard code generator skips vowels

To avoid creating any words which could be offensive.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1925 eCard address normalizer repair
Bill Erickson [Tue, 24 Jul 2018 21:05:48 +0000 (17:05 -0400)]
JBAS-1925 eCard address normalizer repair

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1925 Verify page close success msg <b> tag
Bill Erickson [Tue, 24 Jul 2018 18:38:54 +0000 (14:38 -0400)]
JBAS-1925 Verify page close success msg <b> tag

Otherwise everything after the message (footers, etc.) are bolded.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1925 Repair temp ecard patron activity non-extension
Bill Erickson [Tue, 24 Jul 2018 13:24:42 +0000 (09:24 -0400)]
JBAS-1925 Repair temp ecard patron activity non-extension

Update the patron activity extender to use the correct DB ID for the
pending ecard group (which changed recently).

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1925 Add Goog tag manager script to eCard form
Bill Erickson [Mon, 23 Jul 2018 15:02:32 +0000 (11:02 -0400)]
JBAS-1925 Add Goog tag manager script to eCard form

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-2045 Add self-reg ADA text
Bill Erickson [Thu, 21 Jun 2018 14:34:13 +0000 (10:34 -0400)]
JBAS-2045 Add self-reg ADA text

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-2045 Remove gender field / stat cat data
Bill Erickson [Wed, 6 Jun 2018 14:50:34 +0000 (10:50 -0400)]
JBAS-2045 Remove gender field / stat cat data

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1925 Ecard (Quipu) data and web form
Bill Erickson [Wed, 3 Jan 2018 22:29:48 +0000 (17:29 -0500)]
JBAS-1925 Ecard (Quipu) data and web form

* Ecard user groups, policies, and barcode generator.
* TPAC-driven web form and submit API (/eg/opac/ecard/form)
* TPAC-driven card verification form (/eg/opac/ecard/verify)
* API / form Test script

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-2049 Enable Fed. Way teacher accounts
Bill Erickson [Thu, 14 Jun 2018 14:09:53 +0000 (10:09 -0400)]
JBAS-2049 Enable Fed. Way teacher accounts

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoUpdate dev data export w/ merge_date/to fields
Bill Erickson [Fri, 6 Jul 2018 17:14:15 +0000 (10:14 -0700)]
Update dev data export w/ merge_date/to fields

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoAdd SQL insert checks in search-index-keep-periods
Bill Erickson [Fri, 6 Jul 2018 17:04:59 +0000 (13:04 -0400)]
Add SQL insert checks in search-index-keep-periods

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-2015 UMS print notice summary email CRONTAB entry
Bill Erickson [Wed, 27 Jun 2018 18:25:12 +0000 (14:25 -0400)]
JBAS-2015 UMS print notice summary email CRONTAB entry

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoEDI fetcher always uses passive FTP
Bill Erickson [Mon, 11 Jun 2018 19:32:53 +0000 (15:32 -0400)]
EDI fetcher always uses passive FTP

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-2036 Import pingest; add weekly batches
Bill Erickson [Tue, 29 May 2018 21:39:20 +0000 (17:39 -0400)]
JBAS-2036 Import pingest; add weekly batches

Import the pingest script for safe keeping.  Adds support for a new
--week-batch option for reingesting all bib records over a 7 day period.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-2012 Hide acq cost value in item summaries
Bill Erickson [Mon, 2 Apr 2018 20:49:08 +0000 (16:49 -0400)]
JBAS-2012 Hide acq cost value in item summaries

This version just hides the value, but leaves the fields.

Includes web client and XUL client.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-2002 Self-reg googalyitcs on submit/cancel events
Bill Erickson [Mon, 2 Apr 2018 20:18:31 +0000 (16:18 -0400)]
JBAS-2002 Self-reg googalyitcs on submit/cancel events

Send events to Goog indicating a submit or cancel button event.
Minor cleanup of old commented code.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1050 Add strip-period title/author indexes
Bill Erickson [Thu, 17 May 2018 14:34:13 +0000 (10:34 -0400)]
JBAS-1050 Add strip-period title/author indexes

Now that we no longer strip periods universally for search indexes, add
title and author indexes that strip periods via normalizer to support
(e.g.) author = 'j.k. rowling' / 'j k rowling' / 'jk rowling'

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1634 Acq PO/Invoice search on identifiers
Bill Erickson [Fri, 20 Apr 2018 17:21:03 +0000 (13:21 -0400)]
JBAS-1634 Acq PO/Invoice search on identifiers

Replace the canned searches for "Purchase Orders" and "Open Invoices"
with searches for PO ID and invoice vendor invoice identifier.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1967 Invoice close date search UI fix
Bill Erickson [Thu, 19 Apr 2018 20:15:51 +0000 (16:15 -0400)]
JBAS-1967 Invoice close date search UI fix

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-2024 Alt bib hold counts by rhrr
Bill Erickson [Mon, 16 Apr 2018 21:47:32 +0000 (17:47 -0400)]
JBAS-2024 Alt bib hold counts by rhrr

Recover stock hold counts code to reduce merge confusion and add a new
handler for calculating hold counts per bib record using the new
materialized reporter.hold_request_record table.  This gives us copy,
etc. -level hold counts back.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoBackstage Qtrly export reports TCNs
Bill Erickson [Mon, 16 Apr 2018 19:45:32 +0000 (15:45 -0400)]
Backstage Qtrly export reports TCNs

Create a file listing the exported TCN's and put it in Backstage web
reports folder with each quarterly export.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1967 Display ERP close date in invoice UI
Bill Erickson [Thu, 12 Apr 2018 20:03:54 +0000 (16:03 -0400)]
JBAS-1967 Display ERP close date in invoice UI

Display the new ERP close date field for staff in the invoice UI when
either the invoice is closed or a value is present.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1967 Invoice close fields cross-port
Bill Erickson [Thu, 12 Apr 2018 19:20:03 +0000 (15:20 -0400)]
JBAS-1967 Invoice close fields cross-port

Including new erp_export_date field for exporting invoices to JDE.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-2018 A/T UUID template helper function
Bill Erickson [Mon, 9 Apr 2018 14:27:20 +0000 (10:27 -0400)]
JBAS-2018 A/T UUID template helper function

For generating email Message-ID: values

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1050 Avoid stripping periods from search indexes
Bill Erickson [Mon, 2 Apr 2018 19:13:41 +0000 (15:13 -0400)]
JBAS-1050 Avoid stripping periods from search indexes

Roll back an old customization that stripped periods from search index
values.  Removing the periods is unnecessary becuase the values are also
normalized by the search_normalize() function, which replaces periods
with spaces.

Adds an additional keyword index using the 'replace' normalizer to strip
periods from indexed values (without replacing them with a space) so
that we can additionaly index (for example) "g.i. joe" as "gi joe".

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1969 Bib merge tracking sql port
Bill Erickson [Tue, 3 Apr 2018 15:09:51 +0000 (11:09 -0400)]
JBAS-1969 Bib merge tracking sql port

Cross-porting SQL from LP#1744996.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoLP#1744996 Track bib record merges
Bill Erickson [Thu, 25 Jan 2018 16:05:23 +0000 (11:05 -0500)]
LP#1744996 Track bib record merges

Adds "merge_date" and "merged_to" fields for bib records.  Merge date
is applied to all records involved in a record merge at merge time.
merged_to is applied to all subordinate (merged) records and points to
the target record.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
6 years agoJBAS-1969 Disable sqitch verify
Bill Erickson [Tue, 3 Apr 2018 15:10:38 +0000 (11:10 -0400)]
JBAS-1969 Disable sqitch verify

Disable the 'verify' option and remove all of the stub verify scripts.
We've never used it.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1998 Sftp client process selected district code
Bill Erickson [Wed, 9 May 2018 15:18:43 +0000 (11:18 -0400)]
JBAS-1998 Sftp client process selected district code

Fixes a bug where selecting a specific district code using -d would
process the selected code plus all college codes.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoRevert "JBAS-2012 Hide acq cost value in item summaries"
Bill Erickson [Tue, 24 Apr 2018 19:08:32 +0000 (15:08 -0400)]
Revert "JBAS-2012 Hide acq cost value in item summaries"

Didn't mean to commit here...

This reverts commit 7bc02e398a74b4b2fbe83a465454234972660f5d.

6 years agoJBAS-2012 Hide acq cost value in item summaries
Bill Erickson [Mon, 2 Apr 2018 20:49:08 +0000 (16:49 -0400)]
JBAS-2012 Hide acq cost value in item summaries

This version just hides the value, but leaves the fields.

Includes web client and XUL client.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1998 College barcodes upper case district code
Bill Erickson [Mon, 23 Apr 2018 16:35:41 +0000 (12:35 -0400)]
JBAS-1998 College barcodes upper case district code

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1998 Sftp client looks for college files
Bill Erickson [Mon, 23 Apr 2018 14:05:28 +0000 (10:05 -0400)]
JBAS-1998 Sftp client looks for college files

Teach the SFTP client script to add college districts to its list of
district codes to loop over when looking in batch for new files to
process.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1998 College cards import tweaks
Bill Erickson [Thu, 12 Apr 2018 16:53:50 +0000 (09:53 -0700)]
JBAS-1998 College cards import tweaks

* 4-year expire
* sftp file checks updates

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1998 LWT school and teacher accounts
Bill Erickson [Wed, 11 Apr 2018 19:38:48 +0000 (12:38 -0700)]
JBAS-1998 LWT school and teacher accounts

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-2019 Vand preserve spec keeps all fields
Bill Erickson [Mon, 9 Apr 2018 21:07:51 +0000 (17:07 -0400)]
JBAS-2019 Vand preserve spec keeps all fields

Adjust the new vandelay.replace_field function so that it copies all
"preserved" fields from the source record to the target record, not just
those that have matching spot on the target record.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoTahoma Maple View school cards
Bill Erickson [Fri, 6 Apr 2018 19:15:04 +0000 (15:15 -0400)]
Tahoma Maple View school cards

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1803 Wrap outreach grp SQL for insert_on_deploy
Bill Erickson [Fri, 30 Mar 2018 18:43:54 +0000 (14:43 -0400)]
JBAS-1803 Wrap outreach grp SQL for insert_on_deploy

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1803 Add public to call_number_class search_path
Bill Erickson [Fri, 30 Mar 2018 18:37:44 +0000 (11:37 -0700)]
JBAS-1803 Add public to call_number_class search_path

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1803 Update sample data from 2.12 prod data
Bill Erickson [Fri, 30 Mar 2018 18:36:23 +0000 (11:36 -0700)]
JBAS-1803 Update sample data from 2.12 prod data

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1803 Update sample bibs from current production
Bill Erickson [Fri, 30 Mar 2018 18:29:12 +0000 (11:29 -0700)]
JBAS-1803 Update sample bibs from current production

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1803 Drop sample rec export count from 750 to 500
Bill Erickson [Fri, 30 Mar 2018 18:21:27 +0000 (11:21 -0700)]
JBAS-1803 Drop sample rec export count from 750 to 500

To speed up building dev machines.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1803 Add org closed dates to sample exports
Bill Erickson [Fri, 30 Mar 2018 18:18:12 +0000 (14:18 -0400)]
JBAS-1803 Add org closed dates to sample exports

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-2007 Vandelay import/overlay updates edit date
Bill Erickson [Fri, 30 Mar 2018 15:11:40 +0000 (11:11 -0400)]
JBAS-2007 Vandelay import/overlay updates edit date

Configure all merge profiles, except for match-only merge, to result in
an update of the bib record editor (when available) and edit date values.

Recover KCLS customization that caused edit_date to be updated
regardless of whether an editor value is supplied.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-2008 Search strip apostrophes recover
Bill Erickson [Fri, 30 Mar 2018 16:23:34 +0000 (12:23 -0400)]
JBAS-2008 Search strip apostrophes recover

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-2005 Hold queue pos API uses rhrr
Bill Erickson [Tue, 27 Mar 2018 21:53:29 +0000 (17:53 -0400)]
JBAS-2005 Hold queue pos API uses rhrr

Consistent with BC hold queue pos function, we now determine the hold
queue position by comparing holds that target the same bib.  Uses the
newly materialized (as of 2.12) reporter.hold_request_record table.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-2005 BC hold queue position uses 'rhrr' class
Bill Erickson [Sun, 25 Mar 2018 19:12:19 +0000 (15:12 -0400)]
JBAS-2005 BC hold queue position uses 'rhrr' class

Queue is now defined as holds which target the same bib record, not
necessarily those that share a targetable copy.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-2006 Hold shelf expire date speed up
Bill Erickson [Tue, 27 Mar 2018 15:38:40 +0000 (11:38 -0400)]
JBAS-2006 Hold shelf expire date speed up

Move the hold shelf expire date calculation into a new set of utility
functions and refactor to avoid excess DB calls for overall speedups.

Adds a new open-ils.actor.org_unit.open_day_range API call for testing
the new code and for possible future use.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoCopy location API for BC OpenSRF 2.5 repair
Bill Erickson [Tue, 27 Mar 2018 16:21:37 +0000 (12:21 -0400)]
Copy location API for BC OpenSRF 2.5 repair

Override the default OpenSRF message chunking settings by setting
max_chunk_size => 0 on the copy location fetch-all API, which returns a
large collection of data.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoHold shelf expire cstore keepalive
Bill Erickson [Mon, 26 Mar 2018 17:24:44 +0000 (13:24 -0400)]
Hold shelf expire cstore keepalive

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoRemove canceled transit from magic statuses to allow editing
Bill Erickson [Sun, 25 Mar 2018 22:11:46 +0000 (18:11 -0400)]
Remove canceled transit from magic statuses to allow editing

Note setting disable_in_copy_editor=false did not suffice to allow
editing.  The whole like had to be removed.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1997 Prevent sequential scans in hold queue pos func
Bill Erickson [Thu, 15 Mar 2018 15:16:25 +0000 (11:16 -0400)]
JBAS-1997 Prevent sequential scans in hold queue pos func

Brute-force the PG planner to make it use index scans instead of
sequential scans in the hold queue position stored proc.  This resolves
a problem where the planner starts using seq scans over time as the
stats morph in the presence of lots of active, large-queue holds.

Avoidin the seq scan shows consistently better performance.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1802 2.12 SQL upgrade commits
Bill Erickson [Wed, 14 Mar 2018 15:04:25 +0000 (11:04 -0400)]
JBAS-1802 2.12 SQL upgrade commits

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1923 Add Outreach SI profile
Bill Erickson [Tue, 6 Feb 2018 15:34:36 +0000 (10:34 -0500)]
JBAS-1923 Add Outreach SI profile

1. New profile group under Outreach
2. checkout max set to 100
3. Add group to user editor

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1984 Large screen scan box btm border padding
Bill Erickson [Wed, 7 Mar 2018 20:01:54 +0000 (15:01 -0500)]
JBAS-1984 Large screen scan box btm border padding

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoCAT-184 - SCKO Button Size Increase
Alex Cautley [Thu, 1 Mar 2018 22:42:59 +0000 (22:42 +0000)]
CAT-184 - SCKO Button Size Increase

-Slight increase in button size for btn-repsonsive and
scko-footer-btn

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/web/css/skin/kcls/selfcheck.css

6 years agoCAT-184 SCKO Fonts Continued
Alex Cautley [Wed, 28 Feb 2018 23:00:49 +0000 (23:00 +0000)]
CAT-184 SCKO Fonts Continued

- Create new btn-responsive css class to handle button sizes
based on screen size
- Apply font size change to scko-footer-btn when under specific
resolutions, to keep text inside the button.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   KCLS/openils/var/templates_kcls/circ/selfcheck/main.tt2
modified:   KCLS/openils/var/templates_kcls/circ/selfcheck/patron_login.tt2
modified:   Open-ILS/web/css/skin/kcls/selfcheck.css

6 years agoJBAS-1984 SCKO more misc. tewaks
Bill Erickson [Wed, 21 Feb 2018 21:14:23 +0000 (16:14 -0500)]
JBAS-1984 SCKO more misc. tewaks

Add enter PIN instructions

JBAS-1984 Hi-contrast text color tweaks

JBAS-1984 V-align SCKO go/cancel buttons w/ text

Top of go/cancel buttons lines up with top of PIN text input.

JBAS-1984 Increase vert padding for logout buttons

JBAS-1984 SCKO font css consolidation

Migrate font-embiggening into the default and high-contrast css files
using @media params.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoSCKO Unaccent checkout items labels
Bill Erickson [Wed, 21 Feb 2018 20:33:08 +0000 (15:33 -0500)]
SCKO Unaccent checkout items labels

The hard-coded 'black' color on the checkout list labels makes the
appear too bold.  Use default color to match the items-out list.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1981 SCKO Misc tweaks
Bill Erickson [Fri, 9 Feb 2018 16:28:58 +0000 (11:28 -0500)]
JBAS-1981 SCKO Misc tweaks

Total/Session counts move to tab

Move the counts down into the checkouts tab so it's always visible.

SCKO label change Pickup -> Pick-up

JBAS-1984 SCKO Fines table extends horizontally

Remove unnecessary call to show() the fines tbody, since it
(unkowningly) changed the display attribute to 'block', breaking the
table flow.

JBAS-1984 SCKO Remove refs to undefined div

Avoid JS errors by avoiding attempts to dereference an undefined DOM
node with id 'oils-selfck-status-div3'.

JBAS-1984 SCKO Larger font-d option

JBAS-1984 SCKO unable to process message tweaks

Show original "unable to process item XYZ" message in non-batch checkout
and renewal mode.  Show generic see staff message for batch equivalents.

JBAS-1984 Bump high-contrast font sizes

JBAS-1984 More font tweaks for size d

JBAS-1984 SCKO bold item details during checkout

6 years agoCAT-176 SCKO Font Size Tweaks
Kyle Huckins [Mon, 29 Jan 2018 18:42:04 +0000 (18:42 +0000)]
CAT-176 SCKO Font Size Tweaks

- Provide three options for font sizes. Does not include changes to
High Contrast Mode

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   KCLS/openils/var/templates_kcls/circ/selfcheck/style.css
modified:   Open-ILS/web/css/skin/kcls/selfcheck-default.css
new file:   Open-ILS/web/css/skin/kcls/selfcheck-font-b.css
new file:   Open-ILS/web/css/skin/kcls/selfcheck-font-c.css

6 years agoCAT-182 SCKO Fine Tab Outline
Kyle Huckins [Tue, 6 Feb 2018 18:31:38 +0000 (18:31 +0000)]
CAT-182 SCKO Fine Tab Outline

- Apply CSS outline to Fines tab when a positive
fine exists.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
Signed-off-by: Alex Cautley <acautley@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/web/css/skin/kcls/selfcheck.css
modified:   Open-ILS/web/js/ui/kcls/circ/selfcheck/selfcheck.js

6 years agoCAT-180 SCKO Checkbox Styling
Kyle Huckins [Wed, 31 Jan 2018 20:22:57 +0000 (20:22 +0000)]
CAT-180 SCKO Checkbox Styling

- Embiggen Checkboxes

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/web/css/skin/kcls/selfcheck.css

6 years agoCAT-181 SCKO Wording Tweaks
Kyle Huckins [Tue, 30 Jan 2018 00:00:16 +0000 (00:00 +0000)]
CAT-181 SCKO Wording Tweaks

- Change "Fees" to "Fines."
- Unbold Table Labels.
- Bold table contents.
- Add callnumber to Items ready for pickup.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   KCLS/openils/var/templates_kcls/circ/selfcheck/circ_page.tt2
modified:   KCLS/openils/var/templates_kcls/circ/selfcheck/fines.tt2
modified:   KCLS/openils/var/templates_kcls/circ/selfcheck/footer.tt2
modified:   KCLS/openils/var/templates_kcls/circ/selfcheck/holds_page.tt2
modified:   Open-ILS/web/css/skin/kcls/selfcheck.css
modified:   Open-ILS/web/js/ui/kcls/circ/selfcheck/selfcheck.js

6 years agoCAT-178 Login Tweaks
Kyle Huckins [Mon, 29 Jan 2018 21:40:34 +0000 (21:40 +0000)]
CAT-178 Login Tweaks

- Remove "Steps" text.
- Move "Enter" instructions to top of login barcode box.
- Move Example text into input boxes.
- Match example barcode to barcode in image.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   KCLS/openils/var/templates_kcls/circ/selfcheck/patron_login.tt2

6 years agoCAT-177 SCKO Button Tweaks
Kyle Huckins [Mon, 29 Jan 2018 19:03:28 +0000 (19:03 +0000)]
CAT-177 SCKO Button Tweaks

- Increase space between Sidebar buttons.
- Make Login nad sidebar buttons bigger.
- Bold text on Sidebar buttons.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
6 years agoJBAS-1979 SCKO Google analytics base
Bill Erickson [Tue, 6 Feb 2018 17:30:22 +0000 (12:30 -0500)]
JBAS-1979 SCKO Google analytics base

Base GA code.  No action-specific triggers are included.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1983 SCKO dedicated high-contrast mode
Bill Erickson [Tue, 6 Feb 2018 17:25:37 +0000 (12:25 -0500)]
JBAS-1983 SCKO dedicated high-contrast mode

Append ?high-contrast=1 to the URL to have always-on high contrast.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1981 SCKO Total/session items out count
Bill Erickson [Tue, 6 Feb 2018 16:43:18 +0000 (11:43 -0500)]
JBAS-1981 SCKO Total/session items out count

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1980 SCKO already-processed for success only
Bill Erickson [Mon, 5 Feb 2018 22:27:59 +0000 (17:27 -0500)]
JBAS-1980 SCKO already-processed for success only

Only display the "item already processed" message for sucessful
checkouts.  Checkout failures are always allowed to re-process so the
user can see the real error message.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1997 Hold queue position stored procedure
Bill Erickson [Sun, 11 Mar 2018 16:33:29 +0000 (12:33 -0400)]
JBAS-1997 Hold queue position stored procedure

Primarily created for use by BC, but could be used in other contexts.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoSelf-register add pride/rainbow card option
Bill Erickson [Fri, 9 Mar 2018 20:27:02 +0000 (15:27 -0500)]
Self-register add pride/rainbow card option

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoRecover local Google Analytics code
Bill Erickson [Mon, 5 Mar 2018 20:13:01 +0000 (15:13 -0500)]
Recover local Google Analytics code

Even though GA is imported via the BC headers, they do not work the way
we need them to for tracking the self-reg pages.  Recovering the old GA
headers.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoRevert "LP#1464709: teach QP about is_available statuses"
Bill Erickson [Mon, 26 Feb 2018 15:12:38 +0000 (10:12 -0500)]
Revert "LP#1464709: teach QP about is_available statuses"

Retaining previous availabilty filtering behavior because KCLS uses
is_available (previously checkout_ok) more liberally than suits a search
availability filter.  E.g. 'missing' is is_available=true

This reverts commit fed65df3c669e1337f187d533e9033a697d6b263.

6 years agoJBAS-1975 Archive ADPToJDE files same as ADP
Bill Erickson [Fri, 9 Feb 2018 21:09:50 +0000 (16:09 -0500)]
JBAS-1975 Archive ADPToJDE files same as ADP

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1975 Merge latest adp file mgt script changes
Bill Erickson [Fri, 9 Feb 2018 21:09:13 +0000 (16:09 -0500)]
JBAS-1975 Merge latest adp file mgt script changes

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoLP#1704819 Fine generator avoids int() rounding
Bill Erickson [Thu, 3 Aug 2017 19:01:34 +0000 (15:01 -0400)]
LP#1704819 Fine generator avoids int() rounding

Avoid using the Perl int() function for rounding in the fine generator,
since it can have unexpected outcomes.

For example:

$ perl -e 'print "230 = " . int(100 * 2.30) . "\n"'
230 = 229

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1804 2.12 SQL upgrade testing additions
Bill Erickson [Fri, 2 Feb 2018 17:04:22 +0000 (09:04 -0800)]
JBAS-1804 2.12 SQL upgrade testing additions

DROP tablefunc as suggested by script.
Avoid creating the full reporter.hold_request_table twice.
Avoid creating various user name indexes twice.
Adds some more timing logs.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1804 2.12 SQL wrap perm updates w/ insert check
Bill Erickson [Tue, 30 Jan 2018 16:07:12 +0000 (11:07 -0500)]
JBAS-1804 2.12 SQL wrap perm updates w/ insert check

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1972 - add 245$n to pull list alternate print title
Bradley Bonner [Wed, 24 Jan 2018 21:00:32 +0000 (13:00 -0800)]
JBAS-1972 - add 245$n to pull list alternate print title

.. and CHS, as side benefit.

Bradley Bonner
bbonner@kcls.org

6 years agoJBAS-1804 KCLS 2.11 + 2.12 staff release notes
Bill Erickson [Mon, 18 Dec 2017 17:19:18 +0000 (12:19 -0500)]
JBAS-1804 KCLS 2.11 + 2.12 staff release notes

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1804 KCLS 2.11 + 2.12 staff release notes
Bill Erickson [Mon, 18 Dec 2017 17:10:52 +0000 (12:10 -0500)]
JBAS-1804 KCLS 2.11 + 2.12 staff release notes

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1802 2.10->2.12 SQL Upgrade
Bill Erickson [Mon, 29 Jan 2018 21:25:03 +0000 (16:25 -0500)]
JBAS-1802 2.10->2.12 SQL Upgrade

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1470 Bib linking uses 700/710m,o,r,s subfields
Bill Erickson [Thu, 18 Jan 2018 22:29:03 +0000 (17:29 -0500)]
JBAS-1470 Bib linking uses 700/710m,o,r,s subfields

Add back 700 and 710 $m, $o, $r, $s subfields for link matching.  These
should never have been removed.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1926 Patron edit print non-free-text statcats
Bill Erickson [Thu, 11 Jan 2018 21:28:02 +0000 (16:28 -0500)]
JBAS-1926 Patron edit print non-free-text statcats

Add support for printing values for non-free-text stat cats, whose
values have to be extracted differently from those of free-text cats
in the patron edit interface.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1929 Expand mattype filtered browse bounds
Bill Erickson [Thu, 11 Jan 2018 17:28:47 +0000 (12:28 -0500)]
JBAS-1929 Expand mattype filtered browse bounds

Look farther and wider for matching browse records when filtering by
mattype to improve likelihood of finding a full page of results.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1929 Filter bib links at vis check time
Bill Erickson [Thu, 11 Jan 2018 16:46:26 +0000 (11:46 -0500)]
JBAS-1929 Filter bib links at vis check time

Filter all bibs that don't match the requested mattype during the
visibility checking stage instead of the link-finding stage to ensure
all related bib links are scanned for viability.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1932 New headings mattype filter label tweak
Bill Erickson [Wed, 10 Jan 2018 21:17:26 +0000 (16:17 -0500)]
JBAS-1932 New headings mattype filter label tweak

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1929 Browse mattype filter see link counts
Bill Erickson [Wed, 10 Jan 2018 19:26:23 +0000 (14:26 -0500)]
JBAS-1929 Browse mattype filter see link counts

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1470 Multi target replaces only subfields
Bill Erickson [Wed, 3 Jan 2018 16:22:13 +0000 (11:22 -0500)]
JBAS-1470 Multi target replaces only subfields

When performing wholesale replacement of a bib field, only replace as
many target fields as exist on the source record.  I.e. avoid
propagating and repating the same whole field multiple times into the
target record.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1470 Support multiple target field replacements
Bill Erickson [Tue, 2 Jan 2018 22:45:43 +0000 (17:45 -0500)]
JBAS-1470 Support multiple target field replacements

Allow a single (e.g. authority) record field to act as the basis for
replacing multiple like values on a target bib record.

E.g. replace multiple bib 700a values from a single authority 100a
value.

Signed-off-by: Bill Erickson <berickxx@gmail.com>