Merged in release/3.2.2 (pull request #6026)

Release/3.2.2

Approved-by: Paula Quispe <paula.quispe@processmaker.com>
This commit is contained in:
Paula Quispe
2017-08-29 17:08:32 +00:00
116 changed files with 1085 additions and 313 deletions

2
.gitignore vendored
View File

@@ -39,3 +39,5 @@ build-prod.zip
node_modules
/workflow/engine/config/system-tables.ini
test_shared/
**/cache/
storage/

148
bootstrap/classaliasmap.php Normal file
View File

@@ -0,0 +1,148 @@
<?php
/**
* Class alias map to ensures backwards compatibility.
*/
return array(
'actionsByEmailCoreClass' => ActionsByEmailCoreClass::class,
'AppDocumentDrive' => AppDocumentDrive::class,
'ApplicationAPP_DATAUnserializeException' => ApplicationAppDataUnserializeException::class,
'Applications' => Applications::class,
'ApplicationWithCorruptDynaformException' => ApplicationWithCorruptDynaformException::class,
'ApplicationWithoutDelegationRecordsException' => ApplicationWithoutDelegationRecordsException::class,
'AppSolr' => AppSolr::class,
'archive' => Archive::class,
'ArrayBasePeer' => ArrayBasePeer::class,
'BpmnEngine_SearchIndexAccess_Solr' => BpmnEngineSearchIndexAccessSolr::class,
'BpmnEngine_Services_SearchIndex' => BpmnEngineServicesSearchIndex::class,
'calendar' => Calendar::class,
'Cases' => Cases::class,
'CLI' => CLI::class,
'Configurations' => Configurations::class,
'ConsolidatedCases' => ConsolidatedCases::class,
'Dashboards' => Dashboards::class,
'dashletOpenVSCompleted' => DashletOpenVsCompleted::class,
'dashletProcessMakerCommunity' => DashletProcessMakerCommunity::class,
'dashletProcessMakerEnterprise' => DashletProcessMakerEnterprise::class,
'dashletRssReader' => DashletRssReader::class,
'dates' => Dates::class,
'dbConnections' => DbConnections::class,
'Derivation' => Derivation::class,
'dynaformEditor' => DynaformEditor::class,
'dynaformEditorAjax' => DynaformEditorAjax::class,
'DynaFormField' => DynaFormField::class,
'enterpriseClass' => EnterpriseClass::class,
'EnterpriseUtils' => EnterpriseUtils::class,
'featuresDetail' => FeaturesDetail::class,
'FieldValidator' => FieldValidator::class,
'FileCache' => FileCache::class,
'FormBatchRouting' => FormBatchRouting::class,
'Groups' => Groups::class,
'GulliverBasePeer' => GulliverBasePeer::class,
'indicatorsCalculator' => IndicatorsCalculator::class,
'Installer' => \ProcessMaker\Core\Installer::class,
'installer' => \ProcessMaker\Core\Installer::class,
'InvalidIndexSearchTextException' => InvalidIndexSearchTextException::class,
'JavaBridgePM' => JavaBridgePM::class,
'labelsGmail' => labelsGmail::class,
'ldapAdvanced' => LdapAdvanced::class,
'License_Application' => license_application::class,
'multipleFilesBackup' => MultipleFilesBackup::class,
'NET' => Net::class,
'p11835' => P11835::class,
'padl' => Padl::class,
'pluginDetail' => PluginDetail::class,
'PMDashlet' => PmDashlet::class,
'PMDrive' => PmDrive::class,
'pmDynaform' => PmDynaform::class,
'pmGauge' => PmGauge::class,
'PMGoogleApi' => PmGoogleApi::class,
'pmLicenseManager' => PmLicenseManager::class,
'PMmemcached' => PMmemcached::class,
'pmPhing' => PmPhing::class,
'PMPlugin' => PMPlugin::class,
'pmSsoClass' => PmSsoClass::class,
'PmTable' => PmTable::class,
'popupMenu' => PopupMenu::class,
'Processes' => Processes::class,
'ProcessMakerWebDav' => ProcessMakerWebDav::class,
'processMap' => ProcessMap::class,
'propelTable' => PropelTable::class,
'replacementLogo' => ReplacementLogo::class,
'Report' => Report::class,
'ReportTables' => ReportTables::class,
'serverConf' => ServerConf::class,
'Sessions' => Sessions::class,
'spoolRun' => SpoolRun::class,
'System' => \ProcessMaker\Core\System::class,
'Tasks' => Tasks::class,
'ToolBar' => ToolBar::class,
'Tree' => PmTree::class,
'triggerLibrary' => TriggerLibrary::class,
'Upgrade' => Upgrade::class,
'workspaceTools' => WorkspaceTools::class,
'wsBase' => WsBase::class,
'wsResponse' => WsResponse::class,
'XMLConnection' => XMLConnection::class,
'XMLDB' => XMLDB::class,
'XmlForm_Field' => XmlFormField::class,
'XmlForm_Field_Button' => XmlFormFieldButton::class,
'XmlForm_Field_Caption' => XmlFormFieldCaption::class,
'XmlForm_Field_CaptionCurrency' => XmlFormFieldCaptionCurrency::class,
'XmlForm_Field_CaptionPercentage' => XmlFormFieldCaptionPercentage::class,
'XmlForm_Field_CellMark' => XmlFormFieldCellMark::class,
'XmlForm_Field_Checkbox' => XmlFormFieldCheckbox::class,
'XmlForm_Field_Checkbox2' => XmlFormFieldCheckbox2::class,
'XmlForm_Field_Checkboxpt' => XmlFormFieldCheckboxpt::class,
'XmlForm_Field_CheckBoxTable' => XmlFormFieldCheckBoxTable::class,
'XmlForm_Field_CheckBoxTable' => XmlFormFieldCheckBoxTable::class,
'XmlForm_Field_CheckGroup' => XmlFormFieldCheckGroup::class,
'XmlForm_Field_CheckGroupView' => XmlFormFieldCheckGroupView::class,
'XmlForm_Field_Currency' => XmlFormFieldCurrency::class,
'XmlForm_Field_Date' => XmlFormFieldDate::class,
'XmlForm_Field_Date2' => XmlFormFieldDate2::class,
'XmlForm_Field_Date5' => XmlFormFieldDate5::class,
'XmlForm_Field_DateView' => XmlFormFieldDateView::class,
'XmlForm_Field_Dropdown' => XmlFormFieldDropdown::class,
'XmlForm_Field_Dropdownpt' => XmlFormFieldDropdownpt::class,
'XmlForm_Field_DVEditor' => XmlFormFieldDVEditor::class,
'XmlForm_Field_FastSearch' => XmlFormFieldFastSearch::class,
'XmlForm_Field_File' => XmlFormFieldFile::class,
'XmlForm_Field_Grid' => XmlFormFieldGrid::class,
'XmlForm_Field_Hidden' => XmlFormFieldHidden::class,
'XmlForm_Field_hours' => XmlFormFieldHours::class,
'XmlForm_Field_Hours' => XmlFormFieldHours::class,
'XmlForm_Field_HTML' => XmlFormFieldHTML::class,
'XmlForm_Field_Image' => XmlFormFieldImage::class,
'XmlForm_Field_Image' => XmlFormFieldImage::class,
'XmlForm_Field_JavaScript' => XmlFormFieldJavaScript::class,
'XmlForm_Field_Label' => XmlFormFieldLabel::class,
'XmlForm_Field_Link' => XmlFormFieldLink::class,
'XmlForm_Field_Listbox' => XmlFormFieldListbox::class,
'XmlForm_Field_Password' => XmlFormFieldPassword::class,
'XmlForm_Field_Percentage' => XmlFormFieldPercentage::class,
'XmlForm_Field_PopupOption' => XmlFormFieldPopupOption::class,
'XmlForm_Field_Print' => XmlFormFieldPrint::class,
'XmlForm_Field_RadioGroup' => XmlFormFieldRadioGroup::class,
'XmlForm_Field_RadioGroupView' => XmlFormFieldRadioGroupView::class,
'XmlForm_Field_Reset' => XmlFormFieldReset::class,
'XmlForm_Field_SimpleText' => XmlFormFieldSimpleText::class,
'XmlForm_Field_Submit' => XmlFormFieldSubmit::class,
'XmlForm_Field_Subtitle' => XmlFormFieldSubtitle::class,
'XmlForm_Field_Suggest' => XmlFormFieldSuggest::class,
'XmlForm_Field_Text' => XmlFormFieldText::class,
'XmlForm_Field_Textarea' => XmlFormFieldTextarea::class,
'XmlForm_Field_TextareaPM' => XmlFormFieldTextareaPm::class,
'XmlForm_Field_TextareaPm' => XmlFormFieldTextareaPm::class,
'XmlForm_Field_TextPM' => XmlFormFieldTextPm::class,
'XmlForm_Field_TextPm' => XmlFormFieldTextPm::class,
'XmlForm_Field_Title' => XmlFormFieldTitle::class,
'XmlForm_Field_ToolBar' => XmlFormFieldToolBar::class,
'XmlForm_Field_ToolBar' => XmlFormFieldToolBar::class,
'XmlForm_Field_toolButton' => XmlFormFieldToolButton::class,
'XmlForm_Field_ToolButton' => XmlFormFieldToolButton::class,
'XmlForm_Field_WYSIWYGEditor' => XmlFormFieldWYSIWYGEditor::class,
'XmlForm_Field_Xmlform' => XmlFormFieldXmlform::class,
'XmlForm_Field_XmlMenu' => XmlFormFieldXmlMenu::class,
'XmlForm_Field_YesNo' => XmlFormFieldYesNo::class,
'XMLResult' => XMLResult::class,
);

View File

@@ -41,9 +41,9 @@
"libchart/libchart": "1.4.0",
"indeyets/pake": "1.99.*",
"phpmailer/phpmailer": "5.2.*",
"tecnickcom/tcpdf": "6.2.*",
"pear/archive_tar": "1.4.*",
"pear/console_getopt": "1.4.*"
"pear/console_getopt": "1.4.*",
"TYPO3/class-alias-loader": "^1.0"
},
"require-dev": {
"guzzle/guzzle": "~3.1.1",
@@ -93,5 +93,12 @@
"scripts": {
"post-install-cmd": "\"vendor/bin/phpcs\" --config-set installed_paths vendor/wimg/php-compatibility",
"post-update-cmd" : "\"vendor/bin/phpcs\" --config-set installed_paths vendor/wimg/php-compatibility"
},
"extra": {
"typo3/class-alias-loader": {
"class-alias-maps": [
"bootstrap/classaliasmap.php"
]
}
}
}

