working/Evergreen.git
6 years agoJBAS-1437 Backstage importer process bibs first
Bill Erickson [Wed, 7 Dec 2016 16:04:19 +0000 (11:04 -0500)]
JBAS-1437 Backstage importer process bibs first

When processing a ZIP file, process bib files before authority files.
On large data sets, processing bibs first allows staff to resume normal
bib editing operations earlier.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1437 Backstage importer --marc-file option
Bill Erickson [Wed, 7 Dec 2016 15:20:11 +0000 (10:20 -0500)]
JBAS-1437 Backstage importer --marc-file option

Importer now supports processing a single MARC file in addition to
ZIP files as before.  Zip file option is now specified via --zip-file.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1437 Bib batch linker continued
Bill Erickson [Fri, 2 Dec 2016 20:14:09 +0000 (15:14 -0500)]
JBAS-1437 Bib batch linker continued

Bug fixes, documentation.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1437 Remove legacy linking/backstage scripts
Bill Erickson [Fri, 2 Dec 2016 19:40:49 +0000 (14:40 -0500)]
JBAS-1437 Remove legacy linking/backstage scripts

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1437 Move authority/BS scripts to authority-control
Bill Erickson [Fri, 2 Dec 2016 19:40:21 +0000 (14:40 -0500)]
JBAS-1437 Move authority/BS scripts to authority-control

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1437 bib linking log more info
Bill Erickson [Fri, 2 Dec 2016 19:02:23 +0000 (14:02 -0500)]
JBAS-1437 bib linking log more info

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1437 Week-spanning bib link batcher script
Bill Erickson [Fri, 2 Dec 2016 18:57:02 +0000 (13:57 -0500)]
JBAS-1437 Week-spanning bib link batcher script

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1437 Bibs-to-link finder and batch generator
Bill Erickson [Fri, 2 Dec 2016 17:04:17 +0000 (12:04 -0500)]
JBAS-1437 Bibs-to-link finder and batch generator

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1437 B2A linking additional query options
Bill Erickson [Mon, 7 Nov 2016 21:38:49 +0000 (16:38 -0500)]
JBAS-1437 B2A linking additional query options

* --all uses direct DB connection
  * Fetching all record ID's via cstore is a bad idea.
* order by ID
* better logging
* --sort-desc option

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1437 B2A link clean up bogus fast headings; leave OK ones
Bill Erickson [Mon, 7 Nov 2016 21:09:04 +0000 (16:09 -0500)]
JBAS-1437 B2A link clean up bogus fast headings; leave OK ones

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1437 Backstage scripts default DB settings
Bill Erickson [Fri, 28 Oct 2016 21:51:52 +0000 (17:51 -0400)]
JBAS-1437 Backstage scripts default DB settings

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1437 Auth linker uses 'KCLS' control number identifer
Bill Erickson [Thu, 27 Oct 2016 20:22:55 +0000 (16:22 -0400)]
JBAS-1437 Auth linker uses 'KCLS' control number identifer

Affects bib-to-auth and auth-to-auth linking.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1437 Backstage update authority 005 date values
Bill Erickson [Wed, 26 Oct 2016 16:30:32 +0000 (12:30 -0400)]
JBAS-1437 Backstage update authority 005 date values

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1437 Bib ignores 'fast' headings.
Bill Erickson [Wed, 26 Oct 2016 16:03:21 +0000 (12:03 -0400)]
JBAS-1437 Bib ignores 'fast' headings.

Avoid any attempts at controlling fields whose thesaurus value (ind2=7
and $2) is 'fast'.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1437 BS search mod bibs once
Bill Erickson [Wed, 26 Oct 2016 14:23:35 +0000 (10:23 -0400)]
JBAS-1437 BS search mod bibs once

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1437 Backstage 010z replace records
Bill Erickson [Tue, 25 Oct 2016 21:06:03 +0000 (17:06 -0400)]
JBAS-1437 Backstage 010z replace records

Replace authority records whose 010a matches the 010z value for inbound
records.

