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
0c1e24fb
Commit
0c1e24fb
authored
Aug 04, 2017
by
Vincent Bechu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_officejs] Update storage configurator, replace development/ by app/
parent
61f1419a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
17 deletions
+9
-17
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_dav_configurator_js.js
...ge_module/gadget_officejs_page_jio_dav_configurator_js.js
+1
-1
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_dav_configurator_js.xml
...e_module/gadget_officejs_page_jio_dav_configurator_js.xml
+2
-2
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
-12
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_dav_configurator_js.js
View file @
0c1e24fb
...
@@ -155,7 +155,7 @@
...
@@ -155,7 +155,7 @@
.
declareService
(
function
()
{
.
declareService
(
function
()
{
var
gadget
=
this
;
var
gadget
=
this
;
return
gadget
.
getSetting
(
"
global_setting_gadget_url
"
,
"
officejs_setting_gadget/
development
/
"
)
return
gadget
.
getSetting
(
"
global_setting_gadget_url
"
,
"
officejs_setting_gadget/
app
/
"
)
.
push
(
function
(
global_setting_gadget_url
)
{
.
push
(
function
(
global_setting_gadget_url
)
{
return
gadget
.
declareGadget
(
global_setting_gadget_url
,
{
return
gadget
.
declareGadget
(
global_setting_gadget_url
,
{
"
scope
"
:
"
global_setting_gadget
"
,
"
scope
"
:
"
global_setting_gadget
"
,
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_dav_configurator_js.xml
View file @
0c1e24fb
...
@@ -238,7 +238,7 @@
...
@@ -238,7 +238,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
961.
6001.38865.21538
</string>
</value>
<value>
<string>
961.
10686.10882.5973
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -256,7 +256,7 @@
...
@@ -256,7 +256,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
150
1665906.31
</float>
<float>
150
2107775.92
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_erp5_configurator_js.js
View file @
0c1e24fb
...
@@ -10,14 +10,14 @@
...
@@ -10,14 +10,14 @@
.
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
=
{
...
@@ -32,7 +32,6 @@
...
@@ -32,7 +32,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
,
...
@@ -50,7 +49,7 @@
...
@@ -50,7 +49,7 @@
type
:
"
uuid
"
,
type
:
"
uuid
"
,
sub_storage
:
{
sub_storage
:
{
type
:
"
indexeddb
"
,
type
:
"
indexeddb
"
,
database
:
"
officejs-hash
"
database
:
"
officejs-
erp5-
hash
"
}
}
}
}
},
},
...
@@ -89,13 +88,6 @@
...
@@ -89,13 +88,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
()
{
...
@@ -182,7 +174,7 @@
...
@@ -182,7 +174,7 @@
.
declareService
(
function
()
{
.
declareService
(
function
()
{
var
gadget
=
this
;
var
gadget
=
this
;
return
gadget
.
getSetting
(
"
global_setting_gadget_url
"
,
"
officejs_setting_gadget/development
/
"
)
return
gadget
.
getSetting
(
"
global_setting_gadget_url
"
,
"
../officejs_setting_gadget/app
/
"
)
.
push
(
function
(
global_setting_gadget_url
)
{
.
push
(
function
(
global_setting_gadget_url
)
{
return
gadget
.
declareGadget
(
global_setting_gadget_url
,
{
return
gadget
.
declareGadget
(
global_setting_gadget_url
,
{
"
scope
"
:
"
global_setting_gadget
"
,
"
scope
"
:
"
global_setting_gadget
"
,
...
...
bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_erp5_configurator_js.xml
View file @
0c1e24fb
...
@@ -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.
22099.5660.20138
</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>
150
1674974.42
</float>
<float>
150
2460802.37
</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