305
composer.lock generated
View File

@@ -4,7 +4,8 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
"content-hash": "09272e30ec880b324430ae1e42a4c5ae",
"hash": "047fd790a13c1ba76987614467ecec45",
"content-hash": "c118a4dc7a7e3cd273f394337e5fb835",
"packages": [
{
"name": "bshaffer/oauth2-server-php",
@@ -47,7 +48,7 @@
"oauth",
"oauth2"
],
"time": "2013-08-12T16:35:58+00:00"
"time": "2013-08-12 16:35:58"
},
{
"name": "colosa/MichelangeloFE",
@@ -145,7 +146,7 @@
"captcha",
"security"
],
"time": "2016-12-04T17:45:57+00:00"
"time": "2016-12-04 17:45:57"
},
{
"name": "doctrine/inflector",
@@ -212,7 +213,7 @@
"singularize",
"string"
],
"time": "2015-11-06T14:35:42+00:00"
"time": "2015-11-06 14:35:42"
},
{
"name": "erusev/parsedown",
@@ -254,7 +255,7 @@
"markdown",
"parser"
],
"time": "2017-05-14T14:47:48+00:00"
"time": "2017-05-14 14:47:48"
},
{
"name": "geshi/geshi",
@@ -337,7 +338,7 @@
"keywords": [
"google"
],
"time": "2015-10-16T22:11:08+00:00"
"time": "2015-10-16 22:11:08"
},
{
"name": "indeyets/pake",
@@ -403,7 +404,7 @@
"build",
"task"
],
"time": "2013-11-04T08:29:46+00:00"
"time": "2013-11-04 08:29:46"
},
{
"name": "laravel/framework",
@@ -532,7 +533,7 @@
"framework",
"laravel"
],
"time": "2017-08-14T20:17:41+00:00"
"time": "2017-08-14 20:17:41"
},
{
"name": "league/flysystem",
@@ -615,7 +616,7 @@
"sftp",
"storage"
],
"time": "2017-08-06T17:41:04+00:00"
"time": "2017-08-06 17:41:04"
},
{
"name": "libchart/libchart",
@@ -661,7 +662,7 @@
"line charts",
"pie charts"
],
"time": "2013-10-19T22:21:30+00:00"
"time": "2013-10-19 22:21:30"
},
{
"name": "luracast/restler",
@@ -740,7 +741,7 @@
"rest",
"server"
],
"time": "2017-01-11T03:42:36+00:00"
"time": "2017-01-11 03:42:36"
},
{
"name": "monolog/monolog",
@@ -818,7 +819,7 @@
"logging",
"psr-3"
],
"time": "2016-04-12T18:29:35+00:00"
"time": "2016-04-12 18:29:35"
},
{
"name": "mtdowling/cron-expression",
@@ -862,7 +863,7 @@
"cron",
"schedule"
],
"time": "2017-01-23T04:29:33+00:00"
"time": "2017-01-23 04:29:33"
},
{
"name": "nesbot/carbon",
@@ -915,7 +916,7 @@
"datetime",
"time"
],
"time": "2017-01-16T07:55:07+00:00"
"time": "2017-01-16 07:55:07"
},
{
"name": "paragonie/random_compat",
@@ -963,7 +964,7 @@
"pseudorandom",
"random"
],
"time": "2017-03-13T16:27:32+00:00"
"time": "2017-03-13 16:27:32"
},
{
"name": "pear/archive_tar",
@@ -1029,7 +1030,7 @@
"archive",
"tar"
],
"time": "2017-06-11T17:28:11+00:00"
"time": "2017-06-11 17:28:11"
},
{
"name": "pear/console_getopt",
@@ -1076,7 +1077,7 @@
}
],
"description": "More info available on: http://pear.php.net/package/Console_Getopt",
"time": "2015-07-20T20:28:12+00:00"
"time": "2015-07-20 20:28:12"
},
{
"name": "pear/pear-core-minimal",
@@ -1120,7 +1121,7 @@
}
],
"description": "Minimal set of PEAR core files to be used as composer dependency",
"time": "2017-02-28T16:46:11+00:00"
"time": "2017-02-28 16:46:11"
},
{
"name": "pear/pear_exception",
@@ -1175,7 +1176,7 @@
"keywords": [
"exception"
],
"time": "2015-02-10T20:07:52+00:00"
"time": "2015-02-10 20:07:52"
},
{
"name": "phpmailer/phpmailer",
@@ -1252,7 +1253,7 @@
}
],
"description": "PHPMailer is a full-featured email creation and transfer class for PHP",
"time": "2017-07-26T21:00:20+00:00"
"time": "2017-07-26 21:00:20"
},
{
"name": "psr/log",
@@ -1290,7 +1291,7 @@
"psr",
"psr-3"
],
"time": "2012-12-21T11:40:51+00:00"
"time": "2012-12-21 11:40:51"
},
{
"name": "ramsey/uuid",
@@ -1372,7 +1373,7 @@
"identifier",
"uuid"
],
"time": "2017-08-04T13:39:04+00:00"
"time": "2017-08-04 13:39:04"
},
{
"name": "swiftmailer/swiftmailer",
@@ -1426,7 +1427,7 @@
"mail",
"mailer"
],
"time": "2017-05-01T15:54:03+00:00"
"time": "2017-05-01 15:54:03"
},
{
"name": "symfony/console",
@@ -1495,7 +1496,7 @@
],
"description": "Symfony Console Component",
"homepage": "https://symfony.com",
"time": "2017-07-29T21:27:59+00:00"
"time": "2017-07-29 21:27:59"
},
{
"name": "symfony/css-selector",
@@ -1548,7 +1549,7 @@
],
"description": "Symfony CssSelector Component",
"homepage": "https://symfony.com",
"time": "2017-05-01T15:01:29+00:00"
"time": "2017-05-01 15:01:29"
},
{
"name": "symfony/debug",
@@ -1604,7 +1605,7 @@
],
"description": "Symfony Debug Component",
"homepage": "https://symfony.com",
"time": "2017-07-28T15:27:31+00:00"
"time": "2017-07-28 15:27:31"
},
{
"name": "symfony/event-dispatcher",
@@ -1667,7 +1668,7 @@
],
"description": "Symfony EventDispatcher Component",
"homepage": "https://symfony.com",
"time": "2017-06-09T14:53:08+00:00"
"time": "2017-06-09 14:53:08"
},
{
"name": "symfony/finder",
@@ -1716,7 +1717,7 @@
],
"description": "Symfony Finder Component",
"homepage": "https://symfony.com",
"time": "2017-06-01T21:01:25+00:00"
"time": "2017-06-01 21:01:25"
},
{
"name": "symfony/http-foundation",
@@ -1769,7 +1770,7 @@
],
"description": "Symfony HttpFoundation Component",
"homepage": "https://symfony.com",
"time": "2017-07-21T11:04:46+00:00"
"time": "2017-07-21 11:04:46"
},
{
"name": "symfony/http-kernel",
@@ -1855,7 +1856,7 @@
],
"description": "Symfony HttpKernel Component",
"homepage": "https://symfony.com",
"time": "2017-08-01T10:25:59+00:00"
"time": "2017-08-01 10:25:59"
},
{
"name": "symfony/polyfill-mbstring",
@@ -1914,7 +1915,7 @@
"portable",
"shim"
],
"time": "2017-06-14T15:44:48+00:00"
"time": "2017-06-14 15:44:48"
},
{
"name": "symfony/process",
@@ -1963,7 +1964,7 @@
],
"description": "Symfony Process Component",
"homepage": "https://symfony.com",
"time": "2017-07-13T13:05:09+00:00"
"time": "2017-07-13 13:05:09"
},
{
"name": "symfony/routing",
@@ -2041,7 +2042,7 @@
"uri",
"url"
],
"time": "2017-07-21T17:43:13+00:00"
"time": "2017-07-21 17:43:13"
},
{
"name": "symfony/translation",
@@ -2106,7 +2107,7 @@
],
"description": "Symfony Translation Component",
"homepage": "https://symfony.com",
"time": "2017-06-24T16:45:30+00:00"
"time": "2017-06-24 16:45:30"
},
{
"name": "symfony/var-dumper",
@@ -2174,69 +2175,7 @@
"debug",
"dump"
],
"time": "2017-07-28T06:06:09+00:00"
},
{
"name": "tecnickcom/tcpdf",
"version": "6.2.13",
"source": {
"type": "git",
"url": "https://github.com/tecnickcom/TCPDF.git",
"reference": "95c5938aafe4b20df1454dbddb3e5005c0b26f64"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/tecnickcom/TCPDF/zipball/95c5938aafe4b20df1454dbddb3e5005c0b26f64",
"reference": "95c5938aafe4b20df1454dbddb3e5005c0b26f64",
"shasum": ""
},
"require": {
"php": ">=5.3.0"
},
"type": "library",
"autoload": {
"classmap": [
"config",
"include",
"tcpdf.php",
"tcpdf_parser.php",
"tcpdf_import.php",
"tcpdf_barcodes_1d.php",
"tcpdf_barcodes_2d.php",
"include/tcpdf_colors.php",
"include/tcpdf_filters.php",
"include/tcpdf_font_data.php",
"include/tcpdf_fonts.php",
"include/tcpdf_images.php",
"include/tcpdf_static.php",
"include/barcodes/datamatrix.php",
"include/barcodes/pdf417.php",
"include/barcodes/qrcode.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"LGPLv3"
],
"authors": [
{
"name": "Nicola Asuni",
"email": "info@tecnick.com",
"homepage": "http://nicolaasuni.tecnick.com"
}
],
"description": "TCPDF is a PHP class for generating PDF documents and barcodes.",
"homepage": "http://www.tcpdf.org/",
"keywords": [
"PDFD32000-2008",
"TCPDF",
"barcodes",
"datamatrix",
"pdf",
"pdf417",
"qrcode"
],
"time": "2017-04-26T08:14:48+00:00"
"time": "2017-07-28 06:06:09"
},
{
"name": "tijsverkoyen/css-to-inline-styles",
@@ -2283,7 +2222,65 @@
],
"description": "CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.",
"homepage": "https://github.com/tijsverkoyen/CssToInlineStyles",
"time": "2016-09-20T12:50:39+00:00"
"time": "2016-09-20 12:50:39"
},
{
"name": "typo3/class-alias-loader",
"version": "1.0.0",
"source": {
"type": "git",
"url": "https://github.com/TYPO3/class-alias-loader.git",
"reference": "a9dd295c81ed0b51455644be420ab9210cad688f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/TYPO3/class-alias-loader/zipball/a9dd295c81ed0b51455644be420ab9210cad688f",
"reference": "a9dd295c81ed0b51455644be420ab9210cad688f",
"shasum": ""
},
"require": {
"composer-plugin-api": "^1.0",
"php": ">=5.3.7"
},
"replace": {
"helhum/class-alias-loader": "*"
},
"require-dev": {
"composer/composer": "dev-master",
"mikey179/vfsstream": "1.4.*@dev",
"phpunit/phpunit": "~4.7.0"
},
"type": "composer-plugin",
"extra": {
"class": "TYPO3\\ClassAliasLoader\\Plugin",
"branch-alias": {
"dev-master": "1.0.x-dev"
}
},
"autoload": {
"psr-4": {
"TYPO3\\ClassAliasLoader\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Helmut Hummel",
"email": "info@helhum.io"
}
],
"description": "Amends the composer class loader to support class aliases to provide backwards compatibility for packages",
"homepage": "http://github.com/TYPO3/class-alias-loader",
"keywords": [
"alias",
"autoloader",
"classloader",
"composer"
],
"time": "2015-10-06 10:25:44"
},
{
"name": "vlucas/phpdotenv",
@@ -2333,7 +2330,7 @@
"env",
"environment"
],
"time": "2016-09-01T10:05:43+00:00"
"time": "2016-09-01 10:05:43"
}
],
"packages-dev": [
@@ -2390,7 +2387,7 @@
"assertion",
"validation"
],
"time": "2017-05-04T02:00:24+00:00"
"time": "2017-05-04 02:00:24"
},
{
"name": "behat/behat",
@@ -2472,7 +2469,7 @@
"symfony",
"testing"
],
"time": "2017-05-15T16:49:16+00:00"
"time": "2017-05-15 16:49:16"
},
{
"name": "behat/gherkin",
@@ -2531,7 +2528,7 @@
"gherkin",
"parser"
],
"time": "2016-10-30T11:50:56+00:00"
"time": "2016-10-30 11:50:56"
},
{
"name": "behat/mink",
@@ -2589,7 +2586,7 @@
"testing",
"web"
],
"time": "2016-03-05T08:26:18+00:00"
"time": "2016-03-05 08:26:18"
},
{
"name": "behat/mink-selenium2-driver",
@@ -2650,7 +2647,7 @@
"testing",
"webdriver"
],
"time": "2016-03-05T09:10:18+00:00"
"time": "2016-03-05 09:10:18"
},
{
"name": "behat/transliterator",
@@ -2694,7 +2691,7 @@
"slug",
"transliterator"
],
"time": "2017-04-04T11:38:05+00:00"
"time": "2017-04-04 11:38:05"
},
{
"name": "clue/graph",
@@ -2739,7 +2736,7 @@
"network",
"vertex"
],
"time": "2015-03-07T18:11:31+00:00"
"time": "2015-03-07 18:11:31"
},
{
"name": "container-interop/container-interop",
@@ -2770,7 +2767,7 @@
],
"description": "Promoting the interoperability of container objects (DIC, SL, etc.)",
"homepage": "https://github.com/container-interop/container-interop",
"time": "2017-02-14T19:40:03+00:00"
"time": "2017-02-14 19:40:03"
},
{
"name": "doctrine/instantiator",
@@ -2824,7 +2821,7 @@
"constructor",
"instantiate"
],
"time": "2015-06-14T21:17:01+00:00"
"time": "2015-06-14 21:17:01"
},
{
"name": "facebook/webdriver",
@@ -2876,7 +2873,7 @@
"selenium",
"webdriver"
],
"time": "2017-04-28T14:54:49+00:00"
"time": "2017-04-28 14:54:49"
},
{
"name": "florianwolters/component-core-stringutils",
@@ -2921,7 +2918,7 @@
"string",
"wrapper"
],
"time": "2013-07-01T10:24:07+00:00"
"time": "2013-07-01 10:24:07"
},
{
"name": "florianwolters/component-util-reflection",
@@ -2965,7 +2962,7 @@
"reflection",
"utility"
],
"time": "2013-03-19T16:42:41+00:00"
"time": "2013-03-19 16:42:41"
},
{
"name": "florianwolters/component-util-singleton",
@@ -3016,7 +3013,7 @@
"singleton",
"utility"
],
"time": "2013-06-29T12:35:22+00:00"
"time": "2013-06-29 12:35:22"
},
{
"name": "graphp/algorithms",
@@ -3066,7 +3063,7 @@
"prim",
"shortest path"
],
"time": "2015-03-08T10:12:01+00:00"
"time": "2015-03-08 10:12:01"
},
{
"name": "guzzle/guzzle",
@@ -3159,7 +3156,7 @@
"web service"
],
"abandoned": "guzzlehttp/guzzle",
"time": "2013-01-28T00:07:40+00:00"
"time": "2013-01-28 00:07:40"
},
{
"name": "instaclick/php-webdriver",
@@ -3218,7 +3215,7 @@
"webdriver",
"webtest"
],
"time": "2017-06-30T04:02:48+00:00"
"time": "2017-06-30 04:02:48"
},
{
"name": "lmc/steward",
@@ -3293,7 +3290,7 @@
"testing",
"webdriver"
],
"time": "2017-06-05T23:56:28+00:00"
"time": "2017-06-05 23:56:28"
},
{
"name": "myclabs/deep-copy",
@@ -3335,7 +3332,7 @@
"object",
"object graph"
],
"time": "2017-04-12T18:52:22+00:00"
"time": "2017-04-12 18:52:22"
},
{
"name": "nette/caching",
@@ -3397,7 +3394,7 @@
],
"description": "Nette Caching Component",
"homepage": "https://nette.org",
"time": "2017-07-11T16:41:08+00:00"
"time": "2017-07-11 16:41:08"
},
{
"name": "nette/finder",
@@ -3453,7 +3450,7 @@
],
"description": "Nette Finder: Files Searching",
"homepage": "https://nette.org",
"time": "2017-07-10T23:47:08+00:00"
"time": "2017-07-10 23:47:08"
},
{
"name": "nette/reflection",
@@ -3517,7 +3514,7 @@
"nette",
"reflection"
],
"time": "2017-07-11T19:28:57+00:00"
"time": "2017-07-11 19:28:57"
},
{
"name": "nette/utils",
@@ -3580,7 +3577,7 @@
],
"description": "Nette Utility Classes",
"homepage": "https://nette.org",
"time": "2017-07-11T19:25:29+00:00"
"time": "2017-07-11 19:25:29"
},
{
"name": "ondram/ci-detector",
@@ -3633,7 +3630,7 @@
"teamcity",
"travis"
],
"time": "2017-05-26T16:39:57+00:00"
"time": "2017-05-26 16:39:57"
},
{
"name": "phpdocumentor/reflection-common",
@@ -3687,7 +3684,7 @@
"reflection",
"static analysis"
],
"time": "2015-12-27T11:43:31+00:00"
"time": "2015-12-27 11:43:31"
},
{
"name": "phpdocumentor/reflection-docblock",
@@ -3732,7 +3729,7 @@
}
],
"description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
"time": "2017-08-08T06:39:58+00:00"
"time": "2017-08-08 06:39:58"
},
{
"name": "phpdocumentor/type-resolver",
@@ -3779,7 +3776,7 @@
"email": "me@mikevanriel.com"
}
],
"time": "2017-06-03T08:32:36+00:00"
"time": "2017-06-03 08:32:36"
},
{
"name": "phpspec/prophecy",
@@ -3842,7 +3839,7 @@
"spy",
"stub"
],
"time": "2017-03-02T20:05:34+00:00"
"time": "2017-03-02 20:05:34"
},
{
"name": "phpunit/php-code-coverage",
@@ -3905,7 +3902,7 @@
"testing",
"xunit"
],
"time": "2017-04-02T07:44:40+00:00"
"time": "2017-04-02 07:44:40"
},
{
"name": "phpunit/php-file-iterator",
@@ -3952,7 +3949,7 @@
"filesystem",
"iterator"
],
"time": "2016-10-03T07:40:28+00:00"
"time": "2016-10-03 07:40:28"
},
{
"name": "phpunit/php-text-template",
@@ -3993,7 +3990,7 @@
"keywords": [
"template"
],
"time": "2015-06-21T13:50:34+00:00"
"time": "2015-06-21 13:50:34"
},
{
"name": "phpunit/php-timer",
@@ -4042,7 +4039,7 @@
"keywords": [
"timer"
],
"time": "2017-02-26T11:10:40+00:00"
"time": "2017-02-26 11:10:40"
},
{
"name": "phpunit/php-token-stream",
@@ -4091,7 +4088,7 @@
"keywords": [
"tokenizer"
],
"time": "2017-02-27T10:12:30+00:00"
"time": "2017-02-27 10:12:30"
},
{
"name": "phpunit/phpunit",
@@ -4173,7 +4170,7 @@
"testing",
"xunit"
],
"time": "2017-06-21T08:11:54+00:00"
"time": "2017-06-21 08:11:54"
},
{
"name": "phpunit/phpunit-mock-objects",
@@ -4232,7 +4229,7 @@
"mock",
"xunit"
],
"time": "2017-06-30T09:13:00+00:00"
"time": "2017-06-30 09:13:00"
},
{
"name": "psr/container",
@@ -4281,7 +4278,7 @@
"container-interop",
"psr"
],
"time": "2017-02-14T16:28:37+00:00"
"time": "2017-02-14 16:28:37"
},
{
"name": "sebastian/code-unit-reverse-lookup",
@@ -4326,7 +4323,7 @@
],
"description": "Looks up which function or method a line of code belongs to",
"homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/",
"time": "2017-03-04T06:30:41+00:00"
"time": "2017-03-04 06:30:41"
},
{
"name": "sebastian/comparator",
@@ -4390,7 +4387,7 @@
"compare",
"equality"
],
"time": "2017-01-29T09:50:25+00:00"
"time": "2017-01-29 09:50:25"
},
{
"name": "sebastian/diff",
@@ -4442,7 +4439,7 @@
"keywords": [
"diff"
],
"time": "2017-05-22T07:24:03+00:00"
"time": "2017-05-22 07:24:03"
},
{
"name": "sebastian/environment",
@@ -4492,7 +4489,7 @@
"environment",
"hhvm"
],
"time": "2016-11-26T07:53:53+00:00"
"time": "2016-11-26 07:53:53"
},
{
"name": "sebastian/exporter",
@@ -4559,7 +4556,7 @@
"export",
"exporter"
],
"time": "2016-11-19T08:54:04+00:00"
"time": "2016-11-19 08:54:04"
},
{
"name": "sebastian/global-state",
@@ -4610,7 +4607,7 @@
"keywords": [
"global state"
],
"time": "2015-10-12T03:26:01+00:00"
"time": "2015-10-12 03:26:01"
},
{
"name": "sebastian/object-enumerator",
@@ -4656,7 +4653,7 @@
],
"description": "Traverses array structures and object graphs to enumerate all referenced objects",
"homepage": "https://github.com/sebastianbergmann/object-enumerator/",
"time": "2017-02-18T15:18:39+00:00"
"time": "2017-02-18 15:18:39"
},
{
"name": "sebastian/recursion-context",
@@ -4709,7 +4706,7 @@
],
"description": "Provides functionality to recursively process PHP variables",
"homepage": "http://www.github.com/sebastianbergmann/recursion-context",
"time": "2016-11-19T07:33:16+00:00"
"time": "2016-11-19 07:33:16"
},
{
"name": "sebastian/resource-operations",
@@ -4751,7 +4748,7 @@
],
"description": "Provides a list of PHP built-in functions that operate on resources",
"homepage": "https://www.github.com/sebastianbergmann/resource-operations",
"time": "2015-07-28T20:34:47+00:00"
"time": "2015-07-28 20:34:47"
},
{
"name": "sebastian/version",
@@ -4794,7 +4791,7 @@
],
"description": "Library that helps with managing the version number of Git-hosted PHP projects",
"homepage": "https://github.com/sebastianbergmann/version",
"time": "2016-10-03T07:35:21+00:00"
"time": "2016-10-03 07:35:21"
},
{
"name": "squizlabs/php_codesniffer",
@@ -4845,7 +4842,7 @@
"phpcs",
"standards"
],
"time": "2017-07-18T01:12:32+00:00"
"time": "2017-07-18 01:12:32"
},
{
"name": "symfony/class-loader",
@@ -4901,7 +4898,7 @@
],
"description": "Symfony ClassLoader Component",
"homepage": "https://symfony.com",
"time": "2017-06-02T09:51:43+00:00"
"time": "2017-06-02 09:51:43"
},
{
"name": "symfony/config",
@@ -4963,7 +4960,7 @@
],
"description": "Symfony Config Component",
"homepage": "https://symfony.com",
"time": "2017-07-19T07:37:29+00:00"
"time": "2017-07-19 07:37:29"
},
{
"name": "symfony/dependency-injection",
@@ -5033,7 +5030,7 @@
],
"description": "Symfony DependencyInjection Component",
"homepage": "https://symfony.com",
"time": "2017-07-28T15:27:31+00:00"
"time": "2017-07-28 15:27:31"
},
{
"name": "symfony/filesystem",
@@ -5082,7 +5079,7 @@
],
"description": "Symfony Filesystem Component",
"homepage": "https://symfony.com",
"time": "2017-07-11T07:17:58+00:00"
"time": "2017-07-11 07:17:58"
},
{
"name": "symfony/options-resolver",
@@ -5136,7 +5133,7 @@
"configuration",
"options"
],
"time": "2017-04-12T14:14:56+00:00"
"time": "2017-04-12 14:14:56"
},
{
"name": "symfony/stopwatch",
@@ -5185,7 +5182,7 @@
],
"description": "Symfony Stopwatch Component",
"homepage": "https://symfony.com",
"time": "2017-04-12T14:14:56+00:00"
"time": "2017-04-12 14:14:56"
},
{
"name": "symfony/yaml",
@@ -5240,7 +5237,7 @@
],
"description": "Symfony Yaml Component",
"homepage": "https://symfony.com",
"time": "2017-07-23T12:43:26+00:00"
"time": "2017-07-23 12:43:26"
},
{
"name": "webmozart/assert",
@@ -5290,7 +5287,7 @@
"check",
"validate"
],
"time": "2016-11-23T20:04:58+00:00"
"time": "2016-11-23 20:04:58"
},
{
"name": "wimg/php-compatibility",
@@ -5342,7 +5339,7 @@
"phpcs",
"standards"
],
"time": "2017-08-07T19:39:05+00:00"
"time": "2017-08-07 19:39:05"
}
],
"aliases": [],

