working/Evergreen.git
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>
6 years agoJBAS-680 util scripts conditional alert emails
Bill Erickson [Tue, 26 May 2015 14:47:31 +0000 (10:47 -0400)]
JBAS-680 util scripts conditional alert emails

Allow batch job emails to be sent on a conditional basis so that
individual scripts do not require modification depending on the host.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-680 util scripts osrf client logging via ENV
Bill Erickson [Tue, 26 May 2015 14:38:33 +0000 (10:38 -0400)]
JBAS-680 util scripts osrf client logging via ENV

Avoid use of custom opensrf_core.client.xml, show sole purpose is to
force opensrf clieng logging, but using the new OSRF_LOG_CLIENT=1
environment variable.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoKMAIN 1729 Bug in line item merge caused by KMAIN 1448
Michael Glass [Thu, 21 May 2015 22:14:41 +0000 (15:14 -0700)]
KMAIN 1729 Bug in line item merge caused by KMAIN 1448

     Add in lines of code for lineitem merging which were not included
     in the 1448 sql fix

new file:   KCLS/sql/kmain-1729/KMAIN_1729_Bug_from_KMAIN_268.sql
new file:   KCLS/sql/kmain-1729/KMAIN_1729_Bug_from_KMAIN_268_rollback.sql

Signed-off-by: Michael Glass <mglass@catalystitservices.com>
6 years agoJBAS-638 Increase TPAC copy limit to 50 items
Bradley Bonner [Fri, 8 May 2015 20:54:36 +0000 (13:54 -0700)]
JBAS-638 Increase TPAC copy limit to 50 items

6 years agoKMAIN 1448
Michael Glass [Mon, 13 Apr 2015 22:17:02 +0000 (15:17 -0700)]
KMAIN 1448

Added a check to prevent a merged copy being associated with a deleted
call number in asset.merge_record_assets.

new file:   KCLS/sql/kmain-1448/KMAIN_1448_Bug_from_KMAIN_268.sql
new file:   KCLS/sql/kmain-1448/KMAIN_1448_Bug_from_KMAIN_268_rollback.sql

Signed-off-by: Michael Glass <mglass@catalystitservices.com>
6 years agoKMAIN 1685
Michael Glass [Fri, 10 Apr 2015 19:46:15 +0000 (12:46 -0700)]
KMAIN 1685
Added a defaultsearch get paramater to allow the default search option
to be passed to browse when clicking the browse search link on the
advanced search page. Fixed issue where sort would be overridden by the advanced search result page

modified:   KCLS/openils/var/templates_kcls/opac/advanced.tt2
modified:   KCLS/openils/var/templates_kcls/opac/browse_results.tt2
modified:   KCLS/openils/var/templates_kcls/opac/parts/advanced/browse.tt2
modified:   KCLS/openils/var/templates_kcls/opac/parts/advanced/search.tt2
modified:   KCLS/openils/var/templates_kcls/opac/results.tt2

Signed-off-by: Michael Glass <mglass@catalystitservices.com>
6 years agoKMAIN 1558
Michael Glass [Thu, 2 Apr 2015 23:49:39 +0000 (16:49 -0700)]
KMAIN 1558

Added a javscript sort to browse_results.tt2 to display cross references
in alphabetical order. 1558 Made sort more modular

modified:   KCLS/openils/var/templates_kcls/opac/browse_results.tt2

Signed-off-by: Michael Glass<mglass@catalystitservices.com
Conflicts:
KCLS/openils/var/templates_kcls/opac/browse_results.tt2

6 years agoKMAIN 1639
Michael Glass [Fri, 27 Mar 2015 23:19:46 +0000 (16:19 -0700)]
KMAIN 1639

    Added a permission group for update items, "UPDATE_ITEMS"

new file:   KCLS/sql/KMAIN-1639/KMAIN-1639-Add-update-permissions-rollback.sql
new file:   KCLS/sql/KMAIN-1639/KMAIN-1639-Add-update-permissions.sql
modified:   Open-ILS/xul/staff_client/chrome/content/cat/opac.js

Signed-off-by:(Michael Glass)<mglass@catalystitservices.com>

6 years agoKMAIN 1352
Michael Glass [Thu, 2 Apr 2015 17:59:55 +0000 (10:59 -0700)]
KMAIN 1352

Added an inline style to the sees link, modified positioning of number
  of links. Fixed broken link issue

Signed-off-by: Michael Glass <mglass@catalystitservices.com>
6 years agoKMAIN-1510
Michael Glass [Thu, 19 Mar 2015 21:02:22 +0000 (17:02 -0400)]
KMAIN-1510

Added regex to remove dashes from browse results display. Regex
was used vs. refactor of code causing dash due to time constraints on
modifing existing database functions

modified:   KCLS/openils/var/templates_kcls/opac/browse_results.tt2

