working/Evergreen.git
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>
6 years agoJBAS-886 ezproxy/remoteauth DB permission check (Students)
Bill Erickson [Tue, 15 Sep 2015 20:11:08 +0000 (16:11 -0400)]
JBAS-886 ezproxy/remoteauth DB permission check (Students)

Instead of calling authenticate procedures, ensure the user is valid,
knows their password, then check whether the user has the
ACCESS_EBOOKS_AND_DATABASES permission.

This was added to support Schools cards, where users can access
databases and e-books, but cannot log into the catalog.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-886 Student groups and policies SQL
Bill Erickson [Wed, 16 Sep 2015 15:15:28 +0000 (11:15 -0400)]
JBAS-886 Student groups and policies SQL

Schools
 -- Student Ecards
 -- Classroom Cards

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-886 Student CSV importer script
Bill Erickson [Tue, 1 Sep 2015 20:41:37 +0000 (16:41 -0400)]
JBAS-886 Student CSV importer script

See --help for options.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-909 CollectionHQ floating case/when repair
Bill Erickson [Thu, 17 Sep 2015 18:55:50 +0000 (14:55 -0400)]
JBAS-909 CollectionHQ floating case/when repair

Avoid logging every copy as floating by using CASE WHEN NULL correctly
in the CHQ query.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-885 eg-updator util and sip controls
Bill Erickson [Fri, 18 Sep 2015 18:36:24 +0000 (14:36 -0400)]
JBAS-885 eg-updator util and sip controls

Added support for the following commands:

start-util
stop-util
start-sip
stop-sip

"util" includes z39, connexion, and hold targeter.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoSqitch DB host defaults to 127.0.0.1
Bill Erickson [Wed, 16 Sep 2015 18:17:05 +0000 (14:17 -0400)]
Sqitch DB host defaults to 127.0.0.1

This works better with default Postgres configs, specifically for
setting localhost no-password logins on dev servers.  Host can always be
overridden via --db-host.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-837 remove empty sqitch target 01.2.4.1-2.5.7-deps
Bill Erickson [Wed, 26 Aug 2015 14:23:02 +0000 (10:23 -0400)]
JBAS-837 remove empty sqitch target 01.2.4.1-2.5.7-deps

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-837 sqitch revert sanity checks
Bill Erickson [Mon, 24 Aug 2015 19:55:40 +0000 (15:55 -0400)]
JBAS-837 sqitch revert sanity checks

1. Revert only the most recent change during deployment failures by
   default (sqitch deploy --mode change).  This can be overridden at the
   command line.

2. Clear the contents of revert/kcls-2.4-base-prod.sql so that under no
   circumstances can the base schema be reverted.

3. Document revert and verify scripts to indicate that the contents are
   intentially empty for pre-sqitch deployments.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-837 Send sample data to exports directory
Bill Erickson [Mon, 24 Aug 2015 15:34:25 +0000 (11:34 -0400)]
JBAS-837 Send sample data to exports directory

Drop extracted sample data directly into the
KCLS/sql/sample-data/exports directory.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-837 sqitch.conf more DB defaults
Bill Erickson [Fri, 21 Aug 2015 19:11:15 +0000 (15:11 -0400)]
JBAS-837 sqitch.conf more DB defaults

Default to --db-user evergreen --db-host localhost.  Either can be
overridden at run time via --db-user / --db-host.

Replace tabs with spaces consistent w/ EG codebase.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-837 Rename data insert test for clarity
Bill Erickson [Mon, 17 Aug 2015 14:21:34 +0000 (10:21 -0400)]
JBAS-837 Rename data insert test for clarity

Rename deployment test function evergreen.mangle_data_on_deploy()
to evergreen.insert_in_deploy() to better reflect its behavior.