Also avoid looking up deleted records when looking for matches.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1437 Backstage quarterly export docs
Bill Erickson [Mon, 26 Sep 2016 15:18:06 +0000 (11:18 -0400)]
JBAS-1437 Backstage quarterly export docs

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1437 Backstage process bib/auth file names update
Bill Erickson [Mon, 26 Sep 2016 14:29:09 +0000 (07:29 -0700)]
JBAS-1437 Backstage process bib/auth file names update

Handle inconsistencies in BS results file naming.

* Process files ending in .UTF8 or .MRC
* Treat file with name AUTH as new/modified authority records.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1437 Auth-2-auth linker --file option
Bill Erickson [Mon, 26 Sep 2016 14:18:42 +0000 (10:18 -0400)]
JBAS-1437 Auth-2-auth linker --file option

Supports a --file option pointing to file of authority record IDs, one
ID per line.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1437 Backstage record export/import scripts
Bill Erickson [Mon, 20 Jun 2016 19:33:56 +0000 (15:33 -0400)]
JBAS-1437 Backstage record export/import scripts

* export-bibs.pl : export bib records to send to Backstage
* process-backstage-files.pl : process bib/auth records returned from BS
* README.adoc : howto docs

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1437 Auth2bib links honors authority 008 #14/#15
Bill Erickson [Thu, 25 Aug 2016 21:03:57 +0000 (17:03 -0400)]
JBAS-1437 Auth2bib links honors authority 008 #14/#15

Only link 1XX and 7XX bib fields to authority records whose 008 #14
field is 'a'.

Only link 6XX bib fields to authority records whose 008 #15 field is 'a'.

https://www.loc.gov/marc/authority/ad008.html

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1437 link-new-auths new options, ID printing
Bill Erickson [Mon, 22 Aug 2016 17:52:04 +0000 (13:52 -0400)]
JBAS-1437 link-new-auths new options, ID printing

--start-auth-id
--max-auth-count

Also, print-x-ids now prints IDs one per line without any logging
header.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1437 Remove deprecated Backstage export functions
Bill Erickson [Mon, 20 Jun 2016 20:58:44 +0000 (16:58 -0400)]
JBAS-1437 Remove deprecated Backstage export functions

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1670 Tukwila teacher cards enabled
Bill Erickson [Tue, 29 Nov 2016 22:09:51 +0000 (17:09 -0500)]
JBAS-1670 Tukwila teacher cards enabled

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoCAT-72 Claims return dialog sanity checks
Bill Erickson [Mon, 5 Dec 2016 19:06:57 +0000 (14:06 -0500)]
CAT-72 Claims return dialog sanity checks

Avoid the following error when editing hold shelf expire time:

timestamp.js, handle_apply(): TypeError:
    document.getElementById("newRadio1") is null

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1377 New headings report min date
Bill Erickson [Wed, 16 Nov 2016 21:52:38 +0000 (16:52 -0500)]
JBAS-1377 New headings report min date

Support applying a minimum report date in the new headings report to
prevent queries that report on (practically) all headings.  This happens
when the start date equals or precedes the deployment date for the
browse headings create_date column, which is set to NOW() by default.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1377 date.getYMD() avoids clobbering date
Bill Erickson [Wed, 16 Nov 2016 21:52:22 +0000 (16:52 -0500)]
JBAS-1377 date.getYMD() avoids clobbering date

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1605 Claims returned dialog label adjustments
Bill Erickson [Mon, 31 Oct 2016 19:31:29 +0000 (15:31 -0400)]
JBAS-1605 Claims returned dialog label adjustments

Change "Use Default Date" to "Use Due Date".

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1459 Authority propagation updates bib editor/date
Bill Erickson [Mon, 13 Jun 2016 16:10:55 +0000 (12:10 -0400)]
JBAS-1459 Authority propagation updates bib editor/date

