[freeside-commits] freeside/FS/FS Schema.pm, 1.239.2.1, 1.239.2.2 svc_domain.pm, 1.74, 1.74.2.1 svc_CGP_Mixin.pm, 1.2, 1.2.4.1

Ivan,,, ivan at wavetail.420.am
Sun Nov 7 21:24:09 PST 2010


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

Modified Files:
      Tag: FREESIDE_2_1_BRANCH
	Schema.pm svc_domain.pm svc_CGP_Mixin.pm 
Log Message:
certificates ala communigate, RT#7515

Index: Schema.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Schema.pm,v
retrieving revision 1.239.2.1
retrieving revision 1.239.2.2
diff -u -w -d -r1.239.2.1 -r1.239.2.2
--- Schema.pm	7 Nov 2010 00:57:15 -0000	1.239.2.1
+++ Schema.pm	8 Nov 2010 05:24:07 -0000	1.239.2.2
@@ -1775,6 +1775,7 @@
         'trailer',         'text', 'NULL',       '', '', '',
         'cgp_aliases',  'varchar', 'NULL',      255, '', '',
         'cgp_accessmodes','varchar','NULL',     255, '', '', #DomainAccessModes
+        'cgp_certificatetype','varchar','NULL', $char_d, '', '',
         #settings
         'acct_def_password_selfchange',   'char', 'NULL',       1,  '', '', 
         'acct_def_password_recover',      'char', 'NULL',       1, 'Y', '', 

Index: svc_domain.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/svc_domain.pm,v
retrieving revision 1.74
retrieving revision 1.74.2.1
diff -u -w -d -r1.74 -r1.74.2.1
--- svc_domain.pm	11 Sep 2010 17:02:58 -0000	1.74
+++ svc_domain.pm	8 Nov 2010 05:24:07 -0000	1.74.2.1
@@ -133,6 +133,13 @@
                              disable_inventory => 1,
                              disable_select    => 1,
                            },
+      'cgp_certificatetype' => { 
+                             label => 'Communigate PKI services',
+                             type  => 'select',
+                             select_list => __PACKAGE__->cgp_certificatetype_values,
+                             disable_inventory => 1,
+                             disable_select    => 1,
+                           },
 
       'acct_def_cgp_accessmodes' => { 
                              label => 'Acct. default Communigate enabled services',

Index: svc_CGP_Mixin.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/svc_CGP_Mixin.pm,v
retrieving revision 1.2
retrieving revision 1.2.4.1
diff -u -w -d -r1.2 -r1.2.4.1
--- svc_CGP_Mixin.pm	23 Jul 2010 10:02:35 -0000	1.2
+++ svc_CGP_Mixin.pm	8 Nov 2010 05:24:07 -0000	1.2.4.1
@@ -131,6 +131,24 @@
   ];
 }
 
+=item cgp_certificatetype_values
+
+Returns an arrayref of possible CertificateType values.
+
+=cut
+
+#http://www.communigate.com/cgatepro/PKI.html
+
+sub cgp_certificatetype_values {
+
+  [ '', #<option value="-1">default(Test)
+    'Enabled',
+    'Disabled',
+    'Test',
+  ];
+
+}
+
 =back
 
 =head1 BUGS



More information about the freeside-commits mailing list