Koha/koha-tmpl/intranet-tmpl/prog/en/includes/background_jobs/pseudonymize_statistic.inc
Nick Clemens 1ae58daca8
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>
2024-01-16 12:06:04 +01:00

25 lines
575 B
HTML

[% USE KohaSpan %]
[% BLOCK report %]
[% IF job.status == 'finished' %]
<div class="dialog message">
Statistic has been pseudonymized.
</div>
[% ELSIF job.status == 'cancelled' %]
<div class="dialog message">
Pseudonymization has been cancelled.
</div>
[% ELSE %]
<div class="dialog message">
Pseudonymization is pending.
</div>
[% END %]
[% END %]
[% BLOCK detail %]
<div class="dialog message">
Pseudonymization.
</div>
[% END %]
[% BLOCK js %]
[% END %]