Cross-porting LP#1588948 - Authority record updates that propagate to
bib records also updates bib editor and edit_date columns.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1638 Patron self-reg cleans spaces
Bill Erickson [Tue, 18 Oct 2016 19:34:34 +0000 (15:34 -0400)]
JBAS-1638 Patron self-reg cleans spaces

Remove leading / trailing spaces from user-entered values in patron
self-registration app.  In addition to resulting in cleaner data, it
allows the patron editor's duplicate patron search code to work w/ like
values.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1625 Pending patrons create date column
Bill Erickson [Wed, 12 Oct 2016 20:11:06 +0000 (16:11 -0400)]
JBAS-1625 Pending patrons create date column

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1635 Physical -> Residence addr in patron summary
Bill Erickson [Tue, 11 Oct 2016 16:12:40 +0000 (12:12 -0400)]
JBAS-1635 Physical -> Residence addr in patron summary

Changes the label for the address radio selector toggles in the patron
summary.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoCAT-55 Save Archived Message Columns
Kyle Huckins [Thu, 14 Apr 2016 17:14:40 +0000 (10:14 -0700)]
CAT-55 Save Archived Message Columns

Port previous commit's changes over to the
archived message's pane.

Signed-off-by: Kyle Huckins <khuckins@catalystdevworks.com>
 Changes to be committed:
modified:   Open-ILS/web/opac/locale/en-US/lang.dtd
modified:   Open-ILS/xul/staff_client/server/patron/standing_penalties.js
modified:   Open-ILS/xul/staff_client/server/patron/standing_penalties.xul

6 years agoCAT-55 Save Patron Message Columns
Kyle Huckins [Mon, 11 Apr 2016 17:56:01 +0000 (10:56 -0700)]
CAT-55 Save Patron Message Columns

Add Locale line for "Save Columns" in patron messages.
Add Save Column command to standing_penalties xul.
Add function to standing_penalties js to handle saving
columns.

Signed-off-by: Kyle Huckins <khuckins@catalystdevworks.com>
 Changes to be committed:
modified:   Open-ILS/web/opac/locale/en-US/lang.dtd
modified:   Open-ILS/xul/staff_client/server/patron/standing_penalties.js
modified:   Open-ILS/xul/staff_client/server/patron/standing_penalties.xul

6 years agoKMAIN-1828 Full Patron Messages
Dan Reuther [Wed, 28 Oct 2015 20:07:30 +0000 (16:07 -0400)]
KMAIN-1828 Full Patron Messages

Add new action on messages: "View Penalty/Message."

Add new xul window to display full note of message in
larger font than displayed on main messages page.

Add localization for new content.

Signed-off-by: Kyle Huckins <khuckins@catalystdevworks.com>
modified:   Open-ILS/web/opac/locale/en-US/lang.dtd
modified:   Open-ILS/xul/staff_client/chrome/content/main/constants.js
modified:   Open-ILS/xul/staff_client/server/patron/standing_penalties.js
modified:   Open-ILS/xul/staff_client/server/patron/standing_penalties.xul
new file:   Open-ILS/xul/staff_client/server/patron/view_standing_penalty.js
new file:   Open-ILS/xul/staff_client/server/patron/view_standing_penalty.xul

6 years agoCAT-76 Remove author subfield 'e' from TPAC display/links
Billy Horn [Wed, 24 Aug 2016 16:31:22 +0000 (09:31 -0700)]
CAT-76 Remove author subfield 'e' from TPAC display/links

Avoid displaying 1XX or 7XX subfield 'e' values for authors and prevent
said values from populating auto-generated author search links.

Commit msg modified by Bill for clarity.

Signed-off-by: Billy Horn <bhorn@catalystdevworks.com>
6 years agoCAT-50 Tighten stop sign page display
Kyle Huckins [Fri, 18 Mar 2016 22:47:55 +0000 (15:47 -0700)]
CAT-50 Tighten stop sign page display

* Resize stop sign image to 80x85 from the original 80x113.
* Decrease margin between stop_sign.png and text.
* Remove blank space from bottom of stop_sign.png

