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
preetwinder
erp5
Commits
dcb5e958
Commit
dcb5e958
authored
Aug 04, 2017
by
Vincent Bechu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_officejs] Remove signature_hash and add type in query for pdf sync
parent
eda987fc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
13 deletions
+6
-13
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_erp5_configurator_js.js
...e_module/gadget_officejs_page_jio_erp5_configurator_js.js
+4
-11
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_erp5_configurator_js.xml
..._module/gadget_officejs_page_jio_erp5_configurator_js.xml
+2
-2
No files found.
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_erp5_configurator_js.js
View file @
dcb5e958
...
@@ -10,21 +10,22 @@
...
@@ -10,21 +10,22 @@
.
push
(
function
()
{
.
push
(
function
()
{
return
RSVP
.
all
([
return
RSVP
.
all
([
gadget
.
getSetting
(
"
portal_type
"
,
"
Web Page
"
),
gadget
.
getSetting
(
"
portal_type
"
,
"
Web Page
"
),
gadget
.
getSetting
(
"
erp5_attachment_synchro
"
,
undefined
),
gadget
.
getSetting
(
"
erp5_attachment_synchro
"
,
""
),
gadget
.
getSetting
(
"
default_view_reference
"
,
'
jio_view
'
)
gadget
.
getSetting
(
"
default_view_reference
"
,
'
jio_view
'
)
]);
]);
})
})
.
push
(
function
(
result
)
{
.
push
(
function
(
result
)
{
var
configuration
=
{},
var
configuration
=
{},
portal_type
=
result
[
0
],
portal_type
=
result
[
0
],
attachment_synchro
=
result
[
1
]
!==
undefined
,
attachment_synchro
=
result
[
1
]
!==
""
,
extended_attachment_url
=
result
[
1
];
extended_attachment_url
=
result
[
1
];
configuration
=
{
configuration
=
{
type
:
"
replicate
"
,
type
:
"
replicate
"
,
// XXX This drop the signature lists...
// XXX This drop the signature lists...
query
:
{
query
:
{
query
:
'
portal_type:"
'
+
portal_type
+
'
"
'
,
query
:
'
(portal_type:"
'
+
portal_type
+
'
")
'
+
'
(type: "
'
+
portal_type
+
'
")
'
,
limit
:
[
0
,
50
],
limit
:
[
0
,
50
],
sort_on
:
[[
"
modification_date
"
,
"
descending
"
]]
sort_on
:
[[
"
modification_date
"
,
"
descending
"
]]
},
},
...
@@ -32,7 +33,6 @@
...
@@ -32,7 +33,6 @@
conflict_handling
:
1
,
conflict_handling
:
1
,
parallel_operation_attachment_amount
:
10
,
parallel_operation_attachment_amount
:
10
,
parallel_operation_amount
:
10
,
parallel_operation_amount
:
10
,
signature_hash_key
:
'
modification_date
'
,
check_local_attachment_modification
:
attachment_synchro
,
check_local_attachment_modification
:
attachment_synchro
,
check_local_attachment_creation
:
attachment_synchro
,
check_local_attachment_creation
:
attachment_synchro
,
check_remote_attachment_modification
:
attachment_synchro
,
check_remote_attachment_modification
:
attachment_synchro
,
...
@@ -89,13 +89,6 @@
...
@@ -89,13 +89,6 @@
}
}
}
}
};
};
// This is only for onlyoffice
if
(
extended_attachment_url
===
"
/{+id}/Document_downloadForOnlyOfficeApp
"
)
{
configuration
=
{
type
:
"
fix_local
"
,
sub_storage
:
configuration
};
}
return
gadget
.
setSetting
(
'
jio_storage_description
'
,
configuration
);
return
gadget
.
setSetting
(
'
jio_storage_description
'
,
configuration
);
})
})
.
push
(
function
()
{
.
push
(
function
()
{
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_erp5_configurator_js.xml
View file @
dcb5e958
...
@@ -273,7 +273,7 @@
...
@@ -273,7 +273,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
961.
8948.57765.64853
</string>
</value>
<value>
<string>
961.
12179.45405.40294
</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>
1501
674974.42
</float>
<float>
1501
860598.21
</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