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
Joshua
erp5
Commits
1f475772
Commit
1f475772
authored
Oct 05, 2017
by
Vincent Bechu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[OfficeJS] Add dateupdater storage on top of all officejs storage
And adapt cache
parent
3bfe34e0
Changes
20
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
26 additions
and
30 deletions
+26
-30
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bookmark_view_js.js
...eItem/web_page_module/gadget_officejs_bookmark_view_js.js
+0
-1
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bookmark_view_js.xml
...Item/web_page_module/gadget_officejs_bookmark_view_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
+5
-0
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_js.xml
...thTemplateItem/web_page_module/gadget_officejs_jio_js.xml
+3
-3
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_pdf_view_js.js
...teItem/web_page_module/gadget_officejs_jio_pdf_view_js.js
+0
-1
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_pdf_view_js.xml
...eItem/web_page_module/gadget_officejs_jio_pdf_view_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_web_illustration_view_js.js
...ge_module/gadget_officejs_jio_web_illustration_view_js.js
+0
-1
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_web_illustration_view_js.xml
...e_module/gadget_officejs_jio_web_illustration_view_js.xml
+2
-2
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_web_page_view_js.js
...m/web_page_module/gadget_officejs_jio_web_page_view_js.js
+0
-1
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_web_page_view_js.xml
.../web_page_module/gadget_officejs_jio_web_page_view_js.xml
+2
-2
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_page_module/gadget_image_editor_officejs_view_js.js
...m/web_page_module/gadget_image_editor_officejs_view_js.js
+0
-1
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_page_module/gadget_image_editor_officejs_view_js.xml
.../web_page_module/gadget_image_editor_officejs_view_js.xml
+2
-2
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_page_module/gadget_web_table_view_js.js
...hTemplateItem/web_page_module/gadget_web_table_view_js.js
+0
-1
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_page_module/gadget_web_table_view_js.xml
...TemplateItem/web_page_module/gadget_web_table_view_js.xml
+2
-2
bt5/erp5_officejs_ooffice/PathTemplateItem/web_page_module/gadget_ooffice_jio_presentation_view_js.js
...eb_page_module/gadget_ooffice_jio_presentation_view_js.js
+0
-1
bt5/erp5_officejs_ooffice/PathTemplateItem/web_page_module/gadget_ooffice_jio_presentation_view_js.xml
...b_page_module/gadget_ooffice_jio_presentation_view_js.xml
+2
-2
bt5/erp5_officejs_ooffice/PathTemplateItem/web_page_module/gadget_ooffice_jio_spreadsheet_view_js.js
...web_page_module/gadget_ooffice_jio_spreadsheet_view_js.js
+0
-1
bt5/erp5_officejs_ooffice/PathTemplateItem/web_page_module/gadget_ooffice_jio_spreadsheet_view_js.xml
...eb_page_module/gadget_ooffice_jio_spreadsheet_view_js.xml
+2
-2
bt5/erp5_officejs_ooffice/PathTemplateItem/web_page_module/gadget_ooffice_jio_text_view_js.js
...teItem/web_page_module/gadget_ooffice_jio_text_view_js.js
+0
-1
bt5/erp5_officejs_ooffice/PathTemplateItem/web_page_module/gadget_ooffice_jio_text_view_js.xml
...eItem/web_page_module/gadget_ooffice_jio_text_view_js.xml
+2
-2
No files found.
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bookmark_view_js.js
View file @
1f475772
...
@@ -50,7 +50,6 @@
...
@@ -50,7 +50,6 @@
doc
=
gadget
.
state
.
doc
;
doc
=
gadget
.
state
.
doc
;
doc
.
text_content
=
content
.
text_content
;
doc
.
text_content
=
content
.
text_content
;
}
}
doc
.
modification_date
=
(
new
Date
()).
toUTCString
();
return
gadget
.
jio_put
(
gadget
.
state
.
jio_key
,
doc
);
return
gadget
.
jio_put
(
gadget
.
state
.
jio_key
,
doc
);
})
})
.
push
(
function
()
{
.
push
(
function
()
{
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_bookmark_view_js.xml
View file @
1f475772
...
@@ -236,7 +236,7 @@
...
@@ -236,7 +236,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
962.3
6985.29761.10359
</string>
</value>
<value>
<string>
962.3
7006.38613.44356
</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>
1507
195115.29
</float>
<float>
1507
216731.96
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_js.js
View file @
1f475772
...
@@ -70,6 +70,11 @@
...
@@ -70,6 +70,11 @@
if
(
jio_options
===
undefined
)
{
if
(
jio_options
===
undefined
)
{
return
;
return
;
}
}
jio_options
=
{
type
:
'
dateupdater
'
,
sub_storage
:
jio_options
,
property_list
:
[
'
modification_date
'
]
};
try
{
try
{
this
.
state_parameter_dict
.
jio_storage
=
jIO
.
createJIO
(
jio_options
);
this
.
state_parameter_dict
.
jio_storage
=
jIO
.
createJIO
(
jio_options
);
}
catch
(
error
)
{
}
catch
(
error
)
{
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_js.xml
View file @
1f475772
...
@@ -222,7 +222,7 @@
...
@@ -222,7 +222,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>
...
@@ -236,7 +236,7 @@
...
@@ -236,7 +236,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
962.
14325.54663.48878
</string>
</value>
<value>
<string>
962.
36985.29761.10359
</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
5921031.1
</float>
<float>
150
7216488.77
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_pdf_view_js.js
View file @
1f475772
...
@@ -49,7 +49,6 @@
...
@@ -49,7 +49,6 @@
return
gadget
.
jio_putAttachment
(
gadget
.
state
.
doc
.
jio_key
,
"
data
"
,
blob
);
return
gadget
.
jio_putAttachment
(
gadget
.
state
.
doc
.
jio_key
,
"
data
"
,
blob
);
});
});
}
}
doc
.
modification_date
=
(
new
Date
()).
toISOString
();
})
})
.
push
(
function
()
{
.
push
(
function
()
{
return
gadget
.
jio_put
(
gadget
.
state
.
jio_key
,
doc
);
return
gadget
.
jio_put
(
gadget
.
state
.
jio_key
,
doc
);
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_pdf_view_js.xml
View file @
1f475772
...
@@ -233,7 +233,7 @@
...
@@ -233,7 +233,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
962.3
6985.29761.10359
</string>
</value>
<value>
<string>
962.3
7007.2490.4437
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -251,7 +251,7 @@
...
@@ -251,7 +251,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1507
195142.2
</float>
<float>
1507
216751.29
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_web_illustration_view_js.js
View file @
1f475772
...
@@ -46,7 +46,6 @@
...
@@ -46,7 +46,6 @@
doc
=
gadget
.
state
.
doc
;
doc
=
gadget
.
state
.
doc
;
doc
.
text_content
=
content
.
text_content
;
doc
.
text_content
=
content
.
text_content
;
}
}
doc
.
modification_date
=
(
new
Date
()).
toISOString
();
return
gadget
.
jio_put
(
gadget
.
state
.
jio_key
,
doc
);
return
gadget
.
jio_put
(
gadget
.
state
.
jio_key
,
doc
);
})
})
.
push
(
function
()
{
.
push
(
function
()
{
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_web_illustration_view_js.xml
View file @
1f475772
...
@@ -273,7 +273,7 @@
...
@@ -273,7 +273,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
962.3
6985.29761.10359
</string>
</value>
<value>
<string>
962.3
7007.62049.31914
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -291,7 +291,7 @@
...
@@ -291,7 +291,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1507
195196.76
</float>
<float>
1507
216794.53
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_web_page_view_js.js
View file @
1f475772
...
@@ -46,7 +46,6 @@
...
@@ -46,7 +46,6 @@
doc
=
gadget
.
state
.
doc
;
doc
=
gadget
.
state
.
doc
;
doc
.
text_content
=
content
.
text_content
;
doc
.
text_content
=
content
.
text_content
;
}
}
doc
.
modification_date
=
(
new
Date
()).
toISOString
();
return
gadget
.
jio_put
(
gadget
.
state
.
jio_key
,
doc
);
return
gadget
.
jio_put
(
gadget
.
state
.
jio_key
,
doc
);
})
})
.
push
(
function
()
{
.
push
(
function
()
{
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_web_page_view_js.xml
View file @
1f475772
...
@@ -232,7 +232,7 @@
...
@@ -232,7 +232,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
962.3
6985.29761.10359
</string>
</value>
<value>
<string>
962.3
7008.9624.51234
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -250,7 +250,7 @@
...
@@ -250,7 +250,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1507
195208.76
</float>
<float>
1507
216802.33
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_page_module/gadget_image_editor_officejs_view_js.js
View file @
1f475772
...
@@ -52,7 +52,6 @@
...
@@ -52,7 +52,6 @@
return
gadget
.
jio_putAttachment
(
gadget
.
state
.
jio_key
,
"
data
"
,
blob
);
return
gadget
.
jio_putAttachment
(
gadget
.
state
.
jio_key
,
"
data
"
,
blob
);
});
});
}
}
doc
.
modification_date
=
(
new
Date
()).
toISOString
();
})
})
.
push
(
function
()
{
.
push
(
function
()
{
return
gadget
.
jio_put
(
gadget
.
state
.
jio_key
,
doc
);
return
gadget
.
jio_put
(
gadget
.
state
.
jio_key
,
doc
);
...
...
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_page_module/gadget_image_editor_officejs_view_js.xml
View file @
1f475772
...
@@ -235,7 +235,7 @@
...
@@ -235,7 +235,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
962.3
6985.29761.10359
</string>
</value>
<value>
<string>
962.3
7006.51899.60586
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -253,7 +253,7 @@
...
@@ -253,7 +253,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1507
195127.46
</float>
<float>
1507
216742.11
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_page_module/gadget_web_table_view_js.js
View file @
1f475772
...
@@ -46,7 +46,6 @@
...
@@ -46,7 +46,6 @@
doc
=
gadget
.
state
.
doc
;
doc
=
gadget
.
state
.
doc
;
doc
.
text_content
=
content
.
text_content
;
doc
.
text_content
=
content
.
text_content
;
}
}
doc
.
modification_date
=
(
new
Date
()).
toISOString
();
return
gadget
.
jio_put
(
gadget
.
state
.
jio_key
,
doc
);
return
gadget
.
jio_put
(
gadget
.
state
.
jio_key
,
doc
);
})
})
.
push
(
function
()
{
.
push
(
function
()
{
...
...
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_page_module/gadget_web_table_view_js.xml
View file @
1f475772
...
@@ -227,7 +227,7 @@
...
@@ -227,7 +227,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
962.3
6985.29761.10359
</string>
</value>
<value>
<string>
962.3
7008.22150.56354
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -245,7 +245,7 @@
...
@@ -245,7 +245,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1507
195220.23
</float>
<float>
1507
216811.32
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs_ooffice/PathTemplateItem/web_page_module/gadget_ooffice_jio_presentation_view_js.js
View file @
1f475772
...
@@ -52,7 +52,6 @@
...
@@ -52,7 +52,6 @@
jIO
.
util
.
dataURItoBlob
(
content
.
text_content
)
jIO
.
util
.
dataURItoBlob
(
content
.
text_content
)
);
);
}
}
doc
.
modification_date
=
(
new
Date
()).
toISOString
();
})
})
.
push
(
function
()
{
.
push
(
function
()
{
return
gadget
.
jio_put
(
gadget
.
state
.
jio_key
,
doc
);
return
gadget
.
jio_put
(
gadget
.
state
.
jio_key
,
doc
);
...
...
bt5/erp5_officejs_ooffice/PathTemplateItem/web_page_module/gadget_ooffice_jio_presentation_view_js.xml
View file @
1f475772
...
@@ -233,7 +233,7 @@
...
@@ -233,7 +233,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
962.3
6985.29761.10359
</string>
</value>
<value>
<string>
962.3
7007.20027.35498
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -251,7 +251,7 @@
...
@@ -251,7 +251,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1507
195158.28
</float>
<float>
1507
216762.23
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs_ooffice/PathTemplateItem/web_page_module/gadget_ooffice_jio_spreadsheet_view_js.js
View file @
1f475772
...
@@ -52,7 +52,6 @@
...
@@ -52,7 +52,6 @@
jIO
.
util
.
dataURItoBlob
(
content
.
text_content
)
jIO
.
util
.
dataURItoBlob
(
content
.
text_content
)
);
);
}
}
doc
.
modification_date
=
(
new
Date
()).
toISOString
();
})
})
.
push
(
function
()
{
.
push
(
function
()
{
return
gadget
.
jio_put
(
gadget
.
state
.
jio_key
,
doc
);
return
gadget
.
jio_put
(
gadget
.
state
.
jio_key
,
doc
);
...
...
bt5/erp5_officejs_ooffice/PathTemplateItem/web_page_module/gadget_ooffice_jio_spreadsheet_view_js.xml
View file @
1f475772
...
@@ -233,7 +233,7 @@
...
@@ -233,7 +233,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
962.3
6985.29761.10359
</string>
</value>
<value>
<string>
962.3
7007.35052.50005
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -251,7 +251,7 @@
...
@@ -251,7 +251,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1507
195172.04
</float>
<float>
1507
216770.69
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs_ooffice/PathTemplateItem/web_page_module/gadget_ooffice_jio_text_view_js.js
View file @
1f475772
...
@@ -52,7 +52,6 @@
...
@@ -52,7 +52,6 @@
jIO
.
util
.
dataURItoBlob
(
content
.
text_content
)
jIO
.
util
.
dataURItoBlob
(
content
.
text_content
)
);
);
}
}
doc
.
modification_date
=
(
new
Date
()).
toISOString
();
})
})
.
push
(
function
()
{
.
push
(
function
()
{
return
gadget
.
jio_put
(
gadget
.
state
.
jio_key
,
doc
);
return
gadget
.
jio_put
(
gadget
.
state
.
jio_key
,
doc
);
...
...
bt5/erp5_officejs_ooffice/PathTemplateItem/web_page_module/gadget_ooffice_jio_text_view_js.xml
View file @
1f475772
...
@@ -233,7 +233,7 @@
...
@@ -233,7 +233,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
962.3
6985.29761.10359
</string>
</value>
<value>
<string>
962.3
7007.50396.49885
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -251,7 +251,7 @@
...
@@ -251,7 +251,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1507
195186.09
</float>
<float>
1507
216779.66
</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