Signed-off-by: Kyle Huckins <khuckins@catalystdevworks.com>
6 years agoCAT-72 Claims returned default date option
Billy Horn [Thu, 18 Aug 2016 16:52:09 +0000 (09:52 -0700)]
CAT-72 Claims returned default date option

Gives staff an option to use a default date for claims returned.

Minor cleanup and doc/comment additions by Bill.

Signed-off-by: Billy Horn <bhorn@catalystdevworks.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1604 Vandelay queue delete speedup indexes
Bill Erickson [Fri, 30 Sep 2016 14:56:51 +0000 (10:56 -0400)]
JBAS-1604 Vandelay queue delete speedup indexes

Add indexes to make deleting vandelay queue data faster, specifically
when vandelay records link to import items and acq lineitems.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoCAT-77 Renewal override cancel error message repair.
Billy Horn [Thu, 1 Sep 2016 17:07:04 +0000 (10:07 -0700)]
CAT-77 Renewal override cancel error message repair.

Add check to make sure payload circ has a value.

-- Minor cleanup by Bill.

Signed-off-by: Billy Horn <bhorn@catalystdevworks.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoCAT-79 Hide place-hold-for-me staff action
Billy Horn [Wed, 31 Aug 2016 18:17:04 +0000 (11:17 -0700)]
CAT-79 Hide place-hold-for-me staff action

Add visibility: hidden to span containing the target radio

Signed-off-by: Billy Horn <bhorn@catalystdevworks.com>
6 years agoJBAS-1443 Added content uses EAN / Misc.
Bill Erickson [Mon, 6 Jun 2016 21:17:44 +0000 (17:17 -0400)]
JBAS-1443 Added content uses EAN / Misc.

Consider values from MARC 024 $a with indicator 1 values of 3 (EAN) or 8
(Misc/Unknown) as valid added content lookup keys.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1415 Apply net_access_level in self-reg
Bill Erickson [Wed, 25 May 2016 15:21:24 +0000 (11:21 -0400)]
JBAS-1415 Apply net_access_level in self-reg

During self-registration, if a patron is less than 17 years old, apply
the "Under 17 Plus" net_access_level to the staged user.  If the patron
is 17 or older, apply "17 and Up Only".

It shouldn't happen in practice since we require a DoB, but if no DoB is
present, no net_access_level value is applied.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1415 Staged users get net_access_level
Bill Erickson [Wed, 25 May 2016 15:03:36 +0000 (11:03 -0400)]
JBAS-1415 Staged users get net_access_level

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1150 Record bucket 'deleted' column
Bill Erickson [Fri, 20 May 2016 21:34:59 +0000 (17:34 -0400)]
JBAS-1150 Record bucket 'deleted' column

Includes new 'deleted' column on 'mvr' class.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-905 Reduce copy status checkout alerts
Bill Erickson [Wed, 25 May 2016 14:16:54 +0000 (10:16 -0400)]
JBAS-905 Reduce copy status checkout alerts

Avoid copy status checkout alerts for these:

4    -- Missing
104  -- Evaluations
107  -- Display
112  -- Cleared
114  -- Workroom
115  -- For Opening
103  -- Story Time

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoCAT-69 Volume merge bug
Kyle Huckins [Fri, 12 Aug 2016 16:54:30 +0000 (09:54 -0700)]
CAT-69 Volume merge bug

Create function in update_items to handle
find_or_create_volume api call.

Create helper function to match acns and get
the amount of copies in supplied volume in PO.

Create helper function to get number copies from
current volume.

Clean up gather_copies().

Remove instances of direct attempts at modifying
IDL properties, replace with the proper method
calls.

Add helper function to set the acn for the items in the
current PO.

Add FM_ACN_RETRIEVE.authoritative call to find_or_create
helper function.

Set temp_acn's label class, prefix, and suffix
to their object's id within g.find_or_create_volume().

Remove unnecessary loop from g.render_batch_button()

Fix incorrect iteration style to
array-friendly one.

