https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260
Martin Renvoize (ashimema) <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Text to go in the|This enhancement adds a |Tools > Notices management release notes|Notices management tool to |lists the notices Koha has |view the notices Koha has |generated (the message |generated (the message |queue), newest first, and |queue), filter them and |lets staff filter them by |print them. |type, status, patron | |category, library and queue |Tools > Notices management |date. Notices can be |lists the notices of the |previewed, resent and |patrons the staff member is |printed, one at a time or |allowed to see, newest |several together. The |first (up to 1000 are |patron's Notices tab offers |listed). They can be |the same actions for that |filtered by notice type, |patron. Notices that were |status, patron category, |sent, failed or deleted can |patron library and queue |be converted to a print |date (from and to, both |notice, for example for a |inclusive). The content of |patron without a working |a notice can be previewed, |email address. Pending |a notice can be resent, and |email and SMS notices |notices can be printed one |cannot be printed, so they |by one or in a batch with |are still sent. |"Print selected notices". | |The patron's Notices tab |Staff only see notices of |offers the same actions for |patrons they are allowed to |that patron's notices. |see. The content of notices | |that carry a secret |It needs the new |(password reset, |NoticesManagement system |registration verification |preference (disabled by |and 2FA one-time token |default) and the new tools |notices) is not shown or |> view_generated_notices |printed. These notices are |permission. |still listed, with their | |status. |Printing notices: | |* Notices that have been |**New system preferences** |printed get a new status, |- `NoticesManagement` |"printed", instead of |(default: 0, disabled) - |"sent", so a printed email |shows Tools > Notices |or SMS notice can be told |management and enables the |from one that was |notice printing and |delivered. The |conversion pages. |gather_print_notices.pl | |cronjob now also marks the |**New permissions** |print notices it gathers as |- `tools > |"printed" rather than |view_generated_notices` - |"sent". |view, print, convert and |* Pending notices can only |resend generated notices. |be printed if they are |The patron's Notices tab |print notices, the same on |needs this permission only, |the patron's Notices tab |not the preference. |and on the Notices | |management page. Notices |**To enable** |converted to print notices |1. Enable |are not printed themselves, |`NoticesManagement` in |their print notice is. |Administration > System |* The notices are shown in |preferences. |the print window in frames |2. Grant the |that cannot run scripts, so |`view_generated_notices` |the content of a notice |permission to the relevant |cannot do anything in the |staff. |staff interface. | | |**Upgrade notes** |Convert to print: |- `message_queue.status` |* An email or SMS notice |has two new values: |that was sent, failed, or |`printed`, for notices that |was deleted can be |have been printed rather |converted to a print |than sent, and `converted`, |notice, for example for a |for notices converted to |patron without a working |print. |email address. A new |- The |pending print notice is |`gather_print_notices.pl` |queued from the new |cronjob now sets the print |CONVERTED_TO_PRINT notice |notices it gathers to |(Tools > Notices and slips, |`printed` instead of |which libraries can edit). |`sent`. Reports or scripts |It shows the patron's and |that rely on `sent` for |the library's address and a |print notices need |note that the original was |updating. |sent, or could not be sent, |- The database update adds |by email or SMS, followed |the `CONVERTED_TO_PRINT` |by the original content. |notice (Tools > Notices and |The original notice gets |slips, Patrons module), |the new status "converted". |used to create the print |* The two notices are |notice. Libraries can edit |linked: the delivery note |it. |of the original says |- `members/printnotice.pl` |"Converted to print notice |is replaced by |123", and that of the print |`members/print_notice.pl`, |notice says "Converted from |which takes notice ids. |notice 122". |Update any links to the old |* Converting is not offered |page. |when the CONVERTED_TO_PRINT | |notice does not exist, and | |when it has an error the | |staff member is told so and | |the error is in the error | |log, the notice that was to | |be converted is not | |changed. | |* The direct Print action | |is kept, for example to | |hand a notice to a patron | |at the library. | | | |Privacy and security: | |* The notices a staff | |member can see, print, | |convert and resend are | |limited to those of patrons | |of the libraries whose | |patron information they can | |see (patron data library | |groups and | |IndependentBranches are | |respected). | |* The content of notices | |that contain a secret is | |not shown or printable, on | |the new page or on the | |patron's Notices tab, | |although the notices are | |still listed with their | |status: PASSWORD_RESET, | |STAFF_PASSWORD_RESET, | |OPAC_REG_VERIFY and | |2FA_OTP_TOKEN. Staff with | |this permission could | |otherwise read password | |reset links and security | |codes. | |* Notice content is shown, | |and printed, in sandboxed | |frames. Printing, | |converting, resending and | |marking notices as printed | |are done with POST requests | |protected against CSRF. | | | |Upgrade notes: | |* message_queue.status has | |two new values, "printed" | |and "converted". | |* members/printnotice.pl | |and its template are | |replaced by | |members/print_notice.pl, | |which takes notice ids. | -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected] website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
