Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
core
Commits
c9d290c8
Commit
c9d290c8
authored
Feb 20, 2020
by
Piotr Gawron
Browse files
md5 was not computed properly
parent
ce425d6f
Pipeline
#21253
failed with stage
in 17 minutes and 50 seconds
Changes
19
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CHANGELOG
View file @
c9d290c8
minerva
(
16.0.0
~
alpha
.0
)
stable
;
urgency
=
medium
*
Bug
fix
:
md5
hash
function
of
plugin
was
not
computed
properly
minerva
(
15.0.0
~
beta
.0
)
stable
;
urgency
=
medium
*
Feature
removal
:
old
connection
to
CTD
is
removed
and
replaced
with
new
Data
-
API
interface
that
closely
check
license
compliance
...
...
frontend-js/package-lock.json
View file @
c9d290c8
...
...
@@ -839,6 +839,11 @@
"strip-ansi"
:
"~0.1.0"
}
},
"charenc"
:
{
"version"
:
"0.0.2"
,
"resolved"
:
"https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz"
,
"integrity"
:
"sha1-wKHS86cJLgN3S/qD8UwPxXkKhmc="
},
"check-error"
:
{
"version"
:
"1.0.2"
,
"resolved"
:
"https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz"
,
...
...
@@ -1165,6 +1170,11 @@
"sha.js"
:
"^2.4.8"
}
},
"crypt"
:
{
"version"
:
"0.0.2"
,
"resolved"
:
"https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz"
,
"integrity"
:
"sha1-iNf/fsDfuG9xPch7u0LQRNPmxBs="
},
"crypto-browserify"
:
{
"version"
:
"3.12.0"
,
"resolved"
:
"https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz"
,
...
...
@@ -3329,6 +3339,16 @@
"resolved"
:
"https://registry.npmjs.org/marked/-/marked-0.3.19.tgz"
,
"integrity"
:
"sha512-ea2eGWOqNxPcXv8dyERdSr/6FmzvWwzjMxpfGB/sbMccXoct+xY+YukPD+QTUZwyvK7BZwcr4m21WBOW41pAkg=="
},
"md5"
:
{
"version"
:
"2.2.1"
,
"resolved"
:
"https://registry.npmjs.org/md5/-/md5-2.2.1.tgz"
,
"integrity"
:
"sha1-U6s41f48iJG6RlMp6iP6wFQBJvk="
,
"requires"
:
{
"charenc"
:
"~0.0.1"
,
"crypt"
:
"~0.0.1"
,
"is-buffer"
:
"~1.1.1"
}
},
"md5.js"
:
{
"version"
:
"1.3.5"
,
"resolved"
:
"https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz"
,
...
...
frontend-js/package.json
View file @
c9d290c8
...
...
@@ -54,6 +54,7 @@
"jstree"
:
"^3.3.8"
,
"jszip"
:
"^3.2.2"
,
"log4js"
:
"^4.5.1"
,
"md5"
:
"^2.2.1"
,
"multi-checkbox-list"
:
"^0.3.1"
,
"openlayers"
:
"^4.6.5"
,
"pileup"
:
"^0.6.12"
,
...
...
frontend-js/src/main/js/Functions.js
View file @
c9d290c8
...
...
@@ -489,230 +489,6 @@ Functions.prototype.loadScript = function (url) {
});
};
/**
*
* @param {string} s
* @returns {string}
*/
Functions
.
prototype
.
computeMD5
=
function
(
s
)
{
function
L
(
k
,
d
)
{
return
(
k
<<
d
)
|
(
k
>>>
(
32
-
d
))
}
function
K
(
G
,
k
)
{
var
I
,
d
,
F
,
H
,
x
;
F
=
(
G
&
2147483648
);
H
=
(
k
&
2147483648
);
I
=
(
G
&
1073741824
);
d
=
(
k
&
1073741824
);
x
=
(
G
&
1073741823
)
+
(
k
&
1073741823
);
// noinspection JSBitwiseOperatorUsage
if
(
I
&
d
)
{
return
(
x
^
2147483648
^
F
^
H
)
}
// noinspection JSBitwiseOperatorUsage
if
(
I
|
d
)
{
// noinspection JSBitwiseOperatorUsage
if
(
x
&
1073741824
)
{
return
(
x
^
3221225472
^
F
^
H
)
}
else
{
return
(
x
^
1073741824
^
F
^
H
)
}
}
else
{
return
(
x
^
F
^
H
)
}
}
function
r
(
d
,
F
,
k
)
{
return
(
d
&
F
)
|
((
~
d
)
&
k
)
}
function
q
(
d
,
F
,
k
)
{
return
(
d
&
k
)
|
(
F
&
(
~
k
))
}
function
p
(
d
,
F
,
k
)
{
return
(
d
^
F
^
k
)
}
function
n
(
d
,
F
,
k
)
{
return
(
F
^
(
d
|
(
~
k
)))
}
function
u
(
G
,
F
,
aa
,
Z
,
k
,
H
,
I
)
{
G
=
K
(
G
,
K
(
K
(
r
(
F
,
aa
,
Z
),
k
),
I
));
return
K
(
L
(
G
,
H
),
F
)
}
function
f
(
G
,
F
,
aa
,
Z
,
k
,
H
,
I
)
{
G
=
K
(
G
,
K
(
K
(
q
(
F
,
aa
,
Z
),
k
),
I
));
return
K
(
L
(
G
,
H
),
F
)
}
function
D
(
G
,
F
,
aa
,
Z
,
k
,
H
,
I
)
{
G
=
K
(
G
,
K
(
K
(
p
(
F
,
aa
,
Z
),
k
),
I
));
return
K
(
L
(
G
,
H
),
F
)
}
function
t
(
G
,
F
,
aa
,
Z
,
k
,
H
,
I
)
{
G
=
K
(
G
,
K
(
K
(
n
(
F
,
aa
,
Z
),
k
),
I
));
return
K
(
L
(
G
,
H
),
F
)
}
function
e
(
G
)
{
var
Z
;
var
F
=
G
.
length
;
var
x
=
F
+
8
;
var
k
=
(
x
-
(
x
%
64
))
/
64
;
var
I
=
(
k
+
1
)
*
16
;
var
aa
=
Array
(
I
-
1
);
var
d
=
0
;
var
H
=
0
;
while
(
H
<
F
)
{
Z
=
(
H
-
(
H
%
4
))
/
4
;
d
=
(
H
%
4
)
*
8
;
aa
[
Z
]
=
(
aa
[
Z
]
|
(
G
.
charCodeAt
(
H
)
<<
d
));
H
++
}
Z
=
(
H
-
(
H
%
4
))
/
4
;
d
=
(
H
%
4
)
*
8
;
aa
[
Z
]
=
aa
[
Z
]
|
(
128
<<
d
);
aa
[
I
-
2
]
=
F
<<
3
;
aa
[
I
-
1
]
=
F
>>>
29
;
return
aa
}
/**
*
* @param {number} x
* @returns {string}
*/
function
B
(
x
)
{
var
k
=
""
,
F
=
""
,
G
,
d
;
for
(
d
=
0
;
d
<=
3
;
d
++
)
{
G
=
(
x
>>>
(
d
*
8
))
&
255
;
F
=
"
0
"
+
G
.
toString
(
16
);
k
=
k
+
F
.
substr
(
F
.
length
-
2
,
2
)
}
return
k
}
function
J
(
k
)
{
k
=
k
.
replace
(
/rn/g
,
"
n
"
);
var
d
=
""
;
for
(
var
F
=
0
;
F
<
k
.
length
;
F
++
)
{
var
x
=
k
.
charCodeAt
(
F
);
if
(
x
<
128
)
{
d
+=
String
.
fromCharCode
(
x
)
}
else
{
if
((
x
>
127
)
&&
(
x
<
2048
))
{
d
+=
String
.
fromCharCode
((
x
>>
6
)
|
192
);
d
+=
String
.
fromCharCode
((
x
&
63
)
|
128
)
}
else
{
d
+=
String
.
fromCharCode
((
x
>>
12
)
|
224
);
d
+=
String
.
fromCharCode
(((
x
>>
6
)
&
63
)
|
128
);
d
+=
String
.
fromCharCode
((
x
&
63
)
|
128
)
}
}
}
return
d
}
var
C
=
Array
();
var
P
,
h
,
E
,
v
,
g
,
Y
,
X
,
W
,
V
;
var
S
=
7
,
Q
=
12
,
N
=
17
,
M
=
22
;
var
A
=
5
,
z
=
9
,
y
=
14
,
w
=
20
;
var
o
=
4
,
m
=
11
,
l
=
16
,
j
=
23
;
var
U
=
6
,
T
=
10
,
R
=
15
,
O
=
21
;
s
=
J
(
s
);
C
=
e
(
s
);
Y
=
1732584193
;
X
=
4023233417
;
W
=
2562383102
;
V
=
271733878
;
for
(
P
=
0
;
P
<
C
.
length
;
P
+=
16
)
{
h
=
Y
;
E
=
X
;
v
=
W
;
g
=
V
;
// noinspection PointlessArithmeticExpressionJS
Y
=
u
(
Y
,
X
,
W
,
V
,
C
[
P
+
0
],
S
,
3614090360
);
V
=
u
(
V
,
Y
,
X
,
W
,
C
[
P
+
1
],
Q
,
3905402710
);
W
=
u
(
W
,
V
,
Y
,
X
,
C
[
P
+
2
],
N
,
606105819
);
X
=
u
(
X
,
W
,
V
,
Y
,
C
[
P
+
3
],
M
,
3250441966
);
Y
=
u
(
Y
,
X
,
W
,
V
,
C
[
P
+
4
],
S
,
4118548399
);
V
=
u
(
V
,
Y
,
X
,
W
,
C
[
P
+
5
],
Q
,
1200080426
);
W
=
u
(
W
,
V
,
Y
,
X
,
C
[
P
+
6
],
N
,
2821735955
);
X
=
u
(
X
,
W
,
V
,
Y
,
C
[
P
+
7
],
M
,
4249261313
);
Y
=
u
(
Y
,
X
,
W
,
V
,
C
[
P
+
8
],
S
,
1770035416
);
V
=
u
(
V
,
Y
,
X
,
W
,
C
[
P
+
9
],
Q
,
2336552879
);
W
=
u
(
W
,
V
,
Y
,
X
,
C
[
P
+
10
],
N
,
4294925233
);
X
=
u
(
X
,
W
,
V
,
Y
,
C
[
P
+
11
],
M
,
2304563134
);
Y
=
u
(
Y
,
X
,
W
,
V
,
C
[
P
+
12
],
S
,
1804603682
);
V
=
u
(
V
,
Y
,
X
,
W
,
C
[
P
+
13
],
Q
,
4254626195
);
W
=
u
(
W
,
V
,
Y
,
X
,
C
[
P
+
14
],
N
,
2792965006
);
X
=
u
(
X
,
W
,
V
,
Y
,
C
[
P
+
15
],
M
,
1236535329
);
Y
=
f
(
Y
,
X
,
W
,
V
,
C
[
P
+
1
],
A
,
4129170786
);
V
=
f
(
V
,
Y
,
X
,
W
,
C
[
P
+
6
],
z
,
3225465664
);
W
=
f
(
W
,
V
,
Y
,
X
,
C
[
P
+
11
],
y
,
643717713
);
// noinspection PointlessArithmeticExpressionJS
X
=
f
(
X
,
W
,
V
,
Y
,
C
[
P
+
0
],
w
,
3921069994
);
Y
=
f
(
Y
,
X
,
W
,
V
,
C
[
P
+
5
],
A
,
3593408605
);
V
=
f
(
V
,
Y
,
X
,
W
,
C
[
P
+
10
],
z
,
38016083
);
W
=
f
(
W
,
V
,
Y
,
X
,
C
[
P
+
15
],
y
,
3634488961
);
X
=
f
(
X
,
W
,
V
,
Y
,
C
[
P
+
4
],
w
,
3889429448
);
Y
=
f
(
Y
,
X
,
W
,
V
,
C
[
P
+
9
],
A
,
568446438
);
V
=
f
(
V
,
Y
,
X
,
W
,
C
[
P
+
14
],
z
,
3275163606
);
W
=
f
(
W
,
V
,
Y
,
X
,
C
[
P
+
3
],
y
,
4107603335
);
X
=
f
(
X
,
W
,
V
,
Y
,
C
[
P
+
8
],
w
,
1163531501
);
Y
=
f
(
Y
,
X
,
W
,
V
,
C
[
P
+
13
],
A
,
2850285829
);
V
=
f
(
V
,
Y
,
X
,
W
,
C
[
P
+
2
],
z
,
4243563512
);
W
=
f
(
W
,
V
,
Y
,
X
,
C
[
P
+
7
],
y
,
1735328473
);
X
=
f
(
X
,
W
,
V
,
Y
,
C
[
P
+
12
],
w
,
2368359562
);
Y
=
D
(
Y
,
X
,
W
,
V
,
C
[
P
+
5
],
o
,
4294588738
);
V
=
D
(
V
,
Y
,
X
,
W
,
C
[
P
+
8
],
m
,
2272392833
);
W
=
D
(
W
,
V
,
Y
,
X
,
C
[
P
+
11
],
l
,
1839030562
);
X
=
D
(
X
,
W
,
V
,
Y
,
C
[
P
+
14
],
j
,
4259657740
);
Y
=
D
(
Y
,
X
,
W
,
V
,
C
[
P
+
1
],
o
,
2763975236
);
V
=
D
(
V
,
Y
,
X
,
W
,
C
[
P
+
4
],
m
,
1272893353
);
W
=
D
(
W
,
V
,
Y
,
X
,
C
[
P
+
7
],
l
,
4139469664
);
X
=
D
(
X
,
W
,
V
,
Y
,
C
[
P
+
10
],
j
,
3200236656
);
Y
=
D
(
Y
,
X
,
W
,
V
,
C
[
P
+
13
],
o
,
681279174
);
// noinspection PointlessArithmeticExpressionJS
V
=
D
(
V
,
Y
,
X
,
W
,
C
[
P
+
0
],
m
,
3936430074
);
W
=
D
(
W
,
V
,
Y
,
X
,
C
[
P
+
3
],
l
,
3572445317
);
X
=
D
(
X
,
W
,
V
,
Y
,
C
[
P
+
6
],
j
,
76029189
);
Y
=
D
(
Y
,
X
,
W
,
V
,
C
[
P
+
9
],
o
,
3654602809
);
V
=
D
(
V
,
Y
,
X
,
W
,
C
[
P
+
12
],
m
,
3873151461
);
W
=
D
(
W
,
V
,
Y
,
X
,
C
[
P
+
15
],
l
,
530742520
);
X
=
D
(
X
,
W
,
V
,
Y
,
C
[
P
+
2
],
j
,
3299628645
);
// noinspection PointlessArithmeticExpressionJS
Y
=
t
(
Y
,
X
,
W
,
V
,
C
[
P
+
0
],
U
,
4096336452
);
V
=
t
(
V
,
Y
,
X
,
W
,
C
[
P
+
7
],
T
,
1126891415
);
W
=
t
(
W
,
V
,
Y
,
X
,
C
[
P
+
14
],
R
,
2878612391
);
X
=
t
(
X
,
W
,
V
,
Y
,
C
[
P
+
5
],
O
,
4237533241
);
Y
=
t
(
Y
,
X
,
W
,
V
,
C
[
P
+
12
],
U
,
1700485571
);
V
=
t
(
V
,
Y
,
X
,
W
,
C
[
P
+
3
],
T
,
2399980690
);
W
=
t
(
W
,
V
,
Y
,
X
,
C
[
P
+
10
],
R
,
4293915773
);
X
=
t
(
X
,
W
,
V
,
Y
,
C
[
P
+
1
],
O
,
2240044497
);
Y
=
t
(
Y
,
X
,
W
,
V
,
C
[
P
+
8
],
U
,
1873313359
);
V
=
t
(
V
,
Y
,
X
,
W
,
C
[
P
+
15
],
T
,
4264355552
);
W
=
t
(
W
,
V
,
Y
,
X
,
C
[
P
+
6
],
R
,
2734768916
);
X
=
t
(
X
,
W
,
V
,
Y
,
C
[
P
+
13
],
O
,
1309151649
);
Y
=
t
(
Y
,
X
,
W
,
V
,
C
[
P
+
4
],
U
,
4149444226
);
V
=
t
(
V
,
Y
,
X
,
W
,
C
[
P
+
11
],
T
,
3174756917
);
W
=
t
(
W
,
V
,
Y
,
X
,
C
[
P
+
2
],
R
,
718787259
);
X
=
t
(
X
,
W
,
V
,
Y
,
C
[
P
+
9
],
O
,
3951481745
);
Y
=
K
(
Y
,
h
);
X
=
K
(
X
,
E
);
W
=
K
(
W
,
v
);
V
=
K
(
V
,
g
)
}
// noinspection JSSuspiciousNameCombination
var
i
=
B
(
Y
)
+
B
(
X
)
+
B
(
W
)
+
B
(
V
);
return
i
.
toLowerCase
()
};
Functions
.
prototype
.
isString
=
function
(
value
)
{
return
(
value
instanceof
String
||
typeof
value
===
"
string
"
);
};
...
...
frontend-js/src/main/js/gui/admin/AddPluginDialog.js
View file @
c9d290c8
...
...
@@ -2,6 +2,7 @@
var
Promise
=
require
(
"
bluebird
"
);
var
$
=
require
(
'
jquery
'
);
var
md5
=
require
(
'
md5
'
);
var
AbstractGuiElement
=
require
(
'
../AbstractGuiElement
'
);
var
GuiConnector
=
require
(
'
../../GuiConnector
'
);
...
...
@@ -145,7 +146,7 @@ AddPluginDialog.prototype.onValidateClicked = function () {
description
:
"
Loading plugin:
"
+
url
,
method
:
"
GET
"
}).
then
(
function
(
content
)
{
var
hash
=
Functions
.
computeMD
5
(
content
);
var
hash
=
md
5
(
content
);
var
pluginRawData
=
undefined
;
// noinspection JSUnusedLocalSymbols
var
minervaDefine
=
function
(
pluginFunction
)
{
...
...
frontend-js/src/main/js/plugin/Plugin.js
View file @
c9d290c8
...
...
@@ -10,6 +10,8 @@ var Functions = require('../Functions');
var
GuiConnector
=
require
(
'
../GuiConnector
'
);
var
PluginData
=
require
(
'
../map/data/PluginData
'
);
var
md5
=
require
(
'
md5
'
);
var
pluginId
=
0
;
/**
...
...
@@ -131,7 +133,7 @@ Plugin.prototype.load = function () {
description
:
"
Loading plugin:
"
+
options
.
url
,
method
:
"
GET
"
}).
then
(
function
(
content
)
{
hash
=
Functions
.
computeMD
5
(
content
);
hash
=
md
5
(
content
);
var
pluginData
=
undefined
;
try
{
// noinspection JSUnusedLocalSymbols
...
...
frontend-js/testFiles/apiCalls/plugins/POST_hash=0b8073918699e11a7a9731b818464723&isPublic=false&name=test%20plugin&url=.%2FtestFiles%2Fplugin%2Flistener-crash.js&version=0.0.1&token=MOCK_TOKEN_ID&
0 → 100644
View file @
c9d290c8
{
"hash": "0b8073918699e11a7a9731b818464723",
"name": "test plugin",
"urls": [
"./testFiles/plugin/listener-crash.js"
],
"version": "0.0.1"
}
\ No newline at end of file
frontend-js/testFiles/apiCalls/plugins/POST_hash=
87ca433b8f58481ebfb7ea6a0d4947e1
&isPublic=false&name=high%20test&url=.%2FtestFiles%2Fplugin%2Fhighlight-something.js&version=0.0.1&token=MOCK_TOKEN_ID&
→
frontend-js/testFiles/apiCalls/plugins/POST_hash=
71fb351bf24b993c2965c72891ca20e7
&isPublic=false&name=high%20test&url=.%2FtestFiles%2Fplugin%2Fhighlight-something.js&version=0.0.1&token=MOCK_TOKEN_ID&
View file @
c9d290c8
{
"hash": "
87ca433b8f58481ebfb7ea6a0d4947e1
",
"hash": "
71fb351bf24b993c2965c72891ca20e7
",
"name": "high test",
"urls": [
"./testFiles/plugin/highlight-something.js"
...
...
frontend-js/testFiles/apiCalls/plugins/POST_hash=
9064c5b4de42aaa8d14cd55a08ff5150
&isPublic=false&name=plugin%20with%20promise&url=.%2FtestFiles%2Fplugin%2Fempty-with-promise.js&version=0.0.1&token=MOCK_TOKEN_ID&
→
frontend-js/testFiles/apiCalls/plugins/POST_hash=
b3dccb3e167b33034890e7c9b131f378
&isPublic=false&name=plugin%20with%20promise&url=.%2FtestFiles%2Fplugin%2Fempty-with-promise.js&version=0.0.1&token=MOCK_TOKEN_ID&
View file @
c9d290c8
{
"hash": "
9064c5b4de42aaa8d14cd55a08ff5150
",
"hash": "
b3dccb3e167b33034890e7c9b131f378
",
"name": "plugin with promise",
"urls": [
"./testFiles/plugin/empty-with-promise.js"
...
...
frontend-js/testFiles/apiCalls/plugins/POST_hash=
5917d7b4c15ec52cbd2c8073d1441cf2
&isPublic=false&name=test%20plugin&url=.%2FtestFiles%2Fplugin%2Fempty-without-function.js&version=0.0.1&token=MOCK_TOKEN_ID&
→
frontend-js/testFiles/apiCalls/plugins/POST_hash=
bf6681b618142657af037692994de78c
&isPublic=false&name=test%20plugin&url=.%2FtestFiles%2Fplugin%2Fempty-without-function.js&version=0.0.1&token=MOCK_TOKEN_ID&
View file @
c9d290c8
{
"hash": "
5917d7b4c15ec52cbd2c8073d1441cf2
",
"hash": "
bf6681b618142657af037692994de78c
",
"name": "test plugin",
"urls": [
"./testFiles/plugin/empty-without-function.js"
...
...
frontend-js/testFiles/apiCalls/plugins/POST_hash=d5d652ac0e0f6467d4cb6a742f99d3f7&isPublic=false&name=test%20plugin&url=.%2FtestFiles%2Fplugin-invalid%2Finvalid_register.js&version=0.0.1&token=MOCK_TOKEN_ID&
deleted
100644 → 0
View file @
ce425d6f
{
"hash": "d5d652ac0e0f6467d4cb6a742f99d3f7",
"name": "test plugin",
"urls": [
"./testFiles/plugin-invalid/invalid_register.js"
],
"version": "0.0.1"
}
\ No newline at end of file
frontend-js/testFiles/apiCalls/plugins/POST_hash=
dac1c83fdedde144a3c09424f88c9804
&isPublic=false&name=high%20test&url=.%2FtestFiles%2Fplugin-invalid%2Fcrash-unregister.js&version=0.0.1&token=MOCK_TOKEN_ID&
→
frontend-js/testFiles/apiCalls/plugins/POST_hash=
e500f792675cac7890dd8a312f5d0598
&isPublic=false&name=high%20test&url=.%2FtestFiles%2Fplugin-invalid%2Fcrash-unregister.js&version=0.0.1&token=MOCK_TOKEN_ID&
View file @
c9d290c8
{
"hash": "
dac1c83fdedde144a3c09424f88c9804
",
"hash": "
e500f792675cac7890dd8a312f5d0598
",
"name": "test plugin",
"urls": [
"./testFiles/plugin-invalid/crash-unregister.js"
...
...
frontend-js/testFiles/apiCalls/plugins/POST_hash=
cedd5348a7603b94a109a135c3346156
&isPublic=false&name=test%20plugin&url=.%2FtestFiles%2Fplugin%2Fmin-width.js&version=0.0.1&token=MOCK_TOKEN_ID&
→
frontend-js/testFiles/apiCalls/plugins/POST_hash=
e505d24623deede424ad42a166a3fd9a
&isPublic=false&name=test%20plugin&url=.%2FtestFiles%2Fplugin%2Fmin-width.js&version=0.0.1&token=MOCK_TOKEN_ID&
View file @
c9d290c8
{
"hash": "
cedd5348a7603b94a109a135c3346156
",
"hash": "
e505d24623deede424ad42a166a3fd9a
",
"name": "test plugin",
"urls": [
"./testFiles/plugin/min-width.js"
...
...
frontend-js/testFiles/apiCalls/plugins/POST_hash=
8b8504de95737dac9e19ac2ed18faa14
&isPublic=false&name=high%20test&url=.%2FtestFiles%2Fplugin-invalid%2Funclean-unregister.js&version=0.0.1&token=MOCK_TOKEN_ID&
→
frontend-js/testFiles/apiCalls/plugins/POST_hash=
eb9b5a4dc902a821a4ba0b735eb32809
&isPublic=false&name=high%20test&url=.%2FtestFiles%2Fplugin-invalid%2Funclean-unregister.js&version=0.0.1&token=MOCK_TOKEN_ID&
View file @
c9d290c8
{
"hash": "
8b8504de95737dac9e19ac2ed18faa14
",
"hash": "
eb9b5a4dc902a821a4ba0b735eb32809
",
"name": "",
"urls": [
"./testFiles/plugin-invalid/unclean-unregister.js"
...
...
frontend-js/testFiles/apiCalls/plugins/POST_hash=
a794c40b7ed8f56406f66f2913543915
&isPublic=false&name=test%20plugin&url=.%2FtestFiles%2Fplugin
%2Flistener-crash
.js&version=0.0.1&token=MOCK_TOKEN_ID&
→
frontend-js/testFiles/apiCalls/plugins/POST_hash=
f235312f49a44af944c293e06cea30ec
&isPublic=false&name=test%20plugin&url=.%2FtestFiles%2Fplugin
-invalid%2Finvalid_register
.js&version=0.0.1&token=MOCK_TOKEN_ID&
View file @
c9d290c8
{
"hash": "
d5d652ac0e0f6467d4cb6a742f99d3f7
",
"hash": "
f235312f49a44af944c293e06cea30ec
",
"name": "test plugin",
"urls": [
"./testFiles/plugin-invalid/invalid_register.js"
...
...
frontend-js/testFiles/apiCalls/plugins/POST_hash=
ac4b26ef9d72a851fadc2379c48da129
&isPublic=
tru
e&name=test%20plugin&url=.%2FtestFiles%2Fplugin%2Fempty.js&version=0.0.1&token=
ADMIN
_TOKEN_ID&
→
frontend-js/testFiles/apiCalls/plugins/POST_hash=
f5eb58d9a6d3828f2000b877dc6159df
&isPublic=
fals
e&name=test%20plugin&url=.%2FtestFiles%2Fplugin%2Fempty.js&version=0.0.1&token=
MOCK
_TOKEN_ID&
View file @
c9d290c8
{
"hash": "
ac4b26ef9d72a851fadc2379c48da129
",
"hash": "
f5eb58d9a6d3828f2000b877dc6159df
",
"name": "test plugin",
"urls": [
"./testFiles/plugin/empty.js"
...
...
frontend-js/testFiles/apiCalls/plugins/POST_hash=
ac4b26ef9d72a851fadc2379c48da129
&isPublic=false&name=test%20plugin&url=testFiles%2Fplugin%2Fempty.js&version=0.0.1&token=MOCK_TOKEN_ID&
→
frontend-js/testFiles/apiCalls/plugins/POST_hash=
f5eb58d9a6d3828f2000b877dc6159df
&isPublic=false&name=test%20plugin&url=testFiles%2Fplugin%2Fempty.js&version=0.0.1&token=MOCK_TOKEN_ID&
View file @
c9d290c8
{
"hash": "
ac4b26ef9d72a851fadc2379c48da129
",
"hash": "
f5eb58d9a6d3828f2000b877dc6159df
",
"name": "test plugin",
"urls": [
"./testFiles/plugin/empty.js"
...
...
frontend-js/testFiles/apiCalls/plugins/POST_hash=
ac4b26ef9d72a851fadc2379c48da129
&isPublic=
fals
e&name=test%20plugin&url=.%2FtestFiles%2Fplugin%2Fempty.js&version=0.0.1&token=
MOCK
_TOKEN_ID&
→
frontend-js/testFiles/apiCalls/plugins/POST_hash=
f5eb58d9a6d3828f2000b877dc6159df
&isPublic=
tru
e&name=test%20plugin&url=.%2FtestFiles%2Fplugin%2Fempty.js&version=0.0.1&token=
ADMIN
_TOKEN_ID&
View file @
c9d290c8
{
"hash": "
ac4b26ef9d72a851fadc2379c48da129
",
"hash": "
f5eb58d9a6d3828f2000b877dc6159df
",
"name": "test plugin",
"urls": [
"./testFiles/plugin/empty.js"
...
...
frontend-js/testFiles/apiCalls/plugins/POST_hash=
273dffdc94ef22531b90fb4489ba00c3
&isPublic=false&name=plugin%20with%20promise&url=.%2FtestFiles%2Fplugin-invalid%2Fresult-promise-crash.js&version=0.0.1&token=MOCK_TOKEN_ID&
→
frontend-js/testFiles/apiCalls/plugins/POST_hash=
f6b32ac6c163ae5eb1a2951a6a7b8d1a
&isPublic=false&name=plugin%20with%20promise&url=.%2FtestFiles%2Fplugin-invalid%2Fresult-promise-crash.js&version=0.0.1&token=MOCK_TOKEN_ID&
View file @
c9d290c8
{
"hash": "
273dffdc94ef22531b90fb4489ba00c3
",
"hash": "
f6b32ac6c163ae5eb1a2951a6a7b8d1a
",
"name": "plugin with promise",
"urls": [
"./testFiles/plugin-invalid/result-promise-crash.js"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment