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
Papa Tamsir Kane
erp5
Commits
2d20cf7c
Commit
2d20cf7c
authored
May 30, 2017
by
Vincent Bechu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
officejs: use static web section in officejs web sites
parent
3a9c2189
Changes
12
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
70 additions
and
1508 deletions
+70
-1508
bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_ckeditor_gadget/development.xml
.../web_site_module/officejs_ckeditor_gadget/development.xml
+7
-171
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_web_officejs_ui.xml
...js/SkinTemplateItem/portal_skins/erp5_web_officejs_ui.xml
+1
-1
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_web_officejs_ui/WebSection_getDocumentValue.py
...skins/erp5_web_officejs_ui/WebSection_getDocumentValue.py
+0
-112
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_web_officejs_ui/WebSection_getDocumentValue.xml
...kins/erp5_web_officejs_ui/WebSection_getDocumentValue.xml
+0
-62
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_web_officejs_ui/WebSection_getDocumentValueListBase.py
...p5_web_officejs_ui/WebSection_getDocumentValueListBase.py
+0
-116
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_web_officejs_ui/WebSection_getDocumentValueListBase.xml
...5_web_officejs_ui/WebSection_getDocumentValueListBase.xml
+0
-62
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_site_module/officejs_image_editor_gadget.xml
...lateItem/web_site_module/officejs_image_editor_gadget.xml
+3
-5
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_site_module/officejs_image_editor_gadget/development.xml
..._site_module/officejs_image_editor_gadget/development.xml
+7
-110
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_site_module/officejs_web_table_editor_gadget/development.xml
...e_module/officejs_web_table_editor_gadget/development.xml
+6
-170
bt5/erp5_officejs_ooffice/PathTemplateItem/web_site_module/ooffice_presentation_gadget/development.xml
...b_site_module/ooffice_presentation_gadget/development.xml
+16
-220
bt5/erp5_officejs_ooffice/PathTemplateItem/web_site_module/ooffice_spreadsheet_gadget/development.xml
...eb_site_module/ooffice_spreadsheet_gadget/development.xml
+15
-258
bt5/erp5_officejs_ooffice/PathTemplateItem/web_site_module/ooffice_text_gadget/development.xml
...eItem/web_site_module/ooffice_text_gadget/development.xml
+15
-221
No files found.
bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_ckeditor_gadget/development.xml
View file @
2d20cf7c
...
...
@@ -2,7 +2,7 @@
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Web Section"
module=
"erp5.portal_type"
/>
<global
name=
"
Static
Web Section"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
...
...
@@ -143,115 +143,12 @@
</dictionary>
</value>
</item>
<item>
<key>
<string>
__translation_dict
</string>
</key>
<value>
<dictionary/>
</value>
</item>
<item>
<key>
<string>
_identity_criterion
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_router_gadget_url
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_jio_gadget_url
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_panel_gadget_url
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_translation_gadget_url
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_header_gadget_url
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_hateoas_url
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_x_frame_options
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_manifest_url
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_content_security_policy
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key>
<string>
_range_criterion
</string>
</key>
<value>
...
...
@@ -262,70 +159,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
caching_policy/must-revalidate
</string>
<string>
aggregate/web_page_module/gadget_ckeditor_html
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
configuration_content_security_policy
</string>
</key>
<value>
<string>
default-src \'self\'; img-src \'self\' data:; media-src \'self\' blob:; connect-src \'self\' https://content.dropboxapi.com https://api.dropboxapi.com mail.tiolive.com data: *.host.vifib.net *.node.vifib.com *.erp5.net https://netdna.bootstrapcdn.com; script-src \'self\' \'unsafe-eval\' \'unsafe-inline\'; font-src \'self\' netdna.bootstrapcdn.com; style-src \'self\' netdna.bootstrapcdn.com \'unsafe-inline\' data:; frame-src \'self\' data:
</string>
</value>
</item>
<item>
<key>
<string>
configuration_hateoas_url
</string>
</key>
<value>
<string>
hateoas
</string>
</value>
</item>
<item>
<key>
<string>
configuration_header_gadget_url
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
configuration_jio_gadget_url
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
configuration_manifest_url
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
configuration_panel_gadget_url
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
configuration_router_gadget_url
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
configuration_translation_gadget_url
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
configuration_x_frame_options
</string>
</key>
<value>
<string>
ALLOW-FROM-ALL
</string>
</value>
</item>
<item>
<key>
<string>
container_layout
</string>
</key>
<value>
<string>
WebSection_renderDefaultPageAsGadget
</string>
</value>
</item>
<item>
<key>
<string>
content_layout
</string>
</key>
<value>
<string>
WebSection_renderDefaultPageAsGadget
</string>
</value>
</item>
<item>
<key>
<string>
custom_render_method_id
</string>
</key>
<value>
<string>
WebSection_render
DefaultPageAsGadget
</string>
</value>
<value>
<string>
WebSection_render
OfficeJSApplicationPage
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
...
...
@@ -341,13 +181,9 @@
<key>
<string>
id
</string>
</key>
<value>
<string>
development
</string>
</value>
</item>
<item>
<key>
<string>
layout_configuration_form_id
</string>
</key>
<value>
<string>
WebSection_viewRenderJSPreference
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Web Section
</string>
</value>
<value>
<string>
Static
Web Section
</string>
</value>
</item>
<item>
<key>
<string>
short_title
</string>
</key>
...
...
@@ -457,7 +293,7 @@
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
vincent
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
...
...
@@ -479,7 +315,7 @@
</tuple>
<state>
<tuple>
<float>
14
87769923.37
</float>
<float>
14
96061268.73
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
@@ -524,7 +360,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
95
8.28728.39689.27221
</string>
</value>
<value>
<string>
95
9.45169.13644.38860
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -542,7 +378,7 @@
</tuple>
<state>
<tuple>
<float>
149
1232188.1
5
</float>
<float>
149
6061259.7
5
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_web_officejs_ui.xml
View file @
2d20cf7c
...
...
@@ -31,7 +31,7 @@
</item>
<item>
<key>
<string>
business_template_skin_layer_priority
</string>
</key>
<value>
<float>
99
.0
</float>
</value>
<value>
<float>
42
.0
</float>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
...
...
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_web_officejs_ui/WebSection_getDocumentValue.py
deleted
100644 → 0
View file @
3a9c2189
"""
This script is part of ERP5 Web
ERP5 Web is a business template of ERP5 which provides a way
to create web sites which can display selected
ERP5 contents through multiple custom web layouts.
The default implementation searches for
documents which are in the user language if any
and which reference is equal to the name parameter.
Other implementations are possible: ex. display the last
version in the closest language rather than
the latest version in the user language.
NOTE:
- the portal parameter was introduced to
fix acquisition issues within the _aq_dynamic
lookup from WebSection class.
"""
stack
=
context
.
REQUEST
.
get
(
'TraversalRequestNameStack'
,
[])
if
type
(
name
)
is
list
:
name
=
name
[
0
]
url_list
=
[
name
]
while
len
(
stack
):
url_list
.
append
(
stack
.
pop
())
reference
=
"/"
.
join
(
url_list
)
from
Products.ZSQLCatalog.SQLCatalog
import
SimpleQuery
,
ComplexQuery
if
portal
is
None
:
portal
=
context
.
getPortalObject
()
portal_catalog
=
portal
.
portal_catalog
# The list of portal types here should be large enough to include
# all portal_types defined in the various sections so that
# href tags which point to a document by reference can still work.
valid_portal_type_list
=
portal
.
getPortalDocumentTypeList
()
# Find the applicable language
if
language
is
None
:
language
=
portal
.
Localizer
.
get_selected_language
()
if
validation_state
is
None
:
validation_state
=
(
'released'
,
'released_alive'
,
'published'
,
'published_alive'
,
'shared'
,
'shared_alive'
,
'public'
,
'validated'
)
if
effective_date
is
None
:
if
now
is
None
:
now
=
DateTime
()
effective_date
=
ComplexQuery
(
SimpleQuery
(
effective_date
=
None
),
SimpleQuery
(
effective_date
=
now
,
comparison_operator
=
'<='
),
logical_operator
=
'or'
,
)
# Note: In sorts, NULL is considered lesser than non-NULL. So in descending
# sort, NULLs will be listed after non-NULLs, which is perfect for
# effective_date, which defines the date at which content becomes effective.
# None (NULL) effective date hence means "effective since infinite in te past".
base_sort
=
((
'effective_date'
,
'descending'
),
)
# Portal Type and validation state should be handled by predicate
# By default
if
hasattr
(
context
,
"searchResults"
):
web_page_list
=
context
.
searchResults
(
reference
=
reference
,
effective_date
=
effective_date
,
language
=
(
language
,
''
),
sort_on
=
((
'language'
,
'descending'
),
)
+
base_sort
,
limit
=
1
,
**
kw
)
else
:
web_page_list
=
portal_catalog
(
reference
=
name
,
effective_date
=
effective_date
,
portal_type
=
valid_portal_type_list
,
validation_state
=
validation_state
,
language
=
(
language
,
''
),
sort_on
=
((
'language'
,
'descending'
),
)
+
base_sort
,
limit
=
1
,
**
kw
)
if
len
(
web_page_list
)
==
0
and
language
!=
'en'
:
# Search again with English as a fallback.
web_page_list
=
portal_catalog
(
reference
=
name
,
effective_date
=
effective_date
,
portal_type
=
valid_portal_type_list
,
validation_state
=
validation_state
,
language
=
'en'
,
sort_on
=
base_sort
,
limit
=
1
,
**
kw
)
if
len
(
web_page_list
)
==
0
:
# Search again without the language
web_page_list
=
portal_catalog
(
reference
=
name
,
effective_date
=
effective_date
,
portal_type
=
valid_portal_type_list
,
validation_state
=
validation_state
,
sort_on
=
base_sort
,
limit
=
1
,
**
kw
)
if
len
(
web_page_list
)
==
0
:
# Default returns None
web_page
=
None
else
:
# Try to get the first page on the list
web_page
=
web_page_list
[
0
]
web_page
=
web_page
.
getObject
()
# return the web page
return
web_page
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_web_officejs_ui/WebSection_getDocumentValue.xml
deleted
100644 → 0
View file @
3a9c2189
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</value>
</item>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
name, portal=None, language=None, validation_state=None, effective_date=None, now=None, **kw
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
WebSection_getDocumentValue
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_web_officejs_ui/WebSection_getDocumentValueListBase.py
deleted
100644 → 0
View file @
3a9c2189
"""
This script is part of ERP5 Web
ERP5 Web is a business template of ERP5 which provides a way
to create web sites which can display selected
ERP5 contents through multiple custom web layouts.
This script returns a list of document values (ie. objects or brains)
which are considered as part of this section. It can be
a list of web pages (usual case), a list of products
(online catalog), a list of tenders (e-government), etc.
The default implementation provided here consists in
listing documents which meet the predicate defined
by the section (ex. which are part of a given publication_section)
and which are in "published" state and of a "Web Page" portal_type.
It should be noted that document selection should be implemented
as much as possible using the Domain API.
This script can be changed to meet other requirements. For example
one may want to display a list of products in a section. In this case,
this script must return a list of documents of type "Product"
with a "validated" state and in the appropriate product family.
This script is intended to be overriden by creating a new script
within the Web Section or Web Site instance. It can be also
customised per portal type within portal_skins. Customisation
thourgh local scripts is recommended to host multiple sites
on the same ERP5Site instance.
The API uses **kw so that it is possible to extend the behaviour of
the default script with advanced features (ex. group by reference,
by version, only select a specific publication state, etc.).
Here are some suggestions which can either be implemented using
SQL (group_by, order_by) or using additional python scripting
if this is compatible with data size.
SUGGESTIONS:
- Prevent showing duplicate references
- Add documents associated to this section through 'aggregate'.
- Display only the latest version and the appropriate language.
"""
from
Products.ZSQLCatalog.SQLCatalog
import
SimpleQuery
,
ComplexQuery
from
zExceptions
import
Unauthorized
try
:
portal
=
container
.
getPortalObject
()
kw
=
portal
.
portal_catalog
.
getSQLCatalog
().
getCannonicalArgumentDict
(
kw
)
# First find the Web Section or Web Site we belong to
current_section
=
context
.
getWebSectionValue
()
if
all_versions
is
None
:
all_versions
=
context
.
getLayoutProperty
(
'layout_all_versions'
,
default
=
False
)
if
all_languages
is
None
:
all_languages
=
context
.
getLayoutProperty
(
'layout_all_languages'
,
default
=
False
)
# Build the list of parameters
if
not
language
:
language
=
portal
.
Localizer
.
get_selected_language
()
if
validation_state
is
None
:
# XXX hardcoded validation state list.
# Use predicate or layout property instead
validation_state
=
(
'released'
,
'released_alive'
,
'published'
,
'published_alive'
,
'shared'
,
'shared_alive'
,
'public'
,
'validated'
)
kw
[
'validation_state'
]
=
validation_state
if
'order_by_list'
not
in
kw
:
# XXX Do not sort by default, as it increases query time
kw
[
'order_by_list'
]
=
[(
'int_index'
,
'DESC'
),
(
'reference'
,
'DESC'
)]
if
effective_date
is
None
:
if
now
is
None
:
now
=
DateTime
()
effective_date
=
ComplexQuery
(
SimpleQuery
(
effective_date
=
None
),
SimpleQuery
(
effective_date
=
now
,
comparison_operator
=
'<='
),
logical_operator
=
'or'
,
)
kw
[
'effective_date'
]
=
effective_date
if
not
all_versions
:
group_by_list
=
set
(
kw
.
get
(
'group_by_list'
,
[]))
if
all_languages
:
kw
[
'group_by_list'
]
=
list
(
group_by_list
.
union
((
'reference'
,
'language'
)))
else
:
kw
[
'group_by_list'
]
=
list
(
group_by_list
.
union
((
'reference'
,)))
# Extend select_dict by order_by_list and group_by_list columns.
extra_column_set
=
{
i
[
0
]
for
i
in
kw
.
get
(
'order_by_list'
,
())}.
union
(
kw
.
get
(
'group_by_list'
,
()))
kw
.
setdefault
(
'select_dict'
,
{}).
update
(
(
x
.
replace
(
'.'
,
'_'
)
+
'__ext__'
,
x
)
for
x
in
extra_column_set
if
not
x
.
endswith
(
'__score__'
))
#raise ValueError("%s" % current_section.WebSection_zGetDocumentValueList(language=language,
# all_languages=all_languages,
# src__=1,
# kw=kw))
return
current_section
.
WebSection_zGetDocumentValueList
(
language
=
language
,
all_languages
=
all_languages
,
src__
=
src__
,
kw
=
kw
)
else
:
if
not
all_languages
:
kw
[
'language'
]
=
language
return
current_section
.
searchResults
(
src__
=
src__
,
**
kw
)
except
Unauthorized
:
return
[]
bt5/erp5_officejs/SkinTemplateItem/portal_skins/erp5_web_officejs_ui/WebSection_getDocumentValueListBase.xml
deleted
100644 → 0
View file @
3a9c2189
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</value>
</item>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
language=None, validation_state=None, all_languages=None, all_versions=None, effective_date=None, now=None, src__=0, **kw
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
WebSection_getDocumentValueListBase
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_site_module/officejs_image_editor_gadget.xml
View file @
2d20cf7c
...
...
@@ -692,9 +692,7 @@
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
<value>
<string>
Deleted objects: []
</string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
...
...
@@ -702,7 +700,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
95
8.28727.12514.25685
</string>
</value>
<value>
<string>
95
9.45146.26450.19592
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -720,7 +718,7 @@
</tuple>
<state>
<tuple>
<float>
149
1232534.88
</float>
<float>
149
6060225.02
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_site_module/officejs_image_editor_gadget/development.xml
View file @
2d20cf7c
...
...
@@ -2,7 +2,7 @@
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Web Section"
module=
"erp5.portal_type"
/>
<global
name=
"
Static
Web Section"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
...
...
@@ -143,12 +143,6 @@
</dictionary>
</value>
</item>
<item>
<key>
<string>
__translation_dict
</string>
</key>
<value>
<dictionary/>
</value>
</item>
<item>
<key>
<string>
_identity_criterion
</string>
</key>
<value>
...
...
@@ -159,66 +153,6 @@
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_router_gadget_url
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_jio_gadget_url
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_panel_gadget_url
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_translation_gadget_url
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_header_gadget_url
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_hateoas_url
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
...
...
@@ -232,7 +166,7 @@
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_
manifest_url
</string>
</value>
<value>
<string>
configuration_
content_security_policy
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
...
...
@@ -242,7 +176,7 @@
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_
content_security_policy
</string>
</value>
<value>
<string>
configuration_
hateoas_url
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
...
...
@@ -262,7 +196,6 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
caching_policy/must-revalidate
</string>
<string>
aggregate/web_page_module/gadget_image_editor_officejs_html
</string>
</tuple>
</value>
...
...
@@ -275,42 +208,6 @@
<key>
<string>
configuration_hateoas_url
</string>
</key>
<value>
<string>
hateoas
</string>
</value>
</item>
<item>
<key>
<string>
configuration_header_gadget_url
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
configuration_jio_gadget_url
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
configuration_manifest_url
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
configuration_panel_gadget_url
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
configuration_router_gadget_url
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
configuration_translation_gadget_url
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
configuration_x_frame_options
</string>
</key>
<value>
<string>
ALLOW-FROM-ALL
</string>
</value>
...
...
@@ -347,7 +244,7 @@
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Web Section
</string>
</value>
<value>
<string>
Static
Web Section
</string>
</value>
</item>
<item>
<key>
<string>
short_title
</string>
</key>
...
...
@@ -479,7 +376,7 @@
</tuple>
<state>
<tuple>
<float>
14
87775922.7
3
</float>
<float>
14
96046633.5
3
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
@@ -524,7 +421,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
95
8.28729.12824.38536
</string>
</value>
<value>
<string>
95
9.45140.37801.7372
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -542,7 +439,7 @@
</tuple>
<state>
<tuple>
<float>
149
1232643.34
</float>
<float>
149
6059824.16
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs_jquery_app/PathTemplateItem/web_site_module/officejs_web_table_editor_gadget/development.xml
View file @
2d20cf7c
...
...
@@ -2,7 +2,7 @@
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Web Section"
module=
"erp5.portal_type"
/>
<global
name=
"
Static
Web Section"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
...
...
@@ -143,115 +143,12 @@
</dictionary>
</value>
</item>
<item>
<key>
<string>
__translation_dict
</string>
</key>
<value>
<dictionary/>
</value>
</item>
<item>
<key>
<string>
_identity_criterion
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_router_gadget_url
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_jio_gadget_url
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_panel_gadget_url
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_translation_gadget_url
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_header_gadget_url
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_hateoas_url
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_x_frame_options
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_manifest_url
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_content_security_policy
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key>
<string>
_range_criterion
</string>
</key>
<value>
...
...
@@ -262,70 +159,13 @@
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
caching_policy/must-revalidate
</string>
<string>
aggregate/web_page_module/gadget_web_table_editor_html
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
configuration_content_security_policy
</string>
</key>
<value>
<string>
default-src \'self\'; img-src \'self\' data:; media-src \'self\' blob:; connect-src \'self\' https://content.dropboxapi.com https://api.dropboxapi.com mail.tiolive.com data: *.host.vifib.net *.node.vifib.com *.erp5.net https://netdna.bootstrapcdn.com; script-src \'self\' \'unsafe-eval\' \'unsafe-inline\'; font-src \'self\' netdna.bootstrapcdn.com; style-src \'self\' netdna.bootstrapcdn.com \'unsafe-inline\' data:; frame-src \'self\' data:
</string>
</value>
</item>
<item>
<key>
<string>
configuration_hateoas_url
</string>
</key>
<value>
<string>
hateoas
</string>
</value>
</item>
<item>
<key>
<string>
configuration_header_gadget_url
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
configuration_jio_gadget_url
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
configuration_manifest_url
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
configuration_panel_gadget_url
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
configuration_router_gadget_url
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
configuration_translation_gadget_url
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
configuration_x_frame_options
</string>
</key>
<value>
<string>
ALLOW-FROM-ALL
</string>
</value>
</item>
<item>
<key>
<string>
container_layout
</string>
</key>
<value>
<string>
WebSection_renderDefaultPageAsGadget
</string>
</value>
</item>
<item>
<key>
<string>
content_layout
</string>
</key>
<value>
<string>
WebSection_renderDefaultPageAsGadget
</string>
</value>
</item>
<item>
<key>
<string>
custom_render_method_id
</string>
</key>
<value>
<string>
WebSection_render
DefaultPageAsGadget
</string>
</value>
<value>
<string>
WebSection_render
OfficeJSApplicationPage
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
...
...
@@ -341,13 +181,9 @@
<key>
<string>
id
</string>
</key>
<value>
<string>
development
</string>
</value>
</item>
<item>
<key>
<string>
layout_configuration_form_id
</string>
</key>
<value>
<string>
WebSection_viewRenderJSPreference
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Web Section
</string>
</value>
<value>
<string>
Static
Web Section
</string>
</value>
</item>
<item>
<key>
<string>
short_title
</string>
</key>
...
...
@@ -479,7 +315,7 @@
</tuple>
<state>
<tuple>
<float>
14
86723357.94
</float>
<float>
14
96060705.0
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
@@ -524,7 +360,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
95
8.28729.6720.38536
</string>
</value>
<value>
<string>
95
9.45161.54123.62310
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -542,7 +378,7 @@
</tuple>
<state>
<tuple>
<float>
149
1232638.04
</float>
<float>
149
6060853.23
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_officejs_ooffice/PathTemplateItem/web_site_module/ooffice_presentation_gadget/development.xml
View file @
2d20cf7c
This diff is collapsed.
Click to expand it.
bt5/erp5_officejs_ooffice/PathTemplateItem/web_site_module/ooffice_spreadsheet_gadget/development.xml
View file @
2d20cf7c
This diff is collapsed.
Click to expand it.
bt5/erp5_officejs_ooffice/PathTemplateItem/web_site_module/ooffice_text_gadget/development.xml
View file @
2d20cf7c
This diff is collapsed.
Click to expand it.
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