View File

@@ -113,6 +113,32 @@ class Common
return $result;
}
/**
* Maintained for compatibility reasons with the plugin DataReportingTool
* @deprecated 3.2.2, by backward compatibility because it is used in plugins enterprise
*
*/
public static function getLastVersion($pattern, $flag = 0)
{
$files = glob($pattern, $flag);
$maxVersion = 0;
$pattern = str_replace("*", '([0-9\.]+)', basename($pattern));
foreach ($files as $file) {
$filename = basename($file);
if (preg_match('/'.$pattern.'/', $filename, $match)) {
if ($maxVersion < $match[1]) {
$maxVersion = $match[1];
}
}
}
return $maxVersion;
}
public static function mk_dir($strPath, $rights = 0777)
{
$folder_path = array($strPath);

View File

@@ -2,6 +2,7 @@
namespace Maveriks;
use Bootstrap;
use Maveriks\Util;
use ProcessMaker\Core\System;
use ProcessMaker\Plugins\PluginRegistry;
@@ -485,10 +486,11 @@ class WebApplication
// Change storage path
app()->useStoragePath(realpath(PATH_DATA));
app()->make(Kernel::class)->bootstrap();
error_reporting(error_reporting() & ~E_STRICT & ~E_DEPRECATED);
\Bootstrap::setLanguage();
Bootstrap::setLanguage();
\Bootstrap::LoadTranslationObject((defined("SYS_LANG")) ? SYS_LANG : "en");
Bootstrap::LoadTranslationObject((defined("SYS_LANG")) ? SYS_LANG : "en");
if (empty($workspace)) {
return true;
@@ -585,6 +587,11 @@ class WebApplication
define('TIME_ZONE', ini_get('date.timezone'));
$oPluginRegistry = PluginRegistry::loadSingleton();
$attributes = $oPluginRegistry->getAttributes();
Bootstrap::LoadTranslationPlugins(defined('SYS_LANG') ? SYS_LANG : "en", $attributes);
// Initialization functions plugins
$oPluginRegistry->init();
//Return
return true;
}

View File

@@ -694,7 +694,7 @@ class Bootstrap
// Include also the extendGulliverClass that could have some
// new definitions for fields
if (file_exists($possiblePath . 'classes' . PATH_SEP . 'class.extendGulliver.php')) {
include_once $possiblePath . 'classes' . PATH_SEP . 'class.extendGulliver.php';
}
}
}

