Koha/members
Lari Taskula fbb7097b1d Bug 12426: Allow resend for sent messages
This patch allows to resend both sent and failed messages.

With messages in 'sent' status, we have to be careful not to accidentally send
sent messages again. With the previous patch using GET request, this was likely
to happen because of browser storing the GET parameters.

This patch changes request method from GET to POST. Instead of a simple link,
we now have a form element.

In notices.pl we redirect back to notices.pl, because with POST there is a risk
of resending the message accidentally by form resubmission at refresh.

To test, find/create a Patron that has sent or failed notices in message_queue:
1. Enable EnchancedMessagingPreferences system preference
2. Go to Patrons -> Notices
3. In the Notice column, click the title of the sent or failed message
4. Observe that there is nothing for resending the sent or failed message
5. Apply the patches.
6. Reload Notices page and repeat step 3
7. Observe that there is now a link "Resend" in the Status-column
8. Click Resend
9. Observe that the message gets into 'pending' status

Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
2016-03-03 20:16:07 +00:00
..
boraccount.pl 15623 - Spelling mistake in boraccount.pl Test - Search for writen, if not found fix is correct 2016-01-27 05:10:38 +00:00
default_messageprefs.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
deletemem.pl Bug 14544: Get rid of GetSomeShelfNames 2015-11-05 09:58:02 -03:00
discharge.pl Bug 15353: Display the patron image where needed 2016-01-27 17:00:03 +00:00
discharges.pl Bug 8007: Discharge management 2015-04-30 12:33:56 -03:00
files.pl Bug 15542: Always display the patron's info the same way. 2016-01-23 19:15:08 +00:00
guarantor_search.pl Bug 15109: Make name the default sort order for all patron searches 2015-11-17 09:49:21 -03:00
mancredit.pl Bug 15542: Always display the patron's info the same way. 2016-01-23 19:15:08 +00:00
maninvoice.pl Bug 15542: Always display the patron's info the same way. 2016-01-23 19:15:08 +00:00
member-flags.pl Bug 15542: Always display the patron's info the same way. 2016-01-23 19:15:08 +00:00
member-password.pl Bug 15542 [QA Followup] - Tidy member-password.pl 2016-01-23 19:15:08 +00:00
member.pl Bug 7380: Rename filter to avoid confusion 2015-05-19 10:10:31 -03:00
memberentry.pl Bug 15631: Koha::Cities - remove getidcity and GetCities 2016-02-24 03:53:52 +00:00
members-home.pl Bug 15629 [QA Followup] 2016-02-24 03:55:07 +00:00
members-update-do.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
members-update.pl Bug 10904: (QA followup) Use branch limit if either IndependentBranches or IndependentBranchesPatronModifications is enabled 2015-11-02 12:34:46 -03:00
mod_debarment.pl Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
moremember.pl Bug 15629: Koha::Libraries - Remove GetBranchDetail 2016-02-24 03:55:06 +00:00
nl-search.pl Bug 14038: Make nl-search.pl not using C4::Members::Search 2015-05-15 15:37:09 -03:00
notices.pl Bug 12426: Allow resend for sent messages 2016-03-03 20:16:07 +00:00
patronimage.pl Bug 14566: Fix permissions in patronimage.pl 2015-08-24 10:29:49 -03:00
pay.pl Bug 15746: Same fix for "write off" 2016-02-23 21:15:21 +00:00
paycollect.pl Bug 15746: Do not record individual payments with randomly picked libraries 2016-02-23 21:15:21 +00:00
print_overdues.pl Bug 12933: (QA followup) Rename GetOverdues to GetOverduesForPatron 2015-11-04 12:41:29 -03:00
printfeercpt.pl 15622 - Spelling mistake in printfeercpt.pl writen -> written Search the file for writen, when not found change sucsessful 2016-02-24 03:02:24 +00:00
printinvoice.pl Bug 15621: Spelling mistake in printinvice.pl 2016-01-27 05:11:50 +00:00
printslip.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
purchase-suggestions.pl Bug 15542: Always display the patron's info the same way. 2016-01-23 19:15:08 +00:00
readingrec.pl Bug 15096: Export today's checked in barcodes: Display warning if reading history is set to "never" 2016-01-27 06:02:43 +00:00
routing-lists.pl Bug 15542: Always display the patron's info the same way. 2016-01-23 19:15:08 +00:00
setstatus.pl Bug 14910: Redirect to the circulation module after a renew 2015-10-02 14:22:16 -03:00
statistics.pl Bug 15542: Always display the patron's info the same way. 2016-01-23 19:15:08 +00:00
summary-print.pl Bug 15542: Always display the patron's info the same way. 2016-01-23 19:15:08 +00:00
update-child.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00