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
Tomáš Peterka
erp5
Commits
f238c4f9
Commit
f238c4f9
authored
May 11, 2017
by
Vincent Bechu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_officejs: add bootloader in zip export
parent
a072b4af
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
58 additions
and
29 deletions
+58
-29
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader.html.html
...Item/web_page_module/gadget_officejs_bootloader.html.html
+3
-3
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader.html.xml
...eItem/web_page_module/gadget_officejs_bootloader.html.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader_js.js
...lateItem/web_page_module/gadget_officejs_bootloader_js.js
+1
-0
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_bootloader_presentation_html.html
..._module/gadget_officejs_bootloader_presentation_html.html
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader_presentation_html.xml
...e_module/gadget_officejs_bootloader_presentation_html.xml
+8
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader_serviceworker_js.js
...age_module/gadget_officejs_bootloader_serviceworker_js.js
+1
-1
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader_serviceworker_js.xml
...ge_module/gadget_officejs_bootloader_serviceworker_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
+19
-2
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/gadget_officejs_page_export_js.js
...ateItem/web_page_module/gadget_officejs_page_export_js.js
+4
-1
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_export_js.xml
...teItem/web_page_module/gadget_officejs_page_export_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/jio_filesystemstorage_js.js
...hTemplateItem/web_page_module/jio_filesystemstorage_js.js
+8
-6
bt5/erp5_officejs/PathTemplateItem/web_page_module/jio_filesystemstorage_js.xml
...TemplateItem/web_page_module/jio_filesystemstorage_js.xml
+2
-2
No files found.
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader.html.html
View file @
f238c4f9
...
...
@@ -8,9 +8,9 @@
<title>
OfficeJS Install
</title>
<script
src=
"rsvp.js"
></script>
<script
src=
"renderjs.js"
></script>
<script
src=
"jiodev.js"
></script>
<script
src=
"
${latest_version}/
rsvp.js"
></script>
<script
src=
"
${latest_version}/
renderjs.js"
></script>
<script
src=
"
${latest_version}/
jiodev.js"
></script>
<script
src=
"jio_appcachestorage.js"
></script>
<script
src=
"gadget_officejs_bootloader.js"
></script>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader.html.xml
View file @
f238c4f9
...
...
@@ -241,7 +241,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
958.
44234.50599.921
</string>
</value>
<value>
<string>
958.
64448.11495.58999
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -259,7 +259,7 @@
</tuple>
<state>
<tuple>
<float>
149
2159460.13
</float>
<float>
149
3373509.97
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader_js.js
View file @
f238c4f9
...
...
@@ -141,6 +141,7 @@ var repair = false;
if
(
!
gadget
.
props
.
sub
)
{
window
.
location
.
pathname
+=
gadget
.
props
.
version_url
;
}
return
;
})
.
push
(
undefined
,
function
(
error
)
{
if
(
error
instanceof
ProgressEvent
)
{
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader_js.xml
View file @
f238c4f9
...
...
@@ -236,7 +236,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
958.
43127.34376.48742
</string>
</value>
<value>
<string>
958.
61634.43604.13073
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -254,7 +254,7 @@
</tuple>
<state>
<tuple>
<float>
149
2093057.34
</float>
<float>
149
3203361.07
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader_presentation_html.html
View file @
f238c4f9
...
...
@@ -8,8 +8,8 @@
<link
rel=
"stylesheet"
href=
"gadget_officejs_bootloader_presentation.css"
>
<!-- renderjs -->
<script
src=
"rsvp.js"
type=
"text/javascript"
></script>
<script
src=
"renderjs.js"
type=
"text/javascript"
></script>
<script
src=
"
development/
rsvp.js"
type=
"text/javascript"
></script>
<script
src=
"
development/
renderjs.js"
type=
"text/javascript"
></script>
<!-- custom script -->
<script
src=
"gadget_officejs_bootloader_presentation.js"
type=
"text/javascript"
></script>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader_presentation_html.xml
View file @
f238c4f9
...
...
@@ -101,6 +101,12 @@
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_substitution_mapping_method_id
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Officejs BootLoader Presentation Gadget
</string>
</value>
...
...
@@ -240,7 +246,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
95
6.64506.921.51985
</string>
</value>
<value>
<string>
95
8.64452.27945.28586
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -258,7 +264,7 @@
</tuple>
<state>
<tuple>
<float>
14
85770530.16
</float>
<float>
14
93372430.42
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader_serviceworker_js.js
View file @
f238c4f9
...
...
@@ -14,7 +14,7 @@ var global = self, window = self;
self
.
DOMError
=
{};
self
.
postMessage
=
function
()
{
return
;
};
self
.
importScripts
(
'
rsvp.js
'
,
'
jiodev.js
'
);
self
.
importScripts
(
'
development/rsvp.js
'
,
'
development/
jiodev.js
'
);
self
.
storage
=
{};
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bootloader_serviceworker_js.xml
View file @
f238c4f9
...
...
@@ -227,7 +227,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
958.
43172.7083.11724
</string>
</value>
<value>
<string>
958.
61563.34886.11246
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -245,7 +245,7 @@
</tuple>
<state>
<tuple>
<float>
149
2095766.17
</float>
<float>
149
3383031.83
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_appcachestorage_js.js
View file @
f238c4f9
...
...
@@ -5,12 +5,28 @@
function
AppCacheStorage
(
spec
)
{
this
.
_manifest
=
spec
.
manifest
;
this
.
_take_installer
=
spec
.
take_installer
||
false
;
this
.
_origin_url
=
spec
.
origin_url
!==
undefined
?
spec
.
origin_url
:
(
window
.
location
.
origin
+
window
.
location
.
pathname
+
(
window
.
location
.
pathname
.
endsWith
(
'
/
'
)
?
''
:
'
/
'
)
+
((
spec
.
version
!==
undefined
)
?
(
spec
.
version
+
(
spec
.
version
.
endsWith
(
'
/
'
)
?
''
:
'
/
'
))
:
""
));
this
.
_relative_url_list
=
[
this
.
_origin_url
,
spec
.
manifest
];
if
(
this
.
_take_installer
)
{
this
.
_relative_url_list
=
[
this
.
_origin_url
,
"
development/
"
+
spec
.
manifest
,
this
.
_origin_url
+
"
development/
"
,
"
gadget_officejs_bootloader.js
"
,
"
gadget_officejs_bootloader.appcache
"
,
"
gadget_officejs_bootloader_presentation.html
"
,
"
gadget_officejs_bootloader_presentation.js
"
,
"
gadget_officejs_bootloader_presentation.css
"
,
"
gadget_officejs_bootloader_serviceworker.js
"
,
"
gadget_erp5_nojqm.css
"
,
"
jio_appcachestorage.js
"
];
}
}
AppCacheStorage
.
prototype
.
get
=
function
(
id
)
{
...
...
@@ -50,7 +66,8 @@
};
AppCacheStorage
.
prototype
.
repair
=
function
()
{
var
storage
=
this
;
var
storage
=
this
,
prefix
=
storage
.
_take_installer
?
"
development/
"
:
""
;
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
jIO
.
util
.
ajax
({
...
...
@@ -78,7 +95,7 @@
relative_url_list
[
i
].
charAt
(
0
)
!==
'
#
'
&&
relative_url_list
[
i
].
charAt
(
0
)
!==
'
'
)
{
relative_url_list
[
i
].
replace
(
"
\r
"
,
""
);
storage
.
_relative_url_list
.
push
(
relative_url_list
[
i
]);
storage
.
_relative_url_list
.
push
(
prefix
+
relative_url_list
[
i
]);
}
if
(
relative_url_list
[
i
].
indexOf
(
"
CACHE:
"
)
>=
0
)
{
take
=
true
;
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_appcachestorage_js.xml
View file @
f238c4f9
...
...
@@ -239,7 +239,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
958.
41792.31362.1314
</string>
</value>
<value>
<string>
958.
64585.2539.29713
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -257,7 +257,7 @@
</tuple>
<state>
<tuple>
<float>
149
2082677.03
</float>
<float>
149
3380404.6
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_export_js.js
View file @
f238c4f9
...
...
@@ -38,6 +38,8 @@
var
gadget
=
this
,
file_storage
=
jIO
.
createJIO
({
type
:
"
replicate
"
,
parallel_operation_attachment_amount
:
400
,
parallel_operation_amount
:
400
,
check_remote_attachment_creation
:
true
,
check_local_creation
:
false
,
check_local_modification
:
false
,
...
...
@@ -49,8 +51,9 @@
document
:
site_url
,
sub_storage
:
{
type
:
"
appcache
"
,
take_installer
:
true
,
manifest
:
cache_file
,
url
:
site_url
origin_
url
:
site_url
}
},
signature_storage
:
{
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_export_js.xml
View file @
f238c4f9
...
...
@@ -227,7 +227,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
958.
33101.25469.11605
</string>
</value>
<value>
<string>
958.
64457.39610.60262
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -245,7 +245,7 @@
</tuple>
<state>
<tuple>
<float>
149
1491776.79
</float>
<float>
149
3379956.25
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/jio_filesystemstorage_js.js
View file @
f238c4f9
...
...
@@ -6,7 +6,10 @@
function
FileSystemStorage
(
spec
)
{
this
.
_document
=
spec
.
document
;
this
.
_sub_storage
=
jIO
.
createJIO
(
spec
.
sub_storage
);
this
.
_id_dict
=
{
"
/
"
:
{
"
index.html
"
:
{}}};
this
.
_id_dict
=
{
"
/
"
:
{
"
index.html
"
:
{}},
"
/development/
"
:
{
"
index.html
"
:
{}}
};
}
FileSystemStorage
.
prototype
.
get
=
function
(
url
)
{
...
...
@@ -20,9 +23,9 @@
FileSystemStorage
.
prototype
.
getAttachment
=
function
(
doc_id
,
attachment_id
)
{
return
this
.
_sub_storage
.
getAttachment
(
this
.
_document
,
(
attachment_id
===
"
index.html
"
)
?
"
/
"
:
(
doc_id
===
"
/
"
)
?
attachment_id
:
doc_id
+
attachment_id
(
attachment_id
===
"
index.html
"
)
?
((
doc_id
===
"
/
"
)
?
"
/
"
:
"
development/
"
)
:
(
(
doc_id
===
"
/
"
)
?
attachment_id
:
doc_id
+
attachment_id
)
);
};
...
...
@@ -66,9 +69,8 @@
}
if
(
!
context
.
_id_dict
.
hasOwnProperty
(
path
))
{
context
.
_id_dict
[
path
]
=
{};
}
else
{
context
.
_id_dict
[
path
][
filename
]
=
{};
}
context
.
_id_dict
[
path
][
filename
]
=
{};
}
}
});
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/jio_filesystemstorage_js.xml
View file @
f238c4f9
...
...
@@ -239,7 +239,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
958.
33063.40118.85
3
</string>
</value>
<value>
<string>
958.
64589.19815.1708
3
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -257,7 +257,7 @@
</tuple>
<state>
<tuple>
<float>
149
1489660.03
</float>
<float>
149
3382071.89
</float>
<string>
UTC
</string>
</tuple>
</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