removing pmTrZimbra, and other unused files

This commit is contained in:
Fernando Ontiveros
2025-04-21 16:38:16 +00:00
parent 58e865e711
commit 7093cab058
18 changed files with 31563 additions and 33583 deletions

View File

@@ -60,7 +60,6 @@ return array(
'PmTable' => PmTable::class,
'popupMenu' => PopupMenu::class,
'Processes' => Processes::class,
'ProcessMakerWebDav' => ProcessMakerWebDav::class,
'processMap' => ProcessMap::class,
'propelTable' => PropelTable::class,
'replacementLogo' => ReplacementLogo::class,

View File

@@ -26,7 +26,6 @@
"luracast/restler": "5.0.*",
"bshaffer/oauth2-server-php": "v1.0",
"google/apiclient": "^2.15",
"dapphp/securimage": "^3.6",
"psr/log": "^2.0",
"monolog/monolog": "^3.0",
"geshi/geshi": "dev-master",
@@ -44,7 +43,6 @@
"league/oauth2-client": "^2.4",
"league/oauth2-google": "^3.0",
"tecnickcom/tcpdf": "6.4.*",
"fzaninotto/faker": "dev-master",
"predis/predis": "1.1.1",
"phpmyadmin/sql-parser": "^5.3",
"aws/aws-sdk-php": "~3.0",
@@ -58,8 +56,7 @@
"filp/whoops": "~2.0",
"behat/behat": "^3.3",
"behat/mink-selenium2-driver": "^1.3",
"squizlabs/php_codesniffer": "^2.2 || ^3.0.2",
"wimg/php-compatibility": "*"
"squizlabs/php_codesniffer": "^2.2 || ^3.0.2"
},
"autoload": {
"psr-0": {
@@ -100,8 +97,8 @@
}
},
"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",
"post-install-cmd": "",
"post-update-cmd": "",
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover"

352
composer.lock generated
View File

