cpee-frames 2.0.2 → 2.0.3
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 +4 -4
- data/cpee-frames.gemspec +2 -1
- data/lib/cpee-frames/implementation.rb +0 -2
- data/lib/cpee-frames/ui/template.html +0 -11
- data/lib/cpee-frames/ui/tutorial.html +0 -14
- data/tools/cpee-frames +3 -7
- data/ui/js/ui.js +2 -1
- metadata +15 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 96c90add2765c0e5f97bbf467def046b1a8632557576086bd71d6a2c69568896
|
|
4
|
+
data.tar.gz: 168699a50751396981c9cd889be5463feb413fcedba9baf4c5fd7f4b81a80e1c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 02de1c08d9a3fc90d6726bb4355a690ebffa885c3365b27cb367396f99b133708437063f24b9bcc16add2f8f05bd865d0f36f36bf15a492c458c29bca9a5c1de
|
|
7
|
+
data.tar.gz: 7fd4d1ad019d9db4af5a8cbf286dc4569952b93adee109ed8f6110ee6e1e9687da6eef710c95b3b7a00a36be6cdace054a18778dc743bc18e9536b5baff5ebdf
|
data/cpee-frames.gemspec
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = "cpee-frames"
|
|
3
|
-
s.version = "2.0.
|
|
3
|
+
s.version = "2.0.3"
|
|
4
4
|
s.platform = Gem::Platform::RUBY
|
|
5
5
|
s.license = "GPL-3.0-or-later"
|
|
6
6
|
s.summary = "Dashboard management service with UI and backend for the cpee.org family of workflow management tools"
|
|
@@ -22,4 +22,5 @@ Gem::Specification.new do |s|
|
|
|
22
22
|
|
|
23
23
|
s.add_runtime_dependency 'riddl', '~> 0.99'
|
|
24
24
|
s.add_runtime_dependency 'json', '~> 2.1'
|
|
25
|
+
s.add_runtime_dependency 'typhoeus', '~> 1.4'
|
|
25
26
|
end
|
|
@@ -24,17 +24,6 @@
|
|
|
24
24
|
|
|
25
25
|
<!-- libs, do not modify. When local than load local libs. -->
|
|
26
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
27
|
|
|
39
28
|
<!-- custom stuff, play arround -->
|
|
40
29
|
<script type="text/javascript" src="../js/ui.js"></script>
|
|
@@ -22,20 +22,6 @@
|
|
|
22
22
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
|
23
23
|
<title>Frames - Tutorial</title>
|
|
24
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
25
|
<!-- custom stuff, play arround -->
|
|
40
26
|
<link class='custom' rel="stylesheet" href="" type="text/css"/>
|
|
41
27
|
<script>
|
data/tools/cpee-frames
CHANGED
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
# This file is part of CPEE-FRAMES.
|
|
4
4
|
#
|
|
5
5
|
# CPEE-FRAMES is free software: you can redistribute it and/or modify it under
|
|
6
|
-
# the terms of the GNU
|
|
6
|
+
# the terms of the GNU General Public License as published by the Free
|
|
7
7
|
# Software Foundation, either version 3 of the License, or (at your option) any
|
|
8
8
|
# later version.
|
|
9
9
|
#
|
|
10
10
|
# CPEE-FRAMES is distributed in the hope that it will be useful, but WITHOUT
|
|
11
11
|
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
|
12
|
-
# FOR A PARTICULAR PURPOSE. See the GNU
|
|
12
|
+
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
|
13
13
|
# details.
|
|
14
14
|
#
|
|
15
|
-
# You should have received a copy of the GNU
|
|
15
|
+
# You should have received a copy of the GNU General Public License
|
|
16
16
|
# along with CPEE-FRAMES (file LICENSE in the main directory). If not, see
|
|
17
17
|
# <http://www.gnu.org/licenses/>.
|
|
18
18
|
|
|
@@ -20,10 +20,6 @@ curpath = __dir__
|
|
|
20
20
|
require 'rubygems'
|
|
21
21
|
require 'optparse'
|
|
22
22
|
require 'fileutils'
|
|
23
|
-
require 'xml/smart'
|
|
24
|
-
require 'yaml'
|
|
25
|
-
require 'typhoeus'
|
|
26
|
-
require 'stringio'
|
|
27
23
|
|
|
28
24
|
def wrap(s, width=78, indent=18, extra_indent=4) #{{{
|
|
29
25
|
lines = []
|
data/ui/js/ui.js
CHANGED
|
@@ -114,6 +114,7 @@ function init() {
|
|
|
114
114
|
try {
|
|
115
115
|
notification = JSON.parse(e.data);
|
|
116
116
|
} catch (err) {
|
|
117
|
+
console.log(err);
|
|
117
118
|
return;
|
|
118
119
|
}
|
|
119
120
|
if (notification.message == 'new' || notification.message == 'reset') {
|
|
@@ -125,7 +126,7 @@ function init() {
|
|
|
125
126
|
} else if (notification.message == 'update') {
|
|
126
127
|
var frd = notification.content;
|
|
127
128
|
iframe = $('iframe[id="' + frd.callback + '"]').get(0);
|
|
128
|
-
iframe.contentWindow.postMessage({ data: frd.data });
|
|
129
|
+
iframe.contentWindow.postMessage({ data: frd.data },'*');
|
|
129
130
|
}
|
|
130
131
|
};
|
|
131
132
|
es.onerror = function() {
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cpee-frames
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Manuell Gall
|
|
@@ -38,6 +38,20 @@ dependencies:
|
|
|
38
38
|
- - "~>"
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: '2.1'
|
|
41
|
+
- !ruby/object:Gem::Dependency
|
|
42
|
+
name: typhoeus
|
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - "~>"
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: '1.4'
|
|
48
|
+
type: :runtime
|
|
49
|
+
prerelease: false
|
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
+
requirements:
|
|
52
|
+
- - "~>"
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: '1.4'
|
|
41
55
|
description: Flexibly arrange and display user interface components in a grid from
|
|
42
56
|
executable process models. Very useful if you want to build dashboards.
|
|
43
57
|
email: gall.manuel.89@gmail.com
|