[freeside-commits] branch FREESIDE_4_BRANCH updated. b13695504945686be1723ceb5017c4aa612921fd
Ivan Kohler
ivan at freeside.biz
Tue Dec 5 11:43:43 PST 2017
The branch, FREESIDE_4_BRANCH has been updated
via b13695504945686be1723ceb5017c4aa612921fd (commit)
from 3ea0307a1bacb75333dc15c8825aeae0e8527aac (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit b13695504945686be1723ceb5017c4aa612921fd
Author: Ivan Kohler <ivan at freeside.biz>
Date: Tue Dec 5 11:43:42 2017 -0800
fix logo encoding over xml-api for all functions that call skin_info internally, RT#75279
diff --git a/FS/FS/ClientAPI_XMLRPC.pm b/FS/FS/ClientAPI_XMLRPC.pm
index 511cef4c9..dcf34fdaa 100644
--- a/FS/FS/ClientAPI_XMLRPC.pm
+++ b/FS/FS/ClientAPI_XMLRPC.pm
@@ -47,13 +47,18 @@ our %typefix_skin_info = (
'menu_bottom_image' => 'base64',
);
our %typefix = (
- 'invoice_pdf' => { 'invoice_pdf' => 'base64', },
- 'legacy_invoice_pdf' => { 'invoice_pdf' => 'base64', },
- 'skin_info' => \%typefix_skin_info,
- 'login_info' => \%typefix_skin_info,
- 'invoice_logo' => { 'logo' => 'base64', },
- 'login_banner_image' => { 'image' => 'base64', },
- 'quotation_print' => { 'document' => 'base64' },
+ 'invoice_pdf' => { 'invoice_pdf' => 'base64', },
+ 'legacy_invoice_pdf' => { 'invoice_pdf' => 'base64', },
+ 'skin_info' => \%typefix_skin_info,
+ 'login_info' => \%typefix_skin_info,
+ 'logout' => \%typefix_skin_info,
+ 'access_info' => \%typefix_skin_info,
+ 'reset_passwd' => \%typefix_skin_info,
+ 'check_reset_passwd' => \%typefix_skin_info,
+ 'process_reset_passwd' => \%typefix_skin_info,
+ 'invoice_logo' => { 'logo' => 'base64', },
+ 'login_banner_image' => { 'image' => 'base64', },
+ 'quotation_print' => { 'document' => 'base64' },
);
sub AUTOLOAD {
diff --git a/fs_selfservice/FS-SelfService/SelfService/XMLRPC.pm b/fs_selfservice/FS-SelfService/SelfService/XMLRPC.pm
index 14f8a0c44..506dce1de 100644
--- a/fs_selfservice/FS-SelfService/SelfService/XMLRPC.pm
+++ b/fs_selfservice/FS-SelfService/SelfService/XMLRPC.pm
@@ -42,12 +42,18 @@ our %typefix_skin_info = (
'menu_bottom_image' => 'base64',
);
our %typefix = (
- 'invoice_pdf' => { 'invoice_pdf' => 'base64', },
- 'legacy_invoice_pdf' => { 'invoice_pdf' => 'base64', },
- 'skin_info' => \%typefix_skin_info,
- 'login_info' => \%typefix_skin_info,
- 'invoice_logo' => { 'logo' => 'base64', },
- 'login_banner_image' => { 'image' => 'base64', },
+ 'invoice_pdf' => { 'invoice_pdf' => 'base64', },
+ 'legacy_invoice_pdf' => { 'invoice_pdf' => 'base64', },
+ 'skin_info' => \%typefix_skin_info,
+ 'login_info' => \%typefix_skin_info,
+ 'logout' => \%typefix_skin_info,
+ 'access_info' => \%typefix_skin_info,
+ 'reset_passwd' => \%typefix_skin_info,
+ 'check_reset_passwd' => \%typefix_skin_info,
+ 'process_reset_passwd' => \%typefix_skin_info,
+ 'invoice_logo' => { 'logo' => 'base64', },
+ 'login_banner_image' => { 'image' => 'base64', },
+ 'quotation_print' => { 'document' => 'base64' },
);
sub AUTOLOAD {
-----------------------------------------------------------------------
Summary of changes:
FS/FS/ClientAPI_XMLRPC.pm | 19 ++++++++++++-------
fs_selfservice/FS-SelfService/SelfService/XMLRPC.pm | 18 ++++++++++++------
2 files changed, 24 insertions(+), 13 deletions(-)
More information about the freeside-commits
mailing list