Main Koha release repository https://koha-community.org
Find a file
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
admin Bug 30494: Replace the use of jQueryUI Accordion on the table settings page 2022-05-02 11:22:57 -10:00
api Bug 30534: Remove guarantor_id attribute from the patron object 2022-04-25 10:00:22 -10:00
authorities
basket Bug 29609: Centralized code to build the link to a biblio detail page 2022-04-08 15:49:16 +02:00
bin
C4 Bug 30620: Add a warning about /*!VERSION lines in kohastructure 2022-05-02 11:22:57 -10:00
catalogue Bug 21225: (follow-up) Make SyndeticCovers work on catalog detail page 2022-04-08 15:49:16 +02:00
cataloguing Bug 30644: (bug 29788 follow-up) Make Koha::Item->safe_to_delete use Koha::Result::Boolean 2022-04-28 10:49:20 -10:00
circ Bug 30630: Prevent crash on check-in if HoldsAutoFill is ON 2022-04-28 10:49:20 -10:00
clubs
course_reserves
debian Bug 26370: (QA follow-up) Add new option to templates 2022-04-20 09:03:39 -10:00
docs Revert "Bug 20076: Add Thibaud Guillot to contributors" 2022-01-13 22:12:53 -10:00
errors
etc Bug 26370: (QA follow-up) Add new option to templates 2022-04-20 09:03:39 -10:00
ill
installer Bug 30108: DBRev 21.12.00.043 2022-05-02 11:22:58 -10:00
Koha Bug 29873: Create QR code 2022-05-02 11:22:58 -10:00
koha-tmpl Bug 29873: Create QR code 2022-05-02 11:22:58 -10:00
labels
lib/CGI/Session/Serialize
members Bug 29873: Create QR code 2022-05-02 11:22:58 -10:00
misc Bug 30477: Add new UNIMARC installer translation files 2022-04-21 13:41:35 -10:00
offline_circ Bug 30525: Items batch modification broken 2022-04-21 13:41:36 -10:00
opac Bug 30532: (bug 29957 follow-up) Fix '$cookie->value' 2022-04-21 13:41:36 -10:00
patron_lists
patroncards Bug 24001: Fix patron card template edition 2022-04-28 10:49:20 -10:00
plugins Bug 29787: Add plugin version to plugin search results 2022-04-08 15:49:15 +02:00
pos
recalls
reports Bug 30532: (bug 29957 follow-up) Fix '$cookie->value' 2022-04-21 13:41:36 -10:00
reserve Bug 30093: Make patron search from request.pl use the REST API 2022-04-04 09:47:00 +02:00
reviews
rotating_collections
serials
services
skel Bug 11078: Add locking to rebuild_zebra 2014-02-28 22:21:41 +00:00
suggestion Bug 30055: Use /api/v1/suggestions/managers to list managers or suggestions 2022-04-04 09:46:57 +02:00
svc
t Bug 22379: Unit tests for CancelHold service 2022-05-02 11:22:57 -10:00
tags
tmp/modified_authorities
tools Bug 30545: Replace the use of jQueryUI Accordion on the notices page 2022-05-02 11:22:58 -10:00
virtualshelves
xt
.editorconfig
.eslintrc.json
.gitignore
.htaccess Fix file permissions: if it is not a script, it should not be executable. 2010-04-16 00:40:34 -04:00
.mailmap
.perlcriticrc
.proverc.dist
.scss-lint.yml
about.pl
app.psgi
changelanguage.pl
cpanfile Bug 28786: decrease Auth::GoogleAuth version to 1.02 2022-04-20 21:27:02 -10:00
fix-perl-path.PL
gulpfile.js Bug 30373: Enable translation of UNIMARC frameworks 2022-04-21 13:41:35 -10:00
help.pl
INSTALL
Koha.pm Bug 30108: DBRev 21.12.00.043 2022-05-02 11:22:58 -10:00
koha_perl_deps.pl
kohaversion.pl
LICENSE Bug 9440 - update Koha's LICENSE file from GPL2 to GPL3 2013-02-12 08:52:10 -05:00
mainpage.pl
Makefile.PL
MANIFEST.SKIP
package.json
README
README.md
README.robots
rewrite-config.PL
yarn.lock

Koha is a free software integrated library system (ILS).

Koha is distributed under the GNU GPL version 3 or later.

Note: Koha does not accept pull requests from git hosting sites.

Note: This project has its own bug tracker, to report a bug or submit a patch visit http://bugs.koha-community.org.

For guidelines on submitting patches for Koha please visit https://wiki.koha-community.org/wiki/SubmitingAPatch

The developers handbook can be found at https://wiki.koha-community.org/wiki/Developer_handbook

http://koha-community.org/

Koha Logo