working/Evergreen.git
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>
6 years agoJBAS-1037 student importer improved error handling
Bill Erickson [Wed, 16 Dec 2015 21:16:19 +0000 (16:16 -0500)]
JBAS-1037 student importer improved error handling

Includes various small fixes, but mainly the ability to report when a
commit call fails, which is primarily important when processing in
batch.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1037 Ecard/classroom DO NOT MERGE alert
Bill Erickson [Fri, 4 Dec 2015 21:56:25 +0000 (16:56 -0500)]
JBAS-1037 Ecard/classroom DO NOT MERGE alert

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1037 Student E-cards quick report SQL
Bill Erickson [Wed, 2 Dec 2015 18:03:38 +0000 (13:03 -0500)]
JBAS-1037 Student E-cards quick report SQL

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1129 Remove custom language_filter additions
Bill Erickson [Thu, 21 Jan 2016 16:20:14 +0000 (08:20 -0800)]
JBAS-1129 Remove custom language_filter additions

Custom language filter is unnecessary, since we already have coded value
map for item_lang.  Removing the code allows language and other
CCVM-filtered queries to complete.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-1129 Cross-port patron reg set-expire-date
Bill Erickson [Wed, 13 Jan 2016 19:34:50 +0000 (11:34 -0800)]
JBAS-1129 Cross-port patron reg set-expire-date

Copying to KCLS template.

Originally:

commit 6807a06a11d309e94dbc5e286e45a5fdd3eaecab
Author: Jeff Godin <jgodin@tadl.org>
Date:   Wed Oct 30 15:42:15 2013 -0400

    Add button to update expire date field

    When updating/renewing a patron (expired or not), it would be
    convenient to have a means of populating the expire date field with
    a value of perm_interval + today. Currently, staff are required to
    manually enter a date, or could toggle the profile from one profile
    then back to the desired profile, but this is not ideal.

    This commit adds a new button next to the expire date, which when
    activated will re-calculate the date based on the current profile's
    perm_interval and today's date.

    This is similar to how the expire date is populated when creating a
    new user, or when changing the profile group. A button is used here
    so that the updating of the expire date is an intentional process,
    not one that happens upon any edit.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-947 SIP monthly login counts reporter
Bill Erickson [Wed, 6 Jan 2016 16:42:52 +0000 (11:42 -0500)]
JBAS-947 SIP monthly login counts reporter

Generate monthly sip login counts and email.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-947 SIP login counts script
Bill Erickson [Wed, 6 Jan 2016 14:57:34 +0000 (09:57 -0500)]
JBAS-947 SIP login counts script

Script for counting SIP connections by SIP username by year, month, or
day.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-952 Added content by record ID
Bill Erickson [Wed, 30 Dec 2015 18:36:21 +0000 (13:36 -0500)]
JBAS-952 Added content by record ID

Use the new (2.7) style added content by record ID lookup.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoTPAC/ecom IE10 SSL alert messages
Bill Erickson [Thu, 3 Dec 2015 17:21:31 +0000 (12:21 -0500)]
TPAC/ecom IE10 SSL alert messages

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoRT86770 PO print lineitem counts & order date
Bill Erickson [Fri, 20 Nov 2015 18:59:08 +0000 (13:59 -0500)]
RT86770 PO print lineitem counts & order date

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-935 ACQ unified search progress dialog repair
Bill Erickson [Mon, 2 Nov 2015 15:23:10 +0000 (10:23 -0500)]
JBAS-935 ACQ unified search progress dialog repair

Launch progress dialog before building the lineitem table when unified
search displays lineitem / bib results, otherwise, in some cases, it's
launched after the table renders and thus after the .hid() call is made
and is never closed.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-821 SCKO logout avoid focusing buttons
Bill Erickson [Fri, 23 Oct 2015 18:02:14 +0000 (14:02 -0400)]
JBAS-821 SCKO logout avoid focusing buttons

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-821 SCKO logout warning language mods
Bill Erickson [Fri, 23 Oct 2015 14:10:35 +0000 (10:10 -0400)]
JBAS-821 SCKO logout warning language mods