Signed-off-by: Kyle Huckins <khuckins@catalystdevworks.com>
 Changes to be committed:
modified:   Open-ILS/xul/staff_client/server/cat/update_items.js

6 years agoJBAS-1377 New headings report UI / report view.
Bill Erickson [Wed, 28 Sep 2016 20:27:59 +0000 (16:27 -0400)]
JBAS-1377 New headings report UI / report view.

Adds a new reporter.cataloged_browse_entry DB view for finding browse
headings based on when their bibs were cataloged.

Adds a UI for searching and displayin such headings.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1377 Date handling utility JS functions
Bill Erickson [Wed, 28 Sep 2016 20:27:32 +0000 (16:27 -0400)]
JBAS-1377 Date handling utility JS functions

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Conflicts:
Open-ILS/web/js/dojo/openils/Util.js

6 years agoJBAS-1640 Riverview school/classroom cards
Bill Erickson [Wed, 26 Oct 2016 21:06:36 +0000 (14:06 -0700)]
JBAS-1640 Riverview school/classroom cards

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1598 Fed. Way school cards
Bill Erickson [Fri, 14 Oct 2016 15:40:53 +0000 (08:40 -0700)]
JBAS-1598 Fed. Way school cards

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1643 Teacher districts must be enabled
Bill Erickson [Wed, 16 Nov 2016 16:15:29 +0000 (11:15 -0500)]
JBAS-1643 Teacher districts must be enabled

Before the SFTP client will process a teacher account file, the district
code must be added to a new TEACHER_DISTRICTS configuration list at the
top of the file.

Also, the SFTP client not skips any files not conforming to the correct
csv file name convention.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1660 School teacher cards use upper-case ID's
Bill Erickson [Mon, 7 Nov 2016 15:13:57 +0000 (10:13 -0500)]
JBAS-1660 School teacher cards use upper-case ID's

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1643 Teacher cards pad ID to 4 chars min.
Bill Erickson [Thu, 27 Oct 2016 20:35:22 +0000 (16:35 -0400)]
JBAS-1643 Teacher cards pad ID to 4 chars min.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1598 Student importer exits on CSV parse error
Bill Erickson [Wed, 26 Oct 2016 14:59:08 +0000 (07:59 -0700)]
JBAS-1598 Student importer exits on CSV parse error

An unterminated quote, for example, now causes the student generator to
stop processing entirely.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoSQL demo server insert protection: payflow org settings
Bill Erickson [Tue, 25 Oct 2016 21:28:36 +0000 (17:28 -0400)]
SQL demo server insert protection: payflow org settings

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoOS updates apply autoremove first
Bill Erickson [Tue, 18 Oct 2016 15:23:10 +0000 (11:23 -0400)]
OS updates apply autoremove first

Experiment running 'autoremove' before 'dist-upgrade' to avoid occaisonal
problems with botched grub installs leading to un-bootable servers.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1504 Mercer Island classroom card file rename
Bill Erickson [Fri, 14 Oct 2016 15:14:30 +0000 (11:14 -0400)]
JBAS-1504 Mercer Island classroom card file rename

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1504 Mercer Island student/classroom cards
Bill Erickson [Thu, 28 Jul 2016 14:59:58 +0000 (07:59 -0700)]
JBAS-1504 Mercer Island student/classroom cards

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1586 Teacher Ecard uses profile 903
Bill Erickson [Wed, 12 Oct 2016 14:05:31 +0000 (10:05 -0400)]
JBAS-1586 Teacher Ecard uses profile 903

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1586 Teacher accounts avoid activity extensions
Bill Erickson [Tue, 20 Sep 2016 19:18:45 +0000 (12:18 -0700)]
JBAS-1586 Teacher accounts avoid activity extensions

Avoid applying activity-based expire_date extensions on teacher ecard
accounts, just like student and classroom cards.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1586 Student account gen scripts support --teacher
Bill Erickson [Fri, 16 Sep 2016 17:57:34 +0000 (13:57 -0400)]
JBAS-1586 Student account gen scripts support --teacher

