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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
erp5
Commits
1dc6125d
Commit
1dc6125d
authored
Nov 09, 2017
by
Vincent Bechu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_officejs] Limite signature storage to one bootloader
fix attachment parallel synchronization issue
parent
a7bb5b65
Changes
8
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
408 additions
and
11 deletions
+408
-11
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader.html.html
...Item/web_page_module/gadget_officejs_bootloader.html.html
+1
-0
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader.html.xml
...eItem/web_page_module/gadget_officejs_bootloader.html.xml
+3
-3
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader_js.js
...lateItem/web_page_module/gadget_officejs_bootloader_js.js
+7
-3
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader_js.xml
...ateItem/web_page_module/gadget_officejs_bootloader_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_appcachestorage_js.js
...web_page_module/gadget_officejs_jio_appcachestorage_js.js
+2
-1
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_appcachestorage_js.xml
...eb_page_module/gadget_officejs_jio_appcachestorage_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/jio_limitalldocsstorage_js.js
...emplateItem/web_page_module/jio_limitalldocsstorage_js.js
+57
-0
bt5/erp5_officejs/PathTemplateItem/web_page_module/jio_limitalldocsstorage_js.xml
...mplateItem/web_page_module/jio_limitalldocsstorage_js.xml
+334
-0
No files found.
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader.html.html
View file @
1dc6125d
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
<script
src=
"${latest_version}/rsvp.js"
></script>
<script
src=
"${latest_version}/rsvp.js"
></script>
<script
src=
"${latest_version}/renderjs.js"
></script>
<script
src=
"${latest_version}/renderjs.js"
></script>
<script
src=
"${latest_version}/jiodev.js"
></script>
<script
src=
"${latest_version}/jiodev.js"
></script>
<script
src=
"jio_limitalldocsstorage.js"
></script>
<script
src=
"jio_appcachestorage.js"
></script>
<script
src=
"jio_appcachestorage.js"
></script>
<script
src=
"gadget_officejs_bootloader.js"
></script>
<script
src=
"gadget_officejs_bootloader.js"
></script>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader.html.xml
View file @
1dc6125d
...
@@ -227,7 +227,7 @@
...
@@ -227,7 +227,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
<value>
<string>
vincent
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -241,7 +241,7 @@
...
@@ -241,7 +241,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
96
1.50636.39446.44697
</string>
</value>
<value>
<string>
96
3.23296.14479.51302
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -259,7 +259,7 @@
...
@@ -259,7 +259,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
15
04537605.24
</float>
<float>
15
10305002.75
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader_js.js
View file @
1dc6125d
...
@@ -19,11 +19,15 @@ var repair = false;
...
@@ -19,11 +19,15 @@ var repair = false;
check_local_deletion
:
false
,
check_local_deletion
:
false
,
check_local_modification
:
false
,
check_local_modification
:
false
,
signature_sub_storage
:
{
signature_sub_storage
:
{
type
:
"
limitalldocs
"
,
document
:
window
.
location
.
href
,
sub_storage
:
{
type
:
"
query
"
,
type
:
"
query
"
,
sub_storage
:
{
sub_storage
:
{
type
:
"
indexeddb
"
,
type
:
"
indexeddb
"
,
database
:
"
officejs-hash
"
database
:
"
officejs-hash
"
}
}
}
},
},
local_sub_storage
:
{
local_sub_storage
:
{
type
:
"
query
"
,
type
:
"
query
"
,
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader_js.xml
View file @
1dc6125d
...
@@ -236,7 +236,7 @@
...
@@ -236,7 +236,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
963.2
0662.59245.4181
</string>
</value>
<value>
<string>
963.2
3305.42668.58504
</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>
1510
149659.24
</float>
<float>
1510
305608.12
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_appcachestorage_js.js
View file @
1dc6125d
...
@@ -26,7 +26,8 @@
...
@@ -26,7 +26,8 @@
this
.
_prefix
+
"
gadget_officejs_bootloader_serviceworker.js
"
,
this
.
_prefix
+
"
gadget_officejs_bootloader_serviceworker.js
"
,
this
.
_prefix
+
"
gadget_erp5_nojqm.css
"
,
this
.
_prefix
+
"
gadget_erp5_nojqm.css
"
,
this
.
_prefix
+
"
officejs_logo.png
"
,
this
.
_prefix
+
"
officejs_logo.png
"
,
this
.
_prefix
+
"
jio_appcachestorage.js
"
this
.
_prefix
+
"
jio_appcachestorage.js
"
,
this
.
_prefix
+
"
jio_limitalldocsstorage.js
"
];
];
}
else
{
}
else
{
this
.
_relative_url_list
=
[
this
.
_prefix
+
"
/
"
];
this
.
_relative_url_list
=
[
this
.
_prefix
+
"
/
"
];
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_appcachestorage_js.xml
View file @
1dc6125d
...
@@ -239,7 +239,7 @@
...
@@ -239,7 +239,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
963.
9196.27669.54835
</string>
</value>
<value>
<string>
963.
23286.30579.38041
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -257,7 +257,7 @@
...
@@ -257,7 +257,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
15
09459715.1
</float>
<float>
15
10304670.05
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/jio_limitalldocsstorage_js.js
0 → 100644
View file @
1dc6125d
/*jslint indent:2, maxlen: 80, nomen: true */
/*global jIO */
(
function
(
jIO
)
{
"
use strict
"
;
function
LimitAllDocsStorage
(
spec
)
{
this
.
_document
=
spec
.
document
;
this
.
_sub_storage
=
jIO
.
createJIO
(
spec
.
sub_storage
);
}
LimitAllDocsStorage
.
prototype
.
get
=
function
()
{
return
this
.
_sub_storage
.
get
.
apply
(
this
.
_sub_storage
,
arguments
);
};
LimitAllDocsStorage
.
prototype
.
allAttachments
=
function
()
{
return
this
.
_sub_storage
.
allAttachments
.
apply
(
this
.
_sub_storage
,
arguments
);
};
LimitAllDocsStorage
.
prototype
.
post
=
function
()
{
return
this
.
_sub_storage
.
post
.
apply
(
this
.
_sub_storage
,
arguments
);
};
LimitAllDocsStorage
.
prototype
.
put
=
function
()
{
return
this
.
_sub_storage
.
put
.
apply
(
this
.
_sub_storage
,
arguments
);
};
LimitAllDocsStorage
.
prototype
.
remove
=
function
()
{
return
this
.
_sub_storage
.
remove
.
apply
(
this
.
_sub_storage
,
arguments
);
};
LimitAllDocsStorage
.
prototype
.
getAttachment
=
function
()
{
return
this
.
_sub_storage
.
getAttachment
.
apply
(
this
.
_sub_storage
,
arguments
);
};
LimitAllDocsStorage
.
prototype
.
putAttachment
=
function
()
{
return
this
.
_sub_storage
.
putAttachment
.
apply
(
this
.
_sub_storage
,
arguments
);
};
LimitAllDocsStorage
.
prototype
.
removeAttachment
=
function
()
{
return
this
.
_sub_storage
.
removeAttachment
.
apply
(
this
.
_sub_storage
,
arguments
);
};
LimitAllDocsStorage
.
prototype
.
repair
=
function
()
{
return
this
.
_sub_storage
.
repair
.
apply
(
this
.
_sub_storage
,
arguments
);
};
LimitAllDocsStorage
.
prototype
.
hasCapacity
=
function
(
name
)
{
return
this
.
_sub_storage
.
hasCapacity
(
name
);
};
LimitAllDocsStorage
.
prototype
.
buildQuery
=
function
(
options
)
{
var
storage
=
this
;
return
this
.
_sub_storage
.
allDocs
(
options
)
.
push
(
function
(
result
)
{
var
i
;
for
(
i
=
0
;
i
<
result
.
data
.
total_rows
;
i
+=
1
)
{
if
(
result
.
data
.
rows
[
i
].
id
===
storage
.
_document
)
{
return
[
result
.
data
.
rows
[
i
]];
}
}
return
[];
});
};
jIO
.
addStorage
(
'
limitalldocs
'
,
LimitAllDocsStorage
);
}(
jIO
));
bt5/erp5_officejs/PathTemplateItem/web_page_module/jio_limitalldocsstorage_js.xml
0 → 100644
View file @
1dc6125d
This diff is collapsed.
Click to expand it.
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