forked from tomolimo/processmaker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved cases.js Merged 3.2.0 and 3.1.7 versions Changed release version 3.2.1
- Loading branch information
Showing
21 changed files
with
920 additions
and
205 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
# processmaker | ||
GLPI plugin that provides an interface with ProcessMaker (http://www.processmaker.com/). | ||
Is currently compatible to GLPI 9.1 and ProcessMaker 3.0 (see note below) | ||
Note: for ProcessMaker 3.0, this plugin can run old (2.x) and new (3.x) processes | ||
GLPI plugin that provides an interface with ProcessMaker server (http://www.processmaker.com/). | ||
|
||
Is currently compatible with GLPI 9.1 and 9.2 | ||
|
||
Is currently compatible with ProcessMaker 3.0.1.8-RE-1.7 (see https://github.com/tomolimo/processmaker-server/releases/latest) | ||
This plugin can run classic and bpmn processes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
<?php | ||
|
||
//// ---------------------------------------------------------------------- | ||
//// Original Author of file: Olivier Moron | ||
//// Purpose of file: to return list of processes which can be started by end-user | ||
//// ---------------------------------------------------------------------- | ||
|
||
//// Direct access to file | ||
//if (strpos($_SERVER['PHP_SELF'], "dropdownTaskcategories.php")) { | ||
// include ("../../../inc/includes.php"); | ||
// header("Content-Type: text/html; charset=UTF-8"); | ||
// Html::header_nocache(); | ||
//} | ||
|
||
//if (!defined('GLPI_ROOT')) { | ||
// die("Can not acces directly to this file"); | ||
//} | ||
|
||
|
||
//Session::checkLoginUser(); | ||
|
||
|
||
//// Security | ||
//if (!($item = getItemForItemtype($_REQUEST['itemtype']))) { | ||
// exit(); | ||
//} | ||
|
||
//$one_item = -1; | ||
//if (isset($_POST['_one_id'])) { | ||
// $one_item = $_POST['_one_id']; | ||
//} | ||
//// Count real items returned | ||
//$count = 0; | ||
|
||
//if (!isset($_REQUEST['emptylabel']) || ($_REQUEST['emptylabel'] == '')) { | ||
// $_REQUEST['emptylabel'] = Dropdown::EMPTY_VALUE; | ||
//} | ||
|
||
//$search=""; | ||
//if (!empty($_REQUEST['searchText'])) { | ||
// $search = Search::makeTextSearch($_REQUEST['searchText']); | ||
//} | ||
|
||
//$taskcategories = array(); | ||
|
||
//// Empty search text : display first | ||
//if (empty($_REQUEST['searchText'])) { | ||
// if ($_REQUEST['display_emptychoice']) { | ||
// if (($one_item < 0) || ($one_item == 0)) { | ||
// array_push($taskcategories, array('id' => 0, | ||
// 'text' => $_REQUEST['emptylabel'])); | ||
// } | ||
// } | ||
//} | ||
|
||
//$result = PluginProcessmakerTaskCategory::getSqlSearchResult(false, $search); | ||
|
||
//if ($DB->numrows($result)) { | ||
// while ($data=$DB->fetch_array($result)) { | ||
// array_push( $taskcategories, array( 'id' => $data["id"], | ||
// 'text' => $data["name"] )); | ||
// $count++; | ||
// } | ||
//} | ||
|
||
//$ret['results'] = $taskcategories; | ||
//$ret['count'] = $count; | ||
//echo json_encode($ret); |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?php | ||
|
||
include_once ("../../../inc/includes.php"); | ||
|
||
Plugin::load('processmaker', true); | ||
|
||
if (!isset($_REQUEST["id"])) { | ||
$_REQUEST["id"] = ""; | ||
} | ||
|
||
$PluginCaselink = new PluginProcessmakerCaselink(); | ||
|
||
if (isset($_REQUEST["update"])) { | ||
$PluginCaselink->check($_REQUEST['id'], UPDATE); | ||
$PluginCaselink->update($_REQUEST); | ||
Html::back(); | ||
} elseif (isset($_REQUEST['add'])) { | ||
$PluginCaselink->check($_REQUEST['id'], UPDATE); | ||
$PluginCaselink->add($_REQUEST); | ||
Html::back(); | ||
} elseif (isset($_REQUEST['purge'])) { | ||
$PluginCaselink->check($_REQUEST['id'], PURGE); | ||
$PluginCaselink->delete($_REQUEST, true); | ||
$PluginCaselink->redirectToList(); | ||
} else { | ||
|
||
Html::header($LANG['processmaker']['title'][1], $_SERVER['PHP_SELF'], "tools", "PluginProcessmakerMenu", "caselinks"); | ||
|
||
$PluginCaselink->display($_REQUEST); | ||
|
||
Html::footer(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
|
||
include_once ("../../../inc/includes.php"); | ||
|
||
Html::header($LANG['processmaker']['title'][1], $_SERVER['PHP_SELF'], "tools", "PluginProcessmakerMenu", "caselinks"); | ||
|
||
if (Session::haveRightsOr("plugin_processmaker_config", [READ, UPDATE])) { | ||
|
||
Search::show('PluginProcessmakerCaselink'); | ||
|
||
} else { | ||
Html::displayRightError(); | ||
} | ||
Html::footer(); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.