cpee 2.1.127 → 2.1.129

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7f811c1ddb36752bb15ad3c84113dc30991abbc06f9c368e969fc667d0d41c7c
4
- data.tar.gz: 8ef05255738eb5dbe3d9391978c31aeedb6d8721dfa625b93b70d86335aae22d
3
+ metadata.gz: 13fd2a50076a688c934f6d3bf45de28fc8c2210fc614a6649084dddcde149b03
4
+ data.tar.gz: b070e1ffd7a84a7db5565bc13bb8fe576523c4119e2ca863258c05abd1e5098a
5
5
  SHA512:
6
- metadata.gz: 991563bdbfdf073f3b902a600ee56a673965fd50b7688787cec034b127d53f036f30f56eb737af24cd9e623f242b16493e5321486c080b8ac998334bcc5f7226
7
- data.tar.gz: 57298f096ed1bdbf98556278efbb8af4dc5d12ca90db6c7f96121e3ca54a12c563ef54019e32283b6d94eb5d1e51fe63caa247902dc9997c42e5b504c19b7264
6
+ metadata.gz: 8ec3aaa6b85df17d74fbb29a5156f4f147990cbe108f00765868a2a4bf6abf6817935be81cdf5d1709ecdb757f5df9c5fa2fde130af805222beac8a1d53cd2c9
7
+ data.tar.gz: a55634e47a29a505831c1850f6fe82fdf3b934cca4e7638aab38f2e4ecedbe497d3bfe3d214d36c39c7f937b8b669f4b1bca47ce83fa5bb8e63b2161581303d2
@@ -58,12 +58,14 @@
58
58
  <script type="text/javascript" src="js/details.js"></script>
59
59
  <script type="text/javascript" src="js/parameters.js"></script>
60
60
  <script type="text/javascript" src="js/extended_columns.js"></script>
61
+ <script type="text/javascript" src="js/edit.js"></script>
61
62
  <script type="text/javascript" src="js/modifiers.js"></script>
62
63
  <script type="text/javascript" src="themes/base.js"></script>
63
64
  <link rel="stylesheet" href="css/ui.css" type="text/css"/>
64
65
  <link rel="stylesheet" href="css/extended_columns-label.css" type="text/css"/>
65
66
  <link rel="stylesheet" href="css/extended_columns-svg.css" type="text/css" data-include-export="true"/>
66
67
  <link rel="stylesheet" href="/global_ui/uicpee.css" type="text/css"/>
68
+ <style></style>
67
69
 
68
70
  <script type="text/javascript" src="js/compliance.js"></script>
69
71
  <link rel="stylesheet" href="css/compliance.css" type="text/css"/>
@@ -137,7 +139,7 @@
137
139
  <ui-tabbed id="instance">
138
140
  <ui-tabbar>
139
141
  <ui-tab class="switch" ></ui-tab>
140
- <ui-tab class="" data-tab="new" id="tabnew" >New</ui-tab>
142
+ <ui-tab class="" data-tab="new" id="tabnew" >Config</ui-tab>
141
143
  <ui-tab class="inactive hidden" data-tab="instance" id="tabinstance" >Instance</ui-tab>
142
144
  <ui-tab class="inactive hidden" data-tab="execution" id="tabexecution">Execution</ui-tab>
143
145
  <ui-behind ><a style='display:none' target='_blank' id='current-instance'></a><a style='display:none' target='_blank' id='current-instance-properties'>P</a><a style='display:none' target='_blank' id='current-instance-subscriptions'>S</a><a style='display:none' target='_blank' id='current-instance-callbacks'>C</a></ui-behind>
@@ -149,17 +151,14 @@
149
151
  <tr>
150
152
  <td>Resources:</td>
151
153
  <td><input name="res-url" type="text" value=""/></td>
152
- <td></td>
153
154
  </tr>
154
155
  <tr>
155
156
  <td>Engine:</td>
156
157
  <td><input name="base-url" type="text" value=""/></td>
157
- <td><button name="base">create new instance</button></td>
158
158
  </tr>
159
159
  <tr>
160
160
  <td>Instance:</td>
161
161
  <td><input name="instance-url" type="text" value=""/></td>
162
- <td><button name="instance">monitor instance</button></td>
163
162
  </tr>
164
163
  </table>
165
164
  </ui-area> <!--}}}-->
@@ -170,7 +169,8 @@
170
169
  <form id='fuckchrome'>
171
170
  <input type='file' name='testsetfile' id='testsetfile'/>
172
171
  </form>
173
- <button title='a template includes various settings, subscriptions or a (partial) model' name="loadtestset">load template</button><button title='a testset includes various settings, subscriptions or a model' name="loadtestsetfile">load testset</button>
172
+ <button title='save a testset includes various settings, subscriptions and a model' name="save" disabled=""><div>save</div><div class="hidden" id='lastsavedline'>(last: <span id="lastsaved"></span>)</div></button>
173
+ <button title='a testset includes various settings, subscriptions or a model' name="loadtestsetfile">load testset</button>
174
174
  </div>
175
175
  <div>
176
176
  <input type='file' name='modelfile' id='modelfile'/>
@@ -238,7 +238,7 @@
238
238
  <ui-tab class="" data-tab="dataelements" id="tabdataelements">Data Objects</ui-tab>
239
239
  <ui-tab class="inactive" data-tab="endpoints" id="tabendpoints" >Endpoints</ui-tab>
240
240
  <ui-tab class="inactive" data-tab="attributes" id="tabattributes" >Attributes</ui-tab>
241
- <ui-tab class="inactive" data-tab="requirements" id="tabrequirements">Requirements</ui-tab>
241
+ <ui-tab class="inactive" data-tab="requirements" id="tabrequirements">Requirements</ui-tab>
242
242
  <ui-behind ></ui-behind>
