working/Evergreen.git
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>
6 years agoJBAS-944 2.7 sql upgrade dupe holds cleanup
Bill Erickson [Thu, 11 Feb 2016 15:52:49 +0000 (07:52 -0800)]
JBAS-944 2.7 sql upgrade dupe holds cleanup

2.7 adds an index that prevents 2 captured, unfulfilled, uncanceled
holds from targeting the same copy.  Before the index is created,
cancel any such dupe-copy holds that have expired on the shelf and reset
any such holds that are otherwise unfulfilled (i.e. in transit or on the
holds shelf).

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoeg-updater installs admin scripts to /openils/bin
Bill Erickson [Wed, 3 Feb 2016 21:15:11 +0000 (16:15 -0500)]
eg-updater installs admin scripts to /openils/bin

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoeg-updater.sh stop/start-util handles reporter
Bill Erickson [Wed, 3 Feb 2016 16:32:11 +0000 (11:32 -0500)]
eg-updater.sh stop/start-util handles reporter

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-944 2.7 auth reingest clear statement timeout
Bill Erickson [Tue, 2 Feb 2016 20:03:47 +0000 (15:03 -0500)]
JBAS-944 2.7 auth reingest clear statement timeout

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-944 2.7 upgrade statement timeout
Bill Erickson [Tue, 2 Feb 2016 13:17:16 +0000 (08:17 -0500)]
JBAS-944 2.7 upgrade statement timeout

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1129 Remove KCLS custom language filter SQL
Bill Erickson [Thu, 21 Jan 2016 16:21:32 +0000 (11:21 -0500)]
JBAS-1129 Remove KCLS custom language filter SQL

No need to track a separate language_filter table, since we have the
same data available via coded value maps.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-944 Add extend_reporter changes for 2.7 upgrade
Bill Erickson [Tue, 19 Jan 2016 15:55:58 +0000 (10:55 -0500)]
JBAS-944 Add extend_reporter changes for 2.7 upgrade

These changes were not included in the version upgrade scripts, since
they were optional.  We need them locally.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-944 browse entry constraint also checks value
Bill Erickson [Fri, 8 Jan 2016 22:43:07 +0000 (17:43 -0500)]
JBAS-944 browse entry constraint also checks value

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-944 Auth changes update browse_entry_* values
Bill Erickson [Fri, 8 Jan 2016 22:00:49 +0000 (17:00 -0500)]
JBAS-944 Auth changes update browse_entry_* values

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-944 Move auth updates to 2ndry transaction
Bill Erickson [Wed, 30 Dec 2015 16:46:27 +0000 (11:46 -0500)]
JBAS-944 Move auth updates to 2ndry transaction

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-944 avoid modifying local series index
Bill Erickson [Thu, 29 Oct 2015 16:44:43 +0000 (12:44 -0400)]
JBAS-944 avoid modifying local series index

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-944 update ACQ cancel reason labels
Bill Erickson [Wed, 28 Oct 2015 20:52:02 +0000 (16:52 -0400)]
JBAS-944 update ACQ cancel reason labels

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-944 remove unneeded PO print template mods
Bill Erickson [Wed, 28 Oct 2015 20:11:06 +0000 (16:11 -0400)]
JBAS-944 remove unneeded PO print template mods

These updates won't apply anyway since we have local changes.  Removing
them to de-clutter the upgrade script some.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-944 replace ROLLBACK with COMMIT
Bill Erickson [Tue, 27 Oct 2015 15:00:29 +0000 (08:00 -0700)]
JBAS-944 replace ROLLBACK with COMMIT

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-944 SQL functions comparison tool
Bill Erickson [Mon, 26 Oct 2015 20:31:51 +0000 (16:31 -0400)]
JBAS-944 SQL functions comparison tool

Tool to generate diffs for a set of SQL functions.  Useful for analyzing
SQL upgrade scripts.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-944 biblio.indexing_ingest_or_delete updates
Bill Erickson [Mon, 26 Oct 2015 18:48:47 +0000 (14:48 -0400)]
JBAS-944 biblio.indexing_ingest_or_delete updates

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-944 vandelay.overlay_bib_record always set edit_date
Bill Erickson [Mon, 26 Oct 2015 16:26:03 +0000 (12:26 -0400)]
JBAS-944 vandelay.overlay_bib_record always set edit_date

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-944 staged_browse() and reingest_metabib_field_entries
Bill Erickson [Mon, 26 Oct 2015 16:08:15 +0000 (12:08 -0400)]
JBAS-944 staged_browse() and reingest_metabib_field_entries

* Avoid replacing staged browse.
* Cross-port local changes from reingest_metabib_field_entries
  into the stock code.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-944 merging code for authority.indexing_ingest_or_delete
