Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Nicolas Wavrant
erp5
Commits
0fe7592b
Commit
0fe7592b
authored
Sep 16, 2016
by
Nicolas Wavrant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
First commit of erp5_officejs_bookmark_manager_dev
parent
fb52f4a5
Changes
49
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
49 changed files
with
3609 additions
and
0 deletions
+3609
-0
bt5/erp5_officejs_bookmark_manager_dev/ActionTemplateItem/portal_types/Bookmark%20Module/view.xml
...ctionTemplateItem/portal_types/Bookmark%20Module/view.xml
+83
-0
bt5/erp5_officejs_bookmark_manager_dev/ActionTemplateItem/portal_types/Bookmark/jio_view.xml
...dev/ActionTemplateItem/portal_types/Bookmark/jio_view.xml
+85
-0
bt5/erp5_officejs_bookmark_manager_dev/ActionTemplateItem/portal_types/Bookmark/view.xml
...ger_dev/ActionTemplateItem/portal_types/Bookmark/view.xml
+83
-0
bt5/erp5_officejs_bookmark_manager_dev/ModuleTemplateItem/bookmark_module.xml
...okmark_manager_dev/ModuleTemplateItem/bookmark_module.xml
+96
-0
bt5/erp5_officejs_bookmark_manager_dev/PathTemplateItem/web_page_module/gadget_officejs_bookmark_manager_router_html.html
..._module/gadget_officejs_bookmark_manager_router_html.html
+22
-0
bt5/erp5_officejs_bookmark_manager_dev/PathTemplateItem/web_page_module/gadget_officejs_bookmark_manager_router_html.xml
...e_module/gadget_officejs_bookmark_manager_router_html.xml
+150
-0
bt5/erp5_officejs_bookmark_manager_dev/PathTemplateItem/web_page_module/gadget_officejs_bookmark_manager_router_js.js
...page_module/gadget_officejs_bookmark_manager_router_js.js
+167
-0
bt5/erp5_officejs_bookmark_manager_dev/PathTemplateItem/web_page_module/gadget_officejs_bookmark_manager_router_js.xml
...age_module/gadget_officejs_bookmark_manager_router_js.xml
+111
-0
bt5/erp5_officejs_bookmark_manager_dev/PathTemplateItem/web_page_module/gadget_officejs_jio_bookmark_view_html.html
...b_page_module/gadget_officejs_jio_bookmark_view_html.html
+46
-0
bt5/erp5_officejs_bookmark_manager_dev/PathTemplateItem/web_page_module/gadget_officejs_jio_bookmark_view_html.xml
...eb_page_module/gadget_officejs_jio_bookmark_view_html.xml
+119
-0
bt5/erp5_officejs_bookmark_manager_dev/PathTemplateItem/web_page_module/gadget_officejs_jio_bookmark_view_js.js
...m/web_page_module/gadget_officejs_jio_bookmark_view_js.js
+142
-0
bt5/erp5_officejs_bookmark_manager_dev/PathTemplateItem/web_page_module/gadget_officejs_jio_bookmark_view_js.xml
.../web_page_module/gadget_officejs_jio_bookmark_view_js.xml
+115
-0
bt5/erp5_officejs_bookmark_manager_dev/PathTemplateItem/web_page_module/gadget_officejs_page_add_bookmark_html.html
...b_page_module/gadget_officejs_page_add_bookmark_html.html
+19
-0
bt5/erp5_officejs_bookmark_manager_dev/PathTemplateItem/web_page_module/gadget_officejs_page_add_bookmark_html.xml
...eb_page_module/gadget_officejs_page_add_bookmark_html.xml
+154
-0
bt5/erp5_officejs_bookmark_manager_dev/PathTemplateItem/web_page_module/gadget_officejs_page_add_bookmark_js.js
...m/web_page_module/gadget_officejs_page_add_bookmark_js.js
+70
-0
bt5/erp5_officejs_bookmark_manager_dev/PathTemplateItem/web_page_module/gadget_officejs_page_add_bookmark_js.xml
.../web_page_module/gadget_officejs_page_add_bookmark_js.xml
+150
-0
bt5/erp5_officejs_bookmark_manager_dev/PathTemplateItem/web_page_module/gadget_officejs_page_bookmark_list_html.html
..._page_module/gadget_officejs_page_bookmark_list_html.html
+19
-0
bt5/erp5_officejs_bookmark_manager_dev/PathTemplateItem/web_page_module/gadget_officejs_page_bookmark_list_html.xml
...b_page_module/gadget_officejs_page_bookmark_list_html.xml
+154
-0
bt5/erp5_officejs_bookmark_manager_dev/PathTemplateItem/web_page_module/gadget_officejs_page_bookmark_list_js.js
.../web_page_module/gadget_officejs_page_bookmark_list_js.js
+107
-0
bt5/erp5_officejs_bookmark_manager_dev/PathTemplateItem/web_page_module/gadget_officejs_page_bookmark_list_js.xml
...web_page_module/gadget_officejs_page_bookmark_list_js.xml
+150
-0
bt5/erp5_officejs_bookmark_manager_dev/PathTemplateItem/web_site_module/officejs_bookmark_manager.xml
...emplateItem/web_site_module/officejs_bookmark_manager.xml
+505
-0
bt5/erp5_officejs_bookmark_manager_dev/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
...eAllowedContentTypeTemplateItem/allowed_content_types.xml
+5
-0
bt5/erp5_officejs_bookmark_manager_dev/PortalTypeBaseCategoryTemplateItem/base_category_list.xml
...PortalTypeBaseCategoryTemplateItem/base_category_list.xml
+8
-0
bt5/erp5_officejs_bookmark_manager_dev/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
...rtalTypePropertySheetTemplateItem/property_sheet_list.xml
+5
-0
bt5/erp5_officejs_bookmark_manager_dev/PortalTypeTemplateItem/portal_types/Bookmark%20Module.xml
...PortalTypeTemplateItem/portal_types/Bookmark%20Module.xml
+108
-0
bt5/erp5_officejs_bookmark_manager_dev/PortalTypeTemplateItem/portal_types/Bookmark.xml
...ager_dev/PortalTypeTemplateItem/portal_types/Bookmark.xml
+64
-0
bt5/erp5_officejs_bookmark_manager_dev/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
...rtalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
+6
-0
bt5/erp5_officejs_bookmark_manager_dev/SkinTemplateItem/portal_skins/erp5_officejs_bookmark_manager_dev.xml
...eItem/portal_skins/erp5_officejs_bookmark_manager_dev.xml
+26
-0
bt5/erp5_officejs_bookmark_manager_dev/SkinTemplateItem/portal_skins/erp5_officejs_bookmark_manager_dev/BookmarkModule_viewBookmarkList.xml
..._bookmark_manager_dev/BookmarkModule_viewBookmarkList.xml
+131
-0
bt5/erp5_officejs_bookmark_manager_dev/SkinTemplateItem/portal_skins/erp5_officejs_bookmark_manager_dev/BookmarkModule_viewBookmarkList/listbox.xml
...k_manager_dev/BookmarkModule_viewBookmarkList/listbox.xml
+120
-0
bt5/erp5_officejs_bookmark_manager_dev/SkinTemplateItem/portal_skins/erp5_officejs_bookmark_manager_dev/Bookmark_view.xml
...kins/erp5_officejs_bookmark_manager_dev/Bookmark_view.xml
+133
-0
bt5/erp5_officejs_bookmark_manager_dev/SkinTemplateItem/portal_skins/erp5_officejs_bookmark_manager_dev/Bookmark_view/my_description.xml
...ejs_bookmark_manager_dev/Bookmark_view/my_description.xml
+72
-0
bt5/erp5_officejs_bookmark_manager_dev/SkinTemplateItem/portal_skins/erp5_officejs_bookmark_manager_dev/Bookmark_view/my_title.xml
..._officejs_bookmark_manager_dev/Bookmark_view/my_title.xml
+272
-0
bt5/erp5_officejs_bookmark_manager_dev/SkinTemplateItem/portal_skins/erp5_officejs_bookmark_manager_dev/Bookmark_view/my_url_string.xml
...cejs_bookmark_manager_dev/Bookmark_view/my_url_string.xml
+84
-0
bt5/erp5_officejs_bookmark_manager_dev/bt/dependency_list
bt5/erp5_officejs_bookmark_manager_dev/bt/dependency_list
+1
-0
bt5/erp5_officejs_bookmark_manager_dev/bt/description
bt5/erp5_officejs_bookmark_manager_dev/bt/description
+1
-0
bt5/erp5_officejs_bookmark_manager_dev/bt/maintainer_list
bt5/erp5_officejs_bookmark_manager_dev/bt/maintainer_list
+1
-0
bt5/erp5_officejs_bookmark_manager_dev/bt/template_action_path_list
...fficejs_bookmark_manager_dev/bt/template_action_path_list
+3
-0
bt5/erp5_officejs_bookmark_manager_dev/bt/template_format_version
..._officejs_bookmark_manager_dev/bt/template_format_version
+1
-0
bt5/erp5_officejs_bookmark_manager_dev/bt/template_module_id_list
..._officejs_bookmark_manager_dev/bt/template_module_id_list
+1
-0
bt5/erp5_officejs_bookmark_manager_dev/bt/template_path_list
bt5/erp5_officejs_bookmark_manager_dev/bt/template_path_list
+9
-0
bt5/erp5_officejs_bookmark_manager_dev/bt/template_portal_type_allowed_content_type_list
...ger_dev/bt/template_portal_type_allowed_content_type_list
+1
-0
bt5/erp5_officejs_bookmark_manager_dev/bt/template_portal_type_base_category_list
...rk_manager_dev/bt/template_portal_type_base_category_list
+2
-0
bt5/erp5_officejs_bookmark_manager_dev/bt/template_portal_type_id_list
...cejs_bookmark_manager_dev/bt/template_portal_type_id_list
+2
-0
bt5/erp5_officejs_bookmark_manager_dev/bt/template_portal_type_property_sheet_list
...k_manager_dev/bt/template_portal_type_property_sheet_list
+1
-0
bt5/erp5_officejs_bookmark_manager_dev/bt/template_portal_type_workflow_chain_list
...k_manager_dev/bt/template_portal_type_workflow_chain_list
+2
-0
bt5/erp5_officejs_bookmark_manager_dev/bt/template_skin_id_list
...p5_officejs_bookmark_manager_dev/bt/template_skin_id_list
+1
-0
bt5/erp5_officejs_bookmark_manager_dev/bt/title
bt5/erp5_officejs_bookmark_manager_dev/bt/title
+1
-0
bt5/erp5_officejs_bookmark_manager_dev/bt/version
bt5/erp5_officejs_bookmark_manager_dev/bt/version
+1
-0
No files found.
bt5/erp5_officejs_bookmark_manager_dev/ActionTemplateItem/portal_types/Bookmark%20Module/view.xml
0 → 100644
View file @
0fe7592b
<?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_list
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_list
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
view
</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>
View
</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}/BookmarkModule_viewBookmarkList
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_bookmark_manager_dev/ActionTemplateItem/portal_types/Bookmark/jio_view.xml
0 → 100644
View file @
0fe7592b
<?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_view
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_view
</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>
jio_view
</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>
View
</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}/Bookmark_view
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_bookmark_manager_dev/ActionTemplateItem/portal_types/Bookmark/view.xml
0 → 100644
View file @
0fe7592b
<?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_view
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
category
</string>
</key>
<value>
<string>
object_view
</string>
</value>
</item>
<item>
<key>
<string>
condition
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
icon
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
view
</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>
View
</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}/Bookmark_view
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_bookmark_manager_dev/ModuleTemplateItem/bookmark_module.xml
0 → 100644
View file @
0fe7592b
<module>
<id>
bookmark_module
</id>
<permission_list>
<permission
type=
'tuple'
>
<name>
Access Transient Objects
</name>
<role>
Assignee
</role>
<role>
Assignor
</role>
<role>
Associate
</role>
<role>
Auditor
</role>
<role>
Author
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
Access contents information
</name>
<role>
Assignee
</role>
<role>
Assignor
</role>
<role>
Associate
</role>
<role>
Auditor
</role>
<role>
Author
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
Access session data
</name>
<role>
Assignee
</role>
<role>
Assignor
</role>
<role>
Associate
</role>
<role>
Auditor
</role>
<role>
Author
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
Add portal content
</name>
<role>
Assignor
</role>
<role>
Author
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
Add portal folders
</name>
<role>
Assignor
</role>
<role>
Author
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
Change local roles
</name>
<role>
Assignor
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
Copy or Move
</name>
<role>
Assignee
</role>
<role>
Assignor
</role>
<role>
Associate
</role>
<role>
Auditor
</role>
<role>
Author
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
Delete objects
</name>
<role>
Assignor
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
List folder contents
</name>
<role>
Assignee
</role>
<role>
Assignor
</role>
<role>
Associate
</role>
<role>
Auditor
</role>
<role>
Author
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
Modify portal content
</name>
<role>
Assignor
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
View
</name>
<role>
Assignee
</role>
<role>
Assignor
</role>
<role>
Associate
</role>
<role>
Auditor
</role>
<role>
Manager
</role>
</permission>
<permission
type=
'tuple'
>
<name>
View History
</name>
<role>
Assignee
</role>
<role>
Assignor
</role>
<role>
Associate
</role>
<role>
Auditor
</role>
<role>
Author
</role>
<role>
Manager
</role>
</permission>
</permission_list>
<portal_type>
Bookmark Module
</portal_type>
<title>
Bookmarks
</title>
</module>
\ No newline at end of file
bt5/erp5_officejs_bookmark_manager_dev/PathTemplateItem/web_page_module/gadget_officejs_bookmark_manager_router_html.html
0 → 100644
View file @
0fe7592b
<!DOCTYPE html>
<html>
<head>
<meta
http-equiv=
"Content-type"
content=
"text/html; charset=utf-8"
/>
<meta
name=
"viewport"
content=
"width=device-width, user-scalable=no"
/>
<title>
OfficeJS Router Gadget
</title>
<!-- renderjs -->
<script
src=
"rsvp.js"
type=
"text/javascript"
></script>
<script
src=
"renderjs.js"
type=
"text/javascript"
></script>
<!-- custom script -->
<script
src=
"gadget_officejs_bookmark_manager_router.js"
type=
"text/javascript"
></script>
</head>
<body>
<script
data-renderjs-configuration=
"portal_type"
type=
"text/x-renderjs-configuration"
>
Bookmark
</script>
<script
data-renderjs-configuration=
"parent_relative_url"
type=
"text/x-renderjs-configuration"
>
bookmark_module
</script>
<script
data-renderjs-configuration=
"document_title"
type=
"text/x-renderjs-configuration"
>
Bookmark
Manager
</script>
<script
data-renderjs-configuration=
"document_title_plural"
type=
"text/x-renderjs-configuration"
>
Bookmark
Manager
</script>
</body>
</html>
\ No newline at end of file
bt5/erp5_officejs_bookmark_manager_dev/PathTemplateItem/web_page_module/gadget_officejs_bookmark_manager_router_html.xml
0 → 100644
View file @
0fe7592b
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Web Page"
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>
<string>
Owner
</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>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
contributor/person_module/1
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
content_md5
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/html
</string>
</value>
</item>
<item>
<key>
<string>
creators
</string>
</key>
<value>
<tuple>
<string>
cedric.le.ninivin
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
gadget_officejs_bookmark_manager_router.html
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
gadget_officejs_bookmark_manager_router_html
</string>
</value>
</item>
<item>
<key>
<string>
language
</string>
</key>
<value>
<string>
en
</string>
</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>
1455284352.21
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Web Page
</string>
</value>
</item>
<item>
<key>
<string>
short_title
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
OfficeJS Bookmark Manager router Gadget
</string>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
001
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_bookmark_manager_dev/PathTemplateItem/web_page_module/gadget_officejs_bookmark_manager_router_js.js
0 → 100644
View file @
0fe7592b
/*global window, rJS */
/*jslint nomen: true, indent: 2, maxerr: 3*/
(
function
(
window
,
rJS
)
{
"
use strict
"
;
var
gadget_klass
=
rJS
(
window
),
MAIN_PAGE_PREFIX
=
"
gadget_officejs_
"
,
DEFAULT_PAGE
=
"
bookmark_list
"
,
REDIRECT_TIMEOUT
=
5000
;
function
listenHashChange
(
gadget
)
{
function
extractHashAndDispatch
(
evt
)
{
var
hash
=
(
evt
.
newURL
||
window
.
location
.
toString
()).
split
(
'
#
'
)[
1
],
subhashes
,
subhash
,
keyvalue
,
index
,
args
=
{};
if
(
hash
!==
undefined
)
{
subhashes
=
hash
.
split
(
'
&
'
);
for
(
index
in
subhashes
)
{
if
(
subhashes
.
hasOwnProperty
(
index
))
{
subhash
=
subhashes
[
index
];
if
(
subhash
!==
''
)
{
keyvalue
=
subhash
.
split
(
'
=
'
);
if
(
keyvalue
.
length
===
2
)
{
args
[
decodeURIComponent
(
keyvalue
[
0
])]
=
decodeURIComponent
(
keyvalue
[
1
]);
}
}
}
}
}
return
gadget
.
renderApplication
({
args
:
args
});
}
var
result
=
loopEventListener
(
window
,
'
hashchange
'
,
false
,
extractHashAndDispatch
),
event
=
document
.
createEvent
(
"
Event
"
);
event
.
initEvent
(
'
hashchange
'
,
true
,
true
);
event
.
newURL
=
window
.
location
.
toString
();
window
.
dispatchEvent
(
event
);
return
result
;
}
gadget_klass
.
ready
(
function
(
gadget
)
{
gadget
.
props
=
{
start_deferred
:
RSVP
.
defer
()
};
return
gadget
.
getElement
()
.
push
(
function
(
element
)
{
gadget
.
props
.
element
=
element
;
});
})
.
declareMethod
(
"
getCommandUrlFor
"
,
function
(
options
)
{
var
prefix
=
''
,
result
,
key
;
result
=
"
#
"
;
for
(
key
in
options
)
{
if
(
options
.
hasOwnProperty
(
key
)
&&
options
[
key
]
!==
undefined
)
{
// Don't keep empty values
result
+=
prefix
+
encodeURIComponent
(
key
)
+
"
=
"
+
encodeURIComponent
(
options
[
key
]);
prefix
=
'
&
'
;
}
}
return
result
;
})
.
declareMethod
(
'
redirect
'
,
function
(
options
)
{
if
(
options
!==
undefined
&&
options
.
toExternal
)
{
window
.
location
.
replace
(
options
.
url
);
return
RSVP
.
timeout
(
REDIRECT_TIMEOUT
);
// timeout if not redirected
}
else
{
return
this
.
getCommandUrlFor
(
options
)
.
push
(
function
(
hash
)
{
window
.
location
.
replace
(
hash
);
// prevent returning unexpected response
// wait for the hash change to occur
// fail if nothing happens
return
RSVP
.
timeout
(
REDIRECT_TIMEOUT
);
});
}
})
.
declareMethod
(
'
route
'
,
function
(
options
)
{
var
gadget
=
this
,
args
=
options
.
args
;
gadget
.
options
=
options
;
if
(
args
.
jio_key
===
undefined
||
args
.
jio_key
===
''
)
{
if
(
args
.
page
===
undefined
||
args
.
page
===
''
||
args
.
page
===
"
bookmark_list
"
)
{
args
.
page
=
DEFAULT_PAGE
;
}
return
{
url
:
MAIN_PAGE_PREFIX
+
"
page_
"
+
args
.
page
+
"
.html
"
,
options
:
args
};
}
return
gadget
.
jio_get
(
args
.
jio_key
)
.
push
(
function
(
doc
)
{
var
sub_options
=
{},
base_portal_type
=
doc
.
portal_type
.
toLowerCase
().
replace
(
/
\s
/g
,
"
_
"
);
sub_options
=
{
doc
:
doc
,
jio_key
:
args
.
jio_key
,
search
:
args
.
search
};
if
(
base_portal_type
.
search
(
/_temp$/
)
>=
0
)
{
//Remove "_temp"
base_portal_type
=
base_portal_type
.
substr
(
0
,
base_portal_type
.
length
-
5
);
}
return
{
url
:
MAIN_PAGE_PREFIX
+
"
jio_
"
+
base_portal_type
+
"
_
"
+
args
.
page
+
"
.html
"
,
options
:
sub_options
};
});
})
.
declareAcquiredMethod
(
'
jio_get
'
,
'
jio_get
'
)
.
declareAcquiredMethod
(
'
renderApplication
'
,
'
renderApplication
'
)
.
declareMethod
(
'
start
'
,
function
()
{
var
gadget
=
this
,
element_list
=
gadget
.
props
.
element
.
querySelectorAll
(
"
[data-renderjs-configuration]
"
),
len
=
element_list
.
length
,
key
,
value
,
i
,
queue
=
new
RSVP
.
Queue
();
function
push
(
a
,
b
)
{
queue
.
push
(
function
()
{
return
gadget
.
setSetting
(
a
,
b
);
});
}
for
(
i
=
0
;
i
<
len
;
i
+=
1
)
{
key
=
element_list
[
i
].
getAttribute
(
'
data-renderjs-configuration
'
);
value
=
element_list
[
i
].
textContent
;
push
(
key
,
value
);
}
this
.
props
.
start_deferred
.
resolve
();
})
.
declareService
(
function
()
{
var
gadget
=
this
;
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
gadget
.
props
.
start_deferred
.
promise
;
})
.
push
(
function
()
{
return
listenHashChange
(
gadget
);
});
});
}(
window
,
rJS
));
\ No newline at end of file
bt5/erp5_officejs_bookmark_manager_dev/PathTemplateItem/web_page_module/gadget_officejs_bookmark_manager_router_js.xml
0 → 100644
View file @
0fe7592b
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Web Script"
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>
<string>
Owner
</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>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
content_md5
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
gadget_officejs_bookmark_manager_router.js
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
gadget_officejs_bookmark_manager_router_js
</string>
</value>
</item>
<item>
<key>
<string>
language
</string>
</key>
<value>
<string>
en
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Web Script
</string>
</value>
</item>
<item>
<key>
<string>
short_title
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
OfficeJS Bookmark Manager router Gadget JS
</string>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
001
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_bookmark_manager_dev/PathTemplateItem/web_page_module/gadget_officejs_jio_bookmark_view_html.html
0 → 100644
View file @
0fe7592b
<!doctype html>
<html>
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<title>
OfficeJS Jio Web Page View
</title>
<script
src=
"rsvp.js"
></script>
<script
src=
"renderjs.js"
></script>
<script
src=
"handlebars.js"
></script>
<script
class=
"view-web-page-template"
type=
"text/x-handlebars-template"
>
<
form
class
=
"
view-web-page-form
"
>
<
div
class
=
"
center
"
>
<
div
class
=
"
ui-field-contain
"
>
<
label
data
-
i18n
=
"
Title:
"
>
Title
:
<
/label
>
<
input
type
=
"
text
"
name
=
"
title
"
value
=
"
{{title}}
"
>
<
/div
>
<
div
>
<
button
type
=
"
submit
"
data
-
i18n
=
"
Save
"
style
=
"
display:none;
"
>
Save
<
/button
>
<
/div
>
<
div
class
=
"
ui-field-contain
"
>
<
label
data
-
i18n
=
"
Url:
"
>
Url
:
<
/label
>
<
input
type
=
"
text
"
name
=
"
url_string
"
value
=
"
{{url_string}}
"
>
<
/div
>
<
div
class
=
"
ui-field-contain
"
>
<
label
data
-
i18n
=
"
Description:
"
>
Description
:
<
/label
>
<
textarea
name
=
"
description
"
>
{{
description
}}
<
/textarea
>
<
/div
>
<
/form
>
</script>
<script
src=
"gadget_officejs_jio_bookmark_view.js"
></script>
</head>
<body>
</body>
</html>
bt5/erp5_officejs_bookmark_manager_dev/PathTemplateItem/web_page_module/gadget_officejs_jio_bookmark_view_html.xml
0 → 100644
View file @
0fe7592b
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Web Page"
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>
<string>
Owner
</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>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
content_md5
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/html
</string>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
gadget_officejs_jio_bookmark_view.html
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
gadget_officejs_jio_bookmark_view_html
</string>
</value>
</item>
<item>
<key>
<string>
language
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Web Page
</string>
</value>
</item>
<item>
<key>
<string>
short_title
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
OfficeJS Jio Bookmark View
</string>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<none/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_bookmark_manager_dev/PathTemplateItem/web_page_module/gadget_officejs_jio_bookmark_view_js.js
0 → 100644
View file @
0fe7592b
/*globals window, rJS, Handlebars, RSVP, loopEventListener, console*/
/*jslint indent: 2, nomen: true, maxlen: 80*/
(
function
(
window
,
RSVP
,
rJS
,
Handlebars
,
loopEventListener
)
{
"
use strict
"
;
function
saveContent
(
gadget
,
submit_event
)
{
var
i
,
doc
=
gadget
.
options
.
doc
,
now
=
new
Date
();
doc
.
parent_relative_url
=
"
bookmark_module
"
;
doc
.
portal_type
=
"
Bookmark
"
;
doc
.
modification_date
=
now
.
toISOString
();
for
(
i
=
0
;
i
<
submit_event
.
target
.
length
;
i
+=
1
)
{
// XXX Should check input type instead
if
(
submit_event
.
target
[
i
].
name
)
{
doc
[
submit_event
.
target
[
i
].
name
]
=
submit_event
.
target
[
i
].
value
;
}
}
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
gadget
.
put
(
gadget
.
options
.
jio_key
,
doc
);
});
}
function
maximize
(
gadget
)
{
var
iframe
=
gadget
.
props
.
element
.
querySelector
(
'
iframe
'
),
iframe_class_string
=
iframe
.
getAttribute
(
'
class
'
)
||
""
,
class_name
=
"
ui-content-maximize
"
,
class_index
=
iframe_class_string
.
indexOf
(
class_name
);
if
(
class_index
===
-
1
)
{
iframe_class_string
+=
'
'
+
class_name
;
iframe
.
setAttribute
(
'
style
'
,
''
);
iframe
.
setAttribute
(
'
class
'
,
iframe_class_string
);
return
;
}
iframe_class_string
=
iframe_class_string
.
substring
(
0
,
class_index
)
+
iframe_class_string
.
substring
(
class_index
+
class_name
.
length
);
iframe
.
setAttribute
(
'
style
'
,
'
width:100%; border: 0 none; height: 600px
'
);
iframe
.
setAttribute
(
'
class
'
,
iframe_class_string
);
return
;
}
var
gadget_klass
=
rJS
(
window
),
source
=
gadget_klass
.
__template_element
.
querySelector
(
"
.view-web-page-template
"
)
.
innerHTML
,
template
=
Handlebars
.
compile
(
source
);
gadget_klass
.
ready
(
function
(
g
)
{
g
.
props
=
{};
g
.
options
=
null
;
return
g
.
getElement
()
.
push
(
function
(
element
)
{
g
.
props
.
element
=
element
;
g
.
props
.
deferred
=
RSVP
.
defer
();
});
})
.
declareAcquiredMethod
(
"
updateHeader
"
,
"
updateHeader
"
)
.
declareAcquiredMethod
(
"
get
"
,
"
jio_get
"
)
.
declareAcquiredMethod
(
"
translateHtml
"
,
"
translateHtml
"
)
.
declareAcquiredMethod
(
"
put
"
,
"
jio_put
"
)
.
declareAcquiredMethod
(
'
allDocs
'
,
'
jio_allDocs
'
)
.
declareAcquiredMethod
(
"
redirect
"
,
"
redirect
"
)
.
allowPublicAcquisition
(
'
triggerMaximize
'
,
function
()
{
var
gadget
=
this
;
return
RSVP
.
Queue
()
.
push
(
function
()
{
return
maximize
(
gadget
);
})
.
fail
(
function
(
e
)
{
console
.
log
(
e
);
});
})
.
allowPublicAcquisition
(
'
triggerSubmit
'
,
function
()
{
return
this
.
props
.
element
.
querySelector
(
'
button
'
).
click
();
})
.
declareMethod
(
'
triggerSubmit
'
,
function
()
{
return
this
.
props
.
element
.
querySelector
(
'
button
'
).
click
();
})
.
declareMethod
(
"
render
"
,
function
(
options
)
{
var
gadget
=
this
;
gadget
.
options
=
options
;
gadget
.
options
.
doc
.
title
=
gadget
.
options
.
doc
.
title
||
""
;
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
gadget
.
translateHtml
(
template
(
options
.
doc
));
})
.
push
(
function
(
html
)
{
gadget
.
props
.
element
.
innerHTML
=
html
;
return
gadget
.
updateHeader
({
title
:
options
.
doc
.
title
+
"
| Bookmark
"
,
save_action
:
true
});
})
.
push
(
function
()
{
return
gadget
.
props
.
deferred
.
resolve
();
});
})
/////////////////////////////////////////
// Render text content gadget
/////////////////////////////////////////
.
declareService
(
function
()
{
var
gadget
=
this
,
text_gadget
=
null
;
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
gadget
.
props
.
deferred
.
promise
;
});
})
/////////////////////////////////////////
// Form submit
/////////////////////////////////////////
.
declareService
(
function
()
{
var
gadget
=
this
;
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
gadget
.
props
.
deferred
.
promise
;
})
.
push
(
function
()
{
return
loopEventListener
(
gadget
.
props
.
element
.
querySelector
(
'
form
'
),
'
submit
'
,
true
,
function
(
event
)
{
return
saveContent
(
gadget
,
event
);
}
);
});
});
}(
window
,
RSVP
,
rJS
,
Handlebars
,
loopEventListener
));
\ No newline at end of file
bt5/erp5_officejs_bookmark_manager_dev/PathTemplateItem/web_page_module/gadget_officejs_jio_bookmark_view_js.xml
0 → 100644
View file @
0fe7592b
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Web Script"
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>
<string>
Owner
</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>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
content_md5
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
gadget_officejs_jio_bookmark_view.js
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
gadget_officejs_jio_bookmark_view_js
</string>
</value>
</item>
<item>
<key>
<string>
language
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Web Script
</string>
</value>
</item>
<item>
<key>
<string>
short_title
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
OfficeJS Jio Bookmark View JS
</string>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<none/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_bookmark_manager_dev/PathTemplateItem/web_page_module/gadget_officejs_page_add_bookmark_html.html
0 → 100644
View file @
0fe7592b
<!doctype html>
<html>
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<title>
OfficeJS Add Bookmark
</title>
<script
src=
"rsvp.js"
></script>
<script
src=
"renderjs.js"
></script>
<script
src=
"handlebars.js"
></script>
<script
src=
"gadget_officejs_page_add_bookmark.js"
></script>
</head>
<body>
</body>
</html>
bt5/erp5_officejs_bookmark_manager_dev/PathTemplateItem/web_page_module/gadget_officejs_page_add_bookmark_html.xml
0 → 100644
View file @
0fe7592b
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Web Page"
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>
<string>
Owner
</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>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
contributor/person_module/1
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
content_md5
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/html
</string>
</value>
</item>
<item>
<key>
<string>
creators
</string>
</key>
<value>
<tuple>
<string>
cedric.le.ninivin
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
gadget_officejs_page_add_bookmark.html
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
gadget_officejs_page_add_bookmark_html
</string>
</value>
</item>
<item>
<key>
<string>
language
</string>
</key>
<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.46
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Web Page
</string>
</value>
</item>
<item>
<key>
<string>
short_title
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
OfficeJS Add Bookmark
</string>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<none/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_bookmark_manager_dev/PathTemplateItem/web_page_module/gadget_officejs_page_add_bookmark_js.js
0 → 100644
View file @
0fe7592b
/*globals window, RSVP, rJS*/
/*jslint indent: 2, nomen: true, maxlen: 80*/
(
function
(
window
,
RSVP
,
rJS
)
{
"
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
(
"
post
"
,
"
jio_post
"
)
.
declareAcquiredMethod
(
"
redirect
"
,
"
redirect
"
)
.
declareAcquiredMethod
(
"
updateHeader
"
,
"
updateHeader
"
)
.
declareAcquiredMethod
(
'
getSetting
'
,
'
getSetting
'
)
.
declareMethod
(
"
render
"
,
function
(
options
)
{
var
gadget
=
this
;
gadget
.
props
.
options
=
options
;
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
RSVP
.
all
([
gadget
.
getSetting
(
"
portal_type
"
),
gadget
.
getSetting
(
"
document_title
"
),
gadget
.
getSetting
(
"
parent_relative_url
"
)
]);
}).
push
(
function
(
answer_list
)
{
gadget
.
props
.
portal_type
=
answer_list
[
0
];
gadget
.
props
.
document_title
=
answer_list
[
1
];
gadget
.
props
.
parent_relative_url
=
answer_list
[
2
];
return
gadget
.
updateHeader
({
title
:
"
New
"
+
gadget
.
props
.
document_title
});
})
.
push
(
function
()
{
gadget
.
props
.
deferred
.
resolve
();
});
})
.
declareService
(
function
()
{
var
gadget
=
this
;
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
gadget
.
props
.
deferred
.
promise
;
})
.
push
(
function
()
{
var
doc
=
{
// XXX Hardcoded
parent_relative_url
:
gadget
.
props
.
parent_relative_url
,
portal_type
:
gadget
.
props
.
portal_type
};
return
gadget
.
post
(
doc
);
})
.
push
(
function
(
data
)
{
return
gadget
.
redirect
({
jio_key
:
data
,
page
:
"
view
"
});
});
});
}(
window
,
RSVP
,
rJS
));
\ No newline at end of file
bt5/erp5_officejs_bookmark_manager_dev/PathTemplateItem/web_page_module/gadget_officejs_page_add_bookmark_js.xml
0 → 100644
View file @
0fe7592b
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Web Script"
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>
<string>
Owner
</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>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
contributor/person_module/1
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
content_md5
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
creators
</string>
</key>
<value>
<tuple>
<string>
cedric.le.ninivin
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
gadget_officejs_page_add_bookmark.js
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
gadget_officejs_page_add_bookmark_js
</string>
</value>
</item>
<item>
<key>
<string>
language
</string>
</key>
<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.49
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Web Script
</string>
</value>
</item>
<item>
<key>
<string>
short_title
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
OfficeJS Add Bookmark JS
</string>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<none/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_bookmark_manager_dev/PathTemplateItem/web_page_module/gadget_officejs_page_bookmark_list_html.html
0 → 100644
View file @
0fe7592b
<!doctype html>
<html>
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<title>
OfficeJS Text Editor List
</title>
<script
src=
"rsvp.js"
></script>
<script
src=
"renderjs.js"
></script>
<script
src=
"gadget_officejs_page_bookmark_list.js"
></script>
</head>
<body>
<div
data-gadget-url=
"gadget_officejs_widget_listbox.html"
data-gadget-scope=
"listbox"
></div>
</body>
</html>
bt5/erp5_officejs_bookmark_manager_dev/PathTemplateItem/web_page_module/gadget_officejs_page_bookmark_list_html.xml
0 → 100644
View file @
0fe7592b
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Web Page"
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>
<string>
Owner
</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>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
contributor/person_module/1
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
content_md5
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/html
</string>
</value>
</item>
<item>
<key>
<string>
creators
</string>
</key>
<value>
<tuple>
<string>
cedric.le.ninivin
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
gadget_officejs_page_bookmark_list.html
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
gadget_officejs_page_bookmark_list_html
</string>
</value>
</item>
<item>
<key>
<string>
language
</string>
</key>
<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>
1455284352.14
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Web Page
</string>
</value>
</item>
<item>
<key>
<string>
short_title
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
OfficeJS Bookmark List
</string>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<none/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_bookmark_manager_dev/PathTemplateItem/web_page_module/gadget_officejs_page_bookmark_list_js.js
0 → 100644
View file @
0fe7592b
/*globals window, RSVP, rJS*/
/*jslint indent: 2, nomen: true, maxlen: 80*/
(
function
(
window
,
RSVP
,
rJS
)
{
"
use strict
"
;
rJS
(
window
)
.
ready
(
function
(
g
)
{
g
.
props
=
{};
return
g
.
getElement
()
.
push
(
function
(
element
)
{
g
.
props
.
element
=
element
;
});
})
.
ready
(
function
(
g
)
{
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
RSVP
.
all
([
g
.
translate
(
"
validated
"
),
g
.
translate
(
"
invalidated
"
),
g
.
translate
(
"
Not synced!
"
),
g
.
translate
(
"
Waiting for approval
"
)
]);
})
.
push
(
function
(
result_list
)
{
g
.
props
.
translation_dict
=
{
"
validated
"
:
result_list
[
0
],
"
invalidated
"
:
result_list
[
1
],
"
Not synced!
"
:
result_list
[
2
],
"
Waiting for approval
"
:
result_list
[
3
]
};
});
})
.
declareAcquiredMethod
(
"
translate
"
,
"
translate
"
)
.
declareAcquiredMethod
(
"
getUrlFor
"
,
"
getUrlFor
"
)
.
declareAcquiredMethod
(
"
updateHeader
"
,
"
updateHeader
"
)
.
declareAcquiredMethod
(
'
getSetting
'
,
'
getSetting
'
)
.
declareAcquiredMethod
(
"
jio_allDocs
"
,
"
jio_allDocs
"
)
.
allowPublicAcquisition
(
"
jio_allDocs
"
,
function
(
param_list
)
{
var
gadget
=
this
;
return
this
.
jio_allDocs
.
apply
(
this
,
param_list
)
.
push
(
function
(
result
)
{
var
i
,
len
;
for
(
i
=
0
,
len
=
result
.
data
.
total_rows
;
i
<
len
;
i
+=
1
)
{
// XXX jIO does not create UUID with module inside
if
(
result
.
data
.
rows
[
i
].
id
.
indexOf
(
"
module
"
)
===
-
1
)
{
result
.
data
.
rows
[
i
].
value
.
state
=
gadget
.
props
.
translation_dict
[
"
Not synced!
"
];
}
else
{
result
.
data
.
rows
[
i
].
value
.
state
=
gadget
.
props
.
translation_dict
[
result
.
data
.
rows
[
i
].
value
.
local_state
||
"
Waiting for approval
"
];
}
}
return
result
;
});
})
.
declareMethod
(
"
render
"
,
function
(
options
)
{
var
gadget
=
this
;
return
new
RSVP
.
Queue
()
.
push
(
function
()
{
return
RSVP
.
all
([
gadget
.
getSetting
(
"
portal_type
"
),
gadget
.
getSetting
(
"
bookmark_title_plural
"
)
]);
})
.
push
(
function
(
answer_list
)
{
gadget
.
props
.
portal_type
=
answer_list
[
0
];
gadget
.
props
.
bookmark_title_plural
=
answer_list
[
1
];
return
gadget
.
getUrlFor
({
page
:
"
add_bookmark
"
});
})
.
push
(
function
(
url
)
{
return
gadget
.
updateHeader
({
title
:
gadget
.
props
.
bookmark_title_plural
,
add_url
:
url
});
})
.
push
(
function
()
{
return
gadget
.
getDeclaredGadget
(
"
listbox
"
);
})
.
push
(
function
(
listbox
)
{
return
listbox
.
render
({
search_page
:
'
bookmark_list
'
,
search
:
options
.
search
,
column_list
:
[{
select
:
'
title
'
,
title
:
'
Title
'
},
{
select
:
'
url_string
'
,
title
:
'
URL
'
},
{
select
:
'
description
'
,
title
:
'
Description
'
}],
query
:
{
query
:
'
portal_type:("
'
+
gadget
.
props
.
portal_type
+
'
")
'
,
select_list
:
[
'
title
'
,
'
url_string
'
,
'
description
'
],
limit
:
[
0
,
30
],
sort_on
:
[[
"
modification_date
"
,
"
descending
"
]]
}
});
});
});
}(
window
,
RSVP
,
rJS
));
\ No newline at end of file
bt5/erp5_officejs_bookmark_manager_dev/PathTemplateItem/web_page_module/gadget_officejs_page_bookmark_list_js.xml
0 → 100644
View file @
0fe7592b
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Web Script"
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>
<string>
Owner
</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>
<string>
Owner
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
categories
</string>
</key>
<value>
<tuple>
<string>
contributor/person_module/1
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
content_md5
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
creators
</string>
</key>
<value>
<tuple>
<string>
cedric.le.ninivin
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
gadget_officejs_page_bookmark_list.js
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
gadget_officejs_page_bookmark_list_js
</string>
</value>
</item>
<item>
<key>
<string>
language
</string>
</key>
<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>
1455284352.18
</float>
<string>
UTC
</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Web Script
</string>
</value>
</item>
<item>
<key>
<string>
short_title
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
OfficeJS Bookmark List JS
</string>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<none/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_bookmark_manager_dev/PathTemplateItem/web_site_module/officejs_bookmark_manager.xml
0 → 100644
View file @
0fe7592b
This diff is collapsed.
Click to expand it.
bt5/erp5_officejs_bookmark_manager_dev/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
0 → 100644
View file @
0fe7592b
<allowed_content_type_list>
<portal_type
id=
"Bookmark Module"
>
<item>
Bookmark
</item>
</portal_type>
</allowed_content_type_list>
\ No newline at end of file
bt5/erp5_officejs_bookmark_manager_dev/PortalTypeBaseCategoryTemplateItem/base_category_list.xml
0 → 100644
View file @
0fe7592b
<base_category_list>
<portal_type
id=
"Bookmark"
>
<item>
contributor
</item>
</portal_type>
<portal_type
id=
"Bookmark Module"
>
<item>
business_application
</item>
</portal_type>
</base_category_list>
\ No newline at end of file
bt5/erp5_officejs_bookmark_manager_dev/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
0 → 100644
View file @
0fe7592b
<property_sheet_list>
<portal_type
id=
"Bookmark"
>
<item>
SimpleItem
</item>
</portal_type>
</property_sheet_list>
\ No newline at end of file
bt5/erp5_officejs_bookmark_manager_dev/PortalTypeTemplateItem/portal_types/Bookmark%20Module.xml
0 → 100644
View file @
0fe7592b
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Base Type"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_property_domain_dict
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
content_icon
</string>
</key>
<value>
<string>
folder_icon.gif
</string>
</value>
</item>
<item>
<key>
<string>
factory
</string>
</key>
<value>
<string>
addFolder
</string>
</value>
</item>
<item>
<key>
<string>
group_list
</string>
</key>
<value>
<tuple>
<string>
module
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Bookmark Module
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Base Type
</string>
</value>
</item>
<item>
<key>
<string>
type_class
</string>
</key>
<value>
<string>
Folder
</string>
</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>
short_title
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"TranslationInformation"
module=
"Products.ERP5Type.TranslationProviderBase"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
domain_name
</string>
</key>
<value>
<string>
erp5_ui
</string>
</value>
</item>
<item>
<key>
<string>
property_name
</string>
</key>
<value>
<string>
short_title
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"TranslationInformation"
module=
"Products.ERP5Type.TranslationProviderBase"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
domain_name
</string>
</key>
<value>
<string>
erp5_ui
</string>
</value>
</item>
<item>
<key>
<string>
property_name
</string>
</key>
<value>
<string>
title
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_bookmark_manager_dev/PortalTypeTemplateItem/portal_types/Bookmark.xml
0 → 100644
View file @
0fe7592b
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Base Type"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
content_icon
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
factory
</string>
</key>
<value>
<string>
addXMLObject
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Bookmark
</string>
</value>
</item>
<item>
<key>
<string>
init_script
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
permission
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Base Type
</string>
</value>
</item>
<item>
<key>
<string>
type_class
</string>
</key>
<value>
<string>
Url
</string>
</value>
</item>
<item>
<key>
<string>
type_interface
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
type_mixin
</string>
</key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_bookmark_manager_dev/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
0 → 100644
View file @
0fe7592b
<workflow_chain>
<chain>
<type>
Bookmark
</type>
<workflow>
document_security_interaction_workflow, edit_workflow
</workflow>
</chain>
</workflow_chain>
\ No newline at end of file
bt5/erp5_officejs_bookmark_manager_dev/SkinTemplateItem/portal_skins/erp5_officejs_bookmark_manager_dev.xml
0 → 100644
View file @
0fe7592b
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Folder"
module=
"OFS.Folder"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_objects
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
erp5_officejs_bookmark_manager_dev
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_bookmark_manager_dev/SkinTemplateItem/portal_skins/erp5_officejs_bookmark_manager_dev/BookmarkModule_viewBookmarkList.xml
0 → 100644
View file @
0fe7592b
<?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>
Base_doSelect
</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>
<string>
listbox
</string>
</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/>
</value>
</item>
<item>
<key>
<string>
right
</string>
</key>
<value>
<list/>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
BookmarkModule_viewBookmarkList
</string>
</value>
</item>
<item>
<key>
<string>
method
</string>
</key>
<value>
<string>
POST
</string>
</value>
</item>
<item>
<key>
<string>
name
</string>
</key>
<value>
<string>
BookmarkModule_viewBookmarkList
</string>
</value>
</item>
<item>
<key>
<string>
pt
</string>
</key>
<value>
<string>
form_list
</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>
Bookmarks
</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_bookmark_manager_dev/SkinTemplateItem/portal_skins/erp5_officejs_bookmark_manager_dev/BookmarkModule_viewBookmarkList/listbox.xml
0 → 100644
View file @
0fe7592b
<?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>
selection_name
</string>
<string>
title
</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>
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>
columns
</string>
</key>
<value>
<list>
<tuple>
<string>
title
</string>
<string>
Title
</string>
</tuple>
<tuple>
<string>
url_string
</string>
<string>
URL
</string>
</tuple>
<tuple>
<string>
description
</string>
<string>
description
</string>
</tuple>
</list>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_list_mode_listbox
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<list>
<tuple>
<string>
Bookmark
</string>
<string>
Bookmark
</string>
</tuple>
</list>
</value>
</item>
<item>
<key>
<string>
selection_name
</string>
</key>
<value>
<string>
bookmark_module_selection
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Bookmarks
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_bookmark_manager_dev/SkinTemplateItem/portal_skins/erp5_officejs_bookmark_manager_dev/Bookmark_view.xml
0 → 100644
View file @
0fe7592b
<?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>
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/>
</value>
</item>
<item>
<key>
<string>
hidden
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
<key>
<string>
left
</string>
</key>
<value>
<list>
<string>
my_title
</string>
<string>
my_url_string
</string>
<string>
my_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>
Bookmark_view
</string>
</value>
</item>
<item>
<key>
<string>
method
</string>
</key>
<value>
<string>
POST
</string>
</value>
</item>
<item>
<key>
<string>
name
</string>
</key>
<value>
<string>
Bookmark_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>
Bookmark
</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_bookmark_manager_dev/SkinTemplateItem/portal_skins/erp5_officejs_bookmark_manager_dev/Bookmark_view/my_description.xml
0 → 100644
View file @
0fe7592b
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ProxyField"
module=
"Products.ERP5Form.ProxyField"
/>
</pickle>
<pickle>
<dictionary>
<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>
</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>
my_view_mode_description
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_bookmark_manager_dev/SkinTemplateItem/portal_skins/erp5_officejs_bookmark_manager_dev/Bookmark_view/my_title.xml
0 → 100644
View file @
0fe7592b
This diff is collapsed.
Click to expand it.
bt5/erp5_officejs_bookmark_manager_dev/SkinTemplateItem/portal_skins/erp5_officejs_bookmark_manager_dev/Bookmark_view/my_url_string.xml
0 → 100644
View file @
0fe7592b
<?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>
title
</string>
</list>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_url_string
</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>
my_string_field
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Url
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_officejs_bookmark_manager_dev/bt/dependency_list
0 → 100644
View file @
0fe7592b
erp5_officejs
\ No newline at end of file
bt5/erp5_officejs_bookmark_manager_dev/bt/description
0 → 100644
View file @
0fe7592b
New officejs app in development : the bookmark manager
\ No newline at end of file
bt5/erp5_officejs_bookmark_manager_dev/bt/maintainer_list
0 → 100644
View file @
0fe7592b
Nicolas Wavrant
\ No newline at end of file
bt5/erp5_officejs_bookmark_manager_dev/bt/template_action_path_list
0 → 100644
View file @
0fe7592b
Bookmark Module | view
Bookmark | jio_view
Bookmark | view
\ No newline at end of file
bt5/erp5_officejs_bookmark_manager_dev/bt/template_format_version
0 → 100644
View file @
0fe7592b
1
\ No newline at end of file
bt5/erp5_officejs_bookmark_manager_dev/bt/template_module_id_list
0 → 100644
View file @
0fe7592b
bookmark_module
\ No newline at end of file
bt5/erp5_officejs_bookmark_manager_dev/bt/template_path_list
0 → 100644
View file @
0fe7592b
web_page_module/gadget_officejs_bookmark_manager_router_html
web_page_module/gadget_officejs_bookmark_manager_router_js
web_page_module/gadget_officejs_jio_bookmark_view_html
web_page_module/gadget_officejs_jio_bookmark_view_js
web_page_module/gadget_officejs_page_add_bookmark_html
web_page_module/gadget_officejs_page_add_bookmark_js
web_page_module/gadget_officejs_page_bookmark_list_html
web_page_module/gadget_officejs_page_bookmark_list_js
web_site_module/officejs_bookmark_manager
\ No newline at end of file
bt5/erp5_officejs_bookmark_manager_dev/bt/template_portal_type_allowed_content_type_list
0 → 100644
View file @
0fe7592b
Bookmark Module | Bookmark
\ No newline at end of file
bt5/erp5_officejs_bookmark_manager_dev/bt/template_portal_type_base_category_list
0 → 100644
View file @
0fe7592b
Bookmark Module | business_application
Bookmark | contributor
\ No newline at end of file
bt5/erp5_officejs_bookmark_manager_dev/bt/template_portal_type_id_list
0 → 100644
View file @
0fe7592b
Bookmark
Bookmark Module
\ No newline at end of file
bt5/erp5_officejs_bookmark_manager_dev/bt/template_portal_type_property_sheet_list
0 → 100644
View file @
0fe7592b
Bookmark | SimpleItem
\ No newline at end of file
bt5/erp5_officejs_bookmark_manager_dev/bt/template_portal_type_workflow_chain_list
0 → 100644
View file @
0fe7592b
Bookmark | document_security_interaction_workflow
Bookmark | edit_workflow
\ No newline at end of file
bt5/erp5_officejs_bookmark_manager_dev/bt/template_skin_id_list
0 → 100644
View file @
0fe7592b
erp5_officejs_bookmark_manager_dev
\ No newline at end of file
bt5/erp5_officejs_bookmark_manager_dev/bt/title
0 → 100644
View file @
0fe7592b
erp5_officejs_bookmark_manager_dev
\ No newline at end of file
bt5/erp5_officejs_bookmark_manager_dev/bt/version
0 → 100644
View file @
0fe7592b
0.1
\ 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