* Using new Teacher Ecard profile
* 10-year expire
* Default to 1900-01-01 DoB.
* Slightly modified alert message
* Insert 't' between district code and ID in the barcode.

sftp-client-agent.sh treats all CSV files with 'teacher' in the filename
as teacher files.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1586 Teach Ecard new profile
Bill Erickson [Fri, 16 Sep 2016 17:53:34 +0000 (13:53 -0400)]
JBAS-1586 Teach Ecard new profile

* Entry for permission.grp_tree
* Hold policy configuration to prevent holds for new profile
* Entry in patron editor UI for sorting the new profile in the group selector.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoCopy auditor purge runs 30 mins
Bill Erickson [Tue, 4 Oct 2016 02:14:10 +0000 (22:14 -0400)]
Copy auditor purge runs 30 mins

Avoid triggering Zabbix alerts about backed replication (and, indeed,
limit clogged replication) by running the copy audit purge for 30 mins
total.  This results in ~3.5M rows deleted per night while still within
the cleanup phase.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1590 Northshore school cards
Bill Erickson [Thu, 22 Sep 2016 19:14:15 +0000 (12:14 -0700)]
JBAS-1590 Northshore school cards

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1544 Payflow xact balance comparison repair
Bill Erickson [Wed, 21 Sep 2016 20:04:05 +0000 (16:04 -0400)]
JBAS-1544 Payflow xact balance comparison repair

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1544 Paypal skip silent post URL option
Bill Erickson [Wed, 17 Aug 2016 13:28:05 +0000 (09:28 -0400)]
JBAS-1544 Paypal skip silent post URL option

Org unit setting to avoid sending the Paypal Silent Post URL during
secure token generation.  This is useful if you want to use a specific
server for handling silent posts that may not match the hostname of the
catalog paged accessed by the browser.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1588 CC payment balances match active data
Bill Erickson [Fri, 16 Sep 2016 15:26:29 +0000 (11:26 -0400)]
JBAS-1588 CC payment balances match active data

Ensure that the total amount to be tracked as payments in EG after a
successfull PayPal payment match the PP payment amount.  Exit early and
return a non-success to PP when the totals don't match.

This imbalance can occur when a transaction is paid by some other client
(secondary PP instance, staff client) after the PP transaction has been
initiated with the original transaction balance owed amount.

IOW, don't accept payments for transactions that were paid off through
some other mechanism while the PP transaction was in process.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1587 CC always avoids negative transactions
Bill Erickson [Fri, 16 Sep 2016 14:47:11 +0000 (10:47 -0400)]
JBAS-1587 CC always avoids negative transactions

At the middle layer, prevent the credit card transaction retrieval code
from ever accessing negative transactions.  This fixes a bug where
patrons could accidentally attempt to pay against negative transactions
by navigating directly to /eg/opac/biblio/main_payment_form with no
transactions provided in the URL, defaulting to all open (including
negative) transactions.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoEDI retrieval sanity check in undef value
Bill Erickson [Fri, 23 Sep 2016 15:15:34 +0000 (11:15 -0400)]
EDI retrieval sanity check in undef value

Avoid referencing potentially undef value as an array in the EDI
retrieva code.  Otherwise, all EDI retrieval stopped once the undef
value was encountered.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1593 "Book Club" copy location BC SQL mods
Bradley Bonner [Fri, 16 Sep 2016 19:21:11 +0000 (12:21 -0700)]
JBAS-1593 "Book Club" copy location BC SQL mods

Please create a new shelving location named "Book Club" that will be
non-visible to patrons (as discussed at the ILS Team meeting on 9/15/16).

6 years agoJBAS-1550 Tukwila school/classroom cards
Bill Erickson [Fri, 2 Sep 2016 15:25:21 +0000 (08:25 -0700)]
JBAS-1550 Tukwila school/classroom cards

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1501 Audit purge for CRONTAB; minor rearranging
Bill Erickson [Fri, 2 Sep 2016 19:09:10 +0000 (15:09 -0400)]
JBAS-1501 Audit purge for CRONTAB; minor rearranging

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1501 Copy audit table maintenance scripts
Bill Erickson [Thu, 21 Jul 2016 21:07:34 +0000 (17:07 -0400)]
JBAS-1501 Copy audit table maintenance scripts

