Commit Graph

2536 Commits

Author SHA1 Message Date
Erik Amaru Ortiz
4d59bc2d5a Refactoring of classes that where in workflow/engine/src , now all of them have a unique parent namespace \ProcessMaker 2014-04-02 16:51:28 -04:00
Erik Amaru Ortiz
90c23ad39b Little fix, when a environment don't have output directory on its shared folder 2014-03-31 09:58:10 -04:00
Erik Amaru Ortiz
262e29ab9c BPMN Import/Export Updates, adding url endpoint GET /project/{prj_uid}/export 2014-03-28 12:57:55 -04:00
Erik Amaru Ortiz
00fd862056 BPMN Project Import chages to import alll workflow properties data 2014-03-27 19:11:24 -04:00
Erik Amaru Ortiz
a9141f16e2 BPMN Projects import is working now, first part, it is just importing project that doesn't exist in db. 2014-03-26 20:04:51 -04:00
Erik Amaru Ortiz
16d861c225 Adding SubProcess support for Bpmn->Workflow adapter 2014-03-26 12:21:18 -04:00
Erik Amaru Ortiz
4359ebb8cd import bpmn projects (1st commit - still not functional) 2014-03-26 09:39:18 -04:00
Erik Amaru Ortiz
dd82fab1b6 Removing unused files 2014-03-25 13:46:16 -04:00
Erik Amaru Ortiz
f104861c36 Solving bug: when a BPMN Project is updated a new Workflow::route is created, this is happening each time the project is updated: SOLVED
- now routes are being updated (if already exists) instead create new one each time
2014-03-25 11:30:56 -04:00
Erik Amaru Ortiz
b6aed1a10b Little fix, for invalidad data type in preg_match 2014-03-25 09:28:42 -04:00
Erik Amaru Ortiz
2742702f88 Refactoring, replacing dbArray use by ArrayUtil::sort() implementation 2014-03-19 10:02:46 -04:00
Erik Amaru Ortiz
2277e8a715 FIX, a problem was detected using array_multisort called from call_user_func
It is PHP version bug, that it is already fixed on PHP Vers 5.4.x
so we made a fix, solving that issue just for php 5.3.x with a limitation, that is can be used to sort with a limit of 5 columns to sort be those fields.
2014-03-14 12:57:50 -04:00
Erik Amaru Ortiz
aad2ed0c17 Adding ArrayUtil::sort method, to sort associative arrays by keys 2014-03-13 17:33:19 -04:00
Erik Amaru Ortiz
3026937e08 Adding more improvements to increase performance, by now, it is just affecting for API Rest Requests 2014-03-12 18:20:35 -04:00
Erik Amaru Ortiz
eba8acd56d adding logic on new bootstrap 2014-03-10 16:02:09 -04:00
Erik Amaru Ortiz
ce7f9ef081 Adding Import classes (first commit - incomplete) 2014-03-07 09:51:05 -04:00
Erik Amaru Ortiz
f1cb7170d8 Completing UI integration for new Export methods and fixing some details 2014-03-06 12:39:16 -04:00
Erik Amaru Ortiz
07533e7940 Fix for HttpStream class, updating old scheme to updater return value using pathinfo() func. 2014-03-06 12:10:00 -04:00
Erik Amaru Ortiz
cf0881302b Adding Support t return versions like: 1.1 or 2.4.9 for Util\Common::getLastVersion(...) and its unit test 2014-03-06 10:16:14 -04:00
Erik Amaru Ortiz
2e80216aa0 FIX typing error on __constructor declaration 2014-03-05 20:19:25 -04:00
Erik Amaru Ortiz
6f385257ea Adding ProcessMaker\Util\IO\HttpStream class to handle and send http streams from file ot string 2014-03-05 20:14:32 -04:00
Erik Amaru Ortiz
f455310070 Adding ProcessMaker\Util\Common class utility and unit test 2014-03-05 20:12:21 -04:00
Erik Amaru Ortiz
234f112323 Updating Exporter and XmlExporter classes 2014-03-05 20:10:34 -04:00
Erik Amaru Ortiz
6a4b9218aa Adding Exporter for BPMN Projects (2nd commit)- removing debug code 2014-02-28 19:47:45 -04:00
Erik Amaru Ortiz
1c46a002f3 Adding Exporter for BPMN Projects (2nd commit) 2014-02-28 19:46:29 -04:00
Erik Amaru Ortiz
1a4d3b0a21 Adding Exporter for BPMN Projects (1st commit) 2014-02-28 19:11:34 -04:00
Erik Amaru Ortiz
bf933a5bf2 Adding Unit Test to ensure a right behaviour of BpmnWorkflow Adapter
- flow->gateways (bpmn) to route (workflow) conversion is working fine
 - start and end event (bpmn) to setting start and end tasks is working fine
