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
Labels
Merge Requests
138
Merge Requests
138
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
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
68170b7b
Commit
68170b7b
authored
Mar 20, 2019
by
Roque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_officejs: clean up after test fix
parent
c795940d
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
38 deletions
+8
-38
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_discussion_tool_appcache.xml
..._page_module/gadget_officejs_discussion_tool_appcache.xml
+2
-3
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_appcachestorage_js.js
...web_page_module/gadget_officejs_jio_appcachestorage_js.js
+2
-25
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_jio_js.js
...athTemplateItem/web_page_module/gadget_officejs_jio_js.js
+1
-7
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_js.xml
...thTemplateItem/web_page_module/gadget_officejs_jio_js.xml
+1
-1
No files found.
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_discussion_tool_appcache.xml
View file @
68170b7b
...
...
@@ -229,7 +229,6 @@ gadget_officejs_discussion_tool_router.html\n
/\n
app/\n
gadget_officejs_discussion_tool.configuration\n
#app/gadget_officejs_discussion_tool.configuration\n
gadget_officejs_discussion_tool.json\n
gadget_officejs_bootloader.js\n
gadget_officejs_bootloader_presentation.html\n
...
...
@@ -734,7 +733,7 @@ NETWORK:\n
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
974.3
0099.13229.45585
</string>
</value>
<value>
<string>
974.3
1239.34087.42410
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -752,7 +751,7 @@ NETWORK:\n
</tuple>
<state>
<tuple>
<float>
155308
4611.2
</float>
<float>
155308
9034.71
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_appcachestorage_js.js
View file @
68170b7b
...
...
@@ -10,8 +10,6 @@
this
.
_take_installer
=
spec
.
take_installer
||
false
;
this
.
_origin_url
=
spec
.
origin_url
!==
undefined
?
spec
.
origin_url
:
window
.
location
.
href
;
console
.
log
(
"
[DEBUG] APPCACHESTORAGE window.location.href:
"
);
console
.
log
(
window
.
location
.
href
);
this
.
_version
=
spec
.
version
||
""
;
this
.
_prefix
=
spec
.
prefix
||
"
./
"
;
this
.
_documents
=
{};
...
...
@@ -50,7 +48,6 @@
AppCacheStorage
.
prototype
.
getAttachment
=
function
(
origin_url
,
relative_url
)
{
console
.
log
(
"
[DEBUG] APPCACHESTORAGE: getAttachment for
"
+
relative_url
);
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
jIO
.
util
.
ajax
({
...
...
@@ -65,11 +62,6 @@
};
AppCacheStorage
.
prototype
.
allAttachments
=
function
(
id
)
{
console
.
log
(
"
[DEBUG] APPCACHESTORAGE allAttachments
"
);
console
.
log
(
"
[DEBUG] APPCACHESTORAGE this._origin_url
"
);
console
.
log
(
this
.
_origin_url
);
console
.
log
(
"
[DEBUG] APPCACHESTORAGE parameter id
"
);
console
.
log
(
id
);
if
(
id
===
this
.
_origin_url
)
{
var
result
=
{},
i
,
len
=
this
.
_relative_url_list
.
length
;
for
(
i
=
0
;
i
<
len
;
i
+=
1
)
{
...
...
@@ -95,21 +87,17 @@
};
AppCacheStorage
.
prototype
.
repair
=
function
()
{
console
.
log
(
"
[DEBUG] APPCACHESTORAGE repair
"
);
var
storage
=
this
,
url
=
""
;
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
url
=
new
URL
(
storage
.
_manifest
,
new
URL
(
storage
.
_version
,
storage
.
_origin_url
))
console
.
log
(
"
[DEBUG] APPCACHESTORAGE JIO.util.ajax to url:
"
+
url
);
storage
.
_origin_url
));
return
jIO
.
util
.
ajax
({
type
:
"
GET
"
,
url
:
url
});
})
.
push
(
function
(
response
)
{
console
.
log
(
"
[DEBUG] APPCACHESTORAGE ajax response:
"
);
console
.
log
(
response
);
var
text
=
response
.
target
.
responseText
,
relative_url_list
=
text
.
split
(
'
\n
'
),
i
,
...
...
@@ -133,21 +121,10 @@
take
=
true
;
}
}
console
.
log
(
"
[DEBUG] APPCACHESTORAGE end url-iteration. storage._relative_url_list:
"
);
console
.
log
(
storage
.
_relative_url_list
);
})
.
push
(
undefined
,
function
(
error
)
{
if
(
!
error
.
message
)
{
console
.
log
(
"
error getting the manifest:
"
);
console
.
log
(
error
);
var
info
=
"
.
"
;
if
(
error
.
currentTarget
)
{
info
+=
"
status:
"
+
error
.
currentTarget
.
status
;
info
+=
"
. response:
"
+
error
.
currentTarget
.
response
;
}
else
{
info
+=
"
error.currentTarget:
"
+
error
.
currentTarget
;
}
error
.
message
=
"
Can't get manifest. URL:
"
+
url
+
info
;
error
.
message
=
"
Can't get manifest. URL:
"
+
url
;
}
throw
error
;
});
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_appcachestorage_js.xml
View file @
68170b7b
...
...
@@ -237,7 +237,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
974.31
277.33067.51916
</string>
</value>
<value>
<string>
974.31
314.47298.63044
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -255,7 +255,7 @@
</tuple>
<state>
<tuple>
<float>
155308
6893.39
</float>
<float>
155308
9133.43
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_js.js
View file @
68170b7b
...
...
@@ -75,7 +75,6 @@
.
declareMethod
(
'
createJio
'
,
function
(
jio_options
)
{
var
gadget
=
this
,
//origin_url = window.location.protocol + "//" + window.location.hostname + window.location.pathname,
origin_url
=
window
.
location
.
href
,
prefix
=
"
./
"
,
hateoas_script
=
"
hateoas/ERP5Document_getHateoas
"
,
...
...
@@ -104,16 +103,11 @@
local_sub_storage
:
{},
remote_sub_storage
:
{
type
:
"
appcache
"
,
manifest
:
manifest
/*,
origin_url: origin_url*/
manifest
:
manifest
}
},
appcache_storage
,
sync_flag
=
"
appcache-stored
"
,
configuration_ids_dict
=
{};
console
.
log
(
"
[DEBUG] JIO GADGET window.location.href:
"
);
console
.
log
(
window
.
location
.
href
);
console
.
log
(
"
[DEBUG] JIO GADGET generated origin_url:
"
);
console
.
log
(
origin_url
);
if
(
jio_options
===
undefined
)
{
return
;
}
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_js.xml
View file @
68170b7b
...
...
@@ -252,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>
155308
6979.81
</float>
<float>
155308
9225.04
</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