PMC-1093
This commit is contained in:
@@ -50,8 +50,12 @@ workflow/engine/classes/entities/SolrQueryResult.php
|
||||
workflow/engine/classes/entities/SolrRequestData.php
|
||||
workflow/engine/classes/entities/SolrUpdateDocument.php
|
||||
workflow/engine/classes/triggers/api/class.zimbraApi.php
|
||||
workflow/engine/controllers/authSourceProxy.php
|
||||
workflow/engine/controllers/dashboard.php
|
||||
workflow/engine/controllers/installer.php
|
||||
workflow/engine/data/mssql/insert.sql
|
||||
workflow/engine/data/mssql/schema.sql
|
||||
workflow/engine/data/mssql/sqldb.map
|
||||
workflow/engine/includes/inc.JSForms.php
|
||||
workflow/engine/js/cases/core/cases_Step_Pmdynaform.js
|
||||
workflow/engine/methods/cases/casesDemo.php
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,81 +0,0 @@
|
||||
<?php
|
||||
|
||||
class authSourceProxy extends HttpProxyController
|
||||
{
|
||||
|
||||
function testingOption ($params)
|
||||
{
|
||||
/*global $RBAC;
|
||||
$fields = array('AUTH_SOURCE_PROVIDER' => $params->optionAuthS);
|
||||
$G_PUBLISH = new Publisher();
|
||||
$data=array();
|
||||
$aCommonFields = array('AUTH_SOURCE_UID',
|
||||
'AUTH_SOURCE_NAME',
|
||||
'AUTH_SOURCE_PROVIDER',
|
||||
'AUTH_SOURCE_SERVER_NAME',
|
||||
'AUTH_SOURCE_PORT',
|
||||
'AUTH_SOURCE_ENABLED_TLS',
|
||||
'AUTH_ANONYMOUS',
|
||||
'AUTH_SOURCE_SEARCH_USER',
|
||||
'AUTH_SOURCE_PASSWORD',
|
||||
'AUTH_SOURCE_VERSION',
|
||||
'AUTH_SOURCE_BASE_DN',
|
||||
'AUTH_SOURCE_OBJECT_CLASSES',
|
||||
'AUTH_SOURCE_ATTRIBUTES');
|
||||
$aFields = $aData = array();
|
||||
|
||||
unset($params->PHPSESSID);
|
||||
foreach ($params as $sField => $sValue) {
|
||||
if (in_array($sField, $aCommonFields)) {
|
||||
$aFields[$sField] = (($sField=='AUTH_SOURCE_ENABLED_TLS' || $sField=='AUTH_ANONYMOUS'))? ($sValue=='yes')?1:0 :$sValue;
|
||||
}
|
||||
else {
|
||||
$aData[$sField] = $sValue;
|
||||
}
|
||||
}
|
||||
$aFields['AUTH_SOURCE_DATA'] = $aData;
|
||||
if (isset($aFields['AUTH_SOURCE_UID']) && $aFields['AUTH_SOURCE_UID'] != '') {
|
||||
$RBAC->updateAuthSource($aFields);
|
||||
}
|
||||
else {
|
||||
$aAuth = $RBAC->createAuthSource($aFields);
|
||||
}*/
|
||||
//G::pr($aAuth);die;
|
||||
$data['success'] = true;
|
||||
$data['optionAuthS'] = $params->optionAuthS;
|
||||
//$data['sUID'] = $aAuth;
|
||||
return $data;
|
||||
}
|
||||
|
||||
function saveAuthSources ($params)
|
||||
{
|
||||
global $RBAC;
|
||||
if ($RBAC->userCanAccess( 'PM_SETUP_ADVANCE' ) != 1) {
|
||||
G::SendTemporalMessage( 'ID_USER_HAVENT_RIGHTS_PAGE', 'error', 'labels' );
|
||||
G::header( 'location: ../login/login' );
|
||||
die();
|
||||
}
|
||||
$aCommonFields = array ('AUTH_SOURCE_UID','AUTH_SOURCE_NAME','AUTH_SOURCE_PROVIDER','AUTH_SOURCE_SERVER_NAME','AUTH_SOURCE_PORT','AUTH_SOURCE_ENABLED_TLS','AUTH_ANONYMOUS','AUTH_SOURCE_SEARCH_USER','AUTH_SOURCE_PASSWORD','AUTH_SOURCE_VERSION','AUTH_SOURCE_BASE_DN','AUTH_SOURCE_OBJECT_CLASSES','AUTH_SOURCE_ATTRIBUTES');
|
||||
|
||||
$aFields = $aData = array ();
|
||||
|
||||
unset( $params->PHPSESSID );
|
||||
foreach ($params as $sField => $sValue) {
|
||||
if (in_array( $sField, $aCommonFields )) {
|
||||
$aFields[$sField] = (($sField == 'AUTH_SOURCE_ENABLED_TLS' || $sField == 'AUTH_ANONYMOUS')) ? ($sValue == 'yes') ? 1 : 0 : $sValue;
|
||||
} else {
|
||||
$aData[$sField] = $sValue;
|
||||
}
|
||||
}
|
||||
$aFields['AUTH_SOURCE_DATA'] = $aData;
|
||||
if ($aFields['AUTH_SOURCE_UID'] == '') {
|
||||
$RBAC->createAuthSource( $aFields );
|
||||
} else {
|
||||
$RBAC->updateAuthSource( $aFields );
|
||||
}
|
||||
$data = array ();
|
||||
$data['success'] = true;
|
||||
return $data;
|
||||
} //end saveAuthSoruces function
|
||||
} //end authSourceProxy class
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,2 +0,0 @@
|
||||
# Sqlfile -> Database map
|
||||
schema.sql=workflow
|
||||
@@ -36,7 +36,6 @@ switch ($option) {
|
||||
|
||||
$oHeadPublisher->assign("SYSINFO_PHP", "\"" . $systemInfo->php->version . "\", " . (($systemInfo->php->result)? 1 : 0));
|
||||
$oHeadPublisher->assign("SYSINFO_MYSQL", "\"" . $systemInfo->mysql->version . "\", " . (($systemInfo->mysql->result)? 1 : 0));
|
||||
$oHeadPublisher->assign("SYSINFO_MSSQL", "\"" . $systemInfo->mssql->version . "\", " . (($systemInfo->mssql->result)? 1 : 0));
|
||||
$oHeadPublisher->assign("SYSINFO_CURL", "\"" . $systemInfo->curl->version . "\", " . (($systemInfo->curl->result)? 1 : 0));
|
||||
$oHeadPublisher->assign("SYSINFO_OPENSSL", "\"" . $systemInfo->openssl->version . "\", " . (($systemInfo->openssl->result)? 1 : 0));
|
||||
$oHeadPublisher->assign("SYSINFO_DOMXML", "\"" . $systemInfo->dom->version . "\", " . (($systemInfo->dom->result)? 1 : 0));
|
||||
|
||||
@@ -61,7 +61,6 @@ Ext.onReady(function () {
|
||||
var response = Ext.util.JSON.decode(response.responseText);
|
||||
Ext.getCmp('php').setValue(getFieldOutput(response.php.version, response.php.result));
|
||||
Ext.getCmp('mysql').setValue(getFieldOutput(response.mysql.version, response.mysql.result));
|
||||
//Ext.getCmp('mssql').setValue (getFieldOutput(response.mssql.version, response.mssql.result));
|
||||
Ext.getCmp('curl').setValue(getFieldOutput(response.curl.version, response.curl.result));
|
||||
Ext.getCmp('openssl').setValue(getFieldOutput(response.openssl.version, response.openssl.result));
|
||||
Ext.getCmp('dom').setValue(getFieldOutput(response.dom.version, response.dom.result));
|
||||
@@ -72,7 +71,7 @@ Ext.onReady(function () {
|
||||
Ext.getCmp('ldap').setValue(getFieldOutput(response.ldap.version, response.ldap.result));
|
||||
Ext.getCmp('memory').setValue(getFieldOutput(response.memory.version, response.memory.result));
|
||||
|
||||
dbReq = response.mysql.result || response.mssql.result;
|
||||
dbReq = response.mysql.result;
|
||||
phpReq = response.php.result && response.curl.result && response.dom.result && response.gd.result && response.multibyte.result && response.soap.result && response.memory.result && response.mcrypt.result;
|
||||
wizard.onClientValidation(0, dbReq && phpReq);
|
||||
wizard.showLoadMask(false);
|
||||
|
||||
@@ -29,7 +29,6 @@ systemInfo.application = {
|
||||
case "SYS":
|
||||
Ext.getCmp("php").setValue(fieldFormatValue(dataResponse.php.version, dataResponse.php.result));
|
||||
Ext.getCmp("mysql").setValue(fieldFormatValue(dataResponse.mysql.version, dataResponse.mysql.result));
|
||||
//Ext.getCmp("mssql").setValue(fieldFormatValue(dataResponse.mssql.version, dataResponse.mssql.result));
|
||||
Ext.getCmp("curl").setValue(fieldFormatValue(dataResponse.curl.version, dataResponse.curl.result));
|
||||
Ext.getCmp("openssl").setValue(fieldFormatValue(dataResponse.openssl.version, dataResponse.openssl.result));
|
||||
Ext.getCmp("dom").setValue(fieldFormatValue(dataResponse.dom.version, dataResponse.dom.result));
|
||||
@@ -100,14 +99,6 @@ systemInfo.application = {
|
||||
fieldLabel: _("ID_PROCESSMAKER_REQUIREMENTS_MYSQL"),
|
||||
value: eval("fieldFormatValue(" + SYSINFO_MYSQL + ");")
|
||||
},
|
||||
/*
|
||||
{
|
||||
xtype: "displayfield",
|
||||
id: "mssql",
|
||||
fieldLabel: _("ID_PROCESSMAKER_REQUIREMENTS_MSSQL"),
|
||||
value: eval("fieldFormatValue(" + SYSINFO_MSSQL + ");")
|
||||
},
|
||||
*/
|
||||
{
|
||||
xtype: "displayfield",
|
||||
id: "curl",
|
||||
|
||||
Reference in New Issue
Block a user