cpee-worklist 1.0.7 → 1.0.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 26aaf0fd5b133829f061e80cc2ca672db00e27e510eb88bb29f05f35a9dd5e63
4
- data.tar.gz: 769ac778b2e7ca63989826f55a70d280c5323db23bb3475e292e71f2aa6997e3
3
+ metadata.gz: 5107cbb0d04bd9f6c9e594848eb1c31753764f94bbe4ca3b98d1be239061a138
4
+ data.tar.gz: 060e527f606c626231b42ee5e5f43c8c06e6b5f9dcad787b27a52d662b9cf2a7
5
5
  SHA512:
6
- metadata.gz: 629efc559c79afbc8808c4fd1385ea9910ea5e17563cd4ef12e3141aded6b0d81edbcdb140fa332b97d2768d760eac162403dfb6a3ecaca1c2e3ebb09c19c592
7
- data.tar.gz: a334412c0442c5b1d36a9aadf247e997b8bcb0380814e14abd8c157e7d942f3ca27bc24abe589a8fb8fae351ebc767f705af745c2898d4aad60add057d2c1963
6
+ metadata.gz: 3b64c541cc55f92c99c700462387236d1a7bb29b1b0b71cc82397bdd08626b1908ab8dfa354ef1beba3a806759f29b039e1f535321ced4041635c3f9bb45f99e
7
+ data.tar.gz: acbaf61bdd25be56ff03fdd804b97a99de4c8dc1ef4a516dd73b0f3d1fc2d64fb9ee5ae4d327ac1f0fc6728c89c1b18184017c9ef31f2b0648e837d5b1f950ea
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cpee-worklist"
3
- s.version = "1.0.7"
3
+ s.version = "1.0.9"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3.0-or-later"
6
6
  s.summary = "Worklist for the cloud process execution engine (cpee.org)"
@@ -261,7 +261,8 @@ module CPEE
261
261
  Riddl::Client.new(@a[0].activities[index]['url']).put [
262
262
  Riddl::Header.new('CPEE-UPDATE','true'),
263
263
  Riddl::Header.new('CPEE-STATUS','take'),
264
- Riddl::Header.new('CPEE-EVENT','take')
264
+ Riddl::Header.new('CPEE-EVENT','take'),
265
+ Riddl::Parameter::Simple.new('user',@r[-3])
265
266
  ]
266
267
  else
267
268
  @status = 404
@@ -282,7 +283,8 @@ module CPEE
282
283
  Riddl::Client.new(@a[0].activities[index]['url']).put [
283
284
  Riddl::Header.new('CPEE-UPDATE','true'),
284
285
  Riddl::Header.new('CPEE-STATUS','giveback'),
285
- Riddl::Header.new('CPEE-EVENT','giveback')
286
+ Riddl::Header.new('CPEE-EVENT','giveback'),
287
+ Riddl::Parameter::Simple.new('user',@r[-3])
286
288
  ]
287
289
  else
288
290
  @status = 404
@@ -322,7 +324,8 @@ module CPEE
322
324
  Riddl::Client.new(@a[0].activities[index]['url']).put [
323
325
  Riddl::Header.new('CPEE-UPDATE','true'),
324
326
  Riddl::Header.new('CPEE-STATUS','take'),
325
- Riddl::Header.new('CPEE-EVENT','take')
327
+ Riddl::Header.new('CPEE-EVENT','take'),
328
+ Riddl::Parameter::Simple.new('user',@p[0].value)
326
329
  ]
327
330
  else
328
331
  @status = 404
data/ui/js/worklist.js CHANGED
@@ -138,8 +138,6 @@ function take_work(url,butt,butt2,give_or_take){ //{{{
138
138
  url: url,
139
139
  data:"operation="+op ,
140
140
  success: function(){
141
- console.log(butt);
142
- console.log(butt2);
143
141
  $(butt).prop('disabled','true');
144
142
  $(butt2).prop('disabled','false');
145
143
  $(butt2).removeAttr('disabled');
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cpee-worklist
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: tools
12
12
  cert_chain: []
13
- date: 2024-07-08 00:00:00.000000000 Z
13
+ date: 2024-07-12 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: riddl