cpee 2.1.111 → 2.1.112

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: 2328b64e63f8cb6aa07f437e6eb74db8b887f9a19213dedca0b85a87d7ab78a9
4
- data.tar.gz: e8b3d0b931d7c189c000bba2078b35f4a387e7ef256bcab8fd71d6d0253e7d60
3
+ metadata.gz: 0c7c3e12a766f8a89c5808641e922d0eb568ce186a2c0a8a0d262fd58d8b09f2
4
+ data.tar.gz: d4e650cc550e9df8df018eb560f77fe6a9d0a3c29df39d2e5e3aa3f2fc848feb
5
5
  SHA512:
6
- metadata.gz: 5cc21448cdaa794df412a1102a34a59f1d8c27cf75378596331821c0780984fe613a5214a5e854d9ae06037a8ba3260f4629fd9f66d122acdd58248fdde828cd
7
- data.tar.gz: e1962692f65c3b65a3abcc195255705a630cecc53b00c33a852f5afb0bb0e9bf45add649cc63c9e1ebcba59d0bbf2391e4afbb9b9a39a9922962d5a9fb193290
6
+ metadata.gz: f91f1b2362eba08c63f62d205de68dc535a184949a141740c4b2f337ddb05675e3c93848a4521147ca1f8c1fa295fe9f85f8db271c53737b9dd91c33273f2143
7
+ data.tar.gz: 4c6d57597a2c37e0c5d50376b1770c93582dd3d960d495e250253eab0c1ae1588c6f69dce9092fe8143863888a0859ba5feaec61bf25a05eec3055a7c7ceb37b
@@ -152,6 +152,21 @@ function WFAdaptorManifestationBase(adaptor) {
152
152
  }
153
153
  }
154
154
  } //}}}
155
+ var markHandling = this.markHandling = function(svgid) { //{{{
156
+ if (save['state'] != "ready" && save['state'] != "stopped") { return false; }
157
+ var vtarget = self.adaptor.illustrator.get_node_by_svg_id(svgid);
158
+ if (vtarget.length > 0) {
159
+ var vt = vtarget.parents('g.element[element-id]');
160
+ vt.toggleClass('marked');
161
+ if (vt.hasClass('marked')) {
162
+ localStorage.setItem('marked',self.marked_text());
163
+ localStorage.setItem('marked_from',myid);
164
+ } else {
165
+ localStorage.removeItem('marked');
166
+ localStorage.removeItem('marked_from');
167
+ }
168
+ }
169
+ } //}}}
155
170
 
156
171
  var contextMenuHandling_clean_icon = this.contextMenuHandling_clean_icon = function(icon) { //{{{
157
172
  icon = icon.clone();
@@ -257,27 +272,45 @@ function WFAdaptorManifestationBase(adaptor) {
257
272
  });
258
273
  }
259
274
  if (xml_node.get(0).tagName == "call" || xml_node.get(0).tagName == "manipulate" || xml_node.get(0).tagName == "stop") {
260
- var icon = contextMenuHandling_clean_icon(self.elements.call.illustrator.svg);
261
- icon.find('.part-normal').addClass('passive');
275
+ let exec_icon = contextMenuHandling_clean_icon(self.elements.call.illustrator.svg);
276
+ let mark_icon = self.resources.mark;
277
+ exec_icon.find('.part-normal').addClass('passive');
262
278
  var vtarget = self.adaptor.illustrator.get_node_by_svg_id(svgid);
263
279
  if (vtarget.length > 0) {
264
280
  if (vtarget.parents('g.activities.passive, g.activities.active').length > 0) {
265
281
  menu['Position'] = [{
266
- 'label': 'No Execution from here',
282
+ 'label': 'No Execution from here (SHIFT-Click)',
267
283
  'function_call': del_ui_pos,
268
- 'menu_icon': icon,
284
+ 'menu_icon': exec_icon,
269
285
  'type': undefined,
270
286
  'params': xml_node
271
287
  }];
272
288
  } else {
273
289
  menu['Position'] = [{
274
- 'label': 'Execute from here',
290
+ 'label': 'Execute from here (SHIFT-Click)',
275
291
  'function_call': add_ui_pos,
276
- 'menu_icon': icon,
292
+ 'menu_icon': exec_icon,
277
293
  'type': undefined,
278
294
  'params': xml_node
279
295
  }];
280
296
  }
297
+ if (vtarget.parents('g.element.marked').length > 0) {
298
+ menu['Position'].push({
299
+ 'label': 'Unmark for copy/move (' + ($.pressCmd() ? '⌘-Click' : 'CTRL-Click') + ')',
300
+ 'function_call': markHandling,
301
+ 'menu_icon': mark_icon,
302
+ 'type': undefined,
303
+ 'params': [svgid]
304
+ });
305
+ } else {
306
+ menu['Position'].push({
307
+ 'label': 'Mark for copy/move (' + ($.pressCmd() ? '⌘-Click' : 'CTRL-Click') + ')',
308
+ 'function_call': markHandling,
309
+ 'menu_icon': mark_icon,
310
+ 'type': undefined,
311
+ 'params': [svgid]
312
+ });
313
+ }
281
314
  }
282
315
  }
