Jake Litrell [Wed, 24 Feb 2016 01:18:48 +0000 (20:18 -0500)]
LP#
1519055: Adding Electronic to seed values; adding upgrade script.
Signed-off-by: Jake Litrell <jake@masslnc.org>
Signed-off-by: Ben Shum <ben@evergreener.net>
Jake Litrell [Tue, 23 Feb 2016 22:47:15 +0000 (17:47 -0500)]
LP#
1519055: Fixes
Removing the <br> which moves the search results checkboxes to a new
line. Formatting will be addressed in a separate bug.
Signed-off-by: Jake Litrell <jake@masslnc.org>
Signed-off-by: Ben Shum <ben@evergreener.net>
Jake Litrell [Mon, 22 Feb 2016 05:17:36 +0000 (00:17 -0500)]
LP#
1519055: Exclude Electronic checkbox on results page updates results.
Signed-off-by: Jake Litrell <jake@masslnc.org>
Signed-off-by: Ben Shum <ben@evergreener.net>
Jake Litrell [Mon, 22 Feb 2016 04:16:51 +0000 (23:16 -0500)]
LP#
1519055: more changes
- Add checkbox to search results page
- Adding persistence for checkboxes.
- Sentence Case Fix
Signed-off-by: Jake Litrell <jake@masslnc.org>
Signed-off-by: Ben Shum <ben@evergreener.net>
Jake Litrell [Mon, 8 Feb 2016 20:51:10 +0000 (15:51 -0500)]
LP#
1519055: Simple checkbox to exclude electronic resources from search results
Initial checkbox to exclude electronic resources (types 'o' and 's' for
now).
Signed-off-by: Jake Litrell <jake@masslnc.org>
Signed-off-by: Ben Shum <ben@evergreener.net>
Jake Litrell [Mon, 8 Feb 2016 19:37:47 +0000 (14:37 -0500)]
Whitespace cleanup.
Signed-off-by: Jake Litrell <jake@masslnc.org>
Signed-off-by: Ben Shum <ben@evergreener.net>
Ben Shum [Sun, 28 Feb 2016 00:27:45 +0000 (19:27 -0500)]
LP#
1506534: Stamping upgrade script for new z3950_attr_type check
Signed-off-by: Ben Shum <ben@evergreener.net>
Ben Shum [Sun, 28 Feb 2016 00:28:37 +0000 (19:28 -0500)]
LP#
1506534: Fix typo in for z3950_attr_type
In 002.schema.config.sql there was a small typo for "z3950attr_name_is_valid"
where that should be "z3950_attr_name_is_valid" with the underscore between.
Fix to stop breakage on new database installs.
Signed-off-by: Ben Shum <ben@evergreener.net>
Jason Boyer [Tue, 29 Dec 2015 18:53:04 +0000 (13:53 -0500)]
LP#
1506534: Improve czifm z3950_attr_type Check
Rather than use a CHECK constraint, this patch
uses a CONSTRAINT TRIGGER, er, constraint to verify
the z3950_attr_type field. This allows the trigger
to be deferred as any other deferrable constraint
and also allows parallel pg_restore jobs to complete
properly.
Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Ben Shum <ben@evergreener.net>
Jason Boyer [Wed, 2 Sep 2015 20:20:13 +0000 (16:20 -0400)]
LP#
1491571: Ignore Case when Checking PW Reset email
Emails are not passwords and are not case sensitive;
while it is a good idea to require patrons to prove
they know the address associated with their account
it is not cool to deny them because they don't know
the capitalization of the value in the database.
Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Ben Shum <ben@evergreener.net>
Bill Erickson [Tue, 14 Jul 2015 18:25:34 +0000 (14:25 -0400)]
LP#
1474566 Avoid credit card payment rounding
Calculate total amount for credit payment as integers to avoid rounding
errors w/ large sets of small billings.
E.g. avoid trying to pay a fine of 9.
999999999999 for a set of fines
which should add up to 10.00.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Ben Shum <ben@evergreener.net>
Dan Pearl [Fri, 2 Oct 2015 18:54:39 +0000 (14:54 -0400)]
LP#
1197636 - Email record detail does not check for email
Even though no email was configured, the message shown when requesting
bib information to be emailed indicated success. This misleading
behavior has been addressed by alerting the patron of the situation
and providing a link to the page where the email address is defined,
after which the action is automatically retried.
The success message has also been altered slightly to provide
confirmation of the generated email.
To test:
[1] Create a patron account that does not have an email address.
[2] In the OPAC, log in as that patron and attempt to email a
bib record. A message should display indicating that the
email can be sent; that message should contain a link to the
user's account page where they can set their email address.
[3] After setting the email address, you should then be
redirected back and the email sent.
Signed-off-by: Dan Pearl <dpearl@cwmars.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Ben Shum <ben@evergreener.net>
Kathy Lussier [Fri, 29 Jan 2016 21:19:17 +0000 (16:19 -0500)]
LP#
1539776 Stop wrapping of radio buttons in vol/copy editor
Simple CSS tweak to keep radio buttons and their labels on the same line.
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Ben Shum <ben@evergreener.net>
Jason Etheridge [Tue, 16 Feb 2016 13:49:16 +0000 (08:49 -0500)]
LP#
1546125: use correct service for .storePrintTemplate
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Ben Shum <ben@evergreener.net>
Chris Sharp [Fri, 26 Feb 2016 22:34:25 +0000 (17:34 -0500)]
LP#
1516104: Amending wording in license text to clarify correct license.
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Ben Shum <ben@evergreener.net>
Chris Sharp [Mon, 4 Jan 2016 20:33:37 +0000 (15:33 -0500)]
LP#
1516104: Adding the PNGs generated from mrpeters' SVG files and adjusting the file paths/names.
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Removing placeholder icons
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Ben Shum <ben@evergreener.net>
Michael Peters [Mon, 4 Jan 2016 19:23:08 +0000 (14:23 -0500)]
LP#
1516104: Create Invoice and Purchase Order Search Icon Vectors
Created SVG vector art derived from existing icon art to accomodate missing
search icons for purchase order and invoices in Acquisitions.
Signed-off-by: Michael Peters <mpeters@emeralddata.net>
Signed-off-by: Ben Shum <ben@evergreener.net>
Chris Sharp [Fri, 13 Nov 2015 16:21:57 +0000 (11:21 -0500)]
LP#
1516104: Adding additional toolbar options for acq.
"Invoices" and "Purchase Orders"
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Ben Shum <ben@evergreener.net>
Kathy Lussier [Thu, 25 Feb 2016 17:26:02 +0000 (12:26 -0500)]
LP#
1422802 Fix javascript validation for visible parts
The previous javascript validation was not working for records with just one
part. This one works better. Many thanks to Dan Wells for identifying the fix.
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Ben Shum <ben@evergreener.net>
Kathy Lussier [Fri, 26 Feb 2016 22:03:03 +0000 (17:03 -0500)]
LP#122975 Add year to copyright statement
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Kathy Lussier [Thu, 25 Feb 2016 22:01:11 +0000 (17:01 -0500)]
lp122975-add-licensing-text
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Martha Driscoll [Mon, 22 Feb 2016 20:34:15 +0000 (15:34 -0500)]
LP1229757 - Distinct images for holds, reserves, transits
This commit changes the references to turtle.gif to three new images
holdshelf.png, reserve.png, and transit.png. When checking in a copy
that needs to go on the hold shelf, on the reservation shelf, or
in transit, a distinct image will show in the pop-up window.
Signed-off-by: Martha Driscoll <driscoll@noblenet.org>
Kathy Lussier [Fri, 26 Feb 2016 20:59:37 +0000 (15:59 -0500)]
LP#
1548143 Stamping upgrade script for Vandelay parts support
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Dan Wells [Tue, 13 Oct 2015 15:27:14 +0000 (11:27 -0400)]
LP#
1548143 Support for parts import in Vandelay
This commit adds support for 'parts' import in Vandelay. It is
modeled after the existing support for stat cat import. As such, it:
- Uses '|' characters to separate labels to allow for multiple
part assignment.
- Adds to (rather than replaces) any existing parts assigned to overlay
copies.
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Bill Erickson [Fri, 26 Feb 2016 15:11:56 +0000 (10:11 -0500)]
LP#
1468422 Stamping DB upgrade for actor.passwd
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Dan Wells [Tue, 26 Jan 2016 19:22:21 +0000 (14:22 -0500)]
LP#
1468422 Use auth_internal.validate to shore up AuthProxy
Even if a user has valid credentials in the external system, we should
block them from logging in if their Evergreen account is out of sorts.
Use the API designed for this.
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Dan Wells [Tue, 26 Jan 2016 18:36:14 +0000 (13:36 -0500)]
LP#
1468422 "Aut" to "Auth" typo fix
Just cosmetic for now, but potentially for future sanity protection.
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Dan Wells [Tue, 5 Jan 2016 19:24:21 +0000 (14:24 -0500)]
LP#
1468422 Make AuthProxy.pm work with new auth
Previously, AuthProxy.pm would simply lookup and use the hashed password
when the external authentication had passed. This simple method no
longer works, since even cstore doesn't have access to the hashed
password.
Instead, take advantage of the new 'auth_internal' service to create the
user session after the user has been externally authenticated.
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Dan Wells [Tue, 5 Jan 2016 19:21:11 +0000 (14:21 -0500)]
LP#
1468422 Tighten AuthProxy argument requirements
Basically, if we aren't given a username, and we can't find a username
by barcode, give up immediately. This helps simplify the rest of the
code a bit.
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Bill Erickson [Thu, 18 Feb 2016 15:42:11 +0000 (10:42 -0500)]
LP#
1468422 Release notes example avoid re-migrate
Update the batch password migrate example code in the release notes to
avoid attempts at migrating already migrated passwords.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Bill Erickson [Thu, 18 Feb 2016 15:28:46 +0000 (10:28 -0500)]
LP#
1468422 Manual password migrate does not re-migrate
Avoid migrating already-migrated passwords when actor.migrate_passwd()
is called manually.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Bill Erickson [Wed, 17 Feb 2016 22:33:39 +0000 (17:33 -0500)]
LP#
1468422 Release notes manual pw migration comments
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Bill Erickson [Wed, 17 Feb 2016 22:23:34 +0000 (17:23 -0500)]
LP#
1468422 Drop auth work factor from 14 to 10
Avoid what may be an unacceptible login delay caused by work factor 14
by dropping down to 10. This reduces the CRYPT() time from ~1 second to
~.1 seconds.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Bill Erickson [Mon, 1 Feb 2016 15:15:23 +0000 (10:15 -0500)]
LP#
1468422 Always default to root org unit
If no org unit is passed by the caller, always default to the root org
unit.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Bill Erickson [Wed, 27 Jan 2016 17:11:33 +0000 (12:11 -0500)]
LP#
1468422 Auth efficiency improvements
1. Adds an oils_utils function for retrieving the ID of the root org
unit.
2. Avoid multiple cstore/db lookups for the root org unit by caching the
ID at the process level.
3. Move permission checks from open-ils.storage to open-ils.cstore.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Bill Erickson [Wed, 27 Jan 2016 16:46:17 +0000 (11:46 -0500)]
LP#
1468422 Login permission checks are global
For backwards compat, perform all login permission checks using the root
org unit as the context org unit.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Bill Erickson [Tue, 26 Jan 2016 19:16:06 +0000 (14:16 -0500)]
LP#
1468422 Return vanilla login failure on nonexistent username/barcode
For backwards compatibility (and security), return the same login
failure for nonexistent usernames/barcodes as for bad passwords, etc.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Bill Erickson [Mon, 11 Jan 2016 16:02:23 +0000 (11:02 -0500)]
LP#
1468422 Report inactive card on password OK
Prevent leaking information from authentication by only reporting that a
card is inactive if the caller provided the correct credentials. This
is consistent with how the code handles inactive patrons.
To avoid a lot of code duplication and to reduce the potential for
leaking memory (C code, amiright?), this commit includes a number of
changes to avoid exiting the API function early and saving the memory
cleanup routines until the end of the API call.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Bill Erickson [Fri, 8 Jan 2016 20:06:14 +0000 (15:06 -0500)]
LP#
1468422 auth-internal validate API
Adds a new open-ils.auth_internal API
open-ils.auth_internal.user.validate for checking whether a user should
be allowed to login.
It tests user existence, active=true, barred=false, deleted=false.
If a barcode is also provided, it confirms the barcode exists and is
active.
Modifies open-ils.auth.authenticate.complete to use the new API instead
of implementing the logic directly.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Bill Erickson [Tue, 24 Nov 2015 17:18:16 +0000 (12:18 -0500)]
LP#
1468422 Remove deprecated open-ils.storage remote_update
User update in Actor.pm was the only remaining code that leveraged
the open-ils.storage remote_update API. With that code moving to
open-ils.cstore, save some RAM by no longer auto-loading/publishing
remote_update methods.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Bill Erickson [Tue, 24 Nov 2015 16:46:32 +0000 (11:46 -0500)]
LP#
1468422 SIP password verification
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Bill Erickson [Tue, 24 Nov 2015 16:31:06 +0000 (11:31 -0500)]
LP#
1468422 Implement password reset updates
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Bill Erickson [Tue, 24 Nov 2015 16:15:06 +0000 (11:15 -0500)]
LP#
1468422 Port user update to cstore
Migrate the user update code from open-ils.storage to open-ils.cstore.
This has several benefits:
1. We can re-use the patron password update code
2. Several actions (bad contacts, invalid address) which previously
resulted in data modifications outside the main transaction now
take place with the main patron update transaction.
3. Bigger, better, faster, stronger.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Bill Erickson [Mon, 23 Nov 2015 22:13:48 +0000 (17:13 -0500)]
LP#
1468422 Password verify and password update
These API's now support new-style passwords:
open-ils.actor.verify_user_password
open-ils.actor.user.password.update
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Bill Erickson [Mon, 23 Nov 2015 18:56:36 +0000 (13:56 -0500)]
LP#
1468422 Admin seed data sets new-style passwd
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Bill Erickson [Mon, 23 Nov 2015 18:22:37 +0000 (13:22 -0500)]
LP#
1468422 Password storage release notes
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Bill Erickson [Mon, 23 Nov 2015 17:51:31 +0000 (12:51 -0500)]
LP#
1468422 Admin seed data sets new-style passwd
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Bill Erickson [Thu, 19 Nov 2015 20:00:20 +0000 (15:00 -0500)]
LP#
1468422 New open-ils.auth_internal service
Service is responsible for adding user data to the authentication cache.
Cache times are determined from opensrf.xml/AOUS settings. No
authentication checks are performed.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Bill Erickson [Fri, 24 Jul 2015 15:20:06 +0000 (11:20 -0400)]
LP#
1468422 Add libpcre to build for open-ils.auth
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Bill Erickson [Wed, 22 Jul 2015 22:02:19 +0000 (18:02 -0400)]
LP#
1468422 open-ils.auth API salted pw changes
Added .init.barcode and .init.username methods.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Bill Erickson [Fri, 17 Jul 2015 20:00:17 +0000 (16:00 -0400)]
LP#
1468422 Password storage/migration SQL getting started
* Backwards compatible salted password storage using pgcrypt
* Adds actor.passwd and actor.passwd_type tables
* Includes pgtap tests
* Includes installation of pgcrypto
Current flow:
1. Application requests a salt to use as the CHAP-style seed
2. If new-style password exists, salt is returned.
3. Else, old password is migrated and the new salt is returned.
4. App finalizes login by checking verify_passwd.
== continued...
Store the iter_count and start using the crypt_algo column.
Make it possible to change the salt, and potentially strengthen
the salt, when changing passwords.
Make is possible to start salt-less passwords, for pw's that are managed
outside of the DB.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Bill Erickson [Thu, 25 Feb 2016 18:33:20 +0000 (13:33 -0500)]
LP#
1333254 Improve entry debit maintenance for inv. open/close.
Improve handling of debit->entry links for invoices that cross the
open/close boundary, modifying the number of items invoiced on an entry,
and rolling back invoice entry debits.
Prior to this, some debits would be unnecessarily linked to entries and
fail to clean up properly when rolled back.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Bill Erickson [Wed, 24 Feb 2016 17:35:53 +0000 (12:35 -0500)]
LP#
1333254 Support closing new invoices
Allow invoices to be closed at create time (as originally intended) by
fixing code thinko.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Bill Erickson [Mon, 4 Jan 2016 19:38:28 +0000 (14:38 -0500)]
LP#
1333254 Release notes
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Bill Erickson [Mon, 4 Jan 2016 20:24:18 +0000 (15:24 -0500)]
LP#
1333254 Perl live tests
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Bill Erickson [Thu, 31 Dec 2015 22:35:34 +0000 (17:35 -0500)]
LP#
1333254 Disencumber on invoice close
Set encumbrance=false on invoiced fund debits when the invoice is closed
(complete=true) instead of when the invoice is created.
To test:
1. Activate a purchase order.
2. Create an invoice for the PO.
3. Confirm PO shows same amount encumbered as befor invoicing and $0
paid.
4. Close the invoice.
5. Confirm amount encumbered on the PO is reduced by the amount invoiced
and the amount paid on the PO is increased by the amount invoiced.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Kathy Lussier [Fri, 26 Feb 2016 00:30:05 +0000 (19:30 -0500)]
LP#
1527342 Stamping upgrade script decouple checkout history
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Bill Erickson [Thu, 25 Feb 2016 18:52:29 +0000 (13:52 -0500)]
LP#
1527342 Improve display of C/O history delete warning
Move the history warning to the top of the form for visbility and avoid
displaying the success message when the warning is also displayed.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Bill Erickson [Wed, 24 Feb 2016 15:01:06 +0000 (10:01 -0500)]
LP#
1527342 Patron CO history CSV update core type
Modify circ.format.history.csv to core type of 'auch' in seed data.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Bill Erickson [Tue, 23 Feb 2016 15:42:27 +0000 (10:42 -0500)]
LP#
1527342 Patron checkout history CSV export repair
When exporting circ history as CSV, export history objects, not
(unrelated) circ objects.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Bill Erickson [Mon, 28 Dec 2015 17:22:57 +0000 (12:22 -0500)]
LP#
1527342 Patron checkout history table release notes
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Bill Erickson [Mon, 28 Dec 2015 15:43:58 +0000 (10:43 -0500)]
LP#
1527342 Patron checkout history PGTAP tests
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Bill Erickson [Tue, 22 Dec 2015 20:14:12 +0000 (15:14 -0500)]
LP#
1527342 search result history tagging
Use circ history data to indicate circulated items in search results.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Bill Erickson [Mon, 21 Dec 2015 16:19:19 +0000 (11:19 -0500)]
LP#
1527342 Patron checkout history TPAC display
Checkout history is now derived from the new action.usr_circ_history
table. When a patron disables circ history, all history is deleted from
the new table. Also, when disabling circ or holds history, the patron
is now warned if data will be deleted or, in the case of holds, become
inaccessible.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Bill Erickson [Wed, 30 Dec 2015 16:53:52 +0000 (11:53 -0500)]
LP#
1527342 Patron co history remove on purge
Delete checkout history rows when purging a user.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Bill Erickson [Fri, 18 Dec 2015 23:09:16 +0000 (18:09 -0500)]
LP#
1527342 Patron checkout history SQL/IDL
Adds a new table action.usr_circ_history for tracking opt-in checkout
history. History is maintained via trigger on action.circulation.
Includes updates to html/email/csv checkout history templates to
gracefully handle NULL checkin_time values, since history starts as soon
as an item is checked out.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Galen Charlton [Thu, 25 Feb 2016 22:48:54 +0000 (17:48 -0500)]
LP#
1452950: add release notes
Currently treating this as a technology preview; this may
change before release of 2.10.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Bill Erickson [Sun, 21 Feb 2016 23:43:53 +0000 (18:43 -0500)]
LP#
1452950 Patron reg pending users
Support loading pending users and removing pending users after save.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Bill Erickson [Thu, 18 Feb 2016 14:59:09 +0000 (09:59 -0500)]
LP#
1452950 Patron reg. clone user
Implemented Save & Clone.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Bill Erickson [Wed, 17 Feb 2016 02:40:57 +0000 (21:40 -0500)]
LP#
1452950 date input supports null dates
Leave a date unset when its value is null instead of defaulting to now.
Support unsetting a date when its value is cleared.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Bill Erickson [Wed, 17 Feb 2016 01:56:26 +0000 (20:56 -0500)]
LP#
1452950 re-attach unload warning after click-through
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Bill Erickson [Sat, 23 Jan 2016 20:19:00 +0000 (15:19 -0500)]
LP#
1452950 Support free-text stat cats
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Bill Erickson [Fri, 22 Jan 2016 03:21:15 +0000 (22:21 -0500)]
LP#
1452950 Stat cat maps store values, not links
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Bill Erickson [Sat, 16 Jan 2016 20:15:01 +0000 (15:15 -0500)]
LP#
1452950 Remove unsaved data warning after click-thru
Once the user clicks through the unsaved data warning, clear the warning
for future navigation. If more fields are changed, the warning will be
reinstated.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Bill Erickson [Mon, 21 Dec 2015 00:51:01 +0000 (19:51 -0500)]
LP#
1452950 Unload prompts more handlers / dupe styling
Link in remaining unload onchange handlers. Use bootstrap alert styles
for dupe patron links.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Bill Erickson [Sat, 16 Jan 2016 16:42:59 +0000 (11:42 -0500)]
LP#
1452950 Secondary groups dialog scrollable groups list
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Bill Erickson [Sat, 16 Jan 2016 16:39:08 +0000 (11:39 -0500)]
LP#
1452950 Patron reg pass=phone on new patrons only
When changing a patron's phone number, only modify the password for new
patrons when the org setting patron.password.use_phone is enabled.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Bill Erickson [Sat, 16 Jan 2016 16:34:44 +0000 (11:34 -0500)]
LP#
1452950 Patron reg avoid data re-fetch
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Bill Erickson [Sat, 16 Jan 2016 16:33:38 +0000 (11:33 -0500)]
LP#
1452950 Remove dupe/doc floating div dashed border
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Bill Erickson [Thu, 17 Dec 2015 02:11:44 +0000 (21:11 -0500)]
LP#
1452950 patron reg. unload prompt stub
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Bill Erickson [Thu, 17 Dec 2015 02:10:43 +0000 (21:10 -0500)]
LP#
1452950 page unload warning prompt service
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Bill Erickson [Thu, 10 Dec 2015 15:09:50 +0000 (10:09 -0500)]
LP#
1452950 patron reg dupe links wording consistency
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Bill Erickson [Thu, 10 Dec 2015 15:06:45 +0000 (10:06 -0500)]
LP#
1452950 patron reg refactor alert pane
Create a single top-right floating alert pane which contains both the
duplicate patron links and the field documentation.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Bill Erickson [Wed, 9 Dec 2015 16:42:50 +0000 (11:42 -0500)]
LP#
1452950 patron dupe search links
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Bill Erickson [Tue, 8 Dec 2015 21:17:40 +0000 (16:17 -0500)]
LP#
1452950 patron dupe search / plumbing
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Bill Erickson [Tue, 8 Dec 2015 14:39:43 +0000 (09:39 -0500)]
LP#
1452950 patron reg invalidate fields
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Bill Erickson [Mon, 23 Nov 2015 01:34:28 +0000 (20:34 -0500)]
LP#
1452950 patron reg secondary groups done
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Bill Erickson [Thu, 19 Nov 2015 15:04:10 +0000 (10:04 -0500)]
LP#
1452950 Patron reg secondary groups part 1
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Bill Erickson [Thu, 19 Nov 2015 13:47:09 +0000 (08:47 -0500)]
LP#
1452950 Patron reg loading dialog; more caching
* Hide the patron edit form and show a loading dialog while data loads.
* Cache net access levels and ident types to speed up navigation between
patron edit and other pages within the patron app.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Bill Erickson [Sat, 31 Oct 2015 17:08:02 +0000 (13:08 -0400)]
LP#
1452950 patron reg code cleanup
Break up one of the bigger chunks by moving new patron defaults to its
own function.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Bill Erickson [Sat, 31 Oct 2015 17:03:31 +0000 (13:03 -0400)]
LP#
1452950 Field doc display repair
Set the current field doc via function instead of directly within the
ng-click handler. For unknown reasons, the direct approach was not
working with addresses.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Bill Erickson [Fri, 30 Oct 2015 01:41:34 +0000 (21:41 -0400)]
LP#
1452950 survey dates/sorting; stat cat sorting
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Bill Erickson [Mon, 26 Oct 2015 02:24:16 +0000 (22:24 -0400)]
LP#
1452950 pat. reg surveys and stat cats
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Bill Erickson [Sun, 25 Oct 2015 23:37:22 +0000 (19:37 -0400)]
LP#
1452950 pat. reg surveys and opt-in settings
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Bill Erickson [Sun, 25 Oct 2015 15:42:11 +0000 (11:42 -0400)]
LP#
1452950 patron reg additions (phone pw, hiding stuff)
1. Generate password from last 4 digits of phone number if library
setting is present (patron.password.use_phone).
2. Only show "replace barcode" and invlidate buttons when editing an
existing patron.
3. Address no longer defaults to within_city_limits, consistent with
dojo version.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Bill Erickson [Mon, 5 Oct 2015 00:58:35 +0000 (20:58 -0400)]
LP#
1452950 focus barcode field
For new patrons, focus the barcode field. For existing patrons, disable
the barcode field (except when a new barcode is needed) and focus the
username field by default.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Bill Erickson [Sun, 20 Sep 2015 14:35:51 +0000 (10:35 -0400)]
LP#
1452950 username defaults to barcode
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Bill Erickson [Sun, 20 Sep 2015 14:29:53 +0000 (10:29 -0400)]
LP#
1452950 save/delete/modify addresses
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Bill Erickson [Sun, 20 Sep 2015 13:33:12 +0000 (09:33 -0400)]
LP#
1452950 extract and save patron settings
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Bill Erickson [Fri, 18 Sep 2015 01:51:54 +0000 (21:51 -0400)]
LP#
1452950 patron reg i18n repair; more saving
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>