[Bug 14855] New: Resend notices in Notices tab with AJAX + REST
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14855 Bug ID: 14855 Summary: Resend notices in Notices tab with AJAX + REST Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Notices Assignee: koha-bugs@lists.koha-community.org Reporter: larit@student.uef.fi QA Contact: testopia@bugs.koha-community.org Bug 12426 introduces a resend link to resend sent and failed messages. It uses POST method. Since Bug 14843 gives us REST API for notifications, we should enhance 12426 to use REST API via AJAX and only allow Staff members with permission "resend_message" to be able to see the link and use it. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14855 Lari Taskula <larit@student.uef.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |14843 Assignee|koha-bugs@lists.koha-commun |larit@student.uef.fi |ity.org | Referenced Bugs: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14843 [Bug 14843] Notifications and messages via REST API -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14855 Lari Taskula <larit@student.uef.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |12426 Referenced Bugs: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12426 [Bug 12426] Allow resending of emails from the notices tab in the patron account -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14855 --- Comment #1 from Lari Taskula <larit@student.uef.fi> --- Created attachment 42717 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42717&action=edit Bug 14855: Resend notices in Notices tab with AJAX + REST Bug 12426 introduces a resend link to resend sent and failed messages. It uses POST method. Since Bug 14843 gives us REST API for notifications, we should enhance 12426 to use REST API via AJAX and only allow Staff members with permission "resend_message" to be able to see the link and use it. This patch changes the request into AJAX POST via the REST API for notifications. To test: -3. Make sure you have all the dependant patches -2. Enable system preference EnhancedMessagingPreferences -1. Make sure you do not have permission messages -> resend_message -0. To view Notices without superlibrarian permission, you need - borrowers -> view_borrowers - catalogue -> staff_login To test: 1. Have/create some pending sms messages into message_queue 2. Go to Patrons -> Notices 3. Resend one of the message and observe the page will reload 4. Apply patch 5. Reload Patrons -> Notices and observe there is no Resend link 6. Add yourself the permission messages -> resend_message 7. Reload Patrons -> Notices and observe there is Resend link 8. Resend a message and observe page will not reload 9. Observe that the message status has changed to pending -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14855 Lari Taskula <larit@student.uef.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14855 jdemuth@roseville.ca.us <jdemuth@roseville.ca.us> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jdemuth@roseville.ca.us -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org