Bill Erickson [Mon, 23 Oct 2017 16:34:04 +0000 (12:34 -0400)]
JBAS-1764 A/T purge SQL repairs
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Mon, 23 Oct 2017 15:39:11 +0000 (11:39 -0400)]
JBAS-1764 A/T purge schema and data updates
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Wed, 15 Mar 2017 19:39:55 +0000 (15:39 -0400)]
LP#
1672775 Action/Trigger retention interval SQL/IDL
Adds a new 'retention_interval' column for Action/Trigger Event
Definitions and an action_trigger.purge_events() function for deleting
events that have exceeded their configured retention time, including any
outputs linked to those events.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Bill Erickson [Fri, 20 Oct 2017 19:41:54 +0000 (15:41 -0400)]
LP#712490 Vandelay field merge x-port (pending review)
See JBAS-1470
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Fri, 29 Sep 2017 20:44:23 +0000 (16:44 -0400)]
JBAS-1470 Bib2Auth link to fullest form of heading
Allow a bib field to link to an authority field even when the bib field
has more controlled subfields than the authority field. Matching is
based on finding the authority record with the closest ("left-anchored")
heading match.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Fri, 29 Sep 2017 15:52:18 +0000 (11:52 -0400)]
JBAS-1470 Auth propatation supports partial matches
Avoid deleting controlled subfields within a controlled bib field when
the linked authority record record field has no values for the subfields
in question.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Fri, 29 Sep 2017 14:53:16 +0000 (10:53 -0400)]
JBAS-1470 Bib linking script minor cleanup
Avoid updating each bib record until all linkining work is done.
Minor logging improvements.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Mon, 27 Nov 2017 20:25:11 +0000 (15:25 -0500)]
JBAS-1890 Patron self-reg allow state changes
Allow patrons to select any state value for the billing (primary)
address, instead of locking it down to WA.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Victoria Lewis [Tue, 2 May 2017 20:59:39 +0000 (13:59 -0700)]
CAT-60 Patron editor and item summary print additions
- Add new template item_status_detailed to print
most of the data from quick summary
- Make an array to hold the data to print in alternate_copy_summary.js
- Make a new template called item_status_detailed for the print
additions
- Add print-detailed button to alternate_copy_summary.xul
- Add print functionality to patron edit screen
- Add print functionality to item quick summary
- Add experimental node exploration and testing to copy_status.js
Signed-off-by: Billy Horn <bhorn@catalystdevworks.com>
Signed-off-by: Skye Howard <showard@catalyte.io>
Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
Changes to be committed:
modified: Open-ILS/web/js/ui/default/actor/user/register.js
modified: Open-ILS/xul/staff_client/chrome/content/util/print.js
modified: Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.js
modified: Open-ILS/xul/staff_client/server/circ/alternate_copy_summary.xul
modified: Open-ILS/xul/staff_client/server/skin/print_list_templates
Return receipt template file to pretty-printed JSON format to avoid
clobbering the whole file. -- Bill.
Bill Erickson [Tue, 28 Nov 2017 22:28:40 +0000 (17:28 -0500)]
JBAS-1929 Catalog browse mattype filter
Adds a 'format' selector to the catalog browse UI. When a format is
selected, only browse results linked to bibs using the selected format
will be displayed.
Code heavily inspired by Catalyst code posted in
https://catalystit.atlassian.net/browse/KMAIN-1513.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Tue, 28 Nov 2017 20:41:36 +0000 (15:41 -0500)]
JBAS-1929 Catalog browse mattype filter SQL
Adds an optional 'mattype' filter for the metabib.browse() function.
When applied, only browse results linked to bibs with the specified
mattype will be returned.
Code heavily inspired by Catalyst code posted in
https://catalystit.atlassian.net/browse/KMAIN-1513.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Thu, 30 Nov 2017 17:15:22 +0000 (12:15 -0500)]
JBAS-1932 New headings UI mattype filter
Adds a new mattype (format) exclusion filter for the New Headings Report
interface.
Also adds a new 'Format' field to the headings list display.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Thu, 30 Nov 2017 17:14:46 +0000 (12:14 -0500)]
JBAS-1932 New headings report SQL mattype field
Adds a new 'mattype' field to the new headings report views and IDL
definition.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Wed, 24 Jan 2018 18:33:03 +0000 (13:33 -0500)]
Remove 75-year card option from patron reg.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Wed, 17 Jan 2018 14:09:10 +0000 (09:09 -0500)]
Hide ACQ picklist order ident apply-all link
Apply-all action is no longer used and has problems with multi-page
selection lists. Hide now. Remove later.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Wed, 17 Jan 2018 15:07:03 +0000 (10:07 -0500)]
Backstage quarterly export query improvement
Tweak the holdings-exists part of the query to use a JOIN instead of an
IN check. Though the exact cause of the recent slow-down is unknown,
this change allows the query to complete in minutes instead of hours.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Tue, 9 Jan 2018 15:44:53 +0000 (10:44 -0500)]
Remove '12' library card option from patron self-reg
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bradley Bonner [Mon, 8 Jan 2018 19:48:23 +0000 (11:48 -0800)]
Remove four line breaks from hold and hold transit slips
... to make them shorter (after adding foundation wording that
made them longer)
Bradley Bonner
bbonner@kcls.org
Bill Erickson [Wed, 3 Jan 2018 20:26:02 +0000 (12:26 -0800)]
Force mismatched copy location batch updates
Temporarily disable the DB trigger preventing copy location updates
during the nightly KCLS batch copy location / circ lib rescyn update.
This primarily affects copies whose circ_lib does not match their call
number owning lib (e.g. floating copies).
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Thu, 4 Jan 2018 19:06:23 +0000 (14:06 -0500)]
Do not extend expire date for 'No CKO' patrons
Avoid updating the expire date of patrons in the "No CKO" group (16) who
have recently logged in.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Wed, 20 Dec 2017 20:37:05 +0000 (15:37 -0500)]
JBAS-1951 Checkout-OK copy status 2.10 repair
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bradley Bonner [Thu, 14 Dec 2017 20:36:16 +0000 (12:36 -0800)]
Receipt changes to add Foundation donation wording/link.
JBAS-1936
Bradley Bonner
bbonner@kcls.org
Bill Erickson [Wed, 13 Dec 2017 23:03:33 +0000 (18:03 -0500)]
JBAS-1728 SCKO Focus login after contrast mode click
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Wed, 13 Dec 2017 22:39:14 +0000 (17:39 -0500)]
JBAS-1728 Focus input after dbl-click login button
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Wed, 13 Dec 2017 21:28:23 +0000 (16:28 -0500)]
JBAS-1728 Re-focus SCKO barcode input after printing
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Tue, 28 Nov 2017 19:06:46 +0000 (14:06 -0500)]
JBAS-JBAS-1728 SCKO email receipt lib phone
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Wed, 22 Nov 2017 17:11:47 +0000 (12:11 -0500)]
JBAS-1728 SCKO email receipts passive repairs
Avoid firing passive (SCKO receipt) email events in real time. Create
the events, then let the regular A/T processor handle firing the emails.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Wed, 15 Nov 2017 17:56:13 +0000 (12:56 -0500)]
JBAS-1728 SCKO Renew failure hides count
Avoid showing the count of failed renewals. Show instead a generic
"Some items failed to renew" message.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Fri, 3 Nov 2017 16:50:25 +0000 (12:50 -0400)]
JBAS-1728 Use installed common jquery files
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Wed, 30 Aug 2017 15:53:40 +0000 (11:53 -0400)]
LP#
1642086 TPAC Jquery path repair, .gitignore, karma
* Repair JS path in TPAC jquery import.
* Tell git to ignore Open-ILS/web/js/ui/default/common/build/ since it
only contains generated files.
* Add jquery to Karma unit test dependencies. This is not strictly
required, since angular includes a slim jquery shim, but having the
unit tests load the same base JS as the UI is probably best.
Confirmed tests still pass.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Bill Erickson [Mon, 25 Sep 2017 20:45:08 +0000 (13:45 -0700)]
JBAS-1728 SCKO login examples / placeholders
Make examples look less like headers by making them less prominent and
moving them under each's input.
Make the input placeholder text larger for login username/password.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Mon, 18 Sep 2017 16:39:47 +0000 (09:39 -0700)]
JBAS-1728 SCKO Login return button clears BC entry
window.reload() appears to leave the value in the barcode entry box
after the user clicks Return To Login. It also takes a long time, since
it's reloading. Teach the link to use the same href setting code that
the auto-return-to-login-page code uses. It clears the barcode box and
runs much faster.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Wed, 26 Jul 2017 19:51:13 +0000 (12:51 -0700)]
JBAS-1728 SCKO billing type labels avoid misc
When a billing type is available, use it as-is without prepending
"miscallaneous - ..."
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Wed, 26 Jul 2017 19:42:36 +0000 (15:42 -0400)]
JBAS-1728 SCKO btype; pickup lib display
Show last billing type for circ fines.
Display pickup library for ready-for-pickup holds.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Wed, 26 Jul 2017 18:52:13 +0000 (14:52 -0400)]
JBAS-1728 SCKO thanks page wording tweaks
Capital changes, remove periods.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Wed, 28 Jun 2017 20:52:39 +0000 (16:52 -0400)]
JBAS-1728 SCKO misc. additions and repairs
* Display batch renewal status info within the items out page
* Adds a login page cancel button
* Fixes various issues with the already-seen barcode handling
* Prevent batch renewal attempst on already seen barcodes
* Avoid displaying batch-renewed circs in the session circs list
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Wed, 28 Jun 2017 18:15:19 +0000 (14:15 -0400)]
JBAS-1728 SCKO Fines receipt xacts with >0 balance
Only list open transactions with non-zero balances, specifically those
with positive balances.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Tue, 27 Jun 2017 22:02:40 +0000 (18:02 -0400)]
JBAS-1728 SCKO Batch renew messages; holds style; etc.
Display a summary of message of number of items successfully renewed or
failed during batch renewal.
Only process batch notification info in batch mode.
Style the holds lists headers all the same.
Fix bug where batch renewals would use the wrong circ if items have been
added to the circ list since the patron logged in.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Tue, 27 Jun 2017 16:16:20 +0000 (12:16 -0400)]
JBAS-1728 Prevent noisy floating.js console errors
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Tue, 27 Jun 2017 16:14:47 +0000 (12:14 -0400)]
JBAS-1728 SCKO clear notices on navigation
Remove the patron checkout and renewal event notifications from the UI
any time navigation occurs.
Fix HTML syntax error for back_button onlick handler.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Thu, 22 Jun 2017 18:04:11 +0000 (14:04 -0400)]
JBAS-1728 Check remaining renewals < 1
IOW, handle cases where renewals have been forced and remaining renewals
is less than 0.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Thu, 22 Jun 2017 15:30:54 +0000 (11:30 -0400)]
JBAS-1728 SCKO SQL deploy/revert repairs
* Fix syntax errors on revert script
* Fix formatting of email so the 'Subject:' line starts at the front of
the line, which is required for it to appear as a subject in email.
* Minor reformatting for eye-ease.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Thu, 22 Jun 2017 15:28:47 +0000 (11:28 -0400)]
JBAS-1728 Avoid null email/print on batch renew fail
Avoid trying to email/print info about failed batch renewals, otherwise
the page gets stuck on logout.
Print/email info on failed batch renewals could be added, but to do so
means propagating circ IDs into the renewal functions.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Wed, 21 Jun 2017 20:10:48 +0000 (16:10 -0400)]
JBAS-1728 Hide logout-email button when no email set
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Wed, 21 Jun 2017 18:31:13 +0000 (14:31 -0400)]
JBAS-1728 SCKO post-dev repairs
Avoid use of 'this' in nested functions, use the main checkout manager
object ref.
More logout code consolidation.
Move new timeout values to variables declared along the top of the
script.
Remove deprecated function.
More code comments.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Kyle Huckins [Wed, 10 May 2017 20:30:36 +0000 (13:30 -0700)]
CAT-131 Items Out Renew Items functionality
Add a checkbox before each entry in Items Out/Renew Items
interfaces.
Add button for renewing items to Items Out/Renew Items interface.
Add count of remaining renewals to item table.
Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
Changes to be committed:
modified: KCLS/openils/var/templates_kcls/circ/selfcheck/circ_page.tt2
modified: Open-ILS/web/js/ui/kcls/circ/selfcheck/selfcheck.js
Kyle Huckins [Wed, 10 May 2017 18:08:18 +0000 (11:08 -0700)]
CAT-112 High Contrast wording change.
High contrast text to change between "Turn on High Contrast
Mode" and "Turn off High Contrast Mode" depending on current
stylesheet in use.
Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
Changes to be committed:
modified: KCLS/openils/var/templates_kcls/circ/selfcheck/patron_login.tt2
modified: Open-ILS/web/js/ui/kcls/circ/selfcheck/selfcheck.js
Kyle Huckins [Wed, 8 Mar 2017 22:43:55 +0000 (14:43 -0800)]
CAT-112 Unified SCKO
Refactor SCKO interface with bootstrap styling and scaffolding.
Separate different portions of the interface out into their own
files for readability.
Refactor sidebar into bottom button bar.
Remove pay fines front-end functionality.
Remove unnecessary images.
Replace images with newer, updated ones.
Cleanup selfcheck.js.
Add thank-you page with a 5-second timeout.
Create scrollable tables in data itnerfaces.
Convert tabs to spaces.
Display message when there are no available holds.
Center and style "Staff Login Required" text.
Prevent Double-scan of Checkout barcodes.
Doesn't show transactions in the fines list that have a negative balance.
Doesn't show total balance owed.
Separate Theme-based css information into selfcheck-default.css.
Add High contrast theme css file.
Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
Signed-off-by: Victoria Lewis <vlewis@catalyte.io>
Changes to be committed:
modified: KCLS/openils/var/templates_kcls/circ/selfcheck/banner.tt2
modified: KCLS/openils/var/templates_kcls/circ/selfcheck/circ_page.tt2
modified: KCLS/openils/var/templates_kcls/circ/selfcheck/fines.tt2
new file: KCLS/openils/var/templates_kcls/circ/selfcheck/footer.tt2
modified: KCLS/openils/var/templates_kcls/circ/selfcheck/holds_page.tt2
modified: KCLS/openils/var/templates_kcls/circ/selfcheck/main.tt2
modified: KCLS/openils/var/templates_kcls/circ/selfcheck/patron_login.tt2
modified: KCLS/openils/var/templates_kcls/circ/selfcheck/summary.tt2
modified: Open-ILS/src/templates/base.tt2
new file: Open-ILS/web/css/skin/kcls/selfcheck-default.css
new file: Open-ILS/web/css/skin/kcls/selfcheck-high-contrast.css
modified: Open-ILS/web/css/skin/kcls/selfcheck.css
deleted: Open-ILS/web/images/selfcheck/arrow.gif
new file: Open-ILS/web/images/selfcheck/arrow.png
new file: Open-ILS/web/images/selfcheck/kcls-logo.png
new file: Open-ILS/web/images/selfcheck/libcard.jpg
modified: Open-ILS/web/images/selfcheck/libcard_barcode.jpg
modified: Open-ILS/web/js/dojo/openils/circ/nls/selfcheck.js
modified: Open-ILS/web/js/ui/kcls/circ/selfcheck/selfcheck.js
Victoria Lewis [Sun, 2 Apr 2017 21:49:47 +0000 (14:49 -0700)]
CAT-125 Suspended Holds Display
Display a separate section for suspended holds.
The holds display has three fields: title, author, and status.
Heading and body are in gray font.
Signed-off-by: Victoria Lewis <vlewis@catalystdevworks.com>
modified: KCLS/openils/var/templates_kcls/circ/selfcheck/main.tt2
modified: Open-ILS/web/css/skin/kcls/selfcheck.css
modified: Open-ILS/web/js/ui/kcls/circ/selfcheck/selfcheck.js
Victoria Lewis [Thu, 30 Mar 2017 21:48:31 +0000 (14:48 -0700)]
CAT-119 Implement print Holds and Ready for Pick-up
Implement 'Print List' actions under "Hold" and
"Items Ready For Pickup"
Signed-off-by: Victoria Lewis <vlewis@catalystdevworks.com>
modified: KCLS/openils/var/templates_kcls/circ/selfcheck/main.tt2
modified: Open-ILS/web/js/dojo/openils/circ/nls/selfcheck.js
modified: Open-ILS/web/js/ui/kcls/circ/selfcheck/selfcheck.js
Kyle Huckins [Tue, 9 May 2017 17:58:34 +0000 (10:58 -0700)]
CAT-117 Emailed receipts in SCKO
Add email self-checkout receipt functionality, including
sql hooks into deploy and revert folder for getting circ
data under email-selfcheck-receipt.sql
Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
Signed-off-by: Skye Howard <showard@catalyte.io>
Changes to be committed:
modified: KCLS/openils/var/templates_kcls/circ/selfcheck/main.tt2
new file: KCLS/sql/schema/deploy/selfcheck-email-receipts.sql
new file: KCLS/sql/schema/revert/selfcheck-email-receipts.sql
modified: KCLS/sql/schema/sqitch.plan
new file: KCLS/sql/schema/verify/selfcheck-email-receipts.sql
modified: Open-ILS/web/js/ui/kcls/circ/selfcheck/selfcheck.js
Bill Erickson [Wed, 22 Nov 2017 16:29:03 +0000 (11:29 -0500)]
Add org unit phone numbers
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Tue, 21 Nov 2017 14:47:29 +0000 (09:47 -0500)]
Activate Lake Washington teacher accounts
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Mon, 20 Nov 2017 15:09:08 +0000 (10:09 -0500)]
Add library phone # to XUL checkout receipts
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Fri, 17 Nov 2017 20:54:12 +0000 (15:54 -0500)]
Add LIBRARY_PHONE XUL receipt template macro
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Fri, 10 Nov 2017 16:51:23 +0000 (11:51 -0500)]
JBAS-1919 UMS monthly user balance export script/cron
Generate a monthly user balance export for retrieval by UMS.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Wed, 15 Nov 2017 19:06:35 +0000 (14:06 -0500)]
Enable Issaquah teacher card imports
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bradley Bonner [Tue, 17 Oct 2017 17:48:05 +0000 (10:48 -0700)]
added KCLS brandmark, used in PO print template.
Bradley Bonner
bbonner@kcls.org
Bill Erickson [Fri, 25 Aug 2017 19:46:31 +0000 (15:46 -0400)]
LP#
1713138 EDI buyer codes from RFF+API
Support extracting buyer code (AKE edi_account.vendcode) values directly
from the EDI RFF+API field. This provides better matching to
edi_accounts based on vendcode values for inbound EDI messages.
The code will still fall back to extracting vendcodes appended to the SAN,
when no RFF+API is present.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Mon, 16 Oct 2017 14:38:27 +0000 (10:38 -0400)]
Student importer too-many-new warning
Logs a warning message and exits when the number of new students to
import exceeds the configured warning threshold (currently 500). Such
files can be forcably processed via a new --force-new option.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Fri, 13 Oct 2017 17:54:10 +0000 (13:54 -0400)]
Enable Vashon (402) teacher account imports
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Wed, 11 Oct 2017 18:35:37 +0000 (14:35 -0400)]
JBAS-1891 Remove 2.10-era hold copy count columns (LP#
1402770)
This paritally reverts LP bug #
1402770.
Avoid displaying or fetching data for the 2.10-era copy hold_count columns.
The data is unused locally and adds unnecessary API calls.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Wed, 4 Oct 2017 16:10:20 +0000 (12:10 -0400)]
JBAS-1786 2.10 SQL upgrade add missing pieces
Merge the 2.10.0->2.10.1,...,2.10.11->2.10.12 upgrade scripts. Note
most of these are no-ops. There were a few function repairs though.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Thu, 28 Sep 2017 16:54:50 +0000 (12:54 -0400)]
SIP test script to quickly check all prod servers
Read-only script that makes SIP request to all production SIP servers
plus the production load balancer host.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Thu, 28 Sep 2017 16:21:23 +0000 (09:21 -0700)]
JBAS-1787 EG 2.10 SQL sample data
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Thu, 28 Sep 2017 16:17:28 +0000 (09:17 -0700)]
JBAS-1787 Add password type table for data exports
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Thu, 28 Sep 2017 16:40:56 +0000 (12:40 -0400)]
JBAS-1787 More SQL insert wrappers
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Mon, 5 Jun 2017 22:05:50 +0000 (18:05 -0400)]
JBAS-537 Mark missing pieces in-transit items
Cancel active transits before checking an item back out to the most
recent patron during mark-missing-pieces. Otherwise, the checkout will
fail.
Commit also removes an unnecessary transaction from the first half of
the API and its associated FIXME messages.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Mon, 28 Aug 2017 21:35:23 +0000 (17:35 -0400)]
JBAS-1850 Reset lineitem selection every page
Clear the list of selected lineitems with every lineitem list page
(selection list, PO, etc.). This prevents an error where lineitems from
a different selection list would be selected for inclusion in a new PO,
leading the undefined JS errors referencing nonexisting lineitems.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Mon, 28 Aug 2017 18:12:04 +0000 (14:12 -0400)]
JBAS-1850 ACQ vlagent falls back to browser localStorage
Not related specifically to JBAS-1850, just uncovered during testing.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Wed, 13 Sep 2017 14:20:12 +0000 (10:20 -0400)]
JBAS-1799 Skip 2.10 SQL reingests
Skip the partial reingests that came as part of the 2.9->2.10 SQL
upgrade. Together they are no faster than a full re-ingest, which we
can run with more fine-grained control.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Tue, 12 Sep 2017 15:35:09 +0000 (11:35 -0400)]
Sample user data address cleanup
Scrub some interesting auto-generated sample data addresses.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Mon, 11 Sep 2017 18:25:13 +0000 (14:25 -0400)]
Teacher cards short username handles characters
Fixes bug in teacher account generator so that it properly handles
student_id values less than 4 characters for both numbers and letters.
Previously it would fail padding non-numeric IDs.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Fri, 8 Sep 2017 17:35:25 +0000 (10:35 -0700)]
Renton Risdon Middle classroom cards
Also remove some errant spaces from the Renton classroom info file.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Mon, 14 Aug 2017 15:28:55 +0000 (11:28 -0400)]
JBAS-1786 Remote auth 2.10-style password test
Teach our custom version of remoteauth.cgi to use the new 2.10-style
in-database password check.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Tue, 6 Jun 2017 18:37:27 +0000 (14:37 -0400)]
JBAS-1788 KCLS 2.10 Release Notes
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Mon, 3 Jul 2017 15:22:16 +0000 (11:22 -0400)]
JBAS-1768 X-port XSS login form repairs
Cross-porting
472bd5ae1486fc0349581b02e666d0e8b8d5c143 to our custom
login form.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Mon, 3 Jul 2017 14:13:12 +0000 (10:13 -0400)]
JBAS-1786 Protect Stripe org settings
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Mon, 26 Jun 2017 19:40:20 +0000 (15:40 -0400)]
JBAS-1786 KCLS 2.9 -> 2.10 SQL Upgrade
Of note, using iter_count 8 for password encryption.
All inserts are wrapped.
Composed of 2 upgrades, a main, and a data reingest.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Mon, 7 Aug 2017 20:27:31 +0000 (16:27 -0400)]
JBAS-1790 SIP uses adopt-syslog, applies syslog ident
Be sure syslog settings applied to the SIP server persist through
OpenSRF configuring its on syslog client. Apply a specific 'sip' syslog
identity.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Wed, 23 Aug 2017 15:22:51 +0000 (11:22 -0400)]
JBAS-1792 Remote auth logging handles barcodes
Fix an issue in remoteauth.cgi logging where it failed to log barcodes
when they were passed via the generic "user" parameter.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Fri, 30 Jun 2017 18:36:46 +0000 (14:36 -0400)]
JBAS-1741 Targeter SQL wrap inserts
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Tue, 30 May 2017 16:57:07 +0000 (12:57 -0400)]
JBAS-1741 Targeter fetches holds in batches
Avoid clobbering the jabber servers with hundreds of thousands of hold
ID messages by grouping the hold IDs into messages of 10k IDs each.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Fri, 10 Mar 2017 16:59:26 +0000 (11:59 -0500)]
JBAS-1741 Hold targeter v2 SQL updates
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Fri, 24 Jun 2016 20:56:58 +0000 (16:56 -0400)]
JBAS-1741 Hold targeter v2 gets KCLS has-checked-out-copy
Cross-port code to implement KCLS policy of leaving holds alive so long
as a checked out copy exists regardless of whether the targeter has
reached max org unit target attempt loops.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Kathy Lussier [Fri, 17 Feb 2017 06:12:08 +0000 (01:12 -0500)]
LP#
1596595: Stamping upgrade scripts for hold targeter refactoring
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Bill Erickson [Tue, 7 Feb 2017 17:25:01 +0000 (12:25 -0500)]
LP#
1596595 AOUS lookup batch by org id
Org unit setting value lookup for batches of org units, instead of the
traditional batches by setting name.
Perl live test included.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Bill Erickson [Fri, 1 Jul 2016 15:26:26 +0000 (11:26 -0400)]
LP#
1596595 Hold targeter release notes
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Bill Erickson [Tue, 7 Jun 2016 21:32:14 +0000 (17:32 -0400)]
LP#
1596595 Hold targeter refactoring and optimization.
* New open-ils.hold-targeter service
* Ports hold targeter code to a Perl utility function, communicating w/
the DB via cstore instead of storage.
* Adds a new global flag 'circ.holds.retarget_interval' for configuring
the hold retarget interval in the database.
* Adds a new DB function to regenerating hold copy maps to make map
deletion and creation more efficient.
* Adds an option for targeting holds in newest to oldest order.
* Caches all org unit settings per targeter run.
* Adds support for "skip_viable" option. This tells the hold targeter
to avoid modifying any holds that target viable copies. AKA "fix
broken" mode.
For example, you might run in skip_viable mode with a retarget
interval of 24hr once a day to repair non-viable holds, then also run
the targeter in regular mode once a day with a retarget interval of 48
hours to give staff 2 days to process viable holds.
* Hold target loops logic changes:
** Org units with fewer target attempts are prioritized during loop
processing. So, instead of segregating org units into 2 categetories,
those attempted in the current loop and those not attempted, sort those
not attempted by the number number of times they have been attempted.
Within each grouping, prioritize by target weight/proximity as before.
** All org units that have been attempted less than the max configured
amount are on the table for targeting, not just those that have been
targeted less than the current loop max. If no orgs with
less-than-current-max attempts are found, try orgs that match the
current max (but are still less than the configured max).
** When activated, target looping treats the pickup lib like any
other org unit. If a targeted copy at the pickup lib remains
un-captured, at re-target time, a copy at a different branch is
chosen (if one is available) even if other copies at the pickup
lib are targetable.
* Parallel targeting support baked into service.
Teach the targeter to process a subset of holds based on the number of
parallel targeters at play and the parallel targeting slot each targeter
instance occupies.
As with the existing hold targeter, group holds by their metarecord to
avoid multiple targeter processes targeting the same sets of potential
copies.
* Logging / code refactoring and clean up.
* New hold_targeter_v2.pl script for batch hold targeting. Existing
targeter remains for backwards-compat.
hold_targeter_v2.pl options:
--verbose
Print process counts
--parallel <parallel-process-count>
Number of parallel hold processors to run. This overrides any
value found in opensrf.xml
--target-all
Target all active holds, regardless of when they were last targeted.
--skip-viable
Avoid modifying holds that currently target viable copies.
In other words, only (re)target holds in a non-viable state.
--retarget-interval
Override the 'circ.holds.retarget_interval' global_flag value.
--parallel-init-sleep
Time to wait between starting each parallel instance. Useful for
avoiding dog-piling the DB.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Bill Erickson [Thu, 11 May 2017 20:37:52 +0000 (16:37 -0400)]
JBAS-1581 Backstage cron updates and docs
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Wed, 23 Aug 2017 19:59:26 +0000 (15:59 -0400)]
JBAS-1874 Merge patron checkout history
https://bugs.launchpad.net/evergreen/+bug/
1712657
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Tue, 15 Aug 2017 14:21:36 +0000 (10:21 -0400)]
JBAS-1554 Circ history delete untracked
Script to find and delete circulation history rows for patrons who
disabled circ history after the initial migration but before the new
history delete code was deployed.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Mon, 14 Aug 2017 18:03:08 +0000 (14:03 -0400)]
JBAS-1554 Circ history checker log cleanup
Log each affected user once (instead of once per circ) for ease of
manual cleanup.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Mon, 14 Aug 2017 16:12:01 +0000 (12:12 -0400)]
JBAS-1554 Circ history checker log correct offset
Log the correct 0-based offset when reporting patrons that have
un-migrated circulations. This makes manually repairing them easier.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Mon, 14 Aug 2017 15:48:46 +0000 (11:48 -0400)]
JBAS-1554 Circ history migration check script
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Mon, 7 Aug 2017 14:19:29 +0000 (10:19 -0400)]
JBAS-1867 Disable lost.auto event creation
Piling lost.auto event creation on top of checkout.due events for auto
mark lost often results dying A/T drone processes. Cause is still
unknown. Since we're not currently using lost.auto events, disable
lost.auto creation pending a resolution.
This primarily affects the 28-day auto mark lost reactor.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Thu, 29 Jun 2017 14:58:05 +0000 (10:58 -0400)]
JBAS-1817 Hide BC screen reader links via local CSS
BC screen reader links are not hidden as expected using only the code
delivered by their API. Add some custom local CSS to hide them.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Thu, 29 Jun 2017 14:44:24 +0000 (10:44 -0400)]
JBAS-1817 BC header/footer API updates
Update self-reg (patron card app) to use the new BC header/footer/etc
API.
TODO: resolve issue where screen reader navigation is visible.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Mon, 17 Jul 2017 19:15:31 +0000 (15:15 -0400)]
Backstage quarterly bib export count email
Send an email after the quarterly bib export file has been generated and
uploaded with the count of bib records in the file.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Fri, 23 Jun 2017 16:15:37 +0000 (12:15 -0400)]
Backstage monthly authority CRONTAB updates
Signed-off-by: Bill Erickson <berickxx@gmail.com>