Signed-off-by: Michael Glass <mglass@catalystitservices.com>
6 years agoKMAIN-1683 Possible bug in update items code
Dan Reuther [Wed, 1 Apr 2015 14:46:36 +0000 (10:46 -0400)]
KMAIN-1683 Possible bug in update items code

Update items was not fetching the mint_condition column for a copy.  Added
functionality to correct this issue.

Signed-off-by: Dan Reuther <dreuther@catalystitservices.com>
modified:   Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/asset.pm
modified:   Open-ILS/xul/staff_client/server/cat/update_items.js

6 years agojbas-640 -- remove $h subfield from marc templates (dvd & audiobook)
Bradley Bonner [Wed, 29 Apr 2015 19:58:00 +0000 (12:58 -0700)]
jbas-640 -- remove $h subfield from marc templates (dvd & audiobook)

6 years agoJBAS-357 - this fixes the error message received when staff attempt to delete a patro...
Bradley Bonner [Wed, 29 Apr 2015 19:09:16 +0000 (12:09 -0700)]
JBAS-357 - this fixes the error message received when staff attempt to delete a patron note.  bb.kcls

6 years agoJBAS-475 + additional discussion. fix links on ecomm pages, hide help.tt2, add ask...
Bradley Bonner [Wed, 29 Apr 2015 18:51:37 +0000 (11:51 -0700)]
JBAS-475 + additional discussion. fix links on ecomm pages, hide help.tt2, add ask KCLS link to footers

6 years agoJBAS-216 set editor/edit_date on cat_date change
Bill Erickson [Fri, 3 Apr 2015 17:19:40 +0000 (10:19 -0700)]
JBAS-216 set editor/edit_date on cat_date change

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-216 clear cat date button
Bill Erickson [Tue, 16 Dec 2014 22:55:47 +0000 (17:55 -0500)]
JBAS-216 clear cat date button

Adds a button to MARC edit UI to clear the cat date value for a
record.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoeg-brick-manager attach prompt on -attach actions
Bill Erickson [Thu, 21 May 2015 17:47:43 +0000 (13:47 -0400)]
eg-brick-manager attach prompt on -attach actions

Instead of forcing an attach when -g is present, only apply -g when an
explicit attach option (roll-attach, start-attach) is selected.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoeg-brick-manager / eg-updater -g attach prompt
Bill Erickson [Thu, 21 May 2015 16:35:21 +0000 (12:35 -0400)]
eg-brick-manager / eg-updater -g attach prompt

-g for both scripts now causes execution to pause before attaching a
server by prompting the user to continue or exit.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoRename to eg-brick-manager for install
Bill Erickson [Thu, 21 May 2015 15:45:31 +0000 (11:45 -0400)]
Rename to eg-brick-manager for install

Move brick-manager.sh to eg-brick-manager.sh to better namespace the
executable for installation into /usr/bin, etc.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoStaff client builds show build date (as before).
Bill Erickson [Wed, 20 May 2015 21:53:18 +0000 (17:53 -0400)]
Staff client builds show build date (as before).

Updates about.html (under staff client Help) to remove the confusing
"HeadURL" variable and replace it w/ a Build Date value.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Conflicts:
Open-ILS/xul/staff_client/chrome/content/main/about.html

6 years agoJBAS-679 2.5 circ settings transaction wrapper
Bill Erickson [Wed, 6 May 2015 17:38:47 +0000 (13:38 -0400)]
JBAS-679 2.5 circ settings transaction wrapper

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-679 2.5 circ org settings
Bill Erickson [Wed, 6 May 2015 16:28:07 +0000 (12:28 -0400)]
JBAS-679 2.5 circ org settings

Apply values for new org unit settings circ.tally_lost,
ui.circ.items_out.lost, and ui.circ.items_out.claimsreturned.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoDB upgrade: drop/recrecreate constraints in one go as before; debugging
Bill Erickson [Tue, 28 Apr 2015 22:01:27 +0000 (15:01 -0700)]
DB upgrade: drop/recrecreate constraints in one go as before; debugging

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years ago2.5 upgrade debugging; missing metabib_field updates
Bill Erickson [Tue, 21 Apr 2015 21:30:00 +0000 (14:30 -0700)]
2.5 upgrade debugging; missing metabib_field updates

1. Added some additional notices for debugging.

2. Never enountered an error with this, but noticed a table
   which referred to metabib_field needed it's constraint
   updated as well.. metabib.browse_call_number_entry_def_map

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-495 2.5 upgrade more logs/debugging
Bill Erickson [Mon, 20 Apr 2015 17:33:21 +0000 (10:33 -0700)]
JBAS-495 2.5 upgrade more logs/debugging

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoadding secondary collection hq update for 2.5 update
Bill Erickson [Wed, 8 Apr 2015 21:29:19 +0000 (17:29 -0400)]
adding secondary collection hq update for 2.5 update

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years ago2.5 DB; log big updates; avoid big selects
Bill Erickson [Tue, 31 Mar 2015 19:04:40 +0000 (15:04 -0400)]
2.5 DB; log big updates; avoid big selects

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-495 combined 2.4.1 to 2.5.7 DB upgrade
Bill Erickson [Fri, 27 Mar 2015 20:25:07 +0000 (16:25 -0400)]
JBAS-495 combined 2.4.1 to 2.5.7 DB upgrade

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-648 2.5 dev db export
Bill Erickson [Wed, 20 May 2015 17:57:16 +0000 (10:57 -0700)]
JBAS-648 2.5 dev db export