View File

@@ -6,7 +6,6 @@ use Illuminate\Foundation\Console\Kernel;
require_once __DIR__ . '/gulliver/system/class.g.php';
require_once __DIR__ . '/bootstrap/autoload.php';
require_once __DIR__ . '/bootstrap/app.php';
$app->make(Kernel::class)->bootstrap();
$scriptDir = dirname(__FILE__).'/';

View File

@@ -215,7 +215,6 @@ class Roles extends BaseRoles {
function createRole($aData) {
$con = Propel::getConnection(RolesPeer::DATABASE_NAME);
try {
$con->begin();
$sRolCode = $aData['ROL_CODE'];
$sRolSystem = $aData['ROL_SYSTEM'];
$status = $fields['ROL_STATUS'] = 1 ? 'ACTIVE' : 'INACTIVE';
@@ -239,6 +238,7 @@ class Roles extends BaseRoles {
$obj = new Roles();
$obj->fromArray($aData, BasePeer::TYPE_FIELDNAME);
if ($obj->validate()) {
$con->begin();
$result = $obj->save();
$con->commit();
$obj->setRolName($rol_name);

View File

@@ -1,7 +1,6 @@
<?php
require_once "HTTP/WebDAV/Server.php";
require_once "System.php";
/**
* Filesystem access using WebDAV
@@ -479,7 +478,7 @@
if (is_dir($path)) {
$query = "DELETE FROM properties WHERE path LIKE '".$this->_slashify($options["path"])."%'";
mysql_query($query);
System::rm("-rf $path");
PearSystem::rm("-rf $path");
} else {
unlink ($path);
}
@@ -577,7 +576,7 @@
mysql_query($query);
} else {
if (is_dir($source)) {
$files = System::find($source);
$files = PearSystem::find($source);
$files = array_reverse($files);
} else {
$files = array($source);

View File

@@ -159,8 +159,8 @@ class OS_Guess
{
// Use glibc's <features.h> header file to
// get major and minor version number:
include_once "System.php";
$tmpfile = System::mktemp("glibctest");
include_once "PearSystem.php";
$tmpfile = PearSystem::mktemp("glibctest");
$fp = fopen($tmpfile, "w");
fwrite($fp, "#include <features.h>\n__GLIBC__ __GLIBC_MINOR__\n");
fclose($fp);

View File

@@ -245,9 +245,9 @@ class PEAR_Builder extends PEAR_Common
$build_dir = "$build_basedir/$info[package]-$info[version]";
$this->log(1, "building in $build_dir");
if (is_dir($build_dir)) {
System::rm("-rf $build_dir");
PearSystem::rm("-rf $build_dir");
}
if (!System::mkDir("-p $build_dir")) {
if (!PearSystem::mkDir("-p $build_dir")) {
return $this->raiseError("could not create build dir: $build_dir");
}
$this->addTempFile($build_dir);

View File

@@ -531,9 +531,9 @@ Wrote: /usr/src/redhat/RPMS/i386/PEAR::Net_Socket-1.0-1.i386.rpm
return $this->raiseError($info);
}
include_once "Archive/Tar.php";
include_once "System.php";
include_once "PearSystem.php";
$tar = new Archive_Tar($params[0]);
$tmpdir = System::mktemp('-d pearsign');
$tmpdir = PearSystem::mktemp('-d pearsign');
if (!$tar->extractList('package.xml package.sig', $tmpdir)) {
return $this->raiseError("failed to extract tar file");
}
@@ -569,10 +569,10 @@ Wrote: /usr/src/redhat/RPMS/i386/PEAR::Net_Socket-1.0-1.i386.rpm
}
include_once "Archive/Tar.php";
include_once "PEAR/Installer.php";
include_once "System.php";
include_once "PearSystem.php";
$tar = new Archive_Tar($params[0]);
$tmpdir = System::mktemp('-d pear2rpm');
$instroot = System::mktemp('-d pear2rpm');
$tmpdir = PearSystem::mktemp('-d pear2rpm');
$instroot = PearSystem::mktemp('-d pear2rpm');
$tmp = $this->config->get('verbose');
$this->config->set('verbose', 0);
$installer = new PEAR_Installer($this->ui);
@@ -592,10 +592,7 @@ Wrote: /usr/src/redhat/RPMS/i386/PEAR::Net_Socket-1.0-1.i386.rpm
if (!file_exists("$tmpdir/package.xml")) {
return $this->raiseError("no package.xml found in $params[0]");
}
// System::mkdir("-p $instroot$info[rpm_xml_dir]");
// if (!@copy("$tmpdir/package.xml", "$instroot$info[rpm_xml_dir]/$info[package].xml")) {
// return $this->raiseError("could not copy package.xml file: $php_errormsg");
// }
if (isset($options['spec-template'])) {
$spec_template = $options['spec-template'];
} else {

View File

@@ -21,7 +21,6 @@
require_once 'PEAR.php';
require_once 'Archive/Tar.php';
require_once 'System.php';
require_once 'PEAR/Config.php';
// {{{ constants and globals
@@ -156,7 +155,7 @@ class PEAR_Common extends PEAR
$tempfiles =& $GLOBALS['_PEAR_Common_tempfiles'];
while ($file = array_shift($tempfiles)) {
if (@is_dir($file)) {
System::rm("-rf $file");
PearSystem::rm("-rf $file");
} elseif (file_exists($file)) {
unlink($file);
}
@@ -186,7 +185,7 @@ class PEAR_Common extends PEAR
// {{{ mkDirHier()
/**
* Wrapper to System::mkDir(), creates a directory as well as
* Wrapper to PearSystem::mkDir(), creates a directory as well as
* any necessary parent directories.
*
* @param string $dir directory name
@@ -198,7 +197,7 @@ class PEAR_Common extends PEAR
function mkDirHier($dir)
{
$this->log(2, "+ create dir $dir");
return System::mkDir("-p $dir");
return PearSystem::mkDir("-p $dir");
}
// }}}
@@ -246,7 +245,7 @@ class PEAR_Common extends PEAR
} else {
$topt = '';
}
if (!$tmpdir = System::mktemp($topt . '-d pear')) {
if (!$tmpdir = PearSystem::mktemp($topt . '-d pear')) {
return false;
}
$this->addTempFile($tmpdir);
@@ -686,7 +685,7 @@ class PEAR_Common extends PEAR
break;
}
}
$tmpdir = System::mkTemp('-d pear');
$tmpdir = PearSystem::mkTemp('-d pear');
$this->addTempFile($tmpdir);
if (!$xml || !$tar->extractList($xml, $tmpdir)) {
return $this->raiseError('could not extract the package.xml file');

View File

@@ -19,7 +19,6 @@
// $Id: Config.php,v 1.43 2003/03/18 12:06:06 ssb Exp $
require_once 'PEAR.php';
require_once 'System.php';
/**
* Last created PEAR_Config instance.
@@ -112,7 +111,7 @@ if (getenv('PHP_PEAR_CACHE_DIR')) {
define('PEAR_CONFIG_DEFAULT_CACHE_DIR', getenv('PHP_PEAR_CACHE_DIR'));
} else {
define('PEAR_CONFIG_DEFAULT_CACHE_DIR',
System::tmpdir() . DIRECTORY_SEPARATOR . 'pear' .
PearSystem::tmpdir() . DIRECTORY_SEPARATOR . 'pear' .
DIRECTORY_SEPARATOR . 'cache');
}
@@ -164,7 +163,7 @@ if (getenv('PHP_PEAR_SIG_BIN')) {
define('PEAR_CONFIG_DEFAULT_SIG_BIN', getenv('PHP_PEAR_SIG_BIN'));
} else {
define('PEAR_CONFIG_DEFAULT_SIG_BIN',
System::which(
PearSystem::which(
'gpg', OS_WINDOWS ? 'c:\gnupg\gpg.exe' : '/usr/local/bin/gpg'));
}
@@ -564,7 +563,7 @@ class PEAR_Config extends PEAR
}
$data = $this->configuration[$layer];
$this->_encodeOutput($data);
if (!@System::mkDir("-p " . dirname($file))) {
if (!@PearSystem::mkDir("-p " . dirname($file))) {
return $this->raiseError("could not create directory: " . dirname($file));
}
if (@is_file($file) && !@is_writeable($file)) {

View File

@@ -22,7 +22,6 @@
require_once 'PEAR/Common.php';
require_once 'PEAR/Registry.php';
require_once 'PEAR/Dependency.php';
require_once 'System.php';
define('PEAR_INSTALLER_OK', 1);
define('PEAR_INSTALLER_FAILED', 0);
@@ -534,7 +533,7 @@ class PEAR_Installer extends PEAR_Common
if ($need_download) {
$downloaddir = $this->config->get('download_dir');
if (empty($downloaddir)) {
if (PEAR::isError($downloaddir = System::mktemp('-d'))) {
if (PEAR::isError($downloaddir = PearSystem::mktemp('-d'))) {
return $downloaddir;
}
$this->log(2, '+ tmp dir created at ' . $downloaddir);
@@ -559,7 +558,7 @@ class PEAR_Installer extends PEAR_Common
chdir($oldcwd);
}
if (PEAR::isError($tmpdir = System::mktemp('-d'))) {
if (PEAR::isError($tmpdir = PearSystem::mktemp('-d'))) {
return $tmpdir;
}
$this->log(2, '+ tmp dir created at ' . $tmpdir);

View File

@@ -20,7 +20,6 @@
// $Id: Packager.php,v 1.46 2003/03/18 12:06:06 ssb Exp $
require_once 'PEAR/Common.php';
require_once 'System.php';
/**
* Administration class used to make a PEAR release tarball.
@@ -116,7 +115,7 @@ class PEAR_Packager extends PEAR_Common
chdir($oldcwd);
return $this->raiseError($new_xml);
}
if (!($tmpdir = System::mktemp('-t '.getcwd().' -d'))) {
if (!($tmpdir = PearSystem::mktemp('-t '.getcwd().' -d'))) {
chdir($oldcwd);
return $this->raiseError("PEAR_Packager: mktemp failed");
}

View File

@@ -26,7 +26,6 @@ TODO:
- Add application level lock (avoid change the registry from the cmdline
while using the GTK interface, for ex.)
*/
require_once "System.php";
require_once "PEAR.php";
define('PEAR_REGISTRY_ERROR_LOCK', -2);

View File

@@ -56,7 +56,7 @@ class PEAR_Remote extends PEAR
$id = $this->encryptOld(serialize($args));
$cachedir = $this->config->get('cache_dir');
if (!file_exists($cachedir)) {
System::mkdir('-p '.$cachedir);
PearSystem::mkdir('-p '.$cachedir);
}
$filename = $cachedir . DIRECTORY_SEPARATOR . 'xmlrpc_cache_' . $id;
if (!file_exists($filename)) {
@@ -86,7 +86,7 @@ class PEAR_Remote extends PEAR
$id = $this->encryptOld(serialize($args));
$cachedir = $this->config->get('cache_dir');
if (!file_exists($cachedir)) {
System::mkdir('-p '.$cachedir);
PearSystem::mkdir('-p '.$cachedir);
}
$filename = $cachedir.'/xmlrpc_cache_'.$id;

View File

@@ -37,14 +37,14 @@ $GLOBALS['_System_temp_files'] = array();
* http://pear.php.net/manual/
*
* Example usage:
* if (!@System::rm('-r file1 dir1')) {
* if (!@PearSystem::rm('-r file1 dir1')) {
* print "could not delete file1 or dir1";
* }
*
* In case you need to to pass file names with spaces,
* pass the params as an array:
*
* System::rm(array('-r', $file1, $dir1));
* PearSystem::rm(array('-r', $file1, $dir1));
*
* @package System
* @author Tomas V.V.Cox <cox@idecnet.com>
@@ -52,7 +52,7 @@ $GLOBALS['_System_temp_files'] = array();
* @access public
* @see http://pear.php.net/manual/
*/
class System
class PearSystem
{
/**
* returns the commandline arguments of a function
@@ -73,7 +73,7 @@ class System
/**
* Output errors with PHP trigger_error(). You can silence the errors
* with prefixing a "@" sign to the function call: @System::mkdir(..);
* with prefixing a "@" sign to the function call: @PearSystem::mkdir(..);
*
* @param mixed $error a PEAR error or a string with the error message
* @return bool false
@@ -91,7 +91,7 @@ class System
/**
* Creates a nested array representing the structure of a directory
*
* System::_dirToStruct('dir1', 0) =>
* PearSystem::_dirToStruct('dir1', 0) =>
* Array
* (
* [dirs] => Array
@@ -116,7 +116,7 @@ class System
{
$struct = array('dirs' => array(), 'files' => array());
if (($dir = @opendir($sPath)) === false) {
System::raiseError("Could not open dir $sPath");
PearSystem::raiseError("Could not open dir $sPath");
return $struct; // XXX could not open error
}
$struct['dirs'][] = $sPath; // XXX don't add if '.' or '..' ?
@@ -132,7 +132,7 @@ class System
foreach($list as $val) {
$path = $sPath . DIRECTORY_SEPARATOR . $val;
if (is_dir($path)) {
$tmp = System::_dirToStruct($path, $maxinst, $aktinst+1);
$tmp = PearSystem::_dirToStruct($path, $maxinst, $aktinst+1);
$struct = array_merge_recursive($tmp, $struct);
} else {
$struct['files'][] = $path;
@@ -147,7 +147,7 @@ class System
*
* @param array $files Array listing files and dirs
* @return array
* @see System::_dirToStruct()
* @see PearSystem::_dirToStruct()
*/
function _multipleToStruct($files)
{
@@ -155,7 +155,7 @@ class System
settype($files, 'array');
foreach ($files as $file) {
if (is_dir($file)) {
$tmp = System::_dirToStruct($file, 0);
$tmp = PearSystem::_dirToStruct($file, 0);
$struct = array_merge_recursive($tmp, $struct);
} else {
$struct['files'][] = $file;
@@ -174,9 +174,9 @@ class System
*/
function rm($args)
{
$opts = System::_parseArgs($args, 'rf'); // "f" do nothing but like it :-)
$opts = PearSystem::_parseArgs($args, 'rf'); // "f" do nothing but like it :-)
if (PEAR::isError($opts)) {
return System::raiseError($opts);
return PearSystem::raiseError($opts);
}
foreach($opts[0] as $opt) {
if ($opt[0] == 'r') {
@@ -185,7 +185,7 @@ class System
}
$ret = true;
if (isset($do_recursive)) {
$struct = System::_multipleToStruct($opts[1]);
$struct = PearSystem::_multipleToStruct($opts[1]);
foreach($struct['files'] as $file) {
if (!@unlink($file)) {
$ret = false;
@@ -209,7 +209,7 @@ class System
/**
* Make directories. Note that we use call_user_func('mkdir') to avoid
* a problem with ZE2 calling System::mkDir instead of the native PHP func.
* a problem with ZE2 calling PearSystem::mkDir instead of the native PHP func.
*
* @param string $args the name of the director(y|ies) to create
* @return bool True for success
@@ -217,9 +217,9 @@ class System
*/
function mkDir($args)
{
$opts = System::_parseArgs($args, 'pm:');
$opts = PearSystem::_parseArgs($args, 'pm:');
if (PEAR::isError($opts)) {
return System::raiseError($opts);
return PearSystem::raiseError($opts);
}
$mode = 0777; // default mode
foreach($opts[0] as $opt) {
@@ -265,9 +265,9 @@ class System
* Concatenate files
*
* Usage:
* 1) $var = System::cat('sample.txt test.txt');
* 2) System::cat('sample.txt test.txt > final.txt');
* 3) System::cat('sample.txt test.txt >> final.txt');
* 1) $var = PearSystem::cat('sample.txt test.txt');
* 2) PearSystem::cat('sample.txt test.txt > final.txt');
* 3) PearSystem::cat('sample.txt test.txt >> final.txt');
*
* Note: as the class use fopen, urls should work also (test that)
*
@@ -297,14 +297,14 @@ class System
}
if (isset($mode)) {
if (!$outputfd = fopen($outputfile, $mode)) {
$err = System::raiseError("Could not open $outputfile");
$err = PearSystem::raiseError("Could not open $outputfile");
return $err;
}
$ret = true;
}
foreach ($files as $file) {
if (!$fd = fopen($file, 'r')) {
System::raiseError("Could not open $file");
PearSystem::raiseError("Could not open $file");
continue;
}
while ($cont = fread($fd, 2048)) {
@@ -327,10 +327,10 @@ class System
* the created files when the scripts finish its execution.
*
* Usage:
* 1) $tempfile = System::mktemp("prefix");
* 2) $tempdir = System::mktemp("-d prefix");
* 3) $tempfile = System::mktemp();
* 4) $tempfile = System::mktemp("-t /var/tmp prefix");
* 1) $tempfile = PearSystem::mktemp("prefix");
* 2) $tempdir = PearSystem::mktemp("-d prefix");
* 3) $tempfile = PearSystem::mktemp();
* 4) $tempfile = PearSystem::mktemp("-t /var/tmp prefix");
*
* prefix -> The string that will be prepended to the temp name
* (defaults to "tmp").
@@ -342,15 +342,15 @@ class System
*
* @param string $args The arguments
* @return mixed the full path of the created (file|dir) or false
* @see System::tmpdir()
* @see PearSystem::tmpdir()
* @access public
*/
function mktemp($args = null)
{
static $first_time = true;
$opts = System::_parseArgs($args, 't:d');
$opts = PearSystem::_parseArgs($args, 't:d');
if (PEAR::isError($opts)) {
return System::raiseError($opts);
return PearSystem::raiseError($opts);
}
foreach($opts[0] as $opt) {
if($opt[0] == 'd') {
@@ -361,16 +361,16 @@ class System
}
$prefix = (isset($opts[1][0])) ? $opts[1][0] : 'tmp';
if (!isset($tmpdir)) {
$tmpdir = System::tmpdir();
$tmpdir = PearSystem::tmpdir();
}
if (!System::mkDir("-p $tmpdir")) {
if (!PearSystem::mkDir("-p $tmpdir")) {
return false;
}
$tmp = tempnam($tmpdir, $prefix);
if (isset($tmp_is_dir)) {
unlink($tmp); // be careful possible race condition here
if (!call_user_func('mkdir', $tmp, 0700)) {
return System::raiseError("Unable to create temporary directory $tmpdir");
return PearSystem::raiseError("Unable to create temporary directory $tmpdir");
}
}
$GLOBALS['_System_temp_files'][] = $tmp;
@@ -392,7 +392,7 @@ class System
if (count($GLOBALS['_System_temp_files'])) {
$delete = $GLOBALS['_System_temp_files'];
array_unshift($delete, '-r');
System::rm($delete);
PearSystem::rm($delete);
}
}
@@ -465,12 +465,12 @@ class System
*
* Usage:
*
* System::find($dir);
* System::find("$dir -type d");
* System::find("$dir -type f");
* System::find("$dir -name *.php");
* System::find("$dir -name *.php -name *.htm*");
* System::find("$dir -maxdepth 1");
* PearSystem::find($dir);
* PearSystem::find("$dir -type d");
* PearSystem::find("$dir -type f");
* PearSystem::find("$dir -name *.php");
* PearSystem::find("$dir -name *.php -name *.htm*");
* PearSystem::find("$dir -maxdepth 1");
*
* Params implmented:
* $dir -> Start the search at this directory
@@ -516,7 +516,7 @@ class System
break;
}
}
$path = System::_dirToStruct($dir, $depth);
$path = PearSystem::_dirToStruct($dir, $depth);
if ($do_files && $do_dirs) {
$files = array_merge($path['files'], $path['dirs']);
} elseif ($do_dirs) {

View File

@@ -138,7 +138,7 @@ PEAR INSTALLER:
* PEAR_Config class uses getenv() rather than $_ENV
to read environment variables.
* System::which() Windows fix, now looks for
* PearSystem::which() Windows fix, now looks for
exe/bat/cmd/com suffixes rather than just exe
* Added "pear cvsdiff" command
@@ -237,7 +237,7 @@ Bugfixes, Installer:
New Features, PEAR Library:
* added PEAR::loadExtension($ext)
* added PEAR::delExpect()
* System::mkTemp() now cleans up at shutdown
* PearSystem::mkTemp() now cleans up at shutdown
* defined PEAR_ZE2 constant (boolean)
* added PEAR::throwError() with a simpler API
than raiseError()

View File

@@ -417,7 +417,7 @@ class PropelSQLExec extends TaskPhing {
$this->conn->rollback();
} catch (SQLException $ex) {
// do nothing.
System::println("Rollback failed.");
PearSystem::println("Rollback failed.");
}
}
if ($this->statement) $this->statement->close();
@@ -428,7 +428,7 @@ class PropelSQLExec extends TaskPhing {
$this->conn->rollback();
} catch (SQLException $ex) {
// do nothing.
System::println("Rollback failed");
PearSystem::println("Rollback failed");
}
}
if ($this->statement) $this->statement->close();
@@ -620,12 +620,12 @@ class PropelSQLExec extends TaskPhing {
$out->newLine();
}
System::println($line);
PearSystem::println($line);
$line = "";
} // while rs->next()
}
} while ($this->statement->getMoreResults());
System::println();
PearSystem::println();
if ($out !== null) $out->newLine();
}