@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "59e463b1b3f85fe6e992573427ca0ea2",
"content-hash": "5ae6f7fe864821de747da6dc24771fed",
"packages": [
{
"name": "aws/aws-crt-php",
@@ -62,16 +62,16 @@
},
{
"name": "aws/aws-sdk-php",
"version": "3.339.14",
"version": "3.340.4",
"source": {
"type": "git",
"url": "https://github.com/aws/aws-sdk-php.git",
"reference": "532eb5e502c5b1181456023e41d61445b2c7101d"
"reference": "2896cfb3f6b2bd06757b16e99e1cab93c9598af3"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/532eb5e502c5b1181456023e41d61445b2c7101d",
"reference": "532eb5e502c5b1181456023e41d61445b2c7101d",
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/2896cfb3f6b2bd06757b16e99e1cab93c9598af3",
"reference": "2896cfb3f6b2bd06757b16e99e1cab93c9598af3",
"shasum": ""
},
"require": {
@@ -153,9 +153,9 @@
"support": {
"forum": "https://github.com/aws/aws-sdk-php/discussions",
"issues": "https://github.com/aws/aws-sdk-php/issues",
"source": "https://github.com/aws/aws-sdk-php/tree/3.339.14"
"source": "https://github.com/aws/aws-sdk-php/tree/3.340.4"
},
"time": "2025-02-14T19:11:38+00:00"
"time": "2025-02-28T19:13:38+00:00"
},
{
"name": "brick/math",
@@ -328,60 +328,6 @@
],
"time": "2024-02-09T16:56:22+00:00"
},
{
"name": "dapphp/securimage",
"version": "3.6.8",
"source": {
"type": "git",
"url": "https://github.com/dapphp/securimage.git",
"reference": "5fc5953c4ffba1eb214cc83100672f238c184ca4"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/dapphp/securimage/zipball/5fc5953c4ffba1eb214cc83100672f238c184ca4",
"reference": "5fc5953c4ffba1eb214cc83100672f238c184ca4",
"shasum": ""
},
"require": {
"ext-gd": "*",
"php": ">=5.4"
},
"suggest": {
"ext-pdo": "For database storage support",
"ext-pdo_mysql": "For MySQL database support",
"ext-pdo_sqlite": "For SQLite3 database support"
},
"type": "library",
"autoload": {
"classmap": [
"securimage.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD-3-Clause"
],
"authors": [
{
"name": "Drew Phillips",
"email": "drew@drew-phillips.com"
}
],
"description": "PHP CAPTCHA Library",
"homepage": "https://www.phpcaptcha.org",
"keywords": [
"Forms",
"anti-spam",
"captcha",
"security"
],
"support": {
"issues": "https://github.com/dapphp/securimage/issues",
"source": "https://github.com/dapphp/securimage/tree/3.6.8"
},
"abandoned": true,
"time": "2020-05-30T09:43:22+00:00"
},
{
"name": "dflydev/dot-access-data",
"version": "v3.0.3",
@@ -891,62 +837,6 @@
],
"time": "2023-10-12T05:21:21+00:00"
},
{
"name": "fzaninotto/faker",
"version": "dev-master",
"source": {
"type": "git",
"url": "https://github.com/fzaninotto/Faker.git",
"reference": "5ffe7db6c80f441f150fc88008d64e64af66634b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/fzaninotto/Faker/zipball/5ffe7db6c80f441f150fc88008d64e64af66634b",
"reference": "5ffe7db6c80f441f150fc88008d64e64af66634b",
"shasum": ""
},
"require": {
"php": "^5.3.3 || ^7.0 || ^8.0"
},
"require-dev": {
"ext-intl": "*",
"phpunit/phpunit": "^4.8.35 || ^5.7",
"squizlabs/php_codesniffer": "^2.9.2"
},
"default-branch": true,
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.9-dev"
}
},
"autoload": {
"psr-4": {
"Faker\\": "src/Faker/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "François Zaninotto"
}
],
"description": "Faker is a PHP library that generates fake data for you.",
"keywords": [
"data",
"faker",
"fixtures"
],
"support": {
"issues": "https://github.com/fzaninotto/Faker/issues",
"source": "https://github.com/fzaninotto/Faker/tree/master"
},
"abandoned": true,
"time": "2020-12-11T09:59:14+00:00"
},
{
"name": "geshi/geshi",
"version": "dev-master",
@@ -1065,16 +955,16 @@
},
{
"name": "google/apiclient-services",
"version": "v0.394.0",
"version": "v0.396.0",
"source": {
"type": "git",
"url": "https://github.com/googleapis/google-api-php-client-services.git",
"reference": "17fa8210d62c02c398fb4985ed4bc461d18989c1"
"reference": "ceb2e432e4326c6775d24f62d554395a1a9ad3dd"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/googleapis/google-api-php-client-services/zipball/17fa8210d62c02c398fb4985ed4bc461d18989c1",
"reference": "17fa8210d62c02c398fb4985ed4bc461d18989c1",
"url": "https://api.github.com/repos/googleapis/google-api-php-client-services/zipball/ceb2e432e4326c6775d24f62d554395a1a9ad3dd",
"reference": "ceb2e432e4326c6775d24f62d554395a1a9ad3dd",
"shasum": ""
},
"require": {
@@ -1103,9 +993,9 @@
],
"support": {
"issues": "https://github.com/googleapis/google-api-php-client-services/issues",
"source": "https://github.com/googleapis/google-api-php-client-services/tree/v0.394.0"
"source": "https://github.com/googleapis/google-api-php-client-services/tree/v0.396.0"
},
"time": "2025-02-10T01:06:23+00:00"
"time": "2025-02-24T01:10:27+00:00"
},
{
"name": "google/auth",
@@ -2346,16 +2236,16 @@
},
{
"name": "league/oauth2-client",
"version": "2.8.0",
"version": "2.8.1",
"source": {
"type": "git",
"url": "https://github.com/thephpleague/oauth2-client.git",
"reference": "3d5cf8d0543731dfb725ab30e4d7289891991e13"
"reference": "9df2924ca644736c835fc60466a3a60390d334f9"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/thephpleague/oauth2-client/zipball/3d5cf8d0543731dfb725ab30e4d7289891991e13",
"reference": "3d5cf8d0543731dfb725ab30e4d7289891991e13",
"url": "https://api.github.com/repos/thephpleague/oauth2-client/zipball/9df2924ca644736c835fc60466a3a60390d334f9",
"reference": "9df2924ca644736c835fc60466a3a60390d334f9",
"shasum": ""
},
"require": {
@@ -2405,9 +2295,9 @@
],
"support": {
"issues": "https://github.com/thephpleague/oauth2-client/issues",
"source": "https://github.com/thephpleague/oauth2-client/tree/2.8.0"
"source": "https://github.com/thephpleague/oauth2-client/tree/2.8.1"
},
"time": "2024-12-11T05:05:52+00:00"
"time": "2025-02-26T04:37:30+00:00"
},
{
"name": "league/oauth2-google",
@@ -3768,16 +3658,16 @@
},
{
"name": "phpmyadmin/sql-parser",
"version": "5.10.3",
"version": "5.11.0",
"source": {
"type": "git",
"url": "https://github.com/phpmyadmin/sql-parser.git",
"reference": "5346664973d10cf1abff20837fb1183f3c11a055"
"reference": "07044bc8c13abd542756c3fd34dc66a5d6dee8e4"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpmyadmin/sql-parser/zipball/5346664973d10cf1abff20837fb1183f3c11a055",
"reference": "5346664973d10cf1abff20837fb1183f3c11a055",
"url": "https://api.github.com/repos/phpmyadmin/sql-parser/zipball/07044bc8c13abd542756c3fd34dc66a5d6dee8e4",
"reference": "07044bc8c13abd542756c3fd34dc66a5d6dee8e4",
"shasum": ""
},
"require": {
@@ -3792,9 +3682,11 @@
"phpbench/phpbench": "^1.1",
"phpmyadmin/coding-standard": "^3.0",
"phpmyadmin/motranslator": "^4.0 || ^5.0",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^1.9.12",
"phpstan/phpstan-phpunit": "^1.3.3",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan": "^1.12",
"phpstan/phpstan-deprecation-rules": "^1.2",
"phpstan/phpstan-phpunit": "^1.4",
"phpstan/phpstan-strict-rules": "^1.6",
"phpunit/phpunit": "^8.5 || ^9.6",
"psalm/plugin-phpunit": "^0.16.1",
"vimeo/psalm": "^4.11",
@@ -3851,7 +3743,7 @@
"type": "other"
}
],
"time": "2025-01-19T04:14:02+00:00"
"time": "2025-02-22T20:00:59+00:00"
},
{
"name": "phpoption/phpoption",
@@ -5282,16 +5174,16 @@
},
{
"name": "symfony/dependency-injection",
"version": "v7.2.3",
"version": "v7.2.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/dependency-injection.git",
"reference": "1d321c4bc3fe926fd4c38999a4c9af4f5d61ddfc"
"reference": "f0a1614cccb4b8431a97076f9debc08ddca321ca"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/dependency-injection/zipball/1d321c4bc3fe926fd4c38999a4c9af4f5d61ddfc",
"reference": "1d321c4bc3fe926fd4c38999a4c9af4f5d61ddfc",
"url": "https://api.github.com/repos/symfony/dependency-injection/zipball/f0a1614cccb4b8431a97076f9debc08ddca321ca",
"reference": "f0a1614cccb4b8431a97076f9debc08ddca321ca",
"shasum": ""
},
"require": {
@@ -5342,7 +5234,7 @@
"description": "Allows you to standardize and centralize the way objects are constructed in your application",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/dependency-injection/tree/v7.2.3"
"source": "https://github.com/symfony/dependency-injection/tree/v7.2.4"
},
"funding": [
{
@@ -5358,7 +5250,7 @@
"type": "tidelift"
}
],
"time": "2025-01-17T10:56:55+00:00"
"time": "2025-02-21T09:47:16+00:00"
},
{
"name": "symfony/deprecation-contracts",
@@ -5429,16 +5321,16 @@
},
{
"name": "symfony/error-handler",
"version": "v6.4.18",
"version": "v6.4.19",
"source": {
"type": "git",
"url": "https://github.com/symfony/error-handler.git",
"reference": "e8d3b5b1975e67812a54388b1ba8e9ec28eb770e"
"reference": "3d4e55cd2b8f1979a65eba9ab749d6466c316f71"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/error-handler/zipball/e8d3b5b1975e67812a54388b1ba8e9ec28eb770e",
"reference": "e8d3b5b1975e67812a54388b1ba8e9ec28eb770e",
"url": "https://api.github.com/repos/symfony/error-handler/zipball/3d4e55cd2b8f1979a65eba9ab749d6466c316f71",
"reference": "3d4e55cd2b8f1979a65eba9ab749d6466c316f71",
"shasum": ""
},
"require": {
@@ -5484,7 +5376,7 @@
"description": "Provides tools to manage errors and ease debugging PHP code",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/error-handler/tree/v6.4.18"
"source": "https://github.com/symfony/error-handler/tree/v6.4.19"
},
"funding": [
{
@@ -5500,7 +5392,7 @@
"type": "tidelift"
}
],
"time": "2025-01-06T09:38:16+00:00"
"time": "2025-02-02T20:16:33+00:00"
},
{
"name": "symfony/event-dispatcher",
@@ -5867,16 +5759,16 @@
},
{
"name": "symfony/http-kernel",
"version": "v6.4.18",
"version": "v6.4.19",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-kernel.git",
"reference": "fca7197bfe9e99dfae7fb1ad3f7f5bd9ef80e1b7"
"reference": "88f2c9f7feff86bb7b9105c5151bc2c1404cd64c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/fca7197bfe9e99dfae7fb1ad3f7f5bd9ef80e1b7",
"reference": "fca7197bfe9e99dfae7fb1ad3f7f5bd9ef80e1b7",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/88f2c9f7feff86bb7b9105c5151bc2c1404cd64c",
"reference": "88f2c9f7feff86bb7b9105c5151bc2c1404cd64c",
"shasum": ""
},
"require": {
@@ -5961,7 +5853,7 @@
"description": "Provides a structured process for converting a Request into a Response",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/http-kernel/tree/v6.4.18"
"source": "https://github.com/symfony/http-kernel/tree/v6.4.19"
},
"funding": [
{
@@ -5977,7 +5869,7 @@
"type": "tidelift"
}
],
"time": "2025-01-29T07:25:58+00:00"
"time": "2025-02-26T10:51:37+00:00"
},
{
"name": "symfony/mailer",
@@ -6061,16 +5953,16 @@
},
{
"name": "symfony/mime",
"version": "v6.4.18",
"version": "v6.4.19",
"source": {
"type": "git",
"url": "https://github.com/symfony/mime.git",
"reference": "917d77981eb1ea963608d5cda4d9c0cf72eaa68e"
"reference": "ac537b6c55ccc2c749f3c979edfa9ec14aaed4f3"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/mime/zipball/917d77981eb1ea963608d5cda4d9c0cf72eaa68e",
"reference": "917d77981eb1ea963608d5cda4d9c0cf72eaa68e",
"url": "https://api.github.com/repos/symfony/mime/zipball/ac537b6c55ccc2c749f3c979edfa9ec14aaed4f3",
"reference": "ac537b6c55ccc2c749f3c979edfa9ec14aaed4f3",
"shasum": ""
},
"require": {
@@ -6126,7 +6018,7 @@
"mime-type"
],
"support": {
"source": "https://github.com/symfony/mime/tree/v6.4.18"
"source": "https://github.com/symfony/mime/tree/v6.4.19"
},
"funding": [
{
@@ -6142,7 +6034,7 @@
"type": "tidelift"
}
],
"time": "2025-01-23T13:10:52+00:00"
"time": "2025-02-17T21:23:52+00:00"
},
{
"name": "symfony/polyfill-ctype",
@@ -6782,16 +6674,16 @@
},
{
"name": "symfony/process",
"version": "v6.4.15",
"version": "v6.4.19",
"source": {
"type": "git",
"url": "https://github.com/symfony/process.git",
"reference": "3cb242f059c14ae08591c5c4087d1fe443564392"
"reference": "7a1c12e87b08ec9c97abdd188c9b3f5a40e37fc3"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/process/zipball/3cb242f059c14ae08591c5c4087d1fe443564392",
"reference": "3cb242f059c14ae08591c5c4087d1fe443564392",
"url": "https://api.github.com/repos/symfony/process/zipball/7a1c12e87b08ec9c97abdd188c9b3f5a40e37fc3",
"reference": "7a1c12e87b08ec9c97abdd188c9b3f5a40e37fc3",
"shasum": ""
},
"require": {
@@ -6823,7 +6715,7 @@
"description": "Executes commands in sub-processes",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/process/tree/v6.4.15"
"source": "https://github.com/symfony/process/tree/v6.4.19"
},
"funding": [
{
@@ -6839,7 +6731,7 @@
"type": "tidelift"
}
],
"time": "2024-11-06T14:19:14+00:00"
"time": "2025-02-04T13:35:48+00:00"
},
{
"name": "symfony/routing",
@@ -7096,16 +6988,16 @@
},
{
"name": "symfony/translation",
"version": "v6.4.13",
"version": "v6.4.19",
"source": {
"type": "git",
"url": "https://github.com/symfony/translation.git",
"reference": "bee9bfabfa8b4045a66bf82520e492cddbaffa66"
"reference": "3b9bf9f33997c064885a7bfc126c14b9daa0e00e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/translation/zipball/bee9bfabfa8b4045a66bf82520e492cddbaffa66",
"reference": "bee9bfabfa8b4045a66bf82520e492cddbaffa66",
"url": "https://api.github.com/repos/symfony/translation/zipball/3b9bf9f33997c064885a7bfc126c14b9daa0e00e",
"reference": "3b9bf9f33997c064885a7bfc126c14b9daa0e00e",
"shasum": ""
},
"require": {
@@ -7171,7 +7063,7 @@
"description": "Provides tools to internationalize your application",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/translation/tree/v6.4.13"
"source": "https://github.com/symfony/translation/tree/v6.4.19"
},
"funding": [
{
@@ -7187,7 +7079,7 @@
"type": "tidelift"
}
],
"time": "2024-09-27T18:14:25+00:00"
"time": "2025-02-13T10:18:43+00:00"
},
{
"name": "symfony/translation-contracts",
@@ -7428,16 +7320,16 @@
},
{
"name": "symfony/var-exporter",
"version": "v7.2.0",
"version": "v7.2.4",
"source": {
"type": "git",
"url": "https://github.com/symfony/var-exporter.git",
"reference": "1a6a89f95a46af0f142874c9d650a6358d13070d"
"reference": "4ede73aa7a73d81506002d2caadbbdad1ef5b69a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/var-exporter/zipball/1a6a89f95a46af0f142874c9d650a6358d13070d",
"reference": "1a6a89f95a46af0f142874c9d650a6358d13070d",
"url": "https://api.github.com/repos/symfony/var-exporter/zipball/4ede73aa7a73d81506002d2caadbbdad1ef5b69a",
"reference": "4ede73aa7a73d81506002d2caadbbdad1ef5b69a",
"shasum": ""
},
"require": {
@@ -7484,7 +7376,7 @@
"serialize"
],
"support": {
"source": "https://github.com/symfony/var-exporter/tree/v7.2.0"
"source": "https://github.com/symfony/var-exporter/tree/v7.2.4"
},
"funding": [
{
@@ -7500,7 +7392,7 @@
"type": "tidelift"
}
],
"time": "2024-10-18T07:58:17+00:00"
"time": "2025-02-13T10:27:23+00:00"
},
{
"name": "tecnickcom/tcpdf",
@@ -8003,24 +7895,30 @@
},
{
"name": "behat/gherkin",
"version": "v4.11.0",
"version": "v4.12.0",
"source": {
"type": "git",
"url": "https://github.com/Behat/Gherkin.git",
"reference": "32821a17b12620951e755b5d49328a6421a5b5b5"
"reference": "cc3a7e224b36373be382b53ef02ede0f1807bb58"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Behat/Gherkin/zipball/32821a17b12620951e755b5d49328a6421a5b5b5",
"reference": "32821a17b12620951e755b5d49328a6421a5b5b5",
"url": "https://api.github.com/repos/Behat/Gherkin/zipball/cc3a7e224b36373be382b53ef02ede0f1807bb58",
"reference": "cc3a7e224b36373be382b53ef02ede0f1807bb58",
"shasum": ""
},
"require": {
"composer-runtime-api": "^2.2",
"php": "8.1.* || 8.2.* || 8.3.* || 8.4.*"
},
"require-dev": {
"cucumber/cucumber": "dev-gherkin-24.1.0",
"phpunit/phpunit": "^9.6",
"friendsofphp/php-cs-fixer": "^3.65",
"phpstan/extension-installer": "^1",
"phpstan/phpstan": "^2",
"phpstan/phpstan-phpunit": "^2",
"phpunit/phpunit": "^10.5",
"symfony/filesystem": "^5.4 || ^6.4 || ^7.0",
"symfony/yaml": "^5.4 || ^6.4 || ^7.0"
},
"suggest": {
@@ -8045,11 +7943,11 @@
{
"name": "Konstantin Kudryashov",
"email": "ever.zet@gmail.com",
"homepage": "http://everzet.com"
"homepage": "https://everzet.com"
}
],
"description": "Gherkin DSL parser for PHP",
"homepage": "http://behat.org/",
"homepage": "https://behat.org/",
"keywords": [
"BDD",
"Behat",
@@ -8060,9 +7958,9 @@
],
"support": {
"issues": "https://github.com/Behat/Gherkin/issues",
"source": "https://github.com/Behat/Gherkin/tree/v4.11.0"
"source": "https://github.com/Behat/Gherkin/tree/v4.12.0"
},
"time": "2024-12-06T10:07:25+00:00"
"time": "2025-02-26T14:28:23+00:00"
},
{
"name": "behat/mink",
@@ -9068,16 +8966,16 @@
},
{
"name": "phpstan/phpdoc-parser",
"version": "2.0.1",
"version": "2.1.0",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpdoc-parser.git",
"reference": "72e51f7c32c5aef7c8b462195b8c599b11199893"
"reference": "9b30d6fd026b2c132b3985ce6b23bec09ab3aa68"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/72e51f7c32c5aef7c8b462195b8c599b11199893",
"reference": "72e51f7c32c5aef7c8b462195b8c599b11199893",
"url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/9b30d6fd026b2c132b3985ce6b23bec09ab3aa68",
"reference": "9b30d6fd026b2c132b3985ce6b23bec09ab3aa68",
"shasum": ""
},
"require": {
@@ -9109,9 +9007,9 @@
"description": "PHPDoc parser with support for nullable, intersection and generic types",
"support": {
"issues": "https://github.com/phpstan/phpdoc-parser/issues",
"source": "https://github.com/phpstan/phpdoc-parser/tree/2.0.1"
"source": "https://github.com/phpstan/phpdoc-parser/tree/2.1.0"
},
"time": "2025-02-13T12:25:43+00:00"
"time": "2025-02-19T13:28:12+00:00"
},
{
"name": "phpunit/php-code-coverage",
@@ -10702,77 +10600,13 @@
}
],
"time": "2024-03-03T12:36:25+00:00"
},
{
"name": "wimg/php-compatibility",
"version": "9.3.5",
"source": {
"type": "git",
"url": "https://github.com/PHPCompatibility/PHPCompatibility.git",
"reference": "9fb324479acf6f39452e0655d2429cc0d3914243"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibility/zipball/9fb324479acf6f39452e0655d2429cc0d3914243",
"reference": "9fb324479acf6f39452e0655d2429cc0d3914243",
"shasum": ""
},
"require": {
"php": ">=5.3",
"squizlabs/php_codesniffer": "^2.3 || ^3.0.2"
},
"conflict": {
"squizlabs/php_codesniffer": "2.6.2"
},
"require-dev": {
"phpunit/phpunit": "~4.5 || ^5.0 || ^6.0 || ^7.0"
},
"suggest": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.5 || This Composer plugin will sort out the PHPCS 'installed_paths' automatically.",
"roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues."
},
"type": "phpcodesniffer-standard",
"notification-url": "https://packagist.org/downloads/",
"license": [
"LGPL-3.0-or-later"
],
"authors": [
{
"name": "Wim Godden",
"homepage": "https://github.com/wimg",
"role": "lead"
},
{
"name": "Juliette Reinders Folmer",
"homepage": "https://github.com/jrfnl",
"role": "lead"
},
{
"name": "Contributors",
"homepage": "https://github.com/PHPCompatibility/PHPCompatibility/graphs/contributors"
}
],
"description": "A set of sniffs for PHP_CodeSniffer that checks for PHP cross-version compatibility.",
"homepage": "http://techblog.wimgodden.be/tag/codesniffer/",
"keywords": [
"compatibility",
"phpcs",
"standards"
],
"support": {
"issues": "https://github.com/PHPCompatibility/PHPCompatibility/issues",
"source": "https://github.com/PHPCompatibility/PHPCompatibility"
},
"abandoned": "phpcompatibility/php-compatibility",
"time": "2019-12-27T09:44:58+00:00"
}
],
"aliases": [],
"minimum-stability": "dev",
"stability-flags": {
"geshi/geshi": 20,
"pdepend/pdepend": 0,
"fzaninotto/faker": 20
"pdepend/pdepend": 0
},
"prefer-stable": true,
"prefer-lowest": false,