283
316
  new CustomMenu(e).contextmenu(menu);
@@ -314,19 +347,7 @@ function WFAdaptorManifestationBase(adaptor) {
314
347
  }
315
348
 
316
349
  if (e && (e.ctrlKey || e.metaKey)) {
317
- if (save['state'] != "ready" && save['state'] != "stopped") { return false; }
318
- var vtarget = self.adaptor.illustrator.get_node_by_svg_id(svgid);
319
- if (vtarget.length > 0) {
320
- var vt = vtarget.parents('g.element[element-id]');
321
- vt.toggleClass('marked');
322
- if (vt.hasClass('marked')) {
323
- localStorage.setItem('marked',self.marked_text());
324
- localStorage.setItem('marked_from',myid);
325
- } else {
326
- localStorage.removeItem('marked');
327
- localStorage.removeItem('marked_from');
328
- }
329
- }
350
+ markHandling(svgid);
330
351
  } else if (e && (e.shiftKey)) {
331
352
  positionHandling(svgid);
332
353
  } else {
@@ -367,6 +388,7 @@ function WFAdaptorManifestationBase(adaptor) {
367
388
  // Other resources
368
389
  this.resources.arrow = self.adaptor.theme_dir + 'symbols/arrow.svg';
369
390
  this.resources.delete = self.adaptor.theme_dir + 'symbols/delete.svg';
391
+ this.resources.mark = self.adaptor.theme_dir + 'symbols/mark.svg';
370
392
 
371
393
  // Primitive Elements
372
394
  this.elements.call = { /*{{{*/
@@ -0,0 +1,8 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg">
2
+ <g class="marked">
3
+ <g class="markstyle" transform="translate(12,15) scale(2,2)">
4
+ <circle cx="2" cy="0" r="7"/>
5
+ <path d="m -1 0 l 2 2 l 4 -4" class="standline"/>
6
+ </g>
7
+ </g>
8
+ </svg>
@@ -0,0 +1,8 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg">
2
+ <g class="marked">
3
+ <g class="markstyle" transform="translate(12,15) scale(2,2)">
4
+ <circle cx="2" cy="0" r="7"/>
5
+ <path d="m -1 0 l 2 2 l 4 -4" class="standline"/>
6
+ </g>
7
+ </g>
8
+ </svg>
@@ -0,0 +1,8 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg">
2
+ <g class="marked">
3
+ <g class="markstyle" transform="translate(12,15) scale(2,2)">
4
+ <circle cx="2" cy="0" r="7"/>
5
+ <path d="m -1 0 l 2 2 l 4 -4" class="standline"/>
6
+ </g>
7
+ </g>
8
+ </svg>
@@ -0,0 +1,8 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg">
2
+ <g class="marked">
3
+ <g class="markstyle" transform="translate(12,15) scale(2,2)">
4
+ <circle cx="2" cy="0" r="7"/>
5
+ <path d="m -1 0 l 2 2 l 4 -4" class="standline"/>
6
+ </g>
7
+ </g>
8
+ </svg>
@@ -0,0 +1,8 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg">
2
+ <g class="marked">
3
+ <g class="markstyle" transform="translate(12,15) scale(2,2)">
4
+ <circle cx="2" cy="0" r="7"/>
5
+ <path d="m -1 0 l 2 2 l 4 -4" class="standline"/>
6
+ </g>
7
+ </g>
8
+ </svg>
@@ -0,0 +1,8 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg">
2
+ <g class="marked">
3
+ <g class="markstyle" transform="translate(12,15) scale(2,2)">
4
+ <circle cx="2" cy="0" r="7"/>
5
+ <path d="m -1 0 l 2 2 l 4 -4" class="standline"/>
6
+ </g>
7
+ </g>
8
+ </svg>
@@ -0,0 +1,8 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg">
2
+ <g class="marked">
3
+ <g class="markstyle" transform="translate(12,15) scale(2,2)">
4
+ <circle cx="2" cy="0" r="7"/>
5
+ <path d="m -1 0 l 2 2 l 4 -4" class="standline"/>
6
+ </g>
7
+ </g>
8
+ </svg>
@@ -0,0 +1,8 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg">
2
+ <g class="marked">
3
+ <g class="markstyle" transform="translate(12,15) scale(2,2)">
4
+ <circle cx="2" cy="0" r="7"/>
5
+ <path d="m -1 0 l 2 2 l 4 -4" class="standline"/>
6
+ </g>
7
+ </g>
8
+ </svg>
@@ -0,0 +1,8 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg">
2
+ <g class="marked">
3
+ <g class="markstyle" transform="translate(12,15) scale(2,2)">
4
+ <circle cx="2" cy="0" r="7"/>
5
+ <path d="m -1 0 l 2 2 l 4 -4" class="standline"/>
6
+ </g>
7
+ </g>
8
+ </svg>
@@ -0,0 +1,8 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg">
2
+ <g class="marked">
3
+ <g class="markstyle" transform="translate(12,15) scale(2,2)">
4
+ <circle cx="2" cy="0" r="7"/>
5
+ <path d="m -1 0 l 2 2 l 4 -4" class="standline"/>
6
+ </g>
7
+ </g>
8
+ </svg>
@@ -0,0 +1,8 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg">
2
+ <g class="marked">
3
+ <g class="markstyle" transform="translate(12,15) scale(2,2)">
4
+ <circle cx="2" cy="0" r="7"/>
5
+ <path d="m -1 0 l 2 2 l 4 -4" class="standline"/>
6
+ </g>
7
+ </g>
8
+ </svg>
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.111"
3
+ s.version = "2.1.112"
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."
@@ -26,7 +26,12 @@
26
26
  <positions/>
27
27
  <dataelements/>
28
28
  <endpoints>
29
- <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
29
+ <user>https-post://cpee.org/services/timeout-user.php</user>
30
+ <auto>https-post://cpee.org/services/timeout-auto.php</auto>
31
+ <subprocess>https-post://{cpee.org}/flow/start/url/</subprocess>
32
+ <timeout>https-post://cpee.org/services/timeout.php</timeout>
33
+ <send>https-post://cpee.org/ing/correlators/message/send/</send>
34
+ <receive>https-get://cpee.org/ing/correlators/message/receive/</receive>
30
35
  </endpoints>
31
36
  <attributes>
32
37
  <info/>
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.111
4
+ version: 2.1.112
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler
@@ -381,6 +381,7 @@ files:
381
381
  - cockpit/themes/control/symbols/loop.svg
382
382
  - cockpit/themes/control/symbols/loop_end.svg
383
383
  - cockpit/themes/control/symbols/manipulate.svg
384
+ - cockpit/themes/control/symbols/mark.svg
384
385
  - cockpit/themes/control/symbols/otherwise.svg
385
386
  - cockpit/themes/control/symbols/parallel.svg
386
387
  - cockpit/themes/control/symbols/parallel_branch.svg
@@ -442,6 +443,7 @@ files:
442
443
  - cockpit/themes/dataflow/symbols/loop.svg
443
444
  - cockpit/themes/dataflow/symbols/loop_end.svg
444
445
  - cockpit/themes/dataflow/symbols/manipulate.svg
446
+ - cockpit/themes/dataflow/symbols/mark.svg
445
447
  - cockpit/themes/dataflow/symbols/otherwise.svg
446
448
  - cockpit/themes/dataflow/symbols/parallel.svg
447
449
  - cockpit/themes/dataflow/symbols/parallel_branch.svg
@@ -503,6 +505,7 @@ files:
503
505
  - cockpit/themes/default/symbols/loop.svg
504
506
  - cockpit/themes/default/symbols/loop_end.svg
505
507
  - cockpit/themes/default/symbols/manipulate.svg
508
+ - cockpit/themes/default/symbols/mark.svg
506
509
  - cockpit/themes/default/symbols/otherwise.svg
507
510
  - cockpit/themes/default/symbols/parallel.svg
508
511
  - cockpit/themes/default/symbols/parallel_branch.svg
@@ -564,6 +567,7 @@ files:
564
567
  - cockpit/themes/extended/symbols/loop.svg
565
568
  - cockpit/themes/extended/symbols/loop_end.svg
566
569
  - cockpit/themes/extended/symbols/manipulate.svg
570
+ - cockpit/themes/extended/symbols/mark.svg
567
571
  - cockpit/themes/extended/symbols/otherwise.svg
568
572
  - cockpit/themes/extended/symbols/parallel.svg
569
573
  - cockpit/themes/extended/symbols/parallel_branch.svg
@@ -624,6 +628,7 @@ files:
624
628
  - cockpit/themes/felix/symbols/loop.svg
625
629
  - cockpit/themes/felix/symbols/loop_end.svg
626
630
  - cockpit/themes/felix/symbols/manipulate.svg
631
+ - cockpit/themes/felix/symbols/mark.svg
627
632
  - cockpit/themes/felix/symbols/otherwise.svg
628
633
  - cockpit/themes/felix/symbols/parallel.svg
629
634
  - cockpit/themes/felix/symbols/parallel_branch.svg
@@ -680,6 +685,7 @@ files:
680
685
  - cockpit/themes/model/symbols/loop.svg
681
686
  - cockpit/themes/model/symbols/loop_end.svg
682
687
  - cockpit/themes/model/symbols/manipulate.svg
688
+ - cockpit/themes/model/symbols/mark.svg
683
689
  - cockpit/themes/model/symbols/otherwise.svg
684
690
  - cockpit/themes/model/symbols/parallel.svg
685
691
  - cockpit/themes/model/symbols/parallel_branch.svg
@@ -741,6 +747,7 @@ files:
741
747
  - cockpit/themes/packed/symbols/loop.svg
742
748
  - cockpit/themes/packed/symbols/loop_end.svg
743
749
  - cockpit/themes/packed/symbols/manipulate.svg
750
+ - cockpit/themes/packed/symbols/mark.svg
744
751
  - cockpit/themes/packed/symbols/otherwise.svg
745
752
  - cockpit/themes/packed/symbols/parallel.svg
746
753
  - cockpit/themes/packed/symbols/parallel_branch.svg
@@ -802,6 +809,7 @@ files:
802
809
  - cockpit/themes/preset/symbols/loop.svg
803
810
  - cockpit/themes/preset/symbols/loop_end.svg
804
811
  - cockpit/themes/preset/symbols/manipulate.svg
812
+ - cockpit/themes/preset/symbols/mark.svg
805
813
  - cockpit/themes/preset/symbols/otherwise.svg
806
814
  - cockpit/themes/preset/symbols/parallel.svg
807
815
  - cockpit/themes/preset/symbols/parallel_branch.svg
@@ -863,6 +871,7 @@ files:
863
871
  - cockpit/themes/presetaltid/symbols/loop.svg
864
872
  - cockpit/themes/presetaltid/symbols/loop_end.svg
865
873
  - cockpit/themes/presetaltid/symbols/manipulate.svg
874
+ - cockpit/themes/presetaltid/symbols/mark.svg
866
875
  - cockpit/themes/presetaltid/symbols/otherwise.svg
867
876
  - cockpit/themes/presetaltid/symbols/parallel.svg
868
877
  - cockpit/themes/presetaltid/symbols/parallel_branch.svg
@@ -924,6 +933,7 @@ files:
924
933
  - cockpit/themes/presetid/symbols/loop.svg
925
934
  - cockpit/themes/presetid/symbols/loop_end.svg
926
935
  - cockpit/themes/presetid/symbols/manipulate.svg
936
+ - cockpit/themes/presetid/symbols/mark.svg
927
937
  - cockpit/themes/presetid/symbols/otherwise.svg
928
938
  - cockpit/themes/presetid/symbols/parallel.svg
929
939
  - cockpit/themes/presetid/symbols/parallel_branch.svg
@@ -985,6 +995,7 @@ files:
985
995
  - cockpit/themes/reduced/symbols/loop.svg
986
996
  - cockpit/themes/reduced/symbols/loop_end.svg
987
997
  - cockpit/themes/reduced/symbols/manipulate.svg
998
+ - cockpit/themes/reduced/symbols/mark.svg
988
999
  - cockpit/themes/reduced/symbols/otherwise.svg
989
1000
  - cockpit/themes/reduced/symbols/parallel.svg
990
1001
  - cockpit/themes/reduced/symbols/parallel_branch.svg