Also ensure focus returns to scan box after Continue Session is
selected.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-821 SCKO post-barcode timer; cleanup
Bill Erickson [Wed, 21 Oct 2015 16:42:54 +0000 (12:42 -0400)]
JBAS-821 SCKO post-barcode timer; cleanup

Reinstate the timeout that occurs between entering a barcode and failing
to enter a password.

Remove some trailing references to the defunct keepMeLoggedIn function.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoKMAIN-1827 guardian required set onload
Bill Erickson [Tue, 20 Oct 2015 16:02:39 +0000 (12:02 -0400)]
KMAIN-1827 guardian required set onload

Ensure that the parent/guardian (ident_value2) field gets the correct
value for 'required' on patron load to ensure it's not required for
non-juvenile patrons.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-941 CC form address warning message
Bill Erickson [Wed, 14 Oct 2015 22:04:34 +0000 (18:04 -0400)]
JBAS-941 CC form address warning message

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-935 Support blanket order printing
Bill Erickson [Mon, 12 Oct 2015 16:15:31 +0000 (12:15 -0400)]
JBAS-935 Support blanket order printing

Adds po_items, which track blanket orders (and other misc charges)
to PO print template.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoKMAIN-1643 invoice ident focus repairs
Bill Erickson [Tue, 13 Oct 2015 15:51:57 +0000 (11:51 -0400)]
KMAIN-1643 invoice ident focus repairs

Invoice vendor ID box loads asynchronously.  Give the page a second to
load before attempting to focus and sanity check that the DOM node exists
before attempting to focus it.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-916 Holds max loops linger on checked out
Bill Erickson [Mon, 5 Oct 2015 21:56:43 +0000 (17:56 -0400)]
JBAS-916 Holds max loops linger on checked out

Avoid canceling a hold that has reached its max target attempts when any
copies mapped to the hold are currently checked out.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-914 Prevent creation of extra lieitem copies
Bill Erickson [Wed, 30 Sep 2015 21:49:21 +0000 (17:49 -0400)]
JBAS-914 Prevent creation of extra lieitem copies

Prevent the API call which creates/modifies copies for a linteitem in
the lineitem copy UI from running if one is already in flight.  This is
done both by disabling the Save Changes button and by checking an
internal flag (in case something besides the button is causing the
action to run).

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-869 Silence Perl warning messages
Bill Erickson [Thu, 27 Aug 2015 16:12:15 +0000 (12:12 -0400)]
JBAS-869 Silence Perl warning messages

Avoid a series of heavily-logged but harmless warning messages.

 * Add some missing CDBI fields
 * Sanity checks on string comparisons and hash deletes in hold
   targeter and circulate code.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Conflicts:
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm

6 years agoJBAS-825 sitemap generator CRONTAB entry
Bill Erickson [Fri, 7 Aug 2015 18:50:32 +0000 (14:50 -0400)]
JBAS-825 sitemap generator CRONTAB entry

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-821 aviod unnecessary timer resets
Bill Erickson [Wed, 19 Aug 2015 16:23:06 +0000 (12:23 -0400)]
JBAS-821 aviod unnecessary timer resets

KCLS custom code resets the patron timer even when the patron is not
logged in.  This causes the logout warning to appear even when no patron
is logged in.  Avoid this by preventing the timer from starting when no
patron is logged in.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-821 LP1476370 SCKO logout warning xport
Bill Erickson [Wed, 19 Aug 2015 15:37:56 +0000 (11:37 -0400)]
JBAS-821 LP1476370 SCKO logout warning xport

 * Show a logout warning dialog 20 seconds before discontinuing
   a self-check patron login session.

 * Reset the inactivity timer with each checkout.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-822 Adopt stock login timer logic
Bill Erickson [Wed, 22 Jul 2015 15:55:41 +0000 (11:55 -0400)]
JBAS-822 Adopt stock login timer logic

