Terran McCanna [Thu, 5 Aug 2021 22:36:17 +0000 (18:36 -0400)]
Quipu Online Account Renewal - Squashed
Online Renewal - Start of working branch
- Creates placeholders for new English & Spanish pages
- Adds ability for those pages to load
- Create div on My Account main page & prefs page to hold renewal message or button
- Adds code to check whether or not patron is eligible to renew online or not:
* patron has not already had one temporary renewal
* patron account is still active
* patron account expiration date is no more than 30 days in the future
* patron account is not barred
* patron account does not have a staff-added blocking alert
* patron does not owe any fines
* patron is not in collections (even if patron pays fines, staff still need
to remove collections note)
* patron is in one of these perm groups: Patron (2), Friend (14), GLS (56),
Homebound (53), Trustee (22), Quipu (64), Digital Only (60)
* patron has a valid billing address
* patron has a valid day phone
NOTE: New standing penalty needs to be created called PATRON_TEMP_RENEWAL.
It should display a staff alert and have the label "Patron was given a 30-day temporary account renewal. Please archive this message after the account is fully renewed." It should not create any type of block on its own. The ID of
the new standing penalty needs to be updated in the Account.pm file.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Online Renewal - Progress on writing quipu into to db
Still to do:
* Actor.pm - failing on standing penalties line 597
* sub update_addresses - creating separate addresses works if mailing & billing are different,
but it is not checking the right checkbox
* writing new home ou is failing on terran-test, but should work on pines data
* after update, opac page doesn't refresh
* if this is a temporary (30 day) renewal, need to pass message to quipu telling patron to come to the library
* if temp renewal, need to add alert to patron account to inform staff to get proof of identity to do full renewal
* need to test voter registration survey on pines test server since I don't have that on my test server
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Online Renewal - Show Updated Expire Date
Without this, the page loads the initial patron expiration date
and continues to show the button to renew the account.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Online Renewal - Document which patron groups are eligible in code
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Online Renewal - Now saving and responding okay
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
add column to permission.grp_tree to account for e-renew
Online Renewal - tweak SQL
- Parentheses on first SQL generated error.
- Set erenew default to FALSE instead of TRUE.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Online Renewal - See & update permission group setting through staff client
Fixes the redirect from the KPAC login to return back to the
home page of the KPAC from the /opac/login screen, rather
than back to the /opac/home screen, which is the current
behavior, and confuses users of the KPAC when they end
up back in the OPAC after having logged in.
Modified KPAC login code to redirect to KPAC after logging in
Signed-off-by: Adam Bowling <abowling@emeralddata.net> Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Conflicts:
Open-ILS/src/templates/kpac/parts/header.tt2
Fix for too-large header sizes causing display issues in KPAC
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Fix for KPAC holdings display issue.
Updated link to old library map to new library locator map in KPAC.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Improvements to KPAC list display, especially adding
display of list annotations that were not shown.
Removed added content from the KPAC for now since it doesn't
display properly. Possibly add back in later if we can get
the NoveList content to pull in right.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
KPAC changes in preparation for upgrade:
1. Biggest change was to move the library selector box to the main
search panel instead of on the side - had to modify quite a few files
in order to make this work and pass the values correctly.
2. Also changed the feature icons to use links instead of search terms
to allow more control over search limits and sorting and to see if
caching the searches would improve response speed.
3. A number of smaller UI changes.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
KPAC - Hold results not displaying item title and throwing log error
I believe the path comparison operator in the 'load' subroutine has
a flaw in logic caused by a path-naming problem. The path-matching
function recognizes the kpac/getit_results path as matching positively
for both the load_getit subroutine and the load_getit_results subroutine.
This patch reverses the order in which the matching occurs in an attempt
to resolve the conflict.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
I've redone all of the kpac category links so they no longer use
a link shortener. I also rearranged some of the links so that there
are more options on the home page.
Updates to KPAC Features (addition of TumbleBooks)
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Since we only have bits and pieces of Spanish translations for our
customized KPAC right now, removing the parts that would display in
Spanish if Spanish has been selected in the OPAC. In the future when
all parts of the KPAC have been translated and graphic buttons have
been switched to text buttons that can be translated, we will then
need to go back in and re-add the language markup to allow the
translations to occur.
Bill Erickson [Tue, 7 Jul 2020 14:41:36 +0000 (10:41 -0400)]
Quipu Ecard Registration - Squashed for EG 3.10
KCLS Quipu integration bits
Notes:
1. See constants along the top of Ecard.pm which will need changing.
2. Ecard.pm add_stat_cats() is very kcls-specific
3. The vendor login uses a new password type 'ecard_vendor' which does
not have the intermediate md5 hashing.
4. Ecard.pm and templates have header/footer stuff that's specific to
bibliocommons and should be removed.
Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Quipu eCard Integration for PINES
Altering KCLS's Quipu eCard implementation to align
with PINES's needs, with an eye towards a generic feature
that could be submitted to Evergreen master.
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Quipu Customizations
Move library card application link to top menu instead of bottom menu,
cleaned up a lot of whitespace issues and old commented out text,
added CSS controls for parts of the Quipu form.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Quipu Self-Registration Form
Edited both ecard.tt2 and register.tt2 to add quipu form javascript
and add intro text.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Quipu Ecard Form Update
Added CSS to intro text to hide unless Quipu's code tells it to display.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
OPAC: Quipu changes for Bootstrap OPAC
This commit just modifies the front end registration page and CSS,
not the perl changes.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
OPAC: fix Quipu ecard for bootstrap
Quipu - Adjust iframe height
The iframe was cutting off the form causing a double scroll
bar in the browser. This increases the height so that additional
scrolling is not needed.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
PINES Customization: Quipu Spanish Form
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Quipu: check on full DOB, skip address checking
Bill Erickson [Tue, 7 Jul 2020 14:41:36 +0000 (10:41 -0400)]
Quipu Ecard Registration - Squashed for EG 3.10
KCLS Quipu integration bits
Notes:
1. See constants along the top of Ecard.pm which will need changing.
2. Ecard.pm add_stat_cats() is very kcls-specific
3. The vendor login uses a new password type 'ecard_vendor' which does
not have the intermediate md5 hashing.
4. Ecard.pm and templates have header/footer stuff that's specific to
bibliocommons and should be removed.
Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Quipu eCard Integration for PINES
Altering KCLS's Quipu eCard implementation to align
with PINES's needs, with an eye towards a generic feature
that could be submitted to Evergreen master.
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Quipu Customizations
Move library card application link to top menu instead of bottom menu,
cleaned up a lot of whitespace issues and old commented out text,
added CSS controls for parts of the Quipu form.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Quipu Self-Registration Form
Edited both ecard.tt2 and register.tt2 to add quipu form javascript
and add intro text.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Quipu Ecard Form Update
Added CSS to intro text to hide unless Quipu's code tells it to display.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
OPAC: Quipu changes for Bootstrap OPAC
This commit just modifies the front end registration page and CSS,
not the perl changes.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
OPAC: fix Quipu ecard for bootstrap
Quipu - Adjust iframe height
The iframe was cutting off the form causing a double scroll
bar in the browser. This increases the height so that additional
scrolling is not needed.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
PINES Customization: Quipu Spanish Form
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Quipu: check on full DOB, skip address checking
Bill Erickson [Tue, 7 Jul 2020 14:41:36 +0000 (10:41 -0400)]
Quipu Ecard Registration - Squashed for EG 3.10
KCLS Quipu integration bits
Notes:
1. See constants along the top of Ecard.pm which will need changing.
2. Ecard.pm add_stat_cats() is very kcls-specific
3. The vendor login uses a new password type 'ecard_vendor' which does
not have the intermediate md5 hashing.
4. Ecard.pm and templates have header/footer stuff that's specific to
bibliocommons and should be removed.
Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Quipu eCard Integration for PINES
Altering KCLS's Quipu eCard implementation to align
with PINES's needs, with an eye towards a generic feature
that could be submitted to Evergreen master.
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Quipu Customizations
Move library card application link to top menu instead of bottom menu,
cleaned up a lot of whitespace issues and old commented out text,
added CSS controls for parts of the Quipu form.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Quipu Self-Registration Form
Edited both ecard.tt2 and register.tt2 to add quipu form javascript
and add intro text.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Quipu Ecard Form Update
Added CSS to intro text to hide unless Quipu's code tells it to display.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
OPAC: Quipu changes for Bootstrap OPAC
This commit just modifies the front end registration page and CSS,
not the perl changes.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
OPAC: fix Quipu ecard for bootstrap
Quipu - Adjust iframe height
The iframe was cutting off the form causing a double scroll
bar in the browser. This increases the height so that additional
scrolling is not needed.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
PINES Customization: Quipu Spanish Form
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Quipu: check on full DOB, skip address checking
Bill Erickson [Tue, 7 Jul 2020 14:41:36 +0000 (10:41 -0400)]
Quipu Ecard Registration - Squashed for EG 3.10
KCLS Quipu integration bits
Notes:
1. See constants along the top of Ecard.pm which will need changing.
2. Ecard.pm add_stat_cats() is very kcls-specific
3. The vendor login uses a new password type 'ecard_vendor' which does
not have the intermediate md5 hashing.
4. Ecard.pm and templates have header/footer stuff that's specific to
bibliocommons and should be removed.
Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Quipu eCard Integration for PINES
Altering KCLS's Quipu eCard implementation to align
with PINES's needs, with an eye towards a generic feature
that could be submitted to Evergreen master.
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Quipu Customizations
Move library card application link to top menu instead of bottom menu,
cleaned up a lot of whitespace issues and old commented out text,
added CSS controls for parts of the Quipu form.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Quipu Self-Registration Form
Edited both ecard.tt2 and register.tt2 to add quipu form javascript
and add intro text.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Quipu Ecard Form Update
Added CSS to intro text to hide unless Quipu's code tells it to display.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
OPAC: Quipu changes for Bootstrap OPAC
This commit just modifies the front end registration page and CSS,
not the perl changes.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
OPAC: fix Quipu ecard for bootstrap
Quipu - Adjust iframe height
The iframe was cutting off the form causing a double scroll
bar in the browser. This increases the height so that additional
scrolling is not needed.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
PINES Customization: Quipu Spanish Form
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Quipu: check on full DOB, skip address checking
Enable ability for carousel to automatically advance every 2 seconds.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
OPAC: restore books image for carousels
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
LP1929872 Open Carousel as a Result List
This adds a new link in the carousel block that will open the
contents of that carousel in a result list format so that a patron
can see everything at once.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Carousel - moving logic to open carousel as a list into new API
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
LP1929872 Make carousel title into link
(instead of having a new link under the title)
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
LP1929872 Fixing link
PINES OPAC Carousel CSS
Adds additional CSS for iframe usage that overrides the basic
OPAC usage CSS.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
PINES - Add list icon next to carousel title
Chris Sharp [Wed, 1 Apr 2015 17:16:03 +0000 (13:16 -0400)]
PINES Custom Self-Check for 3.10 Upgrade#
branding the built-in selfcheck interface for PINES
These are modifications to the Evergreen self-check interface to:
1. Fix bugs with printing holds and fines.
2. Improve page layout overall, and with consideration for
1024x768 resolution monitors that a lot of libraries use.
3. Hide hold status from view on holds table.
4. Hide buttons/fields from screen when user is not logged in.
Change base.xul/base.js to support a "cookie path" option to limit what paths
will use the login cookie, then tell the selfcheck interface to use it.
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org> Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Self-Check changes in preparation for upgrade:
Changed wording on some of the on-screen directions.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Restoring selfcheck.js to stock version
PINES Customization: Self-check text changes
Modified login text to make it more user friendly.
Added note to screen referring people to online catalog if they
wish to perform functions not available in self-check such as
paying fines and handling renewals.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
PINES fix for self-check missing code
This adds back code that is in master and was in rel_3_6_1, but was
missing in rel_3_8_0.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
PINES Customization to Self-check Wording
Previously, the selfcheck ignored this setting if it was
set to "False", since the setting value is stored as text
and the truth test always succeeded. Instead, explicitly
check that the setting is "True".
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Customization of self-check interface so that username, password,
and barcode text banners appear in different colors in an effort
to make it clearer to patrons that they are being asked for a
different type of information.
Note that that this also tweaks the password check because the old
format was different from current master and no longer working correctly.
Terran McCanna [Mon, 1 Mar 2021 15:41:04 +0000 (10:41 -0500)]
PINES Customization to Curbside Pickup
Currently, the curbside module only allows you to view items
to be staged and items that are staged 2 time slots ahead. This is
hardcoded in the perlmod and really should be org unit settings, but
for now, this adjusts that number to 10 slots ahead as a temporary
workaround.
Terran McCanna [Wed, 20 May 2020 19:33:57 +0000 (15:33 -0400)]
LP1840950 Patron expiration date & iPads
This resolves a problem where the patron expiration date was not
displaying when editing a patron account on an iOS device because
Safari did not allow the deprecated Date() function.
This code uses javascript to reformat the date, similar to how the
DOB on the same form is handled.
Chris Sharp [Fri, 22 Nov 2019 20:18:57 +0000 (15:18 -0500)]
LP#1849334 - Protect precat volumes from accidental staff edits
It is possible to edit the precat volume (id = -1) in a batch
volume/copy edit in the webclient. We assume that valid changeable
volumes have an id > 0, then allow changes.
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
PINES Customization: Alter wording for COPY_CIRC_NOT_ALLOWED
Change wording of COPY_CIRC_NOT_ALLOWED message because the default
wording indicates that it is a problem with the copy, but it can
also be triggered when there is a problem with the user (such as when
a Digital Only user attempts to check out a physical item).
The purchase order reporting source contains several fields that are
available in the reporter but are non-functional (because they are
generated on-the-fly within user interfaces). This view allows a
similar calculation and provides access back to the PO object as well.
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Terran McCanna [Wed, 10 Jan 2018 21:56:38 +0000 (16:56 -0500)]
PINES Customization: Hide Claims Never Checked Out Action
On the patron account's Items Out screen, hide the
Mark Claims Never Checked Out action since we do not use
it in PINES and there is no associated permission to prevent
it from working.