View File

@@ -38,7 +38,6 @@ rbac/engine/xmlform
rbac/public_html/skins/JSForms.js
virtualhost.conf.example
workflow/engine/classes/class.jrml.php
workflow/engine/classes/class.webdav.php
workflow/engine/classes/entities/AppSolrQueue.php
workflow/engine/classes/entities/Base.php
workflow/engine/classes/entities/FacetGroup.php
@@ -51,7 +50,6 @@ workflow/engine/classes/entities/SelectedFacetGroupItem.php
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

View File

@@ -451,7 +451,6 @@ Scenario Outline: Assign Permission "PM_DASHBOARD" to Role
| Assign Permissions "PM_SUPERVISOR" to rol 2 | 2 | 00000000000000000000000000000009 |
| Assign Permissions "PM_SETUP_ADVANCE" to rol 3 | 3 | 00000000000000000000000000000010 |
| Assign Permissions "PM_DASHBOARD" to rol 4 | 4 | 00000000000000000000000000000011 |
| Assign Permissions "PM_WEBDAV" to rol 5 | 5 | 00000000000000000000000000000012 |
| Assign Permissions "PM_LOGIN" to rol 6 | 6 | 00000000000000000000000000000001 |
| Assign Permissions "PM_EDITPERSONALINFO" to rol 7 | 7 | 00000000000000000000000000000014 |
| Assign Permissions "PM_FOLDERS_VIEW" to rol 8 | 8 | 00000000000000000000000000000015 |
@@ -542,7 +541,6 @@ Scenario Outline: Unassign Permission of the Role
| Unassign Permissions "PM_SUPERVISOR" to rol 2 | 2 | 00000000000000000000000000000009 |
| Unassign Permissions "PM_SETUP_ADVANCE" to rol 3 | 3 | 00000000000000000000000000000010 |
| Unassign Permissions "PM_DASHBOARD" to rol 4 | 4 | 00000000000000000000000000000011 |
| Unassign Permissions "PM_WEBDAV" to rol 5 | 5 | 00000000000000000000000000000012 |
| Unassign Permissions "PM_LOGIN" to rol 6 | 6 | 00000000000000000000000000000001 |
| Unassign Permissions "PM_EDITPERSONALINFO" to rol 7 | 7 | 00000000000000000000000000000014 |
| Unassign Permissions "PM_FOLDERS_VIEW" to rol 8 | 8 | 00000000000000000000000000000015 |

