[Koha-bugs] [Bug 25090] Moderate OPAC self registrations before a patron account is created

2025-06-15 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25090

--- Comment #49 from David Nind  ---
Created attachment 183269
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=183269&action=edit
Bug 25090: (follow-up) System preference description

Update the PatronSelfRegistrationVerifyByEmail system
preference description.

Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 25090] Moderate OPAC self registrations before a patron account is created

2025-06-15 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25090

David Nind  changed:

   What|Removed |Added

 Status|Needs Signoff   |Signed Off

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 25090] Moderate OPAC self registrations before a patron account is created

2025-06-15 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25090

David Nind  changed:

   What|Removed |Added

 Attachment #182966|0   |1
is obsolete||

--- Comment #48 from David Nind  ---
Created attachment 183268
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=183268&action=edit
Bug 25090: Enable library to verify OPAC self registrations

This enhancement changes the PatronSelfRegistrationVerifyByEmail system
preference to have the following options:

* don't require (same as 0 previously)
* patron verifies (same as 1 previously)
* library verifies, based on the EmailPatronRegistrations syspref setting

If the syspref is set to "based on the EmailPatronRegistrations" setting, this
allows the library to redirect the verification email so that they can
essentially moderate accounts that self-register via the OPAC.

This enhancement also introduces a new notice OPAC_REG_VERIFY_LIB which
includes the new account's details and the verification link.

When the library confirms a self-registered account, this triggers a password
recovery email to the new patron.

To test:

1. Apply patches, install database updates, and restart services (if using ktd,
do `koha-upgrade-schema kohadev` then `restart_all`)
2. Go to the staff interface, Koha administration, system preferences. Go to
the OPAC tab and find the self-registration and modification section.
3. By default, the PatronSelfRegistrationVerifyByEmail is set to "not
required". Change this to "must verify themselves via email".
4. Change EmailPatronRegistrations to anything other than "none" (we're not
specifically testing this functionality).
5. Confirm that PatronSelfRegistration is set to "Allow", as are other required
preferences (these should be set by default in ktd).

6. Go to the OPAC in another window. You may be automatically logged in, if so,
log out.
7. On the homepage, click the "Create an account" link under the login section.
8. Fill in the required fields and submit.

9. In your commandline, go to the database and view the results from the
message_queue table (`koha-mysql kohadev` then `select * from message_queue\G`)

10. Confirm there is a queued message to the new account holder with a
verification link. Open the verification link in your browser (you may need to
swap out the OPACBaseURL if that isn't set correctly)
11. Confirm the account's registration.
12. Repeat step 9. Confirm there is a queued message to whoever you set
EmailPatronRegistrations to, confirming a new account was created.

13. Go to your staff interface tab (you may need to log in again).
14. Go to the staff interface, Koha administration, system preferences. Go to
the OPAC tab and find the self-registration and modification section.
15. Change PatronSelfRegistrationVerifyByEmail to "must be verified via email
sent to EmailPatronRegistrations"

16. Repeat steps 6-9.
17. Confirm there is a queued message to the EmailPatronRegistrations setting
with a verification link. Open the verification link in your browser (you may
need to swap out the OPACBaseURL if that isn't set correctly)
18. Confirm the account's registration.
19. Confirm the screen says a password recovery email has been generated.
20. Repeat step 9. Confirm there is a queued recovery email message to the new
patron.

21. Confirm tests pass t/db_dependent/Koha/Patron/Modifications.t

Sponsored-by: Mental Health Education & Resource Centre
Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 25090] Moderate OPAC self registrations before a patron account is created

2025-06-15 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25090

David Nind  changed:

   What|Removed |Added

 Attachment #182964|0   |1
is obsolete||

--- Comment #47 from David Nind  ---
Created attachment 183267
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=183267&action=edit
Bug 25090: Update OPAC_REG notice to include verification link

Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 25090] Moderate OPAC self registrations before a patron account is created

2025-06-15 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25090

David Nind  changed:

   What|Removed |Added

 Attachment #182963|0   |1
is obsolete||

--- Comment #46 from David Nind  ---
Created attachment 183266
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=183266&action=edit
Bug 25090: Update PatronSelfRegistrationVerifyByEmail to include choices

Signed-off-by: David Nind 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 25090] Moderate OPAC self registrations before a patron account is created

2025-06-04 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25090

Aleisha Amohia  changed:

   What|Removed |Added

 Attachment #182965|0   |1
is obsolete||

