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
Thomas Gambier
erp5
Commits
99e67338
Commit
99e67338
authored
Sep 14, 2018
by
Vincent Bechu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_officejs_appstore_base] Add software publication web site
/reviewed-on
nexedi/erp5!754
parent
19edd898
Changes
77
Hide whitespace changes
Inline
Side-by-side
Showing
77 changed files
with
4835 additions
and
885 deletions
+4835
-885
bt5/erp5_officejs_appstore_base/ActionTemplateItem/portal_types/Software%20Product%20Module/create_new_application_dialog.xml
...ware%20Product%20Module/create_new_application_dialog.xml
+85
-0
bt5/erp5_officejs_appstore_base/ActionTemplateItem/portal_types/Software%20Product/update_application.xml
...em/portal_types/Software%20Product/update_application.xml
+85
-0
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_application_presentation_element_js.js
..._module/gadget_ojs_application_presentation_element_js.js
+0
-105
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_appstore_controller_html.html
.../web_page_module/gadget_ojs_appstore_controller_html.html
+17
-0
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_appstore_controller_html.xml
...m/web_page_module/gadget_ojs_appstore_controller_html.xml
+12
-45
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_appstore_controller_js.js
...Item/web_page_module/gadget_ojs_appstore_controller_js.js
+128
-0
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_appstore_controller_js.xml
...tem/web_page_module/gadget_ojs_appstore_controller_js.xml
+16
-43
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_appstore_front_page_html.html
.../web_page_module/gadget_ojs_appstore_front_page_html.html
+23
-0
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_appstore_front_page_html.xml
...m/web_page_module/gadget_ojs_appstore_front_page_html.xml
+14
-41
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_appstore_front_page_js.js
...Item/web_page_module/gadget_ojs_appstore_front_page_js.js
+72
-0
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_appstore_front_page_js.xml
...tem/web_page_module/gadget_ojs_appstore_front_page_js.xml
+22
-37
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_appstore_panel_html.html
...eItem/web_page_module/gadget_ojs_appstore_panel_html.html
+37
-21
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_appstore_panel_html.xml
...teItem/web_page_module/gadget_ojs_appstore_panel_html.xml
+3
-3
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_appstore_panel_js.js
...plateItem/web_page_module/gadget_ojs_appstore_panel_js.js
+276
-87
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_appstore_panel_js.xml
...lateItem/web_page_module/gadget_ojs_appstore_panel_js.xml
+3
-3
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_appstore_publish_button_css.css
...eb_page_module/gadget_ojs_appstore_publish_button_css.css
+42
-0
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_appstore_publish_button_css.xml
...eb_page_module/gadget_ojs_appstore_publish_button_css.xml
+336
-0
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_appstore_publish_button_html.html
..._page_module/gadget_ojs_appstore_publish_button_html.html
+6
-7
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_appstore_publish_button_html.xml
...b_page_module/gadget_ojs_appstore_publish_button_html.xml
+20
-41
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_appstore_publish_button_js.js
.../web_page_module/gadget_ojs_appstore_publish_button_js.js
+72
-0
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_appstore_publish_button_js.xml
...web_page_module/gadget_ojs_appstore_publish_button_js.xml
+22
-37
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_page_officejs_application_list_js.js
...ge_module/gadget_ojs_page_officejs_application_list_js.js
+0
-101
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_software_product_web_section_list_html.html
...le/gadget_ojs_software_product_web_section_list_html.html
+0
-26
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_software_product_web_section_list_js.js
...module/gadget_ojs_software_product_web_section_list_js.js
+0
-80
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_site_module/officejs_runner.xml
...base/PathTemplateItem/web_site_module/officejs_runner.xml
+70
-48
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_site_module/officejs_runner/hateoas.xml
...hTemplateItem/web_site_module/officejs_runner/hateoas.xml
+6
-6
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_site_module/officejs_runner/hateoas/connection.xml
...em/web_site_module/officejs_runner/hateoas/connection.xml
+38
-12
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_site_module/officejs_runner/unsafe.xml
...thTemplateItem/web_site_module/officejs_runner/unsafe.xml
+403
-0
bt5/erp5_officejs_appstore_base/RegisteredSkinSelectionTemplateItem/registered_skin_selection.xml
...edSkinSelectionTemplateItem/registered_skin_selection.xml
+6
-0
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/ERP5Site_getAvailableSoftwareProductList.py
...appstore_base/ERP5Site_getAvailableSoftwareProductList.py
+1
-1
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/SoftwareProductModule_createNewApplication.py
...pstore_base/SoftwareProductModule_createNewApplication.py
+9
-0
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/SoftwareProductModule_createNewApplication.xml
...store_base/SoftwareProductModule_createNewApplication.xml
+62
-0
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/SoftwareProductModule_createNewApplicationDialog.xml
...base/SoftwareProductModule_createNewApplicationDialog.xml
+133
-0
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/SoftwareProductModule_createNewApplicationDialog/your_description.xml
...uctModule_createNewApplicationDialog/your_description.xml
+8
-3
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/SoftwareProductModule_createNewApplicationDialog/your_file.xml
...areProductModule_createNewApplicationDialog/your_file.xml
+89
-0
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/SoftwareProductModule_createNewApplicationDialog/your_title.xml
...reProductModule_createNewApplicationDialog/your_title.xml
+11
-29
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/SoftwareProduct_updateApplication.py
...ficejs_appstore_base/SoftwareProduct_updateApplication.py
+10
-0
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/SoftwareProduct_updateApplication.xml
...icejs_appstore_base/SoftwareProduct_updateApplication.xml
+62
-0
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/SoftwareProduct_updateApplicationDialog.xml
...appstore_base/SoftwareProduct_updateApplicationDialog.xml
+132
-0
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/SoftwareProduct_updateApplicationDialog/your_changelog.xml
...oftwareProduct_updateApplicationDialog/your_changelog.xml
+3
-3
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/SoftwareProduct_updateApplicationDialog/your_file.xml
...ase/SoftwareProduct_updateApplicationDialog/your_file.xml
+89
-0
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/SoftwarePublication_getRelatedSoftwareProduct.py
...ore_base/SoftwarePublication_getRelatedSoftwareProduct.py
+2
-0
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/SoftwarePublication_getRelatedSoftwareProduct.xml
...re_base/SoftwarePublication_getRelatedSoftwareProduct.xml
+62
-0
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/SoftwarePublication_getRelatedWebSite.py
...js_appstore_base/SoftwarePublication_getRelatedWebSite.py
+3
-0
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/SoftwarePublication_getRelatedWebSite.xml
...s_appstore_base/SoftwarePublication_getRelatedWebSite.xml
+62
-0
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/SoftwarePublication_getTestUrlUi.py
...fficejs_appstore_base/SoftwarePublication_getTestUrlUi.py
+9
-0
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/SoftwarePublication_getTestUrlUi.xml
...ficejs_appstore_base/SoftwarePublication_getTestUrlUi.xml
+62
-0
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/SoftwarePublication_selectVersion.py
...ficejs_appstore_base/SoftwarePublication_selectVersion.py
+13
-0
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/SoftwarePublication_selectVersion.xml
...icejs_appstore_base/SoftwarePublication_selectVersion.xml
+62
-0
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/WebSection_renderOfficeJSApplicationPage.py
...appstore_base/WebSection_renderOfficeJSApplicationPage.py
+15
-3
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_ui.xml
...inTemplateItem/portal_skins/erp5_officejs_appstore_ui.xml
+47
-0
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_ui/SoftwareProductModule_viewSoftwareProductList.xml
...tore_ui/SoftwareProductModule_viewSoftwareProductList.xml
+29
-12
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_ui/SoftwareProductModule_viewSoftwareProductList/listbox.xml
...SoftwareProductModule_viewSoftwareProductList/listbox.xml
+65
-37
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_ui/SoftwareProduct_getRelatedSoftwarePublicationList.py
...e_ui/SoftwareProduct_getRelatedSoftwarePublicationList.py
+13
-0
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_ui/SoftwareProduct_getRelatedSoftwarePublicationList.xml
..._ui/SoftwareProduct_getRelatedSoftwarePublicationList.xml
+62
-0
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_ui/SoftwareProduct_view.xml
..._skins/erp5_officejs_appstore_ui/SoftwareProduct_view.xml
+156
-0
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_ui/SoftwareProduct_view/listBox.xml
...rp5_officejs_appstore_ui/SoftwareProduct_view/listBox.xml
+209
-0
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_ui/SoftwareProduct_view/my_description.xml
...icejs_appstore_ui/SoftwareProduct_view/my_description.xml
+4
-43
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_ui/SoftwareProduct_view/my_title.xml
...p5_officejs_appstore_ui/SoftwareProduct_view/my_title.xml
+90
-0
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_ui/SoftwarePublication_getPublishState.py
...ficejs_appstore_ui/SoftwarePublication_getPublishState.py
+11
-0
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_ui/SoftwarePublication_getPublishState.xml
...icejs_appstore_ui/SoftwarePublication_getPublishState.xml
+62
-0
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_ui/SoftwarePublication_isPublished.py
...5_officejs_appstore_ui/SoftwarePublication_isPublished.py
+7
-0
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_ui/SoftwarePublication_isPublished.xml
..._officejs_appstore_ui/SoftwarePublication_isPublished.xml
+62
-0
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_ui/SoftwarePublication_view.xml
...ns/erp5_officejs_appstore_ui/SoftwarePublication_view.xml
+159
-0
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_ui/SoftwarePublication_view/my_description.xml
...s_appstore_ui/SoftwarePublication_view/my_description.xml
+90
-0
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_ui/SoftwarePublication_view/my_title.xml
...fficejs_appstore_ui/SoftwarePublication_view/my_title.xml
+90
-0
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_ui/SoftwarePublication_view/my_translated_simulation_state_title.xml
...Publication_view/my_translated_simulation_state_title.xml
+90
-0
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_ui/SoftwarePublication_view/publication_action.xml
...pstore_ui/SoftwarePublication_view/publication_action.xml
+261
-0
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_ui/SoftwarePublication_view/your_software_product.xml
...ore_ui/SoftwarePublication_view/your_software_product.xml
+287
-0
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_ui/SoftwarePublication_view/your_test_url.xml
...js_appstore_ui/SoftwarePublication_view/your_test_url.xml
+311
-0
bt5/erp5_officejs_appstore_base/bt/dependency_list
bt5/erp5_officejs_appstore_base/bt/dependency_list
+1
-1
bt5/erp5_officejs_appstore_base/bt/template_action_path_list
bt5/erp5_officejs_appstore_base/bt/template_action_path_list
+2
-0
bt5/erp5_officejs_appstore_base/bt/template_keep_last_workflow_history_only_path_list
...ase/bt/template_keep_last_workflow_history_only_path_list
+3
-3
bt5/erp5_officejs_appstore_base/bt/template_keep_workflow_path_list
...fficejs_appstore_base/bt/template_keep_workflow_path_list
+3
-3
bt5/erp5_officejs_appstore_base/bt/template_path_list
bt5/erp5_officejs_appstore_base/bt/template_path_list
+3
-3
bt5/erp5_officejs_appstore_base/bt/template_registered_skin_selection_list
..._appstore_base/bt/template_registered_skin_selection_list
+3
-0
bt5/erp5_officejs_appstore_base/bt/template_skin_id_list
bt5/erp5_officejs_appstore_base/bt/template_skin_id_list
+2
-1
No files found.
bt5/erp5_officejs_appstore_base/ActionTemplateItem/portal_types/Software%20Product%20Module/create_new_application_dialog.xml
0 → 100644
View file @
99e67338
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ActionInformation"
module=
"Products.CMFCore.ActionInformation"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_jio_action
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_jio_action
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
create_new_application_dialog
</string>
</value>
</item>
<item>
<key>
<string>
permissions
</string>
</key>
<value>
<tuple>
<string>
View
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Action Information
</string>
</value>
</item>
<item>
<key>
<string>
priority
</string>
</key>
<value>
<float>
1.0
</float>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Create Application
</string>
</value>
</item>
<item>
<key>
<string>
visible
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Expression"
module=
"Products.CMFCore.Expression"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
text
</string>
</key>
<value>
<string>
string:${object_url}/SoftwareProductModule_createNewApplicationDialog
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_appstore_base/ActionTemplateItem/portal_types/Software%20Product/update_application.xml
0 → 100644
View file @
99e67338
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ActionInformation"
module=
"Products.CMFCore.ActionInformation"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
action_type/object_jio_action
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_jio_action
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
update_application
</string>
</value>
</item>
<item>
<key>
<string>
permissions
</string>
</key>
<value>
<tuple>
<string>
View
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Action Information
</string>
</value>
</item>
<item>
<key>
<string>
priority
</string>
</key>
<value>
<float>
1.0
</float>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Update Application
</string>
</value>
</item>
<item>
<key>
<string>
visible
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Expression"
module=
"Products.CMFCore.Expression"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
text
</string>
</key>
<value>
<string>
string:${object_url}/SoftwareProduct_updateApplicationDialog
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_application_presentation_element_js.js
deleted
100644 → 0
View file @
19edd898
/*global window, rJS, RSVP, URI, location,
loopEventListener, btoa, ComplexQuery, Query */
/*jslint nomen: true, indent: 2, maxerr: 3*/
(
function
(
window
,
rJS
,
RSVP
)
{
"
use strict
"
;
var
gadget_klass
=
rJS
(
window
);
function
getViewLink
(
gadget
,
id
,
action_id
)
{
return
gadget
.
jio_getAttachment
(
id
,
'
links
'
)
.
push
(
function
(
result
)
{
var
i
,
i_len
,
links
;
links
=
result
.
_links
.
action_object_view
;
if
(
links
.
constructor
!==
Array
)
{
links
=
[
links
];
}
for
(
i
=
0
,
i_len
=
links
.
length
;
i
<
i_len
;
i
+=
1
)
{
if
(
links
[
i
].
name
===
action_id
)
{
return
links
[
i
];
}
}
return
undefined
;
});
}
gadget_klass
.
ready
(
function
(
g
)
{
g
.
props
=
{};
return
g
.
getElement
()
.
push
(
function
(
element
)
{
g
.
props
.
element
=
element
;
g
.
props
.
deferred
=
RSVP
.
defer
();
});
})
.
declareAcquiredMethod
(
"
updateHeader
"
,
"
updateHeader
"
)
.
declareAcquiredMethod
(
"
jio_allDocs
"
,
"
jio_allDocs
"
)
.
declareAcquiredMethod
(
"
jio_get
"
,
"
jio_get
"
)
.
declareAcquiredMethod
(
"
jio_getAttachment
"
,
"
jio_getAttachment
"
)
.
declareMethod
(
"
render
"
,
function
(
options
)
{
var
gadget
=
this
,
id
=
options
.
id
,
list_method_template
;
gadget
.
props
.
options
=
options
;
return
gadget
.
jio_get
(
id
)
.
push
(
function
(
result
)
{
gadget
.
props
.
element
.
querySelector
(
"
h1
"
).
textContent
=
result
.
short_title
||
""
;
gadget
.
props
.
element
.
querySelector
(
"
p
"
).
textContent
=
result
.
description
||
""
;
return
RSVP
.
all
([
getViewLink
(
gadget
,
id
,
"
section_content
"
),
getViewLink
(
gadget
,
id
,
"
layout_configuration
"
)
]);
})
.
push
(
function
(
result
)
{
// XX Should it raise if result is undefined?
return
RSVP
.
all
([
gadget
.
jio_getAttachment
(
id
,
result
[
0
].
href
),
gadget
.
jio_getAttachment
(
id
,
result
[
1
].
href
)
]);
})
.
push
(
function
(
result
)
{
list_method_template
=
result
[
0
].
_embedded
.
_view
.
listbox
.
list_method_template
;
gadget
.
props
.
element
.
querySelector
(
"
a
"
).
setAttribute
(
"
href
"
,
result
[
1
].
_embedded
.
_view
.
my_configuration_resource_base_url
.
default
);
return
gadget
.
jio_allDocs
({
query
:
'
(portal_type:"Image" OR portal_type:"Web Illustration") AND strict_publication_section_relative_url:"publication_section/application/logo"
'
,
list_method_template
:
list_method_template
,
select_list
:
[
'
relative_url
'
,
'
reference
'
]
});
})
.
push
(
function
(
result
)
{
if
(
result
.
data
.
total_rows
!==
0
)
{
gadget
.
props
.
element
.
querySelector
(
"
img
"
).
setAttribute
(
"
src
"
,
result
.
data
.
rows
[
0
].
value
.
reference
+
"
?format=png&display=thumbnail
"
);
}
else
{
// XXX Here we should have a fallback image
}
})
.
push
(
function
()
{
return
gadget
.
props
.
deferred
.
resolve
();
});
})
/////////////////////////////////////////
// Form submit
/////////////////////////////////////////
.
declareService
(
function
()
{
var
gadget
=
this
;
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
gadget
.
props
.
deferred
.
promise
;
})
.
push
(
function
()
{
return
true
;
});
});
}(
window
,
rJS
,
RSVP
));
\ No newline at end of file
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_appstore_controller_html.html
0 → 100644
View file @
99e67338
<html>
<head>
<meta
http-equiv=
"Content-type"
content=
"text/html; charset=utf-8"
/>
<meta
name=
"viewport"
content=
"width=device-width"
/>
<title>
ERP5 Controller
</title>
<!-- renderjs -->
<script
src=
"rsvp.js"
type=
"text/javascript"
></script>
<script
src=
"renderjs.js"
type=
"text/javascript"
></script>
<!-- custom script -->
<script
src=
"gadget_erp5_page_ojs_appstore_controller.js"
type=
"text/javascript"
></script>
</head>
<body>
</body>
</html>
\ No newline at end of file
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_
software_product_web_section_list
_html.xml
→
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_
appstore_controller
_html.xml
View file @
99e67338
...
@@ -16,7 +16,6 @@
...
@@ -16,7 +16,6 @@
<string>
Associate
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
...
@@ -59,7 +58,6 @@
...
@@ -59,7 +58,6 @@
<string>
Associate
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
...
@@ -73,17 +71,9 @@
...
@@ -73,17 +71,9 @@
<key>
<string>
content_type
</string>
</key>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/html
</string>
</value>
<value>
<string>
text/html
</string>
</value>
</item>
</item>
<item>
<key>
<string>
creators
</string>
</key>
<value>
<tuple>
<string>
cedric.le.ninivin
</string>
</tuple>
</value>
</item>
<item>
<item>
<key>
<string>
default_reference
</string>
</key>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
gadget_
ojs_software_product_web_section_list
.html
</string>
</value>
<value>
<string>
gadget_
erp5_page_ojs_appstore_controller
.html
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
description
</string>
</key>
<key>
<string>
description
</string>
</key>
...
@@ -93,32 +83,11 @@
...
@@ -93,32 +83,11 @@
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
gadget_ojs_
software_product_web_section_list
_html
</string>
</value>
<value>
<string>
gadget_ojs_
appstore_controller
_html
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
language
</string>
</key>
<key>
<string>
language
</string>
</key>
<value>
<value>
<string>
en
</string>
</value>
<none/>
</value>
</item>
<item>
<key>
<string>
modification_date
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1455284351.6
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
portal_type
</string>
</key>
<key>
<string>
portal_type
</string>
</key>
...
@@ -132,13 +101,11 @@
...
@@ -132,13 +101,11 @@
</item>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string>
OfficeJS Software Product Web Section List
</string>
</value>
<value>
<string>
Gadget Controller
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
version
</string>
</key>
<key>
<string>
version
</string>
</key>
<value>
<value>
<string>
001
</string>
</value>
<none/>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<key>
<string>
workflow_history
</string>
</key>
...
@@ -198,7 +165,7 @@
...
@@ -198,7 +165,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
cedric.le.ninivin
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -220,7 +187,7 @@
...
@@ -220,7 +187,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
459349310.07
</float>
<float>
1
535373651.42
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
@@ -251,7 +218,7 @@
...
@@ -251,7 +218,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
cedric.le.ninivin
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -265,7 +232,7 @@
...
@@ -265,7 +232,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
50.11608.32862.570
88
</string>
</value>
<value>
<string>
9
69.57667.46819.549
88
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -283,7 +250,7 @@
...
@@ -283,7 +250,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
459349787.99
</float>
<float>
1
536586954.21
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
@@ -310,7 +277,7 @@
...
@@ -310,7 +277,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
cedric.le.ninivin
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -340,7 +307,7 @@
...
@@ -340,7 +307,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
459347953.89
</float>
<float>
1
535373601.78
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_appstore_controller_js.js
0 → 100644
View file @
99e67338
/*global document, window, rJS, RSVP, jIO */
/*jslint nomen: true, indent: 2, maxerr: 3 */
(
function
(
document
,
window
,
rJS
,
RSVP
,
jIO
)
{
"
use strict
"
;
function
setSelectionUrl
(
gadget
,
options
)
{
return
gadget
.
getSetting
(
'
hateoas_url
'
)
.
push
(
function
(
url
)
{
return
jIO
.
util
.
ajax
({
type
:
'
GET
'
,
url
:
url
+
gadget
.
state
.
options
.
jio_key
+
'
/SoftwarePublication_getRelatedSoftwareProduct
'
});
})
.
push
(
function
(
result
)
{
return
gadget
.
getUrlFor
({
command
:
'
display
'
,
options
:
{
jio_key
:
result
.
target
.
response
}});
})
.
push
(
function
(
url
)
{
options
.
selection_url
=
url
;
});
}
rJS
(
window
)
/////////////////////////////////////////////////////////////////
// Acquired methods
/////////////////////////////////////////////////////////////////
.
declareAcquiredMethod
(
"
updateHeader
"
,
"
updateHeader
"
)
.
declareAcquiredMethod
(
"
getUrlFor
"
,
"
getUrlFor
"
)
.
declareAcquiredMethod
(
"
getSetting
"
,
"
getSetting
"
)
.
declareAcquiredMethod
(
"
jio_allDocs
"
,
"
jio_allDocs
"
)
/////////////////////////////////////////////////////////////////
// Overload Public Acquisition methods
/////////////////////////////////////////////////////////////////
.
allowPublicAcquisition
(
'
updateHeader
'
,
function
(
param_list
)
{
var
gadget
=
this
,
options
=
param_list
[
0
];
return
gadget
.
getUrlFor
({
command
:
'
display
'
,
options
:
{
page
:
'
front_ojs_appstore
'
}
})
.
push
(
function
(
url
)
{
if
(
gadget
.
state
.
is_software_product
&&
options
.
selection_url
)
{
options
.
selection_url
=
url
;
}
if
(
options
.
cancel_url
&&
gadget
.
state
.
options
.
jio_key
===
'
software_product_module
'
)
{
options
.
cancel_url
=
url
;
}
delete
options
.
actions_url
;
delete
options
.
next_url
;
delete
options
.
previous_url
;
delete
options
.
tab_url
;
delete
options
.
export_url
;
if
(
gadget
.
state
.
is_software_product
&&
options
.
add_url
)
{
return
gadget
.
getUrlFor
({
command
:
'
display_erp5_action
'
,
options
:
{
page
:
'
update_application
'
,
jio_key
:
gadget
.
state
.
options
.
jio_key
}
})
.
push
(
function
(
url
)
{
options
.
add_url
=
url
;
});
}
else
{
delete
options
.
add_url
;
}
if
(
options
.
selection_url
&&
gadget
.
state
.
options
.
jio_key
.
indexOf
(
'
software_publication_module/
'
)
!==
-
1
)
{
return
setSelectionUrl
(
gadget
,
options
);
}
})
.
push
(
function
()
{
return
gadget
.
updateHeader
(
options
);
});
})
/////////////////////////////////////////////////////////////////
// declared methods
/////////////////////////////////////////////////////////////////
.
allowPublicAcquisition
(
'
notifySubmit
'
,
function
()
{
return
this
.
triggerSubmit
();
})
.
declareMethod
(
'
triggerSubmit
'
,
function
()
{
return
this
.
getDeclaredGadget
(
'
fg
'
)
.
push
(
function
(
g
)
{
return
g
.
triggerSubmit
();
});
})
.
declareMethod
(
"
render
"
,
function
(
options
)
{
var
gadget
=
this
;
options
.
editable
=
true
;
return
gadget
.
changeState
({
child_gadget_url
:
'
gadget_erp5_page_form.html
'
,
options
:
options
,
is_software_product
:
options
.
jio_key
.
indexOf
(
'
software_product_module/
'
)
!==
-
1
});
})
.
onStateChange
(
function
(
modification_dict
)
{
var
fragment
=
document
.
createElement
(
'
div
'
),
gadget
=
this
;
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
if
(
!
modification_dict
.
hasOwnProperty
(
'
child_gadget_url
'
))
{
return
gadget
.
getDeclaredGadget
(
'
fg
'
)
.
push
(
function
(
child_gadget
)
{
return
child_gadget
.
render
(
gadget
.
state
.
options
);
});
}
// Clear first to DOM, append after to reduce flickering/manip
while
(
gadget
.
element
.
firstChild
)
{
gadget
.
element
.
removeChild
(
gadget
.
element
.
firstChild
);
}
gadget
.
element
.
appendChild
(
fragment
);
return
gadget
.
declareGadget
(
gadget
.
state
.
child_gadget_url
,
{
element
:
fragment
,
scope
:
'
fg
'
})
.
push
(
function
(
form_gadget
)
{
return
form_gadget
.
render
(
gadget
.
state
.
options
);
});
});
});
}(
document
,
window
,
rJS
,
RSVP
,
jIO
));
\ No newline at end of file
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_app
lication_presentation_element
_js.xml
→
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_app
store_controller
_js.xml
View file @
99e67338
...
@@ -16,7 +16,6 @@
...
@@ -16,7 +16,6 @@
<string>
Associate
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
...
@@ -59,27 +58,24 @@
...
@@ -59,27 +58,24 @@
<string>
Associate
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
c
ontent_md5
</string>
</key>
<key>
<string>
c
ategories
</string>
</key>
<value>
<value>
<
non
e/>
<
tupl
e/>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
c
reators
</string>
</key>
<key>
<string>
c
ontent_md5
</string>
</key>
<value>
<value>
<tuple>
<none/>
<string>
cedric.le.ninivin
</string>
</tuple>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
default_reference
</string>
</key>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
gadget_
officejs_application_presentation_element
.js
</string>
</value>
<value>
<string>
gadget_
erp5_page_ojs_appstore_controller
.js
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
description
</string>
</key>
<key>
<string>
description
</string>
</key>
...
@@ -89,32 +85,11 @@
...
@@ -89,32 +85,11 @@
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
gadget_ojs_app
lication_presentation_element
_js
</string>
</value>
<value>
<string>
gadget_ojs_app
store_controller
_js
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
language
</string>
</key>
<key>
<string>
language
</string>
</key>
<value>
<value>
<string>
en
</string>
</value>
<none/>
</value>
</item>
<item>
<key>
<string>
modification_date
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1455284351.64
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
portal_type
</string>
</key>
<key>
<string>
portal_type
</string>
</key>
...
@@ -128,13 +103,11 @@
...
@@ -128,13 +103,11 @@
</item>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string>
OfficeJS Application Presentation Element
JS
</string>
</value>
<value>
<string>
Gadget Controller
JS
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
version
</string>
</key>
<key>
<string>
version
</string>
</key>
<value>
<value>
<string>
001
</string>
</value>
<none/>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<key>
<string>
workflow_history
</string>
</key>
...
@@ -194,7 +167,7 @@
...
@@ -194,7 +167,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
cedric.le.ninivin
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -216,7 +189,7 @@
...
@@ -216,7 +189,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
458922831
.46
</float>
<float>
1
535373686
.46
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
@@ -247,7 +220,7 @@
...
@@ -247,7 +220,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
cedric.le.ninivin
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -261,7 +234,7 @@
...
@@ -261,7 +234,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
50.10229.45890.65228
</string>
</value>
<value>
<string>
9
70.20979.24542.29201
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -279,7 +252,7 @@
...
@@ -279,7 +252,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
459514684.21
</float>
<float>
1
537777337.4
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
@@ -306,7 +279,7 @@
...
@@ -306,7 +279,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
cedric.le.ninivin
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -336,7 +309,7 @@
...
@@ -336,7 +309,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
458921337.62
</float>
<float>
1
535373670.86
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_app
lication_presentation_element.
html.html
→
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_app
store_front_page_
html.html
View file @
99e67338
...
@@ -4,17 +4,20 @@
...
@@ -4,17 +4,20 @@
<meta
charset=
"utf-8"
>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<title>
OfficeJS App
lication List Page
</title>
<title>
OfficeJS App
store Front View
</title>
<script
src=
"rsvp.js"
></script>
<script
src=
"rsvp.js"
></script>
<script
src=
"renderjs.js"
></script>
<script
src=
"renderjs.js"
></script>
<script
src=
"gadget_global.js"
type=
"text/javascript"
></script>
<script
src=
"gadget_erp5_page_front_ojs_appstore.js"
></script>
<script
src=
" gadget_officejs_application_presentation_element.js"
></script>
</head>
</head>
<body>
<body>
<a
href=
"#"
><img
src=
"#"
><h1>
Application Title
</h1><p>
Application Description
</p>
<center
class=
"appstore-view"
></center>
<form
class=
"save_form ui-body-c"
novalidate
>
<div
data-gadget-url=
"gadget_erp5_form.html"
data-gadget-scope=
"form"
data-gadget-sandbox=
"public"
>
</div>
</form>
</body>
</body>
</html>
</html>
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_app
lication_presentation_element.
html.xml
→
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_app
store_front_page_
html.xml
View file @
99e67338
...
@@ -16,7 +16,6 @@
...
@@ -16,7 +16,6 @@
<string>
Associate
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
...
@@ -59,7 +58,6 @@
...
@@ -59,7 +58,6 @@
<string>
Associate
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
...
@@ -73,17 +71,9 @@
...
@@ -73,17 +71,9 @@
<key>
<string>
content_type
</string>
</key>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/html
</string>
</value>
<value>
<string>
text/html
</string>
</value>
</item>
</item>
<item>
<key>
<string>
creators
</string>
</key>
<value>
<tuple>
<string>
cedric.le.ninivin
</string>
</tuple>
</value>
</item>
<item>
<item>
<key>
<string>
default_reference
</string>
</key>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
gadget_
officejs_application_presentation_element
.html
</string>
</value>
<value>
<string>
gadget_
erp5_page_front_ojs_appstore
.html
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
description
</string>
</key>
<key>
<string>
description
</string>
</key>
...
@@ -93,7 +83,7 @@
...
@@ -93,7 +83,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
gadget_ojs_app
lication_presentation_element.
html
</string>
</value>
<value>
<string>
gadget_ojs_app
store_front_page_
html
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
language
</string>
</key>
<key>
<string>
language
</string>
</key>
...
@@ -101,25 +91,6 @@
...
@@ -101,25 +91,6 @@
<none/>
<none/>
</value>
</value>
</item>
</item>
<item>
<key>
<string>
modification_date
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1455284351.6
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<item>
<key>
<string>
portal_type
</string>
</key>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Web Page
</string>
</value>
<value>
<string>
Web Page
</string>
</value>
...
@@ -132,7 +103,7 @@
...
@@ -132,7 +103,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string>
OfficeJS
Application Presentation Element
</string>
</value>
<value>
<string>
OfficeJS
Front Page
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
version
</string>
</key>
<key>
<string>
version
</string>
</key>
...
@@ -198,7 +169,7 @@
...
@@ -198,7 +169,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
cedric.le.ninivin
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -220,7 +191,7 @@
...
@@ -220,7 +191,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
458925007.1
6
</float>
<float>
1
535024564.5
6
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
@@ -251,7 +222,7 @@
...
@@ -251,7 +222,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
cedric.le.ninivin
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -265,7 +236,7 @@
...
@@ -265,7 +236,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
50.4538.263.7185
</string>
</value>
<value>
<string>
9
69.56714.52783.10171
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -283,7 +254,7 @@
...
@@ -283,7 +254,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
459514670.06
</float>
<float>
1
535638786.42
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
@@ -306,11 +277,13 @@
...
@@ -306,11 +277,13 @@
<dictionary>
<dictionary>
<item>
<item>
<key>
<string>
action
</string>
</key>
<key>
<string>
action
</string>
</key>
<value>
<string>
detect_converted_file
</string>
</value>
<value>
<none/>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
cedric.le.ninivin
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -322,7 +295,7 @@
...
@@ -322,7 +295,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
external_processing_state
</string>
</key>
<key>
<string>
external_processing_state
</string>
</key>
<value>
<string>
converted
</string>
</value>
<value>
<string>
empty
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
...
@@ -340,7 +313,7 @@
...
@@ -340,7 +313,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
458924797.55
</float>
<float>
1
535024513.01
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_appstore_front_page_js.js
0 → 100644
View file @
99e67338
/*global window, rJS*/
/*jslint indent:2, maxlen: 80, nomen: true */
(
function
(
window
,
rJS
)
{
"
use strict
"
;
rJS
(
window
)
.
declareAcquiredMethod
(
'
updateHeader
'
,
'
updateHeader
'
)
.
declareAcquiredMethod
(
'
getUrlFor
'
,
'
getUrlFor
'
)
.
declareAcquiredMethod
(
'
translateHtml
'
,
'
translateHtml
'
)
.
declareAcquiredMethod
(
'
jio_allDocs
'
,
'
jio_allDocs
'
)
.
declareMethod
(
'
render
'
,
function
()
{
var
gadget
=
this
;
return
gadget
.
getDeclaredGadget
(
'
form
'
)
.
push
(
function
(
form
)
{
var
column_list
=
[
[
'
title
'
,
'
Title
'
]
];
return
form
.
render
({
erp5_document
:
{
"
_embedded
"
:
{
"
_view
"
:
{
"
listbox
"
:
{
"
column_list
"
:
column_list
,
"
show_anchor
"
:
0
,
"
default_params
"
:
{},
"
editable
"
:
0
,
"
editable_column_list
"
:
[],
"
key
"
:
"
software_product_module
"
,
"
lines
"
:
20
,
"
list_method
"
:
"
portal_catalog
"
,
"
query
"
:
"
urn:jio:allDocs?query=portal_type%3A%22
"
+
"
Software%20Product%22
"
,
"
portal_type
"
:
[],
"
search_column_list
"
:
column_list
,
"
sort_column_list
"
:
column_list
,
"
sort
"
:
[],
"
title
"
:
"
Application List
"
,
"
type
"
:
"
ListBox
"
}
}},
"
_links
"
:
{
"
type
"
:
{
// form_list display portal_type in header
name
:
""
}
}
},
form_definition
:
{
group_list
:
[[
"
bottom
"
,
[[
"
listbox
"
]]
]]
}
});
})
.
push
(
function
()
{
return
gadget
.
getUrlFor
({
'
command
'
:
'
display_erp5_action
'
,
'
options
'
:
{
'
jio_key
'
:
'
software_product_module
'
,
'
page
'
:
'
create_new_application_dialog
'
}
});
})
.
push
(
function
(
url
)
{
return
gadget
.
updateHeader
({
page_title
:
"
OfficeJS Appstore
"
,
add_url
:
url
});
});
});
}(
window
,
rJS
));
\ No newline at end of file
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_
page_officejs_application_list
_js.xml
→
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_
appstore_front_page
_js.xml
View file @
99e67338
...
@@ -16,7 +16,6 @@
...
@@ -16,7 +16,6 @@
<string>
Associate
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
...
@@ -59,10 +58,15 @@
...
@@ -59,10 +58,15 @@
<string>
Associate
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<item>
<key>
<string>
content_md5
</string>
</key>
<key>
<string>
content_md5
</string>
</key>
<value>
<value>
...
@@ -70,16 +74,14 @@
...
@@ -70,16 +74,14 @@
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
c
reators
</string>
</key>
<key>
<string>
c
ontent_type
</string>
</key>
<value>
<value>
<tuple>
<none/>
<string>
cedric.le.ninivin
</string>
</tuple>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
default_reference
</string>
</key>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
gadget_erp5_page_
officejs_application_list
.js
</string>
</value>
<value>
<string>
gadget_erp5_page_
front_ojs_appstore
.js
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
description
</string>
</key>
<key>
<string>
description
</string>
</key>
...
@@ -89,7 +91,7 @@
...
@@ -89,7 +91,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
gadget_ojs_
page_officejs_application_list
_js
</string>
</value>
<value>
<string>
gadget_ojs_
appstore_front_page
_js
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
language
</string>
</key>
<key>
<string>
language
</string>
</key>
...
@@ -97,25 +99,6 @@
...
@@ -97,25 +99,6 @@
<none/>
<none/>
</value>
</value>
</item>
</item>
<item>
<key>
<string>
modification_date
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1455284351.64
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<item>
<key>
<string>
portal_type
</string>
</key>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Web Script
</string>
</value>
<value>
<string>
Web Script
</string>
</value>
...
@@ -128,7 +111,7 @@
...
@@ -128,7 +111,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string>
OfficeJS Application Lis
t Page JS
</string>
</value>
<value>
<string>
Gadget OfficeJS Appstore Fron
t Page JS
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
version
</string>
</key>
<key>
<string>
version
</string>
</key>
...
@@ -194,7 +177,7 @@
...
@@ -194,7 +177,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
cedric.le.ninivin
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -216,7 +199,7 @@
...
@@ -216,7 +199,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
458915029.27
</float>
<float>
1
535031592.39
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
@@ -247,7 +230,7 @@
...
@@ -247,7 +230,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
cedric.le.ninivin
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -261,7 +244,7 @@
...
@@ -261,7 +244,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
50.4529.28107.5439
1
</string>
</value>
<value>
<string>
9
70.20979.24542.2920
1
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -279,7 +262,7 @@
...
@@ -279,7 +262,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
459255000.91
</float>
<float>
1
537777459.12
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
@@ -302,11 +285,13 @@
...
@@ -302,11 +285,13 @@
<dictionary>
<dictionary>
<item>
<item>
<key>
<string>
action
</string>
</key>
<key>
<string>
action
</string>
</key>
<value>
<string>
detect_converted_file
</string>
</value>
<value>
<none/>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
cedric.le.ninivin
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -318,7 +303,7 @@
...
@@ -318,7 +303,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
external_processing_state
</string>
</key>
<key>
<string>
external_processing_state
</string>
</key>
<value>
<string>
converted
</string>
</value>
<value>
<string>
empty
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
...
@@ -336,7 +321,7 @@
...
@@ -336,7 +321,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
458914414.71
</float>
<float>
1
535031532.68
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_appstore_panel_html.html
View file @
99e67338
...
@@ -4,56 +4,72 @@
...
@@ -4,56 +4,72 @@
<meta
http-equiv=
"Content-type"
content=
"text/html; charset=utf-8"
/>
<meta
http-equiv=
"Content-type"
content=
"text/html; charset=utf-8"
/>
<meta
name=
"viewport"
content=
"width=device-width"
/>
<meta
name=
"viewport"
content=
"width=device-width"
/>
<title>
ERP5 Panel
</title>
<title>
ERP5 Panel
</title>
<!--
data-i18n=Editable
-->
<!-- renderjs -->
<!-- renderjs -->
<script
src=
"rsvp.js"
type=
"text/javascript"
></script>
<script
src=
"rsvp.js"
type=
"text/javascript"
></script>
<script
src=
"renderjs.js"
type=
"text/javascript"
></script>
<script
src=
"renderjs.js"
type=
"text/javascript"
></script>
<script
src=
"handlebars.js"
type=
"text/javascript"
></script>
<script
src=
"handlebars.js"
type=
"text/javascript"
></script>
<script
src=
"gadget_global.js"
type=
"text/javascript"
></script>
<script
src=
"gadget_global.js"
type=
"text/javascript"
></script>
<script
src=
"jquery.js"
type=
"text/javascript"
></script>
<script
src=
"jquerymobile.js"
type=
"text/javascript"
></script>
<script
id=
"panel-template-header"
type=
"text/x-handlebars-template"
>
<script
id=
"panel-template-header"
type=
"text/x-handlebars-template"
>
<
div
data
-
role
=
"
header
"
class
=
"
ui-bar-inherit
"
>
<
div
data
-
role
=
"
header
"
class
=
"
ui-bar-inherit
"
>
<
div
class
=
"
ui-controlgroup ui-controlgroup-horizontal ui-btn-left
"
>
<
div
class
=
"
ui-controlgroup ui-controlgroup-horizontal ui-btn-left
"
>
<
div
class
=
"
ui-controlgroup-controls
"
>
<
div
class
=
"
ui-controlgroup-controls
"
>
<
form
action
=
"
#
"
method
=
"
post
"
>
<
button
data
-
i18n
=
"
Close
"
class
=
"
ui-btn ui-btn-icon-notext ui-icon-delete
"
>
Close
<
/button
>
<
input
type
=
"
submit
"
data
-
i18n
=
"
[value]Close
"
data
-
icon
=
"
delete
"
data
-
iconpos
=
"
notext
"
value
=
"
Close
"
/>
<
/form
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
img
class
=
"
ui-title
"
alt
=
"
ERP5
"
src
=
"
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJcAAAA/CAMAAADaDqrIAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDowMEM5NUE4MzQ5NjQxMUUzOUZEQUU2NUY1RTI1RjdCQiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDowMEM5NUE4NDQ5NjQxMUUzOUZEQUU2NUY1RTI1RjdCQiI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjAwQzk1QTgxNDk2NDExRTM5RkRBRTY1RjVFMjVGN0JCIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjAwQzk1QTgyNDk2NDExRTM5RkRBRTY1RjVFMjVGN0JCIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+J9MJsAAAAwBQTFRF///////M//+Z//9m//8z//8A/8z//8zM/8yZ/8xm/8wz/8wA/5n//5nM/5mZ/5lm/5kz/5kA/2b//2bM/2aZ/2Zm/2Yz/2YA/zP//zPM/zOZ/zNm/zMz/zMA/wD//wDM/wCZ/wBm/wAz/wAAzP//zP/MzP+ZzP9mzP8zzP8AzMz/zMzMzMyZzMxmzMwzzMwAzJn/zJnMzJmZzJlmzJkzzJkAzGb/zGbMzGaZzGZmzGYzzGYAzDP/zDPMzDOZzDNmzDMzzDMAzAD/zADMzACZzABmzAAzzAAAmf//mf/Mmf+Zmf9mmf8zmf8Amcz/mczMmcyZmcxmmcwzmcwAmZn/mZnMmZmZmZlmmZkzmZkAmWb/mWbMmWaZmWZmmWYzmWYAmTP/mTPMmTOZmTNmmTMzmTMAmQD/mQDMmQCZmQBmmQAzmQAAZv//Zv/MZv+ZZv9mZv8zZv8AZsz/ZszMZsyZZsxmZswzZswAZpn/ZpnMZpmZZplmZpkzZpkAZmb/ZmbMZmaZZmZmZmYzZmYAZjP/ZjPMZjOZZjNmZjMzZjMAZgD/ZgDMZgCZZgBmZgAzZgAAM///M//MM/+ZM/9mM/8zM/8AM8z/M8zMM8yZM8xmM8wzM8wAM5n/M5nMM5mZM5lmM5kzM5kAM2b/M2bMM2aZM2ZmM2YzM2YAMzP/MzPMMzOZMzNmMzMzMzMAMwD/MwDMMwCZMwBmMwAzMwAAAP//AP/MAP+ZAP9mAP8zAP8AAMz/AMzMAMyZAMxmAMwzAMwAAJn/AJnMAJmZAJlmAJkzAJkAAGb/AGbMAGaZAGZmAGYzAGYAADP/ADPMADOZADNmADMzADMAAAD/AADMAACZAABmAAAzAAAAHHa7K3/AOojESZHJWZvNaKTSd63Whrbblb/fpMjks9Howtrt4e320uTx8Pb6AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAdfKHSQAAAOh0Uk5T////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////ALItoLoAAAJkSURBVHja7NlZsqsgEABQ979C5kGGddxo4os0Q8BAynoFn0nUU23TNGRB9xzLdE3XdE3XdP2fLnIzF2VSrsYvC72HizAh9eZ5DVuOl15S4/jWwC+kDC8HPzCSJVHcRY8QXV2PwQuujUYTsYrvYlBv1yKLrsXHsPghnvR3Lazoip/JKuwpF8sm6/bY01Ow9CBlTXi53PNoRcUktEZT1NV1PIPnXAjtMJIMlzerFIzU1dVWF7aPj3Tetae4gjdxktG2et/qQjJ4kZFrv6ED4bK4eR1qduHzvEi4+PbGwD0EGu9CQQLFrv1F4jBc6BcuW3YhkPiPX1hOfxQvnHfh0HVMRqc4HuqiQf5k3mO6dq1s8Hx0H/Le5kq9YaNcxAcrZLpOvAv+ClcgNcZFtnrucd5Fwx4mXj0drnbBYXMuJmFDAV3Uhm4qlbHh3ddOrmholHNxFTVC+xTl2mf6pI4uVe4LwSp0DPGOmh/hAnM94bKZjkHlWuiLeV+cTab4luMKk82wy/Px2fLJskvKUk03hRf9RZ0wiYiZ4uVwVwTb9E71y0XboTYXGuTaa33Y47W5zBjXM3P11y7TfR2ycFdxyaW7uwSc5m0un9ix91m3TWJfW+1ijfW+wcVAfjS5dOP62LyvZZdcLHnA1MkFAtbgwq+Vm47po8OA1buwyy/a1ec5urzveAes2sV8kfW963mFaHNhlT0b6+Yi5+StchH1CtaK0ThXELDPLiyOPZHldzm/J1z9O/B14g7/K+DtkP7U8ivSeD4xaPCTSQvy+YIfubZWzRgtRe1iMP+3mq7pmq7p6jv+BBgAPrgi/TzwWzkAAAAASUVORK5CYII=
"
/>
<
div
class
=
"
panel_img
"
>
<
div
class
=
"
ui-controlgroup ui-controlgroup-horizontal ui-btn-right
"
>
<
img
class
=
"
ui-title
"
alt
=
"
OfficeJS
"
src
=
"
officejs_logo.png?format=png
"
/>
<
div
class
=
"
ui-controlgroup-controls
"
>
<
a
href
=
"
#
"
class
=
"
ui-btn ui-btn-icon-notext ui-icon-home
"
data
-
i18n
=
"
Home
"
>
Home
<
/a
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
</script>
</script>
<script
id=
"panel-template-body"
type=
"text/x-handlebars-template"
>
<script
id=
"panel-template-body"
type=
"text/x-handlebars-template"
>
<
div
class
=
"
ui-content
"
>
<
div
class
=
"
ui-content
"
>
<
ul
data
-
role
=
"
listview
"
class
=
"
ui-listview
"
data
-
enhanced
=
"
true
"
>
<
li
class
=
"
ui-first-child
"
><
a
href
=
"
{{software_product_module_href}}
"
class
=
"
ui-btn ui-btn-icon-left ui-icon-bookmark
"
data
-
i18n
=
"
Software Products
"
>
Software
Products
<
/a></
li
>
<
form
class
=
"
dialog_form
"
>
<
li
><
a
href
=
"
{{software_release_module_href}}
"
class
=
"
ui-btn ui-btn-icon-left ui-icon-tag
"
data
-
i18n
=
"
Software Releases
"
>
Software
Releases
<
/a></
li
>
<
button
type
=
"
submit
"
class
=
"
ui-btn ui-btn-b ui-btn-inline
<
li
><
a
href
=
"
{{software_publication_module_href}}
"
class
=
"
ui-btn ui-btn-icon-left ui-icon-upload
"
data
-
i18n
=
"
Publication Requests
"
>
Publication
Requests
<
/a></
li
>
ui-icon-action ui-btn-icon-right ui-screen-hidden
"
>
Submit
<
/button
>
<
li
><
a
href
=
"
{{software_license_module_href}}
"
class
=
"
ui-btn ui-btn-icon-left ui-icon-legal
"
data
-
i18n
=
"
Software License
"
>
Software
License
<
/a></
li
>
<
div
data
-
gadget
-
url
=
"
gadget_erp5_searchfield.html
"
<
li
><
a
href
=
"
{{web_page_module_href}}
"
class
=
"
ui-btn ui-btn-icon-left ui-icon-file-text
"
data
-
i18n
=
"
Source Code
"
>
Source
Code
<
/a></
li
>
data
-
gadget
-
scope
=
"
erp5_searchfield
"
<
li
><
a
href
=
"
{{image_module_href}}
"
class
=
"
ui-btn ui-btn-icon-left ui-icon-file-image-o
"
data
-
i18n
=
"
Media
"
>
Media
<
/a></
li
>
data
-
gadget
-
sandbox
=
"
public
"
><
/div
>
<
li
><
a
href
=
"
{{document_module_href}}
"
class
=
"
ui-btn ui-btn-icon-left ui-icon-file
"
data
-
i18n
=
"
Assets
"
>
Assets
<
/a></
li
>
<
/form
>
<
ul
data
-
role
=
"
listview
"
class
=
"
ui-listview
"
data
-
enhanced
=
"
true
"
><
/ul
>
<
dl
><
/dl
>
<
/div
>
</script>
<script
id=
"panel-template-body-list"
type=
"text/x-handlebars-template"
>
<
li
class
=
"
ui-first-child
"
><
a
href
=
"
{{front_href}}
"
class
=
"
ui-btn ui-btn-icon-left ui-icon-home
"
data
-
i18n
=
"
Home
"
>
Home
<
/a></
li
>
<
li
><
a
href
=
"
{{history_href}}
"
class
=
"
ui-btn ui-btn-icon-left ui-icon-history
"
data
-
i18n
=
"
History
"
>
History
<
/a></
li
>
<
li
><
a
href
=
"
{{history_href}}
"
class
=
"
ui-btn ui-btn-icon-left ui-icon-history
"
data
-
i18n
=
"
History
"
>
History
<
/a></
li
>
<
li
class
=
"
ui-last-child
"
><
a
href
=
"
{{logout_href}}
"
class
=
"
ui-btn ui-btn-icon-left ui-icon-power-off
"
data
-
i18n
=
"
Logout
"
>
Logout
<
/a></
li
>
<
li
class
=
"
ui-last-child
"
><
a
href
=
"
{{logout_href}}
"
class
=
"
ui-btn ui-btn-icon-left ui-icon-power-off
"
data
-
i18n
=
"
Logout
"
>
Logout
<
/a></
li
>
<
/ul
>
<
/div
>
</script>
</script>
<script
id=
"panel-template-body-desktop"
type=
"text/x-handlebars-template"
>
<
dt
class
=
"
ui-content-title ui-body-c ui-btn ui-btn-icon-left ui-icon-eye
"
data
-
i18n
=
"
Views
"
>
Views
<
/dt
>
{{
#
each
view_list
}}
<
dd
data
-
role
=
"
listview
"
data
-
theme
=
"
c
"
data
-
inset
=
"
true
"
class
=
"
document-listview
"
>
<
a
data
-
i18n
=
"
{{title}}
"
class
=
"
ui-body-inherit
"
href
=
"
{{href}}
"
>
{{
title
}}
<
/a
>
<
/dd
>
{{
/
each
}}
<
dt
class
=
"
ui-content-title ui-body-c ui-btn ui-btn-icon-left ui-icon-cogs
"
data
-
i18n
=
"
Decisions
"
>
Decisions
<
/dt
>
{{
#
each
workflow_list
}}
<
dd
data
-
role
=
"
listview
"
data
-
theme
=
"
c
"
data
-
inset
=
"
true
"
class
=
"
document-listview
"
>
<
a
data
-
i18n
=
"
{{title}}
"
class
=
"
ui-body-inherit
"
href
=
"
{{href}}
"
>
{{
title
}}
<
/a
>
<
/dd
>
{{
/
each
}}
</script>
<!-- custom script -->
<!-- custom script -->
<script
src=
"gadget_erp5_global.js"
type=
"text/javascript"
></script>
<script
src=
"gadget_ojs_appstore_panel.js"
type=
"text/javascript"
></script>
<script
src=
"gadget_ojs_appstore_panel.js"
type=
"text/javascript"
></script>
</head>
</head>
<body>
<body>
<div
class=
"jqm-navmenu-panel"
></div>
<div
class=
"jqm-navmenu-panel"
></div>
</body>
</body>
</html>
</html>
\ No newline at end of file
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_appstore_panel_html.xml
View file @
99e67338
...
@@ -247,7 +247,7 @@
...
@@ -247,7 +247,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
cedric.le.ninivin
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -261,7 +261,7 @@
...
@@ -261,7 +261,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
50.11268.23345.29354
</string>
</value>
<value>
<string>
9
69.52327.64978.40960
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -279,7 +279,7 @@
...
@@ -279,7 +279,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
459328937.35
</float>
<float>
1
535121191.77
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_appstore_panel_js.js
View file @
99e67338
/*jslint nomen: true, indent: 2, maxerr: 3 */
/*jslint nomen: true, indent: 2, maxerr: 3
, unparam: true
*/
/*global window,
rJS, Handlebars, jQuery, RSVP
, loopEventListener */
/*global window,
document, rJS, Handlebars, RSVP, Node
, loopEventListener */
(
function
(
window
,
rJS
,
Handlebars
,
$
,
RSVP
,
loopEventListener
)
{
(
function
(
window
,
document
,
rJS
,
Handlebars
,
RSVP
,
Node
,
loopEventListener
)
{
"
use strict
"
;
"
use strict
"
;
/////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
...
@@ -8,118 +8,307 @@
...
@@ -8,118 +8,307 @@
/////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
// Precompile templates while loading the first gadget instance
// Precompile templates while loading the first gadget instance
var
gadget_klass
=
rJS
(
window
),
var
gadget_klass
=
rJS
(
window
),
source_header
=
gadget_klass
.
__template_element
template_element
=
gadget_klass
.
__template_element
,
panel_template_header
=
Handlebars
.
compile
(
template_element
.
getElementById
(
"
panel-template-header
"
)
.
getElementById
(
"
panel-template-header
"
)
.
innerHTML
,
.
innerHTML
),
panel_template_header
=
Handlebars
.
compile
(
source_header
),
panel_template_body
=
Handlebars
.
compile
(
template_element
source_body
=
gadget_klass
.
__template_element
.
getElementById
(
"
panel-template-body
"
)
.
getElementById
(
"
panel-template-body
"
)
.
innerHTML
,
.
innerHTML
),
panel_template_body
=
Handlebars
.
compile
(
source_body
);
panel_template_body_list
=
Handlebars
.
compile
(
template_element
.
getElementById
(
"
panel-template-body-list
"
)
.
innerHTML
),
panel_template_body_desktop
=
Handlebars
.
compile
(
template_element
.
getElementById
(
"
panel-template-body-desktop
"
)
.
innerHTML
);
gadget_klass
gadget_klass
/////////////////////////////////////////////////////////////////
.
setState
({
// ready
visible
:
false
,
/////////////////////////////////////////////////////////////////
desktop
:
false
// Init local properties
.
ready
(
function
(
g
)
{
g
.
props
=
{};
})
})
//////////////////////////////////////////////
//////////////////////////////////////////////
// acquired method
// acquired method
//////////////////////////////////////////////
//////////////////////////////////////////////
.
declareAcquiredMethod
(
"
translateHtml
"
,
"
translateHtml
"
)
.
declareAcquiredMethod
(
"
getUrlFor
"
,
"
getUrlFor
"
)
.
declareAcquiredMethod
(
"
getUrlFor
"
,
"
getUrlFor
"
)
.
declareAcquiredMethod
(
"
translateHtml
"
,
"
translateHtml
"
)
// Assign the element to a variable
.
declareAcquiredMethod
(
"
translate
"
,
"
translate
"
)
.
ready
(
function
(
g
)
{
.
declareAcquiredMethod
(
"
redirect
"
,
"
redirect
"
)
return
g
.
getElement
()
.
declareAcquiredMethod
(
"
getUrlParameter
"
,
"
getUrlParameter
"
)
.
push
(
function
(
element
)
{
g
.
props
.
element
=
element
;
g
.
props
.
jelement
=
$
(
element
.
querySelector
(
"
div
"
));
g
.
props
.
render_deferred
=
RSVP
.
defer
();
});
})
.
ready
(
function
(
g
)
{
g
.
props
.
jelement
.
panel
({
display
:
"
overlay
"
,
position
:
"
left
"
,
theme
:
"
d
"
// animate: false
});
})
/////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
// declared methods
// declared methods
/////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
.
declareMethod
(
'
toggle
'
,
function
()
{
.
declareMethod
(
'
toggle
'
,
function
()
{
this
.
props
.
jelement
.
panel
(
"
toggle
"
);
return
this
.
changeState
({
visible
:
!
this
.
state
.
visible
});
})
})
.
declareMethod
(
'
close
'
,
function
()
{
.
declareMethod
(
'
close
'
,
function
()
{
this
.
props
.
jelement
.
panel
(
"
close
"
);
return
this
.
changeState
({
visible
:
false
});
})
})
.
declareMethod
(
'
render
'
,
function
()
{
.
declareMethod
(
'
render
'
,
function
(
options
)
{
var
g
=
this
;
var
erp5_document
=
options
.
erp5_document
,
return
new
RSVP
.
Queue
()
workflow_list
,
.
push
(
function
()
{
view_list
,
return
RSVP
.
all
([
context
=
this
;
g
.
getUrlFor
({
command
:
'
display_stored_state
'
,
options
:
{
jio_key
:
"
software_product_module
"
}}),
if
(
erp5_document
!==
undefined
)
{
g
.
getUrlFor
({
command
:
'
display_stored_state
'
,
options
:
{
jio_key
:
"
software_release_module
"
}}),
workflow_list
=
erp5_document
.
_links
.
action_workflow
||
[];
g
.
getUrlFor
({
command
:
'
display_stored_state
'
,
options
:
{
jio_key
:
"
software_publication_module
"
}}),
view_list
=
erp5_document
.
_links
.
action_object_view
||
[];
g
.
getUrlFor
({
command
:
'
display_stored_state
'
,
options
:
{
jio_key
:
"
software_licence_moduleon
"
}}),
if
(
workflow_list
.
constructor
!==
Array
)
{
g
.
getUrlFor
({
command
:
'
display_stored_state
'
,
options
:
{
jio_key
:
"
web_page_module
"
}}),
workflow_list
=
[
workflow_list
];
g
.
getUrlFor
({
command
:
'
display_stored_state
'
,
options
:
{
jio_key
:
"
image_module
"
}}),
}
g
.
getUrlFor
({
command
:
'
display_stored_state
'
,
options
:
{
jio_key
:
"
document_module
"
}}),
if
(
view_list
.
constructor
!==
Array
)
{
g
.
getUrlFor
({
command
:
'
display
'
,
options
:
{
page
:
"
history
"
}})
view_list
=
[
view_list
];
]);
}
})
// Prevent has much as possible to modify the DOM panel
.
push
(
function
(
all_result
)
{
// stateChange prefer to compare strings
// XXX: Customize panel header!
workflow_list
=
JSON
.
stringify
(
workflow_list
);
var
tmp
=
panel_template_header
();
view_list
=
JSON
.
stringify
(
view_list
);
tmp
+=
panel_template_body
({
}
"
software_product_module_href
"
:
all_result
[
0
],
return
context
.
getUrlParameter
(
'
editable
'
)
"
software_release_module_href
"
:
all_result
[
1
],
.
push
(
function
(
editable
)
{
"
software_publication_module_href
"
:
all_result
[
2
],
return
context
.
changeState
({
"
software_license_module_href
"
:
all_result
[
3
],
workflow_list
:
workflow_list
,
"
web_page_module_href
"
:
all_result
[
4
],
global
:
true
,
"
image_module_href
"
:
all_result
[
5
],
editable
:
options
.
editable
||
editable
||
false
"
document_module_href
"
:
all_result
[
6
],
"
history_href
"
:
all_result
[
7
]
});
});
return
tmp
;
})
.
push
(
function
(
my_translated_or_plain_html
)
{
g
.
props
.
jelement
.
html
(
my_translated_or_plain_html
);
g
.
props
.
jelement
.
trigger
(
"
create
"
);
g
.
props
.
render_deferred
.
resolve
();
});
});
})
})
.
onStateChange
(
function
(
modification_dict
)
{
var
context
=
this
,
gadget
=
this
,
queue
=
new
RSVP
.
Queue
(),
tmp_element
;
if
(
modification_dict
.
hasOwnProperty
(
"
visible
"
))
{
if
(
this
.
state
.
visible
)
{
if
(
!
this
.
element
.
classList
.
contains
(
'
visible
'
))
{
this
.
element
.
classList
.
toggle
(
'
visible
'
);
}
}
else
{
if
(
this
.
element
.
classList
.
contains
(
'
visible
'
))
{
this
.
element
.
classList
.
remove
(
'
visible
'
);
}
}
}
if
(
modification_dict
.
hasOwnProperty
(
"
global
"
))
{
queue
.
push
(
function
()
{
// XXX: Customize panel header!
return
context
.
translateHtml
(
panel_template_header
()
+
panel_template_body
()
);
})
.
push
(
function
(
my_translated_or_plain_html
)
{
tmp_element
=
document
.
createElement
(
'
div
'
);
tmp_element
.
innerHTML
=
my_translated_or_plain_html
;
return
context
.
declareGadget
(
'
gadget_erp5_searchfield.html
'
,
{
scope
:
"
erp5_searchfield
"
,
element
:
tmp_element
.
querySelector
(
'
[data-gadget-scope="erp5_searchfield"]
'
)
});
})
.
push
(
function
(
search_gadget
)
{
return
search_gadget
.
render
({
focus
:
false
});
})
.
push
(
function
()
{
context
.
element
.
querySelector
(
"
div
"
).
appendChild
(
tmp_element
);
return
context
.
listenResize
();
});
}
if
(
modification_dict
.
hasOwnProperty
(
"
editable
"
))
{
queue
// Update the global links
.
push
(
function
()
{
return
RSVP
.
all
([
gadget
.
getUrlFor
({
command
:
'
display
'
,
options
:
{
page
:
"
history
"
}}),
gadget
.
getUrlFor
({
command
:
'
display
'
,
options
:
{
page
:
"
front_ojs_appstore
"
}}),
gadget
.
getUrlFor
({
command
:
'
display
'
,
options
:
{
page
:
"
logout
"
}})
]);
})
.
push
(
function
(
result_list
)
{
return
context
.
translateHtml
(
panel_template_body_list
({
"
history_href
"
:
result_list
[
0
],
"
front_href
"
:
result_list
[
1
],
"
logout_href
"
:
result_list
[
2
]
})
);
})
.
push
(
function
(
result
)
{
context
.
element
.
querySelector
(
"
ul
"
).
innerHTML
=
result
;
});
}
if
((
this
.
state
.
global
===
true
)
&&
(
modification_dict
.
hasOwnProperty
(
"
desktop
"
)
||
modification_dict
.
hasOwnProperty
(
"
editable
"
)
||
modification_dict
.
hasOwnProperty
(
"
workflow_list
"
)
||
modification_dict
.
hasOwnProperty
(
"
view_list
"
)))
{
if
(
!
(
this
.
state
.
desktop
&&
(
this
.
state
.
view_list
!==
undefined
)))
{
queue
.
push
(
function
()
{
gadget
.
element
.
querySelector
(
"
dl
"
).
textContent
=
''
;
});
}
else
{
queue
.
push
(
function
()
{
var
i
=
0
,
promise_list
=
[],
workflow_list
=
JSON
.
parse
(
gadget
.
state
.
workflow_list
),
view_list
=
JSON
.
parse
(
gadget
.
state
.
view_list
);
for
(
i
=
0
;
i
<
workflow_list
.
length
;
i
+=
1
)
{
promise_list
.
push
(
gadget
.
getUrlFor
({
command
:
'
change
'
,
options
:
{
view
:
workflow_list
[
i
].
href
,
page
:
undefined
}
})
);
}
for
(
i
=
0
;
i
<
view_list
.
length
;
i
+=
1
)
{
promise_list
.
push
(
gadget
.
getUrlFor
({
command
:
'
change
'
,
options
:
{
view
:
view_list
[
i
].
href
,
page
:
undefined
}
})
);
}
return
RSVP
.
all
(
promise_list
);
})
.
push
(
function
(
result_list
)
{
var
i
,
result_workflow_list
=
[],
result_view_list
=
[],
workflow_list
=
JSON
.
parse
(
gadget
.
state
.
workflow_list
),
view_list
=
JSON
.
parse
(
gadget
.
state
.
view_list
);
for
(
i
=
0
;
i
<
workflow_list
.
length
;
i
+=
1
)
{
result_workflow_list
.
push
({
title
:
workflow_list
[
i
].
title
,
href
:
result_list
[
i
]
});
}
for
(
i
=
0
;
i
<
view_list
.
length
;
i
+=
1
)
{
result_view_list
.
push
({
title
:
view_list
[
i
].
title
,
href
:
result_list
[
i
+
workflow_list
.
length
]
});
}
gadget
.
element
.
querySelector
(
"
dl
"
).
innerHTML
=
panel_template_body_desktop
({
workflow_list
:
result_workflow_list
,
view_list
:
result_view_list
});
});
}
}
return
queue
;
})
/////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
// declared services
// declared services
/////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
.
declareService
(
function
()
{
.
onEvent
(
'
click
'
,
function
(
evt
)
{
var
panel_gadget
=
this
;
if
((
evt
.
target
.
nodeType
===
Node
.
ELEMENT_NODE
)
&&
(
evt
.
target
.
tagName
===
'
BUTTON
'
))
{
return
this
.
toggle
();
}
},
false
,
false
)
function
formSubmit
()
{
.
declareJob
(
'
listenResize
'
,
function
()
{
panel_gadget
.
toggle
();
// resize should be only trigger after the render method
// as displaying the panel rely on external gadget (for translation for example)
var
result
,
event
,
context
=
this
;
function
extractSizeAndDispatch
()
{
if
(
window
.
matchMedia
(
"
(min-width: 85em)
"
).
matches
)
{
return
context
.
changeState
({
desktop
:
true
});
}
return
context
.
changeState
({
desktop
:
false
});
}
result
=
loopEventListener
(
window
,
'
resize
'
,
false
,
extractSizeAndDispatch
);
event
=
document
.
createEvent
(
"
Event
"
);
event
.
initEvent
(
'
resize
'
,
true
,
true
);
window
.
dispatchEvent
(
event
);
return
result
;
})
.
allowPublicAcquisition
(
'
notifyChange
'
,
function
(
argument_list
,
scope
)
{
if
(
scope
===
'
erp5_checkbox
'
)
{
var
context
=
this
;
return
context
.
getDeclaredGadget
(
'
erp5_checkbox
'
)
.
push
(
function
(
gadget
)
{
return
gadget
.
getContent
();
})
.
push
(
function
(
result
)
{
var
options
=
{
editable
:
undefined
};
if
(
result
.
editable
.
length
===
1
)
{
options
.
editable
=
true
;
}
return
context
.
redirect
({
command
:
'
change
'
,
options
:
options
});
});
}
}
return
new
RSVP
.
Queue
()
// Typing a search query should not modify the header status
.
push
(
function
()
{
return
;
return
panel_gadget
.
props
.
render_deferred
.
promise
;
})
.
allowPublicAcquisition
(
'
notifyValid
'
,
function
()
{
// Typing a search query should not modify the header status
return
;
})
.
onEvent
(
'
submit
'
,
function
()
{
var
gadget
=
this
;
return
gadget
.
getDeclaredGadget
(
"
erp5_searchfield
"
)
.
push
(
function
(
search_gadget
)
{
return
search_gadget
.
getContent
();
})
})
.
push
(
function
()
{
.
push
(
function
(
data
)
{
return
loopEventListener
(
var
options
=
{
panel_gadget
.
props
.
element
.
querySelector
(
'
form
'
),
page
:
"
ojs_document_list
"
'
submit
'
,
};
false
,
if
(
data
.
search
)
{
formSubmit
options
.
extended_search
=
data
.
search
;
);
}
// Remove focus from the search field
document
.
activeElement
.
blur
();
return
gadget
.
redirect
({
command
:
'
display
'
,
options
:
options
});
});
});
});
},
false
,
true
)
.
onEvent
(
'
blur
'
,
function
(
evt
)
{
// XXX Horrible hack to clear the search when focus is lost
// This does not follow renderJS design, as a gadget should not touch
// another gadget content
if
(
evt
.
target
.
type
===
'
search
'
)
{
evt
.
target
.
value
=
""
;
}
},
true
,
false
);
}(
window
,
rJS
,
Handlebars
,
jQuery
,
RSVP
,
loopEventListener
));
}(
window
,
document
,
rJS
,
Handlebars
,
RSVP
,
Node
,
loopEventListener
));
\ No newline at end of file
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_appstore_panel_js.xml
View file @
99e67338
...
@@ -243,7 +243,7 @@
...
@@ -243,7 +243,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
cedric.le.ninivin
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -257,7 +257,7 @@
...
@@ -257,7 +257,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
50.11225.12299.50619
</string>
</value>
<value>
<string>
9
69.60628.55268.16093
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -275,7 +275,7 @@
...
@@ -275,7 +275,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
459327703.72
</float>
<float>
1
535619185.93
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_appstore_publish_button_css.css
0 → 100644
View file @
99e67338
div
[
data-gadget-scope
=
'ojs_publish_action'
]
{
display
:
flex
;
}
@media
not
screen
and
(
min-width
:
45em
)
{
div
[
data-gadget-scope
=
'ojs_publish_action'
]
a
{
}
}
.orange
{
background
:
orange
;
text-decoration
:
none
!important
;
}
.green
{
background
:
#37A419
;
text-decoration
:
none
!important
;
}
.blue
{
background
:
#0E81D1
;
}
.blue
:hover
{
background
:
#0e90d8
;
}
div
[
data-gadget-scope
=
'ojs_publish_action'
]
a
{
color
:
white
!important
;
}
@media
screen
and
(
min-width
:
45em
)
{
div
[
data-gadget-scope
=
'ojs_publish_action'
]
a
{
text-align
:
center
;
-webkit-border-radius
:
.3125em
/*{global-radii-blocks}*/
;
border-radius
:
.3125em
/*{global-radii-blocks}*/
;
padding
:
1em
2em
;
margin
:
auto
;
}
}
div
[
data-gadget-scope
=
'field_publication_action'
]
a
{
text-align
:
center
;
-webkit-border-radius
:
.3125em
/*{global-radii-blocks}*/
;
border-radius
:
.3125em
/*{global-radii-blocks}*/
;
color
:
white
;
padding
:
0.5em
2em
;
margin
:
auto
;
}
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_appstore_publish_button_css.xml
0 → 100644
View file @
99e67338
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Web Style"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_Access_contents_information_Permission
</string>
</key>
<value>
<tuple>
<string>
Anonymous
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Add_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Change_local_roles_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_View_Permission
</string>
</key>
<value>
<tuple>
<string>
Anonymous
</string>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
content_md5
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
gadget_ojs_appstore_publish_button.css
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
gadget_ojs_appstore_publish_button_css
</string>
</value>
</item>
<item>
<key>
<string>
language
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Web Style
</string>
</value>
</item>
<item>
<key>
<string>
short_title
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Gadget OfficeJS Appstore Publish Button CSS
</string>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
document_publication_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
edit_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
processing_status_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAU=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
publish_alive
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1536067229.5
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
published_alive
</string>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
edit
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
970.12324.25659.5154
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
<value>
<string>
current
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1537779679.88
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
<record
id=
"5"
aka=
"AAAAAAAAAAU="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
external_processing_state
</string>
</key>
<value>
<string>
empty
</string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
0.0.0.0
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1536067092.9
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_
page_officejs_application_list
_html.html
→
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_
appstore_publish_button
_html.html
View file @
99e67338
<!doctype html>
<!doctype html>
<html>
<html>
<head>
<head>
<meta
charset=
"utf-8"
>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<link
rel=
"stylesheet"
href=
"gadget_ojs_appstore_publish_button.css"
>
<title>
OfficeJS
Application List Page
</title>
<title>
OfficeJS
Link Input
</title>
<script
src=
"rsvp.js"
></script>
<script
src=
"rsvp.js"
></script>
<script
src=
"renderjs.js"
></script>
<script
src=
"renderjs.js"
></script>
<script
src=
"jiodev.js"
></script>
<script
src=
"gadget_ojs_appstore_publish_button.js"
></script>
<script
src=
" gadget_erp5_page_officejs_application_list.js"
></script>
</head>
</head>
<body>
<body>
<article
class=
"ui-content ui-body-c"
>
<a></a>
<ul
data-role=
"listview"
data-inset=
"true"
>
</ul>
</article>
</body>
</body>
</html>
</html>
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_
page_officejs_application_list
_html.xml
→
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_
appstore_publish_button
_html.xml
View file @
99e67338
...
@@ -16,7 +16,6 @@
...
@@ -16,7 +16,6 @@
<string>
Associate
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
...
@@ -59,10 +58,15 @@
...
@@ -59,10 +58,15 @@
<string>
Associate
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<item>
<key>
<string>
content_md5
</string>
</key>
<key>
<string>
content_md5
</string>
</key>
<value>
<value>
...
@@ -73,17 +77,9 @@
...
@@ -73,17 +77,9 @@
<key>
<string>
content_type
</string>
</key>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/html
</string>
</value>
<value>
<string>
text/html
</string>
</value>
</item>
</item>
<item>
<key>
<string>
creators
</string>
</key>
<value>
<tuple>
<string>
cedric.le.ninivin
</string>
</tuple>
</value>
</item>
<item>
<item>
<key>
<string>
default_reference
</string>
</key>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
gadget_
erp5_page_officejs_application_list
.html
</string>
</value>
<value>
<string>
gadget_
ojs_appstore_publish_button
.html
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
description
</string>
</key>
<key>
<string>
description
</string>
</key>
...
@@ -93,7 +89,7 @@
...
@@ -93,7 +89,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
gadget_ojs_
page_officejs_application_list
_html
</string>
</value>
<value>
<string>
gadget_ojs_
appstore_publish_button
_html
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
language
</string>
</key>
<key>
<string>
language
</string>
</key>
...
@@ -101,25 +97,6 @@
...
@@ -101,25 +97,6 @@
<none/>
<none/>
</value>
</value>
</item>
</item>
<item>
<key>
<string>
modification_date
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1455284351.6
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<item>
<key>
<string>
portal_type
</string>
</key>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Web Page
</string>
</value>
<value>
<string>
Web Page
</string>
</value>
...
@@ -132,7 +109,7 @@
...
@@ -132,7 +109,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string>
OfficeJS Application Presentation Element
</string>
</value>
<value>
<string>
Gadget OfficeJS Appstore Publish
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
version
</string>
</key>
<key>
<string>
version
</string>
</key>
...
@@ -198,7 +175,7 @@
...
@@ -198,7 +175,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
cedric.le.ninivin
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -220,7 +197,7 @@
...
@@ -220,7 +197,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
458922816.65
</float>
<float>
1
535469077.78
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
@@ -251,7 +228,7 @@
...
@@ -251,7 +228,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
cedric.le.ninivin
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -265,7 +242,7 @@
...
@@ -265,7 +242,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
50.4536.705.512
</string>
</value>
<value>
<string>
9
70.12324.25659.5154
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -283,7 +260,7 @@
...
@@ -283,7 +260,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
459514635.69
</float>
<float>
1
537777530.3
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
@@ -306,11 +283,13 @@
...
@@ -306,11 +283,13 @@
<dictionary>
<dictionary>
<item>
<item>
<key>
<string>
action
</string>
</key>
<key>
<string>
action
</string>
</key>
<value>
<string>
detect_converted_file
</string>
</value>
<value>
<none/>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
cedric.le.ninivin
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -322,7 +301,7 @@
...
@@ -322,7 +301,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
external_processing_state
</string>
</key>
<key>
<string>
external_processing_state
</string>
</key>
<value>
<string>
converted
</string>
</value>
<value>
<string>
empty
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
...
@@ -340,7 +319,7 @@
...
@@ -340,7 +319,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
458921516.5
</float>
<float>
1
535469064.27
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_appstore_publish_button_js.js
0 → 100644
View file @
99e67338
/*global window, rJS, URL, jIO, RSVP*/
/*jslint nomen: true, indent: 2, maxerr: 3 */
(
function
(
window
,
rJS
,
URL
,
jIO
)
{
"
use strict
"
;
rJS
(
window
)
.
declareAcquiredMethod
(
"
getUrlFor
"
,
"
getUrlFor
"
)
.
declareAcquiredMethod
(
"
redirect
"
,
"
redirect
"
)
.
declareMethod
(
'
render
'
,
function
(
options
)
{
var
value
,
css_class
=
"
ui-btn orange
"
,
url_options
,
url
;
if
(
options
.
state
===
"
Accepted
"
)
{
if
(
options
.
select
)
{
value
=
"
Current
"
;
css_class
=
"
ui-btn-disabled green
"
;
}
else
{
value
=
"
Select
"
;
css_class
=
"
ui-btn blue
"
;
url
=
new
URL
(
'
./
'
+
options
.
jio_key
+
'
/SoftwarePublication_selectVersion
'
,
new
URL
(
window
.
location
.
pathname
,
window
.
location
.
origin
));
}
}
else
if
(
options
.
state
===
"
Submitted
"
)
{
value
=
"
Open
"
;
css_class
=
'
blue
'
;
url_options
=
{
command
:
'
display_erp5_action
'
,
options
:
{
page
:
'
open_action
'
,
jio_key
:
options
.
jio_key
}
};
}
else
if
(
options
.
state
===
"
Draft
"
)
{
value
=
"
Wait For Submit
"
;
}
else
{
value
=
"
Wait For Approval
"
;
}
return
this
.
changeState
({
value
:
value
,
css_class
:
css_class
,
url
:
url
,
url_options
:
url_options
});
})
.
onStateChange
(
function
(
modification_dict
)
{
var
a
=
this
.
element
.
querySelector
(
"
a
"
);
if
(
modification_dict
.
hasOwnProperty
(
'
value
'
))
{
a
.
textContent
=
modification_dict
.
value
;
}
if
(
modification_dict
.
hasOwnProperty
(
'
css_class
'
))
{
a
.
setAttribute
(
'
class
'
,
this
.
state
.
css_class
);
}
})
.
onEvent
(
'
click
'
,
function
()
{
var
gadget
=
this
;
if
(
gadget
.
state
.
url
)
{
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
jIO
.
util
.
ajax
({
type
:
'
POST
'
,
url
:
gadget
.
state
.
url
});
})
.
push
(
function
()
{
return
gadget
.
redirect
({
command
:
'
change
'
,
options
:
{}});
});
}
if
(
gadget
.
state
.
url_options
)
{
return
gadget
.
redirect
(
gadget
.
state
.
url_options
);
}
})
.
declareMethod
(
'
getContent
'
,
function
()
{
return
{};
});
}(
window
,
rJS
,
URL
,
jIO
,
RSVP
));
\ No newline at end of file
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_
software_product_web_section_list
_js.xml
→
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_
appstore_publish_button
_js.xml
View file @
99e67338
...
@@ -16,7 +16,6 @@
...
@@ -16,7 +16,6 @@
<string>
Associate
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
...
@@ -59,10 +58,15 @@
...
@@ -59,10 +58,15 @@
<string>
Associate
</string>
<string>
Associate
</string>
<string>
Auditor
</string>
<string>
Auditor
</string>
<string>
Manager
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<item>
<key>
<string>
content_md5
</string>
</key>
<key>
<string>
content_md5
</string>
</key>
<value>
<value>
...
@@ -70,16 +74,14 @@
...
@@ -70,16 +74,14 @@
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
c
reators
</string>
</key>
<key>
<string>
c
ontent_type
</string>
</key>
<value>
<value>
<tuple>
<none/>
<string>
cedric.le.ninivin
</string>
</tuple>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
default_reference
</string>
</key>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
gadget_ojs_
software_product_web_section_list
.js
</string>
</value>
<value>
<string>
gadget_ojs_
appstore_publish_button
.js
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
description
</string>
</key>
<key>
<string>
description
</string>
</key>
...
@@ -89,7 +91,7 @@
...
@@ -89,7 +91,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
gadget_ojs_
software_product_web_section_list
_js
</string>
</value>
<value>
<string>
gadget_ojs_
appstore_publish_button
_js
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
language
</string>
</key>
<key>
<string>
language
</string>
</key>
...
@@ -97,25 +99,6 @@
...
@@ -97,25 +99,6 @@
<none/>
<none/>
</value>
</value>
</item>
</item>
<item>
<key>
<string>
modification_date
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1455284351.64
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<item>
<key>
<string>
portal_type
</string>
</key>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Web Script
</string>
</value>
<value>
<string>
Web Script
</string>
</value>
...
@@ -128,7 +111,7 @@
...
@@ -128,7 +111,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string>
OfficeJS Software Product Web Section List
JS
</string>
</value>
<value>
<string>
Gadget OfficeJS Appstore Update Link
JS
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
version
</string>
</key>
<key>
<string>
version
</string>
</key>
...
@@ -194,7 +177,7 @@
...
@@ -194,7 +177,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
cedric.le.ninivin
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -216,7 +199,7 @@
...
@@ -216,7 +199,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
459349298.89
</float>
<float>
1
535469130.23
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
@@ -247,7 +230,7 @@
...
@@ -247,7 +230,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
cedric.le.ninivin
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -261,7 +244,7 @@
...
@@ -261,7 +244,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
50.11625.50081.63283
</string>
</value>
<value>
<string>
9
70.20979.24542.29201
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -279,7 +262,7 @@
...
@@ -279,7 +262,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
459350443.28
</float>
<float>
1
537777582.25
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
@@ -302,11 +285,13 @@
...
@@ -302,11 +285,13 @@
<dictionary>
<dictionary>
<item>
<item>
<key>
<string>
action
</string>
</key>
<key>
<string>
action
</string>
</key>
<value>
<string>
detect_converted_file
</string>
</value>
<value>
<none/>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
cedric.le.ninivin
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -318,7 +303,7 @@
...
@@ -318,7 +303,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
external_processing_state
</string>
</key>
<key>
<string>
external_processing_state
</string>
</key>
<value>
<string>
converted
</string>
</value>
<value>
<string>
empty
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
...
@@ -336,7 +321,7 @@
...
@@ -336,7 +321,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
459347957.27
</float>
<float>
1
535469104.44
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_page_officejs_application_list_js.js
deleted
100644 → 0
View file @
19edd898
/*global window, rJS, RSVP, URI, location,
loopEventListener, btoa, SimpleQuery, ComplexQuery, Query */
/*jslint nomen: true, indent: 2, maxerr: 3*/
(
function
(
window
,
rJS
,
RSVP
,
SimpleQuery
,
ComplexQuery
,
Query
)
{
"
use strict
"
;
var
gadget_klass
=
rJS
(
window
);
gadget_klass
.
ready
(
function
(
g
)
{
g
.
props
=
{};
return
g
.
getElement
()
.
push
(
function
(
element
)
{
g
.
props
.
element
=
element
;
g
.
props
.
deferred
=
RSVP
.
defer
();
});
})
.
declareAcquiredMethod
(
"
updateHeader
"
,
"
updateHeader
"
)
.
declareAcquiredMethod
(
"
jio_allDocs
"
,
"
jio_allDocs
"
)
.
declareMethod
(
"
render
"
,
function
()
{
var
gadget
=
this
;
return
gadget
.
updateHeader
({
page_title
:
"
OfficeJS Applications
"
,
panel_action
:
false
})
.
push
(
function
()
{
return
gadget
.
jio_allDocs
({
query
:
'
portal_type:("Web Site") AND validation_state:"published"
'
,
select_list
:
[
'
uid
'
]
});
})
.
push
(
function
(
result
)
{
var
i
,
i_len
,
query
,
uid_query_list
=
[];
for
(
i
=
0
,
i_len
=
result
.
data
.
total_rows
;
i
<
i_len
;
i
+=
1
)
{
uid_query_list
.
push
(
new
SimpleQuery
({
key
:
'
parent_uid
'
,
value
:
result
.
data
.
rows
[
i
].
value
.
uid
})
);
}
query
=
new
ComplexQuery
({
operator
:
"
AND
"
,
query_list
:
[
new
ComplexQuery
({
operator
:
"
OR
"
,
query_list
:
uid_query_list
}),
new
SimpleQuery
({
key
:
"
portal_type
"
,
value
:
"
Web Section
"
}),
new
SimpleQuery
({
key
:
"
id
"
,
value
:
"
latest
"
})
]
});
return
gadget
.
jio_allDocs
({
query
:
Query
.
objectToSearchText
(
query
)
});
})
.
push
(
function
(
result
)
{
var
list_element
=
gadget
.
props
.
element
.
querySelector
(
"
ul
"
),
queue
=
new
RSVP
.
Queue
(),
i
,
i_len
;
function
addApplication
(
id
)
{
queue
.
push
(
function
()
{
var
element
=
document
.
createElement
(
"
li
"
);
list_element
.
appendChild
(
element
);
return
gadget
.
declareGadget
(
"
gadget_officejs_application_presentation_element.html
"
,
{
element
:
element
}
);
}).
push
(
function
(
application_presentation_element
)
{
return
application_presentation_element
.
render
({
id
:
id
});
});
}
// XXX Should clean list prior to adding any element
for
(
i
=
0
,
i_len
=
result
.
data
.
total_rows
;
i
<
i_len
;
i
+=
1
)
{
addApplication
(
result
.
data
.
rows
[
i
].
id
);
}
return
queue
;
})
.
push
(
function
()
{
return
gadget
.
props
.
deferred
.
resolve
();
});
})
/////////////////////////////////////////
// Form submit
/////////////////////////////////////////
.
declareService
(
function
()
{
var
gadget
=
this
;
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
gadget
.
props
.
deferred
.
promise
;
})
.
push
(
function
()
{
return
true
;
});
});
}(
window
,
rJS
,
RSVP
,
SimpleQuery
,
ComplexQuery
,
Query
));
\ No newline at end of file
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_software_product_web_section_list_html.html
deleted
100644 → 0
View file @
19edd898
<!doctype html>
<html>
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<title>
OfficeJS Application List Page
</title>
<script
src=
"rsvp.js"
></script>
<script
src=
"renderjs.js"
></script>
<script
src=
" gadget_ojs_software_product_web_section_list.js"
></script>
<script
id=
"table-template"
type=
"text/x-handlebars-template"
>
<
article
class
=
"
ui-content ui-body-c
"
>
<
ul
data
-
role
=
"
listview
"
data
-
theme
=
"
c
"
data
-
inset
=
"
true
"
>
{{
#
each
documentlist
}}
<
li
><
a
class
=
"
ui-body-inherit
"
href
=
"
{{link}}
"
>
{{
title
}}
<
/a></
li
>
{{
/
each
}}
<
/ul
>
<
/article
>
</script>
</head>
<body>
</html>
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_page_module/gadget_ojs_software_product_web_section_list_js.js
deleted
100644 → 0
View file @
19edd898
/*global window, rJS, RSVP, Handlebars, jQuery */
/*jslint nomen: true, indent: 2, maxerr: 3*/
(
function
(
window
,
rJS
,
RSVP
,
Handlebars
,
$
)
{
"
use strict
"
;
/////////////////////////////////////////////////////////////////
// Handlebars
/////////////////////////////////////////////////////////////////
// Precompile the templates while loading the first gadget instance
var
gadget_klass
=
rJS
(
window
),
source
=
gadget_klass
.
__template_element
.
getElementById
(
"
table-template
"
)
.
innerHTML
,
table_template
=
Handlebars
.
compile
(
source
);
gadget_klass
.
ready
(
function
(
g
)
{
g
.
props
=
{};
return
g
.
getElement
()
.
push
(
function
(
element
)
{
g
.
props
.
element
=
element
;
g
.
props
.
deferred
=
RSVP
.
defer
();
});
})
.
declareAcquiredMethod
(
"
updateHeader
"
,
"
updateHeader
"
)
.
declareAcquiredMethod
(
"
jio_allDocs
"
,
"
jio_allDocs
"
)
.
declareAcquiredMethod
(
"
jio_getAttachment
"
,
"
jio_getAttachment
"
)
.
declareMethod
(
"
render
"
,
function
(
options
)
{
console
.
log
(
options
);
var
gadget
=
this
,
id
=
options
.
value
;
return
gadget
.
jio_getAttachment
(
id
,
"
view
"
)
.
push
(
function
(
result
)
{
var
list_method_template
;
console
.
log
(
result
);
list_method_template
=
result
.
_embedded
.
_view
.
listbox
.
list_method_template
;
return
gadget
.
jio_allDocs
({
list_method_template
:
list_method_template
,
select_list
:
[
'
relative_url
'
,
'
title
'
,
'
id
'
],
sort_on
:[[
"
modification_date
"
,
"
descending
"
],]
});
})
.
push
(
function
(
result
)
{
console
.
log
(
result
);
var
i
,
i_len
,
version_list
=
[];
for
(
i
=
0
,
i_len
=
result
.
data
.
total_rows
;
i
<
i_len
;
i
+=
1
)
{
// XX Should do that during query
if
(
result
.
data
.
rows
[
i
].
value
.
id
!==
"
hateoas
"
)
{
version_list
.
push
({
title
:
result
.
data
.
rows
[
i
].
value
.
title
,
link
:
result
.
data
.
rows
[
i
].
value
.
relative_url
+
"
/
"
,
});
}
}
gadget
.
props
.
element
.
innerHTML
=
table_template
({
documentlist
:
version_list
});
$
(
gadget
.
props
.
element
).
enhanceWithin
();
return
true
;
});
})
/////////////////////////////////////////
// Form submit
/////////////////////////////////////////
.
declareService
(
function
()
{
var
gadget
=
this
;
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
gadget
.
props
.
deferred
.
promise
;
})
.
push
(
function
()
{
return
true
;
});
});
}(
window
,
rJS
,
RSVP
,
Handlebars
,
jQuery
));
\ No newline at end of file
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_site_module/officejs_
appstore
.xml
→
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_site_module/officejs_
runner
.xml
View file @
99e67338
...
@@ -111,7 +111,6 @@
...
@@ -111,7 +111,6 @@
<value>
<value>
<list>
<list>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</list>
</list>
</value>
</value>
</item>
</item>
...
@@ -134,37 +133,26 @@
...
@@ -134,37 +133,26 @@
<key>
<key>
<tuple>
<tuple>
<int>
99
</int>
<int>
99
</int>
<string>
ERP5 Web Site/officejs_
appstore
</string>
<string>
ERP5 Web Site/officejs_
runner
</string>
</tuple>
</tuple>
</key>
</key>
<value>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</value>
</item>
</item>
<item>
<key>
<tuple>
<int>
99
</int>
<string>
ERP5 Web Site/renderjs_runner
</string>
</tuple>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</dictionary>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
_count
</string>
</key>
<key>
<string>
_count
</string>
</key>
<value>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
Q
=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
M
=
</string>
</persistent>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
_identity_criterion
</string>
</key>
<key>
<string>
_identity_criterion
</string>
</key>
<value>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
U
=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
Q
=
</string>
</persistent>
</value>
</value>
</item>
</item>
<item>
<item>
...
@@ -271,25 +259,55 @@
...
@@ -271,25 +259,55 @@
<value>
<string>
string
</string>
</value>
<value>
<string>
string
</string>
</value>
</item>
</item>
</dictionary>
</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_default_jio_document_page_gadget_url
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
_mt_index
</string>
</key>
<key>
<string>
_mt_index
</string>
</key>
<value>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
Y
=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
U
=
</string>
</persistent>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
_range_criterion
</string>
</key>
<key>
<string>
_range_criterion
</string>
</key>
<value>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
c
=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
Y
=
</string>
</persistent>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
_tree
</string>
</key>
<key>
<string>
_tree
</string>
</key>
<value>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
g
=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
c
=
</string>
</persistent>
</value>
</value>
</item>
</item>
<item>
<item>
...
@@ -308,18 +326,22 @@
...
@@ -308,18 +326,22 @@
<key>
<string>
categories
</string>
</key>
<key>
<string>
categories
</string>
</key>
<value>
<value>
<tuple>
<tuple>
<string>
aggregate/web_page_module/rjs_gadget_erp5_html
</string>
<string>
caching_policy/must-revalidate
</string>
<string>
caching_policy/must-revalidate
</string>
<string>
aggregate/web_page_module/rjs_gadget_erp5_launcher_html
</string>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
configuration_application_title
</string>
</key>
<key>
<string>
configuration_application_title
</string>
</key>
<value>
<string>
ERP5
</string>
</value>
<value>
<string>
OfficeJS
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
configuration_content_security_policy
</string>
</key>
<key>
<string>
configuration_content_security_policy
</string>
</key>
<value>
<string>
default-src \'none\'; img-src \'self\' data:; media-src \'self\' blob:; connect-src \'self\' data:; script-src \'self\' \'unsafe-eval\'; font-src netdna.bootstrapcdn.com; style-src \'self\' netdna.bootstrapcdn.com \'unsafe-inline\' data:; frame-src \'self\' data:
</string>
</value>
<value>
<string>
default-src \'self\'; img-src \'self\' data:; media-src \'self\' blob:; connect-src \'self\' data:; script-src \'self\' \'unsafe-eval\'; font-src \'self\'; style-src \'self\' data:; frame-src \'self\' data:
</string>
</value>
</item>
<item>
<key>
<string>
configuration_default_jio_document_page_gadget_url
</string>
</key>
<value>
<string>
ojs_appstore_controller
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
configuration_default_view_action_reference
</string>
</key>
<key>
<string>
configuration_default_view_action_reference
</string>
</key>
...
@@ -327,7 +349,7 @@
...
@@ -327,7 +349,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
configuration_frontpage_gadget_url
</string>
</key>
<key>
<string>
configuration_frontpage_gadget_url
</string>
</key>
<value>
<string>
officejs_application_list
</string>
</value>
<value>
<string>
front_ojs_appstore
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
configuration_hateoas_url
</string>
</key>
<key>
<string>
configuration_hateoas_url
</string>
</key>
...
@@ -343,6 +365,10 @@
...
@@ -343,6 +365,10 @@
<key>
<string>
configuration_jio_gadget_url
</string>
</key>
<key>
<string>
configuration_jio_gadget_url
</string>
</key>
<value>
<string>
gadget_erp5_jio.html
</string>
</value>
<value>
<string>
gadget_erp5_jio.html
</string>
</value>
</item>
</item>
<item>
<key>
<string>
configuration_manifest_url
</string>
</key>
<value>
<string>
gadget_erp5.appcache
</string>
</value>
</item>
<item>
<item>
<key>
<string>
configuration_panel_gadget_url
</string>
</key>
<key>
<string>
configuration_panel_gadget_url
</string>
</key>
<value>
<string>
gadget_ojs_appstore_panel.html
</string>
</value>
<value>
<string>
gadget_ojs_appstore_panel.html
</string>
</value>
...
@@ -355,6 +381,10 @@
...
@@ -355,6 +381,10 @@
<key>
<string>
configuration_view_action_category
</string>
</key>
<key>
<string>
configuration_view_action_category
</string>
</key>
<value>
<string>
object_view
</string>
</value>
<value>
<string>
object_view
</string>
</value>
</item>
</item>
<item>
<key>
<string>
configuration_x_frame_options
</string>
</key>
<value>
<string>
SAMEORIGIN
</string>
</value>
</item>
<item>
<item>
<key>
<string>
container_layout
</string>
</key>
<key>
<string>
container_layout
</string>
</key>
<value>
<string>
WebSection_renderDefaultPageAsGadget
</string>
</value>
<value>
<string>
WebSection_renderDefaultPageAsGadget
</string>
</value>
...
@@ -373,7 +403,7 @@
...
@@ -373,7 +403,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
officejs_
appstore
</string>
</value>
<value>
<string>
officejs_
runner
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
layout_configuration_form_id
</string>
</key>
<key>
<string>
layout_configuration_form_id
</string>
</key>
...
@@ -395,11 +425,11 @@
...
@@ -395,11 +425,11 @@
</item>
</item>
<item>
<item>
<key>
<string>
static_language_selection
</string>
</key>
<key>
<string>
static_language_selection
</string>
</key>
<value>
<int>
0
</int>
</value>
<value>
<int>
1
</int>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string>
OfficeJS
Appstore
</string>
</value>
<value>
<string>
OfficeJS
Runner
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
visible
</string>
</key>
<key>
<string>
visible
</string>
</key>
...
@@ -408,7 +438,7 @@
...
@@ -408,7 +438,7 @@
<item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<key>
<string>
workflow_history
</string>
</key>
<value>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
k
=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
g
=
</string>
</persistent>
</value>
</value>
</item>
</item>
</dictionary>
</dictionary>
...
@@ -423,20 +453,12 @@
...
@@ -423,20 +453,12 @@
</pickle>
</pickle>
</record>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WebSiteTraversalHook"
module=
"Products.ERP5.Document.WebSite"
/>
</pickle>
<pickle>
<dictionary/>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<pickle>
<global
name=
"Length"
module=
"BTrees.Length"
/>
<global
name=
"Length"
module=
"BTrees.Length"
/>
</pickle>
</pickle>
<pickle>
<int>
0
</int>
</pickle>
<pickle>
<int>
0
</int>
</pickle>
</record>
</record>
<record
id=
"
5"
aka=
"AAAAAAAAAAU
="
>
<record
id=
"
4"
aka=
"AAAAAAAAAAQ
="
>
<pickle>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
</pickle>
...
@@ -451,7 +473,7 @@
...
@@ -451,7 +473,7 @@
</dictionary>
</dictionary>
</pickle>
</pickle>
</record>
</record>
<record
id=
"
6"
aka=
"AAAAAAAAAAY
="
>
<record
id=
"
5"
aka=
"AAAAAAAAAAU
="
>
<pickle>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
</pickle>
...
@@ -459,7 +481,7 @@
...
@@ -459,7 +481,7 @@
<none/>
<none/>
</pickle>
</pickle>
</record>
</record>
<record
id=
"
7"
aka=
"AAAAAAAAAAc
="
>
<record
id=
"
6"
aka=
"AAAAAAAAAAY
="
>
<pickle>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
</pickle>
...
@@ -474,7 +496,7 @@
...
@@ -474,7 +496,7 @@
</dictionary>
</dictionary>
</pickle>
</pickle>
</record>
</record>
<record
id=
"
8"
aka=
"AAAAAAAAAAg
="
>
<record
id=
"
7"
aka=
"AAAAAAAAAAc
="
>
<pickle>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
</pickle>
...
@@ -482,7 +504,7 @@
...
@@ -482,7 +504,7 @@
<none/>
<none/>
</pickle>
</pickle>
</record>
</record>
<record
id=
"
9"
aka=
"AAAAAAAAAAk
="
>
<record
id=
"
8"
aka=
"AAAAAAAAAAg
="
>
<pickle>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
</pickle>
...
@@ -495,13 +517,13 @@
...
@@ -495,13 +517,13 @@
<item>
<item>
<key>
<string>
category_publication_workflow
</string>
</key>
<key>
<string>
category_publication_workflow
</string>
</key>
<value>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
o
=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
k
=
</string>
</persistent>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
edit_workflow
</string>
</key>
<key>
<string>
edit_workflow
</string>
</key>
<value>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
s
=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
o
=
</string>
</persistent>
</value>
</value>
</item>
</item>
</dictionary>
</dictionary>
...
@@ -510,7 +532,7 @@
...
@@ -510,7 +532,7 @@
</dictionary>
</dictionary>
</pickle>
</pickle>
</record>
</record>
<record
id=
"
10"
aka=
"AAAAAAAAAAo
="
>
<record
id=
"
9"
aka=
"AAAAAAAAAAk
="
>
<pickle>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
</pickle>
...
@@ -525,7 +547,7 @@
...
@@ -525,7 +547,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
supercedriclen
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -547,7 +569,7 @@
...
@@ -547,7 +569,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
459414994.2
7
</float>
<float>
1
535361092.
7
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
@@ -563,7 +585,7 @@
...
@@ -563,7 +585,7 @@
</tuple>
</tuple>
</pickle>
</pickle>
</record>
</record>
<record
id=
"1
1"
aka=
"AAAAAAAAAAs
="
>
<record
id=
"1
0"
aka=
"AAAAAAAAAAo
="
>
<pickle>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
</pickle>
...
@@ -578,7 +600,7 @@
...
@@ -578,7 +600,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
cedric.le.ninivin
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -592,7 +614,7 @@
...
@@ -592,7 +614,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
50.4182.28482.1160
</string>
</value>
<value>
<string>
9
69.60600.10704.12117
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -610,7 +632,7 @@
...
@@ -610,7 +632,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
458914995.89
</float>
<float>
1
535619003.32
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_site_module/officejs_
appstore
/hateoas.xml
→
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_site_module/officejs_
runner
/hateoas.xml
View file @
99e67338
...
@@ -253,7 +253,7 @@
...
@@ -253,7 +253,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
skin_selection_name
</string>
</key>
<key>
<string>
skin_selection_name
</string>
</key>
<value>
<string>
Hal
</string>
</value>
<value>
<string>
Hal
Restricted
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
...
@@ -381,7 +381,7 @@
...
@@ -381,7 +381,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
cedric.le.ninivin
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -403,7 +403,7 @@
...
@@ -403,7 +403,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
458123941.24
</float>
<float>
1
535011051.76
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
@@ -434,7 +434,7 @@
...
@@ -434,7 +434,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
cedric.le.ninivin
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -448,7 +448,7 @@
...
@@ -448,7 +448,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
49.56721.45151.17595
</string>
</value>
<value>
<string>
9
69.50493.34732.36812
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -466,7 +466,7 @@
...
@@ -466,7 +466,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
459415303.98
</float>
<float>
1
535011085.73
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_site_module/officejs_
appstore
/hateoas/connection.xml
→
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_site_module/officejs_
runner
/hateoas/connection.xml
View file @
99e67338
...
@@ -108,12 +108,6 @@
...
@@ -108,12 +108,6 @@
</dictionary>
</dictionary>
</value>
</value>
</item>
</item>
<item>
<key>
<string>
__translation_dict
</string>
</key>
<value>
<dictionary/>
</value>
</item>
<item>
<item>
<key>
<string>
_identity_criterion
</string>
</key>
<key>
<string>
_identity_criterion
</string>
</key>
<value>
<value>
...
@@ -278,7 +272,7 @@
...
@@ -278,7 +272,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
cedric.le.ninivin
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -300,7 +294,7 @@
...
@@ -300,7 +294,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
458123941.26
</float>
<float>
1
535011051.77
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
@@ -331,12 +325,12 @@
...
@@ -331,12 +325,12 @@
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
cedric.le.ninivin
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
<value>
<value>
<
none/
>
<
persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAg=
</string>
</persistent
>
</value>
</value>
</item>
</item>
<item>
<item>
...
@@ -345,7 +339,7 @@
...
@@ -345,7 +339,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
949.56721.45151.17595
</string>
</value>
<value>
<string>
0.0.0.0
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -363,7 +357,7 @@
...
@@ -363,7 +357,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
459415303.9
7
</float>
<float>
1
535011051.7
7
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
@@ -375,4 +369,36 @@
...
@@ -375,4 +369,36 @@
</tuple>
</tuple>
</pickle>
</pickle>
</record>
</record>
<record
id=
"8"
aka=
"AAAAAAAAAAg="
>
<pickle>
<global
name=
"Message"
module=
"Products.ERP5Type.Message"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default
</string>
</key>
<value>
<string>
Object copied from ${source_item}
</string>
</value>
</item>
<item>
<key>
<string>
domain
</string>
</key>
<value>
<string>
erp5_ui
</string>
</value>
</item>
<item>
<key>
<string>
mapping
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
source_item
</string>
</key>
<value>
<string>
/erp5/web_site_module/renderjs_runner
</string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
message
</string>
</key>
<value>
<string>
Object copied from ${source_item}
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
</ZopeData>
bt5/erp5_officejs_appstore_base/PathTemplateItem/web_site_module/officejs_runner/unsafe.xml
0 → 100644
View file @
99e67338
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Web Section"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_Add_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Add_portal_folders_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Copy_or_Move_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Delete_objects_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignor
</string>
<string>
Manager
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
_Modify_portal_content_Permission
</string>
</key>
<value>
<tuple>
<string>
Assignee
</string>
<string>
Assignor
</string>
<string>
Manager
</string>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
__before_publishing_traverse__
</string>
</key>
<value>
<object>
<klass>
<global
name=
"MultiHook"
module=
"ZPublisher.BeforeTraverse"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_defined_in_class
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
_hookname
</string>
</key>
<value>
<string>
__before_publishing_traverse__
</string>
</value>
</item>
<item>
<key>
<string>
_list
</string>
</key>
<value>
<list>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</list>
</value>
</item>
<item>
<key>
<string>
_prior
</string>
</key>
<value>
<none/>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
__before_traverse__
</string>
</key>
<value>
<dictionary>
<item>
<key>
<tuple>
<int>
99
</int>
<string>
ERP5 Web Section/unsafe
</string>
</tuple>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</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_content_security_policy
</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>
</tuple>
</value>
</item>
<item>
<key>
<string>
_range_criterion
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
configuration_content_security_policy
</string>
</key>
<value>
<string>
default-src \'self\' data: blob: ; script-src \'self\' \'unsafe-eval\'; style-src \'self\' \'unsafe-inline\'
</string>
</value>
</item>
<item>
<key>
<string>
configuration_x_frame_options
</string>
</key>
<value>
<string>
SAMEORIGIN
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
empty_criterion_valid
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
unsafe
</string>
</value>
</item>
<item>
<key>
<string>
int_index
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
membership_criterion_category
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Web Section
</string>
</value>
</item>
<item>
<key>
<string>
short_title
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
string_index
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
test_method_id
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Unsafe
</string>
</value>
</item>
<item>
<key>
<string>
visible
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAU=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"WebSectionTraversalHook"
module=
"Products.ERP5.Document.WebSection"
/>
</pickle>
<pickle>
<dictionary/>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"5"
aka=
"AAAAAAAAAAU="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
category_publication_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAY=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
edit_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAc=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"6"
aka=
"AAAAAAAAAAY="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1535011051.78
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
embedded
</string>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
<record
id=
"7"
aka=
"AAAAAAAAAAc="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.patches.WorkflowTool"
/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
edit
</string>
</value>
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
error_message
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
969.50493.34732.36812
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
<value>
<string>
current
</string>
</value>
</item>
<item>
<key>
<string>
time
</string>
</key>
<value>
<object>
<klass>
<global
name=
"DateTime"
module=
"DateTime.DateTime"
/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>
1535011085.73
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_appstore_base/RegisteredSkinSelectionTemplateItem/registered_skin_selection.xml
0 → 100644
View file @
99e67338
<registered_skin_selection>
<skin_folder_selection>
<skin_folder>
erp5_officejs_appstore_ui
</skin_folder>
<skin_selection>
Hal,HalRestricted,RJS
</skin_selection>
</skin_folder_selection>
</registered_skin_selection>
\ No newline at end of file
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/ERP5Site_getAvailableSoftwareProductList.py
View file @
99e67338
return
[(
''
,
''
)]
+
[(
x
.
getTitle
(),
x
.
relative_url
)
for
x
in
context
.
getPortalObject
().
portal_catalog
(
return
[(
x
.
getTitle
(),
x
.
relative_url
)
for
x
in
context
.
getPortalObject
().
portal_catalog
(
portal_type
=
"Software Product"
,
portal_type
=
"Software Product"
,
# Is validation state necessary here?
# Is validation state necessary here?
# validation_state="validated",
# validation_state="validated",
...
...
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/SoftwareProductModule_createNewApplication.py
0 → 100644
View file @
99e67338
return
context
.
ERP5Site_createNewSoftwarePublication
(
file
=
file
,
product_line
=
"software/application"
,
title
=
title
,
version_title
=
str
(
DateTime
()),
changelog
=
""
,
description
=
description
,
**
kw
)
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/SoftwareProductModule_createNewApplication.xml
0 → 100644
View file @
99e67338
<?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>
file, title, description="", **kw
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
SoftwareProductModule_createNewApplication
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/SoftwareProductModule_createNewApplicationDialog.xml
0 → 100644
View file @
99e67338
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ERP5 Form"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_objects
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
SoftwareProductModule_createNewApplication
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
edit_order
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
encoding
</string>
</key>
<value>
<string>
UTF-8
</string>
</value>
</item>
<item>
<key>
<string>
enctype
</string>
</key>
<value>
<string>
multipart/form-data
</string>
</value>
</item>
<item>
<key>
<string>
group_list
</string>
</key>
<value>
<list>
<string>
left
</string>
<string>
right
</string>
<string>
center
</string>
<string>
bottom
</string>
<string>
hidden
</string>
</list>
</value>
</item>
<item>
<key>
<string>
groups
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
bottom
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
center
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
left
</string>
</key>
<value>
<list>
<string>
your_file
</string>
<string>
your_title
</string>
<string>
your_description
</string>
</list>
</value>
</item>
<item>
<key>
<string>
right
</string>
</key>
<value>
<list/>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
SoftwareProductModule_createNewApplicationDialog
</string>
</value>
</item>
<item>
<key>
<string>
method
</string>
</key>
<value>
<string>
POST
</string>
</value>
</item>
<item>
<key>
<string>
name
</string>
</key>
<value>
<string>
SoftwareProductModule_createNewApplicationDialog
</string>
</value>
</item>
<item>
<key>
<string>
pt
</string>
</key>
<value>
<string>
form_dialog
</string>
</value>
</item>
<item>
<key>
<string>
row_length
</string>
</key>
<value>
<int>
4
</int>
</value>
</item>
<item>
<key>
<string>
stored_encoding
</string>
</key>
<value>
<string>
UTF-8
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Create Application
</string>
</value>
</item>
<item>
<key>
<string>
unicode_mode
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
update_action
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
update_action_title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/
WebSection_viewOfficeJSApplicationPreference/my_configuration_content_security_policy
.xml
→
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/
SoftwareProductModule_createNewApplicationDialog/your_description
.xml
View file @
99e67338
...
@@ -10,13 +10,14 @@
...
@@ -10,13 +10,14 @@
<key>
<string>
delegated_list
</string>
</key>
<key>
<string>
delegated_list
</string>
</key>
<value>
<value>
<list>
<list>
<string>
description
</string>
<string>
title
</string>
<string>
title
</string>
</list>
</list>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_configuration_content_security_policy
</string>
</value>
<value>
<string>
your_description
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
message_values
</string>
</key>
<key>
<string>
message_values
</string>
</key>
...
@@ -71,9 +72,13 @@
...
@@ -71,9 +72,13 @@
<key>
<string>
values
</string>
</key>
<key>
<string>
values
</string>
</key>
<value>
<value>
<dictionary>
<dictionary>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Set Or update Software Product Title
</string>
</value>
</item>
<item>
<item>
<key>
<string>
field_id
</string>
</key>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_
view_mode_reference
</string>
</value>
<value>
<string>
my_
description
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
form_id
</string>
</key>
<key>
<string>
form_id
</string>
</key>
...
@@ -85,7 +90,7 @@
...
@@ -85,7 +90,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string>
Content Security Policy
</string>
</value>
<value>
<string>
Description
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</value>
</value>
...
...
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/SoftwareProductModule_createNewApplicationDialog/your_file.xml
0 → 100644
View file @
99e67338
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ProxyField"
module=
"Products.ERP5Form.ProxyField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
delegated_list
</string>
</key>
<value>
<list>
<string>
required
</string>
<string>
title
</string>
</list>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
your_file
</string>
</value>
</item>
<item>
<key>
<string>
message_values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
external_validator_failed
</string>
</key>
<value>
<string>
The input failed the external validator.
</string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
overrides
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
tales
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
your_file_field
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
required
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Application Zip
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/
WebSection_viewOfficeJSApplicationPreference/my_configuration_resource_base_url
.xml
→
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/
SoftwareProductModule_createNewApplicationDialog/your_title
.xml
View file @
99e67338
...
@@ -10,14 +10,15 @@
...
@@ -10,14 +10,15 @@
<key>
<string>
delegated_list
</string>
</key>
<key>
<string>
delegated_list
</string>
</key>
<value>
<value>
<list>
<list>
<string>
default
</string>
<string>
description
</string>
<string>
required
</string>
<string>
title
</string>
<string>
title
</string>
</list>
</list>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_configuration_resource_base_url
</string>
</value>
<value>
<string>
your_title
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
message_values
</string>
</key>
<key>
<string>
message_values
</string>
</key>
...
@@ -53,12 +54,6 @@
...
@@ -53,12 +54,6 @@
<key>
<string>
tales
</string>
</key>
<key>
<string>
tales
</string>
</key>
<value>
<value>
<dictionary>
<dictionary>
<item>
<key>
<string>
default
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<item>
<key>
<string>
field_id
</string>
</key>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
...
@@ -71,10 +66,6 @@
...
@@ -71,10 +66,6 @@
<key>
<string>
target
</string>
</key>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</dictionary>
</value>
</value>
</item>
</item>
...
@@ -83,24 +74,28 @@
...
@@ -83,24 +74,28 @@
<value>
<value>
<dictionary>
<dictionary>
<item>
<item>
<key>
<string>
de
fault
</string>
</key>
<key>
<string>
de
scription
</string>
</key>
<value>
<string></string>
</value>
<value>
<string>
Set Or update Software Product Title
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
field_id
</string>
</key>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_view_mode_referenc
e
</string>
</value>
<value>
<string>
your_titl
e
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
form_id
</string>
</key>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
</item>
</item>
<item>
<key>
<string>
required
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<item>
<key>
<string>
target
</string>
</key>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string>
Resource Base URL
</string>
</value>
<value>
<string>
Title
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</value>
</value>
...
@@ -108,17 +103,4 @@
...
@@ -108,17 +103,4 @@
</dictionary>
</dictionary>
</pickle>
</pickle>
</record>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"TALESMethod"
module=
"Products.Formulator.TALESField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python: here.getLayoutProperty(field.getId().replace(\'my_\', \'\', 1), \'\')
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
</ZopeData>
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/SoftwareProduct_updateApplication.py
0 → 100644
View file @
99e67338
return
context
.
ERP5Site_createNewSoftwarePublication
(
file
=
file
,
product_line
=
"software/application"
,
title
=
context
.
getTitle
(),
version_title
=
str
(
DateTime
()),
changelog
=
changelog
,
description
=
""
,
software_product
=
context
.
getRelativeUrl
(),
**
kw
)
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/SoftwareProduct_updateApplication.xml
0 → 100644
View file @
99e67338
<?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>
file, changelog="", **kw
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
SoftwareProduct_updateApplication
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/SoftwareProduct_updateApplicationDialog.xml
0 → 100644
View file @
99e67338
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ERP5 Form"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_objects
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
SoftwareProduct_updateApplication
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
edit_order
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
encoding
</string>
</key>
<value>
<string>
UTF-8
</string>
</value>
</item>
<item>
<key>
<string>
enctype
</string>
</key>
<value>
<string>
multipart/form-data
</string>
</value>
</item>
<item>
<key>
<string>
group_list
</string>
</key>
<value>
<list>
<string>
left
</string>
<string>
right
</string>
<string>
center
</string>
<string>
bottom
</string>
<string>
hidden
</string>
</list>
</value>
</item>
<item>
<key>
<string>
groups
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
bottom
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
center
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
left
</string>
</key>
<value>
<list>
<string>
your_file
</string>
<string>
your_changelog
</string>
</list>
</value>
</item>
<item>
<key>
<string>
right
</string>
</key>
<value>
<list/>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
SoftwareProduct_updateApplicationDialog
</string>
</value>
</item>
<item>
<key>
<string>
method
</string>
</key>
<value>
<string>
POST
</string>
</value>
</item>
<item>
<key>
<string>
name
</string>
</key>
<value>
<string>
SoftwareProduct_updateApplication
</string>
</value>
</item>
<item>
<key>
<string>
pt
</string>
</key>
<value>
<string>
form_dialog
</string>
</value>
</item>
<item>
<key>
<string>
row_length
</string>
</key>
<value>
<int>
4
</int>
</value>
</item>
<item>
<key>
<string>
stored_encoding
</string>
</key>
<value>
<string>
UTF-8
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Update Application
</string>
</value>
</item>
<item>
<key>
<string>
unicode_mode
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
update_action
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
update_action_title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/
WebSection_viewOfficeJSApplicationPreference/my_configuration_latest_version
.xml
→
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/
SoftwareProduct_updateApplicationDialog/your_changelog
.xml
View file @
99e67338
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_configuration_latest_version
</string>
</value>
<value>
<string>
your_changelog
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
message_values
</string>
</key>
<key>
<string>
message_values
</string>
</key>
...
@@ -73,7 +73,7 @@
...
@@ -73,7 +73,7 @@
<dictionary>
<dictionary>
<item>
<item>
<key>
<string>
field_id
</string>
</key>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_
view_mode_reference
</string>
</value>
<value>
<string>
my_
description
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
form_id
</string>
</key>
<key>
<string>
form_id
</string>
</key>
...
@@ -85,7 +85,7 @@
...
@@ -85,7 +85,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string>
Latest Version
</string>
</value>
<value>
<string>
Changelog
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</value>
</value>
...
...
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/SoftwareProduct_updateApplicationDialog/your_file.xml
0 → 100644
View file @
99e67338
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ProxyField"
module=
"Products.ERP5Form.ProxyField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
delegated_list
</string>
</key>
<value>
<list>
<string>
required
</string>
<string>
title
</string>
</list>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
your_file
</string>
</value>
</item>
<item>
<key>
<string>
message_values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
external_validator_failed
</string>
</key>
<value>
<string>
The input failed the external validator.
</string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
overrides
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
tales
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
your_file_field
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
required
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Application Zip
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/SoftwarePublication_getRelatedSoftwareProduct.py
0 → 100644
View file @
99e67338
software_release
=
context
.
SoftwarePublication_getRelatedSoftwareRelease
()
return
software_release
.
getFollowUpValue
(
portal_type
=
"Software Product"
).
getRelativeUrl
()
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/SoftwarePublication_getRelatedSoftwareProduct.xml
0 → 100644
View file @
99e67338
<?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></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
SoftwarePublication_getRelatedSoftwareProduct
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/SoftwarePublication_getRelatedWebSite.py
0 → 100644
View file @
99e67338
software_release
=
context
.
SoftwarePublication_getRelatedSoftwareRelease
()
software_product
=
software_release
.
getFollowUpValue
(
portal_type
=
"Software Product"
)
return
software_product
.
SoftwareProduct_getRelatedWebSite
()
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/SoftwarePublication_getRelatedWebSite.xml
0 → 100644
View file @
99e67338
<?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></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
SoftwarePublication_getRelatedWebSite
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/SoftwarePublication_getTestUrlUi.py
0 → 100644
View file @
99e67338
url
=
context
.
SoftwarePublication_getTestUrl
()
if
url_dict
:
return
{
'command'
:
'raw'
,
'options'
:
{
'url'
:
url
}
}
return
url
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/SoftwarePublication_getTestUrlUi.xml
0 → 100644
View file @
99e67338
<?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>
url_dict=False, **kw
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
SoftwarePublication_getTestUrlUi
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/SoftwarePublication_selectVersion.py
0 → 100644
View file @
99e67338
REQUEST
=
context
.
REQUEST
RESPONSE
=
REQUEST
.
RESPONSE
software_release
=
context
.
SoftwarePublication_getRelatedSoftwareRelease
()
software_release
.
SoftwareRelease_publishRelatedWebDocument
()
message
=
context
.
getTitle
()
+
" Published"
if
hasattr
(
context
,
'Base_redirect'
):
return
context
.
Base_redirect
(
''
,
keep_items
=
{
'portal_status_message'
:
context
.
Base_translateString
(
message
),
},
)
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/SoftwarePublication_selectVersion.xml
0 → 100644
View file @
99e67338
<?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>
**kw
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
SoftwarePublication_selectVersion
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_base/WebSection_renderOfficeJSApplicationPage.py
View file @
99e67338
...
@@ -7,7 +7,19 @@ default_web_page = context
...
@@ -7,7 +7,19 @@ default_web_page = context
web_section
=
REQUEST
.
get
(
"current_web_section"
)
web_section
=
REQUEST
.
get
(
"current_web_section"
)
#raise ValueError(web_section.getLayoutProperty("configuration_latest_version", default="development"))
#raise ValueError(web_section.getLayoutProperty("configuration_latest_version", default="development"))
return
default_web_page
.
WebPage_viewAsWeb
(
mapping_dict
=
{
mapping_dict
=
{
"latest_version"
:
web_section
.
getLayoutProperty
(
"configuration_latest_version"
,
default
=
"development"
),
"latest_version"
:
web_section
.
getLayoutProperty
(
"configuration_latest_version"
,
default
=
"development"
),
#"application_appcache": web_section.getId() + ".appcache",
"latest_document_version"
:
web_section
.
getLayoutProperty
(
"configuration_latest_document_version"
,
default
=
context
.
getWebSiteValue
().
getId
()
+
"-dev"
),
})
"redirect_url"
:
web_section
.
getLayoutProperty
(
"configuration_redirect_url"
,
default
=
""
),
"cache_file"
:
web_section
.
getLayoutProperty
(
"configuration_cache_file"
,
default
=
""
),
"application_name"
:
web_section
.
getTitle
()
}
configuration_webapp_manifest_url
=
web_section
.
getLayoutProperty
(
"configuration_webapp_manifest_url"
,
default
=
None
)
if
configuration_webapp_manifest_url
is
None
:
mapping_dict
[
"webapp_manifest_full_link_tag"
]
=
''
else
:
mapping_dict
[
"webapp_manifest_full_link_tag"
]
=
'<link rel="manifest" href="'
+
configuration_webapp_manifest_url
+
'">'
return
default_web_page
.
WebPage_viewAsWeb
(
mapping_dict
=
mapping_dict
)
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_ui.xml
0 → 100644
View file @
99e67338
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Folder"
module=
"OFS.Folder"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_local_properties
</string>
</key>
<value>
<tuple>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
business_template_skin_layer_priority
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
float
</string>
</value>
</item>
</dictionary>
</tuple>
</value>
</item>
<item>
<key>
<string>
_objects
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
business_template_skin_layer_priority
</string>
</key>
<value>
<float>
90.0
</float>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
erp5_officejs_appstore_ui
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_
base/WebSection_viewOfficeJSApplicationPreference
.xml
→
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_
ui/SoftwareProductModule_viewSoftwareProductList
.xml
View file @
99e67338
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
action
</string>
</key>
<key>
<string>
action
</string>
</key>
<value>
<string>
Base_
edi
t
</string>
</value>
<value>
<string>
Base_
doSelec
t
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
description
</string>
</key>
<key>
<string>
description
</string>
</key>
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
enctype
</string>
</key>
<key>
<string>
enctype
</string>
</key>
<value>
<string>
multipart/form-data
</string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
group_list
</string>
</key>
<key>
<string>
group_list
</string>
</key>
...
@@ -61,6 +61,9 @@
...
@@ -61,6 +61,9 @@
<list>
<list>
<string>
left
</string>
<string>
left
</string>
<string>
right
</string>
<string>
right
</string>
<string>
center
</string>
<string>
bottom
</string>
<string>
hidden
</string>
</list>
</list>
</value>
</value>
</item>
</item>
...
@@ -69,17 +72,31 @@
...
@@ -69,17 +72,31 @@
<value>
<value>
<dictionary>
<dictionary>
<item>
<item>
<key>
<string>
left
</string>
</key>
<key>
<string>
bottom
</string>
</key>
<value>
<value>
<list>
<list>
<string>
my_configuration_latest_version
</string>
<string>
listbox
</string>
<string>
my_configuration_content_security_policy
</string>
<string>
my_configuration_resource_base_url
</string>
<string>
my_configuration_x_frame_options
</string>
<string>
my_configuration_base_reference
</string>
</list>
</list>
</value>
</value>
</item>
</item>
<item>
<key>
<string>
center
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
left
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<item>
<key>
<string>
right
</string>
</key>
<key>
<string>
right
</string>
</key>
<value>
<value>
...
@@ -91,7 +108,7 @@
...
@@ -91,7 +108,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
WebSection_viewOfficeJSApplicationPreference
</string>
</value>
<value>
<string>
SoftwareProductModule_viewSoftwareProductList
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
method
</string>
</key>
<key>
<string>
method
</string>
</key>
...
@@ -99,11 +116,11 @@
...
@@ -99,11 +116,11 @@
</item>
</item>
<item>
<item>
<key>
<string>
name
</string>
</key>
<key>
<string>
name
</string>
</key>
<value>
<string>
WebSection_viewHateoasPreference
</string>
</value>
<value>
<string>
SoftwareProductModule_viewSoftwareProductList
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
pt
</string>
</key>
<key>
<string>
pt
</string>
</key>
<value>
<string>
form_
view
</string>
</value>
<value>
<string>
form_
list
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
row_length
</string>
</key>
<key>
<string>
row_length
</string>
</key>
...
@@ -115,7 +132,7 @@
...
@@ -115,7 +132,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string>
Web Section Preference
</string>
</value>
<value>
<string>
Appliation List
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
unicode_mode
</string>
</key>
<key>
<string>
unicode_mode
</string>
</key>
...
...
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_
base/WebSection_viewOfficeJSApplicationPreference/my_configuration_x_frame_options
.xml
→
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_
ui/SoftwareProductModule_viewSoftwareProductList/listbox
.xml
View file @
99e67338
...
@@ -10,15 +10,18 @@
...
@@ -10,15 +10,18 @@
<key>
<string>
delegated_list
</string>
</key>
<key>
<string>
delegated_list
</string>
</key>
<value>
<value>
<list>
<list>
<string>
default
</string>
<string>
columns
</string>
<string>
description
</string>
<string>
css_class
</string>
<string>
portal_types
</string>
<string>
search_columns
</string>
<string>
selection_name
</string>
<string>
title
</string>
<string>
title
</string>
</list>
</list>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_configuration_x_frame_options
</string>
</value>
<value>
<string>
listbox
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
message_values
</string>
</key>
<key>
<string>
message_values
</string>
</key>
...
@@ -54,16 +57,6 @@
...
@@ -54,16 +57,6 @@
<key>
<string>
tales
</string>
</key>
<key>
<string>
tales
</string>
</key>
<value>
<value>
<dictionary>
<dictionary>
<item>
<key>
<string>
default
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<item>
<key>
<string>
field_id
</string>
</key>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
...
@@ -76,10 +69,6 @@
...
@@ -76,10 +69,6 @@
<key>
<string>
target
</string>
</key>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</dictionary>
</value>
</value>
</item>
</item>
...
@@ -88,20 +77,72 @@
...
@@ -88,20 +77,72 @@
<value>
<value>
<dictionary>
<dictionary>
<item>
<item>
<key>
<string>
default
</string>
</key>
<key>
<string>
columns
</string>
</key>
<value>
<string></string>
</value>
<value>
<list>
<tuple>
<string>
title
</string>
<string>
Title
</string>
</tuple>
<tuple>
<string>
creation_date
</string>
<string>
Date
</string>
</tuple>
</list>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
description
</string>
</key>
<key>
<string>
css_class
</string>
</key>
<value>
<string>
Set Value to "ALLOW-FROM-ALL" to disable this header
</string>
</value>
<value>
<string>
hidden_label
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
field_id
</string>
</key>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_
string_field
</string>
</value>
<value>
<string>
my_
list_mode_listbox
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
form_id
</string>
</key>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
<value>
<string>
Base_viewSoftwarePDMFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<list>
<tuple>
<string>
Data Set
</string>
<string>
Data Set
</string>
</tuple>
</list>
</value>
</item>
<item>
<key>
<string>
portal_types
</string>
</key>
<value>
<list>
<tuple>
<string>
Software Product
</string>
<string>
Software Product
</string>
</tuple>
</list>
</value>
</item>
<item>
<key>
<string>
search_columns
</string>
</key>
<value>
<list>
<tuple>
<string>
title
</string>
<string>
Title
</string>
</tuple>
<tuple>
<string>
creation_date
</string>
<string>
Date
</string>
</tuple>
</list>
</value>
</item>
<item>
<key>
<string>
selection_name
</string>
</key>
<value>
<string>
software_product_selection
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
target
</string>
</key>
<key>
<string>
target
</string>
</key>
...
@@ -109,7 +150,7 @@
...
@@ -109,7 +150,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string>
X-Frame-Op
tions
</string>
</value>
<value>
<string>
Applica
tions
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
</value>
</value>
...
@@ -117,17 +158,4 @@
...
@@ -117,17 +158,4 @@
</dictionary>
</dictionary>
</pickle>
</pickle>
</record>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"TALESMethod"
module=
"Products.Formulator.TALESField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python: here.getLayoutProperty("configuration_x_frame_options", default="SAMEORIGIN")
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
</ZopeData>
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_ui/SoftwareProduct_getRelatedSoftwarePublicationList.py
0 → 100644
View file @
99e67338
portal
=
context
.
getPortalObject
()
result
=
[]
software_publication_list
=
portal
.
portal_catalog
(
**
kw
)
for
software_publication
in
software_publication_list
:
software_publication_line
=
software_publication
.
objectValues
(
portal_type
=
"Software Publication Line"
)[
0
]
if
context
.
getRelativeUrl
()
==
software_publication_line
.
getResource
():
result
.
append
(
software_publication
)
return
result
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_ui/SoftwareProduct_getRelatedSoftwarePublicationList.xml
0 → 100644
View file @
99e67338
<?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>
**kw
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
SoftwareProduct_getRelatedSoftwarePublicationList
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_ui/SoftwareProduct_view.xml
0 → 100644
View file @
99e67338
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ERP5 Form"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<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/>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_objects
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
Base_edit
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
edit_order
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
encoding
</string>
</key>
<value>
<string>
UTF-8
</string>
</value>
</item>
<item>
<key>
<string>
enctype
</string>
</key>
<value>
<string>
multipart/form-data
</string>
</value>
</item>
<item>
<key>
<string>
group_list
</string>
</key>
<value>
<list>
<string>
left (Product Reference)
</string>
<string>
right (Product Classification)
</string>
<string>
center (Product Description)
</string>
<string>
bottom (Preview)
</string>
<string>
hidden
</string>
</list>
</value>
</item>
<item>
<key>
<string>
groups
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
bottom (Preview)
</string>
</key>
<value>
<list>
<string>
listBox
</string>
</list>
</value>
</item>
<item>
<key>
<string>
center (Product Description)
</string>
</key>
<value>
<list>
<string>
my_description
</string>
</list>
</value>
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
left (Product Reference)
</string>
</key>
<value>
<list>
<string>
my_title
</string>
</list>
</value>
</item>
<item>
<key>
<string>
right (Product Classification)
</string>
</key>
<value>
<list/>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
SoftwareProduct_view
</string>
</value>
</item>
<item>
<key>
<string>
method
</string>
</key>
<value>
<string>
POST
</string>
</value>
</item>
<item>
<key>
<string>
name
</string>
</key>
<value>
<string>
SoftwareProduct_view
</string>
</value>
</item>
<item>
<key>
<string>
pt
</string>
</key>
<value>
<string>
form_view
</string>
</value>
</item>
<item>
<key>
<string>
row_length
</string>
</key>
<value>
<int>
4
</int>
</value>
</item>
<item>
<key>
<string>
stored_encoding
</string>
</key>
<value>
<string>
UTF-8
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Software Product
</string>
</value>
</item>
<item>
<key>
<string>
unicode_mode
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
update_action
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
update_action_title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_ui/SoftwareProduct_view/listBox.xml
0 → 100644
View file @
99e67338
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ProxyField"
module=
"Products.ERP5Form.ProxyField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
delegated_list
</string>
</key>
<value>
<list>
<string>
columns
</string>
<string>
list_method
</string>
<string>
portal_types
</string>
<string>
search
</string>
<string>
style_columns
</string>
<string>
title
</string>
<string>
url_columns
</string>
</list>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
listBox
</string>
</value>
</item>
<item>
<key>
<string>
message_values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
external_validator_failed
</string>
</key>
<value>
<string>
The input failed the external validator.
</string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
overrides
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
tales
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
columns
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
list_method
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
portal_types
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
search
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
url_columns
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
columns
</string>
</key>
<value>
<list>
<tuple>
<string>
title
</string>
<string>
Title
</string>
</tuple>
<tuple>
<string>
SoftwarePublication_getPublishState
</string>
<string>
Action
</string>
</tuple>
<tuple>
<string>
SoftwarePublication_getTestUrl
</string>
<string>
Test Url
</string>
</tuple>
<tuple>
<string>
translated_simulation_state_title
</string>
<string>
State
</string>
</tuple>
<tuple>
<string>
creation_date
</string>
<string>
Creation Date
</string>
</tuple>
</list>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_view_mode_listbox
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
list_method
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
portal_types
</string>
</key>
<value>
<list>
<tuple>
<string>
Software Publication
</string>
<string>
Software Publication
</string>
</tuple>
</list>
</value>
</item>
<item>
<key>
<string>
search
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
style_columns
</string>
</key>
<value>
<list>
<tuple>
<string>
SoftwarePublication_getPublishState
</string>
<string>
button
</string>
</tuple>
</list>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Release List
</string>
</value>
</item>
<item>
<key>
<string>
url_columns
</string>
</key>
<value>
<list>
<tuple>
<string>
creation_date
</string>
<string></string>
</tuple>
<tuple>
<string>
translated_simulation_state_title
</string>
<string></string>
</tuple>
<tuple>
<string>
SoftwarePublication_getTestUrl
</string>
<string>
SoftwarePublication_getTestUrlUi
</string>
</tuple>
<tuple>
<string>
SoftwarePublication_getPublishState
</string>
<string></string>
</tuple>
</list>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Method"
module=
"Products.Formulator.MethodField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
method_name
</string>
</key>
<value>
<string>
SoftwareProduct_getRelatedSoftwarePublicationList
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_
base/WebSection_viewOfficeJSApplicationPreference/my_configuration_base_reference
.xml
→
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_
ui/SoftwareProduct_view/my_description
.xml
View file @
99e67338
...
@@ -9,16 +9,12 @@
...
@@ -9,16 +9,12 @@
<item>
<item>
<key>
<string>
delegated_list
</string>
</key>
<key>
<string>
delegated_list
</string>
</key>
<value>
<value>
<list>
<list/>
<string>
default
</string>
<string>
description
</string>
<string>
title
</string>
</list>
</value>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_
configuration_base_reference
</string>
</value>
<value>
<string>
my_
description
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
message_values
</string>
</key>
<key>
<string>
message_values
</string>
</key>
...
@@ -54,12 +50,6 @@
...
@@ -54,12 +50,6 @@
<key>
<string>
tales
</string>
</key>
<key>
<string>
tales
</string>
</key>
<value>
<value>
<dictionary>
<dictionary>
<item>
<key>
<string>
default
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<item>
<key>
<string>
field_id
</string>
</key>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
...
@@ -72,10 +62,6 @@
...
@@ -72,10 +62,6 @@
<key>
<string>
target
</string>
</key>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
<value>
<string></string>
</value>
</item>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</dictionary>
</value>
</value>
</item>
</item>
...
@@ -83,47 +69,22 @@
...
@@ -83,47 +69,22 @@
<key>
<string>
values
</string>
</key>
<key>
<string>
values
</string>
</key>
<value>
<value>
<dictionary>
<dictionary>
<item>
<key>
<string>
default
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Will be added at the beginning of the reference on getDocumentValue
</string>
</value>
</item>
<item>
<item>
<key>
<string>
field_id
</string>
</key>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_
view_mode_reference
</string>
</value>
<value>
<string>
my_
description
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
form_id
</string>
</key>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
<value>
<string>
Base_view
SoftwarePDM
FieldLibrary
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
target
</string>
</key>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Base Reference
</string>
</value>
</item>
</dictionary>
</dictionary>
</value>
</value>
</item>
</item>
</dictionary>
</dictionary>
</pickle>
</pickle>
</record>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"TALESMethod"
module=
"Products.Formulator.TALESField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python: here.getLayoutProperty(field.getId().replace(\'my_\', \'\', 1), \'\')
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
</ZopeData>
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_ui/SoftwareProduct_view/my_title.xml
0 → 100644
View file @
99e67338
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ProxyField"
module=
"Products.ERP5Form.ProxyField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
delegated_list
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_title
</string>
</value>
</item>
<item>
<key>
<string>
message_values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
external_validator_failed
</string>
</key>
<value>
<string>
The input failed the external validator.
</string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
overrides
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
tales
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_title
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewSoftwarePDMFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_ui/SoftwarePublication_getPublishState.py
0 → 100644
View file @
99e67338
return
{
'field_gadget_param'
:
{
'key'
:
'ojs_publish_action'
,
'default'
:
''
,
'renderjs_extra'
:
'{"jio_key": "%s", "select": "%s", "state": "%s"}'
%
(
context
.
getRelativeUrl
(),
context
.
SoftwarePublication_isPublished
(),
context
.
getSimulationStateTitle
()),
'url'
:
'gadget_ojs_appstore_publish_button.html'
,
'type'
:
'GadgetField'
,
'editable'
:
0
}
}
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_ui/SoftwarePublication_getPublishState.xml
0 → 100644
View file @
99e67338
<?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></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
SoftwarePublication_getPublishState
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_ui/SoftwarePublication_isPublished.py
0 → 100644
View file @
99e67338
software_release
=
context
.
SoftwarePublication_getRelatedSoftwareRelease
()
software_product
=
software_release
.
getFollowUpValue
(
portal_type
=
"Software Product"
)
web_site
=
software_product
.
SoftwareProduct_getRelatedWebSite
()
select
=
""
if
web_site
is
not
None
and
software_release
.
getReference
()
==
web_site
.
getLayoutProperty
(
'configuration_latest_version'
):
select
=
"1"
return
select
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_ui/SoftwarePublication_isPublished.xml
0 → 100644
View file @
99e67338
<?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></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
SoftwarePublication_isPublished
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_ui/SoftwarePublication_view.xml
0 → 100644
View file @
99e67338
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ERP5 Form"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<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/>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_objects
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
Base_edit
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
edit_order
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
encoding
</string>
</key>
<value>
<string>
UTF-8
</string>
</value>
</item>
<item>
<key>
<string>
enctype
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
group_list
</string>
</key>
<value>
<list>
<string>
left
</string>
<string>
right
</string>
<string>
center
</string>
<string>
bottom
</string>
<string>
hidden
</string>
</list>
</value>
</item>
<item>
<key>
<string>
groups
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
bottom
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
center
</string>
</key>
<value>
<list>
<string>
your_test_url
</string>
<string>
my_description
</string>
</list>
</value>
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<list>
<string>
your_software_product
</string>
</list>
</value>
</item>
<item>
<key>
<string>
left
</string>
</key>
<value>
<list>
<string>
my_title
</string>
<string>
my_translated_simulation_state_title
</string>
<string>
publication_action
</string>
</list>
</value>
</item>
<item>
<key>
<string>
right
</string>
</key>
<value>
<list/>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
SoftwarePublication_view
</string>
</value>
</item>
<item>
<key>
<string>
method
</string>
</key>
<value>
<string>
POST
</string>
</value>
</item>
<item>
<key>
<string>
name
</string>
</key>
<value>
<string>
SoftwarePublication_view
</string>
</value>
</item>
<item>
<key>
<string>
pt
</string>
</key>
<value>
<string>
form_view
</string>
</value>
</item>
<item>
<key>
<string>
row_length
</string>
</key>
<value>
<int>
4
</int>
</value>
</item>
<item>
<key>
<string>
stored_encoding
</string>
</key>
<value>
<string>
UTF-8
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Software Publication
</string>
</value>
</item>
<item>
<key>
<string>
unicode_mode
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
update_action
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
update_action_title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_ui/SoftwarePublication_view/my_description.xml
0 → 100644
View file @
99e67338
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ProxyField"
module=
"Products.ERP5Form.ProxyField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
delegated_list
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_description
</string>
</value>
</item>
<item>
<key>
<string>
message_values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
external_validator_failed
</string>
</key>
<value>
<string>
The input failed the external validator.
</string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
overrides
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
tales
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_description
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewCRMFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_ui/SoftwarePublication_view/my_title.xml
0 → 100644
View file @
99e67338
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ProxyField"
module=
"Products.ERP5Form.ProxyField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
delegated_list
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_title
</string>
</value>
</item>
<item>
<key>
<string>
message_values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
external_validator_failed
</string>
</key>
<value>
<string>
The input failed the external validator.
</string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
overrides
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
tales
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_ticket_title
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewCRMFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_ui/SoftwarePublication_view/my_translated_simulation_state_title.xml
0 → 100644
View file @
99e67338
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ProxyField"
module=
"Products.ERP5Form.ProxyField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
delegated_list
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_translated_simulation_state_title
</string>
</value>
</item>
<item>
<key>
<string>
message_values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
external_validator_failed
</string>
</key>
<value>
<string>
The input failed the external validator.
</string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
overrides
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
tales
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_translated_simulation_state_title
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewCRMFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_ui/SoftwarePublication_view/publication_action.xml
0 → 100644
View file @
99e67338
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"GadgetField"
module=
"Products.ERP5Form.GadgetField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
publication_action
</string>
</value>
</item>
<item>
<key>
<string>
message_values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
external_validator_failed
</string>
</key>
<value>
<string>
The input failed the external validator.
</string>
</value>
</item>
<item>
<key>
<string>
no_validator
</string>
</key>
<value>
<string>
Does not support this operation.
</string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
overrides
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
alternate_name
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
css_class
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
data_url
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
default
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
editable
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
external_validator
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
extra
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
gadget_url
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
js_sandbox
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
renderjs_extra
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
validator_field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
validator_form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
tales
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
alternate_name
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
css_class
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
data_url
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
default
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
editable
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
external_validator
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
extra
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
gadget_url
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
js_sandbox
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
renderjs_extra
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
validator_field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
validator_form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
alternate_name
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
css_class
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
data_url
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
default
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
editable
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
external_validator
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
extra
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
gadget_url
</string>
</key>
<value>
<string>
gadget_ojs_appstore_publish_button.html
</string>
</value>
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
js_sandbox
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
renderjs_extra
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Publish Action
</string>
</value>
</item>
<item>
<key>
<string>
validator_field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
validator_form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"TALESMethod"
module=
"Products.Formulator.TALESField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python: {"jio_key": context.getRelativeUrl(), "select": context.SoftwarePublication_isPublished(), "state": context.getSimulationStateTitle()}
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_ui/SoftwarePublication_view/your_software_product.xml
0 → 100644
View file @
99e67338
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"StringField"
module=
"Products.Formulator.StandardFields"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
your_software_product
</string>
</value>
</item>
<item>
<key>
<string>
message_values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
external_validator_failed
</string>
</key>
<value>
<string>
The input failed the external validator.
</string>
</value>
</item>
<item>
<key>
<string>
required_not_found
</string>
</key>
<value>
<string>
Input is required but no input given.
</string>
</value>
</item>
<item>
<key>
<string>
too_long
</string>
</key>
<value>
<string>
Too much input was given.
</string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
overrides
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
alternate_name
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
css_class
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
default
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
display_width
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
editable
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
external_validator
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
extra
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
input_type
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
max_length
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
required
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
truncate
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
unicode
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
whitespace_preserve
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
tales
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
alternate_name
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
css_class
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
default
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
display_width
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
editable
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
external_validator
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
extra
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
input_type
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
max_length
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
required
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
truncate
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
unicode
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
whitespace_preserve
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
alternate_name
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
css_class
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
default
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
display_maxwidth
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
display_width
</string>
</key>
<value>
<int>
20
</int>
</value>
</item>
<item>
<key>
<string>
editable
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
external_validator
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
extra
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
input_type
</string>
</key>
<value>
<string>
text
</string>
</value>
</item>
<item>
<key>
<string>
max_length
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
required
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Software Product
</string>
</value>
</item>
<item>
<key>
<string>
truncate
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
unicode
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
whitespace_preserve
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"TALESMethod"
module=
"Products.Formulator.TALESField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python: context.SoftwarePublication_getRelatedSoftwareProduct().getRelativeUrl()
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_appstore_base/SkinTemplateItem/portal_skins/erp5_officejs_appstore_ui/SoftwarePublication_view/your_test_url.xml
0 → 100644
View file @
99e67338
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"EditorField"
module=
"Products.ERP5Form.EditorField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
your_test_url
</string>
</value>
</item>
<item>
<key>
<string>
message_values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
external_validator_failed
</string>
</key>
<value>
<string>
The input failed the external validator.
</string>
</value>
</item>
<item>
<key>
<string>
line_too_long
</string>
</key>
<value>
<string>
A line was too long.
</string>
</value>
</item>
<item>
<key>
<string>
required_not_found
</string>
</key>
<value>
<string>
Input is required but no input given.
</string>
</value>
</item>
<item>
<key>
<string>
too_long
</string>
</key>
<value>
<string>
You entered too many characters.
</string>
</value>
</item>
<item>
<key>
<string>
too_many_lines
</string>
</key>
<value>
<string>
You entered too many lines.
</string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
overrides
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
alternate_name
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
css_class
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
default
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
editable
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
external_validator
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
extra
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
height
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
max_length
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
max_linelength
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
max_lines
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
required
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
text_editor
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
unicode
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
whitespace_preserve
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
width
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
tales
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
alternate_name
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
css_class
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
default
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
editable
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
external_validator
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
extra
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
height
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
max_length
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
max_linelength
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
max_lines
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
required
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
text_editor
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
unicode
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
whitespace_preserve
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
width
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
alternate_name
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
css_class
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
default
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
editable
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
enabled
</string>
</key>
<value>
<int>
1
</int>
</value>
</item>
<item>
<key>
<string>
external_validator
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
extra
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
height
</string>
</key>
<value>
<int>
5
</int>
</value>
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
max_length
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
max_linelength
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
max_lines
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
required
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
text_editor
</string>
</key>
<value>
<string>
text_area
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Test Url
</string>
</value>
</item>
<item>
<key>
<string>
unicode
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
whitespace_preserve
</string>
</key>
<value>
<int>
0
</int>
</value>
</item>
<item>
<key>
<string>
width
</string>
</key>
<value>
<int>
40
</int>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"TALESMethod"
module=
"Products.Formulator.TALESField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
python: "<a href=%s>
%s
</a>
" % (here.SoftwarePublication_getTestUrl(), here.SoftwarePublication_getTestUrl())
]]>
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_appstore_base/bt/dependency_list
View file @
99e67338
erp5_
web_renderjs_ui
erp5_
officejs
erp5_software_pdm
erp5_software_pdm
\ No newline at end of file
bt5/erp5_officejs_appstore_base/bt/template_action_path_list
View file @
99e67338
Software Product Module | create_new_application_dialog
Software Product | application_version_list_view
Software Product | application_version_list_view
Software Product | document_view
Software Product | document_view
Software Product | update_application
Software Publication Module | create_sofware_publication_dialog
Software Publication Module | create_sofware_publication_dialog
Software Release | document_view
Software Release | document_view
\ No newline at end of file
bt5/erp5_officejs_appstore_base/bt/template_keep_last_workflow_history_only_path_list
View file @
99e67338
web_page_module/gadget_ojs_*
web_page_module/gadget_ojs_
appstore_
*
web_site_module/officejs_
appstore
web_site_module/officejs_
runner
web_site_module/officejs_
appstore
/**
web_site_module/officejs_
runner
/**
web_site_module/application-list
web_site_module/application-list
web_site_module/application-list/template
web_site_module/application-list/template
web_site_module/application-list/template/**
web_site_module/application-list/template/**
...
...
bt5/erp5_officejs_appstore_base/bt/template_keep_workflow_path_list
View file @
99e67338
web_page_module/gadget_ojs_*
web_page_module/gadget_ojs_
appstore_
*
web_site_module/officejs_
appstore
web_site_module/officejs_
runner
web_site_module/officejs_
appstore
/**
web_site_module/officejs_
runner
/**
web_site_module/application-list
web_site_module/application-list
web_site_module/application-list/template
web_site_module/application-list/template
web_site_module/application-list/template/**
web_site_module/application-list/template/**
...
...
bt5/erp5_officejs_appstore_base/bt/template_path_list
View file @
99e67338
...
@@ -3,11 +3,11 @@ portal_categories/product_line/software
...
@@ -3,11 +3,11 @@ portal_categories/product_line/software
portal_categories/product_line/software/**
portal_categories/product_line/software/**
portal_categories/publication_section/application
portal_categories/publication_section/application
portal_categories/publication_section/application/**
portal_categories/publication_section/application/**
web_page_module/gadget_ojs_*
web_page_module/gadget_ojs_
appstore_
*
web_site_module/application-list
web_site_module/application-list
web_site_module/application-list/template
web_site_module/application-list/template
web_site_module/application-list/template/**
web_site_module/application-list/template/**
web_site_module/application-list/template_static
web_site_module/application-list/template_static
web_site_module/application-list/template_static/**
web_site_module/application-list/template_static/**
web_site_module/officejs_appstore
web_site_module/officejs_runner
web_site_module/officejs_appstore/**
web_site_module/officejs_runner/**
\ No newline at end of file
\ No newline at end of file
bt5/erp5_officejs_appstore_base/bt/template_registered_skin_selection_list
0 → 100644
View file @
99e67338
erp5_officejs_appstore_ui | Hal
erp5_officejs_appstore_ui | HalRestricted
erp5_officejs_appstore_ui | RJS
\ No newline at end of file
bt5/erp5_officejs_appstore_base/bt/template_skin_id_list
View file @
99e67338
erp5_officejs_appstore_base
erp5_officejs_appstore_base
\ No newline at end of file
erp5_officejs_appstore_ui
\ No newline at end of file
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