243
243
  </ui-tabbar>
244
244
  <ui-content>
@@ -274,16 +274,18 @@
274
274
  </ui-tabbar>
275
275
  <ui-content>
276
276
  <ui-area data-belongs-to-tab="details" id='graphcolumn' oncontextmenu='return false'>
277
- <div id="modelling">
277
+ <ui-part id='modelling'>
278
278
  <div id='graphgrid'>
279
279
  <div class="resource-label" style="display: none"></div>
280
280
  <svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:x="http://www.w3.org/1999/xlink" id='graphcanvas' class='graphcolumn' width='1' height='1'></svg>
281
281
  </div>
282
- </div>
282
+ </ui-part>
283
283
  </ui-area>
284
284
  <ui-resizehandle data-belongs-to-tab="details" data-label="drag to resize"></ui-resizehandle>
285
285
  <ui-area data-belongs-to-tab="details" id="detailcolumn">
286
- <div id="dat_details" class='x-ui-layout'></div>
286
+ <ui-part id='details'>
287
+ <div id="dat_details" class='x-ui-layout'></div>
288
+ </ui-part>
287
289
  </ui-area>
288
290
  <ui-area data-belongs-to-tab="dsl" id="areadsl" class="inactive"></ui-area>
289
291
  <ui-area data-belongs-to-tab="log" id="arealog" class="inactive"> <!--{{{-->
data/cockpit/edit.html CHANGED
@@ -65,10 +65,7 @@
65
65
  <link rel="stylesheet" href="css/extended_columns-label.css" type="text/css"/>
66
66
  <link rel="stylesheet" href="css/extended_columns-svg.css" type="text/css" data-include-export="true"/>
67
67
  <link rel="stylesheet" href="/global_ui/uicpee.css" type="text/css"/>
68
- <style>
69
- /* has to be fucking inline, because firefox and chrome disagree how to handle filter urls */
70
- /* shit balls, no elegance is left in this world */
71
- </style>
68
+ <style></style>
72
69
  </head>
73
70
  <body data-base-port="8298" data-res-port="9303" data-theme-base="themes" is="x-ui-">
74
71
  <div id='disclaimer' class='hidden'> <!--{{{-->
@@ -268,16 +265,18 @@
268
265
  </ui-tabbar>
269
266
  <ui-content>
270
267
  <ui-area data-belongs-to-tab="details" id='graphcolumn' oncontextmenu='return false'>
271
- <div id="modelling">
268
+ <ui-part id='modelling'>
272
269
  <div id='graphgrid'>
273
270
  <div class="resource-label" style="display: none"></div>
274
271
  <svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:x="http://www.w3.org/1999/xlink" id='graphcanvas' class='graphcolumn' width='1' height='1'></svg>
275
272
  </div>
276
- </div>
273
+ </ui-part>
277
274
  </ui-area>
278
275
  <ui-resizehandle data-belongs-to-tab="details" data-label="drag to resize"></ui-resizehandle>
279
276
  <ui-area data-belongs-to-tab="details" id="detailcolumn">
280
- <div id="dat_details" class='x-ui-layout'></div>
277
+ <ui-part id='details'>
278
+ <div id="dat_details" class='x-ui-layout'></div>
279
+ </ui-part>
281
280
  </ui-area>
282
281
  <ui-area data-belongs-to-tab="dsl" id="areadsl" class="inactive"></ui-area>
283
282
  <ui-area data-belongs-to-tab="log" id="arealog" class="inactive"> <!--{{{-->
data/cockpit/index.html CHANGED
@@ -64,10 +64,7 @@
64
64
  <link rel="stylesheet" href="css/extended_columns-label.css" type="text/css"/>
65
65
  <link rel="stylesheet" href="css/extended_columns-svg.css" type="text/css" data-include-export="true"/>
66
66
  <link rel="stylesheet" href="/global_ui/uicpee.css" type="text/css"/>
67
- <style>
68
- /* has to be fucking inline, because firefox and chrome disagree how to handle filter urls */
69
- /* shit balls, no elegance is left in this world */
70
- </style>
67
+ <style></style>
71
68
  </head>
72
69
  <body data-base-port="8298" data-res-port="9303" data-theme-base="themes" is="x-ui-">
73
70
  <div id='disclaimer' class='hidden'> <!--{{{-->
@@ -269,16 +266,18 @@
269
266
  </ui-tabbar>
270
267
  <ui-content>
271
268
  <ui-area data-belongs-to-tab="details" id='graphcolumn' oncontextmenu='return false'>
272
- <div id="modelling">
269
+ <ui-part id='modelling'>
273
270
  <div id='graphgrid'>
274
271
  <div class="resource-label" style="display: none"></div>
275
272
  <svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:x="http://www.w3.org/1999/xlink" id='graphcanvas' class='graphcolumn' width='1' height='1'></svg>
276
273
  </div>
277
- </div>
274
+ </ui-part>
278
275
  </ui-area>
279
276
  <ui-resizehandle data-belongs-to-tab="details" data-label="drag to resize"></ui-resizehandle>
280
277
  <ui-area data-belongs-to-tab="details" id="detailcolumn">
281
- <div id="dat_details" class='x-ui-layout'></div>
278
+ <ui-part id='details'>
279
+ <div id="dat_details" class='x-ui-layout'></div>
280
+ </ui-part>
282
281
  </ui-area>
283
282
  <ui-area data-belongs-to-tab="dsl" id="areadsl" class="inactive"></ui-area>
284
283
  <ui-area data-belongs-to-tab="log" id="arealog" class="inactive"> <!--{{{-->
@@ -95,6 +95,47 @@ var sub_less = 'topic' + '=' + 'activity' + '&' +// {{{
95
95
  'topic' + '=' + 'handlers' + '&' +
96
96
  'events' + '=' + 'change';// }}}
97
97
 
98
+ function sanitize_url(url) { //{{{
99
+ var lastChar = url.substr(url.length - 1)
100
+ if (lastChar != '/') {
101
+ url = (url + '/');
102
+ }
103
+ return url;
104
+ }
105
+ //}}}
106
+ function translate_endpoint(ep) { //{{{
107
+ return ep.replace(/\{[^\/\}]+\}/g,'*');
108
+ } //}}}
109
+ function get_resource(base, key, loc, cache) { //{{{
110
+ cache[key] = {};
111
+ let deferreds = [new $.Deferred(), new $.Deferred(), new $.Deferred()];
112
+ $.ajax({
113
+ url: base + 'endpoints/' + encodeURIComponent(translate_endpoint(loc)) + "/symbol.svg",
114
+ success: function(res) {
115
+ cache[key]['symbol'] = res;
116
+ deferreds[0].resolve(true);
117
+ },
118
+ error: deferreds[0].resolve
119
+ })
120
+ $.ajax({
121
+ url: base + 'endpoints/' + encodeURIComponent(translate_endpoint(loc)) + "/schema.rng",
122
+ success: function(res) {
123
+ cache[key]['schema'] = res;
124
+ deferreds[1].resolve(true);
125
+ },
126
+ error: deferreds[1].resolve
127
+ })
128
+ $.ajax({
129
+ url: base + 'endpoints/' + encodeURIComponent(translate_endpoint(loc)) + "/properties.json",
130
+ success: function(res) {
131
+ cache[key]['properties'] = res;
132
+ deferreds[2].resolve(true);
133
+ },
134
+ error: deferreds[2].resolve
135
+ })
136
+ return deferreds;
137
+ } //}}}
138
+
98
139
  function cockpit() { //{{{
99
140
  $("button[name=base]").click(function(){ create_instance($("input[name=base-url]").val(),null,false,false); });
100
141
  $("button[name=instance]").click(function(){ uidash_activate_tab("#tabinstance"); monitor_instance($("input[name=instance-url]").val(),$("input[name=res-url]").val(),false,false); });
@@ -229,14 +270,6 @@ function cockpit() { //{{{
229
270
  });
230
271
  } //}}}
231
272
 
232
- function sanitize_url(url) { //{{{
233
- var lastChar = url.substr(url.length - 1)
234
- if (lastChar != '/') {
235
- url = (url + '/');
236
- }
237
- return url;
238
- }
239
- //}}}
240
273
  function check_subscription() { // {{{
241
274
  var url = $('body').attr('current-instance');
242
275
  var num = 0;
@@ -326,6 +359,7 @@ async function sse() { //{{{
326
359
  break;
327
360
  case 'description':
328
361
  monitor_instance_dsl();
362
+ monitor_graph_change(false);
329
363
  break;
330
364
  case 'endpoints':
331
365
  monitor_instance_values("endpoints");
@@ -373,6 +407,7 @@ async function sse() { //{{{
373
407
  await monitor_instance_values("attributes"); // attributes first, to catch the <resources> attribute which overrides current-resources
374
408
  monitor_instance_values("dataelements");
375
409
  monitor_instance_dsl();
410
+ monitor_graph_change(false);
376
411
  monitor_instance_state();
377
412
  } //}}}
378
413
 
@@ -453,40 +488,6 @@ function monitor_instance(cin,rep,load,exec) {// {{{
453
488
  });
454
489
  }// }}}
455
490
 
456
- function translate_endpoint(ep) {
457
- return ep.replace(/\{[^\/\}]+\}/g,'*');
458
- }
459
-
460
- function get_resource(base, key, loc, cache) {
461
- cache[key] = {};
462
- let deferreds = [new $.Deferred(), new $.Deferred(), new $.Deferred()];
463
- $.ajax({
464
- url: base + 'endpoints/' + encodeURIComponent(translate_endpoint(loc)) + "/symbol.svg",
465
- success: function(res) {
466
- cache[key]['symbol'] = res;
467
- deferreds[0].resolve(true);
468
- },
469
- error: deferreds[0].resolve
470
- })
471
- $.ajax({
472
- url: base + 'endpoints/' + encodeURIComponent(translate_endpoint(loc)) + "/schema.rng",
473
- success: function(res) {
474
- cache[key]['schema'] = res;
475
- deferreds[1].resolve(true);
476
- },
477
- error: deferreds[1].resolve
478
- })
479
- $.ajax({
480
- url: base + 'endpoints/' + encodeURIComponent(translate_endpoint(loc)) + "/properties.json",
481
- success: function(res) {
482
- cache[key]['properties'] = res;
483
- deferreds[2].resolve(true);
484
- },
485
- error: deferreds[2].resolve
486
- })
487
- return deferreds;
488
- }
489
-
490
491
  function monitor_instance_values(type,vals) {// {{{
491
492
  if (type == "dataelements" && save['state'] == "running") {
492
493
  let de = save[type].save();
@@ -771,7 +772,6 @@ function monitor_instance_dsl() {// {{{
771
772
  res = res.replace(/activity\s+\[:([A-Za-z][a-zA-Z0-9_]+)([^\]]*\])/g,"<span class='activities' id=\"activity-$1\">activity [:$1$2</span>");
772
773
 
773
774
  ctv.append(res);
774
- monitor_graph_change(false);
775
775
  }
776
776
  }
777
777
  });
@@ -1600,9 +1600,7 @@ function append_to_log(what,type,message) {//{{{
1600
1600
  }
1601
1601
  }//}}}
1602
1602
 
1603
- function report_failure(){}
1604
-
1605
- function ui_pos(e,bl) {
1603
+ function ui_pos(e,bl) { //{{{
1606
1604
  var url = $('body').attr('current-instance');
1607
1605
  var coll = [];
1608
1606
  $('g.element.primitive > g.activities.active, g.element.primitive > g.activities.passive').each(function(a,b){
@@ -1626,16 +1624,18 @@ function ui_pos(e,bl) {
1626
1624
  success: monitor_instance_pos,
1627
1625
  error: report_failure
1628
1626
  });
1629
- }
1630
- function del_ui_pos(e) {
1627
+ } //}}}
1628
+ function del_ui_pos(e) { //{{{
1631
1629
  ui_pos(e,function(coll){
1632
1630
  coll.splice(coll.findIndex((ele)=>ele[0] == $(e).attr('id')),1);
1633
1631
  return coll;
1634
1632
  });
1635
- }
1636
- function add_ui_pos(e) {
1633
+ } //}}}
1634
+ function add_ui_pos(e) { //{{{
1637
1635
  ui_pos(e,function(coll){
1638
1636
  coll.push([$(e).attr('id'), e.nodeName == 'stop' ? 'after' : 'at']);
1639
1637
  return coll;
1640
1638
  });
1641
- }
1639
+ } //}}}
1640
+
1641
+ function report_failure(){}
data/cockpit/llm.html CHANGED
@@ -19,6 +19,7 @@
19
19
  <head>
20
20
  <meta charset="utf-8"/>
21
21
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
22
+ <link rel="icon" type="image/png" href="/favicon.png">
22
23
  <title>CPEE Cockpit</title>
23
24
 
24
25
  <!-- libs, do not modify. When local than load local libs. -->
@@ -40,6 +41,8 @@
40
41
  <script type="text/javascript" src="/js_libs/uidash.js"></script>
41
42
  <script type="text/javascript" src="/js_libs/custommenu.js"></script>
42
43
 
44
+ <script type="text/javascript" src="/js_libs/build-bpmn.js"></script>
45
+
43
46
  <link rel="stylesheet" href="/js_libs/custommenu.css" type="text/css"/>
44
47
  <link rel="stylesheet" href="/js_libs/uidash.css" type="text/css"/>
45
48
 
@@ -176,10 +179,16 @@
176
179
  <button title='a standalone process model is only loadable if the currently loaded testset sucessfully prepared the current instance for the type of model' name="loadmodelfile">load model</button>
177
180
  </div>
178
181
  </div><div class='section'>
179
- <a id="savetestsetfile" href="" download=""></a>
180
- <a id="savesvgfile" href="" download=""></a>
181
- <button title='a testset includes various settings, subscriptions and a model' name="savetestsetfile">save<br>testset</button>
182
- <button title='a testset includes various settings, subscriptions and a model' name="savesvgfile">save svg<br>graph</button>
182
+ <div>
183
+ <a id="savetestsetfile" href="" download=""></a>
184
+ <a id="savesvgfile" href="" download=""></a>
185
+ <button title='a testset includes various settings, subscriptions and a model' name="savetestsetfile">save<br>testset</button>
186
+ <button title='the SVG contains the graphical repesentation of the CPEE tree as you see it on the screen' name="savesvgfile">save svg<br>graph</button>
187
+ </div>
188
+ <div>
189
+ <a id="savebpmnfile" href="" download=""></a>
190
+ <button title='the BPMN includes a graphical representation that can be loaded in Signavio and Camundal' name="savebpmnfile">save BPMN</button>
191
+ </div>
183
192
  </div><div class='section' id='modifiers'>
184
193
  <template id="item">
185
194
  <div>
@@ -302,7 +311,9 @@
302
311
  </ui-area>
303
312
  <ui-resizehandle data-belongs-to-tab="details" data-label="drag to resize"></ui-resizehandle>
304
313
  <ui-area data-belongs-to-tab="details" id="detailcolumn">
305
- <div id="dat_details" class='x-ui-layout'></div>
314
+ <ui-part id='details'>
315
+ <div id="dat_details" class='x-ui-layout'></div>
316
+ </ui-part>
306
317
  </ui-area>
307
318
  <ui-area data-belongs-to-tab="dsl" id="areadsl" class="inactive"></ui-area>
308
319
  <ui-area data-belongs-to-tab="log" id="arealog" class="inactive"> <!--{{{-->
@@ -19,6 +19,7 @@
19
19
  <head>
20
20
  <meta charset="utf-8"/>
21
21
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
22
+ <link rel="icon" type="image/png" href="/favicon.png">
22
23
  <title>CPEE Cockpit</title>
23
24
 
24
25
  <!-- libs, do not modify. When local than load local libs. -->
@@ -40,6 +41,8 @@
40
41
  <script type="text/javascript" src="/js_libs/uidash.js"></script>
41
42
  <script type="text/javascript" src="/js_libs/custommenu.js"></script>
42
43
 
44
+ <script type="text/javascript" src="/js_libs/build-bpmn.js"></script>
45
+
43
46
  <link rel="stylesheet" href="/js_libs/custommenu.css" type="text/css"/>
44
47
  <link rel="stylesheet" href="/js_libs/uidash.css" type="text/css"/>
45
48
 
@@ -55,6 +58,7 @@
55
58
  <script type="text/javascript" src="js/details.js"></script>
56
59
  <script type="text/javascript" src="js/parameters.js"></script>
57
60
  <script type="text/javascript" src="js/extended_columns.js"></script>
61
+ <script type="text/javascript" src="js/edit.js"></script>
58
62
  <script type="text/javascript" src="js/modifiers.js"></script>
59
63
  <script type="text/javascript" src="themes/base.js"></script>
60
64
 
@@ -88,7 +92,7 @@
88
92
  <ui-tabbed id="instance">
89
93
  <ui-tabbar>
90
94
  <ui-tab class="switch" ></ui-tab>
91
- <ui-tab class="" data-tab="new" id="tabnew" >New</ui-tab>
95
+ <ui-tab class="" data-tab="new" id="tabnew" >Config</ui-tab>
92
96
  <ui-tab class="inactive hidden" data-tab="instance" id="tabinstance" >Instance</ui-tab>
93
97
  <ui-behind ><a style='display:none' target='_blank' id='current-instance'></a><a style='display:none' target='_blank' id='current-instance-properties'>P</a><a style='display:none' target='_blank' id='current-instance-subscriptions'>S</a><a style='display:none' target='_blank' id='current-instance-callbacks'>C</a></ui-behind>
94
98
  <ui-last ><a class="logo" href=".."></a></ui-last>
@@ -99,17 +103,14 @@
99
103
  <tr>
100
104
  <td>Resources:</td>
101
105
  <td><input name="res-url" type="text" value=""/></td>
102
- <td></td>
103
106
  </tr>
104
107
  <tr>
105
108
  <td>Engine:</td>
106
109
  <td><input name="base-url" type="text" value=""/></td>
107
- <td><button name="base">create new instance</button></td>
108
110
  </tr>
109
111
  <tr>
110
112
  <td>Instance:</td>
111
113
  <td><input name="instance-url" type="text" value=""/></td>
112
- <td><button name="instance">monitor instance</button></td>
113
114
  </tr>
114
115
  </table>
115
116
  </ui-area> <!--}}}-->
@@ -120,17 +121,24 @@
120
121
  <form id='fuckchrome'>
121
122
  <input type='file' name='testsetfile' id='testsetfile'/>
122
123
  </form>
123
- <button title='a template includes various settings, subscriptions or a (partial) model' name="loadtestset">load template</button><button title='a testset includes various settings, subscriptions or a model' name="loadtestsetfile">load testset</button>
124
+ <button title='save a testset includes various settings, subscriptions and a model' name="save" disabled=""><div>save</div><div class="hidden" id='lastsavedline'>(last: <span id="lastsaved"></span>)</div></button>
125
+ <button title='a testset includes various settings, subscriptions or a model' name="loadtestsetfile">load testset</button>
124
126
  </div>
125
127
  <div>
126
128
  <input type='file' name='modelfile' id='modelfile'/>
127
129
  <button title='a standalone process model is only loadable if the currently loaded testset sucessfully prepared the current instance for the type of model' name="loadmodelfile">load model</button>
128
130
  </div>
129
131
  </div><div class='section'>
130
- <a id="savetestsetfile" href="" download=""></a>
131
- <a id="savesvgfile" href="" download=""></a>
132
- <button title='a testset includes various settings, subscriptions and a model' name="savetestsetfile">save<br>testset</button>
133
- <button title='a testset includes various settings, subscriptions and a model' name="savesvgfile">save svg<br>graph</button>
132
+ <div>
133
+ <a id="savetestsetfile" href="" download=""></a>
134
+ <a id="savesvgfile" href="" download=""></a>
135
+ <button title='a testset includes various settings, subscriptions and a model' name="savetestsetfile">save<br>testset</button>
136
+ <button title='the SVG contains the graphical repesentation of the CPEE tree as you see it on the screen' name="savesvgfile">save svg<br>graph</button>
137
+ </div>
138
+ <div>
139
+ <a id="savebpmnfile" href="" download=""></a>
140
+ <button title='the BPMN includes a graphical representation that can be loaded in Signavio and Camundal' name="savebpmnfile">save BPMN</button>
141
+ </div>
134
142
  </div><div class='section' id='modifiers'>
135
143
  <template id="item">
136
144
  <div>
@@ -178,7 +186,8 @@
178
186
  <option value="dataflow">Model and Dataflow</option>
179
187
  </select>
180
188
  <select name="mode" id="mode" class='hidden'>
181
- <option value="noendpoints" selected="selected">Generate/Adapt from Scratch</option>
189
+ <option value="noendpoints_docdescription" selected="selected">Generate/Adapt DocDescription</option>
190
+ <option value="noendpoints">Generate/Adapt from Scratch</option>
182
191
  <option value="endpoints">Generate/Adapt with Endpoint Knowledge</option>
183
192
  </select>
184
193
  <button id='prompt_submit_button' title="CTRL-ENTER to Submit" class="llm_button small">➤</button>
data/cockpit/model.html CHANGED
@@ -67,10 +67,7 @@
67
67
  <link rel="stylesheet" href="css/extended_columns-label.css" type="text/css"/>
68
68
  <link rel="stylesheet" href="css/extended_columns-svg.css" type="text/css" data-include-export="true"/>
69
69
  <link rel="stylesheet" href="/global_ui/uicpee.css" type="text/css"/>
70
- <style>
71
- /* has to be fucking inline, because firefox and chrome disagree how to handle filter urls */
72
- /* shit balls, no elegance is left in this world */
73
- </style>
70
+ <style></style>
74
71
  </head>
75
72
  <body data-base-port="8298" data-res-port="9303" data-theme-base="themes" is="x-ui-">
76
73
  <div id='disclaimer' class='hidden'> <!--{{{-->
@@ -178,15 +175,18 @@
178
175
  </ui-tabbar>
179
176
  <ui-content>
180
177
  <ui-area data-belongs-to-tab="details" id='graphcolumn' oncontextmenu='return false'>
181
- <div id="modelling">
178
+ <ui-part id='modelling'>
182
179
  <div id='graphgrid'>
180
+ <div class="resource-label" style="display: none"></div>
183
181
  <svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:x="http://www.w3.org/1999/xlink" id='graphcanvas' class='graphcolumn' width='1' height='1'></svg>
184
182
  </div>
185
- </div>
183
+ </ui-part>
186
184
  </ui-area>
187
185
  <ui-resizehandle data-belongs-to-tab="details" data-label="drag to resize"></ui-resizehandle>
188
186
  <ui-area data-belongs-to-tab="details" id="detailcolumn">
189
- <div id="dat_details" class='x-ui-layout'></div>
187
+ <ui-part id='details'>
188
+ <div id="dat_details" class='x-ui-layout'></div>
189
+ </ui-part>
190
190
  </ui-area>
191
191
  <ui-area data-belongs-to-tab="log" id="arealog" class="inactive"> <!--{{{-->
192
192
  <table id="dat_log" class="x-ui-layout"></table>
@@ -68,10 +68,7 @@
68
68
  <link rel="stylesheet" href="css/extended_columns-label.css" type="text/css"/>
69
69
  <link rel="stylesheet" href="css/extended_columns-svg.css" type="text/css" data-include-export="true"/>
70
70
  <link rel="stylesheet" href="/global_ui/uicpee.css" type="text/css"/>
71
- <style>
72
- /* has to be fucking inline, because firefox and chrome disagree how to handle filter urls */
73
- /* shit balls, no elegance is left in this world */
74
- </style>
71
+ <style></style>
75
72
  </head>
76
73
  <body data-base-port="8298" data-res-port="9303" data-theme-base="themes" is="x-ui-">
77
74
  <div id='disclaimer' class='hidden'> <!--{{{-->
data/cpee.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cpee"
3
- s.version = "2.1.127"
3
+ s.version = "2.1.129"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3.0-or-later"
6
6
  s.summary = "The cloud process execution engine (cpee.org). If you just need workflow execution, without a rest service exposing it, then use WEEL."
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cpee
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.127
4
+ version: 2.1.129
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler
@@ -264,7 +264,6 @@ files:
264
264
  - cockpit/css/track.css
265
265
  - cockpit/css/ui.css
266
266
  - cockpit/css/wfadaptor.css
267
- - cockpit/david.html
268
267
  - cockpit/edit.html
269
268
  - cockpit/graph.html
270
269
  - cockpit/index.html
data/cockpit/david.html DELETED
@@ -1,292 +0,0 @@
1
- <!--
2
- This file is part of CPEE.
3
-
4
- CPEE is free software: you can redistribute it and/or modify it under the terms
5
- of the GNU General Public License as published by the Free Software Foundation,
6
- either version 3 of the License, or (at your option) any later version.
7
-
8
- CPEE is distributed in the hope that it will be useful, but WITHOUT ANY
9
- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
10
- PARTICULAR PURPOSE. See the GNU General Public License for more details.
11
-
12
- You should have received a copy of the GNU General Public License along with
13
- CPEE (file COPYING in the main directory). If not, see
14
- <http://www.gnu.org/licenses/>.
15
- -->
16
-
17
- <!DOCTYPE html>
18
- <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
19
- <head>
20
- <meta charset="utf-8"/>
21
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
22
- <link rel="icon" type="image/png" href="/favicon.png">
23
- <title>CPEE Cockpit</title>
24
-
25
- <!-- libs, do not modify. When local than load local libs. -->
26
- <script type="text/javascript" src="/js_libs/jquery.min.js"></script>
27
- <script type="text/javascript" src="/js_libs/jquery.browser.js"></script>
28
- <script type="text/javascript" src="/js_libs/jquery.svg.min.js"></script>
29
- <script type="text/javascript" src="/js_libs/jquery.svgdom.min.js"></script>
30
- <script type="text/javascript" src="/js_libs/vkbeautify.js"></script>
31
- <script type="text/javascript" src="/js_libs/util.js"></script>
32
- <script type="text/javascript" src="/js_libs/printf.js"></script>
33
- <script type="text/javascript" src="/js_libs/strftime.min.js"></script>
34
- <script type="text/javascript" src="/js_libs/parsequery.js"></script>
35
- <script type="text/javascript" src="/js_libs/underscore.min.js"></script>
36
- <script type="text/javascript" src="/js_libs/jquery.caret.min.js"></script>
37
- <script type="text/javascript" src="/js_libs/jquery.cookie.js"></script>
38
-
39
- <script type="text/javascript" src="/js_libs/relaxngui.js"></script>
40
-
41
- <script type="text/javascript" src="/js_libs/uidash.js"></script>
42
- <script type="text/javascript" src="/js_libs/custommenu.js"></script>
43
-
44
- <script type="text/javascript" src="https://lehre.bpm.in.tum.de/~ge64teg/bachelor-thesis/build-bpmn.js"></script>
45
-
46
- <link rel="stylesheet" href="/js_libs/custommenu.css" type="text/css"/>
47
- <link rel="stylesheet" href="/js_libs/uidash.css" type="text/css"/>
48
-
49
- <link rel="stylesheet" href="/js_libs/relaxngui.css" type="text/css"/>
50
-
51
- <!-- modelling ui -->
52
- <script type="text/javascript" src="js/wfadaptor.js"></script>
53
- <link rel="stylesheet" href="css/wfadaptor.css" type="text/css" data-include-export="true"/>
54
-
55
- <!-- custom stuff, play arround -->
56
- <script type="text/javascript" src="js/ui.js"></script>
57
- <script type="text/javascript" src="js/instance.js"></script>
58
- <script type="text/javascript" src="js/details.js"></script>
59
- <script type="text/javascript" src="js/parameters.js"></script>
60
- <script type="text/javascript" src="js/extended_columns.js"></script>
61
- <script type="text/javascript" src="js/modifiers.js"></script>
62
- <script type="text/javascript" src="themes/base.js"></script>
63
- <link rel="stylesheet" href="css/ui.css" type="text/css"/>
64
- <link rel="stylesheet" href="css/extended_columns-label.css" type="text/css"/>
65
- <link rel="stylesheet" href="css/extended_columns-svg.css" type="text/css" data-include-export="true"/>
66
- <link rel="stylesheet" href="/global_ui/uicpee.css" type="text/css"/>
67
- <style>
68
- /* has to be fucking inline, because firefox and chrome disagree how to handle filter urls */
69
- /* shit balls, no elegance is left in this world */
70
- </style>
71
- </head>
72
- <body data-base-port="8298" data-res-port="9303" data-theme-base="themes" is="x-ui-">
73
- <div id='disclaimer' class='hidden'> <!--{{{-->
74
- <h1>Disclaimer</h1>
75
-
76
- <p>
77
- We use reasonable care in creating and presenting the functionality
78
- found in this demonstrator. It is provided purely for demonstration purposes
79
- and you should seek further guidance and make independent enquiries
80
- before relying upon it.
81
- </p>
82
-
83
- <p>
84
- All functionality included in this demonstrator is subject to change
85
- without notice. We make no representation or warranty whatsoever
86
- regarding the completeness, accuracy, adequacy, suitability or
87
- operation of this demonstrator, or of the results it produces.
88
- </p>
89
-
90
- <p>
91
- We assume no responsibility for process instances created with this
92
- demonstrator and disclaim all liability arising from negligence or
93
- otherwise in respect of such process instances. We will not be liable
94
- for any damages (including, without limitation, damages for any
95
- consequential loss or loss of business opportunities or projects, or
96
- loss of profits) howsoever arising from use of or inability to use
97
- this demonstrator, or from any action or omission taken as a result of
98
- using this demonstrator.
99
- </p>
100
-
101
- <p>
102
- This demonstrator is hosted in Austria. All liability is excluded to the extent
103
- permitted by law including any implied terms. Any interpretation of its
104
- content, claims or disputes (of whatever nature and not limited to contractual
105
- issues) shall be subject to the exclusive jurisdiction of the Austrian Courts
106
- under Austrian law.
107
- </p>
108
-
109
- <p>
110
- All actions performed while using this demonstrator will be logged, including
111
- the IP address of the user.
112
- </p>
113
-
114
- <p>
115
- <input id='iagree' type='checkbox'/><label for='iagree'><strong>OK, I Agree with this terms. I will be a happy person, and do no evil.</strong></label>
116
- </p>
117
- <p>
118
- <button id='icontinue' disabled='disabled'>Continue</button>
119
- </p>
120
- </div> <!--}}}-->
121
-
122
- <div class='hidden' id='relaxngworker'></div>
123
-
124
- <div class='menu' id='templates'></div>
125
- <div class='menu' id='modeltypes'></div>
126
-
127
- <template id="label">
128
- <svg width="20" height="20" xmlns="http://www.w3.org/2000/svg" style="position: absolute; top: 0; left: 0;" class="displaylabel">
129
- <g transform="translate(1 %%1) rotate(-%%2)">
130
- <rect class="displaylabel" width="200" height="14" x="8" y="0" rx="5" ry="5"/>
131
- <path class="displaylabel" d="M10,13 0,13 8,8"/>
132
- <path class="displaylabelinner" d="M10,11.5 8.5,11.5 8.5,9.5 10,9.5"/>
133
- <text class="label" x="18" y="10">aaaa</text>
134
- </g>
135
- </svg>
136
- </template>
137
-
138
- <ui-tabbed id="instance">
139
- <ui-tabbar>
140
- <ui-tab class="switch" ></ui-tab>
141
- <ui-tab class="" data-tab="new" id="tabnew" >New</ui-tab>
142
- <ui-tab class="inactive hidden" data-tab="instance" id="tabinstance" >Instance</ui-tab>
143
- <ui-tab class="inactive hidden" data-tab="execution" id="tabexecution">Execution</ui-tab>
144
- <ui-behind ><a style='display:none' target='_blank' id='current-instance'></a><a style='display:none' target='_blank' id='current-instance-properties'>P</a><a style='display:none' target='_blank' id='current-instance-subscriptions'>S</a><a style='display:none' target='_blank' id='current-instance-callbacks'>C</a></ui-behind>
145
- <ui-last ><a class="logo" href=".."></a></ui-last>
146
- </ui-tabbar>
147
- <ui-content>
148
- <ui-area data-belongs-to-tab="new" id="areanew"> <!--{{{-->
149
- <table class='x-ui-layout'>
150
- <tr>
151
- <td>Resources:</td>
152
- <td><input name="res-url" type="text" value=""/></td>
153
- <td></td>
154
- </tr>
155
- <tr>
156
- <td>Engine:</td>
157
- <td><input name="base-url" type="text" value=""/></td>
158
- <td><button name="base">create new instance</button></td>
159
- </tr>
160
- <tr>
161
- <td>Instance:</td>
162
- <td><input name="instance-url" type="text" value=""/></td>
163
- <td><button name="instance">monitor instance</button></td>
164
- </tr>
165
- </table>
166
- </ui-area> <!--}}}-->
167
- <ui-area data-belongs-to-tab="instance" id="areainstance" class="inactive"> <!--{{{-->
168
- <div>
169
- <div class='section'>
170
- <div>
171
- <form id='fuckchrome'>
172
- <input type='file' name='testsetfile' id='testsetfile'/>
173
- </form>
174
- <button title='a template includes various settings, subscriptions or a (partial) model' name="loadtestset">load template</button><button title='a testset includes various settings, subscriptions or a model' name="loadtestsetfile">load testset</button>
175
- </div>
176
- <div>
177
- <input type='file' name='modelfile' id='modelfile'/>
178
- <button title='a standalone process model is only loadable if the currently loaded testset sucessfully prepared the current instance for the type of model' name="loadmodelfile">load model</button>
179
- </div>
180
- </div><div class='section'>
181
- <div>
182
- <a id="savetestsetfile" href="" download=""></a>
183
- <a id="savesvgfile" href="" download=""></a>
184
- <button title='a testset includes various settings, subscriptions and a model' name="savetestsetfile">save<br>testset</button>
185
- <button title='the SVG contains the graphical repesentation of the CPEE tree as you see it on the screen' name="savesvgfile">save svg<br>graph</button>
186
- </div>
187
- <div>
188
- <a id="savebpmnfile" href="" download=""></a>
189
- <button title='the BPMN includes a graphical representation that can be loaded in Signavio and Camundal' name="savebpmnfile">save BPMN</button>
190
- </div>
191
- </div><div class='section' id='modifiers'>
192
- <template id="item">
193
- <div>
194
- <div class='title'><strong></strong></div>
195
- <div class='select'><select></select></div>
196
- <div class='additional'></div>
197
- </div>
198
- </template>
199
- </div>
200
- </div>
201
- </ui-area> <!--}}}-->
202
- <ui-area data-belongs-to-tab="execution" id="areaexecution" class='inactive'> <!--{{{-->
203
- <table class='x-ui-compact'>
204
- <tbody class='debug'>
205
- <tr>
206
- <td>Debugging:</td>
207
- <td><input type="checkbox" name="votecontinue"/></td>
208
- </tr>
209
- </tbody>
210
- <tbody class='exe'>
211
- <tr>
212
- <td>State:</td>
213
- <td id='state'>
214
- <span id="state_text"></span>
215
- <span id="state_any" style='display:none'>
216
- <span> ⇒ </span>
217
- <button name="state_start" title='start' style='display:none'>Start</button>
218
- <button name="state_stop" title='stop' style='display:none'>Stop</button>
219
- <span id="state_extended" style='display:none'>
220
- <span> / </span>
221
- <button name="state_abandon" title='abandon' style='display:none'>Abandon</button>
222
- </span>
223
- </span>
224
- </td>
225
- </tr>
226
- <tr>
227
- <td>Continue:</td>
228
- <td id='votes'></td>
229
- </tr>
230
- </tbody>
231
- </table>
232
- </ui-area> <!--}}}-->
233
- </ui-content>
234
- </ui-tabbed>
235
-
236
- <ui-tabbed class="hidden" id='parameters'>
237
- <ui-tabbar>
238
- <ui-tab class="switch" ></ui-tab>
239
- <ui-tab class="" data-tab="dataelements" id="tabdataelements">Data Objects</ui-tab>
240
- <ui-tab class="inactive" data-tab="endpoints" id="tabendpoints" >Endpoints</ui-tab>
241
- <ui-tab class="inactive" data-tab="attributes" id="tabattributes" >Attributes</ui-tab>
242
- <ui-behind ></ui-behind>
243
- </ui-tabbar>
244
- <ui-content>
245
- <ui-area data-belongs-to-tab="dataelements" id="areadataelements"> <!--{{{-->
246
- <button title='add entry'><span>New</span></button>
247
- <div id="dat_dataelements"></div>
248
- </ui-area> <!--}}}-->
249
- <ui-area data-belongs-to-tab="endpoints" id="areaendpoints" class="inactive"> <!--{{{-->
250
- <button title='add entry'><span>New</span></button>
251
- <div id="dat_endpoints"></div>
252
- </ui-area> <!--}}}-->
253
- <ui-area data-belongs-to-tab="attributes" id="areaattributes" class="inactive"> <!--{{{-->
254
- <button title='add entry'><span>New</span></button>
255
- <div id="dat_attributes"></div>
256
- </ui-area> <!--}}}-->
257
- </ui-content>
258
- </ui-tabbed>
259
-
260
- <ui-resizehandle class="hidden">drag to resize</ui-resizehandle>
261
-
262
- <ui-rest id="main" class="hidden">
263
- <ui-tabbar>
264
- <ui-before ></ui-before>
265
- <ui-tab class="" data-tab="details" id="tabdetails">Graph</ui-tab>
266
- <ui-tab class="inactive" data-tab="dsl" id="tabdsl" >Description</ui-tab>
267
- <ui-tab class="inactive" data-tab="log" id="tablog" >Log</ui-tab>
268
- <ui-behind ><a style='display:none' target='_blank' id='current-track'>T</a><a style='display:none' target='_blank' id='current-graph'>G</a></ui-behind>
269
- </ui-tabbar>
270
- <ui-content>
271
- <ui-area data-belongs-to-tab="details" id='graphcolumn' oncontextmenu='return false'>
272
- <div id="modelling">
273
- <div id='graphgrid'>
274
- <div class="resource-label" style="display: none"></div>
275
- <svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:x="http://www.w3.org/1999/xlink" id='graphcanvas' class='graphcolumn' width='1' height='1'></svg>
276
- </div>
277
- </div>
278
- </ui-area>
279
- <ui-resizehandle data-belongs-to-tab="details" data-label="drag to resize"></ui-resizehandle>
280
- <ui-area data-belongs-to-tab="details" id="detailcolumn">
281
- <div id="dat_details" class='x-ui-layout'></div>
282
- </ui-area>
283
- <ui-area data-belongs-to-tab="dsl" id="areadsl" class="inactive"></ui-area>
284
- <ui-area data-belongs-to-tab="log" id="arealog" class="inactive"> <!--{{{-->
285
- <div>Persistent Log: <a style='display:none' target='_blank' id='current-log'></a> [<a style='display:none' target='_blank' id='xml-log'>X</a>,<a style='display:none' target='_blank' id='shifted-log'>S</a>]</div>
286
- <table id="dat_log" class="x-ui-layout"></table>
287
- </ui-area> <!--}}}-->
288
- </ui-content>
289
- </ui-rest>
290
-
291
- </body>
292
- </html>