2014-02-27 15:51:42 -04:00
Erik Amaru Ortiz
a368fa0066 Adding flow listener to save route conditions into workflow project from bpmn flows 2014-02-26 17:38:07 -04:00
Erik Amaru Ortiz
56be79f2ae Updating GET /projects data return, now it is returning all projects bpmn and classic projects
Them can be classified by prj_type: [bpmn|classic]
2014-02-26 12:53:17 -04:00
Erik Amaru Ortiz
ce2c490b55 Removing deprecated function on BpmnWorkflow adapter 2014-02-25 16:53:25 -04:00
Erik Amaru Ortiz
887fa6b46a Adding Unit Tests to BpmnWorkflow Adapter
- Adding Activity->Gateway Flow handler
- Adding Activity->Gateway ==> Route Listener to Adapter

Now gateways with DIVERGING and CONVERGING directions are interpreted as its respective workflow route types.
2014-02-25 13:47:59 -04:00
Erik Amaru Ortiz
75cf6e3eea Adding logic to remove related objects when a gateway is removed for BpmnWorkflow Adapter
- Now when a gateway is removed all its related flows are removed too
- When a gateway is removed all Composed Workflow Routes are removed too
2014-02-24 19:58:32 -04:00
Erik Amaru Ortiz
7962d40a0f Updating Unit Tests for BpmnWorkflow Adapter, and some Bpmn->Workflow logic 2014-02-24 19:10:45 -04:00
Erik Amaru Ortiz
aa9cedf803 Update for BPMN Gateways to Routes handling for BpmnWorkflow adapter 2014-02-21 19:27:15 -04:00
Erik Amaru Ortiz
f62956ae76 Adding validation before update a gateway, it only is updated if its data has been changed 2014-02-20 17:04:25 -04:00
Erik Amaru Ortiz
4545ecb287 Adding ArraUtil class 2014-02-20 10:55:51 -04:00
Erik Amaru Ortiz
4e5f208ca3 Improving changes listener on BpmnWorkflow Adapter 2014-02-20 10:50:52 -04:00
Erik Amaru Ortiz
00ebbeff0d Updates before update on BpmnWorkflow Adapter 2014-02-19 19:32:19 -04:00
Erik Amaru Ortiz
6e555080da Updating BpmnWorkflow Adapter
Now Handling events, is updating only when the event was changed
2014-02-19 13:31:02 -04:00
Erik Amaru Ortiz
ec48facf8b Updates On Bpmn->Workflow Adapter, now activities and flows are updated just when its data have changed 2014-02-18 17:41:45 -04:00
Erik Amaru Ortiz
96e51f5e5b FIX for BpmnWorkflow Adapter class, now the set and unset of start and end tasks on workflow layer, are listening on addFlows and removeFlow methods 2014-02-13 16:40:00 -04:00
Erik Amaru Ortiz
79ee31b761 More Update for BpmnWorkflow Adapter class, now start and end tasks are updating successfully on Workflow Layer 2014-02-12 17:01:19 -04:00
Erik Amaru Ortiz
0e36b7b397 Last FIX for create gateway-activities on BpmnWorkflow Adapter 2014-02-11 20:32:20 -04:00
Erik Amaru Ortiz
ea1f82ed3e Fixing Bpmn::getEvent() 2014-02-11 17:50:14 -04:00
Erik Amaru Ortiz
f4bca968b8 Updating Workflow Adapter class 2014-02-11 16:57:16 -04:00
Erik Amaru Ortiz
0bb319c70e Adding Event handling for bpmn and workflow layer (for start and end task setting) 2014-02-10 19:43:54 -04:00
Erik Amaru Ortiz
29a9ecbdba Updating unit tests for BpmnWorkflow and WorkflowBpmn Adapters tests 2014-02-10 16:35:24 -04:00
Erik Amaru Ortiz
9a4c98bb53 Adding Test Units for BpmnEvent, BpmnGateway classes 2014-02-10 13:09:50 -04:00
Erik Amaru Ortiz
82da942ea1 updates to enable save flow connections between activity->activity and activity->gateway 2014-02-07 15:42:24 -04:00
Erik Amaru Ortiz
68c1d98b96 updates for adapter flows -> to -> route 2014-02-07 08:41:11 -04:00