9708138a86
The sharedate column is documented as having the following meaning: "date of invitation or acceptance of invitation" This patch adjust the new list-sharing code to stick with that interpretation, as otherwise the column should have been renamed to 'invite_expiration_date' or the like. It also removes the "housekeeping" functionality from AddShare, as otherwise the routine should have been named AddShareAndDoOtherStuff. To prevent list shares from piling up, a new --list-invites flag has been added to cleanup_database.pl. The default crontabs have been modified to use the --list-invites flag by default. To test ------- [1] Make some list share invites and accept some, but now all of them. [2] Wait 14 days (or more reasonably, manually edit the sharedate values for the unaccepted shares to put them at least 14 days in the past.). [3] Run cleanup_database.pl --list-invites [4] Verify that accepted shares remain, as to share invites that have not yet reached more than 14 days of age. Signed-off-by: Galen Charlton <gmc@esilibrary.com> |
||
---|---|---|
.. | ||
holds | ||
rss | ||
social_data | ||
thirdparty | ||
advance_notices.pl | ||
backup.sh | ||
batch_anonymise.pl | ||
build_browser_and_cloud.pl | ||
cart_to_shelf.pl | ||
check-url-quick.pl | ||
check-url.pl | ||
cleanup_database.pl | ||
cloud-kw.pl | ||
cloud-sample.conf | ||
CONFIGURE.gmail | ||
create_koc_db.pl | ||
crontab.example | ||
delete_expired_opac_registrations.pl | ||
delete_patrons.pl | ||
delete_unverified_opac_registrations.pl | ||
fines.pl | ||
gather_print_notices.pl | ||
import_webservice_batch.pl | ||
j2a.pl | ||
longoverdue.pl | ||
MARC21_parse_test.pl | ||
overdue_notices.pl | ||
printoverdues.sh | ||
process_message_queue.pl | ||
purge_suggestions.pl | ||
runreport.pl | ||
serialsUpdate.pl | ||
services_throttle.pl | ||
staticfines.pl | ||
update_totalissues.pl |