]> git.koha-community.org Git - koha.git/commit
Bug 35277: Pseudonymize in a background job
authorNick Clemens <nick@bywatersolutions.com>
Tue, 7 Nov 2023 13:45:01 +0000 (13:45 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 9 Feb 2024 08:08:05 +0000 (09:08 +0100)
commit3d8fd974a9109265c86727be355864234babc9cc
tree205de80b265eec8e67977a5d0030309f31097345
parent9989c08673c23a49bd296bed774dd06df65e57e7
Bug 35277: Pseudonymize in a background job

This patch adds a new background job for pseduonymization

To test:
 1 - Download the benchmarking script
 2 - Ensure your koha has bcrypt_settings in koha-conf.xml
     See bug 28911
 3 - perl perf_check_pseudo.pl
 4 - Note the slowdown after pseudonymization enabled
 5 - Apply patches, restart all
 6 - perl perf_check_pseudo.pl
 7 - Note improvement
 8 - Enable pseudonymization in sytem preferences
 9 - Perform some checkouts and returns
10 - Verify the background jobs complete successfully
11 - Verify the pseudonymized_transactions table is updated correctly

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/BackgroundJob.pm
Koha/BackgroundJob/PseudonymizeStatistic.pm [new file with mode: 0644]
Koha/Statistic.pm
koha-tmpl/intranet-tmpl/prog/en/includes/background_jobs/pseudonymize_statistic.inc [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/admin/background_jobs.tt