View File

@@ -27,13 +27,11 @@ Feature: Group
| Get in process .pm | 2 | 14414793652a5d718b65590036026581 | pmTalend | Talend ETL Integration | class.pmTalend.pmFunctions.php |
| Get in process .pm | 3 | 14414793652a5d718b65590036026581 | pmTrAlfresco | Alfresco DM Triggers v. 0.1 | class.pmTrAlfresco.pmFunctions.php |
| Get in process .pm | 4 | 14414793652a5d718b65590036026581 | pmTrSharepoint | Sharepoint DWS Triggers v. 0.1 | class.pmTrSharepoint.pmFunctions.php |
| Get in process .pm | 5 | 14414793652a5d718b65590036026581 | pmZimbra | Zimbra Triggers v. 0.1 | class.pmZimbra.pmFunctions.php |
| Get in process .pmx | 0 | 1455892245368ebeb11c1a5001393784 | pmFunctions | ProcessMaker Functions | class.pmFunctions.php |
| Get in process .pmx | 1 | 1455892245368ebeb11c1a5001393784 | pmSugar | Sugar CRM Triggers | class.pmSugar.pmFunctions.php |
| Get in process .pmx | 2 | 1455892245368ebeb11c1a5001393784 | pmTalend | Talend ETL Integration | class.pmTalend.pmFunctions.php |
| Get in process .pmx | 3 | 1455892245368ebeb11c1a5001393784 | pmTrAlfresco | Alfresco DM Triggers v. 0.1 | class.pmTrAlfresco.pmFunctions.php |
| Get in process .pmx | 4 | 1455892245368ebeb11c1a5001393784 | pmTrSharepoint | Sharepoint DWS Triggers v. 0.1 | class.pmTrSharepoint.pmFunctions.php |
| Get in process .pmx | 5 | 1455892245368ebeb11c1a5001393784 | pmZimbra | Zimbra Triggers v. 0.1 | class.pmZimbra.pmFunctions.php |
Scenario Outline: Get a single Library
@@ -51,13 +49,11 @@ Feature: Group
| Get in process .pm | 14414793652a5d718b65590036026581 | pmFunctions | ProcessMaker Functions | class.pmFunctions.php |
| Get in process .pm | 14414793652a5d718b65590036026581 | pmTrSharepoint | Sharepoint DWS Triggers v. 0.1 | class.pmTrSharepoint.pmFunctions.php |
| Get in process .pm | 14414793652a5d718b65590036026581 | pmTrAlfresco | Alfresco DM Triggers v. 0.1 | class.pmTrAlfresco.pmFunctions.php |
| Get in process .pm | 14414793652a5d718b65590036026581 | pmZimbra | Zimbra Triggers v. 0.1 | class.pmZimbra.pmFunctions.php |
| Get in process .pm | 14414793652a5d718b65590036026581 | pmTalend | Talend ETL Integration | class.pmTalend.pmFunctions.php |
| Get in process .pm | 14414793652a5d718b65590036026581 | pmSugar | Sugar CRM Triggers | class.pmSugar.pmFunctions.php |
| Get in process .pmx | 1455892245368ebeb11c1a5001393784 | pmFunctions | ProcessMaker Functions | class.pmFunctions.php |
| Get in process .pmx | 1455892245368ebeb11c1a5001393784 | pmTrSharepoint | Sharepoint DWS Triggers v. 0.1 | class.pmTrSharepoint.pmFunctions.php |
| Get in process .pmx | 1455892245368ebeb11c1a5001393784 | pmTrAlfresco | Alfresco DM Triggers v. 0.1 | class.pmTrAlfresco.pmFunctions.php |
| Get in process .pmx | 1455892245368ebeb11c1a5001393784 | pmZimbra | Zimbra Triggers v. 0.1 | class.pmZimbra.pmFunctions.php |
| Get in process .pmx | 1455892245368ebeb11c1a5001393784 | pmTalend | Talend ETL Integration | class.pmTalend.pmFunctions.php |
| Get in process .pmx | 1455892245368ebeb11c1a5001393784 | pmSugar | Sugar CRM Triggers | class.pmSugar.pmFunctions.php |
@@ -76,13 +72,11 @@ Feature: Group
| Get in process .pm | 14414793652a5d718b65590036026581 | pmFunctions | PMFAddAttachmentToArray | Add Element in Array |
| Get in process .pm | 14414793652a5d718b65590036026581 | pmTrSharepoint | createDWS | Create a DWS in Sharepoint server |
| Get in process .pm | 14414793652a5d718b65590036026581 | pmTrAlfresco | Checkin | Checkin document/file |
| Get in process .pm | 14414793652a5d718b65590036026581 | pmZimbra | createZimbraAppointment | Create Appointment |
| Get in process .pm | 14414793652a5d718b65590036026581 | pmTalend | executeTalendWebservice | Executes a Talend Web Service |
| Get in process .pm | 14414793652a5d718b65590036026581 | pmSugar | CreateSugarAccount | Creates SugarCRM entries from the Account module |
| Get in process .pmx | 1455892245368ebeb11c1a5001393784 | pmFunctions | PMFAddAttachmentToArray | Add Element in Array |
| Get in process .pmx | 1455892245368ebeb11c1a5001393784 | pmTrSharepoint | createDWS | Create a DWS in Sharepoint server |
| Get in process .pmx | 1455892245368ebeb11c1a5001393784 | pmTrAlfresco | Checkin | Checkin document/file |
| Get in process .pmx | 1455892245368ebeb11c1a5001393784 | pmZimbra | createZimbraAppointment | Create Appointment |
| Get in process .pmx | 1455892245368ebeb11c1a5001393784 | pmTalend | executeTalendWebservice | Executes a Talend Web Service |
| Get in process .pmx | 1455892245368ebeb11c1a5001393784 | pmSugar | CreateSugarAccount | Creates SugarCRM entries from the Account module |

