Koha/koha-tmpl/opac-tmpl/prog/en/modules
Kyle M Hall 92782d3832 Bug 7067 - OPAC Borrower Self Registration
This development will add the ability for a new patron to register
himself or herself. The self-registration will attempt to match this
newly inputted data to any existing patrons and if any possible matches
are found, ask if the patron is sure he or she doesn't already have an
account at the library. A system preference may be set to prevent patron
self-registration if the system detects the possibility that the person
may already have an account.

Once the patron has registered, passing a captcha (or similar
bot-stopper), the patron will then be optionally verified a second time
via email. At this point, the patron will be able to print a temporary
library card (optional by system preference), and will be provided any
details necessary to access electronic resources (this body of text
would be a template in the slips and notices system). At the library's
choice, this new patron would either be set to a temporary patron status
(patron type set via system preference), or a fully-fledged patron
(allow patron type to be determined by age and/or other attributes).
Assuming the library uses temporary patron types for OPAC registrations,
this patron will next enter a queue and would need to physically enter
the library to verify himself and become a fully-fledged patron (most
likely by bringing in physical proof of address, etc.). The librarian
would look up the patron record and modify the patron type. If a
temporary patron has not been verified within a certain time frame
(defined by a system preference), the patron record will be deleted
from the system via a cron job.

For registered patrons, the system will allow each person to also
update his or her personal data via the OPAC. When a patron updates his
or her information, the changes will be entered into a queue to be
verified by a librarian (preventing a patron from inputting obviously
bogus data). The staff client home page will display the number of
patron records with changes awaiting approval. A librarian would then be
able to click through a list of modification requests, and approve or
deny each (with approval and denial alerts being sent to the patron via
the standard messaging system).

NEW SYSTEM PREFERENCES
* PatronSelfRegistration
* PatronSelfRegistrationDetectDuplicates
* PatronSelfRegistrationVerifyByEmail
* PatronSelfRegistrationPrintTemporaryCard
* PatronSelfRegistrationUseTemporaryStatus
* PatronSelfRegistrationExpireTemporaryAccountsDelay

NEW NOTICE
* Verify by email notice

NEW SLIP
* Temporary card slip

NEW CRON JOB
* delete_expired_opac_registrations.pl
  - Deletes patrons that have not been upgraded from the temporary
    status within the specified delay
* delete_unverified_opac_registrations.pl
  - Deletes the unverified patrons based on the length of time specified
    in the PatronSelfRegistrationExpireTemporaryAccountsDelay

The patron will register from self_registration.pl, linked off opac-main.pl if enabled. The registration page will be translatable to other languages in the same way that existing templates are.

Test Plan:
1) Enable PatronSelfRegistration
2) Set PatronSelfRegistrationExpireTemporaryAccountsDelay to a number
   of days
3) Create a self-registered borrower category
4) Set PatronSelfRegistrationUseTemporaryStatus
5) Set PatronSelfRegistrationVerifyByEmail to "Don't require"
6) Go to OPAC, log out if logged in.
7) You should see the "Register here" link below the login box
8) Attempt to register yourself
9) Verify you can log in with your temporary password.
10) Set PatronSelfRegistrationVerifyByEmail to "Require"
11) Attempt another self-registration
12) Check the messages table, you should see a new message with a
    verification link.
13) Copy and paste the link into a web browser to verify the registration
14) Log in with the given credentials to verify the account was created.

Test Plan - Part 2 - Borrower Modifications

1) Log in to OPAC, go to "my personal details" tab.
2) Make some modifications to your details.
3) Repeat steps 1 and 2 for two more borrowers.
4) Log in to Koha intranet with a user that can modify borrowers.
5) At the bottom of mainpage.pl, you should see:
  Patrons requesting modifications: 3
6) Click the link
7) Approve one change, deny a different one, and ignore the third, then
   submit.
8) Check the records, you should see the changes take affect on the
   approved one, and no changes to the other two. You should also see
   "Patrons requesting modifications: 1" at the bottom of mainpage.pl
   now.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Bug 7067 - OPAC Borrower Self Registration - Followup

* Rename PatronSelfRegistrationUseTemporaryStatus to PatronSelfRegistrationDefaultCategory
* Hide register link unless PatronSelfRegistrationDefaultCategory is set.
* Add invalid token page
* Add documentation and switches to cron scripts
* Add required fields check for editing exiting patrons
* Don't force require email address for existing patrons when
  PatronSelfRegistrationVerifyByEmail is enabled.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Passed-QA-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
