[Bug 8584] New: Improve cleanup_database.pl to only purge emails older than X days.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8584 Priority: P5 - low Change sponsored?: --- Bug ID: 8584 Assignee: gmcharlt@gmail.com Summary: Improve cleanup_database.pl to only purge emails older than X days. Severity: enhancement Classification: Unclassified OS: All Reporter: fcapovilla@live.ca Hardware: All Status: NEW Version: rel_3_8 Component: Command-line Utilities Product: Koha Created attachment 11394 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=11394&action=edit cleanup_database.pl : Add a DAYS parameter for email purges. The cleanup_database.pl script doesn't give the option to only delete emails older than X days. This feature is important for libraries that want to keep a short history of notifications sent to users (on the members/notices.pl page). Patch attached. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8584 Frédérick Capovilla <fcapovilla@live.ca> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Change sponsored?|--- |Sponsored Assignee|gmcharlt@gmail.com |fcapovilla@live.ca --- Comment #1 from Frédérick Capovilla <fcapovilla@live.ca> --- Patch sponsored by the CCSR ( http://www.ccsr.qc.ca ) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8584 Frédérick Capovilla <fcapovilla@live.ca> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|rel_3_8 |master -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8584 Maxime Pelletier <pelletiermaxime@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff CC| |pelletiermaxime@gmail.com --- Comment #2 from Maxime Pelletier <pelletiermaxime@gmail.com> --- Still applies in master, so changing to need signoff. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8584 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8584 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #11394|0 |1 is obsolete| | --- Comment #3 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 17396 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=17396&action=edit cleanup_database.pl : Add a DAYS parameter for email purges. You can now specify a number of DAYS with the --mail parameter. Only mails older than DAYS days will be deleted. http://bugs.koha-community.org/show_bug.cgi?id=8584 Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8584 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8584 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #17396|0 |1 is obsolete| | --- Comment #4 from Chris Cormack <chris@bigballofwax.co.nz> --- Created attachment 18663 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=18663&action=edit cleanup_database.pl : Add a DAYS parameter for email purges. You can now specify a number of DAYS with the --mail parameter. Only mails older than DAYS days will be deleted. http://bugs.koha-community.org/show_bug.cgi?id=8584 Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8584 Galen Charlton <gmcharlt@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Master CC| |gmcharlt@gmail.com --- Comment #5 from Galen Charlton <gmcharlt@gmail.com> --- Pushed to master. Thanks, Frédérick! -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org