--- Comment #45 from Aleisha Amohia  ---
Created attachment 182966
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=182966&action=edit
Bug 25090: Enable library to verify OPAC self registrations

This enhancement changes the PatronSelfRegistrationVerifyByEmail system
preference to have the following options:

* don't require (same as 0 previously)
* patron verifies (same as 1 previously)
* library verifies, based on the EmailPatronRegistrations syspref setting

If the syspref is set to "based on the EmailPatronRegistrations" setting, this
allows the library to redirect the verification email so that they can
essentially moderate accounts that self-register via the OPAC.

This enhancement also introduces a new notice OPAC_REG_VERIFY_LIB which
includes the new account's details and the verification link.

When the library confirms a self-registered account, this triggers a password
recovery email to the new patron.

To test:

1. Apply patches, install database updates, and restart services (if using ktd,
do `koha-upgrade-schema kohadev` then `restart_all`)
2. Go to the staff interface, Koha administration, system preferences. Go to
the OPAC tab and find the self-registration and modification section.
3. By default, the PatronSelfRegistrationVerifyByEmail is set to "not
required". Change this to "must verify themselves via email".
4. Change EmailPatronRegistrations to anything other than "none" (we're not
specifically testing this functionality).
5. Confirm that PatronSelfRegistration is set to "Allow", as are other required
preferences (these should be set by default in ktd).

6. Go to the OPAC in another window. You may be automatically logged in, if so,
log out.
7. On the homepage, click the "Create an account" link under the login section.
8. Fill in the required fields and submit.

9. In your commandline, go to the database and view the results from the
message_queue table (`koha-mysql kohadev` then `select * from message_queue\G`)

10. Confirm there is a queued message to the new account holder with a
verification link. Open the verification link in your browser (you may need to
swap out the OPACBaseURL if that isn't set correctly)
11. Confirm the account's registration.
12. Repeat step 9. Confirm there is a queued message to whoever you set
EmailPatronRegistrations to, confirming a new account was created.

13. Go to your staff interface tab (you may need to log in again).
14. Go to the staff interface, Koha administration, system preferences. Go to
the OPAC tab and find the self-registration and modification section.
15. Change PatronSelfRegistrationVerifyByEmail to "must be verified via email
sent to EmailPatronRegistrations"

16. Repeat steps 6-9.
17. Confirm there is a queued message to the EmailPatronRegistrations setting
with a verification link. Open the verification link in your browser (you may
need to swap out the OPACBaseURL if that isn't set correctly)
18. Confirm the account's registration.
19. Confirm the screen says a password recovery email has been generated.
20. Repeat step 9. Confirm there is a queued recovery email message to the new
patron.

21. Confirm tests pass t/db_dependent/Koha/Patron/Modifications.t

Sponsored-by: Mental Health Education & Resource Centre

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 25090] Moderate OPAC self registrations before a patron account is created

2025-06-04 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25090

--- Comment #44 from Aleisha Amohia  ---
Created attachment 182965
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=182965&action=edit
Bug 25090: Enable library to verify OPAC self registrations

This enhancement changes the PatronSelfRegistrationVerifyByEmail system
preference to have the following options:

* don't require (same as 0 previously)
* patron verifies (same as 1 previously)
* library verifies, based on the EmailPatronRegistrations syspref setting

If the syspref is set to "based on the EmailPatronRegistrations" setting, this
allows the library to redirect the verification email so that they can
essentially moderate accounts that self-register via the OPAC.

This enhancement also introduces a new notice OPAC_REG_VERIFY_LIB which
includes the new account's details and the verification link.

When the library confirms a self-registered account, this triggers a password
recovery email to the new patron.

To test:

1. Apply patches, install database updates, and restart services (if using ktd,
do `koha-upgrade-schema kohadev` then `restart_all`)
2. Go to the staff interface, Koha administration, system preferences. Go to
the OPAC tab and find the self-registration and modification section.
3. By default, the PatronSelfRegistrationVerifyByEmail is set to "not
required". Change this to "must verify themselves via email".
4. Change EmailPatronRegistrations to anything other than "none" (we're not
specifically testing this functionality).
5. Confirm that PatronSelfRegistration is set to "Allow", as are other required
preferences (these should be set by default in ktd).

6. Go to the OPAC in another window. You may be automatically logged in, if so,
log out.
7. On the homepage, click the "Create an account" link under the login section.
8. Fill in the required fields and submit.

9. In your commandline, go to the database and view the results from the
message_queue table (`koha-mysql kohadev` then `select * from message_queue\G`)

10. Confirm there is a queued message to the new account holder with a
verification link. Open the verification link in your browser (you may need to
swap out the OPACBaseURL if that isn't set correctly)
11. Confirm the account's registration.
12. Repeat step 9. Confirm there is a queued message to whoever you set
EmailPatronRegistrations to, confirming a new account was created.

13. Go to your staff interface tab (you may need to log in again).
14. Go to the staff interface, Koha administration, system preferences. Go to
the OPAC tab and find the self-registration and modification section.
15. Change PatronSelfRegistrationVerifyByEmail to "must be verified via email
sent to EmailPatronRegistrations"

16. Repeat steps 6-9.
17. Confirm there is a queued message to the EmailPatronRegistrations setting
with a verification link. Open the verification link in your browser (you may
need to swap out the OPACBaseURL if that isn't set correctly)
18. Confirm the account's registration.
19. Confirm the screen says a password recovery email has been generated.
20. Repeat step 9. Confirm there is a queued recovery email message to the new
patron.

21. Confirm tests pass t/db_dependent/Koha/Patron/Modifications.t

Sponsored-by: Mental Health Education & Resource Centre

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 25090] Moderate OPAC self registrations before a patron account is created

2025-06-04 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25090

Aleisha Amohia  changed:

   What|Removed |Added

 Attachment #174229|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 25090] Moderate OPAC self registrations before a patron account is created

2025-06-04 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25090

Aleisha Amohia  changed:

   What|Removed |Added

 Attachment #174228|0   |1
is obsolete||
 Attachment #174230|0   |1
is obsolete||

--- Comment #42 from Aleisha Amohia  ---
Created attachment 182963
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=182963&action=edit
Bug 25090: Update PatronSelfRegistrationVerifyByEmail to include choices

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 25090] Moderate OPAC self registrations before a patron account is created

2025-06-04 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25090

--- Comment #43 from Aleisha Amohia  ---
Created attachment 182964
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=182964&action=edit
Bug 25090: Update OPAC_REG notice to include verification link

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 25090] Moderate OPAC self registrations before a patron account is created

