Koha/t/db_dependent/Koha
Jonathan Druart f59475a360 Bug 24152: Add the ability to purge pseudonymized tables
anonymized_* tables have been added by bug 24151, this patch adds the
usual way to purge data from them.

The cleanup_database.pl script has been adjusted to take new parameters
that will help to delete pseudonymized data.

Test plan:
Call the scrip with the new parameter to remove pseudonymized data
* --pseudo-transactions DAYS will remove entries from pseudonymized_transactions older
than DAYS day
* --pseudo-transactions can be used without the parameter DAYS but with
-- pseudo-transactions-from and/or --pseudo-transactions-to instead, to provide a
range of date

You can use the patch from bug 24153 to make the tests easier, data will
not be deleted if the new --confirm flag is not passed.

Sponsored-by: Association KohaLa - https://koha-fr.org/

Signed-off-by: Signed-off-by: Sonia Bouis <sonia.bouis@univ-lyon3.fr>

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

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-07-20 16:08:22 +02:00
..
Account
Acquisition Bug 24161: (follow-up) Fix failing test (when running slow) 2020-05-13 16:05:36 +01:00
Biblio
BiblioUtils
Cash
Charges
Checkouts
Club
Config
Filter
IssuingRules
Item
Library
Objects/Mixin
Patron
Patrons Bug 18308: (RM follow-up) Fix failing tests 2020-05-05 10:49:07 +01:00
Plugins Bug 18308: (RM follow-up) Clarify intent of tests 2020-05-05 14:59:35 +01:00
REST Bug 25570: Regression tests 2020-06-24 14:31:36 +02:00
SearchEngine Bug 25864: Unit test adjustment 2020-07-09 11:42:33 +02:00
Subscription
Tags
Template/Plugin Bug 24156: Fix some QA failures 2020-06-25 10:55:38 +02:00
XSLT Bug 25641: Fix Koha/XSLT/Base.t failures on U20 2020-06-07 12:00:49 +02:00
Z3950Responder Bug 25277: Unit test 2020-05-18 15:27:22 +01:00
Account.t
ActionLogs.t
ApiKeys.t
Authorities.t Bug 24823: Drop Catmandu dependency 2020-05-12 11:43:19 +01:00
Biblio.t Bug 25540: Use build_sample_item 2020-05-23 08:33:57 +01:00
BiblioFrameworks.t
Biblios.t
Checkouts.t
CirculationRules.t Bug 24159: (QA follow-up) Make terminology consistent 2020-06-25 10:51:59 +02:00
Cities.t
ClassSortRules.t
ClassSources.t
ClassSplitRules.t
CsvProfiles.t
Database.t
Desks.t
GetDailyQuote.t
Holds.t
IssuingRules.t
Item.t Bug 25421: Make ->pickup_locations only return an arrayref 2020-05-12 10:59:58 +01:00
Items.t
ItemTypes.t
KeyboardShortcuts.t
Libraries.t Bug 24368: Remove Koha::Libraries->pickup_locations 2020-05-13 10:30:41 +01:00
MarcSubfieldStructures.t
News.t
Notices.t
Object.t Bug 25638: Add tests for JSON conversion vs DBD::mysql 2020-06-07 12:00:59 +02:00
Objects.t Bug 24152: Add the ability to purge pseudonymized tables 2020-07-20 16:08:22 +02:00
Old.t
Patron.t Bug 24379: Make login_attempts not nullable 2020-07-20 12:49:19 +02:00
Patrons.t Bug 23495: Fix if no sms provider defined 2020-04-29 16:57:06 +01:00
Pseudonymization.t Bug 24151: Rename the config key with 'bcrypt_settings' 2020-07-20 15:17:42 +02:00
Ratings.t
Reports.t
Reviews.t
SearchField.t
SharedContent.t
SMS_Providers.t
Statistics.t
Subscription.t
Suggestion.t
Suggestions.t
Tags.t
Z3950Servers.t