cpee 1.3.173 → 1.3.174
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cockpit/css/ui.css +31 -17
- data/cockpit/index.html +27 -21
- data/cockpit/js/instance.js +74 -46
- data/cockpit/js/wfadaptor.cpee.js +1 -1
- data/cockpit/lib/{contextmenu.css → custommenu.css} +14 -8
- data/cockpit/lib/custommenu.js +101 -0
- data/cpee.gemspec +1 -1
- data/lib/cpee/controller.rb +1 -1
- data/lib/cpee/handler_properties.rb +2 -0
- data/lib/cpee/implementation.rb +5 -3
- data/server/handlerwrappers/default.rb +5 -0
- data/server/instances/12/notifications/7ace1a6f6974fe3574107a19b5e9d036/consumer-secret +1 -0
- data/server/instances/12/notifications/7ace1a6f6974fe3574107a19b5e9d036/producer-secret +1 -0
- data/server/instances/12/notifications/7ace1a6f6974fe3574107a19b5e9d036/subscription.xml +33 -0
- data/server/instances/15/properties.xml +44 -0
- data/server/instances/16/properties.xml +44 -0
- data/server/instances/17/properties.xml +44 -0
- data/server/instances/18/properties.xml +45 -0
- data/server/instances/19/properties.xml +45 -0
- data/server/instances/20/properties.xml +46 -0
- data/server/instances/21/properties.xml +46 -0
- data/server/instances/22/notifications/f9c504b8c715ec94a99fc3c6a660c53a/consumer-secret +1 -0
- data/server/instances/22/notifications/f9c504b8c715ec94a99fc3c6a660c53a/producer-secret +1 -0
- data/server/instances/22/notifications/f9c504b8c715ec94a99fc3c6a660c53a/subscription.xml +23 -0
- data/server/instances/22/properties.xml +112 -0
- data/server/instances/23/notifications/0a5a059f4ae897aee1446d560210dec0/consumer-secret +1 -0
- data/server/instances/23/notifications/0a5a059f4ae897aee1446d560210dec0/producer-secret +1 -0
- data/server/instances/23/notifications/0a5a059f4ae897aee1446d560210dec0/subscription.xml +23 -0
- data/server/instances/23/properties.xml +148 -0
- data/server/resources/properties.init +4 -2
- data/server/resources/properties.schema.active +2 -5
- data/server/resources/properties.schema.finished +2 -5
- data/server/resources/properties.schema.inactive +2 -5
- data/server/resources/topics.xml +3 -0
- data/server/server.pid +1 -0
- metadata +23 -4
- data/cockpit/lib/contextmenu.js +0 -63
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: 1.3.
|
4
|
+
version: 1.3.174
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juergen eTM Mangler
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2014-12-
|
13
|
+
date: 2014-12-29 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: riddl
|
@@ -89,21 +89,40 @@ files:
|
|
89
89
|
- server/instances/1/notifications/d12eff1ac812661c05d7090ce7394cf9/subscription.xml
|
90
90
|
- server/instances/1/properties.xml
|
91
91
|
- server/instances/3/properties.xml
|
92
|
+
- server/instances/22/notifications/f9c504b8c715ec94a99fc3c6a660c53a/consumer-secret
|
93
|
+
- server/instances/22/notifications/f9c504b8c715ec94a99fc3c6a660c53a/producer-secret
|
94
|
+
- server/instances/22/notifications/f9c504b8c715ec94a99fc3c6a660c53a/subscription.xml
|
95
|
+
- server/instances/22/properties.xml
|
92
96
|
- server/instances/14/notifications/5bcce90b170116a77fb25aea4e133acc/consumer-secret
|
93
97
|
- server/instances/14/notifications/5bcce90b170116a77fb25aea4e133acc/producer-secret
|
94
98
|
- server/instances/14/notifications/5bcce90b170116a77fb25aea4e133acc/subscription.xml
|
95
99
|
- server/instances/14/properties.xml
|
96
100
|
- server/instances/9/properties.xml
|
101
|
+
- server/instances/12/notifications/7ace1a6f6974fe3574107a19b5e9d036/consumer-secret
|
102
|
+
- server/instances/12/notifications/7ace1a6f6974fe3574107a19b5e9d036/producer-secret
|
103
|
+
- server/instances/12/notifications/7ace1a6f6974fe3574107a19b5e9d036/subscription.xml
|
97
104
|
- server/instances/12/properties.xml
|
105
|
+
- server/instances/15/properties.xml
|
106
|
+
- server/instances/17/properties.xml
|
107
|
+
- server/instances/18/properties.xml
|
108
|
+
- server/instances/16/properties.xml
|
98
109
|
- server/instances/10/properties.xml
|
99
110
|
- server/instances/4/properties.xml
|
100
111
|
- server/instances/13/properties.xml
|
101
112
|
- server/instances/7/properties.xml
|
113
|
+
- server/instances/23/notifications/0a5a059f4ae897aee1446d560210dec0/consumer-secret
|
114
|
+
- server/instances/23/notifications/0a5a059f4ae897aee1446d560210dec0/producer-secret
|
115
|
+
- server/instances/23/notifications/0a5a059f4ae897aee1446d560210dec0/subscription.xml
|
116
|
+
- server/instances/23/properties.xml
|
102
117
|
- server/instances/11/properties.xml
|
103
118
|
- server/instances/6/properties.xml
|
119
|
+
- server/instances/19/properties.xml
|
120
|
+
- server/instances/20/properties.xml
|
121
|
+
- server/instances/21/properties.xml
|
104
122
|
- server/instances/5/properties.xml
|
105
123
|
- server/instances/8/properties.xml
|
106
124
|
- server/instances/2/properties.xml
|
125
|
+
- server/server.pid
|
107
126
|
- server/handlerwrappers/soap.rb
|
108
127
|
- server/handlerwrappers/default.rb
|
109
128
|
- lib/engine.xml
|
@@ -163,11 +182,10 @@ files:
|
|
163
182
|
- cockpit/contrib/legend.svg
|
164
183
|
- cockpit/contrib/symbols.svg
|
165
184
|
- cockpit/lib/jquery-ui.custom.min.js
|
166
|
-
- cockpit/lib/
|
185
|
+
- cockpit/lib/custommenu.css
|
167
186
|
- cockpit/lib/jquery.svg.min.js
|
168
187
|
- cockpit/lib/ui.css
|
169
188
|
- cockpit/lib/jquery.browser.js
|
170
|
-
- cockpit/lib/contextmenu.css
|
171
189
|
- cockpit/lib/util.js
|
172
190
|
- cockpit/lib/underscore.min.js
|
173
191
|
- cockpit/lib/jquery.redraw.js
|
@@ -177,6 +195,7 @@ files:
|
|
177
195
|
- cockpit/lib/jquery.svgdom.min.js
|
178
196
|
- cockpit/lib/jquery.cookie.js
|
179
197
|
- cockpit/lib/jquery-ui.custom.min.txt
|
198
|
+
- cockpit/lib/custommenu.js
|
180
199
|
- cockpit/lib/ui.js
|
181
200
|
- cockpit/lib/parsequery.js
|
182
201
|
- cockpit/lib/wfadaptor.css
|
data/cockpit/lib/contextmenu.js
DELETED
@@ -1,63 +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
|
-
function contextmenu(items, e) {
|
18
|
-
var x = e.pageX;
|
19
|
-
var y = e.pageY;
|
20
|
-
if($('div.contextmenu').length > 0) contextmenu_remove();
|
21
|
-
var div = $('<div class="contextmenu"><table class="contextmenu"/></div>');
|
22
|
-
for(head in items) {
|
23
|
-
div.children(':first').append('<tr class="contextmenuheader"><td colspan="2">' + head + '</td></tr>');
|
24
|
-
for(item in items[head]) {
|
25
|
-
var icon = null;
|
26
|
-
if(items[head][item].menu_icon) {
|
27
|
-
icon = $X('<svg xmlns="http://www.w3.org/2000/svg" version="1.1">' +
|
28
|
-
'<g transform="translate(1,1) scale(0.5, 0.5)"/>' +
|
29
|
-
'</svg>');
|
30
|
-
icon.children('g').append(items[head][item].menu_icon().children());
|
31
|
-
icon = icon.serializeXML();
|
32
|
-
}
|
33
|
-
var row = $('<tr class="contextmenuitem"><td class="contextmenuicon"><div>' + (icon == null ? '' : icon) + '</div></td><td>' + items[head][item].label + '</td></tr>');
|
34
|
-
div.children(':first').append(row);
|
35
|
-
row.bind('click', items[head][item], function(event){
|
36
|
-
event.data.function_call.apply(null, event.data.params);
|
37
|
-
});
|
38
|
-
}
|
39
|
-
}
|
40
|
-
div.css({'left':x+5,'top':y+5, 'display':'block'});
|
41
|
-
$('body', document).append(div);
|
42
|
-
if(($(window).height() < (y + div.height()))) { // contextmenu is position
|
43
|
-
div.css({'top':$(window).height()-div.height()-5});
|
44
|
-
}
|
45
|
-
if((document.body.clientWidth < (x + div.width())) && (x-div.width()-5 >= 0)) { // contextmenu is position
|
46
|
-
div.css({'left':x-div.width()-5});
|
47
|
-
}
|
48
|
-
e.stopPropagation();
|
49
|
-
$('body', document).bind('mousedown',contextmenu_remove);
|
50
|
-
}
|
51
|
-
|
52
|
-
function contextmenu_remove(event) {
|
53
|
-
if (!event) {
|
54
|
-
$('.contextmenu:first').remove();
|
55
|
-
$('body', document).unbind('mousedown',contextmenu_remove);
|
56
|
-
return;
|
57
|
-
}
|
58
|
-
|
59
|
-
if($(event.target).parent('tr.contextmenuitem') && (event.button == 0)) { $(event.target).click(); }
|
60
|
-
$('.contextmenu:first').remove();
|
61
|
-
$('body', document).unbind('mousedown',contextmenu_remove);
|
62
|
-
}
|
63
|
-
|