Koha-clms/t/lib/KohaTest
Andrew Moore 2cae4efa0a Bug 2176 (3/5): adding methods to manage message_queue, new advance_notices.pl, new C4::SMS module
I've added methods to to C4::Letters to manage the database table
message_queue. This will let us keep track of messages sent
via email, sms, and rss to patrons. That way, we can show the history,
deal with failures, and reconstruct an RSS feed when needed.

misc/cronjobs/overduenotics.pl has been added. It prepares advance notices
and item due notices and stages messages to be sent in the message_queue
table.

C4::Overdues::Getoverdues now takes two optional arguments to tell it how
old of overdues to fetch.

Also, a C4::Circualtion::getUpcomingDueIssues method was added that
advance_notices.pl uses.

misc/cronjobs/process_message_queue.pl has been added. It sends the email
or SMS messages out of the message queue.

The C4::SMS module didn't work at all, and it has been rebuilt to use
an external perl module from CPAN, SMS::Send.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-06-20 13:04:52 -05:00
..
Acquisition adding database-dependent test libs. 2008-04-21 11:26:28 -05:00
Biblio Bug 2047: some tests for C4::Biblio::get_biblio_authorised_values 2008-05-27 06:52:13 -05:00
Branch bug 1953: fixing potential SQL injection problems in C4::Branch::GetBranches 2008-05-12 15:07:17 -05:00
Calendar Bug 1953: adding tests and 2 corrections for C4::Calendar 2008-05-13 17:41:20 -05:00
Circulation Bug 2176 (3/5): adding methods to manage message_queue, new advance_notices.pl, new C4::SMS module 2008-06-20 13:04:52 -05:00
ImportBatch staging import - enhance record overlay behavior 2008-04-30 21:58:46 -05:00
Installer fixed installer test 2008-05-12 15:07:12 -05:00
Letters Bug 2176 (3/5): adding methods to manage message_queue, new advance_notices.pl, new C4::SMS module 2008-06-20 13:04:52 -05:00
Members corrected base class of a test 2008-05-12 09:03:05 -05:00
Overdues Bug 2176 (3/5): adding methods to manage message_queue, new advance_notices.pl, new C4::SMS module 2008-06-20 13:04:52 -05:00
SMS Bug 2176 (3/5): adding methods to manage message_queue, new advance_notices.pl, new C4::SMS module 2008-06-20 13:04:52 -05:00
Scripts bug 2087: test cases for misc/cronjobs/longoverdue.pl 2008-05-11 06:43:35 -05:00
Search bugfix - fix 'not' operator in NoZebra 2008-05-16 08:18:25 -05:00
Accounts.pm Commented out fixaccounts (not used anywhere). Also improved getnextacctno. 2008-05-29 07:04:37 -05:00
Acquisition.pm adding database-dependent test libs. 2008-04-21 11:26:28 -05:00
AuthoritiesMarc.pm bug 2088: test suite refactoring to deal with t/override_context_prefs.pm 2008-05-11 06:48:40 -05:00
Biblio.pm bug 2088: test suite refactoring to deal with t/override_context_prefs.pm 2008-05-11 06:48:40 -05:00
Branch.pm bug 1953: fixing potential SQL injection problems in C4::Branch::GetBranches 2008-05-12 15:07:17 -05:00
Breeding.pm bug 2088: test suite refactoring to deal with t/override_context_prefs.pm 2008-05-11 06:48:40 -05:00
Calendar.pm Bug 1953: adding tests and 2 corrections for C4::Calendar 2008-05-13 17:41:20 -05:00
Circulation.pm Bug 2176 (3/5): adding methods to manage message_queue, new advance_notices.pl, new C4::SMS module 2008-06-20 13:04:52 -05:00
Dates.pm bug 2088: test suite refactoring to deal with t/override_context_prefs.pm 2008-05-11 06:48:40 -05:00
ImportBatch.pm staging import - enhance record overlay behavior 2008-04-30 21:58:46 -05:00
Installer.pm test suite: allow skipping of expensive tests 2008-05-19 13:25:57 -05:00
Letters.pm Bug 2176 (3/5): adding methods to manage message_queue, new advance_notices.pl, new C4::SMS module 2008-06-20 13:04:52 -05:00
Log.pm bug 2088: test suite refactoring to deal with t/override_context_prefs.pm 2008-05-11 06:48:40 -05:00
Members.pm bug 2088: test suite refactoring to deal with t/override_context_prefs.pm 2008-05-11 06:48:40 -05:00
NewsChannels.pm bug 2088: test suite refactoring to deal with t/override_context_prefs.pm 2008-05-11 06:48:40 -05:00
Overdues.pm bug 2088: test suite refactoring to deal with t/override_context_prefs.pm 2008-05-11 06:48:40 -05:00
Print.pm bug 2088: test suite refactoring to deal with t/override_context_prefs.pm 2008-05-11 06:48:40 -05:00
Reserves.pm bug 2088: test suite refactoring to deal with t/override_context_prefs.pm 2008-05-11 06:48:40 -05:00
SMS.pm Bug 2176 (3/5): adding methods to manage message_queue, new advance_notices.pl, new C4::SMS module 2008-06-20 13:04:52 -05:00
Scripts.pm bug 2087: test cases for misc/cronjobs/longoverdue.pl 2008-05-11 06:43:35 -05:00
Search.pm adding database-dependent test libs. 2008-04-21 11:26:28 -05:00
Serials.pm bug 2088: test suite refactoring to deal with t/override_context_prefs.pm 2008-05-11 06:48:40 -05:00
Suggestions.pm bug 2088: test suite refactoring to deal with t/override_context_prefs.pm 2008-05-11 06:48:40 -05:00
Z3950.pm bug 2088: test suite refactoring to deal with t/override_context_prefs.pm 2008-05-11 06:48:40 -05:00