2025-06-04 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25090

Aleisha Amohia  changed:

   What|Removed |Added

 Status|Failed QA   |Needs Signoff

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 25090] Moderate OPAC self registrations before a patron account is created

2025-01-23 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25090

Jonathan Druart  changed:

   What|Removed |Added

 CC||[email protected]
 Status|Signed Off  |Failed QA

--- Comment #41 from Jonathan Druart  ---
1. New notice templates should use the TT syntax
https://wiki.koha-community.org/wiki/Coding_Guidelines#NOTICE1:_Default_Notices_should_now_be_writing_using_template_toolkit

2. Changes to .pm should be covered by tests

3. At first glance I'd say that the changes for OPAC_REG_VERIFY_LIB should go
close to OPAC_REG (which is nicely placed in a module,
Koha::Patron->notify_library_of_registration)
Code seems duplicated.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 25090] Moderate OPAC self registrations before a patron account is created

2024-11-07 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25090

--- Comment #40 from Aleisha Amohia  ---
(In reply to Owen Leonard from comment #39)
> It definitely feels odd to have staff go to the OPAC to complete the
> process. It might be nice to, in the future, bring that operation into the
> staff interface somehow.

Agree - was hoping that could be a follow-up change!

> 
> I don't know what the sponsoring library's workflow is, but I can see
> difficulty in the process of notifying the patron of their account details.
> Copying the info into an email would not be great. Perhaps an option to
> directly trigger a "forgot password" email to the patron from the
> verification screen?
> 

That's a good idea, if it's a blocker I might have enough time to work on this.

> Does the notice need to be updated to remove the old << >> syntax in favor
> of TT? I don't know if we're requiring that for new patches?

The borrower_modifications table isn't available to the TT syntax yet! So had
to use the << >> syntax.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 25090] Moderate OPAC self registrations before a patron account is created

2024-11-07 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25090

--- Comment #39 from Owen Leonard  ---
It definitely feels odd to have staff go to the OPAC to complete the process.
It might be nice to, in the future, bring that operation into the staff
interface somehow.

I don't know what the sponsoring library's workflow is, but I can see
difficulty in the process of notifying the patron of their account details.
Copying the info into an email would not be great. Perhaps an option to
directly trigger a "forgot password" email to the patron from the verification
screen?

Does the notice need to be updated to remove the old << >> syntax in favor of
TT? I don't know if we're requiring that for new patches?

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 25090] Moderate OPAC self registrations before a patron account is created