New DB function for deleting rows from auditor.asset_copy_history plus a
script we can run from CRON for nightly batches.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1497 Remove CC number cleaner from CRONTAB
Bill Erickson [Wed, 14 Sep 2016 15:26:57 +0000 (11:26 -0400)]
JBAS-1497 Remove CC number cleaner from CRONTAB

We no longer accept any credit card data from patrons, so there's no
data to regularly scrub.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoPayflow org settings SQL insert-on-deploy wrapper
Bill Erickson [Thu, 1 Sep 2016 18:40:01 +0000 (11:40 -0700)]
Payflow org settings SQL insert-on-deploy wrapper

Avoid inserting payflow settings on new dev DB builds -- the data will
come later from an export.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1472 Vashon student / classroom cards
Bill Erickson [Thu, 30 Jun 2016 14:44:38 +0000 (10:44 -0400)]
JBAS-1472 Vashon student / classroom cards

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1541 Freegalsip user activity type
Bill Erickson [Fri, 19 Aug 2016 20:27:43 +0000 (16:27 -0400)]
JBAS-1541 Freegalsip user activity type

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1543, add Lucky Day to list of item circ modifiers and shelving locations that...
Bradley Bonner [Mon, 15 Aug 2016 19:20:49 +0000 (12:20 -0700)]
JBAS-1543, add Lucky Day to list of item circ modifiers and shelving locations that should not show in BC

6 years agoJBAS-1503 Avoid setting SILENTPOSTURL (TLS issues)
Bill Erickson [Wed, 17 Aug 2016 12:45:23 +0000 (08:45 -0400)]
JBAS-1503 Avoid setting SILENTPOSTURL (TLS issues)

Force PP to use evgmobile via PP manager since it is not requiring
the use of TLS 1.2.  In other words, avoid setting the SILENTPOSTURL
from the apache host.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1503 PP fetch in-db user for last_xact_id
Bill Erickson [Tue, 16 Aug 2016 14:58:27 +0000 (10:58 -0400)]
JBAS-1503 PP fetch in-db user for last_xact_id

During Silent POST handling, fetch the user from the db to pick up the
most recent last_xact_id value for fines payment.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1503 PayPal Layout-A plus Silent POST
Bill Erickson [Tue, 9 Aug 2016 15:05:04 +0000 (11:05 -0400)]
JBAS-1503 PayPal Layout-A plus Silent POST

Avoid iframe by sending patrons to PP to pay.  PP posts results back to
EG via Silent POST.  Silent POSTs that fail result in a voided payment
on the PP side.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoRevert "JBAS-1503 E-com alert message, stage 1"
Bill Erickson [Wed, 17 Aug 2016 11:01:10 +0000 (07:01 -0400)]
Revert "JBAS-1503 E-com alert message, stage 1"

This reverts commit 62a68bbfc73c6415f3a975b2bcaabd536754d582.

6 years agoRevert "JBAS-1503 Hide pay button, update warning"
Bill Erickson [Wed, 17 Aug 2016 11:00:56 +0000 (07:00 -0400)]
Revert "JBAS-1503 Hide pay button, update warning"

This reverts commit 6e5f4b39204024e4dc9b16519697254dd6f579a7.

6 years agoJBAS-1503 Hide pay button, update warning
Bill Erickson [Mon, 15 Aug 2016 19:30:38 +0000 (15:30 -0400)]
JBAS-1503 Hide pay button, update warning

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1503 E-com alert message, stage 1
Bill Erickson [Mon, 15 Aug 2016 19:22:00 +0000 (15:22 -0400)]
JBAS-1503 E-com alert message, stage 1

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1494 Updated E-com FAQs link
Bill Erickson [Wed, 20 Jul 2016 14:51:07 +0000 (10:51 -0400)]
JBAS-1494 Updated E-com FAQs link

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1494 PayFlow hosted page comment1=barcode
Bill Erickson [Tue, 19 Jul 2016 14:03:28 +0000 (10:03 -0400)]
JBAS-1494 PayFlow hosted page comment1=barcode