In prep for LP#1474051, which modifies the timeout behavior, start using
(as much as possible) the stock login timer code.  This will ease
migration when the logout warning code is merged in.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoKMAIN-1850 Date of Birth Is Mandatory
Nick Duncan [Mon, 28 Sep 2015 22:55:23 +0000 (18:55 -0400)]
KMAIN-1850 Date of Birth Is Mandatory

User Is Now Unable To Bypass The Required Date Of Birth Field
During Patron Registration

Signed-off-by: Nick Duncan <nDuncan@catalystitservices.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
berick: repaired merge conflict; minor formatting repairs

Conflicts:
Open-ILS/web/js/ui/default/actor/user/register.js

6 years agoKMAIN-1849 Birthdate Correction Error
vlewis [Tue, 29 Sep 2015 17:25:16 +0000 (10:25 -0700)]
KMAIN-1849 Birthdate Correction Error

Patron Registration Now Validates The Year From The DOB Field
To Make Sure Inaccurate Information Is Rejected

Signed-off-by: Nick Duncan <nDuncan@catalystitservices.com>
modified:   Open-ILS/web/js/ui/default/actor/user/register.js

6 years agoKMAIN-1827 Juvenile Registration Require Guardian
Nick Duncan [Wed, 12 Aug 2015 22:52:13 +0000 (18:52 -0400)]
KMAIN-1827 Juvenile Registration Require Guardian

During registration a juvenile is now required to fill out Guardian field

Signed-off-by: Nick Duncan <nDuncan@catalystitservices.com>
modified:   KCLS/openils/var/templates_kcls/actor/user/register_table.tt2
modified:   Open-ILS/web/js/ui/default/actor/user/register.js

berick: minor formating cleanup

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoKMAIN-1825 Rename Patron Registration Billing-Address
Nick Duncan [Fri, 4 Sep 2015 19:50:44 +0000 (15:50 -0400)]
KMAIN-1825 Rename Patron Registration Billing-Address

Patron Registration Now Shows Address Options As Mailing && Residence

Signed-off-by: Nick Duncan <nDuncan@catalystitservices.com>
6 years agoKMAIN 1836 Ability to remove copies
Bill Erickson [Tue, 29 Dec 2015 18:29:38 +0000 (13:29 -0500)]
KMAIN 1836 Ability to remove copies

Removed reverse method from dojo query, use query to grab last
(item count variable) items instead

Signed-off-by: Michael Glass <mglass@catalystitservices.com>
Cross-ported by Bill.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoKMAIN-1643 Text Cursor Automatically Placed on Vendor Invoice ID
Dan Reuther [Fri, 17 Jul 2015 16:33:10 +0000 (12:33 -0400)]
KMAIN-1643 Text Cursor Automatically Placed on Vendor Invoice ID

Set the focus to the Vendor Invoice ID field on invoice create
and view screens.

Signed-off-by: Dan Reuther <dreuther@catalystitservices.com>
modified:   Open-ILS/web/js/ui/default/acq/invoice/view.js

6 years agoKMAIN 266 Note batch dropdown
Bill Erickson [Thu, 29 Oct 2015 14:17:37 +0000 (10:17 -0400)]
KMAIN 266 Note batch dropdown

Add batch note/alert field to purchase order line item batch apply.
Add loop which adds notes/alerts to lineitems.
Add notice to user that an alert code is required.

modified:   KCLS/openils/var/templates_kcls/acq/common/li_table.tt2
modified:   Open-ILS/web/js/ui/kcls/acq/common/li_table.js

Signed-off-by: Michael Glass (mglass@catalystitservices.com)
berick: did some minor formatting cleanup.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoKMAIN-AQ27 - Don't show 'amp' with '&' character.
Dan Reuther [Wed, 8 Jul 2015 14:49:28 +0000 (10:49 -0400)]
KMAIN-AQ27 - Don't show 'amp' with '&' character.

Replace &amp with & in selection list display and in line item display.