Adds export data tables for floating groups and z39 index field maps.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-679 hide conjoined items commands in bib display
Bill Erickson [Tue, 19 May 2015 19:46:26 +0000 (15:46 -0400)]
JBAS-679 hide conjoined items commands in bib display

We don't use conjoined items, hide the actions in the record detail
UI to avoid confusion, etc.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Conflicts:
Open-ILS/xul/staff_client/chrome/content/cat/opac.xul

6 years agoenable prod and staging clusters in brick manager
Bill Erickson [Tue, 19 May 2015 14:55:09 +0000 (10:55 -0400)]
enable prod and staging clusters in brick manager

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoKMAIN 1715 No Cross References on 2.5
Michael Glass [Wed, 6 May 2015 22:01:34 +0000 (15:01 -0700)]
KMAIN 1715 No Cross References on 2.5

   Add a call to function which creates sees headings to load browse in
   browse.pm

Signed-off-by: Michael Glass <mglass@catalystitservices.com>
modified:   Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Browse.pm

6 years agoeg-updater use series ID for builds stamp
Bill Erickson [Tue, 5 May 2015 20:27:18 +0000 (16:27 -0400)]
eg-updater use series ID for builds stamp

When building a client installer, be sure the
builds/current-client-build.zip (and related files) use the same 'build'
directory as the installer.  This ensures the build series (stamp) ID
matches the installer series (stamp) ID.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoeg-update stamp staff builds w/ version string
Bill Erickson [Tue, 5 May 2015 18:00:17 +0000 (14:00 -0400)]
eg-update stamp staff builds w/ version string

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoeg-updater gracefully handles apache not running
Bill Erickson [Fri, 1 May 2015 16:17:05 +0000 (12:17 -0400)]
eg-updater gracefully handles apache not running

Before, the script would exit because the apache stop command would
return non-zero.

Includes minor wording changes.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-480 Updated DB dev schema/data export
Bill Erickson [Tue, 21 Apr 2015 17:48:48 +0000 (10:48 -0700)]
JBAS-480 Updated DB dev schema/data export

MARC update memory leak repair; minor browse fixes;

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-639 Brick manager script
Bill Erickson [Mon, 13 Apr 2015 18:40:58 +0000 (11:40 -0700)]
JBAS-639 Brick manager script

New brick-manager.sh script for stopping, starting, detaching,
attaching, and updating clusters of bricks.  Default clusters include
production, staging, and testing, though the user can optionally
specifify a single server (mainly for testing).

eg-updater.sh gets new commands for stop / start only and detach /
attach only.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoadd new ID for nonresident property owner - it should exclude from updating.
Bradley Bonner [Wed, 8 Apr 2015 21:49:58 +0000 (14:49 -0700)]
add new ID for nonresident property owner - it should exclude from updating.

6 years agoAdding collection-hq scripts
Bill Erickson [Wed, 8 Apr 2015 15:12:13 +0000 (11:12 -0400)]
Adding collection-hq scripts

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-573 eg-stats collector script tracking/updates
Bill Erickson [Thu, 26 Mar 2015 16:08:34 +0000 (12:08 -0400)]
JBAS-573 eg-stats collector script tracking/updates

Use unix::syslog, which is already installed, instead of custom (?)
Logger module.  Remove CPU and RAM stats, since this are better
monitored via external monitoring (zabbix, nagios, etc.)

Install stats collector and keeplive script to /openils/bin

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoJBAS-479 clean up forked children in throttle_disbatcher.pl
Bill Erickson [Fri, 27 Feb 2015 16:00:12 +0000 (08:00 -0800)]
JBAS-479 clean up forked children in throttle_disbatcher.pl

When registering a sig handler for CHLD, we have to waitpid
for child procs to clean them up or defunct procs will proliferate.

Also update counts with each reaped child, since that's the only
accurate way to know how many children have completed their tasks.

See http://perldoc.perl.org/perlipc.html#Signals SIGCHLD

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoKMAIN-1653
Michael Glass [Thu, 19 Mar 2015 19:51:18 +0000 (15:51 -0400)]
KMAIN-1653
Removed the deprecated link to 'basic search' which appeared on the
browse search results page.

modified:   KCLS/openils/var/templates_kcls/opac/parts/searchbar_browse.tt2

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