Bill Erickson [Mon, 26 Oct 2015 15:32:09 +0000 (11:32 -0400)]
JBAS-944 merging code for authority.indexing_ingest_or_delete

Too many local changes to merge into stock.  Cross-porting
stock changes instead.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-944 2.5 -> 2.7 SQL recreating dropped views
Bill Erickson [Fri, 23 Oct 2015 20:07:04 +0000 (16:07 -0400)]
JBAS-944 2.5 -> 2.7 SQL recreating dropped views

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-944 2.5 -> 2.7 SQL : getting started
Bill Erickson [Thu, 15 Oct 2015 21:16:50 +0000 (17:16 -0400)]
JBAS-944 2.5 -> 2.7 SQL : getting started

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1038 Refresh notes on print/receive/cancel
Bill Erickson [Fri, 15 Jan 2016 22:09:34 +0000 (17:09 -0500)]
JBAS-1038 Refresh notes on print/receive/cancel

Refresh lineitem notes after a PO print, lineitem receive, or lineitem
cancel action occur to pick up the latest lineitem action notes.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1007 ACQ lib selector focus repair
Bill Erickson [Fri, 15 Jan 2016 16:24:13 +0000 (11:24 -0500)]
JBAS-1007 ACQ lib selector focus repair

Allow text entry on lib selector focus by focusing the element with the
needed id (the input element) instead of the element with the needed
widgetid (the container element).

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1131 Streaming music mattype TPAC icon
Bill Erickson [Tue, 12 Jan 2016 15:26:26 +0000 (10:26 -0500)]
JBAS-1131 Streaming music mattype TPAC icon

Adds new icon to mattype image set.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1038 Add LI notes on print/invoice
Bill Erickson [Wed, 16 Dec 2015 16:05:17 +0000 (11:05 -0500)]
JBAS-1038 Add LI notes on print/invoice

Adds a lineitem note when a lineitem is printed, during a PO print
opereration, and when a lineitem is added to an invoice.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoKMAIN-1647 Auto-Inserting action notes on li cancel/receive.
khuckins [Tue, 24 Nov 2015 22:34:16 +0000 (17:34 -0500)]
KMAIN-1647 Auto-Inserting action notes on li cancel/receive.

When a lineitem is marked as recieved, add a note to it
in the format of "REC: [username]"

When a lineitem is cancelled, add a note it it in the
format of "cancelled [username]"

Signed-off-by: khuckins <khuckins@catalystdevworks.com>
modified:   Open-ILS/src/perlmods/lib/OpenILS/Application/Acq/Order.pm
modified:   Open-ILS/web/js/ui/kcls/acq/common/li_table.js

Modified by Bill:

* Support batch lineitem cancel note creation.
* Support all forms of lineitem receiving.
* Make note format consistent with (pending) printed and invoiced notes
* Removed dates from notes, since notes already show their creation date.
* Removed any changes to li_table.js (pending future Perl changes).

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoKMAIN-1837 Add PO activation lineitem notes
Bill Erickson [Mon, 23 Nov 2015 20:08:36 +0000 (15:08 -0500)]
KMAIN-1837 Add PO activation lineitem notes

When a PO is activated, add a note to each lineitem containing the
username of the staff which activated the PO.

Note format is "ORD: <username>"

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoKMAIN-1921 Item Status Reset
khuckins [Wed, 18 Nov 2015 19:06:32 +0000 (14:06 -0500)]
KMAIN-1921 Item Status Reset

Move Clearing function call to a check for the
listbox, so box clears regardless of if holds
and transit status aren't valid.

Add caption change so captions are valid when going
from a non-captured/non-transit item to a captured/
in-transit item.

Signed-off-by: khuckins <khuckins@catalystdevworks.com>
modified:   Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.js
modified:   Open-ILS/xul/staff_client/server/locale/en-US/circ.properties

Patch modified by Bill to reset hold patron name display and to
remove changes unrelated to this patch.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-567 Hide and ignore fast-entry checkin option
Bill Erickson [Mon, 30 Nov 2015 22:55:05 +0000 (17:55 -0500)]
JBAS-567 Hide and ignore fast-entry checkin option

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1007 ACQ focus lib selector on delete
Bill Erickson [Wed, 2 Dec 2015 20:49:37 +0000 (15:49 -0500)]
JBAS-1007 ACQ focus lib selector on delete

Focus the first library selector after adding new copies and after
removing copies.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoKMAIN-1861 Reduce Number Of Copies
Nick Duncan [Thu, 10 Sep 2015 18:33:14 +0000 (14:33 -0400)]
KMAIN-1861 Reduce Number Of Copies

Dynamically Grow Or Shrink Number Of Line Items

Signed-off-by: Nick Duncan <nDuncan@catalystitservices.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoRT86744 Avoid PO refresh in picklist
Bill Erickson [Fri, 20 Nov 2015 17:14:28 +0000 (12:14 -0500)]
RT86744 Avoid PO refresh in picklist