The test only needs to be used before INSERT's.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-654 Port blanket PO DB changes to sqitch
Bill Erickson [Fri, 14 Aug 2015 18:12:32 +0000 (14:12 -0400)]
JBAS-654 Port blanket PO DB changes to sqitch

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-651 Port checkout-ok DB changes to sqitch
Bill Erickson [Fri, 14 Aug 2015 17:58:39 +0000 (13:58 -0400)]
JBAS-651 Port checkout-ok DB changes to sqitch

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-837 sqitch test for data mangling on deploy
Bill Erickson [Fri, 14 Aug 2015 20:57:04 +0000 (16:57 -0400)]
JBAS-837 sqitch test for data mangling on deploy

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-837 remove 'data' sqitch instance; not needed
Bill Erickson [Mon, 17 Aug 2015 14:12:43 +0000 (10:12 -0400)]
JBAS-837 remove 'data' sqitch instance; not needed

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-837 sqitch sample data continued
Bill Erickson [Thu, 13 Aug 2015 20:10:04 +0000 (16:10 -0400)]
JBAS-837 sqitch sample data continued

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-837 initial sqitch data/sample-data stuff
Bill Erickson [Thu, 13 Aug 2015 16:55:13 +0000 (12:55 -0400)]
JBAS-837 initial sqitch data/sample-data stuff

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-837 clean up sql dir with legacy dir
Bill Erickson [Thu, 13 Aug 2015 16:52:34 +0000 (12:52 -0400)]
JBAS-837 clean up sql dir with legacy dir

Move old SQL files into a new legacy directory (for now).
Legacy directory may later be deleted.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-837 sample data generator via sqitch
Bill Erickson [Thu, 13 Aug 2015 16:00:29 +0000 (12:00 -0400)]
JBAS-837 sample data generator via sqitch

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-837 sqitch deploy avoids creating existing users
Bill Erickson [Thu, 13 Aug 2015 15:15:42 +0000 (11:15 -0400)]
JBAS-837 sqitch deploy avoids creating existing users

When deploying to a PG instance that already has KCLS users, avoid
trying to create them, which would result in a sqitch deployment
failure.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-837 sqitch config auto-verify; set engine=pg
Bill Erickson [Thu, 13 Aug 2015 15:14:49 +0000 (11:14 -0400)]
JBAS-837 sqitch config auto-verify; set engine=pg

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-837 we are now a 2.5.7 alpha, still need to compare schema against prod
Joshua D. Drake [Wed, 12 Aug 2015 21:53:19 +0000 (21:53 +0000)]
JBAS-837 we are now a 2.5.7 alpha, still need to compare schema against prod

6 years agoJBAS-837 bring system up to 2.5.x
Joshua D. Drake [Wed, 12 Aug 2015 21:40:51 +0000 (21:40 +0000)]
JBAS-837 bring system up to 2.5.x

6 years agoJBAS-837 remove bogus ~ files
Joshua D. Drake [Wed, 12 Aug 2015 19:38:36 +0000 (19:38 +0000)]
JBAS-837 remove bogus ~ files

6 years agoJBAS-837 bring up to kcls-2.4
Joshua D. Drake [Wed, 12 Aug 2015 19:38:13 +0000 (19:38 +0000)]
JBAS-837 bring up to kcls-2.4

6 years agoJBAS-837 Initial sqitch configuration
Joshua D. Drake [Wed, 12 Aug 2015 18:19:05 +0000 (18:19 +0000)]
JBAS-837 Initial sqitch configuration

6 years agoJBAS-769 data sanity check; add 245p
Bill Erickson [Thu, 20 Aug 2015 04:56:54 +0000 (21:56 -0700)]
JBAS-769 data sanity check; add 245p

Don't assume the nodes below a MARC tag are element nodes.
Apparently, in some cases, they were text nodes or possibly
some other node type.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-769 CHS title/author fix reversed
Bill Erickson [Thu, 20 Aug 2015 04:37:13 +0000 (00:37 -0400)]
JBAS-769 CHS title/author fix reversed

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoRT#85191 Legacy billing payment print error repair
Bill Erickson [Thu, 13 Aug 2015 20:14:22 +0000 (16:14 -0400)]
RT#85191 Legacy billing payment print error repair

Some legacy data has NULL values (e.g. last_billing_note) where current
data has empty strings.  This leads to exceptions and annoying, but
ultimately harmless error dialogs in the XUL client.  Add some sanity
checking to the code to avoid that.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-769 Holds pull list uses alt title/author as well
Bill Erickson [Mon, 10 Aug 2015 20:55:58 +0000 (16:55 -0400)]
JBAS-769 Holds pull list uses alt title/author as well

The CHS and pull list UI's use the same template code to display holds.
Modifying the template for one, means modifying for both.  This udpates
the hold pull list template to use the alternate title/author extraction
code (for 245ab and 100ac display) for consistency with the display
template.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-769 CHS BibTemplate no longer required
Bill Erickson [Fri, 7 Aug 2015 15:57:28 +0000 (11:57 -0400)]
JBAS-769 CHS BibTemplate no longer required

