[freeside-commits] freeside/FS/FS Conf.pm, 1.483, 1.484 msg_template.pm, 1.23, 1.24 ClientAPI_XMLRPC.pm, 1.11, 1.12

Ivan,,, ivan at wavetail.420.am
Sun Oct 30 16:28:18 PDT 2011


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv7362/FS/FS

Modified Files:
	Conf.pm msg_template.pm ClientAPI_XMLRPC.pm 
Log Message:
selfservice password reset, RT#13656

Index: msg_template.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/msg_template.pm,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -w -d -r1.23 -r1.24
--- msg_template.pm	1 Sep 2011 05:13:08 -0000	1.23
+++ msg_template.pm	30 Oct 2011 23:28:16 -0000	1.24
@@ -262,6 +262,10 @@
 Destination address.  The default is to use the customer's 
 invoicing_list addresses.  Multiple addresses may be comma-separated.
 
+=item substitutions
+
+A hash reference of additional substitutions
+
 =back
 
 =cut
@@ -324,8 +328,12 @@
       } 
     } 
   } 
-  $_ = encode_entities($_ || '') foreach values(%hash);
 
+  if ( $opt{substitutions} ) {
+    $hash{$_} = $opt{substitutions}->{$_} foreach keys %{$opt{substitutions}};
+  }
+
+  $_ = encode_entities($_ || '') foreach values(%hash);
 
   ###
   # clean up template

Index: Conf.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Conf.pm,v
retrieving revision 1.483
retrieving revision 1.484
diff -u -w -d -r1.483 -r1.484
--- Conf.pm	26 Oct 2011 21:56:44 -0000	1.483
+++ Conf.pm	30 Oct 2011 23:28:15 -0000	1.484
@@ -2478,6 +2478,13 @@
   },
   
   {
+    'key'         => 'selfservice-password_reset_msgnum',
+    'section'     => 'self-service',
+    'description' => 'Template to use for password reset emails.',
+    %msg_template_options,
+  },
+
+  {
     'key'         => 'selfservice-recent-did-age',
     'section'     => 'self-service',
     'description' => 'If specified, defines "recent", in number of seconds, for "Download recently allocated DIDs" in self-service.',

Index: ClientAPI_XMLRPC.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/ClientAPI_XMLRPC.pm,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -w -d -r1.11 -r1.12
--- ClientAPI_XMLRPC.pm	28 Oct 2011 01:32:18 -0000	1.11
+++ ClientAPI_XMLRPC.pm	30 Oct 2011 23:28:16 -0000	1.12
@@ -111,6 +111,8 @@
   'unprovision_svc'           => 'MyAccount/unprovision_svc',
   'myaccount_passwd'          => 'MyAccount/myaccount_passwd',
   'reset_passwd'              => 'MyAccount/reset_passwd',
+  'check_reset_passwd'        => 'MyAccount/check_reset_passwd',
+  'process_reset_passwd'      => 'MyAccount/process_reset_passwd',
   'create_ticket'             => 'MyAccount/create_ticket',
   'get_ticket'                => 'MyAccount/get_ticket',
   'adjust_ticket_priority'    => 'MyAccount/adjust_ticket_priority',



More information about the freeside-commits mailing list