View File

@@ -284,6 +284,7 @@ function processWorkspace()
{
try {
$oPluginRegistry = PluginRegistry::loadSingleton();
$oPluginRegistry->init();
global $sObject;
global $sLastExecution;

View File

@@ -22,6 +22,10 @@
*
*/
require_once __DIR__ . '/../../../gulliver/system/class.g.php';
require_once __DIR__ . '/../../../bootstrap/autoload.php';
require_once __DIR__ . '/../../../bootstrap/app.php';
// check script parameters
// php reindex_solr.php workspacename [reindexall|reindexmissing|optimizeindex] [-skip 1005] [-reindextrunksize 1000]
// var_dump($argv);
@@ -117,7 +121,6 @@ if (! defined ('PATH_HOME')) {
define( 'PATH_CLASSES', PATH_HOME . "engine" . PATH_SEP . "classes" . PATH_SEP );
require_once (PATH_HOME . 'engine' . PATH_SEP . 'config' . PATH_SEP . 'paths.php');
spl_autoload_register(array('Bootstrap', 'autoloadClass'));
}
print "PATH_HOME: " . PATH_HOME . "\n";

View File

@@ -24,8 +24,7 @@ class BpmnEngineServicesSearchIndex
*/
public function isEnabled($workspace)
{
require_once('class.solr.php');
$solr = new BpmnEngine_SearchIndexAccess_Solr($this->_solrIsEnabled, $this->_solrHost);
$solr = new BpmnEngineSearchIndexAccessSolr($this->_solrIsEnabled, $this->_solrHost);
return $solr->isEnabled($workspace);
}
@@ -40,12 +39,6 @@ class BpmnEngineServicesSearchIndex
*/
public function getFacetsList($facetRequestEntity)
{
require_once('class.solr.php');
require_once('entities/FacetGroup.php');
require_once('entities/FacetItem.php');
require_once('entities/SelectedFacetGroupItem.php');
require_once('entities/FacetResult.php');
// get array of selected facet groups
$facetRequestEntity->selectedFacetsString = str_replace(',,', ',', $facetRequestEntity->selectedFacetsString);
// remove descriptions of selected facet groups
@@ -98,7 +91,7 @@ class BpmnEngineServicesSearchIndex
}
$facetRequestEntity->filters = $filters;
$solr = new BpmnEngine_SearchIndexAccess_Solr($this->_solrIsEnabled, $this->_solrHost);
$solr = new BpmnEngineSearchIndexAccessSolr($this->_solrIsEnabled, $this->_solrHost);
// create list of facets
$facetsList = $solr->getFacetsList($facetRequestEntity);
@@ -206,7 +199,7 @@ class BpmnEngineServicesSearchIndex
public function getNumberDocuments($workspace)
{
require_once('class.solr.php');
$solr = new BpmnEngine_SearchIndexAccess_Solr($this->_solrIsEnabled, $this->_solrHost);
$solr = new BpmnEngineSearchIndexAccessSolr($this->_solrIsEnabled, $this->_solrHost);
// create list of facets
$numberDocuments = $solr->getNumberDocuments($workspace);
@@ -220,7 +213,7 @@ class BpmnEngineServicesSearchIndex
*/
public function updateIndexDocument($solrUpdateDocumentEntity)
{
$solr = new BpmnEngine_SearchIndexAccess_Solr($this->_solrIsEnabled, $this->_solrHost);
$solr = new BpmnEngineSearchIndexAccessSolr($this->_solrIsEnabled, $this->_solrHost);
// create list of facets
$solr->updateDocument($solrUpdateDocumentEntity);
@@ -233,7 +226,7 @@ class BpmnEngineServicesSearchIndex
*/
public function deleteDocumentFromIndex($workspace, $idQuery)
{
$solr = new BpmnEngine_SearchIndexAccess_Solr($this->_solrIsEnabled, $this->_solrHost);
$solr = new BpmnEngineSearchIndexAccessSolr($this->_solrIsEnabled, $this->_solrHost);
// create list of facets
$solr->deleteDocument($workspace, $idQuery);
@@ -245,7 +238,7 @@ class BpmnEngineServicesSearchIndex
*/
public function commitIndexChanges($workspace)
{
$solr = new BpmnEngine_SearchIndexAccess_Solr($this->_solrIsEnabled, $this->_solrHost);
$solr = new BpmnEngineSearchIndexAccessSolr($this->_solrIsEnabled, $this->_solrHost);
// commit
$solr->commitChanges($workspace);
@@ -257,7 +250,7 @@ class BpmnEngineServicesSearchIndex
*/
public function optimizeIndexChanges($workspace)
{
$solr = new BpmnEngine_SearchIndexAccess_Solr($this->_solrIsEnabled, $this->_solrHost);
$solr = new BpmnEngineSearchIndexAccessSolr($this->_solrIsEnabled, $this->_solrHost);
// commit
$solr->optimizeChanges($workspace);
@@ -270,12 +263,8 @@ class BpmnEngineServicesSearchIndex
*/
public function getDataTablePaginatedList($solrRequestData)
{
require_once('class.solr.php');
require_once('entities/SolrRequestData.php');
require_once('entities/SolrQueryResult.php');
// execute query
$solr = new BpmnEngine_SearchIndexAccess_Solr($this->_solrIsEnabled, $this->_solrHost);
$solr = new BpmnEngineSearchIndexAccessSolr($this->_solrIsEnabled, $this->_solrHost);
$solrPaginatedResult = $solr->executeQuery($solrRequestData);
// get total number of documents in index
@@ -322,9 +311,7 @@ class BpmnEngineServicesSearchIndex
*/
public function getIndexFields($workspace)
{
require_once('class.solr.php');
$solr = new BpmnEngine_SearchIndexAccess_Solr($this->_solrIsEnabled, $this->_solrHost);
$solr = new BpmnEngineSearchIndexAccessSolr($this->_solrIsEnabled, $this->_solrHost);
$solrFieldsData = $solr->getListIndexedStoredFields($workspace);
// copy list of arrays

View File

@@ -19,13 +19,49 @@ class Net
public function __construct()
{
$a = func_get_args();
$f = "__construct" . func_num_args();
$f = "init" . func_num_args();
if (method_exists($this, $f)) {
call_user_func_array(array($this, $f), $a);
}
}
/**
* This function is the constructor of the class net
*
* return void
*/
protected function init0()
{
$this->errno = 0;
$this->error = "";
}
/**
* This function is the constructor of the class net
*
* @param string $pHost
* @return void
*/
protected function init1($pHost)
{
$this->errno = 0;
$this->errstr = "";
$this->db_instance = "";
unset($this->db_user);
unset($this->db_passwd);
unset($this->db_sourcename);
#verifing valid param
if ($pHost == "") {
$this->errno = 1000;
$this->errstr = "NET::You must specify a host";
//$this->showMsg();
}
$this->resolv($pHost);
}
/**
* This function puts a host
*

View File

@@ -0,0 +1,6 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,6 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -57,19 +57,6 @@ if (defined('SYS_SYS') && (!defined('PATH_DATA_SITE') || !defined('PATH_WORKSPAC
Bootstrap::setConstantsRelatedWs(SYS_SYS);
}
//call plugin
if (class_exists( 'folderData' )) {
//$folderData = new folderData($sProUid, $proFields['PRO_TITLE'], $sAppUid, $Fields['APP_TITLE'], $sUsrUid);
$oPluginRegistry = PluginRegistry::loadSingleton();
$aAvailablePmFunctions = $oPluginRegistry->getPmFunctions();
foreach ($aAvailablePmFunctions as $key => $class) {
$filePlugin = PATH_PLUGINS . $class . PATH_SEP . 'classes' . PATH_SEP . 'class.pmFunctions.php';
if (file_exists( $filePlugin )) {
include_once ($filePlugin);
}
}
}
//end plugin
//Add External Triggers
$dir = G::ExpandPath( "classes" ) . 'triggers';
$filesArray = array ();

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -9,7 +9,6 @@
use ProcessMaker\Core\System;
require_once "HTTP/WebDAV/Server.php";
require_once "System.php";
/**
* ProcessMaker Filesystem access using WebDAV
@@ -745,7 +744,7 @@ class ProcessMakerWebDav extends HTTP_WebDAV_Server
if (is_dir($path)) {
$query = "DELETE FROM properties WHERE path LIKE '" . $this->_slashify($options["path"]) . "%'";
mysql_query($query);
System::rm("-rf $path");
PearSystem::rm("-rf $path");
} else {
unlink($path);
}
@@ -848,7 +847,7 @@ class ProcessMakerWebDav extends HTTP_WebDAV_Server
mysql_query($query);
} else {
if (is_dir($source)) {
$files = System::find($source);
$files = PearSystem::find($source);
$files = array_reverse($files);
} else {
$files = array($source

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

View File

@@ -0,0 +1,7 @@
<?php
/**
* Maintained for compatibility reasons.
* @deprecated 3.2.2, File maintained only for backward compatibility because it is used in plugins
*/

Some files were not shown because too many files have changed in this diff Show More