Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Marcel de Rooy 8bd314fe0b Bug 29873: Create QR code
Instead of using deprecated Google Charts API, and exposing our
secret in a GET parameter, we generate QR data ourselves.

Test plan:
[1] Enable two factor authentication in the prefs.
[2] Login in staff. Go to account. Select Manage 2FA.
[3] Verify that QR code is displayed.
[4] Register the QR in your authenticator app and test 2FA
    by logging in again.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tested with Google Authenticator and FreeOTP.

Bug 29873: (follow-up) Rename qr_dataurl

As requested by a QA team member.
We're moving to qr_code as method name. This is the same name as
the method in the underlying base class.
Apart from one sed statement, changing to self->SUPER on one line.

Test plan:
Can you still register, logout and login?

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Bug 29873: (follow-up) Switch to GD

We do not need a new module, we could use GD instead.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-05-02 11:22:58 -10:00
..
acqui Bug 29648: Late orders view - normal 2022-04-27 11:20:43 -10:00
admin Bug 30108: Preference description 2022-05-02 11:22:58 -10:00
authorities Bug 27631: authorities, clubs, common, course_reserves folders 2022-04-20 09:03:37 -10:00
basket
batch Bug 29244: Add dialog class where missing in print-notices.tt 2021-10-21 12:24:04 +02:00
catalogue Bug 30433: Convert advanced search tabs to Bootstrap 2022-05-02 11:22:58 -10:00
cataloguing Bug 30434: Convert catalog merge page tabs to Bootstrap 2022-05-02 11:22:57 -10:00
circ Bug 30454: Convert holds awaiting pickup tabs to Bootstrap 2022-05-02 11:22:57 -10:00
clubs Bug 27631: authorities, clubs, common, course_reserves folders 2022-04-20 09:03:37 -10:00
course_reserves Bug 29648: Course reserve list - normal 2022-04-27 11:20:44 -10:00
errors Bug 28438: Capitalization: Various corrections 2021-09-28 15:12:45 +02:00
ill Bug 29648: (follow-up) Add missing raw filter 2022-04-27 11:20:45 -10:00
installer Bug 27631: installer and onboarding folders 2022-04-20 09:03:37 -10:00
labels Bug 29155: Update links to jQuery and jQuery Migrate files 2022-04-25 10:00:22 -10:00
mana
members Bug 29873: Create QR code 2022-05-02 11:22:58 -10:00
offline_circ Bug 27631: offline_circ, patroncards, plugins, pos, reserve, rotating_collections folders 2022-04-20 09:03:38 -10:00
onboarding Bug 27631: installer and onboarding folders 2022-04-20 09:03:37 -10:00
patron_lists Bug 29648: patron list table - normal 2022-04-27 11:20:44 -10:00
patroncards Bug 27631: offline_circ, patroncards, plugins, pos, reserve, rotating_collections folders 2022-04-20 09:03:38 -10:00
plugins Bug 27631: offline_circ, patroncards, plugins, pos, reserve, rotating_collections folders 2022-04-20 09:03:38 -10:00
pos Bug 30610: Update on click binding for print receipt 2022-05-02 11:22:57 -10:00
recalls Bug 19532: (follow-up) Fixing OPAC display and staff client errors 2022-03-14 22:45:51 -10:00
reports Bug 30491: Convert saved reports tabs to Bootstrap 2022-05-02 11:22:57 -10:00
reserve Bug 30457: (follow-up) Tweak markup around search form 2022-05-02 11:22:57 -10:00
reviews
rotating_collections Bug 27631: offline_circ, patroncards, plugins, pos, reserve, rotating_collections folders 2022-04-20 09:03:38 -10:00
serials Bug 29648: Subscription detail - no change 2022-04-27 11:20:44 -10:00
services Bug 29496: (bug 27526 follow-up) Fix item form validation 2021-11-19 15:07:10 +01:00
suggestion Bug 30599: Add an 'Archive selected' button 2022-05-02 11:22:57 -10:00
tags Bug 27631: catalogue and tags folders 2022-04-20 09:03:38 -10:00
test
tools Bug 30545: Replace the use of jQueryUI Accordion on the notices page 2022-05-02 11:22:58 -10:00
virtualshelves Bug 27631: tools and virtualshelves folders 2022-04-20 09:03:38 -10:00
about.tt Bug 30544: Add font awesome version to licenses page 2022-04-20 09:03:39 -10:00
auth.tt Bug 28786: (follow-up) Improve style of 2FA code input 2022-04-20 20:43:15 -10:00
intranet-main.tt Bug 27631: Hidden <h1> on intranet-main.tt 2022-04-20 09:03:38 -10:00