View File

@@ -343,11 +343,6 @@ class RBAC
"PER_CODE" => "PM_DASHBOARD",
"PER_NAME" => "Dashboard"
],
[
"PER_UID" => "00000000000000000000000000000012",
"PER_CODE" => "PM_WEBDAV",
"PER_NAME" => "WebDav"
],
[
"PER_UID" => "00000000000000000000000000000013",
"PER_CODE" => "PM_DELETECASE",

View File

@@ -10,7 +10,6 @@ INSERT INTO `RBAC_PERMISSIONS` VALUES
('00000000000000000000000000000009','PM_SUPERVISOR',NULL,NULL,1,'00000000000000000000000000000002'),
('00000000000000000000000000000010','PM_SETUP_ADVANCE',NULL,NULL,1,'00000000000000000000000000000002'),
('00000000000000000000000000000011','PM_DASHBOARD','2009-02-18 00:00:00','2009-02-18 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000012','PM_WEBDAV','2009-08-21 00:00:00','2009-08-21 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000013','PM_DELETECASE','2009-10-12 00:00:00',NULL,1,'00000000000000000000000000000002'),
('00000000000000000000000000000014','PM_EDITPERSONALINFO','2009-10-12 00:00:00',NULL,1,'00000000000000000000000000000002'),
('00000000000000000000000000000015','PM_FOLDERS_ALL','2009-10-12 00:00:00',NULL,1,'00000000000000000000000000000002'),

File diff suppressed because it is too large Load Diff

View File

@@ -1,460 +0,0 @@
<?php
/**
* class.pmTrZimbra.pmFunctions.php
*
* ProcessMaker Open Source Edition
* Copyright (C) 2004 - 2008 Colosa Inc.
* *
*/
////////////////////////////////////////////////////
// pmTrZimbra PM Functions
//
// Copyright (C) 2007 COLOSA
//
// License: LGPL, see LICENSE
////////////////////////////////////////////////////
use ProcessMaker\Core\System;
/**
* Triggers that allow ProcessMaker to integrate with Zimbra
* @class pmZimbra
* @name Zimbra Triggers v. 0.1
* @icon /images/triggers/zimbra.gif
* @className class.pmZimbra.pmFunctions.php
*/
/**
* @method
*
* Get Folder Name and Attributes
*
* @name getZimbraFolder
* @label Get Attributes for specified FolderName
*
* @param string | $ServerUrl | Server name and port where Zimbra exists | zimbra.server:port
* @param string | $username | Valid username to connect to Zimbra server
* @param string | $preAuthKey | Server Key for SSO authentication
* @param string | $folderName | Folder Name
* @param string | $protocol | protpcol server http https
*
* @return string | $result | Response |
*
*/
function getZimbraFolder($ServerUrl, $username, $preAuthKey, $folderName, $protocol = 'http')
{
$zimbra = new Zimbra($username, $ServerUrl, $preAuthKey , '', $protocol);
$connectionResult = $zimbra->connect();
if (!$connectionResult) {
return "Check userName or Server URL";
}
$aXmlArray = array();
$aXmlArray = $zimbra->getFolder($folderName);
$sXmlArray = @G::json_decode(@G::json_encode($aXmlArray), 1);
$serializeResult = serialize($sXmlArray); // serializing the Array for Returning.
return $serializeResult;
}
/**
* @method
*
* Get Contact List
*
* @name getZimbraContactList
* @label Get Contact Lists from Zimbra Server
*
* @param string | $ServerUrl | Server name and port where Zimbra exists | zimbra.server:port
* @param string | $username| Valid username to connect to Zimbra server
* @param string | $preAuthKey | Server Key for SSO authentication
* @param string | $protocol | protpcol server http https
*
* @return string | $result | Response |
*
*/
function getZimbraContactList($ServerUrl, $username, $preAuthKey, $protocol = 'http')
{
$zimbra = new Zimbra($username, $ServerUrl, $preAuthKey, '', $protocol);
$connectionResult = $zimbra->connect();
if (!$connectionResult) {
return "Check userName or Server URL";
}
$sXmlArray = array();
$sXmlArray = $zimbra->getContacts();
$aXmlArray = @G::json_decode(@G::json_encode($sXmlArray), 1);
$serializeResult = serialize($aXmlArray); // serializing the Array for Returning.
return $serializeResult;
}
/**
* @method
*
* Get Task List
*
* @name getZimbraTaskList
* @label Get Task Lists from Zimbra Server
*
* @param string | $ServerUrl | Server name and port where Zimbra exists | zimbra.server:port
* @param string | $username| Valid username to connect to Zimbra server
* @param string | $preAuthKey | Server Key for SSO authentication
* @param string | $protocol | protpcol server http https
*
* @return string | $result | Response |
*
*/
function getZimbraTaskList($ServerUrl, $username, $preAuthKey, $protocol = 'http')
{
$xXmlArray = array();
$xXmlArray1 = array();
$zimbra = new Zimbra($username, $ServerUrl, $preAuthKey, '', $protocol = 'http');
$connectionResult = $zimbra->connect();
if (!$connectionResult) {
return "Check userName or Server URL";
}
$sXmlArray = array();
$sXmlArray = $zimbra->getTasks();
$aXmlArray = @G::json_decode(@G::json_encode($sXmlArray), 1);
$serializeResult = serialize($aXmlArray); // serializing the Array for Returning.
return $serializeResult;
}
/**
* @method
*
* Get Appointment List
*
* @name getZimbraAppointmentList
* @label Get Appointment Lists from Zimbra Server
*
* @param string | $ServerUrl | Server name and port where Zimbra exists | zimbra.server:port
* @param string | $username| Valid username to connect to Zimbra server
* @param string | $preAuthKey | Server Key for SSO authentication
* @param string | $protocol | protpcol server http https
*
* @return string | $result | Response |
*
*/
function getZimbraAppointmentList($ServerUrl, $username, $preAuthKey, $protocol = 'http')
{
$xXmlArray = array();
$xXmlArray1 = array();
$zimbra = new Zimbra($username, $ServerUrl, $preAuthKey, '', $protocol);
$connectionResult = $zimbra->connect();
if (!$connectionResult) {
return "Check userName or Server URL";
}
$sXmlArray = array();
$sXmlArray = $zimbra->getAppointments();
$aXmlArray = @G::json_decode(@G::json_encode($sXmlArray), 1);
$serializeResult = serialize($aXmlArray); // serializing the Array for Returning.
return $serializeResult;
}
/**
* @method
*
* Create Folder Name and Attribute
*
* @name createZimbraFolder
* @label Create Specified Folder with Attributes in Briefcase Tab
*
* @param string | $ServerUrl | Server name and port where Zimbra exists | zimbra.server:port
* @param string | $username | Valid username to connect to Zimbra server
* @param string | $preAuthKey | Server Key for SSO authentication
* @param string | $folderName | Folder Name
* @param string | $color | Color of Folder
* @param string | $protocol | protpcol server http https
*
* @return string | $result | Response |
*
*/
function createZimbraFolder($ServerUrl, $username, $preAuthKey, $folderName, $color, $protocol = 'http')
{
$serializeOp = array();
$serializeOp = array('folderName' => $folderName, 'color' => $color);
$serializeOp1 = serialize($serializeOp);
$zimbra = new Zimbra($username, $ServerUrl, $preAuthKey, '', $protocol);
$connectionResult = $zimbra->connect();
if (!$connectionResult) {
return "Check userName or Server URL";
}
$sXmlArray = $zimbra->addFolder($serializeOp1);
if ($sXmlArray) {
return "Folder Created succesfully";
} else {
return "A folder with name " . $folderName . " already exist.";
}
}
/**
* @method
*
* Create Contacts
*
* @name createZimbraContacts
* @label Create Contacts in Address Book
*
* @param string | $ServerUrl | Server name and port where Zimbra exists | zimbra.server:port
* @param string | $username | Valid username to connect to Zimbra server
* @param string | $preAuthKey | Server Key for SSO authentication
* @param string | $firstName | First Name
* @param string | $lastName | Last Name
* @param string | $email | Email Address
* @param string | $otherData | BirthDay/Anniversary/Custom
* @param string | $otherDataValue | Corresponding Date or Value
* @param string | $protocol | protpcol server http https
*
* @return string | $result | Response |
*
*/
function createZimbraContacts($ServerUrl, $username, $preAuthKey, $firstName, $lastName, $email, $otherData, $otherDataValue, $protocol = 'http')
{
$serializeOp = array();
$serializeOp = array('firstName' => $firstName, 'lastName' => $lastName, 'email' => $email, 'otherData' => $otherData, 'otherDataValue' => $otherDataValue);
$serializeOp1 = serialize($serializeOp);
$zimbra = new Zimbra($username, $ServerUrl, $preAuthKey, '', $protocol);
$connectionResult = $zimbra->connect();
if (!$connectionResult) {
return "Check userName or Server URL";
}
$sXmlArray = $zimbra->addContacts($serializeOp1);
if ($sXmlArray) {
return "Contacts Created succesfully";
} else {
return "Some Error";
}
}
/**
* @method
*
* Create Tasks
*
* @name createZimbraTask
* @label Create Task
*
* @param string | $ServerUrl | Server name and port where Zimbra exists | zimbra.server:port
* @param string | $username | Valid username to connect to Zimbra server
* @param string | $preAuthKey | Server Key for SSO authentication
* @param string | $subject | Mail Subject
* @param string | $taskName | Task Name
* @param string | $friendlyName | Friendly Name of the User
* @param string | $userEmail | Email Address of the User
* @param string | $priority | Priority of the Task
* @param string | $allDay | Is All Day Task
* @param string | $class | Access Scope of the Class
* @param string | $location | Location of the task
* @param string | $dueDate | Due Date of the task
* @param string | $status | Status of the task
* @param string | $percent | Percentage of Task Completed
* @param string | $protocol | protpcol server http https
*
* @return string | $result | Response |
*
*/
function createZimbraTask($ServerUrl, $username, $preAuthKey, $subject, $taskName, $friendlyName, $userEmail, $priority, $allDay, $class, $location, $dueDate, $status, $percent, $protocol = 'http')
{
$serializeOp = array();
$serializeOp = array('subject' => $subject, 'taskName' => $taskName, 'friendlyName' => $friendlyName, 'userEmail' => $userEmail, 'priority' => $priority, 'allDay' => $allDay, 'class' => $class, 'location' => $location, 'dueDate' => $dueDate, 'status' => $status, 'percent' => $percent);
$serializeOp1 = serialize($serializeOp);
$zimbra = new Zimbra($username, $ServerUrl, $preAuthKey, '', $protocol);
$connectionResult = $zimbra->connect();
if (!$connectionResult) {
return "Check userName or Server URL";
}
$sXmlArray = $zimbra->addTask($serializeOp1);
if ($sXmlArray) {
return "Task Created succesfully";
} else {
return "Error in Creating Task";
}
}
/**
* @method
*
* Create Appointment
*
* @name createZimbraAppointment
* @label Create Appointment
*
* @param string | $ServerUrl | Server name and port where Zimbra exists | zimbra.server:port
* @param string | $username | Valid username to connect to Zimbra server
* @param string | $preAuthKey | Server Key for SSO authentication
* @param string | $subject | Mail Subject
* @param string | $appointmentName | Appointment Name
* @param string | $friendlyName | Organizer's Friendly Name
* @param string | $userEmail | Email Address of the Attendee(s) seperated by ';'
* @param string | $domainName | Domain Name
* @param string | $schedule | Schedule of the Appointment
* @param string | $cutype | Type of Calendar User
* @param string | $allDay | Is All Day Appointment
* @param string | $isOrg | Is Organizer
* @param string | $rsvp | RSVP
* @param string | $atFriendlyName | Friendly Name of Attendee(s) seperated by ';'
* @param string | $role | Attendee's Role
* @param string | $location | Location
* @param string | $ptst | Paticipation Status of the user
* @param string | $startDate | Start Date of the Appointment
* @param string | $endDate | End Date of the Appointment
* @param string | $tz | Time Zone
* @param string | $protocol | protpcol server http https
*
* @return string | $result | Response |
*
*/
function createZimbraAppointment($ServerUrl, $username, $preAuthKey, $subject, $appointmentName, $friendlyName, $userEmail, $domainName, $schedule, $cutype, $allDay, $isOrg, $rsvp, $atFriendlyName, $role, $location, $ptst, $startDate, $endDate, $tz = '', $protocol = 'http')
{
$serializeOp = array();
$serializeOp = array('username' => $username, 'subject' => $subject, 'appointmentName' => $appointmentName, 'friendlyName' => $friendlyName, 'userEmail' => $userEmail, 'domainName' => $domainName, 'schedule' => $schedule, 'cutype' => $cutype, 'allDay' => $allDay, 'isOrg' => $isOrg, 'rsvp' => $rsvp, 'atFriendlyName' => $atFriendlyName, 'role' => $role, 'location' => $location, 'ptst' => $ptst, 'startDate' => $startDate, 'endDate' => $endDate, 'tz' => $tz);
$serializeOp1 = serialize($serializeOp);
$zimbra = new Zimbra($username, $ServerUrl, $preAuthKey, '', $protocol);
$connectionResult = $zimbra->connect();
if (!$connectionResult) {
return "Check userName or Server URL";
}
$sXmlArray = $zimbra->addAppointment($serializeOp1);
if ($sXmlArray) {
return "Appointment Created succesfully";
} else {
return "Error in Creating Appointment";
}
}
/**
* @method
*
* Upload File/Document to Zimbra Server
*
* @name uploadZimbraFile
* @label Upload File/Document to Zimbra Server
*
* @param string | $ServerUrl | Server name and port where Zimbra exists | zimbra.server:port
* @param string | $username | Valid username to connect to Zimbra server
* @param string | $preAuthKey | Server Key for SSO authentication
* @param string | $folderName | Folder Name
* @param string | $fileLocation | Absolute path of the File to be uploaded.
* @param string | $protocol | protpcol server http https
*
* @return string | $result | Response |
*
*/
function uploadZimbraFile($ServerUrl, $username, $preAuthKey, $folderName, $fileLocation, $protocol = 'http')
{
$header_array = array("ENCTYPE" => "multipart/form-data");
$file = $fileLocation;
$oZimbraObj = new Zimbra($username, $ServerUrl, $preAuthKey, '', $protocol);
$connectResult = $oZimbraObj->connect();
$sAuthToken = $oZimbraObj->auth_token;
$cookie = array('ZM_AUTH_TOKEN' => $sAuthToken, 'ZM_TEST' => true);
$cookie = 'ZM_AUTH_TOKEN=' . $sAuthToken. '; ZM_TEST='. true;
$url = "http://$ServerUrl/service/upload?fmt=raw";
$params = array (
'uploadFile' => "@$file"
);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
//curl_setopt($ch, CURLOPT_VERBOSE, 1);
curl_setopt($ch, CURLOPT_COOKIE, $cookie);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $params);
curl_setopt ($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt ($ch, CURLOPT_BINARYTRANSFER, true);
curl_setopt ($ch, CURLOPT_COOKIESESSION, true);
curl_setopt ($ch, CURLOPT_FRESH_CONNECT, true);
curl_setopt ($ch, CURLOPT_HEADER, true);
curl_setopt ($ch, CURLOPT_NOPROGRESS, false);
curl_setopt ($ch, CURLOPT_VERBOSE, true);
curl_setopt ($ch, CURLOPT_HTTPHEADER,$header_array);
//Apply proxy settings
$sysConf = System::getSystemConfiguration();
if ($sysConf['proxy_host'] != '') {
curl_setopt($ch, CURLOPT_PROXY, $sysConf['proxy_host'] . ($sysConf['proxy_port'] != '' ? ':' . $sysConf['proxy_port'] : ''));
if ($sysConf['proxy_port'] != '') {
curl_setopt($ch, CURLOPT_PROXYPORT, $sysConf['proxy_port']);
}
if ($sysConf['proxy_user'] != '') {
curl_setopt($ch, CURLOPT_PROXYUSERPWD, $sysConf['proxy_user'] . ($sysConf['proxy_pass'] != '' ? ':' . $sysConf['proxy_pass'] : ''));
}
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:'));
}
if ( ! $response = curl_exec($ch)) {
return "Upload error. Connection Error";
}
//G::pr($response);
$header_size = curl_getinfo($ch,CURLINFO_HEADER_SIZE);
$result['header'] = substr($response, 0, $header_size);
$result['body'] = substr( $response, $header_size );
$result['http_code'] = curl_getinfo($ch,CURLINFO_HTTP_CODE);
$result['last_url'] = curl_getinfo($ch,CURLINFO_EFFECTIVE_URL);
$aString = array();
$aExplode = explode(",", $result['body']);
$uploadID = substr($aExplode[2], 1, -2);
curl_close($ch);
// gettin FOlder ID
$FolderResult = $oZimbraObj->getFolder($folderName);
if (isset($FolderResult['id'])) {
$sFolderID = $FolderResult['id'];
} else {
$sFolderID = $FolderResult['folder_attribute_id']['0'];
}
$fileNamePath = $fileLocation;
$fileName = basename($fileNamePath);
$docDetails = $oZimbraObj->getDocId($sFolderID, $fileName);
if ($docDetails) {
$docId = $docDetails['doc_attribute_id'][0];
$docVersion = $docDetails['doc_attribute_ver'][0];
}
$uploadResult = $oZimbraObj->upload($sFolderID, $uploadID, $docVersion, $docId);
if (isset($uploadResult['error'])) {
return $uploadResult['error'];
} else {
return "The file has been uploaded Successfully";
}
}

View File

@@ -17,7 +17,6 @@ INSERT INTO CONTENT (CON_CATEGORY,CON_PARENT,CON_ID,CON_LANG,CON_VALUE) VALUES
('PER_NAME','','00000000000000000000000000000009','en','Supervisor'),
('PER_NAME','','00000000000000000000000000000010','en','Setup Advanced'),
('PER_NAME','','00000000000000000000000000000011','en','Dashboard'),
('PER_NAME','','00000000000000000000000000000012','en','WebDav'),
('PER_NAME','','00000000000000000000000000000013','en','Delete cases'),
('PER_NAME','','00000000000000000000000000000014','en','Edit Personal Info'),
('PER_NAME','','00000000000000000000000000000015','en','View Folders'),

View File

@@ -1,50 +0,0 @@
<?php
ini_set( "default_charset", "UTF-8" );
function AuthenticationBasicHTTP ($realm)
{
if (empty( $_SERVER['PHP_AUTH_USER'] ) && empty( $_SERVER['REDIRECT_REMOTE_USER'] )) {
header( 'WWW-Authenticate: Basic realm="' . $realm . '"' );
header( 'HTTP/1.0 401 Unauthorized' );
die( '401 Unauthorized' );
}
global $RBAC;
$uid = $RBAC->VerifyLogin( $_SERVER['PHP_AUTH_USER'], $_SERVER['PHP_AUTH_PW'] );
if ($uid > 0) {
// Asign the uid of user to userloggedobj
$RBAC->loadUserRolePermission( $RBAC->sSystem, $uid );
$res = $RBAC->userCanAccess( 'PM_WEBDAV' );
if ($res != 1) {
if ($res == - 2)
$msg = G::LoadTranslation( 'ID_USER_HAVENT_RIGHTS_SYSTEM' );
else
$msg = G::LoadTranslation( 'ID_USER_HAVENT_RIGHTS_PAGE' );
header( 'WWW-Authenticate: Basic realm="' . $realm . '"' );
header( 'HTTP/1.0 401 ' . $msg );
die( '401 ' . $msg );
return false;
die();
}
return true;
}
header( 'WWW-Authenticate: Basic realm="' . $realm . '"' );
header( 'HTTP/1.0 401 Unauthorized' );
die( '401 Unauthorized' );
return false;
}
$realm = 'ProcessMaker Filesystem for Workspace ' . config("system.workspace");
# Choice an authentification type Digest or Basic
//AuthenticationDigestHTTP($realm, $users, $phpcgi);
AuthenticationBasicHTTP( $realm );
$server = new ProcessMakerWebDav();
# Real path of your site
$server->ServeRequest( "" );

View File

@@ -33,7 +33,6 @@ $aRequiredPermissions = array('PM_LOGIN',
'PM_SUPERVISOR',
'PM_SETUP_ADVANCE',
'PM_DASHBOARD',
'PM_WEBDAV',
'PM_DELETECASE',
'PM_EDITPERSONALINFO',
'PM_FOLDERS_VIEW',

View File

@@ -7593,11 +7593,6 @@ input:checked + .slider:before {
background-position: -72px -223px;
}
.pmZimbra {
background: url(../img/triggerWizard.png) no-repeat;
background-position: -78px -15px;
}
.pmSugar {
background: url(../img/triggerWizard.png) no-repeat;
background-position: -68px -152px;

View File

@@ -111273,8 +111273,7 @@ InputDocument.prototype.build = function () {
"pmSugar",
"pmTalend",
"pmTrAlfresco",
"pmTrSharepoint",
"pmZimbra"
"pmTrSharepoint"
];
if (arrayTriggerWizards.indexOf(response[i].lib_name) == -1) {

View File

@@ -12306,8 +12306,7 @@ InputDocument.prototype.build = function () {
"pmSugar",
"pmTalend",
"pmTrAlfresco",
"pmTrSharepoint",
"pmZimbra"
"pmTrSharepoint"
];
if (arrayTriggerWizards.indexOf(response[i].lib_name) == -1) {

View File

@@ -4487,11 +4487,6 @@ input:checked + .slider:before {
background-position: -72px -223px;
}
.pmZimbra {
background: url(../img/triggerWizard.png) no-repeat;
background-position: -78px -15px;
}
.pmSugar {
background: url(../img/triggerWizard.png) no-repeat;
background-position: -68px -152px;

View File

@@ -593,10 +593,6 @@ if ($oPluginRegistry->isRegisteredFolder(SYS_COLLECTION)) {
if (SYS_COLLECTION == 'services') {
$avoidChangedWorkspaceValidation = true;
$targetPlugin = explode('/', SYS_TARGET);
if ($targetPlugin[0] == 'webdav') {
$phpFile = Bootstrap::ExpandPath('methods') . SYS_COLLECTION . PATH_SEP . 'webdav.php';
}
}
if (SYS_COLLECTION == 'login' && SYS_TARGET == 'login') {