]> git.koha-community.org Git - koha.git/commit
Bug 35639: Trim the messages that are too long before sending them via SMS
authorEmily-Rose Francoeur <emily-rose.francoeur@inLibro.com>
Fri, 22 Dec 2023 13:41:39 +0000 (08:41 -0500)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 11 Jun 2024 10:50:49 +0000 (11:50 +0100)
commitbde8387b32a06914d3112263dcba60b41a6ce1fa
tree599227169a5746f9df6a22809ab0992945473160
parent925bef83bdd5cd53c015c3d55d93862d739db9d0
Bug 35639: Trim the messages that are too long before sending them via SMS

I created a new system preference, SMSSendMaxChar, which allows you to set a limit for the number of characters in SMS messages to send. When a limit is set, messages that exceed it will be trimed.

TEST PLAN
1) Apply the patch
2) Run prove t/db_dependent/Letters.t

Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Letters.pm
installer/data/mysql/atomicupdate/bug_35639-add_sms_characters_limitation.pl [new file with mode: 0755]
installer/data/mysql/mandatory/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref
t/db_dependent/Letters.t