Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Aurélien Vermylen
erp5
Commits
04fe9c6c
Commit
04fe9c6c
authored
Aug 10, 2017
by
Vincent Bechu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_renderjs_ui] Release Jio 3.21.0
parent
4888d7bc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
21 deletions
+43
-21
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_jio_js.js
...enderjs_ui/PathTemplateItem/web_page_module/rjs_jio_js.js
+41
-19
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_jio_js.xml
...nderjs_ui/PathTemplateItem/web_page_module/rjs_jio_js.xml
+2
-2
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_jio_js.js
View file @
04fe9c6c
...
@@ -5716,7 +5716,7 @@ case 5: case 8: case 11: case 14: case 16:
...
@@ -5716,7 +5716,7 @@ case 5: case 8: case 11: case 14: case 16:
this
.
$
=
$$
[
$0
];
this
.
$
=
$$
[
$0
];
break
;
break
;
case
6
:
case
6
:
this
.
$
=
mkComplexQuery
(
'
OR
'
,
[
$$
[
$0
-
1
],
$$
[
$0
]]);
this
.
$
=
mkComplexQuery
(
'
AND
'
,
[
$$
[
$0
-
1
],
$$
[
$0
]]);
break
;
break
;
case
7
:
case
7
:
this
.
$
=
mkComplexQuery
(
'
OR
'
,
[
$$
[
$0
-
2
],
$$
[
$0
]]);
this
.
$
=
mkComplexQuery
(
'
OR
'
,
[
$$
[
$0
-
2
],
$$
[
$0
]]);
...
@@ -6985,7 +6985,8 @@ return new Parser;
...
@@ -6985,7 +6985,8 @@ return new Parser;
matchMethod
=
null
,
matchMethod
=
null
,
operator
=
this
.
operator
,
operator
=
this
.
operator
,
value
=
null
,
value
=
null
,
key
=
this
.
key
;
key
=
this
.
key
,
k
;
if
(
!
(
regexp_comparaison
.
test
(
operator
)))
{
if
(
!
(
regexp_comparaison
.
test
(
operator
)))
{
// `operator` is not correct, we have to change it to "like" or "="
// `operator` is not correct, we have to change it to "like" or "="
...
@@ -7004,6 +7005,22 @@ return new Parser;
...
@@ -7004,6 +7005,22 @@ return new Parser;
key
=
this
.
_key_schema
.
key_set
[
key
];
key
=
this
.
_key_schema
.
key_set
[
key
];
}
}
// match with all the fields if key is empty
if
(
key
===
''
)
{
matchMethod
=
this
.
like
;
value
=
'
%
'
+
this
.
value
+
'
%
'
;
for
(
k
in
item
)
{
if
(
item
.
hasOwnProperty
(
k
))
{
if
(
k
!==
'
__id
'
)
{
if
(
matchMethod
(
item
[
k
],
value
)
===
true
)
{
return
true
;
}
}
}
}
return
false
;
}
if
(
typeof
key
===
'
object
'
)
{
if
(
typeof
key
===
'
object
'
)
{
checkKey
(
key
);
checkKey
(
key
);
object_value
=
item
[
key
.
read_from
];
object_value
=
item
[
key
.
read_from
];
...
@@ -8207,7 +8224,7 @@ return new Parser;
...
@@ -8207,7 +8224,7 @@ return new Parser;
var
ceilHeapSize
=
function
(
v
)
{
var
ceilHeapSize
=
function
(
v
)
{
// The asm.js spec says:
// The asm.js spec says:
// The heap object's byteLength must be either
// The heap object's byteLength must be either
// 2^n for n in [12, 24) or 2^24 * n for n
≥
1.
// 2^n for n in [12, 24) or 2^24 * n for n
≥
1.
// Also, byteLengths smaller than 2^16 are deprecated.
// Also, byteLengths smaller than 2^16 are deprecated.
var
p
;
var
p
;
// If v is smaller than 2^16, the smallest possible solution
// If v is smaller than 2^16, the smallest possible solution
...
@@ -13227,24 +13244,29 @@ return new Parser;
...
@@ -13227,24 +13244,29 @@ return new Parser;
(
function
(
jIO
,
RSVP
,
DOMException
,
Blob
,
crypto
,
Uint8Array
,
ArrayBuffer
)
{
(
function
(
jIO
,
RSVP
,
DOMException
,
Blob
,
crypto
,
Uint8Array
,
ArrayBuffer
)
{
"
use strict
"
;
"
use strict
"
;
/*
The cryptography system used by this storage is AES-GCM.
Here is an example of how to generate a key to the json format:
// you the cryptography system used by this storage is AES-GCM.
return new RSVP.Queue()
// here is an example of how to generate a key to the json format.
.push(function () {
return crypto.subtle.generateKey({name: "AES-GCM", length: 256},
// var key,
true, ["encrypt", "decrypt"]);
// jsonKey;
})
// crypto.subtle.generateKey({name: "AES-GCM",length: 256},
.push(function (key) {
// (true), ["encrypt", "decrypt"])
return crypto.subtle.exportKey("jwk", key);
// .then(function(res){key = res;});
})
//
.push(function (json_key) {
// window.crypto.subtle.exportKey("jwk", key)
var jio = jIO.createJIO({
// .then(function(res){jsonKey = val})
type: "crypt",
//
key: json_key,
//var storage = jIO.createJIO({type: "crypt", key: jsonKey,
sub_storage: {storage_definition}
// sub_storage: {...}});
});
});
// find more informations about this cryptography system on
Find more informations about this cryptography system on
// https://github.com/diafygi/webcrypto-examples#aes-gcm
https://github.com/diafygi/webcrypto-examples#aes-gcm
*/
/**
/**
* The JIO Cryptography Storage extension
* The JIO Cryptography Storage extension
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_jio_js.xml
View file @
04fe9c6c
...
@@ -236,7 +236,7 @@
...
@@ -236,7 +236,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
96
0.45677.42888.6058
6
</string>
</value>
<value>
<string>
96
1.20724.1129.3411
6
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -254,7 +254,7 @@
...
@@ -254,7 +254,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
150
0968568.5
6
</float>
<float>
150
2374266.
6
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
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