Send the patron's barcode as the transaction comment1 so it will appear
within the PayPal Manager for the business office.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1494 PayFlow Hosted Pages for CC payments
Bill Erickson [Thu, 14 Jul 2016 20:16:38 +0000 (16:16 -0400)]
JBAS-1494 PayFlow Hosted Pages for CC payments

https://developer.paypal.com/docs/classic/payflow/gs_ppa_hosted_pages/

* Library settings to configure and activate.
* New TPAC templates and WWW perl for processing payments.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1413 marc-stream-importer learns authority queue/profile ID's
Bill Erickson [Wed, 13 Jul 2016 04:41:09 +0000 (00:41 -0400)]
JBAS-1413  marc-stream-importer learns authority queue/profile ID's

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1390 Connexion authority SQL insert check
Bill Erickson [Mon, 27 Jun 2016 19:50:42 +0000 (15:50 -0400)]
JBAS-1390 Connexion authority SQL insert check

Avoid inserts on initial build of sample databases.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoRemove browser warning from Ecom payment form
Bill Erickson [Wed, 22 Jun 2016 14:25:02 +0000 (10:25 -0400)]
Remove browser warning from Ecom payment form

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-546 Patron summary shows 'Primary Phone'
Bill Erickson [Thu, 16 Jun 2016 18:36:06 +0000 (14:36 -0400)]
JBAS-546 Patron summary shows 'Primary Phone'

... instead of 'Day Phone'

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-544 Prevent manually setting 'Lost & Paid' status
Bill Erickson [Thu, 16 Jun 2016 16:36:05 +0000 (12:36 -0400)]
JBAS-544 Prevent manually setting 'Lost & Paid' status

Disable manual access to the copy Lost & Paid status.  When used, it is
applied by the system, not the staff.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1438 Bib-to-auth linking ignores (date of work)
Bill Erickson [Wed, 15 Jun 2016 16:11:17 +0000 (12:11 -0400)]
JBAS-1438 Bib-to-auth linking ignores  (date of work)

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1417 Vand. authority import set edit date SQL
Bill Erickson [Wed, 1 Jun 2016 18:37:10 +0000 (14:37 -0400)]
JBAS-1417 Vand. authority import set edit date SQL

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoLP#1587639 Vandelay authority update editor/edit_date
Bill Erickson [Wed, 1 Jun 2016 14:40:45 +0000 (10:40 -0400)]
LP#1587639 Vandelay authority update editor/edit_date

Update the editor and edit_date of authority records when modified by
Vandelay merge/overlay.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1417 New authority linker --modified-since
Bill Erickson [Wed, 1 Jun 2016 18:04:19 +0000 (14:04 -0400)]
JBAS-1417 New authority linker --modified-since

--modified-since implicitly includes --new-since because
edit_date=create_date on new authority records.  However, if both are
specified, the script OR's the queries.

If --modified-since and --new-since are used to gether, it creates an OR
of the 2 clauses.

Added a help() function.  Added CRONTAB entry.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoos-update.sh gets a reboot option
Bill Erickson [Tue, 24 May 2016 15:38:24 +0000 (11:38 -0400)]
os-update.sh gets a reboot option

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoeg-updater.sh: Apache control repairs/additions
Bill Erickson [Tue, 24 May 2016 15:36:36 +0000 (11:36 -0400)]
eg-updater.sh: Apache control repairs/additions

1. If apache is already running when start-apache is called, stop it
first.  This is useful when calling start-apache (or start-all) directly
after a reboot, where Apache may have started automatically at boot.

2. Force a call to 'detach' when stop-apache is called directly as a
safety measure.

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