2024-11-07 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25090

--- Comment #38 from Owen Leonard  ---
Created attachment 174230
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=174230&action=edit
Bug 25090: Redirect OPAC self reg verification email to the library

This enhancement changes the PatronSelfRegistrationVerifyByEmail system
preference to have the following options:

* don't require (same as 0 previously)
* patron verifies (same as 1 previously)
* library verifies, based on the EmailPatronRegistrations syspref
  setting

If the syspref is set to "based on the EmailPatronRegistrations"
setting, this allows the library to redirect the verification email so
that they can essentially moderate accounts that self-register via the
OPAC.

This enhancement also introduces a new notice OPAC_REG_VERIFY_LIB which
includes the new account's details and the verification link.

To test:

1. Apply patches, install database updates, and restart services (if
   using ktd, do `koha-upgrade-schema kohadev` then `restart_all`)
2. Go to the staff interface, Koha administration, system preferences.
   Go to the OPAC tab and find the self-registration and modification
   section.
3. By default, the PatronSelfRegistrationVerifyByEmail is set to "not
   required". Change this to "must verify themselves via email".
4. Change EmailPatronRegistrations to anything other than "none" (we're
   not specifically testing this functionality).
5. Confirm that PatronSelfRegistration is set to "Allow", as are other
   required preferences (these should be set by default in ktd).

6. Go to the OPAC in another window. You may be automatically logged in,
   if so, log out.
7. On the homepage, click the "Create an account" link under the login
   section.
8. Fill in the required fields and submit.

9. In your commandline, go to the database and view the results from the
   message_queue table (`koha-mysql kohadev` then `select * from
   message_queue\G`)

10. Confirm there is a queued message to the new account holder with a
verification link. Open the verification link in your browser (you
may need to swap out the OPACBaseURL if that isn't set correctly)
11. Confirm the account's registration.
12. Repeat step 9. Confirm there is a queued message to whoever you set
EmailPatronRegistrations to, confirming a new account was created.

13. Go to your staff interface tab (you may need to log in again).
14. Go to the staff interface, Koha administration, system preferences.
Go to the OPAC tab and find the self-registration and modification
section.
15. Change PatronSelfRegistrationVerifyByEmail to "must be verified via
email sent to EmailPatronRegistrations"

16. Repeat steps 6-9.
17. Confirm there is a queued message to the EmailPatronRegistrations
setting with a verification link. Open the verification link in your
browser (you may need to swap out the OPACBaseURL if that isn't set
correctly)
18. Confirm the account's registration.
19. Confirm the wording on the screen better reflects that you've
confirmed someone else's account and provides the login credentials
to send them.

Sponsored-by: Mental Health Education & Resource Centre
Signed-off-by: Owen Leonard 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 25090] Moderate OPAC self registrations before a patron account is created

2024-11-07 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25090

--- Comment #37 from Owen Leonard  ---
Created attachment 174229
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=174229&action=edit
Bug 25090: Add OPAC_REG_VERIFY_LIB notice

This is a bit of a merge between the OPAC_REG and OPAC_REG_VERIFY
notices that the EmailPatronRegistrations address would receive if
PatronSelfRegistrationVerifyByEmail was set to need that verification

Sponsored-by: Mental Health Education & Resource Centre

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 25090] Moderate OPAC self registrations before a patron account is created

2024-11-07 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25090

Owen Leonard  changed:

   What|Removed |Added

 Attachment #173962|0   |1
is obsolete||
 Attachment #173963|0   |1
is obsolete||
 Attachment #173964|0   |1
is obsolete||

--- Comment #36 from Owen Leonard  ---
Created attachment 174228
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=174228&action=edit
Bug 25090: Update PatronSelfRegistrationVerifyByEmail to include choices

This database update changes PatronSelfRegistrationVerifyByEmail from a
YesNo preference to have these options:

* don't require (same as 0 previously)
* patron verifies (same as 1 previously)
* library verifies, based on the EmailPatronRegistrations syspref
  setting

Sponsored-by: Mental Health Education & Resource Centre
Signed-off-by: Owen Leonard 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 25090] Moderate OPAC self registrations before a patron account is created

2024-11-07 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25090

Owen Leonard  changed:

   What|Removed |Added

 Status|Needs Signoff   |Signed Off

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 25090] Moderate OPAC self registrations before a patron account is created

2024-11-04 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25090

Aleisha Amohia  changed:

   What|Removed |Added

 CC||[email protected]
   Assignee|[email protected] |[email protected]

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 25090] Moderate OPAC self registrations before a patron account is created

