[Bug 33260] New: Show message queue on staff interface and make notices printable
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Bug ID: 33260 Summary: Show message queue on staff interface and make notices printable 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: aleisha@catalyst.net.nz QA Contact: testopia@bugs.koha-community.org Some Koha libraries need to get messages out to borrowers who do not have email addresses, so they need to be able to view generated notices, and optionally print them so they can be delivered offline. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Change sponsored?|--- |Sponsored Assignee|koha-bugs@lists.koha-commun |aleisha@catalyst.net.nz |ity.org | -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #1 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 148437 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=148437&action=edit Bug 33260: Add view_generated_notices user permission -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #2 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 148438 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=148438&action=edit Bug 33260: Add NoticesManagement system preference -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #3 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 148439 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=148439&action=edit Bug 33260: Add a patron getter method to Koha::Notice::Message -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #4 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 148440 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=148440&action=edit Bug 33260: [WIP] Add Notice management tool -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Nick Clemens <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nick@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 AspenCat Team <aspencatteam@clicweb.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aspencatteam@clicweb.org -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #148440|0 |1 is obsolete| | --- Comment #5 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 148943 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=148943&action=edit Bug 33260: [WIP] Add Notice management tool TODO: Get date filtering working, get Print going, add Print to members/notices.pl -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #148943|0 |1 is obsolete| | --- Comment #6 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 149009 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=149009&action=edit Bug 33260: Add Notice management tool This enhancement makes it easy for the library to view sent notices and filter by various search parameters. You can also print individual sent notices. TODO: Print multiple notices at once. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|--- |Medium patch Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #149009|0 |1 is obsolete| | --- Comment #7 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 149413 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=149413&action=edit Bug 33260: Add Notice management tool This enhancement makes it easy for the library to view sent notices and filter by various search parameters. You can also print sent notices, individually or in a batch. This enhancement uses a new system preference NoticesManagement and a new view_generated_notices user permission. To test: 1. Apply patches, install database updates, restart services 2. Make sure your logged in user has the view_generated_notices permission checked 3. Enable the NoticesManagement system preference 4. Generate a few notices. There are a few ways to do this including: - place holds, check in items and confirm the holds - place recalls, check in items and confirm the recalls 5. Go to Tools -> Notices management 6. There are two search functions on the left navigation. Confirm the patron search box works by searching for one of the patrons you generated a notice for, you should be redirected to their Notice history. 7. Go back to Notices management. Use the set of search filters to search for notices. Leaving the search filters empty will return all notices generated. Confirm the filters work as expected by using different combinations of filters. 8. Conduct a search so your notices show in a table. Confirm the information fetched about the notices is correct. 9. Click on a notice title. Confirm the contents of the notice show in a pop-up box. 10. Click one of the Print buttons next to a notice. Confirm the notice is opened to be printed. 11. Redo your notices search. Confirm the status of the notice you just printed has now been updated to 'sent'. 12. Use the 'Select all' and 'Clear all' buttons to select or clear the checkboxes. 13. Select a few checkboxes and click the button at the bottom of the table to 'Print selected notices'. Confirm the notices have been collated into one document, separated by horizontal lines, and prints successfully. The statuses for the notices should all be updated to 'sent'. 14. Confirm the Notices management page is not visible without the view_generated_notices permission 15. Confirm the Notices management page is not visible without the NoticesManagement system preference being enabled. 16. Go to a patron's Notices history. If the view_generated_notices user permission is checked for your logged in patron, you should see a Print button for each notice. Confirm this works. Confirm this button doesn't show if your logged in patron does not have the view_generated_notices user permission. It does not require the NoticesManagement system preference. Sponsored-by: Colorado Library Consortium -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Text to go in the| |This enhancement makes it release notes| |easy for the library to | |view sent notices and | |filter by various search | |parameters. | | | |You can also | |print sent notices, | |individually or in a batch. | | | |This enhancement uses a | |new system preference | |NoticesManagement and a new | |view_generated_notices user | |permission. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Laura Escamilla <Laura.escamilla@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Laura.escamilla@bywatersolu | |tions.com Status|Needs Signoff |Failed QA --- Comment #8 from Laura Escamilla <Laura.escamilla@bywatersolutions.com> --- Hi! Overall the new syspref and notices management page is working as expected. However, there are a few things I noticed that seem to be a little broken. 1. In the Notices Management page if you search for a patron and their name populates then clicking on the populated name will appropriately take you to their notice history. However, if you use the "Browse by last name" option or if you just search for a letter such as "K", then the table that is supposed to show the patron names is not displayed properly. It is askew to the left and mixes into the filter options. 2. The print notices work, but there is a lot of whitespace within the messages. This might be a separate bug, but having the messages more condensed and still separated by the horizontal line would be ideal. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |ASSIGNED --- Comment #9 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Thank you for testing Laura! (In reply to Laura Escamilla from comment #8)
Hi!
Overall the new syspref and notices management page is working as expected. However, there are a few things I noticed that seem to be a little broken.
1. In the Notices Management page if you search for a patron and their name populates then clicking on the populated name will appropriately take you to their notice history. However, if you use the "Browse by last name" option or if you just search for a letter such as "K", then the table that is supposed to show the patron names is not displayed properly. It is askew to the left and mixes into the filter options.
I'll work on fixing this.
2. The print notices work, but there is a lot of whitespace within the messages. This might be a separate bug, but having the messages more condensed and still separated by the horizontal line would be ideal.
This is just how the default HOLD print notice comes in Koha, it has heaps of line breaks in it. You can go to Notices & slips and delete the newlines from the template notice to remove that whitespace. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #10 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 149581 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=149581&action=edit Bug 33260: Move patron search into main body of page This patch moves the patron search in the Notices management page to the main body of the page so that the patron search result table displays more nicely. This is a better place for it anyway, as using this search takes the user to a different page. In the sidebar, where it was previously, it implied it would have the same results display as the search filters. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 ByWater Sandboxes <bws.sandboxes@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #149581|0 |1 is obsolete| | --- Comment #11 from ByWater Sandboxes <bws.sandboxes@gmail.com> --- Created attachment 149593 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=149593&action=edit Bug 33260: Move patron search into main body of page This patch moves the patron search in the Notices management page to the main body of the page so that the patron search result table displays more nicely. This is a better place for it anyway, as using this search takes the user to a different page. In the sidebar, where it was previously, it implied it would have the same results display as the search filters. Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 ByWater Sandboxes <bws.sandboxes@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #148437|0 |1 is obsolete| | --- Comment #12 from ByWater Sandboxes <bws.sandboxes@gmail.com> --- Created attachment 149594 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=149594&action=edit Bug 33260: Add view_generated_notices user permission Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 ByWater Sandboxes <bws.sandboxes@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #148438|0 |1 is obsolete| | --- Comment #13 from ByWater Sandboxes <bws.sandboxes@gmail.com> --- Created attachment 149595 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=149595&action=edit Bug 33260: Add NoticesManagement system preference Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 ByWater Sandboxes <bws.sandboxes@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #148439|0 |1 is obsolete| | --- Comment #14 from ByWater Sandboxes <bws.sandboxes@gmail.com> --- Created attachment 149596 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=149596&action=edit Bug 33260: Add a patron getter method to Koha::Notice::Message Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 ByWater Sandboxes <bws.sandboxes@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #149413|0 |1 is obsolete| | --- Comment #15 from ByWater Sandboxes <bws.sandboxes@gmail.com> --- Created attachment 149597 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=149597&action=edit Bug 33260: Add Notice management tool This enhancement makes it easy for the library to view sent notices and filter by various search parameters. You can also print sent notices, individually or in a batch. This enhancement uses a new system preference NoticesManagement and a new view_generated_notices user permission. To test: 1. Apply patches, install database updates, restart services 2. Make sure your logged in user has the view_generated_notices permission checked 3. Enable the NoticesManagement system preference 4. Generate a few notices. There are a few ways to do this including: - place holds, check in items and confirm the holds - place recalls, check in items and confirm the recalls 5. Go to Tools -> Notices management 6. There are two search functions on the left navigation. Confirm the patron search box works by searching for one of the patrons you generated a notice for, you should be redirected to their Notice history. 7. Go back to Notices management. Use the set of search filters to search for notices. Leaving the search filters empty will return all notices generated. Confirm the filters work as expected by using different combinations of filters. 8. Conduct a search so your notices show in a table. Confirm the information fetched about the notices is correct. 9. Click on a notice title. Confirm the contents of the notice show in a pop-up box. 10. Click one of the Print buttons next to a notice. Confirm the notice is opened to be printed. 11. Redo your notices search. Confirm the status of the notice you just printed has now been updated to 'sent'. 12. Use the 'Select all' and 'Clear all' buttons to select or clear the checkboxes. 13. Select a few checkboxes and click the button at the bottom of the table to 'Print selected notices'. Confirm the notices have been collated into one document, separated by horizontal lines, and prints successfully. The statuses for the notices should all be updated to 'sent'. 14. Confirm the Notices management page is not visible without the view_generated_notices permission 15. Confirm the Notices management page is not visible without the NoticesManagement system preference being enabled. 16. Go to a patron's Notices history. If the view_generated_notices user permission is checked for your logged in patron, you should see a Print button for each notice. Confirm this works. Confirm this button doesn't show if your logged in patron does not have the view_generated_notices user permission. It does not require the NoticesManagement system preference. Sponsored-by: Colorado Library Consortium Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 ByWater Sandboxes <bws.sandboxes@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #149593|0 |1 is obsolete| | --- Comment #16 from ByWater Sandboxes <bws.sandboxes@gmail.com> --- Created attachment 149598 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=149598&action=edit Bug 33260: Move patron search into main body of page This patch moves the patron search in the Notices management page to the main body of the page so that the patron search result table displays more nicely. This is a better place for it anyway, as using this search takes the user to a different page. In the sidebar, where it was previously, it implied it would have the same results display as the search filters. Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Laura Escamilla <Laura.escamilla@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off --- Comment #17 from Laura Escamilla <Laura.escamilla@bywatersolutions.com> --- Love the way the new setup looks for the notice management page! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Andrew Fuerste-Henry <andrewfh@dubcolib.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrewfh@dubcolib.org -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Needs Signoff Depends on| |33478 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33478 [Bug 33478] Customise the format of notices when they are printed -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #149597|0 |1 is obsolete| | --- Comment #18 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 150346 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=150346&action=edit Bug 33260: Add Notice management tool This enhancement makes it easy for the library to view sent notices and filter by various search parameters. You can also print sent notices, individually or in a batch. This enhancement uses a new system preference NoticesManagement and a new view_generated_notices user permission. This enhancement has been built on top of Bug 33478 so print format settings are taken into account when printing notices. To test: 1. Apply patches, install database updates, restart services 2. Make sure your logged in user has the view_generated_notices permission checked 3. Enable the NoticesManagement system preference 4. Generate a few notices. There are a few ways to do this including: - place holds, check in items and confirm the holds - place recalls, check in items and confirm the recalls 5. Go to Tools -> Notices management 6. There are two search functions on the left navigation. Confirm the patron search box works by searching for one of the patrons you generated a notice for, you should be redirected to their Notice history. 7. Go back to Notices management. Use the set of search filters to search for notices. Leaving the search filters empty will return all notices generated. Confirm the filters work as expected by using different combinations of filters. 8. Conduct a search so your notices show in a table. Confirm the information fetched about the notices is correct. 9. Click on a notice title. Confirm the contents of the notice show in a pop-up box. 10. Click one of the Print buttons next to a notice. Confirm the notice is opened to be printed. 11. Redo your notices search. Confirm the status of the notice you just printed has now been updated to 'sent'. 12. Use the 'Select all' and 'Clear all' buttons to select or clear the checkboxes. 13. Select a few checkboxes and click the button at the bottom of the table to 'Print selected notices'. Confirm the notices have been collated into one document, separated by horizontal lines, and prints successfully. The statuses for the notices should all be updated to 'sent'. 14. Confirm the Notices management page is not visible without the view_generated_notices permission 15. Confirm the Notices management page is not visible without the NoticesManagement system preference being enabled. 16. Go to a patron's Notices history. If the view_generated_notices user permission is checked for your logged in patron, you should see a Print button for each notice. Confirm this works. Confirm this button doesn't show if your logged in patron does not have the view_generated_notices user permission. It does not require the NoticesManagement system preference. 17. Go to Tools -> Notices & slips 18. Edit the format settings of a few different notices i.e. HOLD and WELCOME 19. Generate these notices by filling a hold for a patron and sending a welcome email 20. Search for all notices under Tools -> Notices management 21. Select all notices and print selected notices 22. Confirm the notices different format settings are taken into account in the printed PDF Sponsored-by: Colorado Library Consortium -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #149598|0 |1 is obsolete| | --- Comment #19 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 150347 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=150347&action=edit Bug 33260: Move patron search into main body of page This patch moves the patron search in the Notices management page to the main body of the page so that the patron search result table displays more nicely. This is a better place for it anyway, as using this search takes the user to a different page. In the sidebar, where it was previously, it implied it would have the same results display as the search filters. Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #20 from Aleisha Amohia <aleisha@catalyst.net.nz> --- I've rebased this to build on top of Bug 33478 and use the format settings. Only the patch "Bug 33260: Add Notice management tool" needs to be re-tested and a new sign-off line added. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Emmi Takkinen <emmi.takkinen@koha-suomi.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Patch doesn't apply CC| |emmi.takkinen@koha-suomi.fi --- Comment #21 from Emmi Takkinen <emmi.takkinen@koha-suomi.fi> --- I'm getting this error when trying to apply the patches: Apply? [(y)es, (n)o, (i)nteractive] y Applying: Bug 33260: Add view_generated_notices user permission Applying: Bug 33260: Add NoticesManagement system preference Applying: Bug 33260: Add a patron getter method to Koha::Notice::Message Applying: Bug 33260: Add Notice management tool Using index info to reconstruct a base tree... M koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt M koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt A koha-tmpl/intranet-tmpl/prog/js/patron-autocomplete.js Falling back to patching base and 3-way merge... CONFLICT (modify/delete): koha-tmpl/intranet-tmpl/prog/js/patron-autocomplete.js deleted in HEAD and modified in Bug 33260: Add Notice management tool. Version Bug 33260: Add Notice management tool of koha-tmpl/intranet-tmpl/prog/js/patron-autocomplete.js left in tree. Auto-merging koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt Auto-merging koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt error: Failed to merge in the changes. Patch failed at 0001 Bug 33260: Add Notice management tool hint: Use 'git am --show-current-patch=diff' to see the failed patch When you have resolved this problem run "git bz apply --continue". If you would prefer to skip this patch, instead run "git bz apply --skip". To restore the original branch and stop patching run "git bz apply --abort". Patch left in /tmp/Bug-33260-Add-Notice-management-tool-wp4ViP.patch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Patch doesn't apply |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #150346|0 |1 is obsolete| | --- Comment #22 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 154927 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=154927&action=edit Bug 33260: Add Notice management tool This enhancement makes it easy for the library to view sent notices and filter by various search parameters. You can also print sent notices, individually or in a batch. This enhancement uses a new system preference NoticesManagement and a new view_generated_notices user permission. This enhancement has been built on top of Bug 33478 so print format settings are taken into account when printing notices. To test: 1. Apply patches, install database updates, restart services 2. Make sure your logged in user has the view_generated_notices permission checked 3. Enable the NoticesManagement system preference 4. Generate a few notices. There are a few ways to do this including: - place holds, check in items and confirm the holds - place recalls, check in items and confirm the recalls 5. Go to Tools -> Notices management 6. There are two search functions on the left navigation. Confirm the patron search box works by searching for one of the patrons you generated a notice for, you should be redirected to their Notice history. 7. Go back to Notices management. Use the set of search filters to search for notices. Leaving the search filters empty will return all notices generated. Confirm the filters work as expected by using different combinations of filters. 8. Conduct a search so your notices show in a table. Confirm the information fetched about the notices is correct. 9. Click on a notice title. Confirm the contents of the notice show in a pop-up box. 10. Click one of the Print buttons next to a notice. Confirm the notice is opened to be printed. 11. Redo your notices search. Confirm the status of the notice you just printed has now been updated to 'sent'. 12. Use the 'Select all' and 'Clear all' buttons to select or clear the checkboxes. 13. Select a few checkboxes and click the button at the bottom of the table to 'Print selected notices'. Confirm the notices have been collated into one document, separated by horizontal lines, and prints successfully. The statuses for the notices should all be updated to 'sent'. 14. Confirm the Notices management page is not visible without the view_generated_notices permission 15. Confirm the Notices management page is not visible without the NoticesManagement system preference being enabled. 16. Go to a patron's Notices history. If the view_generated_notices user permission is checked for your logged in patron, you should see a Print button for each notice. Confirm this works. Confirm this button doesn't show if your logged in patron does not have the view_generated_notices user permission. It does not require the NoticesManagement system preference. 17. Go to Tools -> Notices & slips 18. Edit the format settings of a few different notices i.e. HOLD and WELCOME 19. Generate these notices by filling a hold for a patron and sending a welcome email 20. Search for all notices under Tools -> Notices management 21. Select all notices and print selected notices 22. Confirm the notices different format settings are taken into account in the printed PDF Sponsored-by: Colorado Library Consortium -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #150347|0 |1 is obsolete| | --- Comment #23 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 154928 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=154928&action=edit Bug 33260: Move patron search into main body of page This patch moves the patron search in the Notices management page to the main body of the page so that the patron search result table displays more nicely. This is a better place for it anyway, as using this search takes the user to a different page. In the sidebar, where it was previously, it implied it would have the same results display as the search filters. Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david@davidnind.com Status|Needs Signoff |Patch doesn't apply --- Comment #24 from David Nind <david@davidnind.com> --- Patch no longer applies 8-(... Apply? [(y)es, (n)o, (i)nteractive] y Applying: Bug 33260: Add view_generated_notices user permission Applying: Bug 33260: Add NoticesManagement system preference Applying: Bug 33260: Add a patron getter method to Koha::Notice::Message Using index info to reconstruct a base tree... M t/db_dependent/Letters.t Falling back to patching base and 3-way merge... Auto-merging t/db_dependent/Letters.t CONFLICT (content): Merge conflict in t/db_dependent/Letters.t error: Failed to merge in the changes. Patch failed at 0001 Bug 33260: Add a patron getter method to Koha::Notice::Message -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Katie Bliss <kebliss@dmpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kebliss@dmpl.org -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Patch doesn't apply |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #149596|0 |1 is obsolete| | --- Comment #25 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 157383 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=157383&action=edit Bug 33260: Add a patron getter method to Koha::Notice::Message Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #154927|0 |1 is obsolete| | --- Comment #26 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 157384 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=157384&action=edit Bug 33260: Add Notice management tool This enhancement makes it easy for the library to view sent notices and filter by various search parameters. You can also print sent notices, individually or in a batch. This enhancement uses a new system preference NoticesManagement and a new view_generated_notices user permission. This enhancement has been built on top of Bug 33478 so print format settings are taken into account when printing notices. To test: 1. Apply patches, install database updates, restart services 2. Make sure your logged in user has the view_generated_notices permission checked 3. Enable the NoticesManagement system preference 4. Generate a few notices. There are a few ways to do this including: - place holds, check in items and confirm the holds - place recalls, check in items and confirm the recalls 5. Go to Tools -> Notices management 6. There are two search functions on the left navigation. Confirm the patron search box works by searching for one of the patrons you generated a notice for, you should be redirected to their Notice history. 7. Go back to Notices management. Use the set of search filters to search for notices. Leaving the search filters empty will return all notices generated. Confirm the filters work as expected by using different combinations of filters. 8. Conduct a search so your notices show in a table. Confirm the information fetched about the notices is correct. 9. Click on a notice title. Confirm the contents of the notice show in a pop-up box. 10. Click one of the Print buttons next to a notice. Confirm the notice is opened to be printed. 11. Redo your notices search. Confirm the status of the notice you just printed has now been updated to 'sent'. 12. Use the 'Select all' and 'Clear all' buttons to select or clear the checkboxes. 13. Select a few checkboxes and click the button at the bottom of the table to 'Print selected notices'. Confirm the notices have been collated into one document, separated by horizontal lines, and prints successfully. The statuses for the notices should all be updated to 'sent'. 14. Confirm the Notices management page is not visible without the view_generated_notices permission 15. Confirm the Notices management page is not visible without the NoticesManagement system preference being enabled. 16. Go to a patron's Notices history. If the view_generated_notices user permission is checked for your logged in patron, you should see a Print button for each notice. Confirm this works. Confirm this button doesn't show if your logged in patron does not have the view_generated_notices user permission. It does not require the NoticesManagement system preference. 17. Go to Tools -> Notices & slips 18. Edit the format settings of a few different notices i.e. HOLD and WELCOME 19. Generate these notices by filling a hold for a patron and sending a welcome email 20. Search for all notices under Tools -> Notices management 21. Select all notices and print selected notices 22. Confirm the notices different format settings are taken into account in the printed PDF Sponsored-by: Colorado Library Consortium -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #154928|0 |1 is obsolete| | --- Comment #27 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 157385 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=157385&action=edit Bug 33260: Move patron search into main body of page This patch moves the patron search in the Notices management page to the main body of the page so that the patron search result table displays more nicely. This is a better place for it anyway, as using this search takes the user to a different page. In the sidebar, where it was previously, it implied it would have the same results display as the search filters. Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #28 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 157386 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=157386&action=edit Bug 33260: Make styles apply per notice -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #29 from Aleisha Amohia <aleisha@catalyst.net.nz> --- The latest patch uses regex to replace all the CSS selectors when printing notices from the Notices Management page. It's not perfect, but it does the best job (that I could find) at applying notice-specific styles when printing a batch of notices. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Kelly McElligott <kelly@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kelly@bywatersolutions.com --- Comment #30 from Kelly McElligott <kelly@bywatersolutions.com> --- Upon testing this, I am getting, for every notice, I try to print, No Slip Template Found. Each notice that I have tested has a template created which include checkin, hold, checkout, welcome. Not sure why I am getting this message. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #31 from Kelly McElligott <kelly@bywatersolutions.com> --- Upon testing this, I am getting, for every notice, I try to print, No Slip Template Found. Each notice that I have tested has a template created which include checkin, hold, checkout, welcome. Not sure why I am getting this message. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Patch doesn't apply --- Comment #32 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Hi Kelly, I think you may have been seeing that message if you forgot to apply the patches from Bug 33478 first. Bug 33478 now needs to be rebased so will update when this patchset can be tested again. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Patch doesn't apply |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #157383|0 |1 is obsolete| | --- Comment #33 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 158852 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=158852&action=edit Bug 33260: Add a patron getter method to Koha::Notice::Message Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #157384|0 |1 is obsolete| | --- Comment #34 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 158853 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=158853&action=edit Bug 33260: Add Notice management tool This enhancement makes it easy for the library to view sent notices and filter by various search parameters. You can also print sent notices, individually or in a batch. This enhancement uses a new system preference NoticesManagement and a new view_generated_notices user permission. This enhancement has been built on top of Bug 33478 so print format settings are taken into account when printing notices. To test: 1. Apply patches, install database updates, restart services 2. Make sure your logged in user has the view_generated_notices permission checked 3. Enable the NoticesManagement system preference 4. Generate a few notices. There are a few ways to do this including: - place holds, check in items and confirm the holds - place recalls, check in items and confirm the recalls 5. Go to Tools -> Notices management 6. There are two search functions on the left navigation. Confirm the patron search box works by searching for one of the patrons you generated a notice for, you should be redirected to their Notice history. 7. Go back to Notices management. Use the set of search filters to search for notices. Leaving the search filters empty will return all notices generated. Confirm the filters work as expected by using different combinations of filters. 8. Conduct a search so your notices show in a table. Confirm the information fetched about the notices is correct. 9. Click on a notice title. Confirm the contents of the notice show in a pop-up box. 10. Click one of the Print buttons next to a notice. Confirm the notice is opened to be printed. 11. Redo your notices search. Confirm the status of the notice you just printed has now been updated to 'sent'. 12. Use the 'Select all' and 'Clear all' buttons to select or clear the checkboxes. 13. Select a few checkboxes and click the button at the bottom of the table to 'Print selected notices'. Confirm the notices have been collated into one document, separated by horizontal lines, and prints successfully. The statuses for the notices should all be updated to 'sent'. 14. Confirm the Notices management page is not visible without the view_generated_notices permission 15. Confirm the Notices management page is not visible without the NoticesManagement system preference being enabled. 16. Go to a patron's Notices history. If the view_generated_notices user permission is checked for your logged in patron, you should see a Print button for each notice. Confirm this works. Confirm this button doesn't show if your logged in patron does not have the view_generated_notices user permission. It does not require the NoticesManagement system preference. 17. Go to Tools -> Notices & slips 18. Edit the format settings of a few different notices i.e. HOLD and WELCOME 19. Generate these notices by filling a hold for a patron and sending a welcome email 20. Search for all notices under Tools -> Notices management 21. Select all notices and print selected notices 22. Confirm the notices different format settings are taken into account in the printed PDF Sponsored-by: Colorado Library Consortium -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #157385|0 |1 is obsolete| | --- Comment #35 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 158854 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=158854&action=edit Bug 33260: Move patron search into main body of page This patch moves the patron search in the Notices management page to the main body of the page so that the patron search result table displays more nicely. This is a better place for it anyway, as using this search takes the user to a different page. In the sidebar, where it was previously, it implied it would have the same results display as the search filters. Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #157386|0 |1 is obsolete| | --- Comment #36 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 158855 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=158855&action=edit Bug 33260: Make styles apply per notice -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |34030 --- Comment #37 from Aleisha Amohia <aleisha@catalyst.net.nz> --- I have reworked this feature to apply on top of the new Preservation Module, which changed the markup for how most notices are sent. Please test that any formatting applies to all notices again, thank you! Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34030 [Bug 34030] Print slips in a batch from the preservation module -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on|34030 | Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34030 [Bug 34030] Print slips in a batch from the preservation module -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |martin.renvoize@ptfs-europe | |.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=30287 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=35279 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #38 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Just starting to look here; just a couple of comments from initial testing so far * Could you take bug 30287 into account for the notice previews, please? * I used bug 35279 to test using the WELCOME message (it adds print fallback) Once I'd created a print type welcome notice for the ktd henry user, it displayed OK in print preview from the new notice management page, but the same print button on the patron notices tab yields 'No slip template found'. I must admit, I find the print process a little confusing at the moment, but need to test more before really commenting further. I do however like the idea of the feature overall.. will be watching it closeing during the next cycle. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #39 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Comment on attachment 158855 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=158855 Bug 33260: Make styles apply per notice Review of attachment 158855: --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=33260&attachment=158855) ----------------------------------------------------------------- I think this patch belongs in bug 33478 personally.. it's a fix for that bug not this one after rebases. ::: koha-tmpl/intranet-tmpl/prog/en/modules/circ/printslip.tt @@ +39,5 @@
[% SET slips = [{content => slip, is_html => !plain, style => style }] %] [% END %] [% FOR slip IN slips %] +[% IF slip.style %]<style>[% slip.style.replace('[^{]+{', '#slip_' _ slip.id _ ' {') | $raw %]</style>[% END %] +<span id="slip_[% slip.id | html %]">
Also.. this should really be a block level element in my opinion rather than an inline level element.. Probably a 'div'. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |oleonard@myacpl.org -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on|33478 |30287 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30287 [Bug 30287] Notices using HTML render differently in notices.pl https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33478 [Bug 33478] Customise the format of notices when they are printed -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #149594|0 |1 is obsolete| | Attachment #158855|0 |1 is obsolete| | --- Comment #40 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 162570 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=162570&action=edit Bug 33260: Add view_generated_notices user permission Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #149595|0 |1 is obsolete| | --- Comment #41 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 162571 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=162571&action=edit Bug 33260: Add NoticesManagement system preference Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #158852|0 |1 is obsolete| | --- Comment #42 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 162572 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=162572&action=edit Bug 33260: Add a patron getter method to Koha::Notice::Message Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #158853|0 |1 is obsolete| | --- Comment #43 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 162573 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=162573&action=edit Bug 33260: Add Notice management tool This enhancement makes it easy for the library to view sent notices and filter by various search parameters. You can also print sent notices, individually or in a batch. This enhancement uses a new system preference NoticesManagement and a new view_generated_notices user permission. This enhancement has been built on top of Bug 33478 so print format settings are taken into account when printing notices. To test: 1. Apply patches, install database updates, restart services 2. Make sure your logged in user has the view_generated_notices permission checked 3. Enable the NoticesManagement system preference 4. Generate a few notices. There are a few ways to do this including: - place holds, check in items and confirm the holds - place recalls, check in items and confirm the recalls 5. Go to Tools -> Notices management 6. There are two search functions on the left navigation. Confirm the patron search box works by searching for one of the patrons you generated a notice for, you should be redirected to their Notice history. 7. Go back to Notices management. Use the set of search filters to search for notices. Leaving the search filters empty will return all notices generated. Confirm the filters work as expected by using different combinations of filters. 8. Conduct a search so your notices show in a table. Confirm the information fetched about the notices is correct. 9. Click on a notice title. Confirm the contents of the notice show in a pop-up box. 10. Click one of the Print buttons next to a notice. Confirm the notice is opened to be printed. 11. Redo your notices search. Confirm the status of the notice you just printed has now been updated to 'sent'. 12. Use the 'Select all' and 'Clear all' buttons to select or clear the checkboxes. 13. Select a few checkboxes and click the button at the bottom of the table to 'Print selected notices'. Confirm the notices have been collated into one document, separated by horizontal lines, and prints successfully. The statuses for the notices should all be updated to 'sent'. 14. Confirm the Notices management page is not visible without the view_generated_notices permission 15. Confirm the Notices management page is not visible without the NoticesManagement system preference being enabled. 16. Go to a patron's Notices history. If the view_generated_notices user permission is checked for your logged in patron, you should see a Print button for each notice. Confirm this works. Confirm this button doesn't show if your logged in patron does not have the view_generated_notices user permission. It does not require the NoticesManagement system preference. 17. Go to Tools -> Notices & slips 18. Edit the format settings of a few different notices i.e. HOLD and WELCOME 19. Generate these notices by filling a hold for a patron and sending a welcome email 20. Search for all notices under Tools -> Notices management 21. Select all notices and print selected notices 22. Confirm the notices different format settings are taken into account in the printed PDF Sponsored-by: Colorado Library Consortium -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #158854|0 |1 is obsolete| | --- Comment #44 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 162574 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=162574&action=edit Bug 33260: Move patron search into main body of page This patch moves the patron search in the Notices management page to the main body of the page so that the patron search result table displays more nicely. This is a better place for it anyway, as using this search takes the user to a different page. In the sidebar, where it was previously, it implied it would have the same results display as the search filters. Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |33478 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33478 [Bug 33478] Customise the format of notices when they are printed -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Kelly McElligott <kelly@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Failed QA --- Comment #45 from Kelly McElligott <kelly@bywatersolutions.com> --- When searching for a notice in the search filters within the Notice Management Tool, several notices appear multiple times. For example, there are 3 HOLD notices. In the sandbox I am testing in, there is only one HOLD notice within the Notices and Slips, so it shouldn't appear three times. In addition, there are two check-in digest and two checkout digest options in this drop-down menu. There are many that only appear once, but some appear more than once. I think that the notice should only appear once when the library only has one notice. This list becomes very long with duplicates and it is very confusing. Just testing, I did create a library-specific HOLD notice, which appeared in the dropdown menu as with all the others with no indication of it being a library-specific notice. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #162573|0 |1 is obsolete| | --- Comment #46 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 162624 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=162624&action=edit Bug 33260: Add Notice management tool This enhancement makes it easy for the library to view sent notices and filter by various search parameters. You can also print sent notices, individually or in a batch. This enhancement uses a new system preference NoticesManagement and a new view_generated_notices user permission. This enhancement has been built on top of Bug 33478 so print format settings are taken into account when printing notices. To test: 1. Apply patches, install database updates, restart services 2. Make sure your logged in user has the view_generated_notices permission checked 3. Enable the NoticesManagement system preference 4. Generate a few notices. There are a few ways to do this including: - place holds, check in items and confirm the holds - place recalls, check in items and confirm the recalls 5. Go to Tools -> Notices management 6. There are two search functions on the left navigation. Confirm the patron search box works by searching for one of the patrons you generated a notice for, you should be redirected to their Notice history. 7. Go back to Notices management. Use the set of search filters to search for notices. Leaving the search filters empty will return all notices generated. Confirm the filters work as expected by using different combinations of filters. 8. Conduct a search so your notices show in a table. Confirm the information fetched about the notices is correct. 9. Click on a notice title. Confirm the contents of the notice show in a pop-up box. 10. Click one of the Print buttons next to a notice. Confirm the notice is opened to be printed. 11. Redo your notices search. Confirm the status of the notice you just printed has now been updated to 'sent'. 12. Use the 'Select all' and 'Clear all' buttons to select or clear the checkboxes. 13. Select a few checkboxes and click the button at the bottom of the table to 'Print selected notices'. Confirm the notices have been collated into one document, separated by horizontal lines, and prints successfully. The statuses for the notices should all be updated to 'sent'. 14. Confirm the Notices management page is not visible without the view_generated_notices permission 15. Confirm the Notices management page is not visible without the NoticesManagement system preference being enabled. 16. Go to a patron's Notices history. If the view_generated_notices user permission is checked for your logged in patron, you should see a Print button for each notice. Confirm this works. Confirm this button doesn't show if your logged in patron does not have the view_generated_notices user permission. It does not require the NoticesManagement system preference. 17. Go to Tools -> Notices & slips 18. Edit the format settings of a few different notices i.e. HOLD and WELCOME 19. Generate these notices by filling a hold for a patron and sending a welcome email 20. Search for all notices under Tools -> Notices management 21. Select all notices and print selected notices 22. Confirm the notices different format settings are taken into account in the printed PDF Sponsored-by: Colorado Library Consortium -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #162574|0 |1 is obsolete| | --- Comment #47 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 162625 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=162625&action=edit Bug 33260: Move patron search into main body of page This patch moves the patron search in the Notices management page to the main body of the page so that the patron search result table displays more nicely. This is a better place for it anyway, as using this search takes the user to a different page. In the sidebar, where it was previously, it implied it would have the same results display as the search filters. Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #48 from Aleisha Amohia <aleisha@catalyst.net.nz> --- (In reply to Kelly McElligott from comment #45)
When searching for a notice in the search filters within the Notice Management Tool, several notices appear multiple times. For example, there are 3 HOLD notices. In the sandbox I am testing in, there is only one HOLD notice within the Notices and Slips, so it shouldn't appear three times. In addition, there are two check-in digest and two checkout digest options in this drop-down menu. There are many that only appear once, but some appear more than once. I think that the notice should only appear once when the library only has one notice. This list becomes very long with duplicates and it is very confusing.
Just testing, I did create a library-specific HOLD notice, which appeared in the dropdown menu as with all the others with no indication of it being a library-specific notice.
Good catch, this was because of the many message transport types that might be available for a notice. I've fixed that up in latest patches - please test again when you can. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 ByWater Sandboxes <bws.sandboxes@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #162570|0 |1 is obsolete| | --- Comment #49 from ByWater Sandboxes <bws.sandboxes@gmail.com> --- Created attachment 162677 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=162677&action=edit Bug 33260: Add view_generated_notices user permission Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 ByWater Sandboxes <bws.sandboxes@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #162571|0 |1 is obsolete| | --- Comment #50 from ByWater Sandboxes <bws.sandboxes@gmail.com> --- Created attachment 162678 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=162678&action=edit Bug 33260: Add NoticesManagement system preference Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 ByWater Sandboxes <bws.sandboxes@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #162572|0 |1 is obsolete| | --- Comment #51 from ByWater Sandboxes <bws.sandboxes@gmail.com> --- Created attachment 162679 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=162679&action=edit Bug 33260: Add a patron getter method to Koha::Notice::Message Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 ByWater Sandboxes <bws.sandboxes@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #162624|0 |1 is obsolete| | --- Comment #52 from ByWater Sandboxes <bws.sandboxes@gmail.com> --- Created attachment 162680 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=162680&action=edit Bug 33260: Add Notice management tool This enhancement makes it easy for the library to view sent notices and filter by various search parameters. You can also print sent notices, individually or in a batch. This enhancement uses a new system preference NoticesManagement and a new view_generated_notices user permission. This enhancement has been built on top of Bug 33478 so print format settings are taken into account when printing notices. To test: 1. Apply patches, install database updates, restart services 2. Make sure your logged in user has the view_generated_notices permission checked 3. Enable the NoticesManagement system preference 4. Generate a few notices. There are a few ways to do this including: - place holds, check in items and confirm the holds - place recalls, check in items and confirm the recalls 5. Go to Tools -> Notices management 6. There are two search functions on the left navigation. Confirm the patron search box works by searching for one of the patrons you generated a notice for, you should be redirected to their Notice history. 7. Go back to Notices management. Use the set of search filters to search for notices. Leaving the search filters empty will return all notices generated. Confirm the filters work as expected by using different combinations of filters. 8. Conduct a search so your notices show in a table. Confirm the information fetched about the notices is correct. 9. Click on a notice title. Confirm the contents of the notice show in a pop-up box. 10. Click one of the Print buttons next to a notice. Confirm the notice is opened to be printed. 11. Redo your notices search. Confirm the status of the notice you just printed has now been updated to 'sent'. 12. Use the 'Select all' and 'Clear all' buttons to select or clear the checkboxes. 13. Select a few checkboxes and click the button at the bottom of the table to 'Print selected notices'. Confirm the notices have been collated into one document, separated by horizontal lines, and prints successfully. The statuses for the notices should all be updated to 'sent'. 14. Confirm the Notices management page is not visible without the view_generated_notices permission 15. Confirm the Notices management page is not visible without the NoticesManagement system preference being enabled. 16. Go to a patron's Notices history. If the view_generated_notices user permission is checked for your logged in patron, you should see a Print button for each notice. Confirm this works. Confirm this button doesn't show if your logged in patron does not have the view_generated_notices user permission. It does not require the NoticesManagement system preference. 17. Go to Tools -> Notices & slips 18. Edit the format settings of a few different notices i.e. HOLD and WELCOME 19. Generate these notices by filling a hold for a patron and sending a welcome email 20. Search for all notices under Tools -> Notices management 21. Select all notices and print selected notices 22. Confirm the notices different format settings are taken into account in the printed PDF Sponsored-by: Colorado Library Consortium Signed-off-by: kelly <kelly@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 ByWater Sandboxes <bws.sandboxes@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #162625|0 |1 is obsolete| | --- Comment #53 from ByWater Sandboxes <bws.sandboxes@gmail.com> --- Created attachment 162681 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=162681&action=edit Bug 33260: Move patron search into main body of page This patch moves the patron search in the Notices management page to the main body of the page so that the patron search result table displays more nicely. This is a better place for it anyway, as using this search takes the user to a different page. In the sidebar, where it was previously, it implied it would have the same results display as the search filters. Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Kelly McElligott <kelly@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Lucas Gass <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lucas@bywatersolutions.com Status|Signed Off |Failed QA --- Comment #54 from Lucas Gass <lucas@bywatersolutions.com> --- Tests are failing here and the DBUpdates need to have their file permissions corrected. Otherwise looks good! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #162677|0 |1 is obsolete| | --- Comment #55 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 164783 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=164783&action=edit Bug 33260: Add view_generated_notices user permission Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #162678|0 |1 is obsolete| | --- Comment #56 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 164784 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=164784&action=edit Bug 33260: Add NoticesManagement system preference Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #162679|0 |1 is obsolete| | --- Comment #57 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 164785 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=164785&action=edit Bug 33260: Add a patron getter method to Koha::Notice::Message Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #162680|0 |1 is obsolete| | --- Comment #58 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 164786 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=164786&action=edit Bug 33260: Add Notice management tool This enhancement makes it easy for the library to view sent notices and filter by various search parameters. You can also print sent notices, individually or in a batch. This enhancement uses a new system preference NoticesManagement and a new view_generated_notices user permission. This enhancement has been built on top of Bug 33478 so print format settings are taken into account when printing notices. To test: 1. Apply patches, install database updates, restart services 2. Make sure your logged in user has the view_generated_notices permission checked 3. Enable the NoticesManagement system preference 4. Generate a few notices. There are a few ways to do this including: - place holds, check in items and confirm the holds - place recalls, check in items and confirm the recalls 5. Go to Tools -> Notices management 6. There are two search functions on the left navigation. Confirm the patron search box works by searching for one of the patrons you generated a notice for, you should be redirected to their Notice history. 7. Go back to Notices management. Use the set of search filters to search for notices. Leaving the search filters empty will return all notices generated. Confirm the filters work as expected by using different combinations of filters. 8. Conduct a search so your notices show in a table. Confirm the information fetched about the notices is correct. 9. Click on a notice title. Confirm the contents of the notice show in a pop-up box. 10. Click one of the Print buttons next to a notice. Confirm the notice is opened to be printed. 11. Redo your notices search. Confirm the status of the notice you just printed has now been updated to 'sent'. 12. Use the 'Select all' and 'Clear all' buttons to select or clear the checkboxes. 13. Select a few checkboxes and click the button at the bottom of the table to 'Print selected notices'. Confirm the notices have been collated into one document, separated by horizontal lines, and prints successfully. The statuses for the notices should all be updated to 'sent'. 14. Confirm the Notices management page is not visible without the view_generated_notices permission 15. Confirm the Notices management page is not visible without the NoticesManagement system preference being enabled. 16. Go to a patron's Notices history. If the view_generated_notices user permission is checked for your logged in patron, you should see a Print button for each notice. Confirm this works. Confirm this button doesn't show if your logged in patron does not have the view_generated_notices user permission. It does not require the NoticesManagement system preference. 17. Go to Tools -> Notices & slips 18. Edit the format settings of a few different notices i.e. HOLD and WELCOME 19. Generate these notices by filling a hold for a patron and sending a welcome email 20. Search for all notices under Tools -> Notices management 21. Select all notices and print selected notices 22. Confirm the notices different format settings are taken into account in the printed PDF Sponsored-by: Colorado Library Consortium Signed-off-by: kelly <kelly@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #162681|0 |1 is obsolete| | --- Comment #59 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 164787 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=164787&action=edit Bug 33260: Move patron search into main body of page This patch moves the patron search in the Notices management page to the main body of the page so that the patron search result table displays more nicely. This is a better place for it anyway, as using this search takes the user to a different page. In the sidebar, where it was previously, it implied it would have the same results display as the search filters. Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Lucas Gass <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Patch doesn't apply --- Comment #60 from Lucas Gass <lucas@bywatersolutions.com> --- Needs rebased on top of Bug 36490 now. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Patch doesn't apply |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #164786|0 |1 is obsolete| | --- Comment #61 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 165238 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=165238&action=edit Bug 33260: Add Notice management tool This enhancement makes it easy for the library to view sent notices and filter by various search parameters. You can also print sent notices, individually or in a batch. This enhancement uses a new system preference NoticesManagement and a new view_generated_notices user permission. This enhancement has been built on top of Bug 33478 so print format settings are taken into account when printing notices. To test: 1. Apply patches, install database updates, restart services 2. Make sure your logged in user has the view_generated_notices permission checked 3. Enable the NoticesManagement system preference 4. Generate a few notices. There are a few ways to do this including: - place holds, check in items and confirm the holds - place recalls, check in items and confirm the recalls 5. Go to Tools -> Notices management 6. There are two search functions on the left navigation. Confirm the patron search box works by searching for one of the patrons you generated a notice for, you should be redirected to their Notice history. 7. Go back to Notices management. Use the set of search filters to search for notices. Leaving the search filters empty will return all notices generated. Confirm the filters work as expected by using different combinations of filters. 8. Conduct a search so your notices show in a table. Confirm the information fetched about the notices is correct. 9. Click on a notice title. Confirm the contents of the notice show in a pop-up box. 10. Click one of the Print buttons next to a notice. Confirm the notice is opened to be printed. 11. Redo your notices search. Confirm the status of the notice you just printed has now been updated to 'sent'. 12. Use the 'Select all' and 'Clear all' buttons to select or clear the checkboxes. 13. Select a few checkboxes and click the button at the bottom of the table to 'Print selected notices'. Confirm the notices have been collated into one document, separated by horizontal lines, and prints successfully. The statuses for the notices should all be updated to 'sent'. 14. Confirm the Notices management page is not visible without the view_generated_notices permission 15. Confirm the Notices management page is not visible without the NoticesManagement system preference being enabled. 16. Go to a patron's Notices history. If the view_generated_notices user permission is checked for your logged in patron, you should see a Print button for each notice. Confirm this works. Confirm this button doesn't show if your logged in patron does not have the view_generated_notices user permission. It does not require the NoticesManagement system preference. 17. Go to Tools -> Notices & slips 18. Edit the format settings of a few different notices i.e. HOLD and WELCOME 19. Generate these notices by filling a hold for a patron and sending a welcome email 20. Search for all notices under Tools -> Notices management 21. Select all notices and print selected notices 22. Confirm the notices different format settings are taken into account in the printed PDF Sponsored-by: Colorado Library Consortium Signed-off-by: kelly <kelly@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #164787|0 |1 is obsolete| | --- Comment #62 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 165239 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=165239&action=edit Bug 33260: Move patron search into main body of page This patch moves the patron search in the Notices management page to the main body of the page so that the patron search result table displays more nicely. This is a better place for it anyway, as using this search takes the user to a different page. In the sidebar, where it was previously, it implied it would have the same results display as the search filters. Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Failed QA --- Comment #63 from David Nind <david@davidnind.com> --- I could not test steps 5-13 (Tools > Notices management) because I get these errors (maybe partially related to Bug 34478 and Bug 36192 - CSRF protection) (other steps all work as expected): 1. Patron search: entering a partial name doesn't come up with the full name and card number to select (for example: start typing mary). Two errors in the console: jQuery.Deferred exception: Cannot set properties of undefined (setting '_renderItem') TypeError: Cannot set properties of undefined (setting '_renderItem') at patron_autocomplete (http://127.0.0.1:8081/intranet-tmpl/prog/js/staff-global_23.1200025.js:574:4...) at HTMLDocument.<anonymous> (http://127.0.0.1:8081/cgi-bin/koha/tools/notices.pl:2803:21) at e (http://127.0.0.1:8081/intranet-tmpl/lib/jquery/jquery-3.6.0.min_23.1200025.j...) at t (http://127.0.0.1:8081/intranet-tmpl/lib/jquery/jquery-3.6.0.min_23.1200025.j...) undefined Uncaught TypeError: Cannot set properties of undefined (setting '_renderItem') at patron_autocomplete (staff-global_23.1200025.js:574:46) at HTMLDocument.<anonymous> (notices.pl:2803:21) at e (jquery-3.6.0.min_23.1200025.js:2:30038) at t (jquery-3.6.0.min_23.1200025.js:2:30340) 2. Browse by last name: selecting any letter displays all patrons ("showing 1 to 20 of 53 entries"). 3. Selecting a patron (after choosing a letter) - nothing displays apart from the patrons search/browse by last name box) (for example: http://127.0.0.1:8081/cgi-bin/koha/tools/notices.pl?&borrowernumber=49) 4. Error when using the search filters. Click 'Search' (no need to change any filter options), error displayed: An error has occurred! Error 403 Programming error - op 'search' must start with 'cud-' for POST http://127.0.0.1:8081/intranet/tools/notices.pl (referer: http://127.0.0.1:8081/cgi-bin/koha/tools/notices.pl?&borrowernumber=49) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #64 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 165717 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=165717&action=edit Bug 33260: (follow-up) Fix search forms on notices mgmt page -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #65 from Aleisha Amohia <aleisha@catalyst.net.nz> --- (In reply to David Nind from comment #63)
I could not test steps 5-13 (Tools > Notices management) because I get these errors (maybe partially related to Bug 34478 and Bug 36192 - CSRF protection) (other steps all work as expected):
Thanks for testing David, I believe I have addressed these errors in the latest follow up. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Failed QA --- Comment #66 from David Nind <david@davidnind.com> --- (In reply to Aleisha Amohia from comment #65)
(In reply to David Nind from comment #63)
I could not test steps 5-13 (Tools > Notices management) because I get these errors (maybe partially related to Bug 34478 and Bug 36192 - CSRF protection) (other steps all work as expected):
Thanks for testing David, I believe I have addressed these errors in the latest follow up.
Thanks Aleisha for updating! The patron search block on the notices management tool page is now working. However, for the search filters on the left, I'm still getting an error when clicking on 'Search': An error has occurred! Error 403 Programming error - op 'search' must start with 'cud-' for POST http://127.0.0.1:8081/intranet/tools/notices.pl (referer: http://127.0.0.1:8081/cgi-bin/koha/tools/notices.pl) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #165717|0 |1 is obsolete| | --- Comment #67 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 165939 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=165939&action=edit Bug 33260: (follow-up) Fix search forms on notices mgmt page -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #164783|0 |1 is obsolete| | --- Comment #68 from David Nind <david@davidnind.com> --- Created attachment 165946 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=165946&action=edit Bug 33260: Add view_generated_notices user permission Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #164784|0 |1 is obsolete| | --- Comment #69 from David Nind <david@davidnind.com> --- Created attachment 165947 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=165947&action=edit Bug 33260: Add NoticesManagement system preference Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #164785|0 |1 is obsolete| | --- Comment #70 from David Nind <david@davidnind.com> --- Created attachment 165948 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=165948&action=edit Bug 33260: Add a patron getter method to Koha::Notice::Message Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #165238|0 |1 is obsolete| | --- Comment #71 from David Nind <david@davidnind.com> --- Created attachment 165949 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=165949&action=edit Bug 33260: Add Notice management tool This enhancement makes it easy for the library to view sent notices and filter by various search parameters. You can also print sent notices, individually or in a batch. This enhancement uses a new system preference NoticesManagement and a new view_generated_notices user permission. This enhancement has been built on top of Bug 33478 so print format settings are taken into account when printing notices. To test: 1. Apply patches, install database updates, restart services 2. Make sure your logged in user has the view_generated_notices permission checked 3. Enable the NoticesManagement system preference 4. Generate a few notices. There are a few ways to do this including: - place holds, check in items and confirm the holds - place recalls, check in items and confirm the recalls 5. Go to Tools -> Notices management 6. There are two search functions on the left navigation. Confirm the patron search box works by searching for one of the patrons you generated a notice for, you should be redirected to their Notice history. 7. Go back to Notices management. Use the set of search filters to search for notices. Leaving the search filters empty will return all notices generated. Confirm the filters work as expected by using different combinations of filters. 8. Conduct a search so your notices show in a table. Confirm the information fetched about the notices is correct. 9. Click on a notice title. Confirm the contents of the notice show in a pop-up box. 10. Click one of the Print buttons next to a notice. Confirm the notice is opened to be printed. 11. Redo your notices search. Confirm the status of the notice you just printed has now been updated to 'sent'. 12. Use the 'Select all' and 'Clear all' buttons to select or clear the checkboxes. 13. Select a few checkboxes and click the button at the bottom of the table to 'Print selected notices'. Confirm the notices have been collated into one document, separated by horizontal lines, and prints successfully. The statuses for the notices should all be updated to 'sent'. 14. Confirm the Notices management page is not visible without the view_generated_notices permission 15. Confirm the Notices management page is not visible without the NoticesManagement system preference being enabled. 16. Go to a patron's Notices history. If the view_generated_notices user permission is checked for your logged in patron, you should see a Print button for each notice. Confirm this works. Confirm this button doesn't show if your logged in patron does not have the view_generated_notices user permission. It does not require the NoticesManagement system preference. 17. Go to Tools -> Notices & slips 18. Edit the format settings of a few different notices i.e. HOLD and WELCOME 19. Generate these notices by filling a hold for a patron and sending a welcome email 20. Search for all notices under Tools -> Notices management 21. Select all notices and print selected notices 22. Confirm the notices different format settings are taken into account in the printed PDF Sponsored-by: Colorado Library Consortium Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #165239|0 |1 is obsolete| | --- Comment #72 from David Nind <david@davidnind.com> --- Created attachment 165950 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=165950&action=edit Bug 33260: Move patron search into main body of page This patch moves the patron search in the Notices management page to the main body of the page so that the patron search result table displays more nicely. This is a better place for it anyway, as using this search takes the user to a different page. In the sidebar, where it was previously, it implied it would have the same results display as the search filters. Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #165939|0 |1 is obsolete| | --- Comment #73 from David Nind <david@davidnind.com> --- Created attachment 165951 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=165951&action=edit Bug 33260: (follow-up) Fix search forms on notices mgmt page Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #74 from David Nind <david@davidnind.com> --- Thanks for fixing Aleisha! This looks great, and things worked as set out in the test plan. Some things I noticed and some suggestions (but not showstoppers for me): 1. Background for search results - I think this needs the white background div. 2. Step 13 - each notice was on a separate page, I didn't notice any horizontal lines. 3. Search filters: maybe this should also have a clear button or link beside the search button. 4. Search results display after printing selected notices. If you select multiple notices and click "Print selected notices", after you have saved the PDF and returned to the notices management screen, items are still selected, the print selected notices button is still selected, and the status stays as pending. Once you do another search or refresh the page, things display as expected. Is there a way to refresh the page once the selected notices are printed? Testing notes (using KTD): 1. I added an email address to the patron(s) I generated the notices for. 2. I updated the patron messaging preferences for the patron(s) I generated the notices for (I enabled item check-in and item checkout). -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #75 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 166020 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=166020&action=edit Bug 33260: (QA follow-up) Correct relation accessor and add unit test We were missing unit tests for the patron relation accessor added to Koha::Notice::Message and once I looked at adding the test I spotted the accessor was also using a rather outdated form. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #76 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Still looking here.. must admit I'm a little disappointed to find it all coded in a style we've long since moved away from even though it's a very recent project in the grand scheme. I'm worried about performance.. that table fills up with notice quickly and we're not paging or using API's. Also, we now have non-template driven notices and those cause a spectacular error on attempting to print. It looks like you're generating the notice from scratch at print time rather than using the notice that exists.. that also feels odd.. it could lead to viewing the preview and then printing something entirely different to what you just previewed. Anyway.. I'll come back to this asap once I've dug a little further. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #77 from Aleisha Amohia <aleisha@catalyst.net.nz> --- (In reply to Martin Renvoize from comment #76)
Still looking here.. must admit I'm a little disappointed to find it all coded in a style we've long since moved away from even though it's a very recent project in the grand scheme.
It was an oversight, I started this development over a year ago but I know that standard has been in place for a while so my apologies. The API and datatables stuff has moved on quite a lot since we first started using it and it isn't documented well in the wiki, so unfortunately sometimes I do need to make mistakes and be corrected. I really appreciate any specific comments or feedback I can implement here, or links to the wiki which explains the standards for these things. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #78 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- I'm a little worried about data privacy here I'm afraid.. I think I would expect to see use of Koha::Patrons->search_limited to limit results to patrons the logged-in user has the right to see. I'd be interested to get some feedback on that from a wider audience -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Nick Clemens (kidclamp) <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Failed QA --- Comment #79 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- Our team looked here as well. I think the privacy concern is the hard block here - if search_limited was implemented here (similar to Koha::ArticleRequests::search_limited) to limit the messages to patrons who the user can view this could move ahead. Martin's comment about non-templated notices should be addressed as well. We agree too that we need to improve the documentation and guidelines for datatables/searching/API interactions and will add that to the next dev meeting agenda -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #80 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 166178 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=166178&action=edit Bug 33260: Use search_limited to protect message privacy, and unit test This patch adds a Koha::Notice::Messages->search_limited sub to allow better control over which patron's notices the user can see. Test added to t/db_dependent/Koha/Notice/Message.t -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #81 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Thanks for the comments, I've attached a new patch implementing Koha::Notice::Messages->search_limited. I'm not sure what you mean by non-templated notices - are you able to give me an example of this please? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #165946|0 |1 is obsolete| | --- Comment #82 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 166335 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=166335&action=edit Bug 33260: Add view_generated_notices user permission Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #165947|0 |1 is obsolete| | --- Comment #83 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 166336 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=166336&action=edit Bug 33260: Add NoticesManagement system preference Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #165948|0 |1 is obsolete| | --- Comment #84 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 166337 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=166337&action=edit Bug 33260: Add a patron getter method to Koha::Notice::Message Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #165949|0 |1 is obsolete| | --- Comment #85 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 166338 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=166338&action=edit Bug 33260: Add Notice management tool This enhancement makes it easy for the library to view sent notices and filter by various search parameters. You can also print sent notices, individually or in a batch. This enhancement uses a new system preference NoticesManagement and a new view_generated_notices user permission. This enhancement has been built on top of Bug 33478 so print format settings are taken into account when printing notices. To test: 1. Apply patches, install database updates, restart services 2. Make sure your logged in user has the view_generated_notices permission checked 3. Enable the NoticesManagement system preference 4. Generate a few notices. There are a few ways to do this including: - place holds, check in items and confirm the holds - place recalls, check in items and confirm the recalls 5. Go to Tools -> Notices management 6. There are two search functions on the left navigation. Confirm the patron search box works by searching for one of the patrons you generated a notice for, you should be redirected to their Notice history. 7. Go back to Notices management. Use the set of search filters to search for notices. Leaving the search filters empty will return all notices generated. Confirm the filters work as expected by using different combinations of filters. 8. Conduct a search so your notices show in a table. Confirm the information fetched about the notices is correct. 9. Click on a notice title. Confirm the contents of the notice show in a pop-up box. 10. Click one of the Print buttons next to a notice. Confirm the notice is opened to be printed. 11. Redo your notices search. Confirm the status of the notice you just printed has now been updated to 'sent'. 12. Use the 'Select all' and 'Clear all' buttons to select or clear the checkboxes. 13. Select a few checkboxes and click the button at the bottom of the table to 'Print selected notices'. Confirm the notices have been collated into one document, separated by horizontal lines, and prints successfully. The statuses for the notices should all be updated to 'sent'. 14. Confirm the Notices management page is not visible without the view_generated_notices permission 15. Confirm the Notices management page is not visible without the NoticesManagement system preference being enabled. 16. Go to a patron's Notices history. If the view_generated_notices user permission is checked for your logged in patron, you should see a Print button for each notice. Confirm this works. Confirm this button doesn't show if your logged in patron does not have the view_generated_notices user permission. It does not require the NoticesManagement system preference. 17. Go to Tools -> Notices & slips 18. Edit the format settings of a few different notices i.e. HOLD and WELCOME 19. Generate these notices by filling a hold for a patron and sending a welcome email 20. Search for all notices under Tools -> Notices management 21. Select all notices and print selected notices 22. Confirm the notices different format settings are taken into account in the printed PDF Sponsored-by: Colorado Library Consortium Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #165950|0 |1 is obsolete| | --- Comment #86 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 166339 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=166339&action=edit Bug 33260: Move patron search into main body of page This patch moves the patron search in the Notices management page to the main body of the page so that the patron search result table displays more nicely. This is a better place for it anyway, as using this search takes the user to a different page. In the sidebar, where it was previously, it implied it would have the same results display as the search filters. Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #165951|0 |1 is obsolete| | --- Comment #87 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 166340 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=166340&action=edit Bug 33260: (follow-up) Fix search forms on notices mgmt page Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #166020|0 |1 is obsolete| | --- Comment #88 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 166341 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=166341&action=edit Bug 33260: (QA follow-up) Correct relation accessor and add unit test We were missing unit tests for the patron relation accessor added to Koha::Notice::Message and once I looked at adding the test I spotted the accessor was also using a rather outdated form. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #166178|0 |1 is obsolete| | --- Comment #89 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 166342 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=166342&action=edit Bug 33260: Use search_limited to protect message privacy, and unit test This patch adds a Koha::Notice::Messages->search_limited sub to allow better control over which patron's notices the user can see. Test added to t/db_dependent/Koha/Notice/Message.t Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #90 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 166343 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=166343&action=edit Bug 33260: Tidy unit test Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #91 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 166344 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=166344&action=edit Bug 33260: (QA follow-up) Add template relation This patch add the 'template' relation to the Koha::Notice::Message object to fetch the Koha::Notice::Template object that may have been used to generate the notice. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #92 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 166345 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=166345&action=edit Bug 33260: (QA follow-up) Safely continue for non-templated notices The 'letter_id'/'letter_code' field in the message queue table is a NULLable foreign key as is indeed NULL in certain circustances. We need to gracefully degrade when there isn't a template for the notice in question. Tihs patch uses the newly introduced 'template' accessor and when that returns undefined we pass 'style' as an empty string. We also use the 'is_html' method introduced in bug 35285 to set the html flag. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|testopia@bugs.koha-communit |martin.renvoize@ptfs-europe |y.org |.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |35285 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35285 [Bug 35285] Centralise notice content wrapping for HTML output -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #93 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- I've added some follow-ups.. 1) Tidy the new unit test for search_limited 2) Add a relation (Still need to add a unit test for this) for 'template' from the Koha::Notice::Message class 3) To safely degrade rather than throw a nasty 500 error to screen when a notice doesn't have a corresponding template (Try the new 'Add message - email' functionality from the patron details page to see the 500) Still a little more to do here and I will continue tomorrow (It's 8pm here already). We need that unit test adding for the new relation I introduce.. but I also want to investigate how the styling works together with a mix of HTML and non-HTML notices.. also interested in seeing how SlipCSS works with this as I'm surprised to now see it using the circ/print-slip template.. I thought that was very much intended for slip printers where as I thought this particular feature was more about printing notices to a Letter/A4 size printer.. especially 'email' notices.. does it also work with other message transport type notices? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #94 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Maybe look into batch/print-notices.tt template instead of circ/print-slip.tt here.. though I still don't understand how the new CSS per template can possibly work here the way this is written. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |34030 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34030 [Bug 34030] Print slips in a batch from the preservation module -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #95 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- (In reply to Martin Renvoize from comment #94)
Maybe look into batch/print-notices.tt template instead of circ/print-slip.tt here.. though I still don't understand how the new CSS per template can possibly work here the way this is written.
OK.. Whilst I think batch/print-notices.tt is better suited here, I do see that the localised CSS stuff is accounted for in circ/print-slip.tt and SlipCSS is seldom used in my experience. For now, I think this is OK as is but I would like to tidy up in the future as part of bug 36809 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |36809 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36809 [Bug 36809] DRY out notice and slip printing -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #96 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Now I'm asking if the choice of columns/fields displayed and their order was a deliberate choice on the Notice management page.. I'd expect them to align with those displayed in the single patron display table.. especially the feedback for send failures etc. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #166335|0 |1 is obsolete| | --- Comment #97 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 166362 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=166362&action=edit Bug 33260: Add view_generated_notices user permission Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #166336|0 |1 is obsolete| | --- Comment #98 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 166363 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=166363&action=edit Bug 33260: Add NoticesManagement system preference Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #166337|0 |1 is obsolete| | --- Comment #99 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 166364 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=166364&action=edit Bug 33260: Add a patron getter method to Koha::Notice::Message Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #166338|0 |1 is obsolete| | --- Comment #100 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 166365 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=166365&action=edit Bug 33260: Add Notice management tool This enhancement makes it easy for the library to view sent notices and filter by various search parameters. You can also print sent notices, individually or in a batch. This enhancement uses a new system preference NoticesManagement and a new view_generated_notices user permission. This enhancement has been built on top of Bug 33478 so print format settings are taken into account when printing notices. To test: 1. Apply patches, install database updates, restart services 2. Make sure your logged in user has the view_generated_notices permission checked 3. Enable the NoticesManagement system preference 4. Generate a few notices. There are a few ways to do this including: - place holds, check in items and confirm the holds - place recalls, check in items and confirm the recalls 5. Go to Tools -> Notices management 6. There are two search functions on the left navigation. Confirm the patron search box works by searching for one of the patrons you generated a notice for, you should be redirected to their Notice history. 7. Go back to Notices management. Use the set of search filters to search for notices. Leaving the search filters empty will return all notices generated. Confirm the filters work as expected by using different combinations of filters. 8. Conduct a search so your notices show in a table. Confirm the information fetched about the notices is correct. 9. Click on a notice title. Confirm the contents of the notice show in a pop-up box. 10. Click one of the Print buttons next to a notice. Confirm the notice is opened to be printed. 11. Redo your notices search. Confirm the status of the notice you just printed has now been updated to 'sent'. 12. Use the 'Select all' and 'Clear all' buttons to select or clear the checkboxes. 13. Select a few checkboxes and click the button at the bottom of the table to 'Print selected notices'. Confirm the notices have been collated into one document, separated by horizontal lines, and prints successfully. The statuses for the notices should all be updated to 'sent'. 14. Confirm the Notices management page is not visible without the view_generated_notices permission 15. Confirm the Notices management page is not visible without the NoticesManagement system preference being enabled. 16. Go to a patron's Notices history. If the view_generated_notices user permission is checked for your logged in patron, you should see a Print button for each notice. Confirm this works. Confirm this button doesn't show if your logged in patron does not have the view_generated_notices user permission. It does not require the NoticesManagement system preference. 17. Go to Tools -> Notices & slips 18. Edit the format settings of a few different notices i.e. HOLD and WELCOME 19. Generate these notices by filling a hold for a patron and sending a welcome email 20. Search for all notices under Tools -> Notices management 21. Select all notices and print selected notices 22. Confirm the notices different format settings are taken into account in the printed PDF Sponsored-by: Colorado Library Consortium Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #166339|0 |1 is obsolete| | --- Comment #101 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 166366 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=166366&action=edit Bug 33260: Move patron search into main body of page This patch moves the patron search in the Notices management page to the main body of the page so that the patron search result table displays more nicely. This is a better place for it anyway, as using this search takes the user to a different page. In the sidebar, where it was previously, it implied it would have the same results display as the search filters. Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #166340|0 |1 is obsolete| | --- Comment #102 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 166367 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=166367&action=edit Bug 33260: (follow-up) Fix search forms on notices mgmt page Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #166341|0 |1 is obsolete| | --- Comment #103 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 166368 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=166368&action=edit Bug 33260: (QA follow-up) Correct relation accessor and add unit test We were missing unit tests for the patron relation accessor added to Koha::Notice::Message and once I looked at adding the test I spotted the accessor was also using a rather outdated form. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #166342|0 |1 is obsolete| | --- Comment #104 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 166369 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=166369&action=edit Bug 33260: Use search_limited to protect message privacy, and unit test This patch adds a Koha::Notice::Messages->search_limited sub to allow better control over which patron's notices the user can see. Test added to t/db_dependent/Koha/Notice/Message.t Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #166343|0 |1 is obsolete| | --- Comment #105 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 166370 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=166370&action=edit Bug 33260: Tidy unit test Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #166344|0 |1 is obsolete| | --- Comment #106 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 166371 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=166371&action=edit Bug 33260: (QA follow-up) Add template relation This patch add the 'template' relation to the Koha::Notice::Message object to fetch the Koha::Notice::Template object that may have been used to generate the notice. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #166345|0 |1 is obsolete| | --- Comment #107 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 166372 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=166372&action=edit Bug 33260: (QA follow-up) Safely continue for non-templated notices The 'letter_id'/'letter_code' field in the message queue table is a NULLable foreign key as is indeed NULL in certain circustances. We need to gracefully degrade when there isn't a template for the notice in question. Tihs patch uses the newly introduced 'template' accessor and when that returns undefined we pass 'style' as an empty string. We also use the 'is_html' method introduced in bug 35285 to set the html flag. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #108 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 166373 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=166373&action=edit Bug 33260: (QA follow-up) Add missing page-section Add the missing page-section div to the new page and include required messages.inc include as is now standard. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #109 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- I've burnt through too much time here already but still don't feel this is quite ready and it's too close to hard feature freeze for this cycle in my opinion. # Notices management page * I don't understand why we start with a patron search up front and centre.. we already have a powerful patron search and replicating that code here seems to detract from the main purpose of the tool which is to display a list of notices filtered by things other than patron. * Once a notice search is performed, I think the table column order should match that from the synonymous page in the patron record. # Patron notices page # Both * Should print really appear for all transport types and message statuses? * Should print really print an email notice using the email template, especially when there might be a print template designed specifically for print? * Should we really be using the 'Slip' printing code rather than 'Notice' printing here? * Should the permissions not reflect that they expose access to printing functionality rather than view functionality? * I'm not sure that calling the print dialog should set the notice to 'sent'.. you can easily cancel before the print actually happens and so the updated status is a misrepresentation. With all those open questions and ongoing work elsewhere to try and clean up the notices and slips code I feel this still needs more work. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Bug 33260 depends on bug 35285, which changed state. Bug 35285 Summary: Centralise notice content wrapping for HTML output https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35285 What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to stable |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Sylvain Def. <s.deflache@ville-caluire.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Patch doesn't apply CC| |s.deflache@ville-caluire.fr --- Comment #110 from Sylvain Def. <s.deflache@ville-caluire.fr> --- CONFLICT (content): Merge conflict in t/db_dependent/Letters.t error: Failed to merge in the changes. Patch failed at 0001 Bug 33260: Add a patron getter method to Koha::Notice::Message -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Sylvain Def. <s.deflache@ville-caluire.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Sandbox -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Patch doesn't apply |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #166362|0 |1 is obsolete| | --- Comment #111 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 167909 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=167909&action=edit Bug 33260: Add view_generated_notices user permission Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #166363|0 |1 is obsolete| | --- Comment #112 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 167910 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=167910&action=edit Bug 33260: Add NoticesManagement system preference Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #166364|0 |1 is obsolete| | --- Comment #113 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 167911 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=167911&action=edit Bug 33260: Add a patron getter method to Koha::Notice::Message Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #166365|0 |1 is obsolete| | --- Comment #114 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 167912 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=167912&action=edit Bug 33260: Add Notice management tool This enhancement makes it easy for the library to view sent notices and filter by various search parameters. You can also print sent notices, individually or in a batch. This enhancement uses a new system preference NoticesManagement and a new view_generated_notices user permission. This enhancement has been built on top of Bug 33478 so print format settings are taken into account when printing notices. To test: 1. Apply patches, install database updates, restart services 2. Make sure your logged in user has the view_generated_notices permission checked 3. Enable the NoticesManagement system preference 4. Generate a few notices. There are a few ways to do this including: - place holds, check in items and confirm the holds - place recalls, check in items and confirm the recalls 5. Go to Tools -> Notices management 6. There are two search functions on the left navigation. Confirm the patron search box works by searching for one of the patrons you generated a notice for, you should be redirected to their Notice history. 7. Go back to Notices management. Use the set of search filters to search for notices. Leaving the search filters empty will return all notices generated. Confirm the filters work as expected by using different combinations of filters. 8. Conduct a search so your notices show in a table. Confirm the information fetched about the notices is correct. 9. Click on a notice title. Confirm the contents of the notice show in a pop-up box. 10. Click one of the Print buttons next to a notice. Confirm the notice is opened to be printed. 11. Redo your notices search. Confirm the status of the notice you just printed has now been updated to 'sent'. 12. Use the 'Select all' and 'Clear all' buttons to select or clear the checkboxes. 13. Select a few checkboxes and click the button at the bottom of the table to 'Print selected notices'. Confirm the notices have been collated into one document, separated by horizontal lines, and prints successfully. The statuses for the notices should all be updated to 'sent'. 14. Confirm the Notices management page is not visible without the view_generated_notices permission 15. Confirm the Notices management page is not visible without the NoticesManagement system preference being enabled. 16. Go to a patron's Notices history. If the view_generated_notices user permission is checked for your logged in patron, you should see a Print button for each notice. Confirm this works. Confirm this button doesn't show if your logged in patron does not have the view_generated_notices user permission. It does not require the NoticesManagement system preference. 17. Go to Tools -> Notices & slips 18. Edit the format settings of a few different notices i.e. HOLD and WELCOME 19. Generate these notices by filling a hold for a patron and sending a welcome email 20. Search for all notices under Tools -> Notices management 21. Select all notices and print selected notices 22. Confirm the notices different format settings are taken into account in the printed PDF Sponsored-by: Colorado Library Consortium Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #166366|0 |1 is obsolete| | --- Comment #115 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 167913 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=167913&action=edit Bug 33260: Move patron search into main body of page This patch moves the patron search in the Notices management page to the main body of the page so that the patron search result table displays more nicely. This is a better place for it anyway, as using this search takes the user to a different page. In the sidebar, where it was previously, it implied it would have the same results display as the search filters. Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #166367|0 |1 is obsolete| | --- Comment #116 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 167914 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=167914&action=edit Bug 33260: (follow-up) Fix search forms on notices mgmt page Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #166368|0 |1 is obsolete| | --- Comment #117 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 167915 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=167915&action=edit Bug 33260: (QA follow-up) Correct relation accessor and add unit test We were missing unit tests for the patron relation accessor added to Koha::Notice::Message and once I looked at adding the test I spotted the accessor was also using a rather outdated form. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #166369|0 |1 is obsolete| | --- Comment #118 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 167916 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=167916&action=edit Bug 33260: Use search_limited to protect message privacy, and unit test This patch adds a Koha::Notice::Messages->search_limited sub to allow better control over which patron's notices the user can see. Test added to t/db_dependent/Koha/Notice/Message.t Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #166370|0 |1 is obsolete| | --- Comment #119 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 167917 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=167917&action=edit Bug 33260: Tidy unit test Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #166371|0 |1 is obsolete| | --- Comment #120 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 167918 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=167918&action=edit Bug 33260: (QA follow-up) Add template relation This patch add the 'template' relation to the Koha::Notice::Message object to fetch the Koha::Notice::Template object that may have been used to generate the notice. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #166372|0 |1 is obsolete| | --- Comment #121 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 167919 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=167919&action=edit Bug 33260: (QA follow-up) Safely continue for non-templated notices The 'letter_id'/'letter_code' field in the message queue table is a NULLable foreign key as is indeed NULL in certain circustances. We need to gracefully degrade when there isn't a template for the notice in question. Tihs patch uses the newly introduced 'template' accessor and when that returns undefined we pass 'style' as an empty string. We also use the 'is_html' method introduced in bug 35285 to set the html flag. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Aleisha Amohia <aleisha@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #166373|0 |1 is obsolete| | --- Comment #122 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Created attachment 167920 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=167920&action=edit Bug 33260: (QA follow-up) Add missing page-section Add the missing page-section div to the new page and include required messages.inc include as is now standard. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|martin.renvoize@ptfs-europe | |.com | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Bug 33260 depends on bug 33478, which changed state. Bug 33478 Summary: Customise the format of notices when they are printed https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33478 What |Removed |Added ---------------------------------------------------------------------------- Status|Needs documenting |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #123 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 172247 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172247&action=edit Bug 33260: (follow-up) Rebase for bootstrap 5 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #124 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 172248 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172248&action=edit Bug 33260: (follow-up) Remove patron search as primary action This is a 'Notices' display tool, it doesn't make sense to me to replicate the 'Patrons' search interface as the primary action of the tool. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #125 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 172303 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172303&action=edit Bug 33260: (follow-up) Sync functionality and ordering of display This patch syncs up the functionality and order of the notice displays. We allow for resending of notices via the modal in the new tools page and we add print in bulk to the members notices page. We also fix the modal on the tools page to work with bootstrap 5 correctly. WIP: The resend appears to be broken at the moment in both locations.. for some reason the 'form' element is dropped at the browser so the button does not appear. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #126 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Still working here.. I'm thinking the individual print may be more consistent to just have available from the modal display as we do in a few other places and that, to me, makes it clearer we're printing whats displayed as apposed to using the print notice (I'd love to see a 'convert to print' at a later date to handle adding address details etc to such notices) I need to work out why resend isn't working as expected.. I think that's a regression that predates this patchset somewhere however. We're much closer again now. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #172303|0 |1 is obsolete| | --- Comment #127 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 172307 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172307&action=edit Bug 33260: (follow-up) Sync functionality and ordering of display This patch syncs up the functionality and order of the notice displays. We allow for resending of notices via the modal in the new tools page and we add print in bulk to the members notices page. We also fix the modal on the tools page to work with bootstrap 5 correctly. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #167909|0 |1 is obsolete| | --- Comment #128 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 172308 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172308&action=edit Bug 33260: Add view_generated_notices user permission Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #167910|0 |1 is obsolete| | --- Comment #129 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 172309 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172309&action=edit Bug 33260: Add NoticesManagement system preference Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #167911|0 |1 is obsolete| | --- Comment #130 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 172310 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172310&action=edit Bug 33260: Add a patron getter method to Koha::Notice::Message Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #167912|0 |1 is obsolete| | --- Comment #131 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 172311 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172311&action=edit Bug 33260: Add Notice management tool This enhancement makes it easy for the library to view sent notices and filter by various search parameters. You can also print sent notices, individually or in a batch. This enhancement uses a new system preference NoticesManagement and a new view_generated_notices user permission. This enhancement has been built on top of Bug 33478 so print format settings are taken into account when printing notices. To test: 1. Apply patches, install database updates, restart services 2. Make sure your logged in user has the view_generated_notices permission checked 3. Enable the NoticesManagement system preference 4. Generate a few notices. There are a few ways to do this including: - place holds, check in items and confirm the holds - place recalls, check in items and confirm the recalls 5. Go to Tools -> Notices management 6. There are two search functions on the left navigation. Confirm the patron search box works by searching for one of the patrons you generated a notice for, you should be redirected to their Notice history. 7. Go back to Notices management. Use the set of search filters to search for notices. Leaving the search filters empty will return all notices generated. Confirm the filters work as expected by using different combinations of filters. 8. Conduct a search so your notices show in a table. Confirm the information fetched about the notices is correct. 9. Click on a notice title. Confirm the contents of the notice show in a pop-up box. 10. Click one of the Print buttons next to a notice. Confirm the notice is opened to be printed. 11. Redo your notices search. Confirm the status of the notice you just printed has now been updated to 'sent'. 12. Use the 'Select all' and 'Clear all' buttons to select or clear the checkboxes. 13. Select a few checkboxes and click the button at the bottom of the table to 'Print selected notices'. Confirm the notices have been collated into one document, separated by horizontal lines, and prints successfully. The statuses for the notices should all be updated to 'sent'. 14. Confirm the Notices management page is not visible without the view_generated_notices permission 15. Confirm the Notices management page is not visible without the NoticesManagement system preference being enabled. 16. Go to a patron's Notices history. If the view_generated_notices user permission is checked for your logged in patron, you should see a Print button for each notice. Confirm this works. Confirm this button doesn't show if your logged in patron does not have the view_generated_notices user permission. It does not require the NoticesManagement system preference. 17. Go to Tools -> Notices & slips 18. Edit the format settings of a few different notices i.e. HOLD and WELCOME 19. Generate these notices by filling a hold for a patron and sending a welcome email 20. Search for all notices under Tools -> Notices management 21. Select all notices and print selected notices 22. Confirm the notices different format settings are taken into account in the printed PDF Sponsored-by: Colorado Library Consortium Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #167913|0 |1 is obsolete| | --- Comment #132 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 172312 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172312&action=edit Bug 33260: Move patron search into main body of page This patch moves the patron search in the Notices management page to the main body of the page so that the patron search result table displays more nicely. This is a better place for it anyway, as using this search takes the user to a different page. In the sidebar, where it was previously, it implied it would have the same results display as the search filters. Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #167914|0 |1 is obsolete| | --- Comment #133 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 172313 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172313&action=edit Bug 33260: (follow-up) Fix search forms on notices mgmt page Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #167915|0 |1 is obsolete| | --- Comment #134 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 172314 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172314&action=edit Bug 33260: (QA follow-up) Correct relation accessor and add unit test We were missing unit tests for the patron relation accessor added to Koha::Notice::Message and once I looked at adding the test I spotted the accessor was also using a rather outdated form. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #167916|0 |1 is obsolete| | --- Comment #135 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 172315 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172315&action=edit Bug 33260: Use search_limited to protect message privacy, and unit test This patch adds a Koha::Notice::Messages->search_limited sub to allow better control over which patron's notices the user can see. Test added to t/db_dependent/Koha/Notice/Message.t Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #167917|0 |1 is obsolete| | --- Comment #136 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 172316 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172316&action=edit Bug 33260: Tidy unit test Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #167918|0 |1 is obsolete| | --- Comment #137 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 172317 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172317&action=edit Bug 33260: (QA follow-up) Add template relation This patch add the 'template' relation to the Koha::Notice::Message object to fetch the Koha::Notice::Template object that may have been used to generate the notice. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #167919|0 |1 is obsolete| | --- Comment #138 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 172318 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172318&action=edit Bug 33260: (QA follow-up) Safely continue for non-templated notices The 'letter_id'/'letter_code' field in the message queue table is a NULLable foreign key as is indeed NULL in certain circustances. We need to gracefully degrade when there isn't a template for the notice in question. Tihs patch uses the newly introduced 'template' accessor and when that returns undefined we pass 'style' as an empty string. We also use the 'is_html' method introduced in bug 35285 to set the html flag. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #167920|0 |1 is obsolete| | --- Comment #139 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 172319 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172319&action=edit Bug 33260: (QA follow-up) Add missing page-section Add the missing page-section div to the new page and include required messages.inc include as is now standard. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #172247|0 |1 is obsolete| | --- Comment #140 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 172320 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172320&action=edit Bug 33260: (follow-up) Rebase for bootstrap 5 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #172248|0 |1 is obsolete| | --- Comment #141 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 172321 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172321&action=edit Bug 33260: (follow-up) Remove patron search as primary action This is a 'Notices' display tool, it doesn't make sense to me to replicate the 'Patrons' search interface as the primary action of the tool. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #172307|0 |1 is obsolete| | --- Comment #142 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 172322 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172322&action=edit Bug 33260: (follow-up) Sync functionality and ordering of display This patch syncs up the functionality and order of the notice displays. We allow for resending of notices via the modal in the new tools page and we add print in bulk to the members notices page. We also fix the modal on the tools page to work with bootstrap 5 correctly. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #143 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- OK.. I think I've handled all the issues I was worried about bar one.. I still think setting the status to 'sent' doesn't feel right.. I'd rather not set that and allow printing as it's own distinct action. It might be nice to have a 'printed' record somewhere, but I think it's misleading to set an SMS or email to 'sent' when it's in fact failed to send and has instead been printed or printed as an extra action after already having been sent... maybe adding to the delivery note could help there as an alternative. Finally.. I'm wondering if dropping the 'Actions' column and having the print button inside the preview modal would be cleaner given we already have the option to 'Resend' embedded inside that.. if not maybe we could have both Print and Resent as options in the Actions column. Anywho.. I'll continue here tomorrow. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #144 from AspenCat Team <aspencatteam@clicweb.org> --- The idea of marking things sent was to have a way to distinguish what had been printed and what had not. So duplicate notices are not printed and delivered. If there is a better way of noting that printing has taken place, that doesn't mislead as "sent" that would cover the functionality that is needed. - Bob -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=7638 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #145 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Thanks Martin, Nick and Bob! If I can be of any help let me know. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #146 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- (In reply to Martin Renvoize (ashimema) from comment #143)
I still think setting the status to 'sent' doesn't feel right.. I'd rather not set that and allow printing as it's own distinct action. It might be nice to have a 'printed' record somewhere, but I think it's misleading to set an SMS or email to 'sent' when it's in fact failed to send and has instead been printed or printed as an extra action after already having been sent... maybe adding to the delivery note could help there as an alternative.
I think 'sent' can be the low bar here, making it optional would be nice, but like Bob said, having a way to know what was printed is good. Marking print as 'sent' mirrors the gather print notices, and allows this tool as a drop in replacement, staff accessible, for that cron. I think a followup bug for adding 'printed' to the status enum would be excellent -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #147 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Thanks for the replies everyone. I'm sold in the marking as sent, that makes sense, especially when a notice is coming from 'pending' and is a 'print' type notice in the first place. The query comes from those notices that appear in these two pages that are already in another state and especially those that are not 'print' type. Makeing them sent when they were pending will prevent emails from going out for example.. though I suppose it does make sense if they're in a failure state and you want to use print as a fallback. Anyway, I'm happy to accept 'sent' for all. I do have another couple of questions however. In the bulk select and print process, each notice is printed without any additional spacing between, all on one page one after the other. Should we not add page breaks between notices so you have a notice per page (gather_print_notices appears to have lost this page breaking functionality somewhere along the line :( ) Do we also need to consider including headers here with address details etc. For print type notices we usually include physical address details right in the notice, but when printing an email type notice you currently won't get any addressee detail.. for a bulk print this would get confusing quickly I think. (This could be done in a follow-up bug perhaps.. or we could limit to print type notices for the print functionality at first?) The thing I'm finding hard to fully understand here is the mix of notice transport types all in this one print option. If the transport type was 'print' it makes a fair bit of sense because you usually have address details as part of the notice itself.. if it was an email then you won't get any addressee details at all in most notices with this print option. I can see it being nice to individually print a copy of an email notice upon request or when email has failed. Again, adding this header support could perhaps be a follow-up bug a this stage. Finally, I've been trying to dry out our printing code, but this itbeoduces yet another printslip controller that's almost a copy paste of the 6+ existing scripts.. why not use members/printnotice.pl which I was trying to keep as a simple single place for printing slips so we stop adding new functionality and then forgetting to replicated I. The 6+ clones of code? I'll look at doing that here to save me the job of later removing that scriot again. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #148 from Aleisha Amohia <aleisha@catalyst.net.nz> --- Thanks Martin for your questions! (In reply to Martin Renvoize (ashimema) from comment #147)
I do have another couple of questions however.
In the bulk select and print process, each notice is printed without any additional spacing between, all on one page one after the other.
Should we not add page breaks between notices so you have a notice per page (gather_print_notices appears to have lost this page breaking functionality somewhere along the line :( )
That would be great. I remember finding it hard to make that work but I can't remember why - please feel free to give it a go!
Do we also need to consider including headers here with address details etc. For print type notices we usually include physical address details right in the notice, but when printing an email type notice you currently won't get any addressee detail.. for a bulk print this would get confusing quickly I think. (This could be done in a follow-up bug perhaps.. or we could limit to print type notices for the print functionality at first?)
Perhaps for email type notices we could include something like the patron-title.inc at the top?
The thing I'm finding hard to fully understand here is the mix of notice transport types all in this one print option. If the transport type was 'print' it makes a fair bit of sense because you usually have address details as part of the notice itself.. if it was an email then you won't get any addressee details at all in most notices with this print option. I can see it being nice to individually print a copy of an email notice upon request or when email has failed. Again, adding this header support could perhaps be a follow-up bug a this stage.
Email type notices were included here because in the case of CLiC, Koha is being used for libraries where patrons don't have email addresses but still want to generate notices that Koha defaults to email for.
Finally, I've been trying to dry out our printing code, but this itbeoduces yet another printslip controller that's almost a copy paste of the 6+ existing scripts.. why not use members/printnotice.pl which I was trying to keep as a simple single place for printing slips so we stop adding new functionality and then forgetting to replicated I. The 6+ clones of code? I'll look at doing that here to save me the job of later removing that scriot again.
I can't remember why I did this - maybe to allow for printing multiple at once, or to include updating the status of the notice, without breaking existing behaviour. Really happy for you to squash the scripts. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #172308|0 |1 is obsolete| | --- Comment #149 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 172342 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172342&action=edit Bug 33260: Add view_generated_notices user permission Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #172309|0 |1 is obsolete| | --- Comment #150 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 172343 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172343&action=edit Bug 33260: Add NoticesManagement system preference Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #172310|0 |1 is obsolete| | --- Comment #151 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 172344 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172344&action=edit Bug 33260: Add a patron getter method to Koha::Notice::Message Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #172311|0 |1 is obsolete| | --- Comment #152 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 172345 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172345&action=edit Bug 33260: Add Notice management tool This enhancement makes it easy for the library to view sent notices and filter by various search parameters. You can also print sent notices, individually or in a batch. This enhancement uses a new system preference NoticesManagement and a new view_generated_notices user permission. This enhancement has been built on top of Bug 33478 so print format settings are taken into account when printing notices. To test: 1. Apply patches, install database updates, restart services 2. Make sure your logged in user has the view_generated_notices permission checked 3. Enable the NoticesManagement system preference 4. Generate a few notices. There are a few ways to do this including: - place holds, check in items and confirm the holds - place recalls, check in items and confirm the recalls 5. Go to Tools -> Notices management 6. There are two search functions on the left navigation. Confirm the patron search box works by searching for one of the patrons you generated a notice for, you should be redirected to their Notice history. 7. Go back to Notices management. Use the set of search filters to search for notices. Leaving the search filters empty will return all notices generated. Confirm the filters work as expected by using different combinations of filters. 8. Conduct a search so your notices show in a table. Confirm the information fetched about the notices is correct. 9. Click on a notice title. Confirm the contents of the notice show in a pop-up box. 10. Click one of the Print buttons next to a notice. Confirm the notice is opened to be printed. 11. Redo your notices search. Confirm the status of the notice you just printed has now been updated to 'sent'. 12. Use the 'Select all' and 'Clear all' buttons to select or clear the checkboxes. 13. Select a few checkboxes and click the button at the bottom of the table to 'Print selected notices'. Confirm the notices have been collated into one document, separated by horizontal lines, and prints successfully. The statuses for the notices should all be updated to 'sent'. 14. Confirm the Notices management page is not visible without the view_generated_notices permission 15. Confirm the Notices management page is not visible without the NoticesManagement system preference being enabled. 16. Go to a patron's Notices history. If the view_generated_notices user permission is checked for your logged in patron, you should see a Print button for each notice. Confirm this works. Confirm this button doesn't show if your logged in patron does not have the view_generated_notices user permission. It does not require the NoticesManagement system preference. 17. Go to Tools -> Notices & slips 18. Edit the format settings of a few different notices i.e. HOLD and WELCOME 19. Generate these notices by filling a hold for a patron and sending a welcome email 20. Search for all notices under Tools -> Notices management 21. Select all notices and print selected notices 22. Confirm the notices different format settings are taken into account in the printed PDF Sponsored-by: Colorado Library Consortium Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #172312|0 |1 is obsolete| | --- Comment #153 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 172346 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172346&action=edit Bug 33260: Move patron search into main body of page This patch moves the patron search in the Notices management page to the main body of the page so that the patron search result table displays more nicely. This is a better place for it anyway, as using this search takes the user to a different page. In the sidebar, where it was previously, it implied it would have the same results display as the search filters. Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #172313|0 |1 is obsolete| | --- Comment #154 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 172347 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172347&action=edit Bug 33260: (follow-up) Fix search forms on notices mgmt page Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #172314|0 |1 is obsolete| | --- Comment #155 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 172348 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172348&action=edit Bug 33260: (QA follow-up) Correct relation accessor and add unit test We were missing unit tests for the patron relation accessor added to Koha::Notice::Message and once I looked at adding the test I spotted the accessor was also using a rather outdated form. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #172315|0 |1 is obsolete| | --- Comment #156 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 172349 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172349&action=edit Bug 33260: Use search_limited to protect message privacy, and unit test This patch adds a Koha::Notice::Messages->search_limited sub to allow better control over which patron's notices the user can see. Test added to t/db_dependent/Koha/Notice/Message.t Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #172316|0 |1 is obsolete| | --- Comment #157 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 172350 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172350&action=edit Bug 33260: Tidy unit test Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #172317|0 |1 is obsolete| | --- Comment #158 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 172351 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172351&action=edit Bug 33260: (QA follow-up) Add template relation This patch add the 'template' relation to the Koha::Notice::Message object to fetch the Koha::Notice::Template object that may have been used to generate the notice. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #172318|0 |1 is obsolete| | --- Comment #159 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 172352 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172352&action=edit Bug 33260: (QA follow-up) Safely continue for non-templated notices The 'letter_id'/'letter_code' field in the message queue table is a NULLable foreign key as is indeed NULL in certain circustances. We need to gracefully degrade when there isn't a template for the notice in question. Tihs patch uses the newly introduced 'template' accessor and when that returns undefined we pass 'style' as an empty string. We also use the 'is_html' method introduced in bug 35285 to set the html flag. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #172319|0 |1 is obsolete| | --- Comment #160 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 172353 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172353&action=edit Bug 33260: (QA follow-up) Add missing page-section Add the missing page-section div to the new page and include required messages.inc include as is now standard. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #172320|0 |1 is obsolete| | --- Comment #161 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 172354 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172354&action=edit Bug 33260: (follow-up) Rebase for bootstrap 5 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #172321|0 |1 is obsolete| | --- Comment #162 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 172355 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172355&action=edit Bug 33260: (follow-up) Remove patron search as primary action This is a 'Notices' display tool, it doesn't make sense to me to replicate the 'Patrons' search interface as the primary action of the tool. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #172322|0 |1 is obsolete| | --- Comment #163 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 172356 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172356&action=edit Bug 33260: (follow-up) Sync functionality and ordering of display This patch syncs up the functionality and order of the notice displays. We allow for resending of notices via the modal in the new tools page and we add print in bulk to the members notices page. We also fix the modal on the tools page to work with bootstrap 5 correctly. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #164 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 172357 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172357&action=edit Bug 33260: (follow-up) Add correct page title to print -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #165 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 172358 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172358&action=edit Bug 33260: (follow-up) Limit printing to non-pending on members page This patch prevent printing of notices in the 'pending' state. This ensures that email notices will not be skipped by process message queue at it's next run as we set the 'sent' status on print with this patchset. It still allows for printing of sent and failed messages which I believe is the purpose of the original patchset. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #166 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 172359 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172359&action=edit Bug 33260: (follow-up) Alternative print button in modal This adds a simple print option to the modal preview display on the members page. It simply prints the content of the display modal and doesn't set the status change. This might be useful to allow pending notices to still be printed. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|martin.renvoize@ptfs-europe |nick@bywatersolutions.com |.com | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |38072 CC| |martin.renvoize@ptfs-europe | |.com Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38072 [Bug 38072] Regression with modalPrint -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |38078 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38078 [Bug 38078] Merge /batch/printnotice.tt and /circ/printslip.tt -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |melia@bywatersolutions.com --- Comment #167 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- *** Bug 7638 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |38089 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38089 [Bug 38089] Fix incorrect regular expression from bug 33478 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #168 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 172379 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=172379&action=edit Bug 33260: (follow-up) Correct call to 'style' -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |35267 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35267 [Bug 35267] Clarify CSS options for Notices -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|38078 | Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38078 [Bug 38078] Merge /batch/printnotice.tt and /members/print_notice.tt -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on|38072 | Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38072 [Bug 38072] Regression with modalPrint -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@gmail.com Status|Signed Off |Failed QA --- Comment #169 from Jonathan Druart <jonathan.druart@gmail.com> --- Very quick code review and testing: 1. Koha::Notice::Message->patron + return unless $patron_rs; This is not tested 2. Koha::Notice::Message->template + return unless $template_rs; Same 3. QA script failures FAIL koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt FAIL tt_valid lines 75 FAIL koha-tmpl/intranet-tmpl/prog/en/modules/tools/notices.tt FAIL spelling noice ==> noise, nice, notice 4. <th class="nosort"> </th> + "aoColumnDefs": [ + { 'bSortable': false, 'aTargets': [ 'nosort' ] } + ], You should use .NoSort on the th and don't need the aoColumnDefs. 5. members/notices.pl?borrowernumber=5 Without entry we should not show the table but "There are no notices for this patron" instead. 6. "Pending" notices have their checkbox disabled, we should display a onmouseover tooltip. 7. if you print a notice that was "failed", it's then "sent" but the "delivery note" failure is still displayed on the template. Does it make sense? 8. Is it expected to print using "email" mtt, shouldn't we use the "print" template instead? 9. 2 different outputs: * Using "Print" from the actions column http://localhost:8081/cgi-bin/koha/tools/print_notice.pl?message_ids=73 Using CHECKIN, all on one line "The following items have been checked out: E Street shuffle Thank you for visiting Centerville." * Using "Print" from the modal http://localhost:8081/cgi-bin/koha/members/notices.pl?borrowernumber=5 "Checkouts The following items have been checked out: E Street shuffle Thank you for visiting Centerville." Also the name of the pdf in the second example is "notices.pl.pdf" 10. "Resend" - Shouldn't we actually enqueue another message in order to keep track of what have been failed/sent? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #172342|0 |1 is obsolete| | --- Comment #170 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175501 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175501&action=edit Bug 33260: Add view_generated_notices user permission Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #172343|0 |1 is obsolete| | --- Comment #171 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175502 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175502&action=edit Bug 33260: Add NoticesManagement system preference Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #172344|0 |1 is obsolete| | --- Comment #172 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175503 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175503&action=edit Bug 33260: Add a patron getter method to Koha::Notice::Message Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #172345|0 |1 is obsolete| | --- Comment #173 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175504 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175504&action=edit Bug 33260: Add Notice management tool This enhancement makes it easy for the library to view sent notices and filter by various search parameters. You can also print sent notices, individually or in a batch. This enhancement uses a new system preference NoticesManagement and a new view_generated_notices user permission. This enhancement has been built on top of Bug 33478 so print format settings are taken into account when printing notices. To test: 1. Apply patches, install database updates, restart services 2. Make sure your logged in user has the view_generated_notices permission checked 3. Enable the NoticesManagement system preference 4. Generate a few notices. There are a few ways to do this including: - place holds, check in items and confirm the holds - place recalls, check in items and confirm the recalls 5. Go to Tools -> Notices management 6. There are two search functions on the left navigation. Confirm the patron search box works by searching for one of the patrons you generated a notice for, you should be redirected to their Notice history. 7. Go back to Notices management. Use the set of search filters to search for notices. Leaving the search filters empty will return all notices generated. Confirm the filters work as expected by using different combinations of filters. 8. Conduct a search so your notices show in a table. Confirm the information fetched about the notices is correct. 9. Click on a notice title. Confirm the contents of the notice show in a pop-up box. 10. Click one of the Print buttons next to a notice. Confirm the notice is opened to be printed. 11. Redo your notices search. Confirm the status of the notice you just printed has now been updated to 'sent'. 12. Use the 'Select all' and 'Clear all' buttons to select or clear the checkboxes. 13. Select a few checkboxes and click the button at the bottom of the table to 'Print selected notices'. Confirm the notices have been collated into one document, separated by horizontal lines, and prints successfully. The statuses for the notices should all be updated to 'sent'. 14. Confirm the Notices management page is not visible without the view_generated_notices permission 15. Confirm the Notices management page is not visible without the NoticesManagement system preference being enabled. 16. Go to a patron's Notices history. If the view_generated_notices user permission is checked for your logged in patron, you should see a Print button for each notice. Confirm this works. Confirm this button doesn't show if your logged in patron does not have the view_generated_notices user permission. It does not require the NoticesManagement system preference. 17. Go to Tools -> Notices & slips 18. Edit the format settings of a few different notices i.e. HOLD and WELCOME 19. Generate these notices by filling a hold for a patron and sending a welcome email 20. Search for all notices under Tools -> Notices management 21. Select all notices and print selected notices 22. Confirm the notices different format settings are taken into account in the printed PDF Sponsored-by: Colorado Library Consortium Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #172346|0 |1 is obsolete| | --- Comment #174 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175505 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175505&action=edit Bug 33260: Move patron search into main body of page This patch moves the patron search in the Notices management page to the main body of the page so that the patron search result table displays more nicely. This is a better place for it anyway, as using this search takes the user to a different page. In the sidebar, where it was previously, it implied it would have the same results display as the search filters. Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #172347|0 |1 is obsolete| | --- Comment #175 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175506 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175506&action=edit Bug 33260: (follow-up) Fix search forms on notices mgmt page Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #172348|0 |1 is obsolete| | --- Comment #176 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175507 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175507&action=edit Bug 33260: (QA follow-up) Correct relation accessor and add unit test We were missing unit tests for the patron relation accessor added to Koha::Notice::Message and once I looked at adding the test I spotted the accessor was also using a rather outdated form. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #172349|0 |1 is obsolete| | --- Comment #177 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175508 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175508&action=edit Bug 33260: Use search_limited to protect message privacy, and unit test This patch adds a Koha::Notice::Messages->search_limited sub to allow better control over which patron's notices the user can see. Test added to t/db_dependent/Koha/Notice/Message.t Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #172350|0 |1 is obsolete| | --- Comment #178 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175509 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175509&action=edit Bug 33260: Tidy unit test Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #172351|0 |1 is obsolete| | --- Comment #179 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175510 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175510&action=edit Bug 33260: (QA follow-up) Add template relation This patch add the 'template' relation to the Koha::Notice::Message object to fetch the Koha::Notice::Template object that may have been used to generate the notice. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #172352|0 |1 is obsolete| | --- Comment #180 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175511 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175511&action=edit Bug 33260: (QA follow-up) Safely continue for non-templated notices The 'letter_id'/'letter_code' field in the message queue table is a NULLable foreign key as is indeed NULL in certain circustances. We need to gracefully degrade when there isn't a template for the notice in question. Tihs patch uses the newly introduced 'template' accessor and when that returns undefined we pass 'style' as an empty string. We also use the 'is_html' method introduced in bug 35285 to set the html flag. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #172353|0 |1 is obsolete| | --- Comment #181 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175512 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175512&action=edit Bug 33260: (QA follow-up) Add missing page-section Add the missing page-section div to the new page and include required messages.inc include as is now standard. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #172354|0 |1 is obsolete| | --- Comment #182 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175513 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175513&action=edit Bug 33260: (follow-up) Rebase for bootstrap 5 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #172355|0 |1 is obsolete| | --- Comment #183 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175514 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175514&action=edit Bug 33260: (follow-up) Remove patron search as primary action This is a 'Notices' display tool, it doesn't make sense to me to replicate the 'Patrons' search interface as the primary action of the tool. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #172356|0 |1 is obsolete| | --- Comment #184 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175515 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175515&action=edit Bug 33260: (follow-up) Sync functionality and ordering of display This patch syncs up the functionality and order of the notice displays. We allow for resending of notices via the modal in the new tools page and we add print in bulk to the members notices page. We also fix the modal on the tools page to work with bootstrap 5 correctly. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #172357|0 |1 is obsolete| | --- Comment #185 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175516 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175516&action=edit Bug 33260: (follow-up) Add correct page title to print -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #172358|0 |1 is obsolete| | --- Comment #186 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175517 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175517&action=edit Bug 33260: (follow-up) Limit printing to non-pending on members page This patch prevent printing of notices in the 'pending' state. This ensures that email notices will not be skipped by process message queue at it's next run as we set the 'sent' status on print with this patchset. It still allows for printing of sent and failed messages which I believe is the purpose of the original patchset. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #172359|0 |1 is obsolete| | --- Comment #187 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175518 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175518&action=edit Bug 33260: (follow-up) Alternative print button in modal This adds a simple print option to the modal preview display on the members page. It simply prints the content of the display modal and doesn't set the status change. This might be useful to allow pending notices to still be printed. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #172379|0 |1 is obsolete| | --- Comment #188 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175519 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175519&action=edit Bug 33260: (follow-up) Correct call to 'style' -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #189 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175520 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175520&action=edit Bug 33260: (follow-up) More comprehensively test patron accessor -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #190 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175521 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175521&action=edit Bug 33260: (follow-up) More comprehensively test template accessor -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #191 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175522 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175522&action=edit Bug 33260: Fix typo noice -> notice -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #192 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175523 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175523&action=edit Bug 33260: Fix TT syntax failure -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #193 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175524 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175524&action=edit Bug 33260: Replace nosort with NoSort -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #194 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175525 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175525&action=edit Bug 33260: Add hint to disabled select checkbox -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #195 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175530 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175530&action=edit Bug 33260: (follow-up) Also add 'print' option to modal on tools -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #196 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- (In reply to Jonathan Druart from comment #169)
Very quick code review and testing: 1. Koha::Notice::Message->patron + return unless $patron_rs; This is not tested
Fixed in yet another follow-up
2. Koha::Notice::Message->template + return unless $template_rs;
Also fixed in yet another follow-up
3. QA script failures FAIL koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt FAIL tt_valid lines 75 FAIL koha-tmpl/intranet-tmpl/prog/en/modules/tools/notices.tt FAIL spelling
noice ==> noise, nice, notice
Also fixed in a follow-up
4. <th class="nosort"> </th>
+ "aoColumnDefs": [ + { 'bSortable': false, 'aTargets': [ 'nosort' ] } + ],
You should use .NoSort on the th and don't need the aoColumnDefs.
Also fixed in a follow-up
5. members/notices.pl?borrowernumber=5 Without entry we should not show the table but "There are no notices for this patron" instead.
This is already the case
6. "Pending" notices have their checkbox disabled, we should display a onmouseover tooltip.
Fixed in a follow-up
7. if you print a notice that was "failed", it's then "sent" but the "delivery note" failure is still displayed on the template. Does it make sense?
I raise this earlier in the thread of discussion and agree but I also don't really know what the answer is... I think we aught to handle print and other transports independently.. if it's print and it's printed yes, see it to sent.. if it's anything else perhaps add 'printed' to either the status or the delivery notes
8. Is it expected to print using "email" mtt, shouldn't we use the "print" template instead?
Also raised above in discussion.. the objective I think was to allow printing existing notices already queued.. it's hard to 'convert to print' as we don't have the original objects data to hand after a message has been queued.
9. 2 different outputs: * Using "Print" from the actions column http://localhost:8081/cgi-bin/koha/tools/print_notice.pl?message_ids=73 Using CHECKIN, all on one line "The following items have been checked out: E Street shuffle Thank you for visiting Centerville." * Using "Print" from the modal http://localhost:8081/cgi-bin/koha/members/notices.pl?borrowernumber=5 "Checkouts The following items have been checked out: E Street shuffle Thank you for visiting Centerville."
I asked about this above.. they use different printing methods.. the modal preview applies CSS and then you print the modal content.. the print from the actions hits a print controller on the server to load a whole new page.
Also the name of the pdf in the second example is "notices.pl.pdf"
I'd missed this
10. "Resend" - Shouldn't we actually enqueue another message in order to keep track of what have been failed/sent?
Resend predates all this work.. I don't know the answer but I think that should be dealt with in a distinct bug.. personally I think this should have been two bugs at least already.. one for display and a second for print handling.. the recent additions to notices and template handling with CSS and things have really complicated and confused matters for end users in my opinion and I'm just trying to work through and clarify those in the bug tree beyond this bug. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|35267 | Depends on| |35267 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35267 [Bug 35267] Clarify CSS options for Notices -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175501|0 |1 is obsolete| | --- Comment #197 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175537 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175537&action=edit Bug 33260: Add view_generated_notices user permission Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175502|0 |1 is obsolete| | --- Comment #198 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175538 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175538&action=edit Bug 33260: Add NoticesManagement system preference Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175503|0 |1 is obsolete| | --- Comment #199 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175539 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175539&action=edit Bug 33260: Add a patron getter method to Koha::Notice::Message Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175504|0 |1 is obsolete| | --- Comment #200 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175540 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175540&action=edit Bug 33260: Add Notice management tool This enhancement makes it easy for the library to view sent notices and filter by various search parameters. You can also print sent notices, individually or in a batch. This enhancement uses a new system preference NoticesManagement and a new view_generated_notices user permission. This enhancement has been built on top of Bug 33478 so print format settings are taken into account when printing notices. To test: 1. Apply patches, install database updates, restart services 2. Make sure your logged in user has the view_generated_notices permission checked 3. Enable the NoticesManagement system preference 4. Generate a few notices. There are a few ways to do this including: - place holds, check in items and confirm the holds - place recalls, check in items and confirm the recalls 5. Go to Tools -> Notices management 6. There are two search functions on the left navigation. Confirm the patron search box works by searching for one of the patrons you generated a notice for, you should be redirected to their Notice history. 7. Go back to Notices management. Use the set of search filters to search for notices. Leaving the search filters empty will return all notices generated. Confirm the filters work as expected by using different combinations of filters. 8. Conduct a search so your notices show in a table. Confirm the information fetched about the notices is correct. 9. Click on a notice title. Confirm the contents of the notice show in a pop-up box. 10. Click one of the Print buttons next to a notice. Confirm the notice is opened to be printed. 11. Redo your notices search. Confirm the status of the notice you just printed has now been updated to 'sent'. 12. Use the 'Select all' and 'Clear all' buttons to select or clear the checkboxes. 13. Select a few checkboxes and click the button at the bottom of the table to 'Print selected notices'. Confirm the notices have been collated into one document, separated by horizontal lines, and prints successfully. The statuses for the notices should all be updated to 'sent'. 14. Confirm the Notices management page is not visible without the view_generated_notices permission 15. Confirm the Notices management page is not visible without the NoticesManagement system preference being enabled. 16. Go to a patron's Notices history. If the view_generated_notices user permission is checked for your logged in patron, you should see a Print button for each notice. Confirm this works. Confirm this button doesn't show if your logged in patron does not have the view_generated_notices user permission. It does not require the NoticesManagement system preference. 17. Go to Tools -> Notices & slips 18. Edit the format settings of a few different notices i.e. HOLD and WELCOME 19. Generate these notices by filling a hold for a patron and sending a welcome email 20. Search for all notices under Tools -> Notices management 21. Select all notices and print selected notices 22. Confirm the notices different format settings are taken into account in the printed PDF Sponsored-by: Colorado Library Consortium Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175505|0 |1 is obsolete| | --- Comment #201 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175541 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175541&action=edit Bug 33260: Move patron search into main body of page This patch moves the patron search in the Notices management page to the main body of the page so that the patron search result table displays more nicely. This is a better place for it anyway, as using this search takes the user to a different page. In the sidebar, where it was previously, it implied it would have the same results display as the search filters. Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175506|0 |1 is obsolete| | --- Comment #202 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175542 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175542&action=edit Bug 33260: (follow-up) Fix search forms on notices mgmt page Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175507|0 |1 is obsolete| | --- Comment #203 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175543 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175543&action=edit Bug 33260: (QA follow-up) Correct relation accessor and add unit test We were missing unit tests for the patron relation accessor added to Koha::Notice::Message and once I looked at adding the test I spotted the accessor was also using a rather outdated form. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175508|0 |1 is obsolete| | --- Comment #204 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175544 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175544&action=edit Bug 33260: Use search_limited to protect message privacy, and unit test This patch adds a Koha::Notice::Messages->search_limited sub to allow better control over which patron's notices the user can see. Test added to t/db_dependent/Koha/Notice/Message.t Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175509|0 |1 is obsolete| | --- Comment #205 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175545 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175545&action=edit Bug 33260: Tidy unit test Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175510|0 |1 is obsolete| | --- Comment #206 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175546 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175546&action=edit Bug 33260: (QA follow-up) Add template relation This patch add the 'template' relation to the Koha::Notice::Message object to fetch the Koha::Notice::Template object that may have been used to generate the notice. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175511|0 |1 is obsolete| | --- Comment #207 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175547 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175547&action=edit Bug 33260: (QA follow-up) Safely continue for non-templated notices The 'letter_id'/'letter_code' field in the message queue table is a NULLable foreign key as is indeed NULL in certain circustances. We need to gracefully degrade when there isn't a template for the notice in question. Tihs patch uses the newly introduced 'template' accessor and when that returns undefined we pass 'style' as an empty string. We also use the 'is_html' method introduced in bug 35285 to set the html flag. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175512|0 |1 is obsolete| | --- Comment #208 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175548 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175548&action=edit Bug 33260: (QA follow-up) Add missing page-section Add the missing page-section div to the new page and include required messages.inc include as is now standard. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175513|0 |1 is obsolete| | --- Comment #209 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175549 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175549&action=edit Bug 33260: (follow-up) Rebase for bootstrap 5 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175514|0 |1 is obsolete| | --- Comment #210 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175550 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175550&action=edit Bug 33260: (follow-up) Remove patron search as primary action This is a 'Notices' display tool, it doesn't make sense to me to replicate the 'Patrons' search interface as the primary action of the tool. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175515|0 |1 is obsolete| | --- Comment #211 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175551 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175551&action=edit Bug 33260: (follow-up) Sync functionality and ordering of display This patch syncs up the functionality and order of the notice displays. We allow for resending of notices via the modal in the new tools page and we add print in bulk to the members notices page. We also fix the modal on the tools page to work with bootstrap 5 correctly. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175516|0 |1 is obsolete| | --- Comment #212 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175552 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175552&action=edit Bug 33260: (follow-up) Add correct page title to print -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175517|0 |1 is obsolete| | --- Comment #213 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175553 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175553&action=edit Bug 33260: (follow-up) Limit printing to non-pending on members page This patch prevent printing of notices in the 'pending' state. This ensures that email notices will not be skipped by process message queue at it's next run as we set the 'sent' status on print with this patchset. It still allows for printing of sent and failed messages which I believe is the purpose of the original patchset. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175518|0 |1 is obsolete| | --- Comment #214 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175554 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175554&action=edit Bug 33260: (follow-up) Alternative print button in modal This adds a simple print option to the modal preview display on the members page. It simply prints the content of the display modal and doesn't set the status change. This might be useful to allow pending notices to still be printed. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175519|0 |1 is obsolete| | --- Comment #215 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175555 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175555&action=edit Bug 33260: (follow-up) Correct call to 'style' -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175520|0 |1 is obsolete| | --- Comment #216 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175556 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175556&action=edit Bug 33260: (follow-up) More comprehensively test patron accessor -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175521|0 |1 is obsolete| | --- Comment #217 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175557 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175557&action=edit Bug 33260: (follow-up) More comprehensively test template accessor -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175522|0 |1 is obsolete| | --- Comment #218 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175558 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175558&action=edit Bug 33260: Fix typo noice -> notice -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175523|0 |1 is obsolete| | --- Comment #219 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175559 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175559&action=edit Bug 33260: Fix TT syntax failure -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175524|0 |1 is obsolete| | --- Comment #220 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175560 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175560&action=edit Bug 33260: Replace nosort with NoSort -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175525|0 |1 is obsolete| | --- Comment #221 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175561 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175561&action=edit Bug 33260: Add hint to disabled select checkbox -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175530|0 |1 is obsolete| | --- Comment #222 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175562 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175562&action=edit Bug 33260: (follow-up) Also add 'print' option to modal on tools -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #223 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175563 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175563&action=edit Bug 33260: Migrate notice printing to members/print_notice This migrates the bulk notice printing from tools/print_notice.pl using circ/printslip.tt to members/print_notice.pl using members/print_notice.tt This clarified that we are working on pre-existing notices in the message queue and as such should be applying relevant print/email notice styling and not slip styling. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Signed Off --- Comment #224 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Re-order bugs so we aren't holding up an important CSS preferences clarification bug and in the hopes that gets this one moving again too.. it should make some of the testing of style output clearer in this bug having the other bug apply first instead of second. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175537|0 |1 is obsolete| | --- Comment #225 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175730 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175730&action=edit Bug 33260: Add view_generated_notices user permission Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175538|0 |1 is obsolete| | --- Comment #226 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175731 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175731&action=edit Bug 33260: Add NoticesManagement system preference Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175539|0 |1 is obsolete| | --- Comment #227 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175732 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175732&action=edit Bug 33260: Add a patron getter method to Koha::Notice::Message Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175540|0 |1 is obsolete| | --- Comment #228 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175733 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175733&action=edit Bug 33260: Add Notice management tool This enhancement makes it easy for the library to view sent notices and filter by various search parameters. You can also print sent notices, individually or in a batch. This enhancement uses a new system preference NoticesManagement and a new view_generated_notices user permission. This enhancement has been built on top of Bug 33478 so print format settings are taken into account when printing notices. To test: 1. Apply patches, install database updates, restart services 2. Make sure your logged in user has the view_generated_notices permission checked 3. Enable the NoticesManagement system preference 4. Generate a few notices. There are a few ways to do this including: - place holds, check in items and confirm the holds - place recalls, check in items and confirm the recalls 5. Go to Tools -> Notices management 6. There are two search functions on the left navigation. Confirm the patron search box works by searching for one of the patrons you generated a notice for, you should be redirected to their Notice history. 7. Go back to Notices management. Use the set of search filters to search for notices. Leaving the search filters empty will return all notices generated. Confirm the filters work as expected by using different combinations of filters. 8. Conduct a search so your notices show in a table. Confirm the information fetched about the notices is correct. 9. Click on a notice title. Confirm the contents of the notice show in a pop-up box. 10. Click one of the Print buttons next to a notice. Confirm the notice is opened to be printed. 11. Redo your notices search. Confirm the status of the notice you just printed has now been updated to 'sent'. 12. Use the 'Select all' and 'Clear all' buttons to select or clear the checkboxes. 13. Select a few checkboxes and click the button at the bottom of the table to 'Print selected notices'. Confirm the notices have been collated into one document, separated by horizontal lines, and prints successfully. The statuses for the notices should all be updated to 'sent'. 14. Confirm the Notices management page is not visible without the view_generated_notices permission 15. Confirm the Notices management page is not visible without the NoticesManagement system preference being enabled. 16. Go to a patron's Notices history. If the view_generated_notices user permission is checked for your logged in patron, you should see a Print button for each notice. Confirm this works. Confirm this button doesn't show if your logged in patron does not have the view_generated_notices user permission. It does not require the NoticesManagement system preference. 17. Go to Tools -> Notices & slips 18. Edit the format settings of a few different notices i.e. HOLD and WELCOME 19. Generate these notices by filling a hold for a patron and sending a welcome email 20. Search for all notices under Tools -> Notices management 21. Select all notices and print selected notices 22. Confirm the notices different format settings are taken into account in the printed PDF Sponsored-by: Colorado Library Consortium Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175541|0 |1 is obsolete| | --- Comment #229 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175734 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175734&action=edit Bug 33260: Move patron search into main body of page This patch moves the patron search in the Notices management page to the main body of the page so that the patron search result table displays more nicely. This is a better place for it anyway, as using this search takes the user to a different page. In the sidebar, where it was previously, it implied it would have the same results display as the search filters. Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175542|0 |1 is obsolete| | --- Comment #230 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175735 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175735&action=edit Bug 33260: (follow-up) Fix search forms on notices mgmt page Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175543|0 |1 is obsolete| | --- Comment #231 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175736 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175736&action=edit Bug 33260: (QA follow-up) Correct relation accessor and add unit test We were missing unit tests for the patron relation accessor added to Koha::Notice::Message and once I looked at adding the test I spotted the accessor was also using a rather outdated form. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175544|0 |1 is obsolete| | --- Comment #232 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175737 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175737&action=edit Bug 33260: Use search_limited to protect message privacy, and unit test This patch adds a Koha::Notice::Messages->search_limited sub to allow better control over which patron's notices the user can see. Test added to t/db_dependent/Koha/Notice/Message.t Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175545|0 |1 is obsolete| | --- Comment #233 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175738 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175738&action=edit Bug 33260: Tidy unit test Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175546|0 |1 is obsolete| | --- Comment #234 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175739 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175739&action=edit Bug 33260: (QA follow-up) Add template relation This patch add the 'template' relation to the Koha::Notice::Message object to fetch the Koha::Notice::Template object that may have been used to generate the notice. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175547|0 |1 is obsolete| | --- Comment #235 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175740 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175740&action=edit Bug 33260: (QA follow-up) Safely continue for non-templated notices The 'letter_id'/'letter_code' field in the message queue table is a NULLable foreign key as is indeed NULL in certain circustances. We need to gracefully degrade when there isn't a template for the notice in question. Tihs patch uses the newly introduced 'template' accessor and when that returns undefined we pass 'style' as an empty string. We also use the 'is_html' method introduced in bug 35285 to set the html flag. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175548|0 |1 is obsolete| | --- Comment #236 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175741 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175741&action=edit Bug 33260: (QA follow-up) Add missing page-section Add the missing page-section div to the new page and include required messages.inc include as is now standard. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175549|0 |1 is obsolete| | --- Comment #237 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175742 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175742&action=edit Bug 33260: (follow-up) Rebase for bootstrap 5 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175550|0 |1 is obsolete| | --- Comment #238 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175743 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175743&action=edit Bug 33260: (follow-up) Remove patron search as primary action This is a 'Notices' display tool, it doesn't make sense to me to replicate the 'Patrons' search interface as the primary action of the tool. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175551|0 |1 is obsolete| | --- Comment #239 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175744 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175744&action=edit Bug 33260: (follow-up) Sync functionality and ordering of display This patch syncs up the functionality and order of the notice displays. We allow for resending of notices via the modal in the new tools page and we add print in bulk to the members notices page. We also fix the modal on the tools page to work with bootstrap 5 correctly. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175552|0 |1 is obsolete| | --- Comment #240 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175745 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175745&action=edit Bug 33260: (follow-up) Add correct page title to print -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175553|0 |1 is obsolete| | --- Comment #241 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175746 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175746&action=edit Bug 33260: (follow-up) Limit printing to non-pending on members page This patch prevent printing of notices in the 'pending' state. This ensures that email notices will not be skipped by process message queue at it's next run as we set the 'sent' status on print with this patchset. It still allows for printing of sent and failed messages which I believe is the purpose of the original patchset. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175554|0 |1 is obsolete| | --- Comment #242 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175747 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175747&action=edit Bug 33260: (follow-up) Alternative print button in modal This adds a simple print option to the modal preview display on the members page. It simply prints the content of the display modal and doesn't set the status change. This might be useful to allow pending notices to still be printed. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175555|0 |1 is obsolete| | --- Comment #243 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175748 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175748&action=edit Bug 33260: (follow-up) Correct call to 'style' -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175556|0 |1 is obsolete| | --- Comment #244 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175749 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175749&action=edit Bug 33260: (follow-up) More comprehensively test patron accessor -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175557|0 |1 is obsolete| | --- Comment #245 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175750 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175750&action=edit Bug 33260: (follow-up) More comprehensively test template accessor -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175558|0 |1 is obsolete| | --- Comment #246 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175751 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175751&action=edit Bug 33260: Fix typo noice -> notice -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175559|0 |1 is obsolete| | --- Comment #247 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175752 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175752&action=edit Bug 33260: Fix TT syntax failure -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175560|0 |1 is obsolete| | --- Comment #248 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175753 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175753&action=edit Bug 33260: Replace nosort with NoSort -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175561|0 |1 is obsolete| | --- Comment #249 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175754 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175754&action=edit Bug 33260: Add hint to disabled select checkbox -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175562|0 |1 is obsolete| | --- Comment #250 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175755 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175755&action=edit Bug 33260: (follow-up) Also add 'print' option to modal on tools -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175563|0 |1 is obsolete| | --- Comment #251 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 175756 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175756&action=edit Bug 33260: Migrate notice printing to members/print_notice This migrates the bulk notice printing from tools/print_notice.pl using circ/printslip.tt to members/print_notice.pl using members/print_notice.tt This clarified that we are working on pre-existing notices in the message queue and as such should be applying relevant print/email notice styling and not slip styling. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|aleisha@catalyst.net.nz |martin.renvoize@ptfs-europe | |.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175730|0 |1 is obsolete| | --- Comment #252 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178733 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178733&action=edit Bug 33260: Add view_generated_notices user permission Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175731|0 |1 is obsolete| | --- Comment #253 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178734 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178734&action=edit Bug 33260: Add NoticesManagement system preference Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175732|0 |1 is obsolete| | --- Comment #254 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178735 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178735&action=edit Bug 33260: Add a patron getter method to Koha::Notice::Message Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175733|0 |1 is obsolete| | --- Comment #255 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178736 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178736&action=edit Bug 33260: Add Notice management tool This enhancement makes it easy for the library to view sent notices and filter by various search parameters. You can also print sent notices, individually or in a batch. This enhancement uses a new system preference NoticesManagement and a new view_generated_notices user permission. This enhancement has been built on top of Bug 33478 so print format settings are taken into account when printing notices. To test: 1. Apply patches, install database updates, restart services 2. Make sure your logged in user has the view_generated_notices permission checked 3. Enable the NoticesManagement system preference 4. Generate a few notices. There are a few ways to do this including: - place holds, check in items and confirm the holds - place recalls, check in items and confirm the recalls 5. Go to Tools -> Notices management 6. There are two search functions on the left navigation. Confirm the patron search box works by searching for one of the patrons you generated a notice for, you should be redirected to their Notice history. 7. Go back to Notices management. Use the set of search filters to search for notices. Leaving the search filters empty will return all notices generated. Confirm the filters work as expected by using different combinations of filters. 8. Conduct a search so your notices show in a table. Confirm the information fetched about the notices is correct. 9. Click on a notice title. Confirm the contents of the notice show in a pop-up box. 10. Click one of the Print buttons next to a notice. Confirm the notice is opened to be printed. 11. Redo your notices search. Confirm the status of the notice you just printed has now been updated to 'sent'. 12. Use the 'Select all' and 'Clear all' buttons to select or clear the checkboxes. 13. Select a few checkboxes and click the button at the bottom of the table to 'Print selected notices'. Confirm the notices have been collated into one document, separated by horizontal lines, and prints successfully. The statuses for the notices should all be updated to 'sent'. 14. Confirm the Notices management page is not visible without the view_generated_notices permission 15. Confirm the Notices management page is not visible without the NoticesManagement system preference being enabled. 16. Go to a patron's Notices history. If the view_generated_notices user permission is checked for your logged in patron, you should see a Print button for each notice. Confirm this works. Confirm this button doesn't show if your logged in patron does not have the view_generated_notices user permission. It does not require the NoticesManagement system preference. 17. Go to Tools -> Notices & slips 18. Edit the format settings of a few different notices i.e. HOLD and WELCOME 19. Generate these notices by filling a hold for a patron and sending a welcome email 20. Search for all notices under Tools -> Notices management 21. Select all notices and print selected notices 22. Confirm the notices different format settings are taken into account in the printed PDF Sponsored-by: Colorado Library Consortium Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175734|0 |1 is obsolete| | --- Comment #256 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178737 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178737&action=edit Bug 33260: Move patron search into main body of page This patch moves the patron search in the Notices management page to the main body of the page so that the patron search result table displays more nicely. This is a better place for it anyway, as using this search takes the user to a different page. In the sidebar, where it was previously, it implied it would have the same results display as the search filters. Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175735|0 |1 is obsolete| | --- Comment #257 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178738 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178738&action=edit Bug 33260: (follow-up) Fix search forms on notices mgmt page Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175736|0 |1 is obsolete| | --- Comment #258 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178739 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178739&action=edit Bug 33260: (QA follow-up) Correct relation accessor and add unit test We were missing unit tests for the patron relation accessor added to Koha::Notice::Message and once I looked at adding the test I spotted the accessor was also using a rather outdated form. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175737|0 |1 is obsolete| | --- Comment #259 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178740 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178740&action=edit Bug 33260: Use search_limited to protect message privacy, and unit test This patch adds a Koha::Notice::Messages->search_limited sub to allow better control over which patron's notices the user can see. Test added to t/db_dependent/Koha/Notice/Message.t Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175738|0 |1 is obsolete| | --- Comment #260 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178741 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178741&action=edit Bug 33260: Tidy unit test Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175739|0 |1 is obsolete| | --- Comment #261 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178742 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178742&action=edit Bug 33260: (QA follow-up) Add template relation This patch add the 'template' relation to the Koha::Notice::Message object to fetch the Koha::Notice::Template object that may have been used to generate the notice. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175740|0 |1 is obsolete| | --- Comment #262 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178743 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178743&action=edit Bug 33260: (QA follow-up) Safely continue for non-templated notices The 'letter_id'/'letter_code' field in the message queue table is a NULLable foreign key as is indeed NULL in certain circustances. We need to gracefully degrade when there isn't a template for the notice in question. Tihs patch uses the newly introduced 'template' accessor and when that returns undefined we pass 'style' as an empty string. We also use the 'is_html' method introduced in bug 35285 to set the html flag. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175741|0 |1 is obsolete| | --- Comment #263 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178744 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178744&action=edit Bug 33260: (QA follow-up) Add missing page-section Add the missing page-section div to the new page and include required messages.inc include as is now standard. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175742|0 |1 is obsolete| | --- Comment #264 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178745 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178745&action=edit Bug 33260: (follow-up) Rebase for bootstrap 5 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175743|0 |1 is obsolete| | --- Comment #265 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178746 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178746&action=edit Bug 33260: (follow-up) Remove patron search as primary action This is a 'Notices' display tool, it doesn't make sense to me to replicate the 'Patrons' search interface as the primary action of the tool. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175744|0 |1 is obsolete| | --- Comment #266 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178747 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178747&action=edit Bug 33260: (follow-up) Sync functionality and ordering of display This patch syncs up the functionality and order of the notice displays. We allow for resending of notices via the modal in the new tools page and we add print in bulk to the members notices page. We also fix the modal on the tools page to work with bootstrap 5 correctly. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175745|0 |1 is obsolete| | --- Comment #267 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178748 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178748&action=edit Bug 33260: (follow-up) Add correct page title to print -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175746|0 |1 is obsolete| | --- Comment #268 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178749 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178749&action=edit Bug 33260: (follow-up) Limit printing to non-pending on members page This patch prevent printing of notices in the 'pending' state. This ensures that email notices will not be skipped by process message queue at it's next run as we set the 'sent' status on print with this patchset. It still allows for printing of sent and failed messages which I believe is the purpose of the original patchset. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175747|0 |1 is obsolete| | --- Comment #269 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178750 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178750&action=edit Bug 33260: (follow-up) Alternative print button in modal This adds a simple print option to the modal preview display on the members page. It simply prints the content of the display modal and doesn't set the status change. This might be useful to allow pending notices to still be printed. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175748|0 |1 is obsolete| | --- Comment #270 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178751 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178751&action=edit Bug 33260: (follow-up) Correct call to 'style' -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175749|0 |1 is obsolete| | --- Comment #271 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178752 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178752&action=edit Bug 33260: (follow-up) More comprehensively test patron accessor -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175750|0 |1 is obsolete| | --- Comment #272 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178753 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178753&action=edit Bug 33260: (follow-up) More comprehensively test template accessor -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175751|0 |1 is obsolete| | --- Comment #273 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178754 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178754&action=edit Bug 33260: Fix typo noice -> notice -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175752|0 |1 is obsolete| | --- Comment #274 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178755 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178755&action=edit Bug 33260: Fix TT syntax failure -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175753|0 |1 is obsolete| | --- Comment #275 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178756 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178756&action=edit Bug 33260: Replace nosort with NoSort -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175754|0 |1 is obsolete| | --- Comment #276 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178757 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178757&action=edit Bug 33260: Add hint to disabled select checkbox -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175755|0 |1 is obsolete| | --- Comment #277 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178758 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178758&action=edit Bug 33260: (follow-up) Also add 'print' option to modal on tools -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175756|0 |1 is obsolete| | --- Comment #278 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Created attachment 178759 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=178759&action=edit Bug 33260: Migrate notice printing to members/print_notice This migrates the bulk notice printing from tools/print_notice.pl using circ/printslip.tt to members/print_notice.pl using members/print_notice.tt This clarified that we are working on pre-existing notices in the message queue and as such should be applying relevant print/email notice styling and not slip styling. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #279 from Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> --- Just another rebase to keep it applying -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Hackfest -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Michael Adamyk <michael.adamyk@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |michael.adamyk@bywatersolut | |ions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Bug 33260 depends on bug 38089, which changed state. Bug 38089 Summary: Fix incorrect regular expression from bug 33478 and move styles to head https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38089 What |Removed |Added ---------------------------------------------------------------------------- Status|Needs documenting |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Brendan Lawlor <blawlor@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |blawlor@clamsnet.org -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Bug 33260 depends on bug 30287, which changed state. Bug 30287 Summary: Notices using HTML render differently in notices.pl https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30287 What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to oldstable |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Marion Durand <marion.durand@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marion.durand@biblibre.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Patch doesn't apply --- Comment #280 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Removing from the QA queue.. patch doesn't apply and it's a non-trivial rebase as this stage.. lets wait for some of the other bugs to get through before attempting to come back to this.. it's a shame.. so much work done and time gone. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|Medium patch |Large patch Comma delimited| |Colorado Library Consortium list of Sponsors| | Status|Patch doesn't apply |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178733|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178734|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178735|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178736|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178737|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178738|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178739|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178740|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178741|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178742|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178743|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178744|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178745|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178746|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178747|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178748|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178749|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178750|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178751|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178752|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178753|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178754|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178755|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178756|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178757|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178758|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #178759|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #281 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 193220 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193220&action=edit Bug 33260: Add view_generated_notices user permission Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #282 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 193221 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193221&action=edit Bug 33260: Add NoticesManagement system preference Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #283 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 193222 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193222&action=edit Bug 33260: Add a patron getter method to Koha::Notice::Message Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #284 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 193223 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193223&action=edit Bug 33260: Add Notice management tool This enhancement makes it easy for the library to view sent notices and filter by various search parameters. You can also print sent notices, individually or in a batch. This enhancement uses a new system preference NoticesManagement and a new view_generated_notices user permission. This enhancement has been built on top of Bug 33478 so print format settings are taken into account when printing notices. To test: 1. Apply patches, install database updates, restart services 2. Make sure your logged in user has the view_generated_notices permission checked 3. Enable the NoticesManagement system preference 4. Generate a few notices. There are a few ways to do this including: - place holds, check in items and confirm the holds - place recalls, check in items and confirm the recalls 5. Go to Tools -> Notices management 6. There are two search functions on the left navigation. Confirm the patron search box works by searching for one of the patrons you generated a notice for, you should be redirected to their Notice history. 7. Go back to Notices management. Use the set of search filters to search for notices. Leaving the search filters empty will return all notices generated. Confirm the filters work as expected by using different combinations of filters. 8. Conduct a search so your notices show in a table. Confirm the information fetched about the notices is correct. 9. Click on a notice title. Confirm the contents of the notice show in a pop-up box. 10. Click one of the Print buttons next to a notice. Confirm the notice is opened to be printed. 11. Redo your notices search. Confirm the status of the notice you just printed has now been updated to 'sent'. 12. Use the 'Select all' and 'Clear all' buttons to select or clear the checkboxes. 13. Select a few checkboxes and click the button at the bottom of the table to 'Print selected notices'. Confirm the notices have been collated into one document, separated by horizontal lines, and prints successfully. The statuses for the notices should all be updated to 'sent'. 14. Confirm the Notices management page is not visible without the view_generated_notices permission 15. Confirm the Notices management page is not visible without the NoticesManagement system preference being enabled. 16. Go to a patron's Notices history. If the view_generated_notices user permission is checked for your logged in patron, you should see a Print button for each notice. Confirm this works. Confirm this button doesn't show if your logged in patron does not have the view_generated_notices user permission. It does not require the NoticesManagement system preference. 17. Go to Tools -> Notices & slips 18. Edit the format settings of a few different notices i.e. HOLD and WELCOME 19. Generate these notices by filling a hold for a patron and sending a welcome email 20. Search for all notices under Tools -> Notices management 21. Select all notices and print selected notices 22. Confirm the notices different format settings are taken into account in the printed PDF Sponsored-by: Colorado Library Consortium Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #285 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 193224 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193224&action=edit Bug 33260: Move patron search into main body of page This patch moves the patron search in the Notices management page to the main body of the page so that the patron search result table displays more nicely. This is a better place for it anyway, as using this search takes the user to a different page. In the sidebar, where it was previously, it implied it would have the same results display as the search filters. Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #286 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 193225 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193225&action=edit Bug 33260: (follow-up) Fix search forms on notices mgmt page Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #287 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 193226 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193226&action=edit Bug 33260: (QA follow-up) Correct relation accessor and add unit test We were missing unit tests for the patron relation accessor added to Koha::Notice::Message and once I looked at adding the test I spotted the accessor was also using a rather outdated form. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #288 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 193227 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193227&action=edit Bug 33260: Use search_limited to protect message privacy, and unit test This patch adds a Koha::Notice::Messages->search_limited sub to allow better control over which patron's notices the user can see. Test added to t/db_dependent/Koha/Notice/Message.t Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #289 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 193228 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193228&action=edit Bug 33260: (QA follow-up) Add template relation This patch add the 'template' relation to the Koha::Notice::Message object to fetch the Koha::Notice::Template object that may have been used to generate the notice. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #290 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 193229 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193229&action=edit Bug 33260: (QA follow-up) Safely continue for non-templated notices The 'letter_id'/'letter_code' field in the message queue table is a NULLable foreign key as is indeed NULL in certain circustances. We need to gracefully degrade when there isn't a template for the notice in question. Tihs patch uses the newly introduced 'template' accessor and when that returns undefined we pass 'style' as an empty string. We also use the 'is_html' method introduced in bug 35285 to set the html flag. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #291 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 193230 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193230&action=edit Bug 33260: (QA follow-up) Add missing page-section Add the missing page-section div to the new page and include required messages.inc include as is now standard. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #292 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 193231 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193231&action=edit Bug 33260: (follow-up) Rebase for bootstrap 5 Patch from commit ffb0842 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #293 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 193232 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193232&action=edit Bug 33260: (follow-up) Remove patron search as primary action This is a 'Notices' display tool, it doesn't make sense to me to replicate the 'Patrons' search interface as the primary action of the tool. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #294 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 193233 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193233&action=edit Bug 33260: (follow-up) Sync functionality and ordering of display This patch syncs up the functionality and order of the notice displays. We allow for resending of notices via the modal in the new tools page and we add print in bulk to the members notices page. We also fix the modal on the tools page to work with bootstrap 5 correctly. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #295 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 193234 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193234&action=edit Bug 33260: (follow-up) Add correct page title to print Patch from commit 894cb99 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #296 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 193235 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193235&action=edit Bug 33260: (follow-up) Limit printing to non-pending on members page This patch prevent printing of notices in the 'pending' state. This ensures that email notices will not be skipped by process message queue at it's next run as we set the 'sent' status on print with this patchset. It still allows for printing of sent and failed messages which I believe is the purpose of the original patchset. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #297 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 193236 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193236&action=edit Bug 33260: (follow-up) Alternative print button in modal This adds a simple print option to the modal preview display on the members page. It simply prints the content of the display modal and doesn't set the status change. This might be useful to allow pending notices to still be printed. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #298 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 193237 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193237&action=edit Bug 33260: (follow-up) Correct call to 'style' Patch from commit c3abb9e -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #299 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 193238 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193238&action=edit Bug 33260: (follow-up) More comprehensively test patron accessor Patch from commit 6f5be67 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #300 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 193239 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193239&action=edit Bug 33260: (follow-up) More comprehensively test template accessor Patch from commit e5a0e17 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #301 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 193240 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193240&action=edit Bug 33260: Fix typo noice -> notice Patch from commit 3dbea3b -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #302 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 193241 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193241&action=edit Bug 33260: Fix TT syntax failure Patch from commit 7bd4805 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #303 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 193242 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193242&action=edit Bug 33260: Replace nosort with NoSort Patch from commit b6106d5 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #304 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 193243 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193243&action=edit Bug 33260: Add hint to disabled select checkbox Patch from commit 27882ea -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #305 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 193244 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193244&action=edit Bug 33260: (follow-up) Also add 'print' option to modal on tools Patch from commit 2f59624 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #306 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 193245 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193245&action=edit Bug 33260: Migrate notice printing to members/print_notice This migrates the bulk notice printing from tools/print_notice.pl using circ/printslip.tt to members/print_notice.pl using members/print_notice.tt This clarified that we are working on pre-existing notices in the message queue and as such should be applying relevant print/email notice styling and not slip styling. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #307 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 193246 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193246&action=edit Bug 38072: Fix regression in modal_printer This patch updates the JS for the modal printer to make it more reliable. I found that in recent versions of chrome the print dialog failed to open and instead you were just faced with a flash of white before the new tab autoclosed and no print takes place. Test plan 1) Enable cash registers and point of sale preferences 2) Add a debit type and mark it as 'Can be sold' 3) Add a cash register 4) Use 'Point of sale' to sell one of the above item for cash against the register you just created. 5) Navigate to the register and 'cashup' 6) Click the 'summary' link to display a modal 7) User the 'Print' option in the modal and confirm you face a print dialog and can print -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #308 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- I rebased.. but I honestly have no idea if any of it still works.. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Emmanuel Bétemps <e.betemps@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |e.betemps@gmail.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #193220|0 |1 is obsolete| | Attachment #193221|0 |1 is obsolete| | Attachment #193222|0 |1 is obsolete| | Attachment #193223|0 |1 is obsolete| | Attachment #193224|0 |1 is obsolete| | Attachment #193225|0 |1 is obsolete| | Attachment #193226|0 |1 is obsolete| | Attachment #193227|0 |1 is obsolete| | Attachment #193228|0 |1 is obsolete| | Attachment #193229|0 |1 is obsolete| | Attachment #193230|0 |1 is obsolete| | Attachment #193231|0 |1 is obsolete| | Attachment #193232|0 |1 is obsolete| | Attachment #193233|0 |1 is obsolete| | Attachment #193234|0 |1 is obsolete| | Attachment #193235|0 |1 is obsolete| | Attachment #193236|0 |1 is obsolete| | Attachment #193237|0 |1 is obsolete| | Attachment #193238|0 |1 is obsolete| | Attachment #193239|0 |1 is obsolete| | Attachment #193240|0 |1 is obsolete| | Attachment #193241|0 |1 is obsolete| | Attachment #193242|0 |1 is obsolete| | Attachment #193243|0 |1 is obsolete| | Attachment #193244|0 |1 is obsolete| | Attachment #193245|0 |1 is obsolete| | Attachment #193246|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #309 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 196240 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196240&action=edit Bug 33260: Add view_generated_notices user permission Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #310 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 196241 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196241&action=edit Bug 33260: Add NoticesManagement system preference Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #311 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 196242 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196242&action=edit Bug 33260: Add a patron getter method to Koha::Notice::Message Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #312 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 196243 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196243&action=edit Bug 33260: Add Notice management tool This enhancement makes it easy for the library to view sent notices and filter by various search parameters. You can also print sent notices, individually or in a batch. This enhancement uses a new system preference NoticesManagement and a new view_generated_notices user permission. This enhancement has been built on top of Bug 33478 so print format settings are taken into account when printing notices. To test: 1. Apply patches, install database updates, restart services 2. Make sure your logged in user has the view_generated_notices permission checked 3. Enable the NoticesManagement system preference 4. Generate a few notices. There are a few ways to do this including: - place holds, check in items and confirm the holds - place recalls, check in items and confirm the recalls 5. Go to Tools -> Notices management 6. There are two search functions on the left navigation. Confirm the patron search box works by searching for one of the patrons you generated a notice for, you should be redirected to their Notice history. 7. Go back to Notices management. Use the set of search filters to search for notices. Leaving the search filters empty will return all notices generated. Confirm the filters work as expected by using different combinations of filters. 8. Conduct a search so your notices show in a table. Confirm the information fetched about the notices is correct. 9. Click on a notice title. Confirm the contents of the notice show in a pop-up box. 10. Click one of the Print buttons next to a notice. Confirm the notice is opened to be printed. 11. Redo your notices search. Confirm the status of the notice you just printed has now been updated to 'sent'. 12. Use the 'Select all' and 'Clear all' buttons to select or clear the checkboxes. 13. Select a few checkboxes and click the button at the bottom of the table to 'Print selected notices'. Confirm the notices have been collated into one document, separated by horizontal lines, and prints successfully. The statuses for the notices should all be updated to 'sent'. 14. Confirm the Notices management page is not visible without the view_generated_notices permission 15. Confirm the Notices management page is not visible without the NoticesManagement system preference being enabled. 16. Go to a patron's Notices history. If the view_generated_notices user permission is checked for your logged in patron, you should see a Print button for each notice. Confirm this works. Confirm this button doesn't show if your logged in patron does not have the view_generated_notices user permission. It does not require the NoticesManagement system preference. 17. Go to Tools -> Notices & slips 18. Edit the format settings of a few different notices i.e. HOLD and WELCOME 19. Generate these notices by filling a hold for a patron and sending a welcome email 20. Search for all notices under Tools -> Notices management 21. Select all notices and print selected notices 22. Confirm the notices different format settings are taken into account in the printed PDF Sponsored-by: Colorado Library Consortium Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #313 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 196244 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196244&action=edit Bug 33260: Move patron search into main body of page This patch moves the patron search in the Notices management page to the main body of the page so that the patron search result table displays more nicely. This is a better place for it anyway, as using this search takes the user to a different page. In the sidebar, where it was previously, it implied it would have the same results display as the search filters. Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #314 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 196245 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196245&action=edit Bug 33260: (follow-up) Fix search forms on notices mgmt page Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #315 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 196246 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196246&action=edit Bug 33260: (QA follow-up) Correct relation accessor and add unit test We were missing unit tests for the patron relation accessor added to Koha::Notice::Message and once I looked at adding the test I spotted the accessor was also using a rather outdated form. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #316 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 196247 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196247&action=edit Bug 33260: Use search_limited to protect message privacy, and unit test This patch adds a Koha::Notice::Messages->search_limited sub to allow better control over which patron's notices the user can see. Test added to t/db_dependent/Koha/Notice/Message.t Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #317 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 196248 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196248&action=edit Bug 33260: (QA follow-up) Add template relation This patch add the 'template' relation to the Koha::Notice::Message object to fetch the Koha::Notice::Template object that may have been used to generate the notice. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #318 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 196249 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196249&action=edit Bug 33260: (QA follow-up) Safely continue for non-templated notices The 'letter_id'/'letter_code' field in the message queue table is a NULLable foreign key as is indeed NULL in certain circustances. We need to gracefully degrade when there isn't a template for the notice in question. Tihs patch uses the newly introduced 'template' accessor and when that returns undefined we pass 'style' as an empty string. We also use the 'is_html' method introduced in bug 35285 to set the html flag. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #319 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 196250 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196250&action=edit Bug 33260: (QA follow-up) Add missing page-section Add the missing page-section div to the new page and include required messages.inc include as is now standard. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #320 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 196251 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196251&action=edit Bug 33260: (follow-up) Rebase for bootstrap 5 Patch from commit 2466687 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #321 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 196252 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196252&action=edit Bug 33260: (follow-up) Remove patron search as primary action This is a 'Notices' display tool, it doesn't make sense to me to replicate the 'Patrons' search interface as the primary action of the tool. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #322 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 196253 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196253&action=edit Bug 33260: (follow-up) Sync functionality and ordering of display This patch syncs up the functionality and order of the notice displays. We allow for resending of notices via the modal in the new tools page and we add print in bulk to the members notices page. We also fix the modal on the tools page to work with bootstrap 5 correctly. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #323 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 196254 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196254&action=edit Bug 33260: (follow-up) Add correct page title to print Patch from commit fe1b6c5 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #324 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 196255 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196255&action=edit Bug 33260: (follow-up) Limit printing to non-pending on members page This patch prevent printing of notices in the 'pending' state. This ensures that email notices will not be skipped by process message queue at it's next run as we set the 'sent' status on print with this patchset. It still allows for printing of sent and failed messages which I believe is the purpose of the original patchset. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #325 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 196256 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196256&action=edit Bug 33260: (follow-up) Alternative print button in modal This adds a simple print option to the modal preview display on the members page. It simply prints the content of the display modal and doesn't set the status change. This might be useful to allow pending notices to still be printed. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #326 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 196257 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196257&action=edit Bug 33260: (follow-up) Correct call to 'style' Patch from commit 705c4e3 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #327 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 196258 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196258&action=edit Bug 33260: (follow-up) More comprehensively test patron accessor Patch from commit fe0e683 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #328 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 196259 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196259&action=edit Bug 33260: (follow-up) More comprehensively test template accessor Patch from commit 85f7008 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #329 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 196260 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196260&action=edit Bug 33260: Fix typo noice -> notice Patch from commit 24ce7b0 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #330 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 196261 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196261&action=edit Bug 33260: Fix TT syntax failure Patch from commit d7c3194 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #331 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 196262 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196262&action=edit Bug 33260: Replace nosort with NoSort Patch from commit a937d76 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #332 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 196263 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196263&action=edit Bug 33260: Add hint to disabled select checkbox Patch from commit dc87e0f -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #333 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 196264 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196264&action=edit Bug 33260: (follow-up) Also add 'print' option to modal on tools Patch from commit 8e4563b -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #334 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 196265 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196265&action=edit Bug 33260: Migrate notice printing to members/print_notice This migrates the bulk notice printing from tools/print_notice.pl using circ/printslip.tt to members/print_notice.pl using members/print_notice.tt This clarified that we are working on pre-existing notices in the message queue and as such should be applying relevant print/email notice styling and not slip styling. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #335 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 196266 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196266&action=edit Bug 33260: Add missing CSP nonces to inline style and script tags Patch from commit 6e481c9 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #336 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 196267 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196267&action=edit Bug 38072: Fix regression in modal_printer This patch updates the JS for the modal printer to make it more reliable. I found that in recent versions of chrome the print dialog failed to open and instead you were just faced with a flash of white before the new tab autoclosed and no print takes place. Test plan 1) Enable cash registers and point of sale preferences 2) Add a debit type and mark it as 'Can be sold' 3) Add a cash register 4) Use 'Point of sale' to sell one of the above item for cash against the register you just created. 5) Navigate to the register and 'cashup' 6) Click the 'summary' link to display a modal 7) User the 'Print' option in the modal and confirm you face a print dialog and can print -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #337 from Marion Durand <marion.durand@biblibre.com> --- Testing notes : Step 6 : There are two search functions on the left navigation. Confirm the patron search box works by searching for one of the patrons you generated a notice for, you should be redirected to their Notice history. => The search filter I tested are working well but I could not find the patron search (was it removed during the life of the patch but not from the test plan ?) Also the very last patch is : Bug 38072: Fix regression in modal_printer It's not the same bug and does not seem related, is it a mistake ? Other than that, I'll be pretty happy to sign of this one once I have my answers. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #196267|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #338 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- (In reply to Marion Durand from comment #337)
Testing notes :
Step 6 : There are two search functions on the left navigation. Confirm the patron search box works by searching for one of the patrons you generated a notice for, you should be redirected to their Notice history. => The search filter I tested are working well but I could not find the patron search (was it removed during the life of the patch but not from the test plan ?)
Correct, that other search was removed during the life of this bug, so that part of the test plan is outdated.
Also the very last patch is : Bug 38072: Fix regression in modal_printer It's not the same bug and does not seem related, is it a mistake ?
Oops, I've obsoleted that now. It was at the end of my branch as I was struggling to test without that bug.. but I think that's a local issue to my browser settings.
Other than that, I'll be pretty happy to sign of this one once I have my answers.
Thankyou so much for all the testing, it'll be great to see this get over the line :) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|nick@bywatersolutions.com |domm@plix.at -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Marion Durand <marion.durand@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #196240|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Marion Durand <marion.durand@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #196241|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Marion Durand <marion.durand@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #196242|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Marion Durand <marion.durand@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #196243|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Marion Durand <marion.durand@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #196244|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Marion Durand <marion.durand@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #196245|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Marion Durand <marion.durand@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #196246|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Marion Durand <marion.durand@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #196247|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Marion Durand <marion.durand@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #196248|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Marion Durand <marion.durand@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #196249|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Marion Durand <marion.durand@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #196250|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Marion Durand <marion.durand@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #196251|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Marion Durand <marion.durand@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #196252|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Marion Durand <marion.durand@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #196253|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Marion Durand <marion.durand@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #196254|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Marion Durand <marion.durand@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #196255|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Marion Durand <marion.durand@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #196256|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Marion Durand <marion.durand@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #196257|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Marion Durand <marion.durand@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #196258|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Marion Durand <marion.durand@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #196259|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Marion Durand <marion.durand@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #196260|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Marion Durand <marion.durand@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #196261|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Marion Durand <marion.durand@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #196262|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Marion Durand <marion.durand@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #196263|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Marion Durand <marion.durand@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #196264|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Marion Durand <marion.durand@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #196265|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Marion Durand <marion.durand@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #196266|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #339 from Marion Durand <marion.durand@biblibre.com> --- Created attachment 196403 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196403&action=edit Bug 33260: Add view_generated_notices user permission Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Marion Durand <marion.durand@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #340 from Marion Durand <marion.durand@biblibre.com> --- Created attachment 196404 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196404&action=edit Bug 33260: Add NoticesManagement system preference Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Marion Durand <marion.durand@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #341 from Marion Durand <marion.durand@biblibre.com> --- Created attachment 196405 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196405&action=edit Bug 33260: Add a patron getter method to Koha::Notice::Message Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Marion Durand <marion.durand@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #342 from Marion Durand <marion.durand@biblibre.com> --- Created attachment 196406 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196406&action=edit Bug 33260: Add Notice management tool This enhancement makes it easy for the library to view sent notices and filter by various search parameters. You can also print sent notices, individually or in a batch. This enhancement uses a new system preference NoticesManagement and a new view_generated_notices user permission. This enhancement has been built on top of Bug 33478 so print format settings are taken into account when printing notices. To test: 1. Apply patches, install database updates, restart services 2. Make sure your logged in user has the view_generated_notices permission checked 3. Enable the NoticesManagement system preference 4. Generate a few notices. There are a few ways to do this including: - place holds, check in items and confirm the holds - place recalls, check in items and confirm the recalls 5. Go to Tools -> Notices management 6. There are two search functions on the left navigation. Confirm the patron search box works by searching for one of the patrons you generated a notice for, you should be redirected to their Notice history. 7. Go back to Notices management. Use the set of search filters to search for notices. Leaving the search filters empty will return all notices generated. Confirm the filters work as expected by using different combinations of filters. 8. Conduct a search so your notices show in a table. Confirm the information fetched about the notices is correct. 9. Click on a notice title. Confirm the contents of the notice show in a pop-up box. 10. Click one of the Print buttons next to a notice. Confirm the notice is opened to be printed. 11. Redo your notices search. Confirm the status of the notice you just printed has now been updated to 'sent'. 12. Use the 'Select all' and 'Clear all' buttons to select or clear the checkboxes. 13. Select a few checkboxes and click the button at the bottom of the table to 'Print selected notices'. Confirm the notices have been collated into one document, separated by horizontal lines, and prints successfully. The statuses for the notices should all be updated to 'sent'. 14. Confirm the Notices management page is not visible without the view_generated_notices permission 15. Confirm the Notices management page is not visible without the NoticesManagement system preference being enabled. 16. Go to a patron's Notices history. If the view_generated_notices user permission is checked for your logged in patron, you should see a Print button for each notice. Confirm this works. Confirm this button doesn't show if your logged in patron does not have the view_generated_notices user permission. It does not require the NoticesManagement system preference. 17. Go to Tools -> Notices & slips 18. Edit the format settings of a few different notices i.e. HOLD and WELCOME 19. Generate these notices by filling a hold for a patron and sending a welcome email 20. Search for all notices under Tools -> Notices management 21. Select all notices and print selected notices 22. Confirm the notices different format settings are taken into account in the printed PDF Sponsored-by: Colorado Library Consortium Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Marion Durand <marion.durand@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #343 from Marion Durand <marion.durand@biblibre.com> --- Created attachment 196407 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196407&action=edit Bug 33260: Move patron search into main body of page This patch moves the patron search in the Notices management page to the main body of the page so that the patron search result table displays more nicely. This is a better place for it anyway, as using this search takes the user to a different page. In the sidebar, where it was previously, it implied it would have the same results display as the search filters. Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: kelly <kelly@bywatersolutions.com> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Marion Durand <marion.durand@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #344 from Marion Durand <marion.durand@biblibre.com> --- Created attachment 196408 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196408&action=edit Bug 33260: (follow-up) Fix search forms on notices mgmt page Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Marion Durand <marion.durand@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #345 from Marion Durand <marion.durand@biblibre.com> --- Created attachment 196409 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196409&action=edit Bug 33260: (QA follow-up) Correct relation accessor and add unit test We were missing unit tests for the patron relation accessor added to Koha::Notice::Message and once I looked at adding the test I spotted the accessor was also using a rather outdated form. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Marion Durand <marion.durand@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #346 from Marion Durand <marion.durand@biblibre.com> --- Created attachment 196410 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196410&action=edit Bug 33260: Use search_limited to protect message privacy, and unit test This patch adds a Koha::Notice::Messages->search_limited sub to allow better control over which patron's notices the user can see. Test added to t/db_dependent/Koha/Notice/Message.t Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Marion Durand <marion.durand@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #347 from Marion Durand <marion.durand@biblibre.com> --- Created attachment 196411 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196411&action=edit Bug 33260: (QA follow-up) Add template relation This patch add the 'template' relation to the Koha::Notice::Message object to fetch the Koha::Notice::Template object that may have been used to generate the notice. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Marion Durand <marion.durand@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #348 from Marion Durand <marion.durand@biblibre.com> --- Created attachment 196412 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196412&action=edit Bug 33260: (QA follow-up) Safely continue for non-templated notices The 'letter_id'/'letter_code' field in the message queue table is a NULLable foreign key as is indeed NULL in certain circustances. We need to gracefully degrade when there isn't a template for the notice in question. Tihs patch uses the newly introduced 'template' accessor and when that returns undefined we pass 'style' as an empty string. We also use the 'is_html' method introduced in bug 35285 to set the html flag. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Marion Durand <marion.durand@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #349 from Marion Durand <marion.durand@biblibre.com> --- Created attachment 196413 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196413&action=edit Bug 33260: (QA follow-up) Add missing page-section Add the missing page-section div to the new page and include required messages.inc include as is now standard. Signed-off-by: Marion Durand <marion.durand@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #350 from Marion Durand <marion.durand@biblibre.com> --- Created attachment 196414 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196414&action=edit Bug 33260: (follow-up) Rebase for bootstrap 5 Signed-off-by: Marion Durand <marion.durand@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #351 from Marion Durand <marion.durand@biblibre.com> --- Created attachment 196415 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196415&action=edit Bug 33260: (follow-up) Remove patron search as primary action This is a 'Notices' display tool, it doesn't make sense to me to replicate the 'Patrons' search interface as the primary action of the tool. Signed-off-by: Marion Durand <marion.durand@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #352 from Marion Durand <marion.durand@biblibre.com> --- Created attachment 196416 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196416&action=edit Bug 33260: (follow-up) Sync functionality and ordering of display This patch syncs up the functionality and order of the notice displays. We allow for resending of notices via the modal in the new tools page and we add print in bulk to the members notices page. We also fix the modal on the tools page to work with bootstrap 5 correctly. Signed-off-by: Marion Durand <marion.durand@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #353 from Marion Durand <marion.durand@biblibre.com> --- Created attachment 196417 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196417&action=edit Bug 33260: (follow-up) Add correct page title to print Signed-off-by: Marion Durand <marion.durand@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #354 from Marion Durand <marion.durand@biblibre.com> --- Created attachment 196418 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196418&action=edit Bug 33260: (follow-up) Limit printing to non-pending on members page This patch prevent printing of notices in the 'pending' state. This ensures that email notices will not be skipped by process message queue at it's next run as we set the 'sent' status on print with this patchset. It still allows for printing of sent and failed messages which I believe is the purpose of the original patchset. Signed-off-by: Marion Durand <marion.durand@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #355 from Marion Durand <marion.durand@biblibre.com> --- Created attachment 196419 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196419&action=edit Bug 33260: (follow-up) Alternative print button in modal This adds a simple print option to the modal preview display on the members page. It simply prints the content of the display modal and doesn't set the status change. This might be useful to allow pending notices to still be printed. Signed-off-by: Marion Durand <marion.durand@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #356 from Marion Durand <marion.durand@biblibre.com> --- Created attachment 196420 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196420&action=edit Bug 33260: (follow-up) Correct call to 'style' Signed-off-by: Marion Durand <marion.durand@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #357 from Marion Durand <marion.durand@biblibre.com> --- Created attachment 196421 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196421&action=edit Bug 33260: (follow-up) More comprehensively test patron accessor Signed-off-by: Marion Durand <marion.durand@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #358 from Marion Durand <marion.durand@biblibre.com> --- Created attachment 196422 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196422&action=edit Bug 33260: (follow-up) More comprehensively test template accessor Signed-off-by: Marion Durand <marion.durand@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #359 from Marion Durand <marion.durand@biblibre.com> --- Created attachment 196423 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196423&action=edit Bug 33260: Fix typo noice -> notice Signed-off-by: Marion Durand <marion.durand@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #360 from Marion Durand <marion.durand@biblibre.com> --- Created attachment 196424 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196424&action=edit Bug 33260: Fix TT syntax failure Signed-off-by: Marion Durand <marion.durand@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #361 from Marion Durand <marion.durand@biblibre.com> --- Created attachment 196425 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196425&action=edit Bug 33260: Replace nosort with NoSort Signed-off-by: Marion Durand <marion.durand@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #362 from Marion Durand <marion.durand@biblibre.com> --- Created attachment 196426 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196426&action=edit Bug 33260: Add hint to disabled select checkbox Signed-off-by: Marion Durand <marion.durand@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #363 from Marion Durand <marion.durand@biblibre.com> --- Created attachment 196427 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196427&action=edit Bug 33260: (follow-up) Also add 'print' option to modal on tools Signed-off-by: Marion Durand <marion.durand@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #364 from Marion Durand <marion.durand@biblibre.com> --- Created attachment 196428 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196428&action=edit Bug 33260: Migrate notice printing to members/print_notice This migrates the bulk notice printing from tools/print_notice.pl using circ/printslip.tt to members/print_notice.pl using members/print_notice.tt This clarified that we are working on pre-existing notices in the message queue and as such should be applying relevant print/email notice styling and not slip styling. Signed-off-by: Marion Durand <marion.durand@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #365 from Marion Durand <marion.durand@biblibre.com> --- Created attachment 196429 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196429&action=edit Bug 33260: Add missing CSP nonces to inline style and script tags Signed-off-by: Marion Durand <marion.durand@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #366 from Marion Durand <marion.durand@biblibre.com> --- Happy to sign-off everything then :) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Marion Durand <marion.durand@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |42212 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42212 [Bug 42212] Add a resend button to the Notices Management interface -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 Marion Durand <marion.durand@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |42213 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42213 [Bug 42213] Add a button to clear all filter in notice management module -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260 --- Comment #367 from Marion Durand <marion.durand@biblibre.com> --- I just tested again (to create bug report 42212 and 42213 with enhancement) and the status of the notification did not change and clicking the print button (it stays in status "pending". Martin, can you have a look ? (can it be linked to the patch that we removed ? should we add this bug a dependency to be pushed before ?) -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org