Title/Author info comes from parsing the XML directly now.  No need for
BibTemplate.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-769 CHS title/author subfield trimming
Bill Erickson [Fri, 7 Aug 2015 15:48:56 +0000 (11:48 -0400)]
JBAS-769 CHS title/author subfield trimming

Title now shows 245a,b and author is 100a,c

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-769 Clear holds shelf increase query timeout
Bill Erickson [Mon, 3 Aug 2015 15:03:54 +0000 (11:03 -0400)]
JBAS-769 Clear holds shelf increase query timeout

Increase the timeout for the query which finds which holds need clearing
from 1 minute to 10 minutes.  This mostly affects non-production
servers, which are often slower.

Note the query is still subject any configured PG statement_timeout
settings.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-654 Blanket PO local SQL upgrade
Bill Erickson [Wed, 8 Jul 2015 14:45:09 +0000 (10:45 -0400)]
JBAS-654 Blanket PO local SQL upgrade

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-769 Increase CHS print dialog timeout
Bill Erickson [Wed, 24 Jun 2015 19:48:18 +0000 (15:48 -0400)]
JBAS-769 Increase CHS print dialog timeout

With larger print list, the print dialog needs more time before closing
to ensure all print data is successfully delivered to the printer.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-769 Clear holds shelf cache poll
Bill Erickson [Fri, 19 Jun 2015 18:33:50 +0000 (14:33 -0400)]
JBAS-769 Clear holds shelf cache poll

When called with a new API name, the clear-shelf process returns the
cache key first thing to the caller (via respond_complete).  Instead
of waiting for the clear-shelf API call to complete, which often times
out, the client polls the server with the cache key at regular intervals
to see if the print data has been cached.  Once found, printing is
initiated.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-651 Grand opening copy status SQL
Bill Erickson [Fri, 12 Jun 2015 16:51:32 +0000 (12:51 -0400)]
JBAS-651 Grand opening copy status SQL

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoLP#1464709 Seamless non-standard copy status checkout
Bill Erickson [Wed, 3 Jun 2015 23:30:40 +0000 (19:30 -0400)]
LP#1464709 Seamless non-standard copy status checkout

Add a new boolean configuration option to copy statuses which allow such
copies to be checked out without requiring an alert or override.

New column is config.copy_status.checkout_ok.  Any status with this
boolean enabled will be treated the same as Available, Reshelving, and
Holds Shelf status copies in that the status will be considered
checkout-able.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-231 blanket PO local template cross-ports
Bill Erickson [Mon, 20 Apr 2015 21:21:43 +0000 (17:21 -0400)]
JBAS-231 blanket PO local template cross-ports

Port blanket PO changes to local templates and scripts.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoLP#1440114 Blanket order release notes
Bill Erickson [Mon, 13 Apr 2015 15:11:47 +0000 (11:11 -0400)]
LP#1440114 Blanket order release notes

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoLP#1440114 Blanket PO finalize from PO view
Bill Erickson [Wed, 15 Apr 2015 21:44:37 +0000 (17:44 -0400)]
LP#1440114 Blanket PO finalize from PO view

Adds new "Finalize Blanket Order" button to purchase page for PO's that
are activated and have at least on blanket charge.  Finalizing the PO
disencumbers all blanket charges and marks the PO as complete.

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

Conflicts:
Open-ILS/web/js/dojo/openils/acq/nls/acq.js

Conflicts:
Open-ILS/web/js/dojo/openils/acq/nls/acq.js

6 years agoLP#1440114 Direct charge blanket orders
Bill Erickson [Tue, 7 Apr 2015 19:47:10 +0000 (15:47 -0400)]
LP#1440114 Direct charge blanket orders

Support "blanket" (long-lived, multi-invoice) orders via a new "blanket"
boolean on invoice item types.  Blanket charges can be invoiced multiple
times by creating a new fund_debit for each invoice item linked to a
blanket po_item.

This change also adds the amounts paid over time for blanket charges to
the Amount Paid summary information for purchase orders containing the
charges.

Adds a new Invoice Item Type of "Blanket Order".

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

6 years agoLP#1380803 Update PO summary amounts
Bill Erickson [Mon, 6 Apr 2015 21:33:26 +0000 (17:33 -0400)]
LP#1380803 Update PO summary amounts

Refresh the PO summary amounts (spent, encumbered, estimated) each time
an amount-changing event occurs.  These include changing the lineitem
price, adding/removing a direct charge, and adding/removing copies via
the copy grid.