2024-11-04 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25090

--- Comment #35 from Aleisha Amohia  ---
Created attachment 173964
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=173964&action=edit
Bug 25090: Redirect OPAC self reg verification email to the library

This enhancement changes the PatronSelfRegistrationVerifyByEmail system
preference to have the following options:

* don't require (same as 0 previously)
* patron verifies (same as 1 previously)
* library verifies, based on the EmailPatronRegistrations syspref setting

If the syspref is set to "based on the EmailPatronRegistrations" setting, this
allows the library to redirect the verification email so that they can
essentially moderate accounts that self-register via the OPAC.

This enhancement also introduces a new notice OPAC_REG_VERIFY_LIB which
includes the new account's details and the verification link.

To test:

1. Apply patches, install database updates, and restart services (if using ktd,
do `koha-upgrade-schema kohadev` then `restart_all`)
2. Go to the staff interface, Koha administration, system preferences. Go to
the OPAC tab and find the self-registration and modification section.
3. By default, the PatronSelfRegistrationVerifyByEmail is set to "not
required". Change this to "must verify themselves via email".
4. Change EmailPatronRegistrations to anything other than "none" (we're not
specifically testing this functionality).
5. Confirm that PatronSelfRegistration is set to "Allow", as are other required
preferences (these should be set by default in ktd).

6. Go to the OPAC in another window. You may be automatically logged in, if so,
log out.
7. On the homepage, click the "Create an account" link under the login section.
8. Fill in the required fields and submit.

9. In your commandline, go to the database and view the results from the
message_queue table (`koha-mysql kohadev` then `select * from message_queue\G`)

10. Confirm there is a queued message to the new account holder with a
verification link. Open the verification link in your browser (you may need to
swap out the OPACBaseURL if that isn't set correctly)
11. Confirm the account's registration.
12. Repeat step 9. Confirm there is a queued message to whoever you set
EmailPatronRegistrations to, confirming a new account was created.

13. Go to your staff interface tab (you may need to log in again).
14. Go to the staff interface, Koha administration, system preferences. Go to
the OPAC tab and find the self-registration and modification section.
15. Change PatronSelfRegistrationVerifyByEmail to "must be verified via email
sent to EmailPatronRegistrations"

16. Repeat steps 6-9.
17. Confirm there is a queued message to the EmailPatronRegistrations setting
with a verification link. Open the verification link in your browser (you may
need to swap out the OPACBaseURL if that isn't set correctly)
18. Confirm the account's registration.
19. Confirm the wording on the screen better reflects that you've confirmed
someone else's account and provides the login credentials to send them.

Sponsored-by: Mental Health Education & Resource Centre

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 25090] Moderate OPAC self registrations before a patron account is created

2024-11-04 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25090

Aleisha Amohia  changed:

   What|Removed |Added

 Attachment #173898|0   |1
is obsolete||

--- Comment #34 from Aleisha Amohia  ---
Created attachment 173963
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=173963&action=edit
Bug 25090: Add OPAC_REG_VERIFY_LIB notice

This is a bit of a merge between the OPAC_REG and OPAC_REG_VERIFY notices that
the EmailPatronRegistrations address would receive if
PatronSelfRegistrationVerifyByEmail was set to need that verification

Sponsored-by: Mental Health Education & Resource Centre

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 25090] Moderate OPAC self registrations before a patron account is created

2024-11-04 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25090

Aleisha Amohia  changed:

   What|Removed |Added

 Attachment #173897|0   |1
is obsolete||
 Attachment #173899|0   |1
is obsolete||

--- Comment #33 from Aleisha Amohia  ---
Created attachment 173962
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=173962&action=edit
Bug 25090: Update PatronSelfRegistrationVerifyByEmail to include choices

This database update changes PatronSelfRegistrationVerifyByEmail from a YesNo
preference to have these options:

* don't require (same as 0 previously)
* patron verifies (same as 1 previously)
* library verifies, based on the EmailPatronRegistrations syspref setting

Sponsored-by: Mental Health Education & Resource Centre

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 25090] Moderate OPAC self registrations before a patron account is created

2024-11-04 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25090

Aleisha Amohia  changed:

   What|Removed |Added

 Status|ASSIGNED|Needs Signoff

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 25090] Moderate OPAC self registrations before a patron account is created

2024-11-03 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25090

Aleisha Amohia  changed:

   What|Removed |Added

 Attachment #173894|0   |1