Avoid calling a PO-only function (refreshPOSummaryAmounts()) in a
picklist-only context.  Otherwise, code dies and leaves the button for
modifying copies disabled.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-920 Port DoB as DATE to KCLS schema
Bill Erickson [Mon, 5 Oct 2015 14:37:20 +0000 (10:37 -0400)]
JBAS-920 Port DoB as DATE to KCLS schema

Porting SQL from LP#838525.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoStamping upgrade script and test file
Mike Rylander [Thu, 1 Oct 2015 18:50:44 +0000 (14:50 -0400)]
Stamping upgrade script and test file

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Conflicts:
Open-ILS/src/sql/Pg/002.schema.config.sql

6 years agoLP#838525 DoB as date PGTAP test
Bill Erickson [Wed, 30 Sep 2015 16:13:21 +0000 (12:13 -0400)]
LP#838525 DoB as date PGTAP test

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
6 years agoLP#838525 Store date of birth as SQL DATE type
Bill Erickson [Tue, 29 Sep 2015 16:10:31 +0000 (12:10 -0400)]
LP#838525 Store date of birth as SQL DATE type

Upgrade script translates DoB ahead 3 hours before translating to DATE
(from TIMESTAMPTZ) to ensure dates stored in alternate daylight savings
TZ (e.g. -05 vs. -04) are translated to the proper date.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
6 years agoJBAS-673 Create PO from multiple pages of lineitems.
Bill Erickson [Tue, 29 Dec 2015 18:55:45 +0000 (13:55 -0500)]
JBAS-673 Create PO from multiple pages of lineitems.

Maintain a list of selected lieitems across multiple pages of lineitems
in a selection list.  When creating a PO from selected lineitems,
include all selected lineitems in the new PO.

See also KMAIN-1865.

Code based on 5f309573.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1007 (KMAIN-1642) ACQ items navigation improvements
Bill Erickson [Wed, 25 Nov 2015 19:46:16 +0000 (14:46 -0500)]
JBAS-1007 (KMAIN-1642) ACQ items navigation improvements

This code is based on the original code at e595e444.

1. When drawing the lineitem copies page, select() the value in the Item
    Count Count text input so staff can more quickly modify the value.

2. After adding copies, focus the first owning lib selector.

3. When an owning lib selector is focused, pressing Enter causes focus
  to jump to the next lib selector in the list.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoKMAIN-1829 Bib Call Number on Holds
Dan Reuther [Tue, 29 Sep 2015 16:26:52 +0000 (12:26 -0400)]
KMAIN-1829 Bib Call Number on Holds

Problem: Call Number wouldn't show up in list view of
patron holds screen when status was "Waiting for Copy."

Solution: Add check to Call Number column for specific
copy, and if nonexistant, pull from MARC info for selected
item.

Signed-off-by: Kyle Huckins <khuckins@catalystdevworks.com>
---

Modified by berick to avoid bib call number / MARC processing when a
call number is available, since this is already a heavy API call.
Replaced some tabs.  Added some comments.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoKMAIN-1830 Backspace clears patron register barcode
Nick Duncan [Mon, 28 Sep 2015 22:36:35 +0000 (18:36 -0400)]
KMAIN-1830 Backspace clears patron register barcode

Backspace Now Completely Clears Barcode Field When Doing A
Patron Registration.

Signed-off-by: Nick Duncan <nDuncan@catalystitservices.com>
Modified by Bill E. for style, to avoid unnecessary dojo.attach, and
to add some comments.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1037 Log patron purge count
Bill Erickson [Fri, 8 Jan 2016 15:01:19 +0000 (07:01 -0800)]
JBAS-1037 Log patron purge count

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1037 Kent/future expire dates
Bill Erickson [Thu, 7 Jan 2016 21:28:01 +0000 (13:28 -0800)]
JBAS-1037 Kent/future expire dates

1. Set the expire age to 21 instead of 18 for Kent SD.
2. Ensure that no expire dates are set to before "now".

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1037 Log inserted patron count
Bill Erickson [Wed, 6 Jan 2016 19:02:03 +0000 (14:02 -0500)]
JBAS-1037 Log inserted patron count

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1037 set expire time to 6am to reduce DST issues
Bill Erickson [Thu, 17 Dec 2015 21:21:03 +0000 (16:21 -0500)]
JBAS-1037 set expire time to 6am to reduce DST issues

Set patron expire time to 6am so that expire dates spanning DST
boundaries don't make it appear as though the date is off by one day for
clients that don't honor timezone data.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1037 Kent classroom cards data
Bill Erickson [Wed, 16 Dec 2015 21:17:21 +0000 (16:17 -0500)]
JBAS-1037 Kent classroom cards data

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