2012-12-14 08:08:59 -05:00
..
errors
sco Bug 8033: Change javascipt behavior to degrade nicely 2012-12-13 17:49:16 -05:00
search Bug 8766 - OPACBaseURL still called as OPACBaseurl in many files 2012-10-12 16:33:07 +02:00
svc Bug 8209: "Did you mean?" from authorities 2012-09-13 11:34:28 +02:00
text Bug 8726: ExplodedTerms suggestion plugin (functionality) 2012-09-28 17:08:21 +02:00
ilsdi.tt
kohaerror.tt
maintenance.tt
opac-account.tt Bug 7500 [FOLLOW-UP][Missing images] Use CSS Sprites for faster page loading 2012-09-13 17:52:06 +02:00
opac-addbybiblionumber.tt
opac-advsearch.tt Bug 8546 - Error in description of OPAC Advanced Search Publication date range search 2012-11-23 13:01:29 -05:00
opac-alert-subscribe.tt
opac-auth-detail.tt Bug 8870 UNIMARC authorities search doesn't display information properly 2012-10-22 17:50:06 +02:00
opac-auth-MARCdetail.tt Bug 8523: Display auth hierarchies w/all marcflavours 2012-09-21 14:52:08 +02:00
opac-auth.tt Bug 7067 - OPAC Borrower Self Registration 2012-12-14 08:08:59 -05:00
opac-authorities-home.tt Bug 9132: Paging through OPAC authority search results does not work (followup 1) input with and_ora instread of and_or 2012-11-28 08:13:18 -05:00
opac-authoritiessearchresultlist.tt Bug 8870 UNIMARC authorities search doesn't display information properly 2012-10-22 17:50:06 +02:00
opac-basket.tt Bug 9115 - basket window should close automatically when placing a hold 2012-11-25 18:06:11 -05:00
opac-browser.tt
opac-detail.tt Bug 8782: Close a subscription 2012-11-30 08:14:24 -05:00
opac-downloadcart.tt Bug 6680 - simple tidy-up of cart download format descriptions 2012-11-28 08:31:22 -05:00
opac-downloadshelf.tt Follow up to Bug 6680: tiny up download lists formats 2012-11-28 08:31:22 -05:00
opac-full-serial-issues.tt Bug 8782: Close a subscription 2012-11-30 08:14:24 -05:00
opac-imageviewer.tt
opac-ISBDdetail.tt Bug 8143 [REVISED] Upgrade jQuery tabs to current jQueryUI version 2012-06-10 15:22:58 +02:00
opac-main.tt Bug 7067 - OPAC Borrower Self Registration 2012-12-14 08:08:59 -05:00
opac-MARCdetail.tt
opac-memberentry-update-submitted.tt Bug 7067 - OPAC Borrower Self Registration 2012-12-14 08:08:59 -05:00
opac-memberentry.tt Bug 7067 - OPAC Borrower Self Registration 2012-12-14 08:08:59 -05:00
opac-messaging.tt Bug 7500 [FOLLOW-UP][Missing images] Use CSS Sprites for faster page loading 2012-09-13 17:52:06 +02:00
opac-mymessages.tt
opac-opensearch.tt Bug 8936: Search RSS feeds does not show there items when subscribing in Firefox 2012-10-30 18:24:54 +01:00
opac-passwd.tt Bug 8515 - OPAC password change does not obey OpacPasswordChange 2012-11-25 18:30:14 -05:00
opac-privacy.tt Bug 7500 [FOLLOW-UP][Missing images] Use CSS Sprites for faster page loading 2012-09-13 17:52:06 +02:00
opac-readingrecord.tt Bug 8017 reduce manipulation of GetAllIssues return 2012-09-13 18:51:45 +02:00
opac-registration-confirmation.tt Bug 7067 - OPAC Borrower Self Registration 2012-12-14 08:08:59 -05:00
opac-registration-email-sent.tt Bug 7067 - OPAC Borrower Self Registration 2012-12-14 08:08:59 -05:00
opac-registration-invalid.tt Bug 7067 - OPAC Borrower Self Registration 2012-12-14 08:08:59 -05:00
opac-reserve.tt Bug 8624: Move famfamfam out of theme directory 2012-09-19 15:40:55 +02:00
opac-results-grouped.tt bug 3652 fixing XSS vulnerabilities in opac-search 2012-10-24 15:44:07 +02:00
opac-results.tt Bug 8660: Tag status does not show on multiple tag add 2012-11-23 16:38:32 -05:00
opac-review.tt Bug 8973: HTML and URL escape missing in OPAC templates 2012-10-30 18:15:22 +01:00
opac-search-history.tt
opac-sendbasket.tt Bug 8621: Alternative template for cart email 2012-08-29 18:18:16 +02:00
opac-sendbasketform.tt
opac-sendshelf.tt
opac-sendshelfform.tt
opac-serial-issues.tt Bug 7905: Follow up - Multi-line subscription notes 2012-06-27 15:29:56 +02:00
opac-shelves.tt Bug 9167: Standardize the sort field copyrightdate for lists 2012-12-06 08:31:57 -05:00
opac-showmarc.tt Bug 8872: Changes for opac-showmarc 2012-11-06 07:29:01 -05:00
opac-showreviews-rss.tt Bug 8708 [Revised] RSS feed for new comments is broken 2012-09-12 15:31:58 +02:00
opac-showreviews.tt Bug 8679 [REVISED] Remove usage of Amazon API 2012-08-29 16:05:29 +02:00
opac-suggestions.tt Bug 8660: Tag status does not show on multiple tag add 2012-11-23 16:38:32 -05:00
opac-tags.tt Bug 8873 - JavaScript error in Opac displaying tag cloud 2012-10-12 22:47:35 +02:00
opac-tags_subject.tt
opac-topissues.tt Bug 7367 - One "the" too many 2012-07-24 17:33:03 +02:00
opac-user.tt Bug 8597: Improve template markup to prepare for mobile 2012-09-18 13:36:48 +02:00
opac-userdetails.tt Bug 7500 [FOLLOW-UP][Missing images] Use CSS Sprites for faster page loading 2012-09-13 17:52:06 +02:00
opac-userupdate.tt Bug 7500 [FOLLOW-UP][Missing images] Use CSS Sprites for faster page loading 2012-09-13 17:52:06 +02:00