is obsolete||

--- Comment #30 from Aleisha Amohia  ---
Created attachment 173897
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=173897&action=edit
Bug 25090: Update PatronSelfRegistrationVerifyByEmail to include choices

This database update changes PatronSelfRegistrationVerifyByEmail from a YesNo
preference to have these options:

* don't require (same as 0 previously)
* patron verifies (same as 1 previously)
* library verifies, based on the EmailPatronRegistrations syspref setting

Sponsored-by: Mental Health Education & Resource Centre

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 25090] Moderate OPAC self registrations before a patron account is created

2024-11-03 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25090

Aleisha Amohia  changed:

   What|Removed |Added

 Attachment #173896|0   |1
is obsolete||

--- Comment #32 from Aleisha Amohia  ---
Created attachment 173899
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=173899&action=edit
Bug 25090 [WIP]: Redirect OPAC self reg verification email to the library

So they can moderate and activate accounts made via OPAC self registration

Sponsored-by: Mental Health Education & Resource Centre

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 25090] Moderate OPAC self registrations before a patron account is created

2024-11-03 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25090

Aleisha Amohia  changed:

   What|Removed |Added

 Attachment #173895|0   |1
is obsolete||

--- Comment #31 from Aleisha Amohia  ---
Created attachment 173898
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=173898&action=edit
Bug 25090: Add OPAC_REG_VERIFY_LIB notice

This is a bit of a merge between the OPAC_REG and OPAC_REG_VERIFY notices that
the EmailPatronRegistrations address would receive if
PatronSelfRegistrationVerifyByEmail was set to need that verification

Sponsored-by: Mental Health Education & Resource Centre

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 25090] Moderate OPAC self registrations before a patron account is created

2024-11-03 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25090

--- Comment #29 from Aleisha Amohia  ---
Created attachment 173896
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=173896&action=edit
Bug 25090 [WIP]: Redirect OPAC self reg verification email to the library

So they can moderate and activate accounts made via OPAC self registration

Sponsored-by: Mental Health Education & Resource Centre

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 25090] Moderate OPAC self registrations before a patron account is created

2024-11-03 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25090

--- Comment #28 from Aleisha Amohia  ---
Created attachment 173895
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=173895&action=edit
Bug 25090: Add OPAC_REG_VERIFY_LIB notice

This is a bit of a merge between the OPAC_REG and OPAC_REG_VERIFY notices that
the EmailPatronRegistrations address would receive if
PatronSelfRegistrationVerifyByEmail was set to need that verification

Sponsored-by: Mental Health Education & Resource Centre

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 25090] Moderate OPAC self registrations before a patron account is created

2024-11-03 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25090

--- Comment #27 from Aleisha Amohia  ---
Created attachment 173894
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=173894&action=edit
Bug 25090: Update PatronSelfRegistrationVerifyByEmail to include choices

This database update changes PatronSelfRegistrationVerifyByEmail from a YesNo
preference to have these options:

* don't require (same as 0 previously)
* patron verifies (same as 1 previously)
* library verifies, based on the EmailPatronRegistrations syspref setting

Sponsored-by: Mental Health Education & Resource Centre

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 25090] Moderate OPAC self registrations before a patron account is created

2022-08-29 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25090

Alex Buckley  changed:

   What|Removed |Added

 Attachment #112493|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 25090] Moderate OPAC self registrations before a patron account is created

2022-08-29 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25090

Alex Buckley  changed:

   What|Removed |Added

 Attachment #112494|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 25090] Moderate OPAC self registrations before a patron account is created

2022-08-29 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25090

Alex Buckley  changed:

   What|Removed |Added

 Attachment #112495|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 25090] Moderate OPAC self registrations before a patron account is created

2022-08-29 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25090

Alex Buckley  changed:

   What|Removed |Added

 Attachment #112496|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 25090] Moderate OPAC self registrations before a patron account is created

2022-08-29 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25090

Alex Buckley  changed:

   What|Removed |Added

 Attachment #112497|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 25090] Moderate OPAC self registrations before a patron account is created

2022-08-15 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25090

Alex Buckley  changed:

   What|Removed |Added

 Status|Patch doesn't apply |ASSIGNED

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 25090] Moderate OPAC self registrations before a patron account is created

2022-08-15 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25090

Alex Buckley  changed:

   What|Removed |Added

Summary|Enable library approval of  |Moderate OPAC self
   |OPAC self registrations |registrations before a
   |before a patron account is  |patron account is created
   |created |

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/