Bill Erickson [Fri, 30 Mar 2018 16:23:34 +0000 (12:23 -0400)]
JBAS-2008 Search strip apostrophes recover
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Tue, 27 Mar 2018 21:53:29 +0000 (17:53 -0400)]
JBAS-2005 Hold queue pos API uses rhrr
Consistent with BC hold queue pos function, we now determine the hold
queue position by comparing holds that target the same bib. Uses the
newly materialized (as of 2.12) reporter.hold_request_record table.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Sun, 25 Mar 2018 19:12:19 +0000 (15:12 -0400)]
JBAS-2005 BC hold queue position uses 'rhrr' class
Queue is now defined as holds which target the same bib record, not
necessarily those that share a targetable copy.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Tue, 27 Mar 2018 15:38:40 +0000 (11:38 -0400)]
JBAS-2006 Hold shelf expire date speed up
Move the hold shelf expire date calculation into a new set of utility
functions and refactor to avoid excess DB calls for overall speedups.
Adds a new open-ils.actor.org_unit.open_day_range API call for testing
the new code and for possible future use.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Tue, 27 Mar 2018 16:21:37 +0000 (12:21 -0400)]
Copy location API for BC OpenSRF 2.5 repair
Override the default OpenSRF message chunking settings by setting
max_chunk_size => 0 on the copy location fetch-all API, which returns a
large collection of data.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Mon, 26 Mar 2018 17:24:44 +0000 (13:24 -0400)]
Hold shelf expire cstore keepalive
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Sun, 25 Mar 2018 22:11:46 +0000 (18:11 -0400)]
Remove canceled transit from magic statuses to allow editing
Note setting disable_in_copy_editor=false did not suffice to allow
editing. The whole like had to be removed.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Thu, 15 Mar 2018 15:16:25 +0000 (11:16 -0400)]
JBAS-1997 Prevent sequential scans in hold queue pos func
Brute-force the PG planner to make it use index scans instead of
sequential scans in the hold queue position stored proc. This resolves
a problem where the planner starts using seq scans over time as the
stats morph in the presence of lots of active, large-queue holds.
Avoidin the seq scan shows consistently better performance.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Wed, 14 Mar 2018 15:04:25 +0000 (11:04 -0400)]
JBAS-1802 2.12 SQL upgrade commits
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Tue, 6 Feb 2018 15:34:36 +0000 (10:34 -0500)]
JBAS-1923 Add Outreach SI profile
1. New profile group under Outreach
2. checkout max set to 100
3. Add group to user editor
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Wed, 7 Mar 2018 20:01:54 +0000 (15:01 -0500)]
JBAS-1984 Large screen scan box btm border padding
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Alex Cautley [Thu, 1 Mar 2018 22:42:59 +0000 (22:42 +0000)]
CAT-184 - SCKO Button Size Increase
-Slight increase in button size for btn-repsonsive and
scko-footer-btn
Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
Changes to be committed:
modified: Open-ILS/web/css/skin/kcls/selfcheck.css
Alex Cautley [Wed, 28 Feb 2018 23:00:49 +0000 (23:00 +0000)]
CAT-184 SCKO Fonts Continued
- Create new btn-responsive css class to handle button sizes
based on screen size
- Apply font size change to scko-footer-btn when under specific
resolutions, to keep text inside the button.
Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
Changes to be committed:
modified: KCLS/openils/var/templates_kcls/circ/selfcheck/main.tt2
modified: KCLS/openils/var/templates_kcls/circ/selfcheck/patron_login.tt2
modified: Open-ILS/web/css/skin/kcls/selfcheck.css
Bill Erickson [Wed, 21 Feb 2018 21:14:23 +0000 (16:14 -0500)]
JBAS-1984 SCKO more misc. tewaks
Add enter PIN instructions
JBAS-1984 Hi-contrast text color tweaks
JBAS-1984 V-align SCKO go/cancel buttons w/ text
Top of go/cancel buttons lines up with top of PIN text input.
JBAS-1984 Increase vert padding for logout buttons
JBAS-1984 SCKO font css consolidation
Migrate font-embiggening into the default and high-contrast css files
using @media params.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Wed, 21 Feb 2018 20:33:08 +0000 (15:33 -0500)]
SCKO Unaccent checkout items labels
The hard-coded 'black' color on the checkout list labels makes the
appear too bold. Use default color to match the items-out list.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Fri, 9 Feb 2018 16:28:58 +0000 (11:28 -0500)]
JBAS-1981 SCKO Misc tweaks
Total/Session counts move to tab
Move the counts down into the checkouts tab so it's always visible.
SCKO label change Pickup -> Pick-up
JBAS-1984 SCKO Fines table extends horizontally
Remove unnecessary call to show() the fines tbody, since it
(unkowningly) changed the display attribute to 'block', breaking the
table flow.
JBAS-1984 SCKO Remove refs to undefined div
Avoid JS errors by avoiding attempts to dereference an undefined DOM
node with id 'oils-selfck-status-div3'.
JBAS-1984 SCKO Larger font-d option
JBAS-1984 SCKO unable to process message tweaks
Show original "unable to process item XYZ" message in non-batch checkout
and renewal mode. Show generic see staff message for batch equivalents.
JBAS-1984 Bump high-contrast font sizes
JBAS-1984 More font tweaks for size d
JBAS-1984 SCKO bold item details during checkout
Kyle Huckins [Mon, 29 Jan 2018 18:42:04 +0000 (18:42 +0000)]
CAT-176 SCKO Font Size Tweaks
- Provide three options for font sizes. Does not include changes to
High Contrast Mode
Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
Changes to be committed:
modified: KCLS/openils/var/templates_kcls/circ/selfcheck/style.css
modified: Open-ILS/web/css/skin/kcls/selfcheck-default.css
new file: Open-ILS/web/css/skin/kcls/selfcheck-font-b.css
new file: Open-ILS/web/css/skin/kcls/selfcheck-font-c.css
Kyle Huckins [Tue, 6 Feb 2018 18:31:38 +0000 (18:31 +0000)]
CAT-182 SCKO Fine Tab Outline
- Apply CSS outline to Fines tab when a positive
fine exists.
Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
Signed-off-by: Alex Cautley <acautley@catalyte.io>
Changes to be committed:
modified: Open-ILS/web/css/skin/kcls/selfcheck.css
modified: Open-ILS/web/js/ui/kcls/circ/selfcheck/selfcheck.js
Kyle Huckins [Wed, 31 Jan 2018 20:22:57 +0000 (20:22 +0000)]
CAT-180 SCKO Checkbox Styling
- Embiggen Checkboxes
Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
Changes to be committed:
modified: Open-ILS/web/css/skin/kcls/selfcheck.css
Kyle Huckins [Tue, 30 Jan 2018 00:00:16 +0000 (00:00 +0000)]
CAT-181 SCKO Wording Tweaks
- Change "Fees" to "Fines."
- Unbold Table Labels.
- Bold table contents.
- Add callnumber to Items ready for pickup.
Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
Changes to be committed:
modified: KCLS/openils/var/templates_kcls/circ/selfcheck/circ_page.tt2
modified: KCLS/openils/var/templates_kcls/circ/selfcheck/fines.tt2
modified: KCLS/openils/var/templates_kcls/circ/selfcheck/footer.tt2
modified: KCLS/openils/var/templates_kcls/circ/selfcheck/holds_page.tt2
modified: Open-ILS/web/css/skin/kcls/selfcheck.css
modified: Open-ILS/web/js/ui/kcls/circ/selfcheck/selfcheck.js
Kyle Huckins [Mon, 29 Jan 2018 21:40:34 +0000 (21:40 +0000)]
CAT-178 Login Tweaks
- Remove "Steps" text.
- Move "Enter" instructions to top of login barcode box.
- Move Example text into input boxes.
- Match example barcode to barcode in image.
Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
Changes to be committed:
modified: KCLS/openils/var/templates_kcls/circ/selfcheck/patron_login.tt2
Kyle Huckins [Mon, 29 Jan 2018 19:03:28 +0000 (19:03 +0000)]
CAT-177 SCKO Button Tweaks
- Increase space between Sidebar buttons.
- Make Login nad sidebar buttons bigger.
- Bold text on Sidebar buttons.
Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
Bill Erickson [Tue, 6 Feb 2018 17:30:22 +0000 (12:30 -0500)]
JBAS-1979 SCKO Google analytics base
Base GA code. No action-specific triggers are included.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Tue, 6 Feb 2018 17:25:37 +0000 (12:25 -0500)]
JBAS-1983 SCKO dedicated high-contrast mode
Append ?high-contrast=1 to the URL to have always-on high contrast.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Tue, 6 Feb 2018 16:43:18 +0000 (11:43 -0500)]
JBAS-1981 SCKO Total/session items out count
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Mon, 5 Feb 2018 22:27:59 +0000 (17:27 -0500)]
JBAS-1980 SCKO already-processed for success only
Only display the "item already processed" message for sucessful
checkouts. Checkout failures are always allowed to re-process so the
user can see the real error message.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Sun, 11 Mar 2018 16:33:29 +0000 (12:33 -0400)]
JBAS-1997 Hold queue position stored procedure
Primarily created for use by BC, but could be used in other contexts.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Fri, 9 Mar 2018 20:27:02 +0000 (15:27 -0500)]
Self-register add pride/rainbow card option
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Mon, 5 Mar 2018 20:13:01 +0000 (15:13 -0500)]
Recover local Google Analytics code
Even though GA is imported via the BC headers, they do not work the way
we need them to for tracking the self-reg pages. Recovering the old GA
headers.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Mon, 26 Feb 2018 15:12:38 +0000 (10:12 -0500)]
Revert "LP#
1464709: teach QP about is_available statuses"
Retaining previous availabilty filtering behavior because KCLS uses
is_available (previously checkout_ok) more liberally than suits a search
availability filter. E.g. 'missing' is is_available=true
This reverts commit
fed65df3c669e1337f187d533e9033a697d6b263.
Bill Erickson [Fri, 9 Feb 2018 21:09:50 +0000 (16:09 -0500)]
JBAS-1975 Archive ADPToJDE files same as ADP
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Fri, 9 Feb 2018 21:09:13 +0000 (16:09 -0500)]
JBAS-1975 Merge latest adp file mgt script changes
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Thu, 3 Aug 2017 19:01:34 +0000 (15:01 -0400)]
LP#
1704819 Fine generator avoids int() rounding
Avoid using the Perl int() function for rounding in the fine generator,
since it can have unexpected outcomes.
For example:
$ perl -e 'print "230 = " . int(100 * 2.30) . "\n"'
230 = 229
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Fri, 2 Feb 2018 17:04:22 +0000 (09:04 -0800)]
JBAS-1804 2.12 SQL upgrade testing additions
DROP tablefunc as suggested by script.
Avoid creating the full reporter.hold_request_table twice.
Avoid creating various user name indexes twice.
Adds some more timing logs.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Tue, 30 Jan 2018 16:07:12 +0000 (11:07 -0500)]
JBAS-1804 2.12 SQL wrap perm updates w/ insert check
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bradley Bonner [Wed, 24 Jan 2018 21:00:32 +0000 (13:00 -0800)]
JBAS-1972 - add 245$n to pull list alternate print title
.. and CHS, as side benefit.
Bradley Bonner
bbonner@kcls.org
Bill Erickson [Mon, 18 Dec 2017 17:19:18 +0000 (12:19 -0500)]
JBAS-1804 KCLS 2.11 + 2.12 staff release notes
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Mon, 18 Dec 2017 17:10:52 +0000 (12:10 -0500)]
JBAS-1804 KCLS 2.11 + 2.12 staff release notes
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Mon, 29 Jan 2018 21:25:03 +0000 (16:25 -0500)]
JBAS-1802 2.10->2.12 SQL Upgrade
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Thu, 18 Jan 2018 22:29:03 +0000 (17:29 -0500)]
JBAS-1470 Bib linking uses 700/710m,o,r,s subfields
Add back 700 and 710 $m, $o, $r, $s subfields for link matching. These
should never have been removed.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Thu, 11 Jan 2018 21:28:02 +0000 (16:28 -0500)]
JBAS-1926 Patron edit print non-free-text statcats
Add support for printing values for non-free-text stat cats, whose
values have to be extracted differently from those of free-text cats
in the patron edit interface.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Thu, 11 Jan 2018 17:28:47 +0000 (12:28 -0500)]
JBAS-1929 Expand mattype filtered browse bounds
Look farther and wider for matching browse records when filtering by
mattype to improve likelihood of finding a full page of results.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Thu, 11 Jan 2018 16:46:26 +0000 (11:46 -0500)]
JBAS-1929 Filter bib links at vis check time
Filter all bibs that don't match the requested mattype during the
visibility checking stage instead of the link-finding stage to ensure
all related bib links are scanned for viability.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Wed, 10 Jan 2018 21:17:26 +0000 (16:17 -0500)]
JBAS-1932 New headings mattype filter label tweak
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Wed, 10 Jan 2018 19:26:23 +0000 (14:26 -0500)]
JBAS-1929 Browse mattype filter see link counts
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Wed, 3 Jan 2018 16:22:13 +0000 (11:22 -0500)]
JBAS-1470 Multi target replaces only subfields
When performing wholesale replacement of a bib field, only replace as
many target fields as exist on the source record. I.e. avoid
propagating and repating the same whole field multiple times into the
target record.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Tue, 2 Jan 2018 22:45:43 +0000 (17:45 -0500)]
JBAS-1470 Support multiple target field replacements
Allow a single (e.g. authority) record field to act as the basis for
replacing multiple like values on a target bib record.
E.g. replace multiple bib 700a values from a single authority 100a
value.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Tue, 2 Jan 2018 21:01:59 +0000 (13:01 -0800)]
JBAS-1764 A/T purge sql speed improvements
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Thu, 28 Dec 2017 17:24:16 +0000 (12:24 -0500)]
JBAS-1929 Catalog browse mattype sql repairs
Remove errant mattype filter on authority simple heading sub-filter in
the browse query. Authority records don't have mattypes.
Improve speed of mattype filter by referencing
metabib.record_attr_vector_list directly instead of using the nested
record_attr view.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Thu, 28 Dec 2017 16:51:29 +0000 (11:51 -0500)]
JBAS-1932 New headings mattype sql speed improvements
Join the mattype data via a more direct path instead of the nested
views.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Tue, 19 Dec 2017 20:58:02 +0000 (15:58 -0500)]
JBAS-1764 A/T purge SQL COMMIT
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Mon, 23 Oct 2017 17:57:22 +0000 (13:57 -0400)]
JBAS-1764 A/T purge CRON script
Signed-off-by: Bill Erickson <berickxx@gmail.com>
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