modified:   Open-ILS/web/js/ui/kcls/acq/common/li_table.js

Signed-off-by: Dan Reuther <dreuther@catalystitservices.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-773 Merge custom PO view changes to stock
Bill Erickson [Tue, 23 Jun 2015 14:55:52 +0000 (10:55 -0400)]
JBAS-773 Merge custom PO view changes to stock

Use stock PO view code with custom changes instead of using custom files
which are getting out of sync.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Conflicts:
KCLS/openils/var/templates_kcls/acq/po/view.tt2
Open-ILS/web/js/ui/default/acq/po/view_po.js
Open-ILS/web/js/ui/kcls/acq/po/view_po.js

6 years agoJBAS-773 Merge custom ACQ changes into stock li-table
Bill Erickson [Tue, 23 Jun 2015 14:33:02 +0000 (10:33 -0400)]
JBAS-773 Merge custom ACQ changes into stock li-table

Avoid using a custom version of the lineitem table code, since it is
getting out of sync with stock.  Instead, return to using the stock
template and JS with custom changes merged in.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Conflicts:
Open-ILS/web/js/ui/kcls/acq/common/li_table.js

Conflicts:
Open-ILS/web/js/ui/default/acq/common/li_table.js

6 years agoJBAS-910 query parser merge conflict repair
Bill Erickson [Tue, 27 Oct 2015 15:10:14 +0000 (08:10 -0700)]
JBAS-910 query parser merge conflict repair

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoClassroom cards generator; BSD cards
Bill Erickson [Tue, 6 Oct 2015 16:16:44 +0000 (12:16 -0400)]
Classroom cards generator; BSD cards

Generator creates 50 cards per school listed in a CSV file containing
school name and address info.  BSD info file and BSD classroom cards
included.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-886 skip ecards/classrooms expire extension
Bill Erickson [Wed, 30 Sep 2015 14:22:38 +0000 (07:22 -0700)]
JBAS-886 skip ecards/classrooms expire extension

Avoid extending the expire date for Student Ecards and Classroom
Databases accounts.  Minor reformatting for readability.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-886 day_phone capture improvements
Bill Erickson [Wed, 30 Sep 2015 14:12:53 +0000 (07:12 -0700)]
JBAS-886 day_phone capture improvements

Capture the day_phone value and don't treat invalid phones as an error
condition preventing import of a student.  If an invalid phone is
encountered, treat it as unset.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-886 remoteauth/ezproxy checks expire date
Bill Erickson [Tue, 29 Sep 2015 21:50:31 +0000 (17:50 -0400)]
JBAS-886 remoteauth/ezproxy checks expire date

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-886 class cards use default dob 1900-01-01
Bill Erickson [Tue, 29 Sep 2015 19:45:26 +0000 (12:45 -0700)]
JBAS-886 class cards use default dob 1900-01-01

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-886 classroom cards generation / BSD CSV
Bill Erickson [Thu, 24 Sep 2015 21:18:19 +0000 (17:18 -0400)]
JBAS-886 classroom cards generation / BSD CSV

Accounts are loaded via CVS the same as student accounts.  CSV for the
BSD acccounst included.  They are slightly different from student
accounts:

 * expire date now() + 10 years.
 * different alert message
 * different profile, ident_type, ident_value

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-886 student importer max expire date
Bill Erickson [Thu, 24 Sep 2015 14:37:59 +0000 (07:37 -0700)]
JBAS-886 student importer max expire date

Avoid expire dates far in the future on invalid DoB's by assuming no
students are younger than 2 years old for the purposes of calculating
the expire date.

Note, this does not affect the stored DoB.  We store whatever is sent.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-886 hold policies match group exactly
Bill Erickson [Thu, 24 Sep 2015 15:42:22 +0000 (11:42 -0400)]
JBAS-886 hold policies match group exactly

Due to conflicting weights on various match points, the hold matrix
matchpoints for student groups has to match the usr_grp exactly and
cannot be set to the parent group of Schools.

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