Note that adding/removing copies via the batch-updater alread causes a
page refresh, which updates the summary amounts.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
6 years agoLP#1380803 Include direct charges in PO esimated price
Bill Erickson [Mon, 6 Apr 2015 18:54:55 +0000 (14:54 -0400)]
LP#1380803 Include direct charges in PO esimated price

Move the estimated PO price calculation into the middle layer, along
with the total encumbered and spent calculation.  Add a new
PO.amount_estimated field for carrying the data.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Conflicts:
Open-ILS/web/js/ui/default/acq/po/view_po.js

6 years agoJBAS-827 Add collections XML file cleanup to CRONTAB
Bill Erickson [Tue, 4 Aug 2015 14:56:39 +0000 (10:56 -0400)]
JBAS-827 Add collections XML file cleanup to CRONTAB

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-827 Disable circ purge by default in CRONTAB
Bill Erickson [Thu, 30 Jul 2015 19:14:11 +0000 (15:14 -0400)]
JBAS-827 Disable circ purge by default in CRONTAB

And do some light rearrangement of cron entries for consistency.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoUpdate 'seattle' hold failure event messages
Bill Erickson [Thu, 30 Jul 2015 21:23:52 +0000 (17:23 -0400)]
Update 'seattle' hold failure event messages

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoeg-updater requires build-staff to build staff client
Bill Erickson [Fri, 31 Jul 2015 15:49:41 +0000 (11:49 -0400)]
eg-updater requires build-staff to build staff client

And repair action name error build-eg-staff -> build-staff

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoRefactor eg-updater for flexibility/simplicity
Bill Erickson [Thu, 30 Jul 2015 22:10:45 +0000 (18:10 -0400)]
Refactor eg-updater for flexibility/simplicity

Replace the various "don't perform X" commands with a simpler set of "do
perform X" commands.  This simpliefies the logic and gives us more
control over the behaviour.

eg-brick-manager.sh is updated to reflect eg-updater.sh changes.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-827 Move juv/adult and envisionware updates to utility
Bill Erickson [Wed, 29 Jul 2015 21:51:58 +0000 (17:51 -0400)]
JBAS-827 Move juv/adult and envisionware updates to utility

Make utility-server friendly versions of the juv_to_adult and
envisionware access batch SQL scripts.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-827 BC missing copy update re-org
Bill Erickson [Wed, 29 Jul 2015 20:51:48 +0000 (16:51 -0400)]
JBAS-827 BC missing copy update re-org

* Move the BC copy update script into the utility scripts
* Update copy 'floating' column semantics for EG 2.5

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoeg-updater / eg-brick-manager fast options
Bill Erickson [Fri, 24 Jul 2015 18:34:34 +0000 (14:34 -0400)]
eg-updater / eg-brick-manager fast options

* Add docs fast shutdown flag -d to eg-update
* Add support for roll-fast, roll-attach-fast, and stop-fast to
  eg-brick-manager.

"fast" options skip the 30-second post-detach sleep.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoeg-updater -d flag to avoid detach sleep
Bill Erickson [Wed, 15 Jul 2015 17:14:39 +0000 (13:14 -0400)]
eg-updater -d flag to avoid detach sleep

Useful for taking everything offline quickly.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoKMAIN 1722 Browse search case insensitive articles
Michael Glass [Fri, 22 May 2015 22:17:44 +0000 (15:17 -0700)]
KMAIN 1722 Browse search case insensitive articles

Add case insensitive flag to regex which creates search suggestions
when a search with a/an/the is performed

modified:   Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Browse.pm

Signed-off-by: Michael Glass <mglass@catalystitservices.com>
6 years ago2.5 Dev SQL schema/data update 2015-07-08
Bill Erickson [Wed, 8 Jul 2015 14:55:49 +0000 (07:55 -0700)]
2.5 Dev SQL schema/data update 2015-07-08

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-776 marc-stream control script config update
Bill Erickson [Wed, 24 Jun 2015 18:44:11 +0000 (14:44 -0400)]
JBAS-776 marc-stream control script config update

Explicitly run the stream importer in combined exact-match and no-match
import modes.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-776 MARC stream (connexion) parallel test script
Bill Erickson [Wed, 24 Jun 2015 15:01:41 +0000 (11:01 -0400)]
JBAS-776 MARC stream (connexion) parallel test script

Script for generating a series of parallel marc_stream_importer.pl
calls.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoKCLS marc-stream uses updated parameter names
Bill Erickson [Tue, 23 Jun 2015 20:18:51 +0000 (16:18 -0400)]
KCLS marc-stream uses updated parameter names

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-778 Credit payment additional logging
Bill Erickson [Thu, 25 Jun 2015 18:26:17 +0000 (14:26 -0400)]
JBAS-778 Credit payment additional logging

