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
2e547774
Commit
2e547774
authored
Aug 06, 2020
by
Roque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_gadget_interface_validator: update storage to handle new precache manifest response
- test updated
parent
6036a267
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
bt5/erp5_gadget_interface_validator/PathTemplateItem/web_page_module/gadget_interface_validator_jio_js.js
...Item/web_page_module/gadget_interface_validator_jio_js.js
+1
-1
bt5/erp5_gadget_interface_validator/PathTemplateItem/web_page_module/gadget_interface_validator_jio_js.xml
...tem/web_page_module/gadget_interface_validator_jio_js.xml
+2
-2
bt5/erp5_gadget_interface_validator_ui_test/SkinTemplateItem/portal_skins/erp5_gadget_interface_validator_ui_test/WebSection_getInterfaceValidatorTestPrecacheManifest.py
...t/WebSection_getInterfaceValidatorTestPrecacheManifest.py
+5
-1
No files found.
bt5/erp5_gadget_interface_validator/PathTemplateItem/web_page_module/gadget_interface_validator_jio_js.js
View file @
2e547774
...
...
@@ -22,7 +22,7 @@
})
.
push
(
function
(
evt
)
{
var
key
,
precache_dict
=
evt
.
target
.
response
,
precache_dict
=
evt
.
target
.
response
.
url_dict
,
result_list
=
[],
precache_absolute_url
=
(
new
URL
(
precache_url
,
window
.
location
)).
href
;
for
(
key
in
precache_dict
)
{
...
...
bt5/erp5_gadget_interface_validator/PathTemplateItem/web_page_module/gadget_interface_validator_jio_js.xml
View file @
2e547774
...
...
@@ -234,7 +234,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
98
1.51931.38103.24746
</string>
</value>
<value>
<string>
98
5.49101.35647.15445
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -252,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>
15
81590120.37
</float>
<float>
15
96722312.92
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_gadget_interface_validator_ui_test/SkinTemplateItem/portal_skins/erp5_gadget_interface_validator_ui_test/WebSection_getInterfaceValidatorTestPrecacheManifest.py
View file @
2e547774
...
...
@@ -22,7 +22,11 @@ url_list = [
if
REQUEST
is
not
None
:
import
json
manifest_dict
=
{
'url_dict'
:
dict
.
fromkeys
(
url_list
),
'modification_date'
:
context
.
getModificationDate
().
rfc822
()
}
REQUEST
.
RESPONSE
.
setHeader
(
'Content-Type'
,
'application/json'
)
return
json
.
dumps
(
dict
.
fromkeys
(
url_list
)
,
indent
=
2
)
return
json
.
dumps
(
manifest_dict
,
indent
=
2
)
return
url_list
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