Log more info on credit card payments for better payment failure
diagnosis.

Avoid logging any credit card numbers.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-750 link SQL repair to upgrade
Bill Erickson [Mon, 15 Jun 2015 17:32:20 +0000 (10:32 -0700)]
JBAS-750 link SQL repair to upgrade

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoKMAIN 1765 Fix authority reingest causing invalid entries
Michael Glass [Tue, 9 Jun 2015 23:20:59 +0000 (16:20 -0700)]
KMAIN 1765 Fix authority reingest causing invalid entries

Restore old authority heading extraction code which grabs authority
browse headings properly and adds joiner text.

new file:   KCLS/sql/kmain-1765/KMAIN-1765-reingest-causing-false-browse-headings-rollback.sql
new file:   KCLS/sql/kmain-1765/KMAIN-1765-reingest-causing-false-browse-headings.sql

Signed-off-by: Michael Glass <mglass@catalystitservices.com>
6 years agojbas-758 - change color/wording for long overdue and lost
Bradley Bonner [Fri, 26 Jun 2015 18:43:35 +0000 (11:43 -0700)]
jbas-758 - change color/wording for long overdue and lost

... on staff client bills screen

bradley bonner - KCLS

6 years agoadd a patron type exclusion to patron expiration extenstion job.
Bradley Bonner [Fri, 26 Jun 2015 18:49:12 +0000 (11:49 -0700)]
add a patron type exclusion to patron expiration extenstion job.

... (for new recip group 93, One Year - Limit Holds)

Bradley Bonner - KCLS

6 years agoCirc/Hold notices export osrf client environment var
Bill Erickson [Fri, 26 Jun 2015 14:42:56 +0000 (10:42 -0400)]
Circ/Hold notices export osrf client environment var

Repair client logging for circ/holds notices by exporting the env
variable.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-756 Retain bib call number normalizers
Bill Erickson [Fri, 12 Jun 2015 20:47:14 +0000 (16:47 -0400)]
JBAS-756 Retain bib call number normalizers

Avoid deleting the bib call number normalizer during 2.5 SQL upgrade.
KCLS uses bib call number searches and the normalizers are set up as
they should be.

Specifically, this changes allows us to include punctuation in call
number searches, e.g. 641.5951

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-712 Build staff client per-machine
Bill Erickson [Wed, 3 Jun 2015 19:22:20 +0000 (15:22 -0400)]
JBAS-712 Build staff client per-machine

Default to using a per-machine registration build.

See "Per-machine Registration Build":

http://evergreen-ils.org/dokuwiki/doku.php?id=mozilla-devel:building_the_staff_client

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoActivate OSRF_LOG_CLIENT for marc_stream_importer
Bill Erickson [Mon, 8 Jun 2015 21:01:12 +0000 (17:01 -0400)]
Activate OSRF_LOG_CLIENT for marc_stream_importer

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-682 Remove duplicate Holds function definition
Bill Erickson [Fri, 5 Jun 2015 21:45:32 +0000 (17:45 -0400)]
JBAS-682 Remove duplicate Holds function definition

Function pickup_lib_changed_on_shelf_holds() in Holds.pm was duplicated
during 2.5 merge.  Remove the extra def to avoid warnings and keep
things clean.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-712 marc_stream_importer.pl control script
Bill Erickson [Fri, 5 Jun 2015 16:06:20 +0000 (12:06 -0400)]
JBAS-712 marc_stream_importer.pl control script

sudo ./eg-marc-stream-control.sh [start <password> | status | stop]

6 years agoJBAS-712 ZOOM control script additions
Bill Erickson [Fri, 5 Jun 2015 15:26:34 +0000 (08:26 -0700)]
JBAS-712 ZOOM control script additions

./eg-zoom-control.sh [start|stop|status]

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-475 repair biblio main_fines syntax errors
Bill Erickson [Mon, 1 Jun 2015 15:06:50 +0000 (11:06 -0400)]
JBAS-475 repair biblio main_fines syntax errors

Remove extra [% END %], close <div...>.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-680 SIP2 test scripts Error => Exception
Bill Erickson [Wed, 27 May 2015 16:27:01 +0000 (12:27 -0400)]
JBAS-680 SIP2 test scripts Error => Exception

except Error: ... is not valid.  Use Exception.

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