diff --git a/bt5/erp5_discussion/ActionTemplateItem/portal_types/Discussion%20Post/view.xml b/bt5/erp5_discussion/ActionTemplateItem/portal_types/Discussion%20Post/view.xml
deleted file mode 100644
index b4b20269ac1efa68f2f44288b535cc4dcafb6307..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/ActionTemplateItem/portal_types/Discussion%20Post/view.xml
+++ /dev/null
@@ -1,96 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
action
-
- AAAAAAAAAAI=
-
-
- -
-
categories
-
-
- action_type/object_view
-
-
-
- -
-
category
- object_view
-
- -
-
condition
-
- AAAAAAAAAAM=
-
-
- -
-
description
-
-
-
-
- -
-
icon
-
-
- -
-
id
- view
-
- -
-
permissions
-
-
- View
-
-
-
- -
-
priority
- 1.0
-
- -
-
title
- View
-
- -
-
visible
- 1
-
-
-
-
-
-
-
-
-
-
- -
-
text
- string:${object_url}/DiscussionPost_view
-
-
-
-
-
-
-
-
-
-
- -
-
text
- python:object is not None and not object.isWebMode()
-
-
-
-
-
diff --git a/bt5/erp5_discussion/ActionTemplateItem/portal_types/Discussion%20Post/web_view.xml b/bt5/erp5_discussion/ActionTemplateItem/portal_types/Discussion%20Post/web_view.xml
deleted file mode 100644
index d48133f40df3a2ccd774911dc498f109e007e6b8..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/ActionTemplateItem/portal_types/Discussion%20Post/web_view.xml
+++ /dev/null
@@ -1,100 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
action
-
- AAAAAAAAAAI=
-
-
- -
-
categories
-
-
- action_type/object_web_view
-
-
-
- -
-
category
- object_web_view
-
- -
-
condition
-
- AAAAAAAAAAM=
-
-
- -
-
description
-
-
-
-
- -
-
icon
-
-
- -
-
id
- web_view
-
- -
-
permissions
-
-
- View
-
-
-
- -
-
portal_type
- Action Information
-
- -
-
priority
- 2.0
-
- -
-
title
- Web View
-
- -
-
visible
- 1
-
-
-
-
-
-
-
-
-
-
- -
-
text
- string:${object_url}/DiscussionPost_viewAsWeb
-
-
-
-
-
-
-
-
-
-
- -
-
text
- python:object is not None and object.isWebMode()
-
-
-
-
-
diff --git a/bt5/erp5_discussion/ActionTemplateItem/portal_types/Discussion%20Thread%20Module/newThread.xml b/bt5/erp5_discussion/ActionTemplateItem/portal_types/Discussion%20Thread%20Module/new_thread.xml
similarity index 82%
rename from bt5/erp5_discussion/ActionTemplateItem/portal_types/Discussion%20Thread%20Module/newThread.xml
rename to bt5/erp5_discussion/ActionTemplateItem/portal_types/Discussion%20Thread%20Module/new_thread.xml
index efcb8406b6b4ee8d9c618f4ee7df5c8d41d2a9eb..748670ba3d854b857dc9fb4c2fce21f3bd1eafeb 100644
--- a/bt5/erp5_discussion/ActionTemplateItem/portal_types/Discussion%20Thread%20Module/newThread.xml
+++ b/bt5/erp5_discussion/ActionTemplateItem/portal_types/Discussion%20Thread%20Module/new_thread.xml
@@ -16,13 +16,13 @@
categories
- action_type/object_action
+ action_type/object_jio_action
-
category
- object_action
+ object_jio_action
-
condition
@@ -30,7 +30,9 @@
-
description
-
+
+
+
-
icon
@@ -38,7 +40,7 @@
-
id
- newThread
+ new_thread
-
permissions
@@ -48,6 +50,10 @@
+ -
+
portal_type
+ Action Information
+
-
priority
1.0
@@ -71,7 +77,7 @@
-
text
- string:${object_url}/DiscussionThread_viewNewPostDialog
+ string:${object_url}/DiscussionThreadModule_viewAddThreadDialog
diff --git a/bt5/erp5_discussion/ActionTemplateItem/portal_types/Discussion%20Thread%20Module/view.xml b/bt5/erp5_discussion/ActionTemplateItem/portal_types/Discussion%20Thread%20Module/view.xml
index 0cbddfcc95838bc12834eed2f05ffe50f271b3d6..815bfb63bc37edaee3c679d644845f3b099e1e18 100644
--- a/bt5/erp5_discussion/ActionTemplateItem/portal_types/Discussion%20Thread%20Module/view.xml
+++ b/bt5/erp5_discussion/ActionTemplateItem/portal_types/Discussion%20Thread%20Module/view.xml
@@ -30,9 +30,7 @@
-
description
-
-
-
+
-
icon
@@ -50,6 +48,10 @@
+ -
+
portal_type
+ Action Information
+
-
priority
1.0
@@ -73,7 +75,7 @@
-
text
- string:${object_url}/DiscussionModule_viewDiscussionThreadList
+ string:${object_url}/DiscussionThreadModule_viewDiscussionThreadList
diff --git a/bt5/erp5_discussion/ActionTemplateItem/portal_types/Discussion%20Thread/add_discussion_post.xml b/bt5/erp5_discussion/ActionTemplateItem/portal_types/Discussion%20Thread/reply.xml
similarity index 88%
rename from bt5/erp5_discussion/ActionTemplateItem/portal_types/Discussion%20Thread/add_discussion_post.xml
rename to bt5/erp5_discussion/ActionTemplateItem/portal_types/Discussion%20Thread/reply.xml
index 585b46ec60bf1c0348b83eb365f3318d87ae6aa6..0145cb357baccf6baf1443ef32c21bc14c203914 100644
--- a/bt5/erp5_discussion/ActionTemplateItem/portal_types/Discussion%20Thread/add_discussion_post.xml
+++ b/bt5/erp5_discussion/ActionTemplateItem/portal_types/Discussion%20Thread/reply.xml
@@ -16,13 +16,13 @@
categories
- action_type/object_action
+ action_type/object_jio_action
-
category
- object_action
+ object_jio_action
-
condition
@@ -40,7 +40,7 @@
-
id
- add_discussion_post
+ reply
-
permissions
@@ -56,7 +56,7 @@
-
priority
- 3.0
+ 1.0
-
title
@@ -77,7 +77,7 @@
-
text
- string:${object_url}/DiscussionThread_viewCreateNewDiscussionPostDialog
+ string:${object_url}/DiscussionThread_viewAddReplyDialog
diff --git a/bt5/erp5_discussion/ActionTemplateItem/portal_types/Discussion%20Thread/view.xml b/bt5/erp5_discussion/ActionTemplateItem/portal_types/Discussion%20Thread/view.xml
index e06add0182fc4d87999f82ab9e28af7e6db47640..89c600d4f672b12422ecb3e75d607dd4fc5a6e93 100644
--- a/bt5/erp5_discussion/ActionTemplateItem/portal_types/Discussion%20Thread/view.xml
+++ b/bt5/erp5_discussion/ActionTemplateItem/portal_types/Discussion%20Thread/view.xml
@@ -30,9 +30,7 @@
-
description
-
-
-
+
-
icon
@@ -50,6 +48,10 @@
+ -
+
portal_type
+ Action Information
+
-
priority
1.0
diff --git a/bt5/erp5_discussion/ActionTemplateItem/portal_types/Discussion%20Thread/web_view.xml b/bt5/erp5_discussion/ActionTemplateItem/portal_types/Discussion%20Thread/web_view.xml
deleted file mode 100644
index 870254c6c9fd62e3943590d9f361d5a5be38ef42..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/ActionTemplateItem/portal_types/Discussion%20Thread/web_view.xml
+++ /dev/null
@@ -1,96 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
action
-
- AAAAAAAAAAI=
-
-
- -
-
categories
-
-
- action_type/object_web_view
-
-
-
- -
-
category
- object_web_view
-
- -
-
condition
-
- AAAAAAAAAAM=
-
-
- -
-
description
-
-
-
-
- -
-
icon
-
-
- -
-
id
- web_view
-
- -
-
permissions
-
-
- View
-
-
-
- -
-
priority
- 0.9
-
- -
-
title
- Web View
-
- -
-
visible
- 1
-
-
-
-
-
-
-
-
-
-
- -
-
text
- string:${object_url}/DiscussionThread_viewAsWeb
-
-
-
-
-
-
-
-
-
-
- -
-
text
- python:object is not None and object.isWebMode() and not object.isEditableMode()
-
-
-
-
-
diff --git a/bt5/erp5_discussion/ModuleTemplateItem/discussion_thread_module.xml b/bt5/erp5_discussion/ModuleTemplateItem/discussion_thread_module.xml
index e62312913ba09c48ff30c2d81bd28cdf682cad47..dd317d3c639f91cc03e9f983ce69bbef8e3b66ad 100644
--- a/bt5/erp5_discussion/ModuleTemplateItem/discussion_thread_module.xml
+++ b/bt5/erp5_discussion/ModuleTemplateItem/discussion_thread_module.xml
@@ -12,7 +12,6 @@
Access contents information
- Anonymous
Assignee
Assignor
Associate
@@ -31,7 +30,6 @@
Add portal content
- Assignee
Assignor
Author
Manager
@@ -79,14 +77,16 @@
View
Assignee
Assignor
+ Associate
Auditor
- Author
Manager
View History
Assignee
Assignor
+ Associate
+ Auditor
Author
Manager
diff --git a/bt5/erp5_discussion/PathTemplateItem/notification_message_module/forum-new-thread.xml b/bt5/erp5_discussion/PathTemplateItem/notification_message_module/forum-new-thread.xml
deleted file mode 100644
index f98a0697d02c9c61b8a96c3775faaa4f2a734b57..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/PathTemplateItem/notification_message_module/forum-new-thread.xml
+++ /dev/null
@@ -1,120 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
_Access_contents_information_Permission
-
-
- Assignee
- Assignor
- Associate
- Auditor
- Manager
-
-
-
- -
-
_Add_portal_content_Permission
-
-
- Manager
-
-
-
- -
-
_Delete_objects_Permission
-
-
- Manager
-
-
-
- -
-
_Modify_portal_content_Permission
-
-
- Assignee
- Assignor
- Manager
-
-
-
- -
-
_View_Permission
-
-
- Assignee
- Assignor
- Associate
- Auditor
- Manager
-
-
-
- -
-
content_md5
- 5975888bf63cbbf10adb9581c07c6be5
-
- -
-
default_reference
- forum-new-thread
-
- -
-
description
-
-
-
-
- -
-
id
- forum-new-thread
-
- -
-
language
- en
-
- -
-
portal_type
- Notification Message
-
- -
-
text_content
- \n
-New forum post with subject : "${subject}"\n
-\n
-has been created at this url:\n
-\n
-${url}\n
-\n
-You are kindly invited to follow this link and log in into the system\n
-and participate into the discussion.\n
-\n
-Kind Regards\n
-${sender}\n
-
-
-]]>
-
- -
-
text_content_substitution_mapping_method_id
- NotificationMessage_getSubstitutionMappingDictFromArgument
-
- -
-
title
- [ERP5] New Forum Thread
-
- -
-
version
- 001
-
-
-
-
-
diff --git a/bt5/erp5_discussion/PathTemplateItem/portal_gadgets/erp5_forum.xml b/bt5/erp5_discussion/PathTemplateItem/portal_gadgets/erp5_forum.xml
deleted file mode 100644
index c06bf336be7974010543ec4f4411f1c352fabdce..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/PathTemplateItem/portal_gadgets/erp5_forum.xml
+++ /dev/null
@@ -1,135 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
_Access_contents_information_Permission
-
-
- Anonymous
- Assignor
- Auditor
- Manager
-
-
-
- -
-
_Add_portal_content_Permission
-
-
- Manager
-
-
-
- -
-
_Copy_or_Move_Permission
-
-
- Manager
-
-
-
- -
-
_Modify_portal_content_Permission
-
-
- Manager
-
-
-
- -
-
_View_Permission
-
-
- Anonymous
- Assignor
- Auditor
- Manager
-
-
-
- -
-
_count
-
- AAAAAAAAAAI=
-
-
- -
-
_mt_index
-
- AAAAAAAAAAM=
-
-
- -
-
_tree
-
- AAAAAAAAAAQ=
-
-
- -
-
categories
-
-
- gadget_type/web_section
- gadget_type/web_front
-
-
-
- -
-
description
- Forum
-
- -
-
id
- erp5_forum
-
- -
-
multiple_instances_allowed
- 1
-
- -
-
portal_type
- Gadget
-
- -
-
render_type
- asynchronous
-
- -
-
title
- Forum
-
- -
-
view_form_id
- ERP5Site_viewDiscussionThreadGadget
-
-
-
-
-
-
-
-
- 0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/PathTemplateItem/portal_gadgets/erp5_forum/default_image.xml b/bt5/erp5_discussion/PathTemplateItem/portal_gadgets/erp5_forum/default_image.xml
deleted file mode 100644
index 4cadf4342b4af34b6149424cc58e4255cc47d248..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/PathTemplateItem/portal_gadgets/erp5_forum/default_image.xml
+++ /dev/null
@@ -1,655 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
_EtagSupport__etag
- ts75270774.51
-
- -
-
_count
-
- AAAAAAAAAAI=
-
-
- -
-
_mt_index
-
- AAAAAAAAAAM=
-
-
- -
-
_tree
-
- AAAAAAAAAAQ=
-
-
- -
-
content_md5
- b7bed1af07715bc6d444b0bbe4e9c829
-
- -
-
content_type
- image/jpeg
-
- -
-
data
- /9j/4AAQSkZJRgABAQEAgQCBAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEB
-AQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/2wBDAQEBAQEBAQEBAQEBAQEBAQEBAQEB
-AQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQE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Embedded File
-
- -
-
size
- 32327
-
- -
-
width
- 297
-
-
-
-
-
-
-
-
- 0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml b/bt5/erp5_discussion/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
index 930bd1a75422e3e8139b027401fc402a0e950f11..5e563bd87dbc78da10b4fe3ff24a85816144a373 100644
--- a/bt5/erp5_discussion/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
+++ b/bt5/erp5_discussion/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
@@ -1,7 +1,4 @@
-
- - Discussion Post
-
- Discussion Thread
diff --git a/bt5/erp5_discussion/PortalTypeBaseCategoryTemplateItem/base_category_list.xml b/bt5/erp5_discussion/PortalTypeBaseCategoryTemplateItem/base_category_list.xml
index 1e148faed291fe27a6bbc0fd4b8ffb745f27ef91..1056f1f13d05f102c62f8caa3e4a475af68984e8 100644
--- a/bt5/erp5_discussion/PortalTypeBaseCategoryTemplateItem/base_category_list.xml
+++ b/bt5/erp5_discussion/PortalTypeBaseCategoryTemplateItem/base_category_list.xml
@@ -1,11 +1,4 @@
-
- - successor
-
-
- - contributor
- - source
-
- business_application
diff --git a/bt5/erp5_discussion/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml b/bt5/erp5_discussion/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml
deleted file mode 100644
index 9090ba37781e303eba7dfa6b7cd6eff07c18b6ce..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/PortalTypeHiddenContentTypeTemplateItem/hidden_content_type_list.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- - Discussion Post
-
-
\ No newline at end of file
diff --git a/bt5/erp5_discussion/PortalTypePropertySheetTemplateItem/property_sheet_list.xml b/bt5/erp5_discussion/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
deleted file mode 100644
index a48c7c1f1dfe1c74d77d07e7ee2754cf937fd39e..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
- - DiscussionPost
-
-
- - Reference
-
-
\ No newline at end of file
diff --git a/bt5/erp5_discussion/PortalTypeTemplateItem/portal_types/Discussion%20Thread%20Module.xml b/bt5/erp5_discussion/PortalTypeTemplateItem/portal_types/Discussion%20Thread%20Module.xml
index c2d9d37682cec99f0f5d141e94d5142febf0afd7..ec78f911e3ec71f35b9cc55e9f27c05c943b6af5 100644
--- a/bt5/erp5_discussion/PortalTypeTemplateItem/portal_types/Discussion%20Thread%20Module.xml
+++ b/bt5/erp5_discussion/PortalTypeTemplateItem/portal_types/Discussion%20Thread%20Module.xml
@@ -9,20 +9,7 @@
-
_property_domain_dict
-
- -
-
short_title
-
- AAAAAAAAAAI=
-
-
- -
-
title
-
- AAAAAAAAAAM=
-
-
-
+ AAAAAAAAAAI=
-
@@ -33,22 +20,14 @@
content_icon
folder_icon.gif
- -
-
content_meta_type
- ERP5 Folder
-
-
description
-
+ The Discussion Thread Module contains discussion threads objects for erp5 discussion.
-
factory
addFolder
- -
-
filter_content_types
- 1
-
-
group_list
@@ -74,22 +53,59 @@
-
-
title
-
+ portal_type
+ Base Type
-
type_class
Folder
+ -
+
type_interface
+
+
+
+
+ -
+
type_mixin
+
+
+
+
-
-
-
-
+
+
+
+
+ -
+
data
+
+
+ -
+
short_title
+
+ AAAAAAAAAAM=
+
+
+ -
+
title
+
+ AAAAAAAAAAQ=
+
+
+
+
+
+
+
+
+
+
+
@@ -104,12 +120,9 @@
-
+
-
-
-
-
+
diff --git a/bt5/erp5_discussion/PortalTypeTemplateItem/portal_types/Discussion%20Thread.xml b/bt5/erp5_discussion/PortalTypeTemplateItem/portal_types/Discussion%20Thread.xml
index 8b12a299776a0ed5c68a9574aee79b849a6cadec..c252b42f254cdda0faa70f8d4fd781bd97664cfe 100644
--- a/bt5/erp5_discussion/PortalTypeTemplateItem/portal_types/Discussion%20Thread.xml
+++ b/bt5/erp5_discussion/PortalTypeTemplateItem/portal_types/Discussion%20Thread.xml
@@ -7,53 +7,24 @@
-
-
_property_domain_dict
+ content_icon
-
- -
-
short_title
-
- AAAAAAAAAAI=
-
-
- -
-
title
-
- AAAAAAAAAAM=
-
-
-
+
- -
-
acquire_local_roles
- 0
-
- -
-
content_icon
- document_icon.gif
-
- -
-
content_meta_type
- ERP5 Text Document
-
-
description
- Base on ERP5 default document. Supports synchronisation and XML.
+ A Discussion Thread document is used to represent a discussion on erp5 discussion.
-
factory
- addTextDocument
-
- -
-
filter_content_types
- 1
+ addXMLObject
-
group_list
- document
+ ticket
@@ -61,16 +32,6 @@
id
Discussion Thread
- -
-
id_generator
-
-
-
-
- -
-
id_group
- None
-
-
init_script
@@ -84,24 +45,12 @@
-
-
searchable_text_method_id
-
-
- DiscussionThread_getChildDiscussionPostRawText
-
-
-
- -
-
short_title
- Discussion Thread
-
- -
-
title
- Discussion Thread
+ portal_type
+ Base Type
-
type_class
- TextDocument
+ Ticket
-
type_interface
@@ -118,42 +67,4 @@
-
-
-
-
-
-
- -
-
domain_name
-
-
-
-
- -
-
property_name
- short_title
-
-
-
-
-
-
-
-
-
-
- -
-
domain_name
-
-
-
-
- -
-
property_name
- title
-
-
-
-
diff --git a/bt5/erp5_discussion/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml b/bt5/erp5_discussion/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
index 61f4ddcf3421bb81146fa1a3d907c9248e56993d..60ebf441c306a3bdbc19bcd973fb0c6b889db916 100644
--- a/bt5/erp5_discussion/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
+++ b/bt5/erp5_discussion/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
@@ -1,10 +1,6 @@
-
- Discussion Post
- edit_workflow, embedded_workflow
-
Discussion Thread
- document_conversion_interaction_workflow, document_publication_workflow, document_security_interaction_workflow, edit_workflow
+ edit_workflow
\ No newline at end of file
diff --git a/bt5/erp5_discussion/PropertySheetTemplateItem/portal_property_sheets/DiscussionPost.xml b/bt5/erp5_discussion/PropertySheetTemplateItem/portal_property_sheets/DiscussionPost.xml
deleted file mode 100644
index 95a04438c946402962544aa26f67968a13106622..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/PropertySheetTemplateItem/portal_property_sheets/DiscussionPost.xml
+++ /dev/null
@@ -1,60 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
_count
-
- AAAAAAAAAAI=
-
-
- -
-
_mt_index
-
- AAAAAAAAAAM=
-
-
- -
-
_tree
-
- AAAAAAAAAAQ=
-
-
- -
-
id
- DiscussionPost
-
- -
-
portal_type
- Property Sheet
-
-
-
-
-
-
-
-
- 0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/PropertySheetTemplateItem/portal_property_sheets/DiscussionPost/predecessor_category.xml b/bt5/erp5_discussion/PropertySheetTemplateItem/portal_property_sheets/DiscussionPost/predecessor_category.xml
deleted file mode 100644
index a326c7dbe8568df47bb5fe43b10df82f6225bd33..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/PropertySheetTemplateItem/portal_property_sheets/DiscussionPost/predecessor_category.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
id
- predecessor_category
-
- -
-
portal_type
- Category Property
-
-
-
-
-
diff --git a/bt5/erp5_discussion/PropertySheetTemplateItem/portal_property_sheets/DiscussionPost/signature_property.xml b/bt5/erp5_discussion/PropertySheetTemplateItem/portal_property_sheets/DiscussionPost/signature_property.xml
deleted file mode 100644
index 1a4cdfef43e696505de5685be4ba72c993ef6394..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/PropertySheetTemplateItem/portal_property_sheets/DiscussionPost/signature_property.xml
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
_local_properties
-
-
-
- -
-
id
- mode
-
- -
-
type
- string
-
-
-
-
-
- -
-
categories
-
-
- elementary_type/string
-
-
-
- -
-
description
- Signature of author
-
- -
-
id
- signature_property
-
- -
-
mode
- w
-
- -
-
portal_type
- Standard Property
-
-
-
-
-
diff --git a/bt5/erp5_discussion/PropertySheetTemplateItem/portal_property_sheets/DiscussionPost/source_category.xml b/bt5/erp5_discussion/PropertySheetTemplateItem/portal_property_sheets/DiscussionPost/source_category.xml
deleted file mode 100644
index 8f108c47c9865bc7b6c1085ae110543a0f4eb63a..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/PropertySheetTemplateItem/portal_property_sheets/DiscussionPost/source_category.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
id
- source_category
-
- -
-
portal_type
- Category Property
-
-
-
-
-
diff --git a/bt5/erp5_discussion/PropertySheetTemplateItem/portal_property_sheets/ForumPreference.xml b/bt5/erp5_discussion/PropertySheetTemplateItem/portal_property_sheets/ForumPreference.xml
deleted file mode 100644
index 5879251ea38c64ee2255d526b1df315b6c7d94b7..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/PropertySheetTemplateItem/portal_property_sheets/ForumPreference.xml
+++ /dev/null
@@ -1,66 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
_count
-
- AAAAAAAAAAI=
-
-
- -
-
_mt_index
-
- AAAAAAAAAAM=
-
-
- -
-
_tree
-
- AAAAAAAAAAQ=
-
-
- -
-
description
-
-
-
-
- -
-
id
- ForumPreference
-
- -
-
portal_type
- Property Sheet
-
-
-
-
-
-
-
-
- 0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/PropertySheetTemplateItem/portal_property_sheets/ForumPreference/preferred_forum_quote_original_message_property.xml b/bt5/erp5_discussion/PropertySheetTemplateItem/portal_property_sheets/ForumPreference/preferred_forum_quote_original_message_property.xml
deleted file mode 100644
index f11eb43467bb72c94c7232a6011812b020abbe15..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/PropertySheetTemplateItem/portal_property_sheets/ForumPreference/preferred_forum_quote_original_message_property.xml
+++ /dev/null
@@ -1,61 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
_local_properties
-
-
-
- -
-
id
- mode
-
- -
-
type
- string
-
-
-
-
-
- -
-
categories
-
-
- elementary_type/boolean
-
-
-
- -
-
description
- Should we cite when replying parent post.
-
- -
-
id
- preferred_forum_quote_original_message_property
-
- -
-
mode
-
-
- -
-
portal_type
- Standard Property
-
- -
-
preference
- 1
-
- -
-
property_default
- python: False
-
-
-
-
-
diff --git a/bt5/erp5_discussion/PropertySheetTemplateItem/portal_property_sheets/ForumPreference/preferred_forum_signature_property.xml b/bt5/erp5_discussion/PropertySheetTemplateItem/portal_property_sheets/ForumPreference/preferred_forum_signature_property.xml
deleted file mode 100644
index 4030b78954d0e0ca43fa78c0b3d7ed200c56774d..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/PropertySheetTemplateItem/portal_property_sheets/ForumPreference/preferred_forum_signature_property.xml
+++ /dev/null
@@ -1,61 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
_local_properties
-
-
-
- -
-
id
- mode
-
- -
-
type
- string
-
-
-
-
-
- -
-
categories
-
-
- elementary_type/string
-
-
-
- -
-
description
- Forum signature
-
- -
-
id
- preferred_forum_signature_property
-
- -
-
mode
-
-
- -
-
portal_type
- Standard Property
-
- -
-
preference
- 1
-
- -
-
property_default
- python: None
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion.xml
index ac1cd7a6262d6a1fada2368ce8d1d49d82bb47d1..f55e984481f658339a43e3146be055352662908f 100644
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion.xml
+++ b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion.xml
@@ -6,12 +6,6 @@
- -
-
_local_properties
-
-
-
-
-
_objects
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscusionThread_viewContentListAsRSS.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscusionThread_viewContentListAsRSS.xml
deleted file mode 100644
index 6ddf58ce106f950b04e806fa6be1c42555df567f..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscusionThread_viewContentListAsRSS.xml
+++ /dev/null
@@ -1,129 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
_bind_names
-
-
-
-
-
-
-
-
- -
-
_asgns
-
-
-
-
-
-
-
-
-
- -
-
_objects
-
-
-
-
- -
-
action
-
-
- -
-
description
-
-
- -
-
edit_order
-
-
-
-
- -
-
encoding
- UTF-8
-
- -
-
enctype
-
-
- -
-
group_list
-
-
- bottom
- hidden
-
-
-
- -
-
groups
-
-
- -
-
bottom
-
-
- listbox
-
-
-
- -
-
hidden
-
-
- listbox_link
-
-
-
-
-
-
- -
-
id
- DiscusionThread_viewContentListAsRSS
-
- -
-
method
- POST
-
- -
-
name
- Folder_asRSS
-
- -
-
pt
- rss_view
-
- -
-
row_length
- 4
-
- -
-
stored_encoding
- UTF-8
-
- -
-
title
- Render Latest Content List as RSS
-
- -
-
unicode_mode
- 0
-
- -
-
update_action
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscusionThread_viewContentListAsRSS/listbox.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscusionThread_viewContentListAsRSS/listbox.xml
deleted file mode 100644
index dcab9ca09dfb7c7d39779056d88f902bffd0c74f..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscusionThread_viewContentListAsRSS/listbox.xml
+++ /dev/null
@@ -1,234 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
- columns
- count_method
- hide_rows_on_no_search_criterion
- lines
- list_method
- portal_types
- selection_name
- sort
-
-
-
- -
-
id
- listbox
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
columns
-
-
- -
-
count_method
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
hide_rows_on_no_search_criterion
-
-
- -
-
lines
-
- AAAAAAAAAAI=
-
-
- -
-
list_method
-
-
- -
-
portal_types
-
-
- -
-
selection_name
-
-
- -
-
sort
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
columns
-
-
-
- title
- title
-
-
- creation_date
- pubDate
-
-
- Base_getRSSAuthor
- author
-
-
- link
- link
-
-
- Base_getDescription
- description
-
-
- link
- guid
-
-
-
-
- -
-
count_method
-
-
- -
-
field_id
- my_list_mode_listbox
-
- -
-
form_id
- Base_viewFieldLibrary
-
- -
-
hide_rows_on_no_search_criterion
- 0
-
- -
-
lines
- 20
-
- -
-
list_method
-
- AAAAAAAAAAM=
-
-
- -
-
portal_types
-
-
-
- Discussion Post
- Discussion Post
-
-
-
-
- -
-
selection_name
-
-
- -
-
sort
-
-
-
- modification_date
- descending
-
-
-
-
- -
-
target
- Click to edit the target
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
_text
- python: int(here.REQUEST.get(\'size\', preferences.getPreference(\'preferred_listbox_list_mode_line_count\', 30)))
-
-
-
-
-
-
-
-
-
-
- -
-
method_name
- searchFolder
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscusionThread_viewContentListAsRSS/listbox_link.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscusionThread_viewContentListAsRSS/listbox_link.xml
deleted file mode 100644
index 712d9bf131e4254357364d61fdbc0a5eb5b78a33..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscusionThread_viewContentListAsRSS/listbox_link.xml
+++ /dev/null
@@ -1,128 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
- default
- editable
-
-
-
- -
-
id
- listbox_link
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
default
-
- AAAAAAAAAAI=
-
-
- -
-
editable
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
default
-
-
- -
-
editable
- 0
-
- -
-
field_id
- my_string_field
-
- -
-
form_id
- Base_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
_text
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_getAttachmentList.py b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_getAttachmentList.py
deleted file mode 100644
index b2df9907d21b0f21bc76524a06fbab1566a9c9fa..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_getAttachmentList.py
+++ /dev/null
@@ -1,10 +0,0 @@
-"""
- Return list of attachments for a post.
- We use proxy roles as not in all cases current user is allowed to get attachments but still we need
- to provide a link to them which when used will ask for login.
-"""
-result = []
-for successor in context.getSuccessorValueList():
- result.append({'title': successor.getTitle(),
- 'url': successor.absolute_url()})
-return result
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_getAttachmentList.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_getAttachmentList.xml
deleted file mode 100644
index 05e53dad5e01a56c8189531c2fb786ef39ce34f0..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_getAttachmentList.xml
+++ /dev/null
@@ -1,70 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
Script_magic
- 3
-
- -
-
_bind_names
-
-
-
-
-
-
-
-
- -
-
_asgns
-
-
- -
-
name_container
- container
-
- -
-
name_context
- context
-
- -
-
name_m_self
- script
-
- -
-
name_subpath
- traverse_subpath
-
-
-
-
-
-
-
-
-
- -
-
_params
-
-
- -
-
_proxy_roles
-
-
- Assignor
-
-
-
- -
-
id
- DiscussionPost_getAttachmentList
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_getAuthorDict.py b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_getAuthorDict.py
deleted file mode 100644
index eecdf45a9b09214921358a1ed00e56c2ee29e057..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_getAuthorDict.py
+++ /dev/null
@@ -1,20 +0,0 @@
-"""
- Get author details.
-"""
-portal = context.getPortalObject()
-
-author = context.getSourceValue()
-result = {'author_url': None,
- 'author_signature': None,
- 'author_title': context.Base_translateString('Unknown User'),
- 'author_thumbnail_url': None}
-
-if author is not None:
- result['author_url'] = '%s/view' %author.getAbsoluteUrl()
- result['author_signature'] = portal.ERP5Site_getUserPreferredForumSettingsDict(author.getReference())['preferred_forum_signature']
- result['author_title'] = author.getTitle()
- thumbnail = author.getDefaultImage()
- if thumbnail is not None and thumbnail.hasData():
- result['author_thumbnail_url'] = thumbnail.absolute_url()
-
-return result
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_getAuthorDict.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_getAuthorDict.xml
deleted file mode 100644
index 456c9e9544d52bb588dfac309301eaf566e43ac8..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_getAuthorDict.xml
+++ /dev/null
@@ -1,70 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
Script_magic
- 3
-
- -
-
_bind_names
-
-
-
-
-
-
-
-
- -
-
_asgns
-
-
- -
-
name_container
- container
-
- -
-
name_context
- context
-
- -
-
name_m_self
- script
-
- -
-
name_subpath
- traverse_subpath
-
-
-
-
-
-
-
-
-
- -
-
_params
-
-
- -
-
_proxy_roles
-
-
- Manager
-
-
-
- -
-
id
- DiscussionPost_getAuthorDict
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_getSummaryAsHTML.zpt b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_getSummaryAsHTML.zpt
deleted file mode 100644
index c468e38b946fd58ba7392a2d8a902323ef0420e5..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_getSummaryAsHTML.zpt
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
- Reply
-
-
-
\ No newline at end of file
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view.xml
deleted file mode 100644
index bc3028e58ce5feac85da20240f980d44ebe864a1..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view.xml
+++ /dev/null
@@ -1,189 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
_bind_names
-
-
-
-
-
-
-
-
- -
-
_asgns
-
-
-
-
-
-
-
-
-
- -
-
_objects
-
-
-
-
- -
-
action
- Base_edit
-
- -
-
description
-
-
- -
-
edit_order
-
-
-
-
- -
-
encoding
- UTF-8
-
- -
-
enctype
- multipart/form-data
-
- -
-
group_list
-
-
- left (Document Reference)
- right (Publication Information)
- left
- right
- center
- hidden
- bottom
-
-
-
- -
-
groups
-
-
- -
-
bottom
-
-
- my_text_content
-
-
-
- -
-
center
-
-
- my_description
-
-
-
- -
-
hidden
-
-
-
-
- -
-
left
-
-
- my_contributor_title_list
-
-
-
- -
-
left (Document Reference)
-
-
- my_title
- my_short_title
- my_reference
- my_version
- my_language
- my_int_index
- my_source_title
- my_revision
-
-
-
- -
-
right
-
-
- my_subject_list
-
-
-
- -
-
right (Publication Information)
-
-
- my_classification
- my_group_list
- my_site_list
- my_function_list
- my_follow_up_title_list
- my_publication_section_list
- my_translated_validation_state_title
-
-
-
-
-
-
- -
-
id
- DiscussionPost_view
-
- -
-
method
- POST
-
- -
-
name
- Base_viewClassification
-
- -
-
pt
- form_view
-
- -
-
row_length
- 4
-
- -
-
stored_encoding
- UTF-8
-
- -
-
title
- Discussion Post
-
- -
-
unicode_mode
- 0
-
- -
-
update_action
-
-
- -
-
update_action_title
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_classification.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_classification.xml
deleted file mode 100644
index a618bf747392f025a7a6570da20c2cc80f4814d1..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_classification.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
-
-
- -
-
id
- my_classification
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
field_id
- my_classification
-
- -
-
form_id
- Document_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_contributor_title_list.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_contributor_title_list.xml
deleted file mode 100644
index 45718dcf1d3454bb11c2391e5f341aabf2d38f0d..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_contributor_title_list.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
-
-
- -
-
id
- my_contributor_title_list
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
field_id
- my_contributor_title_list
-
- -
-
form_id
- Document_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_description.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_description.xml
deleted file mode 100644
index 724396b480c27083acb28c11ac2e3b1428228eaa..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_description.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
-
-
- -
-
id
- my_description
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
field_id
- my_description
-
- -
-
form_id
- Document_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_follow_up_title_list.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_follow_up_title_list.xml
deleted file mode 100644
index f9c05632d864235a53e2e37a0414fff45ad16cb2..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_follow_up_title_list.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
-
-
- -
-
id
- my_follow_up_title_list
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
field_id
- my_follow_up_title_list
-
- -
-
form_id
- Document_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_function_list.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_function_list.xml
deleted file mode 100644
index 2b478042132021d346570037129e7a9200463855..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_function_list.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
-
-
- -
-
id
- my_function_list
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
field_id
- my_function_list
-
- -
-
form_id
- Document_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_group_list.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_group_list.xml
deleted file mode 100644
index fd1fce8fab722e406d52301aba8a37b12a551f4f..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_group_list.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
-
-
- -
-
id
- my_group_list
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
field_id
- my_group_list
-
- -
-
form_id
- Document_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_int_index.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_int_index.xml
deleted file mode 100644
index 4bd62f6c707be1dbe6e00d804146f7efbd6964e9..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_int_index.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
-
-
- -
-
id
- my_int_index
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
field_id
- my_int_index
-
- -
-
form_id
- Document_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_language.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_language.xml
deleted file mode 100644
index c100f8eccbdae9ed9b8d3e1a180ba885ffad73a0..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_language.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
-
-
- -
-
id
- my_language
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
field_id
- my_language
-
- -
-
form_id
- Document_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_publication_section_list.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_publication_section_list.xml
deleted file mode 100644
index 3c6bb7ec2e63207cb45d69e70cb2c1da4b382ab5..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_publication_section_list.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
-
-
- -
-
id
- my_publication_section_list
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
field_id
- my_publication_section_list
-
- -
-
form_id
- Document_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_revision.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_revision.xml
deleted file mode 100644
index fdc21e05f1ab956270cd33ae9d902de0d16936b6..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_revision.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
-
-
- -
-
id
- my_revision
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
field_id
- my_revision
-
- -
-
form_id
- Document_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_short_title.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_short_title.xml
deleted file mode 100644
index c069268ac2eac75cfcd314a7f6e7a13502fd1f22..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_short_title.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
-
-
- -
-
id
- my_short_title
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
field_id
- my_short_title
-
- -
-
form_id
- Document_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_site_list.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_site_list.xml
deleted file mode 100644
index bda9bd63de936f705cb1bbba171267bb4756f35d..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_site_list.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
-
-
- -
-
id
- my_site_list
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
field_id
- my_site_list
-
- -
-
form_id
- Document_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_subject_list.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_subject_list.xml
deleted file mode 100644
index c1d3e895151df3040db0892b019bd6f7ec7985f0..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_subject_list.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
-
-
- -
-
id
- my_subject_list
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
field_id
- my_subject_list
-
- -
-
form_id
- Document_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_version.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_version.xml
deleted file mode 100644
index 86912ee2d5558a1200bd4ad95882f5c1102da03d..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_version.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
-
-
- -
-
id
- my_version
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
field_id
- my_version
-
- -
-
form_id
- Document_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_viewAsWeb/my_text_content.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_viewAsWeb/my_text_content.xml
deleted file mode 100644
index 50c7238082930d7502d40c40dc0f9ada89a11369..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_viewAsWeb/my_text_content.xml
+++ /dev/null
@@ -1,145 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
- css_class
- editable
- text_editor
- title
-
-
-
- -
-
id
- my_text_content
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
css_class
-
-
- -
-
editable
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
- -
-
text_editor
-
- AAAAAAAAAAI=
-
-
- -
-
title
-
-
-
-
-
- -
-
values
-
-
- -
-
css_class
- page
-
- -
-
editable
- 1
-
- -
-
field_id
- my_text_content
-
- -
-
form_id
- Base_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
- -
-
text_editor
- fck_editor
-
- -
-
title
- Body
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
_text
- python:(here.portal_preferences.getPreferredTextFormat() == \'text/html\' and here.portal_preferences.getPreferreTextEditor()) or \'text_area\'d
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_viewAsWeb/my_title.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_viewAsWeb/my_title.xml
deleted file mode 100644
index 6f0b72bca48d2913f1b11a3257bfe091a05b486c..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_viewAsWeb/my_title.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
-
-
- -
-
id
- my_title
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
field_id
- my_title
-
- -
-
form_id
- Document_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_viewAsWeb/my_translated_validation_state_title.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_viewAsWeb/my_translated_validation_state_title.xml
deleted file mode 100644
index 188eb985ce3c19bd34896003e14390611817ea9e..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_viewAsWeb/my_translated_validation_state_title.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
-
-
- -
-
id
- my_translated_validation_state_title
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
field_id
- my_translated_validation_state_title
-
- -
-
form_id
- Document_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_viewEditor/my_title.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_viewEditor/my_title.xml
deleted file mode 100644
index c5bf384370c085cebb88637ed62c64d175ce4f6c..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_viewEditor/my_title.xml
+++ /dev/null
@@ -1,96 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
- display_width
-
-
-
- -
-
id
- my_title
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
display_width
- 20
-
- -
-
field_id
- my_title
-
- -
-
form_id
- Base_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_viewEditor/my_translated_validation_state_title.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_viewEditor/my_translated_validation_state_title.xml
deleted file mode 100644
index 30dcf8f758b3340b74c240e6f81363c455942bfd..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_viewEditor/my_translated_validation_state_title.xml
+++ /dev/null
@@ -1,106 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
- title
- display_width
- editable
-
-
-
- -
-
id
- my_translated_validation_state_title
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
display_width
- 20
-
- -
-
editable
- 0
-
- -
-
field_id
- my_string_field
-
- -
-
form_id
- Base_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
- -
-
title
- State
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThreadModule_addThread.py b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThreadModule_addThread.py
new file mode 100644
index 0000000000000000000000000000000000000000..45b7c80cd664db658aa02c1c11f7aa07ce73601f
--- /dev/null
+++ b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThreadModule_addThread.py
@@ -0,0 +1,10 @@
+discussion_thread = context.getPortalObject().discussion_thread_module.newContent(
+ title = thread_title,
+ portal_type = "Discussion Thread"
+)
+discussion_thread.setReference(discussion_thread.getId())
+
+discussion_thread.DiscussionThread_createPost(thread_title, text_content)
+
+portal_status_message = "New thread created"
+discussion_thread.Base_redirect("view", keep_items = dict(portal_status_message = portal_status_message))
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThreadModule_addThread.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThreadModule_addThread.xml
new file mode 100644
index 0000000000000000000000000000000000000000..5475c9332ec743c9828ac9ddc7d5f06be1547852
--- /dev/null
+++ b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThreadModule_addThread.xml
@@ -0,0 +1,62 @@
+
+
+
+
+
+
+
+
+ -
+
Script_magic
+ 3
+
+ -
+
_bind_names
+
+
+
+
+
+
+
+
+ -
+
_asgns
+
+
+ -
+
name_container
+ container
+
+ -
+
name_context
+ context
+
+ -
+
name_m_self
+ script
+
+ -
+
name_subpath
+ traverse_subpath
+
+
+
+
+
+
+
+
+
+ -
+
_params
+ thread_title, text_content, form_id, **kw
+
+ -
+
id
+ DiscussionThreadModule_addThread
+
+
+
+
+
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/ERP5Site_viewDiscussionThreadGadget.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThreadModule_viewAddThreadDialog.xml
similarity index 75%
rename from bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/ERP5Site_viewDiscussionThreadGadget.xml
rename to bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThreadModule_viewAddThreadDialog.xml
index 92c844d97c9554b281d6a9e11d19a59563e21700..e1a87110d278563bea6a835cdcfcb9b53460af8b 100644
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/ERP5Site_viewDiscussionThreadGadget.xml
+++ b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThreadModule_viewAddThreadDialog.xml
@@ -6,27 +6,6 @@
- -
-
_bind_names
-
-
-
-
-
-
-
-
- -
-
_asgns
-
-
-
-
-
-
-
-
-
-
_objects
@@ -35,7 +14,7 @@
-
action
-
+ DiscussionThreadModule_addThread
-
description
@@ -60,9 +39,10 @@
left
+ right
center
- hidden
bottom
+ hidden
@@ -74,7 +54,7 @@
bottom
- listbox
+ my_text_content
@@ -94,16 +74,22 @@
left
- your_add_new_thread_link
+ my_thread_title
+ -
+
right
+
+
+
+
-
id
- ERP5Site_viewDiscussionThreadGadget
+ DiscussionThreadModule_viewAddThreadDialog
-
method
@@ -111,11 +97,11 @@
-
name
- ERP5Site_viewDiscussionThreadGadget
+ DiscussionThreadModule_viewAddThreadDialog
-
pt
- gadget_view
+ form_dialog
-
row_length
@@ -127,7 +113,7 @@
-
title
- Forum Threads
+ New Thread
-
unicode_mode
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_text_content.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThreadModule_viewAddThreadDialog/my_text_content.xml
similarity index 89%
rename from bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_text_content.xml
rename to bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThreadModule_viewAddThreadDialog/my_text_content.xml
index fb54a6f34a40fabab9e3c8ee6c0edc3a730c33b5..7637a4afbc0497d1745505c8a3563e0801d44b5c 100644
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_text_content.xml
+++ b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThreadModule_viewAddThreadDialog/my_text_content.xml
@@ -10,6 +10,7 @@
delegated_list
+ default
title
@@ -41,10 +42,6 @@
form_id
- -
-
target
-
-
@@ -53,15 +50,15 @@
-
-
field_id
+ default
-
-
form_id
+ field_id
-
-
target
+ form_id
-
@@ -75,6 +72,10 @@
values
+ -
+
default
+
+
-
field_id
my_text_content
@@ -83,13 +84,9 @@
form_id
Base_viewWebFieldLibrary
- -
-
target
- Click to edit the target
-
-
title
- Body
+ Text
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThreadModule_viewAddThreadDialog/my_thread_title.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThreadModule_viewAddThreadDialog/my_thread_title.xml
new file mode 100644
index 0000000000000000000000000000000000000000..981ee1c72205b076524d7aaa189d523b44cc9872
--- /dev/null
+++ b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThreadModule_viewAddThreadDialog/my_thread_title.xml
@@ -0,0 +1,272 @@
+
+
+
+
+
+
+
+
+ -
+
id
+ my_thread_title
+
+ -
+
message_values
+
+
+ -
+
external_validator_failed
+ The input failed the external validator.
+
+ -
+
required_not_found
+ Input is required but no input given.
+
+ -
+
too_long
+ Too much input was given.
+
+
+
+
+ -
+
overrides
+
+
+ -
+
alternate_name
+
+
+ -
+
css_class
+
+
+ -
+
default
+
+
+ -
+
description
+
+
+ -
+
display_maxwidth
+
+
+ -
+
display_width
+
+
+ -
+
editable
+
+
+ -
+
enabled
+
+
+ -
+
external_validator
+
+
+ -
+
extra
+
+
+ -
+
hidden
+
+
+ -
+
input_type
+
+
+ -
+
max_length
+
+
+ -
+
required
+
+
+ -
+
title
+
+
+ -
+
truncate
+
+
+ -
+
unicode
+
+
+ -
+
whitespace_preserve
+
+
+
+
+
+ -
+
tales
+
+
+ -
+
alternate_name
+
+
+ -
+
css_class
+
+
+ -
+
default
+
+
+ -
+
description
+
+
+ -
+
display_maxwidth
+
+
+ -
+
display_width
+
+
+ -
+
editable
+
+
+ -
+
enabled
+
+
+ -
+
external_validator
+
+
+ -
+
extra
+
+
+ -
+
hidden
+
+
+ -
+
input_type
+
+
+ -
+
max_length
+
+
+ -
+
required
+
+
+ -
+
title
+
+
+ -
+
truncate
+
+
+ -
+
unicode
+
+
+ -
+
whitespace_preserve
+
+
+
+
+
+ -
+
values
+
+
+ -
+
alternate_name
+
+
+ -
+
css_class
+
+
+ -
+
default
+
+
+ -
+
description
+
+
+ -
+
display_maxwidth
+
+
+ -
+
display_width
+ 20
+
+ -
+
editable
+ 1
+
+ -
+
enabled
+ 1
+
+ -
+
external_validator
+
+
+ -
+
extra
+
+
+ -
+
hidden
+ 0
+
+ -
+
input_type
+ text
+
+ -
+
max_length
+
+
+ -
+
required
+ 0
+
+ -
+
title
+ Title
+
+ -
+
truncate
+ 0
+
+ -
+
unicode
+ 0
+
+ -
+
whitespace_preserve
+ 0
+
+
+
+
+
+
+
+
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewDiscussionThreadForm.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThreadModule_viewDiscussionThreadList.xml
similarity index 73%
rename from bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewDiscussionThreadForm.xml
rename to bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThreadModule_viewDiscussionThreadList.xml
index 4330c5d14747ece47e5eebca34feb43e51053c04..34dd07d075083d4f16e217055925c533153d0f63 100644
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewDiscussionThreadForm.xml
+++ b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThreadModule_viewDiscussionThreadList.xml
@@ -6,27 +6,6 @@
- -
-
_bind_names
-
-
-
-
-
-
-
-
- -
-
_asgns
-
-
-
-
-
-
-
-
-
-
_objects
@@ -88,21 +67,13 @@
-
hidden
-
- listbox_modification_date
- listbox_author
- listbox_last_post
- listbox_title
- listbox_response_count
-
+
-
left
-
- your_add_new_thread_link
-
+
-
@@ -116,7 +87,7 @@
-
id
- WebSection_viewDiscussionThreadForm
+ DiscussionThreadModule_viewDiscussionThreadList
-
method
@@ -124,7 +95,7 @@
-
name
- ERP5Site_viewDiscussionThreadForm
+ DiscussionThreadModule_viewDiscussionThreadList
-
pt
@@ -140,7 +111,7 @@
-
title
- Discussion Thread Form
+ Discussion Threads
-
unicode_mode
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_source_title.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThreadModule_viewDiscussionThreadList/listbox.xml
similarity index 79%
rename from bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_source_title.xml
rename to bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThreadModule_viewDiscussionThreadList/listbox.xml
index 732d627944b780cbdb72eed4cf6c1423558fb59c..4955eff37f90c986a8bd54ec4578a47e965a0b76 100644
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_source_title.xml
+++ b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThreadModule_viewDiscussionThreadList/listbox.xml
@@ -11,13 +11,14 @@
portal_type
+ selection_name
title
-
id
- my_source_title
+ listbox
-
message_values
@@ -42,10 +43,6 @@
form_id
- -
-
target
-
-
@@ -61,10 +58,6 @@
form_id
- -
-
target
-
-
@@ -74,7 +67,7 @@
-
field_id
- my_relation_field
+ my_list_mode_listbox
-
form_id
@@ -85,19 +78,19 @@
- Person
- Person
+ Discussion Thread
+ Discussion Thread
-
-
target
- Click to edit the target
+ selection_name
+ discussion_thread_module_selection
-
title
- Source
+ Discussion Threads
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_addReply.py b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_addReply.py
new file mode 100644
index 0000000000000000000000000000000000000000..7010195918a689e4fc338d820ac31c400f9b783c
--- /dev/null
+++ b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_addReply.py
@@ -0,0 +1,8 @@
+assert context.getPortalType() == "Discussion Thread"
+
+title = "Re: " + context.getTitle()
+
+context.DiscussionThread_createPost(title, text_content)
+
+portal_status_message = "New post created"
+context.Base_redirect("view", keep_items = dict(portal_status_message = portal_status_message))
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_addReply.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_addReply.xml
new file mode 100644
index 0000000000000000000000000000000000000000..dd11cb661b72b5ef9dfa3bac2401b6fe4f95b763
--- /dev/null
+++ b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_addReply.xml
@@ -0,0 +1,62 @@
+
+
+
+
+
+
+
+
+ -
+
Script_magic
+ 3
+
+ -
+
_bind_names
+
+
+
+
+
+
+
+
+ -
+
_asgns
+
+
+ -
+
name_container
+ container
+
+ -
+
name_context
+ context
+
+ -
+
name_m_self
+ script
+
+ -
+
name_subpath
+ traverse_subpath
+
+
+
+
+
+
+
+
+
+ -
+
_params
+ text_content, form_id, **kw
+
+ -
+
id
+ DiscussionThread_addReply
+
+
+
+
+
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_createNewDiscussionPost.py b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_createNewDiscussionPost.py
deleted file mode 100644
index 4ca13bcf345c3278da40f7109b52b21895507401..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_createNewDiscussionPost.py
+++ /dev/null
@@ -1,59 +0,0 @@
-"""
- This script allows to create a new Discussion Post in context.
-"""
-from DateTime import DateTime
-
-portal = context.getPortalObject()
-person = portal.portal_membership.getAuthenticatedMember().getUserValue()
-
-discussion_thread = context
-is_temp_object = discussion_thread.isTempObject()
-
-if is_temp_object:
- # this is a temporary object accessed by its reference
- # we need to get real ZODB one
- discussion_thread = discussion_thread.getOriginalDocument()
-
-discussion_post = discussion_thread.newContent(
- portal_type = "Discussion Post",
- title = title,
- text_content = text_content,
- source_value = person,
- predecessor_value = predecessor,
- version = '001',
- language = portal.Localizer.get_selected_language(),
- text_format = 'text/html')
-
-# handle attachments
-if getattr(file, 'filename', '') != '':
- document_kw = {'batch_mode': True,
- 'redirect_to_document': False,
- 'file': file}
- document = context.Base_contribute(**document_kw)
-
- # set relation between post and document
- discussion_post.setSuccessorValueList([document])
-
- # depending on security model this should be changed accordingly
- document.publish()
-
-# depending on security model Post can be submitted for review
-portal_status_message = context.Base_translateString("New post created.")
-
-# a parent thread is actually just a logical container so it's modified
-# whenever a new post is done
-discussion_thread.edit(modification_date = DateTime())
-
-# pass current post's relative url in request so next view
-# is able to show it without waiting for indexation
-post_relative_url = discussion_post.getRelativeUrl()
-
-if not is_temp_object:
- return discussion_thread.Base_redirect(form_id,
- keep_items = dict(portal_status_message=portal_status_message,
- post_relative_url = post_relative_url))
-else:
- # redirect using again reference
- redirect_url = '%s?portal_status_message=%s&post_relative_url=%s' \
- %(context.REQUEST['URL1'],portal_status_message,post_relative_url)
- context.REQUEST.RESPONSE.redirect(redirect_url)
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_createNewDiscussionPost.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_createNewDiscussionPost.xml
deleted file mode 100644
index cf662434e93c0b6c68e4887ce4e0b72b121c59a9..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_createNewDiscussionPost.xml
+++ /dev/null
@@ -1,72 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
Script_magic
- 3
-
- -
-
_bind_names
-
-
-
-
-
-
-
-
- -
-
_asgns
-
-
- -
-
name_container
- container
-
- -
-
name_context
- context
-
- -
-
name_m_self
- script
-
- -
-
name_subpath
- traverse_subpath
-
-
-
-
-
-
-
-
-
- -
-
_params
- title, text_content, form_id=\'view\', predecessor=None, file=None, **kw
-
- -
-
_proxy_roles
-
-
- Assignor
- Manager
- Owner
-
-
-
- -
-
id
- DiscussionThread_createNewDiscussionPost
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_createPost.py b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_createPost.py
new file mode 100644
index 0000000000000000000000000000000000000000..462ed4739d97c9d1a46f5011ca142a19f6687621
--- /dev/null
+++ b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_createPost.py
@@ -0,0 +1,20 @@
+post = context.PostModule_createHTMLPost(
+ title = title,
+ source_reference = context.getReference(),
+ data = text_content,
+ follow_up = context.getRelativeUrl(),
+ predecessor = None
+)
+
+attached_file = None
+web_site_relative_url = None
+if attached_file not in ("undefined", None):
+ pass # TODO attached file
+else:
+ post.publish()
+
+after_ingest_document_tag = 'after-ingest-%s' % post.getId()
+post.activate(
+ after_tag=after_ingest_document_tag
+ ).Post_ingestAndCreateEvent(
+ web_site_relative_url=web_site_relative_url)
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_getChildDiscussionPostRawText.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_createPost.xml
similarity index 93%
rename from bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_getChildDiscussionPostRawText.xml
rename to bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_createPost.xml
index bae3126268012a9f0f1d11f04e53a07fcb976269..0ee03ae451ff0b80b1587fafe9851b924747ca0d 100644
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_getChildDiscussionPostRawText.xml
+++ b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_createPost.xml
@@ -50,11 +50,11 @@
-
_params
-
+ title, text_content
-
id
- DiscussionThread_getChildDiscussionPostRawText
+ DiscussionThread_createPost
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_deleteDiscussionPost.py b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_deleteDiscussionPost.py
deleted file mode 100644
index 3165dd8d452441bc5bf2ed234c4814171ccd8050..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_deleteDiscussionPost.py
+++ /dev/null
@@ -1,8 +0,0 @@
-"""
- Delete Discussion Post.
-"""
-discussion_post = getattr(context, delete_discussion_post_id)
-discussion_post.reject()
-discussion_post.delete()
-context.Base_redirect('view', \
- keep_items={'portal_status_message': context.Base_translateString('Post rejected.')})
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_getChildDiscussionPostRawText.py b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_getChildDiscussionPostRawText.py
deleted file mode 100644
index db932edd5fd29d25187b052fe598084c18257225..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_getChildDiscussionPostRawText.py
+++ /dev/null
@@ -1,9 +0,0 @@
-child_raw_text = ""
-
-child_brain_list = context.DiscussionThread_getContextPostList(
- sort_on=['creation_date', 'descending'],
- )
-for child in child_brain_list:
- child_raw_text += child.asRawText()
-#XX If word is last, it is not displayed
-return child_raw_text
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_getContextPostCount.py b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_getContextPostCount.py
deleted file mode 100644
index b57807e354ec79069b335d8701210bd5249dca95..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_getContextPostCount.py
+++ /dev/null
@@ -1,9 +0,0 @@
-""" This script returns the number of Discussion Post objects from the Discussion Thread
- object that is associated to this context.
- If there is no Discussion Thread, 0 is returned."""
-discussion = context.DiscussionThread_getContextThread()
-
-if discussion == None:
- return 0
-
-return len(discussion.searchFolder(portal_type='Discussion Post'))
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_getContextPostList.py b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_getContextPostList.py
deleted file mode 100644
index 75c147b6eb170531e6e32fe513e21f0be30345af..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_getContextPostList.py
+++ /dev/null
@@ -1,18 +0,0 @@
-"""
- This script returns the list of Discussion Post objects from the Discussion Thread object
- that is associated to this context.
- If there is no Discussion Thread, an empty list is returned.
-"""
-
-if context.getPortalType() != "Discussion Thread":
- discussion = context.DiscussionThread_getContextThread()
-else:
- discussion = context
-
-if discussion == None:
- return []
-
-if kw.has_key("portal_type") == False:
- kw['portal_type'] = "Discussion Post"
-
-return discussion.searchFolder(**kw)
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_getContextThread.py b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_getContextThread.py
deleted file mode 100644
index 651d79a11a69c8a5fd19efa2f527076393cd14bd..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_getContextThread.py
+++ /dev/null
@@ -1,11 +0,0 @@
-"""This script returns ththe Discussion Thread object that is associated to this context.
-Or the first if many.
-If there is no Discussion Thread, return None.
-Need a proxy to work correctly with anonymous user"""
-
-discussion = context.getFollowUpRelated(portal_type = "Discussion Thread")
-
-if discussion is not None:
- discussion = context.restrictedTraverse(discussion, None)
-
-return discussion
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_getContextThread.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_getContextThread.xml
deleted file mode 100644
index 1e9ba8dd8d77ce3d6f6ad3e5caf68e6498b0a01c..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_getContextThread.xml
+++ /dev/null
@@ -1,71 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
Script_magic
- 3
-
- -
-
_bind_names
-
-
-
-
-
-
-
-
- -
-
_asgns
-
-
- -
-
name_container
- container
-
- -
-
name_context
- context
-
- -
-
name_m_self
- script
-
- -
-
name_subpath
- traverse_subpath
-
-
-
-
-
-
-
-
-
- -
-
_params
- **kw
-
- -
-
_proxy_roles
-
-
- Assignee
- Assignor
-
-
-
- -
-
id
- DiscussionThread_getContextThread
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_getContextThreadList.py b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_getContextThreadList.py
deleted file mode 100644
index 610c6b0aa91c5e46c666770fd4e6132b79ec3521..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_getContextThreadList.py
+++ /dev/null
@@ -1,8 +0,0 @@
-"""This script returns the Discussion Thread list that is associated to this context.
-Need a proxy to work correctly with anonymous user"""
-
-if not kw.has_key('portal_type'):
- kw["portal_type"] = "Discussion Thread"
-kw["follow_up_uid"] = context.getUid()
-
-return [x.getObject() for x in context.portal_catalog(**kw)]
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_getContextThreadList.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_getContextThreadList.xml
deleted file mode 100644
index 719b5f69dded240d7c265e67764fc9c4c70de73e..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_getContextThreadList.xml
+++ /dev/null
@@ -1,71 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
Script_magic
- 3
-
- -
-
_bind_names
-
-
-
-
-
-
-
-
- -
-
_asgns
-
-
- -
-
name_container
- container
-
- -
-
name_context
- context
-
- -
-
name_m_self
- script
-
- -
-
name_subpath
- traverse_subpath
-
-
-
-
-
-
-
-
-
- -
-
_params
- **kw
-
- -
-
_proxy_roles
-
-
- Assignee
- Assignor
-
-
-
- -
-
id
- DiscussionThread_getContextThreadList
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_getDiscussionPostList.py b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_getDiscussionPostList.py
deleted file mode 100644
index b0efeea6288f5cd53c16ef19bde24cc69ed76be3..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_getDiscussionPostList.py
+++ /dev/null
@@ -1,14 +0,0 @@
-"""
- This script gets list of Discussion Posts for a Discussion Thread
- using catalog.
- Due to asynchronous nature of catalog it can use
- passed from REQUEST not index yet posts.
-"""
-post_relative_url = context.REQUEST.get('post_relative_url')
-discussion_post_list = [x.getObject() for x in context.searchFolder(**kw)]
-
-if post_relative_url is not None:
- post = context.restrictedTraverse(post_relative_url)
- if post is not None and post not in discussion_post_list:
- discussion_post_list.append(post)
-return discussion_post_list
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_getLastPost.py b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_getLastPost.py
deleted file mode 100644
index d463c62ea2f09408ec073291dd238a3fde572720..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_getLastPost.py
+++ /dev/null
@@ -1,9 +0,0 @@
-"""
- Get last Disccussion Post for a Discussion Thread.
-"""
-post_list = context.searchFolder(portal_type='Discussion Post', \
- sort_on=[('creation_date','descending')])
-if len(post_list) == 0:
- return None
-else:
- return post_list[0].getObject()
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_isUserAllowedToPost.py b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_isUserAllowedToPost.py
deleted file mode 100644
index 1b810e1f711968c9ee93839d4dea8465cef6029e..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_isUserAllowedToPost.py
+++ /dev/null
@@ -1,8 +0,0 @@
-"""
- Evaluate if user is allowed to create new Discussion Post in context.
-
-"""
-return context.portal_membership.checkPermission('Add portal content', context) or \
- (context.getValidationState() in ('published', 'published_alive', \
- 'shared', 'shared_alive', \
- 'released', 'released_alive',))
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_isUserAllowedToPost.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_isUserAllowedToPost.xml
deleted file mode 100644
index f37cdc64c9684c963de9a55f20cf11678ca0144a..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_isUserAllowedToPost.xml
+++ /dev/null
@@ -1,58 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
Script_magic
- 3
-
- -
-
_bind_names
-
-
-
-
-
-
-
-
- -
-
_asgns
-
-
- -
-
name_container
- container
-
- -
-
name_context
- context
-
- -
-
name_m_self
- script
-
- -
-
name_subpath
- traverse_subpath
-
-
-
-
-
-
-
-
-
- -
-
id
- DiscussionThread_isUserAllowedToPost
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_redirectCreateNewDiscussionPost.py b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_redirectCreateNewDiscussionPost.py
deleted file mode 100644
index c06323c9c29a83753b012f2a96b2428f82c413b5..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_redirectCreateNewDiscussionPost.py
+++ /dev/null
@@ -1,19 +0,0 @@
-portal = context.getPortalObject()
-preferred_forum_quote_original_message= portal.ERP5Site_getUserPreferredForumSettingsDict()['preferred_forum_quote_original_message']
-
-if discussion_post_uid is not None:
- # set title & text_content
- discussion_post = getattr(context, discussion_post_uid)
-
- title = discussion_post.getTitle()
- if not title.lower().startswith('re:'):
- # stop exploding "Re: Re: .." to one level
- title = 'Re: %s' %title
- context.REQUEST.set('discussion_post_title', title)
- if preferred_forum_quote_original_message:
- author_dict = discussion_post.DiscussionPost_getAuthorDict()
- text_content = '
From: %s %s ' %(author_dict['author_title'],
- discussion_post.getTextContent())
- context.REQUEST.set('discussion_post_text_content', text_content)
-
-return context.DiscussionThread_viewCreateNewDiscussionPostDialog()
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_redirectCreateNewDiscussionPost.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_redirectCreateNewDiscussionPost.xml
deleted file mode 100644
index 0a50d7921ffddb719fe49e8bceeb4b4c52ab3877..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_redirectCreateNewDiscussionPost.xml
+++ /dev/null
@@ -1,62 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
Script_magic
- 3
-
- -
-
_bind_names
-
-
-
-
-
-
-
-
- -
-
_asgns
-
-
- -
-
name_container
- container
-
- -
-
name_context
- context
-
- -
-
name_m_self
- script
-
- -
-
name_subpath
- traverse_subpath
-
-
-
-
-
-
-
-
-
- -
-
_params
- discussion_post_uid=None
-
- -
-
id
- DiscussionThread_redirectCreateNewDiscussionPost
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view.xml
index 0c1d0f6928548fa9562399d7da896ef1ea284ee5..fc11c33ad0c787b64dd1ef53bca863b439ab403c 100644
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view.xml
+++ b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view.xml
@@ -6,27 +6,6 @@
- -
-
_bind_names
-
-
-
-
-
-
-
-
- -
-
_asgns
-
-
-
-
-
-
-
-
-
-
_objects
@@ -39,7 +18,13 @@
-
description
- Test site to make a forum application
+
+
+ -
+
edit_order
+
+
+
-
encoding
@@ -47,19 +32,17 @@
-
enctype
- multipart/form-data
+
-
group_list
- left (Document Reference)
- right (Publication Information)
left
right
center
- hidden
bottom
+ hidden
@@ -71,16 +54,14 @@
bottom
- listbox
+ my_listbox
-
center
-
- my_description
-
+
-
@@ -91,47 +72,17 @@
-
left
-
-
- my_contributor_title_list
-
-
-
- -
-
left (Document Reference)
my_title
- my_short_title
my_reference
- my_version
- my_language
- my_int_index
- my_source_title
- my_revision
-
right
-
- my_subject_list
-
-
-
- -
-
right (Publication Information)
-
-
- my_classification
- my_group_list
- my_site_list
- my_function_list
- my_follow_up_title_list
- my_publication_section_list
- my_translated_validation_state_title
-
+
@@ -147,7 +98,7 @@
-
name
- Base_viewClassification
+ DiscussionThread_view
-
pt
@@ -173,6 +124,10 @@
update_action
+ -
+
update_action_title
+
+
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/listbox.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/listbox.xml
deleted file mode 100644
index 6e8bdb25201bcdf47476eb7860d51cfee982358f..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/listbox.xml
+++ /dev/null
@@ -1,169 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
- columns
- list_method
- page_template
- portal_types
- selection_name
- sort
- title
-
-
-
- -
-
id
- listbox
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
columns
-
-
-
- title
- Title
-
-
- creation_date
- Date
-
-
-
-
- -
-
field_id
- my_view_mode_listbox
-
- -
-
form_id
- Base_viewFieldLibrary
-
- -
-
list_method
-
- AAAAAAAAAAI=
-
-
- -
-
page_template
-
-
- -
-
portal_types
-
-
-
- Discussion Post
- Discussion Post
-
-
-
-
- -
-
selection_name
- discussion_post_selection
-
- -
-
sort
-
-
-
- creation_date
- ascending
-
-
-
-
- -
-
target
- Click to edit the target
-
- -
-
title
- Discussion Posts
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
method_name
- contentValues
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_classification.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_classification.xml
deleted file mode 100644
index a618bf747392f025a7a6570da20c2cc80f4814d1..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_classification.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
-
-
- -
-
id
- my_classification
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
field_id
- my_classification
-
- -
-
form_id
- Document_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_contributor_title_list.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_contributor_title_list.xml
deleted file mode 100644
index 45718dcf1d3454bb11c2391e5f341aabf2d38f0d..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_contributor_title_list.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
-
-
- -
-
id
- my_contributor_title_list
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
field_id
- my_contributor_title_list
-
- -
-
form_id
- Document_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_description.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_description.xml
deleted file mode 100644
index 724396b480c27083acb28c11ac2e3b1428228eaa..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_description.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
-
-
- -
-
id
- my_description
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
field_id
- my_description
-
- -
-
form_id
- Document_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_follow_up_title_list.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_follow_up_title_list.xml
deleted file mode 100644
index f9c05632d864235a53e2e37a0414fff45ad16cb2..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_follow_up_title_list.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
-
-
- -
-
id
- my_follow_up_title_list
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
field_id
- my_follow_up_title_list
-
- -
-
form_id
- Document_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_function_list.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_function_list.xml
deleted file mode 100644
index 2b478042132021d346570037129e7a9200463855..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_function_list.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
-
-
- -
-
id
- my_function_list
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
field_id
- my_function_list
-
- -
-
form_id
- Document_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_group_list.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_group_list.xml
deleted file mode 100644
index fd1fce8fab722e406d52301aba8a37b12a551f4f..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_group_list.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
-
-
- -
-
id
- my_group_list
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
field_id
- my_group_list
-
- -
-
form_id
- Document_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_int_index.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_int_index.xml
deleted file mode 100644
index 4bd62f6c707be1dbe6e00d804146f7efbd6964e9..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_int_index.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
-
-
- -
-
id
- my_int_index
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
field_id
- my_int_index
-
- -
-
form_id
- Document_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_language.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_language.xml
deleted file mode 100644
index c100f8eccbdae9ed9b8d3e1a180ba885ffad73a0..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_language.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
-
-
- -
-
id
- my_language
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
field_id
- my_language
-
- -
-
form_id
- Document_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/ERP5Site_viewDiscussionThreadGadget/your_add_new_thread_link.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_listbox.xml
similarity index 73%
rename from bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/ERP5Site_viewDiscussionThreadGadget/your_add_new_thread_link.xml
rename to bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_listbox.xml
index 1c162034cadef36e852cc31f1d2a6531c88d805f..a16ffd3f841490aee6702c57574512fa82415136 100644
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/ERP5Site_viewDiscussionThreadGadget/your_add_new_thread_link.xml
+++ b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_listbox.xml
@@ -10,17 +10,16 @@
delegated_list
- css_class
- default
- editable
- enabled
+ description
+ gadget_url
+ renderjs_extra
title
-
id
- your_add_new_thread_link
+ my_listbox
-
message_values
@@ -57,32 +56,32 @@
-
-
css_class
+ description
-
-
default
-
- AAAAAAAAAAI=
-
+ field_id
+
-
-
editable
+ form_id
-
-
enabled
+ gadget_url
- AAAAAAAAAAM=
+ AAAAAAAAAAI=
-
-
field_id
+ height
-
-
form_id
-
+ renderjs_extra
+
+ AAAAAAAAAAM=
+
-
target
@@ -100,28 +99,30 @@
-
-
css_class
- hidden_label button
+ description
+ Content of the web page
-
-
default
-
+ field_id
+ my_text_content
-
-
editable
- 0
+ form_id
+ Base_viewWebFieldLibrary
-
-
enabled
- 1
+ gadget_url
+
-
-
field_id
- my_editor_field
+ height
+ 40
-
-
form_id
- Base_viewFieldLibrary
+ renderjs_extra
+
+
+
-
target
@@ -129,7 +130,7 @@
-
title
- Editor Field
+ Post List
@@ -145,11 +146,7 @@
-
_text
- Post message \' %(here.getWebSiteValue().absolute_url(), here.absolute_url())
-
-]]>
+ python: field.restrictedTraverse(\'gadget_postlist.html\').absolute_url()
@@ -162,7 +159,7 @@ python: \'
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_publication_section_list.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_publication_section_list.xml
deleted file mode 100644
index 3c6bb7ec2e63207cb45d69e70cb2c1da4b382ab5..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_publication_section_list.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
-
-
- -
-
id
- my_publication_section_list
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
field_id
- my_publication_section_list
-
- -
-
form_id
- Document_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_revision.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_revision.xml
deleted file mode 100644
index fdc21e05f1ab956270cd33ae9d902de0d16936b6..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_revision.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
-
-
- -
-
id
- my_revision
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
field_id
- my_revision
-
- -
-
form_id
- Document_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_short_title.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_short_title.xml
deleted file mode 100644
index c069268ac2eac75cfcd314a7f6e7a13502fd1f22..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_short_title.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
-
-
- -
-
id
- my_short_title
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
field_id
- my_short_title
-
- -
-
form_id
- Document_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_site_list.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_site_list.xml
deleted file mode 100644
index bda9bd63de936f705cb1bbba171267bb4756f35d..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_site_list.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
-
-
- -
-
id
- my_site_list
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
field_id
- my_site_list
-
- -
-
form_id
- Document_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_source_title.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_source_title.xml
deleted file mode 100644
index 732d627944b780cbdb72eed4cf6c1423558fb59c..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_source_title.xml
+++ /dev/null
@@ -1,108 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
- portal_type
- title
-
-
-
- -
-
id
- my_source_title
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
field_id
- my_relation_field
-
- -
-
form_id
- Base_viewFieldLibrary
-
- -
-
portal_type
-
-
-
- Person
- Person
-
-
-
-
- -
-
target
- Click to edit the target
-
- -
-
title
- Source
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_subject_list.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_subject_list.xml
deleted file mode 100644
index c1d3e895151df3040db0892b019bd6f7ec7985f0..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_subject_list.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
-
-
- -
-
id
- my_subject_list
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
field_id
- my_subject_list
-
- -
-
form_id
- Document_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_title.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_title.xml
index 6f0b72bca48d2913f1b11a3257bfe091a05b486c..4cc7d2e889b694839cd669fac164e3a5b87a9ff5 100644
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_title.xml
+++ b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_title.xml
@@ -2,16 +2,10 @@
-
+
- -
-
delegated_list
-
-
-
-
-
id
my_title
@@ -24,6 +18,14 @@
external_validator_failed
The input failed the external validator.
+ -
+
required_not_found
+ Input is required but no input given.
+
+ -
+
too_long
+ Too much input was given.
+
@@ -32,15 +34,75 @@
-
-
field_id
+ alternate_name
+
+
+ -
+
css_class
+
+
+ -
+
default
+
+
+ -
+
description
+
+
+ -
+
display_maxwidth
+
+
+ -
+
display_width
+
+
+ -
+
editable
+
+
+ -
+
enabled
+
+
+ -
+
external_validator
+
+
+ -
+
extra
+
+
+ -
+
hidden
+
+
+ -
+
input_type
+
+
+ -
+
max_length
+
+
+ -
+
required
+
+
+ -
+
title
+
+
+ -
+
truncate
-
-
form_id
+ unicode
-
-
target
+ whitespace_preserve
@@ -51,15 +113,75 @@
-
-
field_id
+ alternate_name
+
+
+ -
+
css_class
+
+
+ -
+
default
+
+
+ -
+
description
+
+
+ -
+
display_maxwidth
+
+
+ -
+
display_width
-
-
form_id
+ editable
-
-
target
+ enabled
+
+
+ -
+
external_validator
+
+
+ -
+
extra
+
+
+ -
+
hidden
+
+
+ -
+
input_type
+
+
+ -
+
max_length
+
+
+ -
+
required
+
+
+ -
+
title
+
+
+ -
+
truncate
+
+
+ -
+
unicode
+
+
+ -
+
whitespace_preserve
@@ -70,16 +192,76 @@
-
-
field_id
- my_title
+ alternate_name
+
+
+ -
+
css_class
+
+
+ -
+
default
+
+
+ -
+
description
+
+
+ -
+
display_maxwidth
+
+
+ -
+
display_width
+ 20
+
+ -
+
editable
+ 1
+
+ -
+
enabled
+ 1
+
+ -
+
external_validator
+
+
+ -
+
extra
+
+
+ -
+
hidden
+ 0
+
+ -
+
input_type
+ text
+
+ -
+
max_length
+
+
+ -
+
required
+ 0
+
+ -
+
title
+ Title
+
+ -
+
truncate
+ 0
-
-
form_id
- Document_viewFieldLibrary
+ unicode
+ 0
-
-
target
- Click to edit the target
+ whitespace_preserve
+ 0
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_translated_validation_state_title.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_translated_validation_state_title.xml
deleted file mode 100644
index 188eb985ce3c19bd34896003e14390611817ea9e..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_translated_validation_state_title.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
-
-
- -
-
id
- my_translated_validation_state_title
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
field_id
- my_translated_validation_state_title
-
- -
-
form_id
- Document_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_version.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_version.xml
deleted file mode 100644
index 86912ee2d5558a1200bd4ad95882f5c1102da03d..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_view/my_version.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
-
-
- -
-
id
- my_version
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
field_id
- my_version
-
- -
-
form_id
- Document_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewAddReplyDialog.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewAddReplyDialog.xml
new file mode 100644
index 0000000000000000000000000000000000000000..ac492624f6b5078574c6180d3542d3552dd7989d
--- /dev/null
+++ b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewAddReplyDialog.xml
@@ -0,0 +1,131 @@
+
+
+
+
+
+
+
+
+ -
+
_objects
+
+
+
+
+ -
+
action
+ DiscussionThread_addReply
+
+ -
+
description
+
+
+ -
+
edit_order
+
+
+
+
+ -
+
encoding
+ UTF-8
+
+ -
+
enctype
+
+
+ -
+
group_list
+
+
+ left
+ right
+ center
+ bottom
+ hidden
+
+
+
+ -
+
groups
+
+
+ -
+
bottom
+
+
+ my_text_content
+
+
+
+ -
+
center
+
+
+
+
+ -
+
hidden
+
+
+
+
+ -
+
left
+
+
+
+
+ -
+
right
+
+
+
+
+
+
+
+ -
+
id
+ DiscussionThread_viewAddReplyDialog
+
+ -
+
method
+ POST
+
+ -
+
name
+ DiscussionThread_viewAddReplyDialog
+
+ -
+
pt
+ form_dialog
+
+ -
+
row_length
+ 4
+
+ -
+
stored_encoding
+ UTF-8
+
+ -
+
title
+ Reply
+
+ -
+
unicode_mode
+ 0
+
+ -
+
update_action
+
+
+ -
+
update_action_title
+
+
+
+
+
+
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewEditor/my_title.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewAddReplyDialog/my_text_content.xml
similarity index 81%
rename from bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewEditor/my_title.xml
rename to bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewAddReplyDialog/my_text_content.xml
index 0397f4f20ccd66e9fa70fa5169dd8315e347ff82..d3dcb558e4f77c06c9ed6323f8c7adb5f8a0c5ae 100644
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewEditor/my_title.xml
+++ b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewAddReplyDialog/my_text_content.xml
@@ -9,12 +9,15 @@
-
delegated_list
-
+
+ default
+ title
+
-
id
- my_title
+ my_text_content
-
message_values
@@ -39,10 +42,6 @@
form_id
- -
-
target
-
-
@@ -58,10 +57,6 @@
form_id
- -
-
target
-
-
@@ -69,17 +64,21 @@
values
+ -
+
default
+
+
-
field_id
- my_title
+ my_text_content
-
form_id
- Base_viewFieldLibrary
+ Base_viewWebFieldLibrary
-
-
target
- Click to edit the target
+ title
+ Content
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewAsWeb.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewAsWeb.xml
deleted file mode 100644
index d082d9bd7001c4c1460bae5f4f527e9c5559882f..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewAsWeb.xml
+++ /dev/null
@@ -1,158 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
_bind_names
-
-
-
-
-
-
-
-
- -
-
_asgns
-
-
-
-
-
-
-
-
-
- -
-
_objects
-
-
-
-
- -
-
action
- Base_edit
-
- -
-
description
- Test site to make a forum application
-
- -
-
edit_order
-
-
-
-
- -
-
encoding
- UTF-8
-
- -
-
enctype
- multipart/form-data
-
- -
-
group_list
-
-
- left
- right
- center
- hidden
- bottom
-
-
-
- -
-
groups
-
-
- -
-
bottom
-
-
- listbox
-
-
-
- -
-
center
-
-
-
-
- -
-
hidden
-
-
- listbox_getSummaryAsHTML
-
-
-
- -
-
left
-
-
- my_title
- my_include
- my_rss_link
-
-
-
- -
-
right
-
-
-
-
-
-
-
- -
-
id
- DiscussionThread_viewAsWeb
-
- -
-
method
- POST
-
- -
-
name
- Base_viewClassification
-
- -
-
pt
- form_list
-
- -
-
row_length
- 4
-
- -
-
stored_encoding
- UTF-8
-
- -
-
title
- Discussion Thread
-
- -
-
unicode_mode
- 0
-
- -
-
update_action
-
-
- -
-
update_action_title
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewAsWeb/listbox.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewAsWeb/listbox.xml
deleted file mode 100644
index 2a6f77a20d9d9f9593be70ccd9221d213f8ab70e..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewAsWeb/listbox.xml
+++ /dev/null
@@ -1,186 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
- columns
- css_class
- editable_columns
- list_method
- page_template
- portal_types
- sort
- title
- url_columns
-
-
-
- -
-
id
- listbox
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
columns
-
-
-
- getSummaryAsHTML
- Summary
-
-
-
-
- -
-
css_class
- discussion-thread-listbox
-
- -
-
editable_columns
-
-
-
- getSummaryAsHTML
- getSummaryAsHTML
-
-
-
-
- -
-
field_id
- my_view_mode_listbox
-
- -
-
form_id
- Base_viewFieldLibrary
-
- -
-
list_method
-
- AAAAAAAAAAI=
-
-
- -
-
page_template
- ListBox_asHTML
-
- -
-
portal_types
-
-
-
- Discussion Post
- Discussion Post
-
-
-
-
- -
-
sort
-
-
-
- creation_date
- ascending
-
-
-
-
- -
-
target
- Click to edit the target
-
- -
-
title
- Discussion Posts
-
- -
-
url_columns
-
-
-
- getSummaryAsHTML
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
method_name
- DiscussionThread_getDiscussionPostList
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewAsWeb/listbox_getSummaryAsHTML.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewAsWeb/listbox_getSummaryAsHTML.xml
deleted file mode 100644
index 1648ec0f60121666231dc08b07179ed6c87c21fb..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewAsWeb/listbox_getSummaryAsHTML.xml
+++ /dev/null
@@ -1,118 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
- default
-
-
-
- -
-
id
- listbox_getSummaryAsHTML
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
default
-
- AAAAAAAAAAI=
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
default
-
-
- -
-
field_id
- my_editor_field
-
- -
-
form_id
- Base_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
_text
- python: cell.DiscussionPost_getSummaryAsHTML()
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewAsWeb/my_include.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewAsWeb/my_include.xml
deleted file mode 100644
index 6a94f427e2cd09f080fe75ff43ad0a6ef6086bc3..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewAsWeb/my_include.xml
+++ /dev/null
@@ -1,124 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
- css_class
- default
-
-
-
- -
-
id
- my_include
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
default
-
- AAAAAAAAAAI=
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
css_class
- hidden_label
-
- -
-
default
-
-
- -
-
field_id
- my_editor_field
-
- -
-
form_id
- Base_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
_text
-
-
-]]>
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewAsWeb/my_rss_link.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewAsWeb/my_rss_link.xml
deleted file mode 100644
index ac4a8be6bd9f40940e54d3962b84f26a19da32d4..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewAsWeb/my_rss_link.xml
+++ /dev/null
@@ -1,137 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
- css_class
- default
- title
-
-
-
- -
-
id
- my_rss_link
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
css_class
-
-
- -
-
default
-
- AAAAAAAAAAI=
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
- -
-
title
-
-
-
-
-
- -
-
values
-
-
- -
-
css_class
- hidden_label
-
- -
-
default
-
-
- -
-
field_id
- my_editor_field
-
- -
-
form_id
- Base_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
- -
-
title
- RSS / Atom Link
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
_text
-
-
-]]>
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewAsWeb/my_title.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewAsWeb/my_title.xml
deleted file mode 100644
index 95e661a467b7505f1a37886d7ae1f356aa152fa5..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewAsWeb/my_title.xml
+++ /dev/null
@@ -1,110 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
- display_width
- enabled
- title
-
-
-
- -
-
id
- my_title
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
display_width
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
display_width
- 40
-
- -
-
enabled
- 0
-
- -
-
field_id
- my_title
-
- -
-
form_id
- Base_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
- -
-
title
- Title
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewAuthorWidget.zpt b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewAuthorWidget.zpt
deleted file mode 100644
index 017570149f25dbf6e6849254814789ae09eaeddc..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewAuthorWidget.zpt
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewCreateNewDiscussionPostDialog.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewCreateNewDiscussionPostDialog.xml
deleted file mode 100644
index b9ae4bd414c6b932eb29c1b557499a74290fe3f2..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewCreateNewDiscussionPostDialog.xml
+++ /dev/null
@@ -1,156 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
_bind_names
-
-
-
-
-
-
-
-
- -
-
_asgns
-
-
-
-
-
-
-
-
-
- -
-
_objects
-
-
-
-
- -
-
action
- DiscussionThread_createNewDiscussionPost
-
- -
-
description
- Use this dialog to create a reply and associate it to a Post
-
- -
-
edit_order
-
-
-
-
- -
-
encoding
- UTF-8
-
- -
-
enctype
- multipart/form-data
-
- -
-
group_list
-
-
- left reply-dialog
- right
- center
- bottom
- hidden
-
-
-
- -
-
groups
-
-
- -
-
bottom
-
-
-
-
- -
-
center
-
-
-
-
- -
-
hidden
-
-
-
-
- -
-
left reply-dialog
-
-
- your_title
- your_text_content
- your_file
- your_captcha
- your_warning
-
-
-
- -
-
right
-
-
-
-
-
-
-
- -
-
id
- DiscussionThread_viewCreateNewDiscussionPostDialog
-
- -
-
method
- POST
-
- -
-
name
-
-
- -
-
pt
- form_dialog
-
- -
-
row_length
- 4
-
- -
-
stored_encoding
- UTF-8
-
- -
-
title
- Reply
-
- -
-
unicode_mode
- 0
-
- -
-
update_action
-
-
- -
-
update_action_title
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewCreateNewDiscussionPostDialog/your_captcha.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewCreateNewDiscussionPostDialog/your_captcha.xml
deleted file mode 100644
index 362744daac0d43dedb02a2295847d68cc15e4cd1..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewCreateNewDiscussionPostDialog/your_captcha.xml
+++ /dev/null
@@ -1,118 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
- enabled
-
-
-
- -
-
id
- your_captcha
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
enabled
-
- AAAAAAAAAAI=
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
enabled
- 1
-
- -
-
field_id
- your_captcha
-
- -
-
form_id
- Base_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
_text
- here/portal_membership/isAnonymousUser
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewCreateNewDiscussionPostDialog/your_file.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewCreateNewDiscussionPostDialog/your_file.xml
deleted file mode 100644
index 2ac7c8ec949a0b9eaf42b2a2cb8fd14d1c0cd558..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewCreateNewDiscussionPostDialog/your_file.xml
+++ /dev/null
@@ -1,124 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
- external_validator
- title
-
-
-
- -
-
delegated_message_list
-
-
- external_validator_failed
-
-
-
- -
-
id
- your_file
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- File is too big. Please consider to use a smaller file or request an account.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
external_validator
-
- AAAAAAAAAAI=
-
-
- -
-
field_id
- my_file_field
-
- -
-
form_id
- Base_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
- -
-
title
- File Attachment
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
method_name
- WebSection_validateFileUpload
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewCreateNewDiscussionPostDialog/your_text_content.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewCreateNewDiscussionPostDialog/your_text_content.xml
deleted file mode 100644
index 0111d110853e6a9e8ede84016ffce3e463fab51a..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewCreateNewDiscussionPostDialog/your_text_content.xml
+++ /dev/null
@@ -1,132 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
- default
- title
- validator_field_id
-
-
-
- -
-
id
- your_text_content
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
default
-
- AAAAAAAAAAI=
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
- -
-
title
-
-
-
-
-
- -
-
values
-
-
- -
-
default
-
-
- -
-
field_id
- my_text_content
-
- -
-
form_id
- Base_viewWebFieldLibrary
-
- -
-
target
- Click to edit the target
-
- -
-
title
- Body
-
- -
-
validator_field_id
- my_core_mode_required_text_content_validator
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
_text
- python: context.REQUEST.get(\'discussion_post_text_content\',\'\')
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewCreateNewDiscussionPostDialog/your_title.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewCreateNewDiscussionPostDialog/your_title.xml
deleted file mode 100644
index a2660cb4f223d8b4a37e88892f28751304a2edb4..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewCreateNewDiscussionPostDialog/your_title.xml
+++ /dev/null
@@ -1,145 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
- default
- display_width
- editable
- title
-
-
-
- -
-
id
- your_title
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
default
-
- AAAAAAAAAAI=
-
-
- -
-
display_width
-
-
- -
-
editable
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
- -
-
title
-
-
-
-
-
- -
-
values
-
-
- -
-
default
-
-
- -
-
display_width
- 40
-
- -
-
editable
- 1
-
- -
-
field_id
- my_string_field
-
- -
-
form_id
- Base_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
- -
-
title
- Title
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
_text
- python: context.REQUEST.get(\'discussion_post_title\',\'\')
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewCreateNewDiscussionPostDialog/your_warning.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewCreateNewDiscussionPostDialog/your_warning.xml
deleted file mode 100644
index f92a3a8d554cf3cbb6e81523836124f60de95ead..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewCreateNewDiscussionPostDialog/your_warning.xml
+++ /dev/null
@@ -1,115 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
- css_class
- default
- editable
- title
-
-
-
- -
-
id
- your_warning
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
css_class
- hidden_label
-
- -
-
default
- Please note that uploaded files will be made automatically published or shared based on type of forum!
-
-]]>
-
- -
-
editable
- 0
-
- -
-
field_id
- my_editor_field
-
- -
-
form_id
- Base_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
- -
-
title
- Editor Field
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewEditor/my_description.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewEditor/my_description.xml
deleted file mode 100644
index e98bd2614bed171964af7f47a08b452bd9c82b49..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewEditor/my_description.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
-
-
- -
-
id
- my_description
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
field_id
- my_description
-
- -
-
form_id
- Base_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewLastPostWidget.zpt b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewLastPostWidget.zpt
deleted file mode 100644
index 5bd6b9b0b4361193dd96e60a5067de429d158c4e..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewLastPostWidget.zpt
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/ERP5Site_getUserPreferredForumSettingsDict.py b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/ERP5Site_getUserPreferredForumSettingsDict.py
deleted file mode 100644
index 070b4fefc8b5d3cddcb705fa3239701b37e87c73..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/ERP5Site_getUserPreferredForumSettingsDict.py
+++ /dev/null
@@ -1,33 +0,0 @@
-"""
- Get user preference for forum signature..
-"""
-from Products.ERP5Type.Cache import CachingMethod
-
-portal = context.getPortalObject()
-
-def getPreferredForumSignature(username):
- result = {'preferred_forum_signature': None,
- 'preferred_forum_quote_original_message': False}
- preference_list = portal.portal_catalog(
- portal_type='Preference',
- owner = username,
- )
- for preference in preference_list:
- if preference.getPreferenceState() == "enabled":
- result['preferred_forum_signature'] = preference.getPreferredForumSignature()
- result['preferred_forum_quote_original_message'] = preference.getPreferredForumQuoteOriginalMessage()
- break # user should not have more than 1 enabled preference
-
- return result
-
-getPreferredForumSignature = CachingMethod(getPreferredForumSignature,
- ("ERP5Site_getUserPreferredForumSettingsDict", username),
- cache_factory='erp5_ui_short')
-if username is None:
- # assume current logged in user
- result = {'preferred_forum_signature': portal.portal_preferences.getPreferredForumSignature(),
- 'preferred_forum_quote_original_message': portal.portal_preferences.getPreferredForumQuoteOriginalMessage()}
-else:
- result = getPreferredForumSignature(username)
-
-return result
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/ERP5Site_getUserPreferredForumSettingsDict.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/ERP5Site_getUserPreferredForumSettingsDict.xml
deleted file mode 100644
index c492971b5b87908f32acba76bfb1be8ec4e592fd..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/ERP5Site_getUserPreferredForumSettingsDict.xml
+++ /dev/null
@@ -1,70 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
Script_magic
- 3
-
- -
-
_bind_names
-
-
-
-
-
-
-
-
- -
-
_asgns
-
-
- -
-
name_container
- container
-
- -
-
name_context
- context
-
- -
-
name_m_self
- script
-
- -
-
name_subpath
- traverse_subpath
-
-
-
-
-
-
-
-
-
- -
-
_params
- username=None
-
- -
-
_proxy_roles
-
-
- Manager
-
-
-
- -
-
id
- ERP5Site_getUserPreferredForumSettingsDict
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/ERP5Site_viewDiscussionThreadGadget/listbox.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/ERP5Site_viewDiscussionThreadGadget/listbox.xml
deleted file mode 100644
index 9528e9d0117e510e6ce714d51ef9d0522adf7524..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/ERP5Site_viewDiscussionThreadGadget/listbox.xml
+++ /dev/null
@@ -1,181 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
- columns
- count_method
- css_class
- list_action
- list_method
- portal_types
- search
- select
- sort
- title
-
-
-
- -
-
id
- listbox
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
columns
-
-
-
- title
- Title
-
-
- translated_validation_state_title
- State
-
-
-
-
- -
-
count_method
-
-
- -
-
css_class
- hiddenLabel
-
- -
-
field_id
- my_list_mode_listbox
-
- -
-
form_id
- Base_viewFieldLibrary
-
- -
-
list_action
- discussion_thread_module/view
-
- -
-
list_method
-
- AAAAAAAAAAI=
-
-
- -
-
portal_types
-
-
-
- Discussion Thread
- Discussion Thread
-
-
-
-
- -
-
search
- 1
-
- -
-
select
- 0
-
- -
-
sort
-
-
-
- modification_date
- descending
-
-
-
-
- -
-
target
- Click to edit the target
-
- -
-
title
- Forum Threads
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
method_name
- portal_catalog
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/ERP5Type_acquireSecurityFromRelatedAssignorOrAssignee.py b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/ERP5Type_acquireSecurityFromRelatedAssignorOrAssignee.py
deleted file mode 100644
index cd321134ea9c12b506520352e214075c76d125c4..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/ERP5Type_acquireSecurityFromRelatedAssignorOrAssignee.py
+++ /dev/null
@@ -1,28 +0,0 @@
-"""
-WARNING: this script requires proxy manager
-
-This script tries to acquire category values from other object
-through reverse relation (ex. getAggregateRelatedValueList)
-
-base_category_list - list of category values we need to retrieve
-object - object which we want to assign roles to.
-
-TODO: how do be sure that the related object is already
-indexed ? XXX
-"""
-category_dict = {}
-
-if object is None:
- return []
-
-for base_category in base_category_list:
- for o in object.getRelatedValueList(base_category):
- for user, role_list in o.get_local_roles():
- for role in role_list:
- if role in ('Assignor', 'Assignee'):
- category_dict.setdefault(role, []).append(user)
-
-# By returning a dict, we force force ERP5Type
-# to interprete the result as a mapping from
-# roles to existing security groups
-return category_dict
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/ERP5Type_acquireSecurityFromRelatedAssignorOrAssignee.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/ERP5Type_acquireSecurityFromRelatedAssignorOrAssignee.xml
deleted file mode 100644
index 2b654bdcd04e21cee7f6b21677d166c6ed08c333..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/ERP5Type_acquireSecurityFromRelatedAssignorOrAssignee.xml
+++ /dev/null
@@ -1,62 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
Script_magic
- 3
-
- -
-
_bind_names
-
-
-
-
-
-
-
-
- -
-
_asgns
-
-
- -
-
name_container
- container
-
- -
-
name_context
- context
-
- -
-
name_m_self
- script
-
- -
-
name_subpath
- traverse_subpath
-
-
-
-
-
-
-
-
-
- -
-
_params
- base_category_list, user_name, object, portal_type
-
- -
-
id
- ERP5Type_acquireSecurityFromRelatedAssignorOrAssignee
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/ListBox_asPostStyleHTML.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/ListBox_asPostStyleHTML.xml
deleted file mode 100644
index 3aa67e34d4af2aef1035cd908082edcbf6eed66d..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/ListBox_asPostStyleHTML.xml
+++ /dev/null
@@ -1,186 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
_Access_contents_information_Permission
-
-
- Manager
-
-
-
- -
-
_Change_bindings_Permission
-
-
- Manager
-
-
-
- -
-
_Change_cache_settings_Permission
-
-
- Manager
-
-
-
- -
-
_Change_permissions_Permission
-
-
- Manager
-
-
-
- -
-
_Copy_or_Move_Permission
-
-
- Manager
-
-
-
- -
-
_Delete_objects_Permission
-
-
- Manager
-
-
-
- -
-
_FTP_access_Permission
-
-
- Manager
-
-
-
- -
-
_Manage_WebDAV_Locks_Permission
-
-
- Manager
-
-
-
- -
-
_Manage_properties_Permission
-
-
- Manager
-
-
-
- -
-
_Take_ownership_Permission
-
-
- Manager
-
-
-
- -
-
_Undo_changes_Permission
-
-
- Manager
-
-
-
- -
-
_View_Permission
-
-
- Manager
-
-
-
- -
-
_View_management_screens_Permission
-
-
- Manager
-
-
-
- -
-
_WebDAV_Lock_items_Permission
-
-
- Manager
-
-
-
- -
-
_WebDAV_Unlock_items_Permission
-
-
- Manager
-
-
-
- -
-
_WebDAV_access_Permission
-
-
- Manager
-
-
-
- -
-
_bind_names
-
-
-
-
-
-
-
-
- -
-
_asgns
-
-
- -
-
name_subpath
- traverse_subpath
-
-
-
-
-
-
-
-
-
- -
-
content_type
- text/xml; charset=utf-8
-
- -
-
expand
- 0
-
- -
-
id
- ListBox_asPostStyleHTML
-
- -
-
output_encoding
- iso-8859-1
-
- -
-
title
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/ListBox_asPostStyleHTML.zpt b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/ListBox_asPostStyleHTML.zpt
deleted file mode 100644
index 75547a7b37a51ac313ad94e306a1401ccd2c1761..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/ListBox_asPostStyleHTML.zpt
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/Listbox_getDiscussionThreadPermanentUrl.py b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/Listbox_getDiscussionThreadPermanentUrl.py
deleted file mode 100644
index fcdcb13d51c1eb0eab303c0aae66831e16c04899..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/Listbox_getDiscussionThreadPermanentUrl.py
+++ /dev/null
@@ -1,2 +0,0 @@
-ob=kw['brain'].getObject()
-return ob.getReference()
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/Listbox_getDiscussionThreadPermanentUrl.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/Listbox_getDiscussionThreadPermanentUrl.xml
deleted file mode 100644
index fcc4ea18f850768d2dad8f367b47fe36f7506dfd..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/Listbox_getDiscussionThreadPermanentUrl.xml
+++ /dev/null
@@ -1,62 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
Script_magic
- 3
-
- -
-
_bind_names
-
-
-
-
-
-
-
-
- -
-
_asgns
-
-
- -
-
name_container
- container
-
- -
-
name_context
- context
-
- -
-
name_m_self
- script
-
- -
-
name_subpath
- traverse_subpath
-
-
-
-
-
-
-
-
-
- -
-
_params
- **kw
-
- -
-
id
- Listbox_getDiscussionThreadPermanentUrl
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/Post_ingestAndCreateEvent.py b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/Post_ingestAndCreateEvent.py
new file mode 100644
index 0000000000000000000000000000000000000000..1bd17ba1d918255eda433bfc623186f6877bd0f1
--- /dev/null
+++ b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/Post_ingestAndCreateEvent.py
@@ -0,0 +1,35 @@
+from Products.ERP5Type.Message import translateString
+portal = context.getPortalObject()
+messenger_thread = context.getFollowUpValue()
+web_site_value = portal.restrictedTraverse(web_site_relative_url) if web_site_relative_url else None
+
+data = str(context.getData())
+is_html = context.getPortalType() == 'HTML Post'
+if is_html: # sanitize HTML
+ data = portal.portal_transforms.convertToData(
+ 'text/x-html-safe',
+ data,
+ context=context,
+ mimetype=context.getContentType())
+
+# TODO: check resource, in support_request seems to be important
+resource = None
+source_value = context.ERP5Site_getAuthenticatedMemberPersonValue()
+
+web_message = portal.event_module.newContent(
+ portal_type = 'Web Message',
+ title = context.getTitle(),
+ content_type = 'text/html' if is_html else 'text/plain',
+ text_content = data,
+ follow_up_value = messenger_thread,
+ aggregate_value_list = [context] + context.getSuccessorValueList(
+ portal_type = portal.getPortalDocumentTypeList()),
+ resource = resource,
+ source_value = source_value,
+ start_date = context.getCreationDate(),
+ source_reference = context.getSourceReference())
+
+web_message.stop()
+context.archive(
+ comment=translateString('Ingested as ${web_message_reference}',
+ mapping={'web_message_reference': web_message.getReference()}))
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_getContextPostCount.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/Post_ingestAndCreateEvent.xml
similarity index 93%
rename from bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_getContextPostCount.xml
rename to bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/Post_ingestAndCreateEvent.xml
index 64055bd036189e21826fcc3951a890fe73668d99..e9670258baca120975560e4b2de5c133f611fc04 100644
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_getContextPostCount.xml
+++ b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/Post_ingestAndCreateEvent.xml
@@ -50,11 +50,11 @@
-
_params
-
+ web_site_relative_url=None
-
id
- DiscussionThread_getContextPostCount
+ Post_ingestAndCreateEvent
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/Preference_viewForumSettings/my_preferred_forum_quote_original_message.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/Preference_viewForumSettings/my_preferred_forum_quote_original_message.xml
deleted file mode 100644
index 9dfdafbda3b72f0d56e8bd42e28b34120b31ef47..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/Preference_viewForumSettings/my_preferred_forum_quote_original_message.xml
+++ /dev/null
@@ -1,101 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
- default
- title
-
-
-
- -
-
id
- my_preferred_forum_quote_original_message
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
default
- 1
-
- -
-
field_id
- my_checkbox
-
- -
-
form_id
- Base_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
- -
-
title
- Quote Original Message when Replying
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_createNewDiscussionThread.py b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_createNewDiscussionThread.py
deleted file mode 100644
index c456a6c917b54877463a3e6a2e4c0b0d07636c18..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_createNewDiscussionThread.py
+++ /dev/null
@@ -1,147 +0,0 @@
-"""
- This script allows to create a new Discussion Thread.
-"""
-from zExceptions import Unauthorized
-
-MARKER = ['', None, []]
-
-portal = context.getPortalObject()
-person = portal.portal_membership.getAuthenticatedMember().getUserValue()
-
-version = '001'
-language = portal.Localizer.get_selected_language()
-
-try:
- user_assignment_dict = portal.ERP5Site_getPersonAssignmentDict()
-except Unauthorized:
- # not in all cases current logged in user may access its details
- user_assignment_dict = {'group_list': [], 'site_list':[]}
-
-if group_list in MARKER:
- group_list = user_assignment_dict['group_list']
-if site_list in MARKER:
- site_list = user_assignment_dict['site_list']
-
-# set predicate settings for current Web Section
-membership_criterion_category_list = context.getMembershipCriterionCategoryList()
-multimembership_criterion_base_category_list = context.getMultimembershipCriterionBaseCategoryList()
-
-reference = context.Base_generateReferenceFromString(title)
-random_string_length = 10
-while True:
- random_reference = "%s-%s" % (reference, context.Base_generateRandomString(string_length=random_string_length))
- if context.restrictedTraverse(random_reference, None) is None:
- # object does not already exist (module, web site, web section, action, bound method, ...)
- break
- random_string_length += 1
-
-reference = random_reference
-
-category_list = []
-create_kw = dict(title = title,
- source_value = person,
- reference = reference,
- version = version,
- language = language,
- description=description,
- subject_list=subject_list,
- classification=classification,
- group_list=group_list,
- site_list=site_list)
-
-for base_category in multimembership_criterion_base_category_list:
- #create_kw['%s_list' %base_category] = [x for x in membership_criterion_category_list if x.startswith(base_category)]
- category_list.extend([x for x in membership_criterion_category_list if x.startswith(base_category)])
-
-discussion_thread = portal.discussion_thread_module.newContent(
- portal_type = "Discussion Thread",
- **create_kw)
-# as we create a thread under a "root" predicate web section copy
-# all categories from it to create thread, this way thread will be part
-# of web section (through getDocumentValue API)
-discussion_thread.setCategoryList(category_list)
-
-# predecessor
-if predecessor is None:
- redirect_url = context.getAbsoluteUrl()
-else:
- predecessor_object = context.restrictedTraverse(predecessor)
- predecessor_portal_type = predecessor_object.getPortalType()
- redirect_url = predecessor_object.getAbsoluteUrl()
-
- # predecessor will only be set on document = web section default page
- if predecessor_portal_type == 'Web Section':
- predecessor_default_page = predecessor_object.getAggregate()
- if predecessor_default_page is not None:
- predecessor_document = context.restrictedTraverse(predecessor_default_page)
- discussion_thread.setPredecessorValueList([predecessor_document])
-
- # set predecessor on document
- if predecessor_portal_type == 'Web Page':
- discussion_thread.setPredecessorValueList([predecessor_object])
-
-discussion_post = discussion_thread.newContent(
- portal_type = "Discussion Post",
- title = title,
- text_content = text_content,
- source_value = person,
- version = version,
- language = language)
-
-# depending on security model Thread and Post can be directly published or shared
-portal_status_message = "New discussion thread created."
-discussion_thread.publish()
-
-# handle attachments
-if getattr(file, 'filename', '') != '':
- document_kw = {'batch_mode': True,
- 'redirect_to_document': False,
- 'file': file}
- document = context.Base_contribute(**document_kw)
-
- # set relation between post and document
- discussion_post.setSuccessorValueList([document])
-
- # depending on security model this should be changed accordingly
- document.publish()
-
-if send_notification_text not in ('', None):
- # we can send notifications
- person_list = []
- notification_list = send_notification_text.split('\n')
- for notification in notification_list:
- # we can assume user wanted to specify Person's title
- person_list.extend(portal.portal_catalog(portal_type='Person',
- title=notification,
- default_email_text='!='))
- if len(person_list):
- #Get message from catalog
- notification_reference = 'forum-new-thread'
- notification_message = context.NotificationTool_getDocumentValue(notification_reference, 'en')
- if notification_message is None:
- raise ValueError, 'Unable to found Notification Message with reference "%s".' % notification_reference
-
- notification_mapping_dict = {'subject': discussion_thread.getTitle(),
- 'url': discussion_thread.absolute_url(),
- 'sender': portal.email_from_name }
- #Preserve HTML else convert to text
- if notification_message.getContentType() == "text/html":
- mail_text = notification_message.asEntireHTML(
- substitution_method_parameter_dict={'mapping_dict':notification_mapping_dict})
- else:
- mail_text = notification_message.asText(
- substitution_method_parameter_dict={'mapping_dict':notification_mapping_dict})
- sender = portal.portal_membership.getAuthenticatedMember().getUserValue()
- #Send email
- for recipient in person_list:
- portal.portal_notifications.sendMessage(
- sender=sender,
- recipient=recipient,
- subject=notification_message.getTitle(),
- message=mail_text,
- message_text_format=notification_message.getContentType(),
- store_as_event=False)
-
-return context.Base_redirect(redirect_url=redirect_url,
- keep_items = dict(portal_status_message=context.Base_translateString(portal_status_message),
- thread_relative_url=discussion_thread.getRelativeUrl()))
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_createNewDiscussionThread.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_createNewDiscussionThread.xml
deleted file mode 100644
index e58fdda439518b6ee068056918d97a82317d4681..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_createNewDiscussionThread.xml
+++ /dev/null
@@ -1,72 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
Script_magic
- 3
-
- -
-
_bind_names
-
-
-
-
-
-
-
-
- -
-
_asgns
-
-
- -
-
name_container
- container
-
- -
-
name_context
- context
-
- -
-
name_m_self
- script
-
- -
-
name_subpath
- traverse_subpath
-
-
-
-
-
-
-
-
-
- -
-
_params
- title, text_content, form_id=\'view\', predecessor=None, description=None, subject_list=None, classification=None, group_list=None, site_list=None, send_notification_text=None, reference=None, file=None, **kw
-
- -
-
_proxy_roles
-
-
- Assignor
- Manager
- Owner
-
-
-
- -
-
id
- WebSection_createNewDiscussionThread
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_getDiscussionThreadList.py b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_getDiscussionThreadList.py
deleted file mode 100644
index 08764f5e46aca63d0c02eb4a272361a291f2c938..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_getDiscussionThreadList.py
+++ /dev/null
@@ -1,12 +0,0 @@
-"""
- This script gets list of Discussion Thread for a Forum using catalog.
- Due to asynchronous nature of catalog it can use
- passed from REQUEST not index yet threads.
-"""
-thread_relative_url = context.REQUEST.get('thread_relative_url')
-discussion_thread_list = [x.getObject() for x in context.getDocumentValueList(**kw)]
-if thread_relative_url is not None:
- thread = context.restrictedTraverse(thread_relative_url)
- if thread is not None and thread not in discussion_thread_list:
- discussion_thread_list = [thread] + discussion_thread_list
-return discussion_thread_list
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_getDiscussionThreadList.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_getDiscussionThreadList.xml
deleted file mode 100644
index dda8e19200b5c68429e75aab1d2a08ec299e1e28..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_getDiscussionThreadList.xml
+++ /dev/null
@@ -1,62 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
Script_magic
- 3
-
- -
-
_bind_names
-
-
-
-
-
-
-
-
- -
-
_asgns
-
-
- -
-
name_container
- container
-
- -
-
name_context
- context
-
- -
-
name_m_self
- script
-
- -
-
name_subpath
- traverse_subpath
-
-
-
-
-
-
-
-
-
- -
-
_params
- **kw
-
- -
-
id
- WebSection_getDiscussionThreadList
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_getLatestDiscussionPostList.py b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_getLatestDiscussionPostList.py
deleted file mode 100644
index 5150aa365a17bee638b1ad8574a19aed07f2232e..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_getLatestDiscussionPostList.py
+++ /dev/null
@@ -1,16 +0,0 @@
-"""
- Get list of latest Posts which belong to a forum (i.e. websection + predicate)
-"""
-# first get list of all container Threads (details should be set on predicate)
-parent_uid_list = [x.getUid() for x in context.getDocumentValueList()]
-
-# get sorted list of all "contained" in them Posts
-kw['sort_on'] = (('modification_date', 'DESC'),)
-kw['portal_type'] = 'Discussion Post'
-kw['parent_uid'] = parent_uid_list
-
-if len(parent_uid_list)==0:
- # no parent discussion threads therefore no posts
- return []
-
-return context.portal_catalog(**kw)
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_getLatestDiscussionPostList.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_getLatestDiscussionPostList.xml
deleted file mode 100644
index 70289680a41e77e9a7fbebdd7bb881dd3bb549cf..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_getLatestDiscussionPostList.xml
+++ /dev/null
@@ -1,62 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
Script_magic
- 3
-
- -
-
_bind_names
-
-
-
-
-
-
-
-
- -
-
_asgns
-
-
- -
-
name_container
- container
-
- -
-
name_context
- context
-
- -
-
name_m_self
- script
-
- -
-
name_subpath
- traverse_subpath
-
-
-
-
-
-
-
-
-
- -
-
_params
- **kw
-
- -
-
id
- WebSection_getLatestDiscussionPostList
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_validateFileUpload.py b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_validateFileUpload.py
deleted file mode 100644
index 5803be3670b2cdfe98cd357f05117f1b32abc93f..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_validateFileUpload.py
+++ /dev/null
@@ -1,6 +0,0 @@
-"""
- Use to check if current user is allowed to perform a file upload.
-"""
-if context.portal_membership.isAnonymousUser() and len(editor.read()) > 1048576 :
- return 0
-return 1
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_validateFileUpload.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_validateFileUpload.xml
deleted file mode 100644
index d7fd1fbdda324e8cb9b8d5efcd8a39300c10b3aa..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_validateFileUpload.xml
+++ /dev/null
@@ -1,62 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
Script_magic
- 3
-
- -
-
_bind_names
-
-
-
-
-
-
-
-
- -
-
_asgns
-
-
- -
-
name_container
- container
-
- -
-
name_context
- context
-
- -
-
name_m_self
- script
-
- -
-
name_subpath
- traverse_subpath
-
-
-
-
-
-
-
-
-
- -
-
_params
- editor, request
-
- -
-
id
- WebSection_validateFileUpload
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewCreateNewDiscussionThreadDialog.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewCreateNewDiscussionThreadDialog.xml
deleted file mode 100644
index fa89212510d8dd9d068eff4bdf60d0fa1d4b2165..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewCreateNewDiscussionThreadDialog.xml
+++ /dev/null
@@ -1,158 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
_bind_names
-
-
-
-
-
-
-
-
- -
-
_asgns
-
-
-
-
-
-
-
-
-
- -
-
_objects
-
-
-
-
- -
-
action
- WebSection_createNewDiscussionThread
-
- -
-
description
- Use this dialog to create a reply and associate it to a Post
-
- -
-
edit_order
-
-
-
-
- -
-
encoding
- UTF-8
-
- -
-
enctype
- multipart/form-data
-
- -
-
group_list
-
-
- left reply-dialog
- right
- center
- bottom
- hidden
-
-
-
- -
-
groups
-
-
- -
-
bottom
-
-
-
-
- -
-
center
-
-
-
-
- -
-
hidden
-
-
-
-
- -
-
left reply-dialog
-
-
- your_title
- your_send_notification_text
- your_text_content
- your_file
- your_captcha
- your_predecessor
- your_warning
-
-
-
- -
-
right
-
-
-
-
-
-
-
- -
-
id
- WebSection_viewCreateNewDiscussionThreadDialog
-
- -
-
method
- POST
-
- -
-
name
- DiscussionThread_viewNewPostDialog
-
- -
-
pt
- form_dialog
-
- -
-
row_length
- 4
-
- -
-
stored_encoding
- UTF-8
-
- -
-
title
- Create
-
- -
-
unicode_mode
- 0
-
- -
-
update_action
-
-
- -
-
update_action_title
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewCreateNewDiscussionThreadDialog/your_captcha.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewCreateNewDiscussionThreadDialog/your_captcha.xml
deleted file mode 100644
index a4d60fb35971af747f623d8b81f727ac2625e2e7..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewCreateNewDiscussionThreadDialog/your_captcha.xml
+++ /dev/null
@@ -1,115 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
- enabled
-
-
-
- -
-
id
- your_captcha
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
enabled
-
- AAAAAAAAAAI=
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
enabled
- 1
-
- -
-
field_id
- your_captcha
-
- -
-
form_id
- Base_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
_text
- here/portal_membership/isAnonymousUser
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewCreateNewDiscussionThreadDialog/your_file.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewCreateNewDiscussionThreadDialog/your_file.xml
deleted file mode 100644
index 2ac7c8ec949a0b9eaf42b2a2cb8fd14d1c0cd558..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewCreateNewDiscussionThreadDialog/your_file.xml
+++ /dev/null
@@ -1,124 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
- external_validator
- title
-
-
-
- -
-
delegated_message_list
-
-
- external_validator_failed
-
-
-
- -
-
id
- your_file
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- File is too big. Please consider to use a smaller file or request an account.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
external_validator
-
- AAAAAAAAAAI=
-
-
- -
-
field_id
- my_file_field
-
- -
-
form_id
- Base_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
- -
-
title
- File Attachment
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
method_name
- WebSection_validateFileUpload
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewCreateNewDiscussionThreadDialog/your_send_notification_text.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewCreateNewDiscussionThreadDialog/your_send_notification_text.xml
deleted file mode 100644
index 12df9e866e8940281a4cbf3b89837d9578cb120e..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewCreateNewDiscussionThreadDialog/your_send_notification_text.xml
+++ /dev/null
@@ -1,127 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
- description
- editable
- enabled
- title
-
-
-
- -
-
id
- your_send_notification_text
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
display_width
-
-
- -
-
editable
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
- -
-
title
-
-
-
-
-
- -
-
values
-
-
- -
-
description
- Use this text area to specify email addresses or persons\' titles which should receive notification about this post\'s creation. Each on a new line. Wildcards like \'%\' are supported.
-
- -
-
display_width
- 40
-
- -
-
editable
- 1
-
- -
-
enabled
- 0
-
- -
-
field_id
- my_text_area_field
-
- -
-
form_id
- Base_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
- -
-
title
- Notifications
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewCreateNewDiscussionThreadDialog/your_text_content.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewCreateNewDiscussionThreadDialog/your_text_content.xml
deleted file mode 100644
index f2fb835a101201361e680b33fe15d52fc02bc59f..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewCreateNewDiscussionThreadDialog/your_text_content.xml
+++ /dev/null
@@ -1,105 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
- title
- validator_field_id
-
-
-
- -
-
id
- your_text_content
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
- -
-
title
-
-
-
-
-
- -
-
values
-
-
- -
-
field_id
- my_text_content
-
- -
-
form_id
- Base_viewWebFieldLibrary
-
- -
-
target
- Click to edit the target
-
- -
-
title
- Body
-
- -
-
validator_field_id
- my_core_mode_required_text_content_validator
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewCreateNewDiscussionThreadDialog/your_title.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewCreateNewDiscussionThreadDialog/your_title.xml
deleted file mode 100644
index e94481cc89604f3c03cdad01b9ba955f1e768f38..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewCreateNewDiscussionThreadDialog/your_title.xml
+++ /dev/null
@@ -1,105 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
- display_width
- title
-
-
-
- -
-
id
- your_title
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
display_width
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
display_width
- 40
-
- -
-
field_id
- my_title
-
- -
-
form_id
- Base_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
- -
-
title
- Title
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewCreateNewDiscussionThreadDialog/your_warning.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewCreateNewDiscussionThreadDialog/your_warning.xml
deleted file mode 100644
index 9f2caf6e168b5536f42fcd27b88129d85ffeaf4d..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewCreateNewDiscussionThreadDialog/your_warning.xml
+++ /dev/null
@@ -1,110 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
- css_class
- default
- editable
-
-
-
- -
-
id
- your_warning
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
css_class
- hidden_label
-
- -
-
default
- Please note that uploaded files will be made automatically published or shared based on type of forum!
-
-]]>
-
- -
-
editable
- 0
-
- -
-
field_id
- my_editor_field
-
- -
-
form_id
- Base_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
-
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewDiscussionThreadForm/listbox.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewDiscussionThreadForm/listbox.xml
deleted file mode 100644
index cb2b4a636304e29d5c7bf22990acf4a31d05270e..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewDiscussionThreadForm/listbox.xml
+++ /dev/null
@@ -1,289 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
- columns
- count_method
- default_params
- editable_columns
- list_method
- search
- search_columns
- sort
- sort_columns
- title
- url_columns
-
-
-
- -
-
id
- listbox
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
columns
-
-
- -
-
count_method
-
-
- -
-
default_params
-
-
- -
-
editable_columns
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
list_method
-
-
- -
-
search
-
-
- -
-
search_columns
-
-
- -
-
sort
-
-
- -
-
sort_columns
-
-
- -
-
target
-
-
- -
-
title
-
-
- -
-
url_columns
-
-
-
-
-
- -
-
values
-
-
- -
-
columns
-
-
-
- title
- Title
-
-
- author
- Author
-
-
- response_count
- Responses
-
-
- last_post
- Latest Post
-
-
- modification_date
- Modification Date
-
-
-
-
- -
-
count_method
-
-
- -
-
default_params
-
-
-
-
- -
-
editable_columns
-
-
-
- modification_date
- modification_date
-
-
- author
- Author
-
-
- last_post
- Latest Post
-
-
-
-
- -
-
field_id
- my_view_mode_listbox
-
- -
-
form_id
- Base_viewFieldLibrary
-
- -
-
list_method
-
- AAAAAAAAAAI=
-
-
- -
-
search
- 1
-
- -
-
search_columns
-
-
-
- modification_date
- Modification Date
-
-
-
-
- -
-
sort
-
-
-
- modification_date
- descending
-
-
-
-
- -
-
sort_columns
-
-
-
- modification_date
- Modification Date
-
-
-
-
- -
-
target
- Click to edit the target
-
- -
-
title
- Discussion Threads
-
- -
-
url_columns
-
-
-
- title
- Listbox_getDiscussionThreadPermanentUrl
-
-
- modification_date
-
-
-
- response_count
-
-
-
- author
-
-
-
- last_post
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
method_name
- WebSection_getDiscussionThreadList
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewDiscussionThreadForm/listbox_author.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewDiscussionThreadForm/listbox_author.xml
deleted file mode 100644
index e07fa0dfa1fc211848e00df0e04a6113f296b05b..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewDiscussionThreadForm/listbox_author.xml
+++ /dev/null
@@ -1,142 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
- css_class
- default
- editable
- title
-
-
-
- -
-
id
- listbox_author
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
css_class
-
-
- -
-
default
-
- AAAAAAAAAAI=
-
-
- -
-
editable
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
- -
-
title
-
-
-
-
-
- -
-
values
-
-
- -
-
css_class
-
-
- -
-
default
-
-
- -
-
editable
- 1
-
- -
-
field_id
- my_label_field
-
- -
-
form_id
- Base_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
- -
-
title
- Post Author
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
_text
- python: cell.DiscussionThread_viewAuthorWidget()
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewDiscussionThreadForm/listbox_last_post.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewDiscussionThreadForm/listbox_last_post.xml
deleted file mode 100644
index 9bdad1cd67e17bd2ad1cea03fd7bf871e71b665a..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewDiscussionThreadForm/listbox_last_post.xml
+++ /dev/null
@@ -1,142 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
- css_class
- default
- editable
- title
-
-
-
- -
-
id
- listbox_last_post
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
css_class
-
-
- -
-
default
-
- AAAAAAAAAAI=
-
-
- -
-
editable
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
- -
-
title
-
-
-
-
-
- -
-
values
-
-
- -
-
css_class
-
-
- -
-
default
-
-
- -
-
editable
- 1
-
- -
-
field_id
- my_label_field
-
- -
-
form_id
- Base_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
- -
-
title
- Latest Post Author
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
_text
- python: cell.DiscussionThread_viewLastPostWidget()
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewDiscussionThreadForm/listbox_modification_date.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewDiscussionThreadForm/listbox_modification_date.xml
deleted file mode 100644
index 3d60ca49c6b967e61008bd8693f81a7554fab926..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewDiscussionThreadForm/listbox_modification_date.xml
+++ /dev/null
@@ -1,156 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
- date_only
- default
- editable
- enabled
- title
-
-
-
- -
-
id
- listbox_modification_date
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
date_only
-
-
- -
-
default
-
- AAAAAAAAAAI=
-
-
- -
-
editable
-
-
- -
-
enabled
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
- -
-
title
-
-
-
-
-
- -
-
values
-
-
- -
-
date_only
- 0
-
- -
-
default
-
-
-
-
- -
-
editable
- 0
-
- -
-
enabled
- 1
-
- -
-
field_id
- my_date
-
- -
-
form_id
- Base_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
- -
-
title
- Modification Date
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
_text
- cell/getModificationDate
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewDiscussionThreadForm/listbox_response_count.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewDiscussionThreadForm/listbox_response_count.xml
deleted file mode 100644
index 91a8569d9c6c338270ed1c0ea874b94e01f81cd8..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewDiscussionThreadForm/listbox_response_count.xml
+++ /dev/null
@@ -1,142 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
- css_class
- default
- editable
- title
-
-
-
- -
-
id
- listbox_response_count
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
css_class
-
-
- -
-
default
-
- AAAAAAAAAAI=
-
-
- -
-
editable
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
- -
-
title
-
-
-
-
-
- -
-
values
-
-
- -
-
css_class
-
-
- -
-
default
-
-
- -
-
editable
- 1
-
- -
-
field_id
- my_label_field
-
- -
-
form_id
- Base_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
- -
-
title
- Responses
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
_text
- python: \'%s\' %len(cell.objectIds())
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewDiscussionThreadForm/listbox_title.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewDiscussionThreadForm/listbox_title.xml
deleted file mode 100644
index 059bbac92d4c9182ab5bd99e1044e6b8e7320f07..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewDiscussionThreadForm/listbox_title.xml
+++ /dev/null
@@ -1,142 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
- css_class
- default
- editable
- title
-
-
-
- -
-
id
- listbox_title
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
css_class
-
-
- -
-
default
-
- AAAAAAAAAAI=
-
-
- -
-
editable
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
- -
-
title
-
-
-
-
-
- -
-
values
-
-
- -
-
css_class
-
-
- -
-
default
-
-
- -
-
editable
- 1
-
- -
-
field_id
- my_label_field
-
- -
-
form_id
- Base_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
- -
-
title
- Title
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
_text
- python: cell.getTitle()
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewDiscussionThreadForm/your_add_new_thread_link.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewDiscussionThreadForm/your_add_new_thread_link.xml
deleted file mode 100644
index 7090a0cc8d66e0a657adf610373a9d3e1d7026e4..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewDiscussionThreadForm/your_add_new_thread_link.xml
+++ /dev/null
@@ -1,146 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
- css_class
- default
- editable
- title
-
-
-
- -
-
id
- your_add_new_thread_link
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
css_class
-
-
- -
-
default
-
- AAAAAAAAAAI=
-
-
- -
-
editable
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
- -
-
title
-
-
-
-
-
- -
-
values
-
-
- -
-
css_class
- hidden_label button
-
- -
-
default
-
-
- -
-
editable
- 0
-
- -
-
field_id
- my_editor_field
-
- -
-
form_id
- Base_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
- -
-
title
- Add New Thread Link
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
_text
- Post Message
\'\'\' %(here.absolute_url())
-
-]]>
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewLatestDiscussionPostListAsRSS.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewLatestDiscussionPostListAsRSS.xml
deleted file mode 100644
index 9e2e8da1392e433de7863e6090ba1b8e93168bc4..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewLatestDiscussionPostListAsRSS.xml
+++ /dev/null
@@ -1,129 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
_bind_names
-
-
-
-
-
-
-
-
- -
-
_asgns
-
-
-
-
-
-
-
-
-
- -
-
_objects
-
-
-
-
- -
-
action
-
-
- -
-
description
-
-
- -
-
edit_order
-
-
-
-
- -
-
encoding
- UTF-8
-
- -
-
enctype
-
-
- -
-
group_list
-
-
- bottom
- hidden
-
-
-
- -
-
groups
-
-
- -
-
bottom
-
-
- listbox
-
-
-
- -
-
hidden
-
-
- listbox_link
-
-
-
-
-
-
- -
-
id
- WebSection_viewLatestDiscussionPostListAsRSS
-
- -
-
method
- POST
-
- -
-
name
- Folder_asRSS
-
- -
-
pt
- rss_view
-
- -
-
row_length
- 4
-
- -
-
stored_encoding
- UTF-8
-
- -
-
title
- Render Latest Content List as RSS
-
- -
-
unicode_mode
- 0
-
- -
-
update_action
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewLatestDiscussionPostListAsRSS/listbox.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewLatestDiscussionPostListAsRSS/listbox.xml
deleted file mode 100644
index d0a8f7df48c0978f35b72da84670d8caf5583ac4..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewLatestDiscussionPostListAsRSS/listbox.xml
+++ /dev/null
@@ -1,218 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
- columns
- count_method
- hide_rows_on_no_search_criterion
- lines
- list_method
- selection_name
- sort
-
-
-
- -
-
id
- listbox
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
columns
-
-
- -
-
count_method
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
hide_rows_on_no_search_criterion
-
-
- -
-
lines
-
- AAAAAAAAAAI=
-
-
- -
-
list_method
-
-
- -
-
selection_name
-
-
- -
-
sort
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
columns
-
-
-
- title
- title
-
-
- creation_date
- pubDate
-
-
- Base_getRSSAuthor
- author
-
-
- link
- link
-
-
- Base_getDescription
- description
-
-
- link
- guid
-
-
-
-
- -
-
count_method
-
-
- -
-
field_id
- my_list_mode_listbox
-
- -
-
form_id
- Base_viewFieldLibrary
-
- -
-
hide_rows_on_no_search_criterion
- 0
-
- -
-
lines
- 20
-
- -
-
list_method
-
- AAAAAAAAAAM=
-
-
- -
-
selection_name
-
-
- -
-
sort
-
-
-
- modification_date
- descending
-
-
-
-
- -
-
target
- Click to edit the target
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
_text
- python: int(here.REQUEST.get(\'size\', preferences.getPreference(\'preferred_listbox_list_mode_line_count\', 30)))
-
-
-
-
-
-
-
-
-
-
- -
-
method_name
- WebSection_getLatestDiscussionPostList
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewLatestDiscussionPostListAsRSS/listbox_link.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewLatestDiscussionPostListAsRSS/listbox_link.xml
deleted file mode 100644
index c012923f67c17b013923e83c0d57187cfc17fd76..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewLatestDiscussionPostListAsRSS/listbox_link.xml
+++ /dev/null
@@ -1,128 +0,0 @@
-
-
-
-
-
-
-
-
- -
-
delegated_list
-
-
- default
- editable
-
-
-
- -
-
id
- listbox_link
-
- -
-
message_values
-
-
- -
-
external_validator_failed
- The input failed the external validator.
-
-
-
-
- -
-
overrides
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
tales
-
-
- -
-
default
-
- AAAAAAAAAAI=
-
-
- -
-
editable
-
-
- -
-
field_id
-
-
- -
-
form_id
-
-
- -
-
target
-
-
-
-
-
- -
-
values
-
-
- -
-
default
-
-
- -
-
editable
- 0
-
- -
-
field_id
- my_string_field
-
- -
-
form_id
- Base_viewFieldLibrary
-
- -
-
target
- Click to edit the target
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
_text
-
-
-
-
-
-
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/erp5_discussion.css.css b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/erp5_discussion.css.css
deleted file mode 100644
index 2d9c39ddd943498d06adaa5c247690adf24448d5..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/erp5_discussion.css.css
+++ /dev/null
@@ -1,76 +0,0 @@
-/*
- ERP5 discussion forum.
-*/
-.discussion-post-body-container blockquote {
- background: none repeat scroll 0 0 #fafafa;
- border-left: 6px solid #e7e9ec;
- font-style: italic;
- padding: 5px 5px 5px 16px;
-}
-
-.attachment {
- width:100%;
- float:left;
-}
-
-.discussion-post-header{
- background-color: #efefef;
- color:#000000;
- padding: 3px;
- margin: 0em;
- height: 20px;
-}
-
-.discussion-post-header .thumbnail,
-.discussion-post-creator .title{
- float:left;
-}
-
-.discussion-post-header .thumbnail{
- /*width:14%;*/
- margin:4px;
-}
-
-.discussion-post-header .title{
- width:85%;
- margin-top:4px;
-}
-
-a.discussion-post-title{
- font-weight: bold;
-}
-
-.discussion-post-body-container{
- float: left;
- margin-left: 10px;
- margin-top: 10px;
- margin-bottom: 10px;
- color: black;
-}
-
-
-.discussion-post-author-signature-container{
- margin-left:10px;
- margin-bottom:1em;
- color:#aaa;
- float:left;
- width: 100%;
- font-size: 90%;
- border-bottom:1px solid #EEEEEE;
-}
-
-button.discussion-post-action-button{
- padding: 3px;
-}
-
-blockquote {
- background-color:#E9E9E9 ;
- border:1px solid #8CACBB;
- margin:5px;
- padding:10px 15px;
-}
-
-.discussion-post-actions{
- float:left;
- clear:both;
-}
\ No newline at end of file
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/gadget_postlist.html.html b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/gadget_postlist.html.html
new file mode 100644
index 0000000000000000000000000000000000000000..d5eff64dc94f107754af662e49335c0cdb6f2647
--- /dev/null
+++ b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/gadget_postlist.html.html
@@ -0,0 +1,51 @@
+
+
+
+
+
+ Post list gadget
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/gadget_postlist.html.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/gadget_postlist.html.xml
new file mode 100644
index 0000000000000000000000000000000000000000..c7d44dc3090724c6193b1349f4a52c9332ff8283
--- /dev/null
+++ b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/gadget_postlist.html.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+ -
+
__name__
+ gadget_postlist.html
+
+ -
+
content_type
+ text/html
+
+ -
+
precondition
+
+
+ -
+
title
+
+
+
+
+
+
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/gadget_postlist.js.js b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/gadget_postlist.js.js
new file mode 100644
index 0000000000000000000000000000000000000000..bcf0a67fcbea1a671a3189ce516543108c18347f
--- /dev/null
+++ b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/gadget_postlist.js.js
@@ -0,0 +1,95 @@
+/*jslint nomen: true, indent: 2 */
+/*global window, rJS, RSVP, document, moment, jIO, Handlebars, console*/
+(function (window, rJS, RSVP, document, moment, jIO, Handlebars, console) {
+ "use strict";
+ var gadget_klass = rJS(window),
+ comment_list_template = Handlebars.compile(
+ gadget_klass.__template_element.getElementById("template-document-list").innerHTML
+ );
+
+ rJS(window)
+
+ .declareAcquiredMethod("getSetting", "getSetting")
+ .declareAcquiredMethod("jio_allDocs", "jio_allDocs")
+
+ .declareMethod('render', function (options) {
+ var gadget = this;
+ gadget.options = options;
+ return gadget.getSetting('hateoas_url')
+ .push(function (hateoas_url) {
+ gadget.hateoas_url = hateoas_url;
+ })
+ .push(function () {
+ var state_dict = {
+ id: options.jio_key,
+ view: options.view,
+ editable: options.editable,
+ query: options.query,
+ erp5_form: options.erp5_form || {}
+ };
+ return gadget.changeState(state_dict);
+ });
+ })
+
+ .onStateChange(function () {
+ var gadget = this;
+ return gadget.jio_allDocs({
+ "query": gadget.state.query,
+ "select_list": ["text_content", "modification_date", "source_title"],
+ "sort_on": [["modification_date", "ascending"]]
+ })
+ .push(function (results) {
+ var post_list = results.data.rows;
+ function getPostWithLinkAndLocalDate(post) {
+ post.date = post.value.modification_date;
+ post.date_formatted = moment(post.date).format('LLLL');
+ post.date_relative = moment(post.date).fromNow();
+ if (post.attachment_link === null) {
+ return post;
+ }
+ if (post.attachment_link.indexOf("image_module") !== -1) {
+ return gadget.getImageUrl(post.attachment_link).push(
+ function (attachment_link) {
+ post.attachment_link = attachment_link;
+ return post;
+ }
+ );
+ }
+ return gadget.getDocumentUrl(post.attachment_link).push(
+ function (attachment_link) {
+ post.attachment_link = attachment_link;
+ return post;
+ }
+ );
+ }
+ var queue_list = [], i = 0;
+ for (i = 0; i < post_list.length; i += 1) {
+ post_list[i].user = post_list[i].value.source_title;
+ // TODO: attachments
+ post_list[i].attachment_link = null;
+ post_list[i].attachment_name = null;
+ queue_list.push(getPostWithLinkAndLocalDate(post_list[i]));
+ }
+ return RSVP.all(queue_list);
+ })
+ .push(function (comment_list) {
+ console.log("comment_list results:");
+ console.log(comment_list);
+ var comments = gadget.element.querySelector("#post_list");
+ comments.innerHTML = comment_list_template({comments: comment_list});
+ });
+ })
+
+ .onLoop(function () {
+ // update relative time
+ var elements = this.element.querySelectorAll("li>time");
+ [].forEach.call(elements, function (element) {
+ element.textContent = moment(element.getAttribute('datetime')).fromNow();
+ });
+ }, 5000)
+
+ /*.onEvent('submit', function () {
+ return this.submitPostComment();
+ })*/;
+
+}(window, rJS, RSVP, document, moment, jIO, Handlebars, console));
\ No newline at end of file
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/erp5_discussion.css.xml b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/gadget_postlist.js.xml
similarity index 70%
rename from bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/erp5_discussion.css.xml
rename to bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/gadget_postlist.js.xml
index 6df1b34e03fe31b8abcf2e18f654824bd7d9294a..1b6dbe0e3dbaba13dd2a1b6d19158653f9c896dc 100644
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/erp5_discussion.css.xml
+++ b/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/gadget_postlist.js.xml
@@ -6,17 +6,13 @@
- -
-
_Cacheable__manager_id
- http_cache
-
-
__name__
- erp5_discussion.css
+ gadget_postlist.js
-
content_type
- text/css
+ application/javascript
-
precondition
diff --git a/bt5/erp5_discussion/bt/change_log b/bt5/erp5_discussion/bt/change_log
deleted file mode 100644
index dcf8678feec94d3ae4a1ac03a9e30ae3388739ac..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/bt/change_log
+++ /dev/null
@@ -1,5 +0,0 @@
-2010-03-18 Ivan
-* use default DMS publication workflow
-
-2010-03-18 Ivan
-* import provided by FX code
\ No newline at end of file
diff --git a/bt5/erp5_discussion/bt/copyright_list b/bt5/erp5_discussion/bt/copyright_list
deleted file mode 100644
index 50100c3f220b8136f8855247a0b87eb617b39d39..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/bt/copyright_list
+++ /dev/null
@@ -1 +0,0 @@
-(c) Nexedi 2009-2010
\ No newline at end of file
diff --git a/bt5/erp5_discussion/bt/dependency_list b/bt5/erp5_discussion/bt/dependency_list
index c83dbbece2695011437971e022234282a242bdd4..57e6c5fe8be629ae8a15f09f66e17bd8e0a7ee22 100644
--- a/bt5/erp5_discussion/bt/dependency_list
+++ b/bt5/erp5_discussion/bt/dependency_list
@@ -1,5 +1,3 @@
erp5_base
-erp5_rss_style
-erp5_knowledge_pad
-erp5_jquery
-erp5_dms
\ No newline at end of file
+erp5_post
+erp5_officejs_connector
\ No newline at end of file
diff --git a/bt5/erp5_discussion/bt/description b/bt5/erp5_discussion/bt/description
index eb8db2a55d68a90247b6750ed01d859449343bf1..e43048d2e6e00028e69328975a93a0e0f4451b9b 100644
--- a/bt5/erp5_discussion/bt/description
+++ b/bt5/erp5_discussion/bt/description
@@ -1 +1 @@
-This business template provides discussions for any ERP5 document.
\ No newline at end of file
+This bt provides a messenger platform for discussion and communication on ERP5
\ No newline at end of file
diff --git a/bt5/erp5_discussion/bt/maintainer_list b/bt5/erp5_discussion/bt/maintainer_list
deleted file mode 100644
index 092c3043976c87ea833e6a9e027c1992f572f151..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/bt/maintainer_list
+++ /dev/null
@@ -1,2 +0,0 @@
-Francois-Xavier
-JP
\ No newline at end of file
diff --git a/bt5/erp5_discussion/bt/template_action_path_list b/bt5/erp5_discussion/bt/template_action_path_list
index d9f06073ff6d828ddecb58b91bf4ef00ef3c4122..d9a63c21e20f6d18c2bc7c26053e370f3dcf6cc7 100644
--- a/bt5/erp5_discussion/bt/template_action_path_list
+++ b/bt5/erp5_discussion/bt/template_action_path_list
@@ -1,9 +1,4 @@
-Discussion Post | view
-Discussion Post | view_edit
-Discussion Post | web_view
-Discussion Thread Module | newThread
+Discussion Thread Module | new_thread
Discussion Thread Module | view
-Discussion Thread | add_discussion_post
-Discussion Thread | view
-Discussion Thread | web_view
-Preference | forum_style_preferences
\ No newline at end of file
+Discussion Thread | reply
+Discussion Thread | view
\ No newline at end of file
diff --git a/bt5/erp5_discussion/bt/template_path_list b/bt5/erp5_discussion/bt/template_path_list
deleted file mode 100644
index 064d12e5fa4b02b2b9b1747964f3ce1129e541bf..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/bt/template_path_list
+++ /dev/null
@@ -1,4 +0,0 @@
-notification_message_module/forum-new-thread
-notification_message_module/forum-new-thread/**
-portal_gadgets/erp5_forum
-portal_gadgets/erp5_forum/**
\ No newline at end of file
diff --git a/bt5/erp5_discussion/bt/template_portal_type_allowed_content_type_list b/bt5/erp5_discussion/bt/template_portal_type_allowed_content_type_list
index 2057cb66295c87108d7b6069599a2c1994d333c7..345d4cb5bf6734c0f310d44aa55301e938352c6f 100644
--- a/bt5/erp5_discussion/bt/template_portal_type_allowed_content_type_list
+++ b/bt5/erp5_discussion/bt/template_portal_type_allowed_content_type_list
@@ -1,2 +1 @@
-Discussion Thread Module | Discussion Thread
-Discussion Thread | Discussion Post
\ No newline at end of file
+Discussion Thread Module | Discussion Thread
\ No newline at end of file
diff --git a/bt5/erp5_discussion/bt/template_portal_type_base_category_list b/bt5/erp5_discussion/bt/template_portal_type_base_category_list
index 89c9d28cba3751b0886ec7cdb4c9077339de13ac..0c6cfa98051bf363e85e7fa585199947395133f3 100644
--- a/bt5/erp5_discussion/bt/template_portal_type_base_category_list
+++ b/bt5/erp5_discussion/bt/template_portal_type_base_category_list
@@ -1,4 +1 @@
-Discussion Post | successor
-Discussion Thread Module | business_application
-Discussion Thread | contributor
-Discussion Thread | source
\ No newline at end of file
+Discussion Thread Module | business_application
\ No newline at end of file
diff --git a/bt5/erp5_discussion/bt/template_portal_type_hidden_content_type_list b/bt5/erp5_discussion/bt/template_portal_type_hidden_content_type_list
deleted file mode 100644
index 5c0222fc0cbd54eb278e8bf3156a2f9bb5239b44..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/bt/template_portal_type_hidden_content_type_list
+++ /dev/null
@@ -1 +0,0 @@
-Discussion Thread | Discussion Post
\ No newline at end of file
diff --git a/bt5/erp5_discussion/bt/template_portal_type_id_list b/bt5/erp5_discussion/bt/template_portal_type_id_list
index 4c89f932a0bb7f6002eaf27d8d0bb39e28d8489e..ce0f44b3a1a7276fbc96623d52232da9aebae75e 100644
--- a/bt5/erp5_discussion/bt/template_portal_type_id_list
+++ b/bt5/erp5_discussion/bt/template_portal_type_id_list
@@ -1,3 +1,2 @@
-Discussion Post
Discussion Thread
Discussion Thread Module
\ No newline at end of file
diff --git a/bt5/erp5_discussion/bt/template_portal_type_property_sheet_list b/bt5/erp5_discussion/bt/template_portal_type_property_sheet_list
deleted file mode 100644
index 55ad1efe1102c0ec585140eb111df72d2de97894..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/bt/template_portal_type_property_sheet_list
+++ /dev/null
@@ -1,2 +0,0 @@
-Discussion Post | DiscussionPost
-Discussion Thread | Reference
\ No newline at end of file
diff --git a/bt5/erp5_discussion/bt/template_portal_type_workflow_chain_list b/bt5/erp5_discussion/bt/template_portal_type_workflow_chain_list
index 61f962a65e649050168945ae0ddb3ad5aa7de510..0091582891fa11a0003e24df42e95a856817b3eb 100644
--- a/bt5/erp5_discussion/bt/template_portal_type_workflow_chain_list
+++ b/bt5/erp5_discussion/bt/template_portal_type_workflow_chain_list
@@ -1,6 +1 @@
-Discussion Post | edit_workflow
-Discussion Post | embedded_workflow
-Discussion Thread | document_conversion_interaction_workflow
-Discussion Thread | document_publication_workflow
-Discussion Thread | document_security_interaction_workflow
Discussion Thread | edit_workflow
\ No newline at end of file
diff --git a/bt5/erp5_discussion/bt/template_property_sheet_id_list b/bt5/erp5_discussion/bt/template_property_sheet_id_list
deleted file mode 100644
index f4d34cdc617fbdd09acdd22f471f3c9d63928255..0000000000000000000000000000000000000000
--- a/bt5/erp5_discussion/bt/template_property_sheet_id_list
+++ /dev/null
@@ -1,2 +0,0 @@
-DiscussionPost
-ForumPreference
\ No newline at end of file
diff --git a/bt5/erp5_discussion/bt/version b/bt5/erp5_discussion/bt/version
index 1d71ef97443918d538e8188167c94d7bbafaf753..56a6051ca2b02b04ef92d5150c9ef600403cb1de 100644
--- a/bt5/erp5_discussion/bt/version
+++ b/bt5/erp5_discussion/bt/version
@@ -1 +1 @@
-0.3
\ No newline at end of file
+1
\ No newline at end of file
diff --git a/bt5/erp5_messenger/ActionTemplateItem/portal_types/Messenger%20Thread%20Module/view.xml b/bt5/erp5_messenger/ActionTemplateItem/portal_types/Messenger%20Thread%20Module/view.xml
new file mode 100644
index 0000000000000000000000000000000000000000..fe53fd93b9e261c3eff833ef2d5766294bb19642
--- /dev/null
+++ b/bt5/erp5_messenger/ActionTemplateItem/portal_types/Messenger%20Thread%20Module/view.xml
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+ -
+
action
+
+ AAAAAAAAAAI=
+
+
+ -
+
categories
+
+
+ action_type/object_list
+
+
+
+ -
+
category
+ object_list
+
+ -
+
condition
+
+
+ -
+
description
+
+
+ -
+
icon
+
+
+ -
+
id
+ view
+
+ -
+
permissions
+
+
+ View
+
+
+
+ -
+
portal_type
+ Action Information
+
+ -
+
priority
+ 1.0
+
+ -
+
title
+ View
+
+ -
+
visible
+ 1
+
+
+
+
+
+
+
+
+
+
+ -
+
text
+ string:${object_url}/MessengerThreadModule_viewMessengerThreadList
+
+
+
+
+
diff --git a/bt5/erp5_discussion/ActionTemplateItem/portal_types/Discussion%20Post/view_edit.xml b/bt5/erp5_messenger/ActionTemplateItem/portal_types/Messenger%20Thread/view.xml
similarity index 85%
rename from bt5/erp5_discussion/ActionTemplateItem/portal_types/Discussion%20Post/view_edit.xml
rename to bt5/erp5_messenger/ActionTemplateItem/portal_types/Messenger%20Thread/view.xml
index c41a71356c37c78e31fe5568d82532130822ff40..78b87decdeb4f126500438143925cc2e37e2b934 100644
--- a/bt5/erp5_discussion/ActionTemplateItem/portal_types/Discussion%20Post/view_edit.xml
+++ b/bt5/erp5_messenger/ActionTemplateItem/portal_types/Messenger%20Thread/view.xml
@@ -30,7 +30,7 @@
-
description
- Allow to edit the text content
+
-
icon
@@ -38,13 +38,13 @@
-
id
- view_edit
+ view
-
permissions
- Modify portal content
+ View
@@ -54,11 +54,11 @@
-
priority
- 2.0
+ 1.0
-
title
- Edit
+ View
-
visible
@@ -75,7 +75,7 @@
-
text
- string:${object_url}/DiscussionPost_viewEditor
+ string:${object_url}/MessengerThread_view
diff --git a/bt5/erp5_messenger/ModuleTemplateItem/messenger_thread_module.xml b/bt5/erp5_messenger/ModuleTemplateItem/messenger_thread_module.xml
new file mode 100644
index 0000000000000000000000000000000000000000..6c9c8c1464b22365f31c976770e3321340301ae3
--- /dev/null
+++ b/bt5/erp5_messenger/ModuleTemplateItem/messenger_thread_module.xml
@@ -0,0 +1,96 @@
+
+ messenger_thread_module
+
+
+ Access Transient Objects
+ Assignee
+ Assignor
+ Associate
+ Auditor
+ Author
+ Manager
+
+
+ Access contents information
+ Assignee
+ Assignor
+ Associate
+ Auditor
+ Author
+ Manager
+
+
+ Access session data
+ Assignee
+ Assignor
+ Associate
+ Auditor
+ Author
+ Manager
+
+
+ Add portal content
+ Assignor
+ Author
+ Manager
+
+
+ Add portal folders
+ Assignor
+ Author
+ Manager
+
+
+ Change local roles
+ Assignor
+ Manager
+
+
+ Copy or Move
+ Assignee
+ Assignor
+ Associate
+ Auditor
+ Author
+ Manager
+
+
+ Delete objects
+ Assignor
+ Manager
+
+
+ List folder contents
+ Assignee
+ Assignor
+ Associate
+ Auditor
+ Author
+ Manager
+
+
+ Modify portal content
+ Assignor
+ Manager
+
+
+ View
+ Assignee
+ Assignor
+ Associate
+ Auditor
+ Manager
+
+
+ View History
+ Assignee
+ Assignor
+ Associate
+ Auditor
+ Author
+ Manager
+
+
+ Messenger Thread Module
+ Messenger Threads
+
\ No newline at end of file
diff --git a/bt5/erp5_messenger/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml b/bt5/erp5_messenger/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
new file mode 100644
index 0000000000000000000000000000000000000000..1d0139a4764290e1b1908b4dbfcb294deda19dbf
--- /dev/null
+++ b/bt5/erp5_messenger/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
@@ -0,0 +1,5 @@
+
+
+ - Messenger Thread
+
+
\ No newline at end of file
diff --git a/bt5/erp5_messenger/PortalTypeBaseCategoryTemplateItem/base_category_list.xml b/bt5/erp5_messenger/PortalTypeBaseCategoryTemplateItem/base_category_list.xml
new file mode 100644
index 0000000000000000000000000000000000000000..c404b2fc9dc7e67e84eb374c06ef6883dd23b69e
--- /dev/null
+++ b/bt5/erp5_messenger/PortalTypeBaseCategoryTemplateItem/base_category_list.xml
@@ -0,0 +1,5 @@
+
+
+ - business_application
+
+
\ No newline at end of file
diff --git a/bt5/erp5_discussion/PortalTypeTemplateItem/portal_types/Discussion%20Post.xml b/bt5/erp5_messenger/PortalTypeTemplateItem/portal_types/Messenger%20Thread%20Module.xml
similarity index 76%
rename from bt5/erp5_discussion/PortalTypeTemplateItem/portal_types/Discussion%20Post.xml
rename to bt5/erp5_messenger/PortalTypeTemplateItem/portal_types/Messenger%20Thread%20Module.xml
index 6c601e5f3ea563d0fabc6d590d32d852c8e9e483..a9e80b56d8df8df5790d170605d50a1193d7f006 100644
--- a/bt5/erp5_discussion/PortalTypeTemplateItem/portal_types/Discussion%20Post.xml
+++ b/bt5/erp5_messenger/PortalTypeTemplateItem/portal_types/Messenger%20Thread%20Module.xml
@@ -9,20 +9,7 @@
-
_property_domain_dict
-
- -
-
short_title
-
- AAAAAAAAAAI=
-
-
- -
-
title
-
- AAAAAAAAAAM=
-
-
-
+ AAAAAAAAAAI=
-
@@ -31,33 +18,27 @@
-
content_icon
- document_icon.gif
-
- -
-
content_meta_type
- ERP5 Text Document
+ folder_icon.gif
-
description
- Discussion post are created in discussion threads
+ The Messenger Thread Module contains messenger threads objects for erp5 messenger.
-
factory
- addTextDocument
-
- -
-
filter_content_types
- 1
+ addFolder
-
group_list
-
+
+ module
+
-
id
- Discussion Post
+ Messenger Thread Module
-
init_script
@@ -72,20 +53,12 @@
-
-
searchable_text_method_id
-
-
- asRawText
-
-
-
- -
-
title
-
+ portal_type
+ Base Type
-
type_class
- TextDocument
+ Folder
-
type_interface
@@ -104,16 +77,42 @@
-
+
-
-
domain_name
+ data
-
+
+ -
+
short_title
+
+ AAAAAAAAAAM=
+
+
+ -
+
title
+
+ AAAAAAAAAAQ=
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
domain_name
+ erp5_ui
+
-
property_name
short_title
@@ -121,7 +120,7 @@
-
+
@@ -129,9 +128,7 @@
-
domain_name
-
-
-
+ erp5_ui
-
property_name
diff --git a/bt5/erp5_messenger/PortalTypeTemplateItem/portal_types/Messenger%20Thread.xml b/bt5/erp5_messenger/PortalTypeTemplateItem/portal_types/Messenger%20Thread.xml
new file mode 100644
index 0000000000000000000000000000000000000000..4dd337b3775890752030f9865210575002c61622
--- /dev/null
+++ b/bt5/erp5_messenger/PortalTypeTemplateItem/portal_types/Messenger%20Thread.xml
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
+ -
+
content_icon
+
+
+
+
+ -
+
description
+ A Messenger Thread document is used to represent a discussion on erp5 messenger.
+
+ -
+
factory
+ addXMLObject
+
+ -
+
group_list
+
+
+ ticket
+
+
+
+ -
+
id
+ Messenger Thread
+
+ -
+
init_script
+
+
+
+
+ -
+
permission
+
+
+
+
+ -
+
portal_type
+ Base Type
+
+ -
+
type_class
+ Ticket
+
+ -
+
type_interface
+
+
+
+
+ -
+
type_mixin
+
+
+
+
+
+
+
+
diff --git a/bt5/erp5_messenger/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml b/bt5/erp5_messenger/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
new file mode 100644
index 0000000000000000000000000000000000000000..ac8c063f10d57fbd1202eaa35261320479e89418
--- /dev/null
+++ b/bt5/erp5_messenger/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
@@ -0,0 +1,6 @@
+
+
+ Messenger Thread
+ edit_workflow
+
+
\ No newline at end of file
diff --git a/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion.xml b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion.xml
new file mode 100644
index 0000000000000000000000000000000000000000..f55e984481f658339a43e3146be055352662908f
--- /dev/null
+++ b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion.xml
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+ -
+
_objects
+
+
+
+
+ -
+
id
+ erp5_discussion
+
+ -
+
title
+
+
+
+
+
+
diff --git a/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerPostModule_viewMessengerPostList.xml b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerPostModule_viewMessengerPostList.xml
new file mode 100644
index 0000000000000000000000000000000000000000..d03f2a6efb036420d9b7011a7dfe64117a2a5c9f
--- /dev/null
+++ b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerPostModule_viewMessengerPostList.xml
@@ -0,0 +1,131 @@
+
+
+
+
+
+
+
+
+ -
+
_objects
+
+
+
+
+ -
+
action
+ Base_doSelect
+
+ -
+
description
+
+
+ -
+
edit_order
+
+
+
+
+ -
+
encoding
+ UTF-8
+
+ -
+
enctype
+
+
+ -
+
group_list
+
+
+ left
+ right
+ center
+ bottom
+ hidden
+
+
+
+ -
+
groups
+
+
+ -
+
bottom
+
+
+ listbox
+
+
+
+ -
+
center
+
+
+
+
+ -
+
hidden
+
+
+
+
+ -
+
left
+
+
+
+
+ -
+
right
+
+
+
+
+
+
+
+ -
+
id
+ MessengerPostModule_viewMessengerPostList
+
+ -
+
method
+ POST
+
+ -
+
name
+ MessengerPostModule_viewMessengerPostList
+
+ -
+
pt
+ form_list
+
+ -
+
row_length
+ 4
+
+ -
+
stored_encoding
+ UTF-8
+
+ -
+
title
+ Messenger Posts
+
+ -
+
unicode_mode
+ 0
+
+ -
+
update_action
+
+
+ -
+
update_action_title
+
+
+
+
+
+
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/Preference_viewForumSettings/my_preferred_forum_signature.xml b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerPostModule_viewMessengerPostList/listbox.xml
similarity index 81%
rename from bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/Preference_viewForumSettings/my_preferred_forum_signature.xml
rename to bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerPostModule_viewMessengerPostList/listbox.xml
index c7eeffe2f862b49655c8d011fbdd361d05560489..6abea9ac9ebfd08617099938e762f246f9333ec7 100644
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/Preference_viewForumSettings/my_preferred_forum_signature.xml
+++ b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerPostModule_viewMessengerPostList/listbox.xml
@@ -16,7 +16,7 @@
-
id
- my_preferred_forum_signature
+ listbox
-
message_values
@@ -41,10 +41,6 @@
form_id
- -
-
target
-
-
@@ -61,7 +57,7 @@
-
-
target
+ title
@@ -73,19 +69,26 @@
-
field_id
- my_text_area_field
+ my_list_mode_listbox
-
form_id
Base_viewFieldLibrary
-
-
target
- Click to edit the target
+ portal_type
+
+
+
+ Messenger Post
+ Messenger Post
+
+
+
-
title
- Signature
+ Messenger Posts
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewEditor.xml b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerPost_view.xml
similarity index 77%
rename from bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewEditor.xml
rename to bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerPost_view.xml
index b3bce791f802d2868282254913b3691cdfef0d90..f5d0ccfda391216009fd37c77f92ab4d8c631919 100644
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewEditor.xml
+++ b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerPost_view.xml
@@ -6,27 +6,6 @@
- -
-
_bind_names
-
-
-
-
-
-
-
-
- -
-
_asgns
-
-
-
-
-
-
-
-
-
-
_objects
@@ -39,7 +18,13 @@
-
description
- Test site to make a forum application
+
+
+ -
+
edit_order
+
+
+
-
encoding
@@ -74,9 +59,7 @@
-
center
-
- my_description
-
+
-
@@ -90,6 +73,9 @@
my_title
+ my_text_content
+ my_follow_up_title
+ my_source_title
@@ -104,7 +90,7 @@
-
id
- DiscussionThread_viewEditor
+ MessengerPost_view
-
method
@@ -112,7 +98,7 @@
-
name
- DiscussionThread_view
+ MessengerPost_view
-
pt
@@ -128,7 +114,7 @@
-
title
- Discussion Thread
+ Messenger Post
-
unicode_mode
@@ -138,6 +124,10 @@
update_action
+ -
+
update_action_title
+
+
diff --git a/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerPost_view/my_follow_up_title.xml b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerPost_view/my_follow_up_title.xml
new file mode 100644
index 0000000000000000000000000000000000000000..d088ef6909a7e0cf08a0c73b82b743c99aeb2872
--- /dev/null
+++ b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerPost_view/my_follow_up_title.xml
@@ -0,0 +1,573 @@
+
+
+
+
+
+
+
+
+ -
+
id
+ my_follow_up_title
+
+ -
+
message_values
+
+
+ -
+
external_validator_failed
+ The input failed the external validator.
+
+ -
+
line_too_long
+ A line was too long.
+
+ -
+
relation_result_ambiguous
+ Select appropriate document in the list.
+
+ -
+
relation_result_empty
+ No such document was found.
+
+ -
+
relation_result_too_long
+ Too many documents were found.
+
+ -
+
required_not_found
+ Input is required but no input given.
+
+ -
+
too_long
+ You entered too many characters.
+
+ -
+
too_many_lines
+ You entered too many lines.
+
+
+
+
+ -
+
overrides
+
+
+ -
+
allow_creation
+
+
+ -
+
allow_jump
+
+
+ -
+
alternate_name
+
+
+ -
+
base_category
+
+
+ -
+
catalog_index
+
+
+ -
+
columns
+
+
+ -
+
container_getter_id
+
+
+ -
+
context_getter_id
+
+
+ -
+
css_class
+
+
+ -
+
default
+
+
+ -
+
description
+
+
+ -
+
display_maxwidth
+
+
+ -
+
display_width
+
+
+ -
+
editable
+
+
+ -
+
enabled
+
+
+ -
+
external_validator
+
+
+ -
+
extra
+
+
+ -
+
extra_item
+
+
+ -
+
first_item
+
+
+ -
+
hidden
+
+
+ -
+
input_type
+
+
+ -
+
items
+
+
+ -
+
jump_method
+
+
+ -
+
list_method
+
+
+ -
+
max_length
+
+
+ -
+
max_linelength
+
+
+ -
+
max_lines
+
+
+ -
+
parameter_list
+
+
+ -
+
portal_type
+
+
+ -
+
proxy_listbox_ids
+
+
+ -
+
relation_form_id
+
+
+ -
+
relation_setter_id
+
+
+ -
+
required
+
+
+ -
+
size
+
+
+ -
+
sort
+
+
+ -
+
title
+
+
+ -
+
truncate
+
+
+ -
+
unicode
+
+
+ -
+
update_method
+
+
+ -
+
whitespace_preserve
+
+
+
+
+
+ -
+
tales
+
+
+ -
+
allow_creation
+
+
+ -
+
allow_jump
+
+
+ -
+
alternate_name
+
+
+ -
+
base_category
+
+
+ -
+
catalog_index
+
+
+ -
+
columns
+
+
+ -
+
container_getter_id
+
+
+ -
+
context_getter_id
+
+
+ -
+
css_class
+
+
+ -
+
default
+
+
+ -
+
description
+
+
+ -
+
display_maxwidth
+
+
+ -
+
display_width
+
+
+ -
+
editable
+
+
+ -
+
enabled
+
+
+ -
+
external_validator
+
+
+ -
+
extra
+
+
+ -
+
extra_item
+
+
+ -
+
first_item
+
+
+ -
+
hidden
+
+
+ -
+
input_type
+
+
+ -
+
items
+
+
+ -
+
jump_method
+
+
+ -
+
list_method
+
+
+ -
+
max_length
+
+
+ -
+
max_linelength
+
+
+ -
+
max_lines
+
+
+ -
+
parameter_list
+
+
+ -
+
portal_type
+
+
+ -
+
proxy_listbox_ids
+
+
+ -
+
relation_form_id
+
+
+ -
+
relation_setter_id
+
+
+ -
+
required
+
+
+ -
+
size
+
+
+ -
+
sort
+
+
+ -
+
title
+
+
+ -
+
truncate
+
+
+ -
+
unicode
+
+
+ -
+
update_method
+
+
+ -
+
whitespace_preserve
+
+
+
+
+
+ -
+
values
+
+
+ -
+
allow_creation
+ 1
+
+ -
+
allow_jump
+ 1
+
+ -
+
alternate_name
+
+
+ -
+
base_category
+ follow_up
+
+ -
+
catalog_index
+ title
+
+ -
+
columns
+
+
+
+
+ -
+
container_getter_id
+
+
+ -
+
context_getter_id
+
+
+ -
+
css_class
+
+
+ -
+
default
+
+
+ -
+
description
+
+
+ -
+
display_maxwidth
+
+
+ -
+
display_width
+ 20
+
+ -
+
editable
+ 1
+
+ -
+
enabled
+ 1
+
+ -
+
external_validator
+
+
+ -
+
extra
+
+
+ -
+
extra_item
+
+
+ -
+
first_item
+ 0
+
+ -
+
hidden
+ 0
+
+ -
+
input_type
+ text
+
+ -
+
items
+
+
+
+
+ -
+
jump_method
+ Base_jumpToRelatedDocument
+
+ -
+
list_method
+
+
+ -
+
max_length
+
+
+ -
+
max_linelength
+
+
+ -
+
max_lines
+
+
+ -
+
parameter_list
+
+
+
+
+ -
+
portal_type
+
+
+
+ Messenger Thread
+ Messenger Thread
+
+
+
+
+ -
+
proxy_listbox_ids
+
+
+
+
+ -
+
relation_form_id
+
+
+ -
+
relation_setter_id
+
+
+ -
+
required
+ 0
+
+ -
+
size
+ 1
+
+ -
+
sort
+
+
+
+
+ -
+
title
+ Thread
+
+ -
+
truncate
+ 0
+
+ -
+
unicode
+ 0
+
+ -
+
update_method
+ Base_validateRelation
+
+ -
+
whitespace_preserve
+ 0
+
+
+
+
+
+
+
+
diff --git a/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerPost_view/my_source_title.xml b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerPost_view/my_source_title.xml
new file mode 100644
index 0000000000000000000000000000000000000000..ac6e4e01ea866b2025f1069785c2fdbbee5abfa8
--- /dev/null
+++ b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerPost_view/my_source_title.xml
@@ -0,0 +1,573 @@
+
+
+
+
+
+
+
+
+ -
+
id
+ my_source_title
+
+ -
+
message_values
+
+
+ -
+
external_validator_failed
+ The input failed the external validator.
+
+ -
+
line_too_long
+ A line was too long.
+
+ -
+
relation_result_ambiguous
+ Select appropriate document in the list.
+
+ -
+
relation_result_empty
+ No such document was found.
+
+ -
+
relation_result_too_long
+ Too many documents were found.
+
+ -
+
required_not_found
+ Input is required but no input given.
+
+ -
+
too_long
+ You entered too many characters.
+
+ -
+
too_many_lines
+ You entered too many lines.
+
+
+
+
+ -
+
overrides
+
+
+ -
+
allow_creation
+
+
+ -
+
allow_jump
+
+
+ -
+
alternate_name
+
+
+ -
+
base_category
+
+
+ -
+
catalog_index
+
+
+ -
+
columns
+
+
+ -
+
container_getter_id
+
+
+ -
+
context_getter_id
+
+
+ -
+
css_class
+
+
+ -
+
default
+
+
+ -
+
description
+
+
+ -
+
display_maxwidth
+
+
+ -
+
display_width
+
+
+ -
+
editable
+
+
+ -
+
enabled
+
+
+ -
+
external_validator
+
+
+ -
+
extra
+
+
+ -
+
extra_item
+
+
+ -
+
first_item
+
+
+ -
+
hidden
+
+
+ -
+
input_type
+
+
+ -
+
items
+
+
+ -
+
jump_method
+
+
+ -
+
list_method
+
+
+ -
+
max_length
+
+
+ -
+
max_linelength
+
+
+ -
+
max_lines
+
+
+ -
+
parameter_list
+
+
+ -
+
portal_type
+
+
+ -
+
proxy_listbox_ids
+
+
+ -
+
relation_form_id
+
+
+ -
+
relation_setter_id
+
+
+ -
+
required
+
+
+ -
+
size
+
+
+ -
+
sort
+
+
+ -
+
title
+
+
+ -
+
truncate
+
+
+ -
+
unicode
+
+
+ -
+
update_method
+
+
+ -
+
whitespace_preserve
+
+
+
+
+
+ -
+
tales
+
+
+ -
+
allow_creation
+
+
+ -
+
allow_jump
+
+
+ -
+
alternate_name
+
+
+ -
+
base_category
+
+
+ -
+
catalog_index
+
+
+ -
+
columns
+
+
+ -
+
container_getter_id
+
+
+ -
+
context_getter_id
+
+
+ -
+
css_class
+
+
+ -
+
default
+
+
+ -
+
description
+
+
+ -
+
display_maxwidth
+
+
+ -
+
display_width
+
+
+ -
+
editable
+
+
+ -
+
enabled
+
+
+ -
+
external_validator
+
+
+ -
+
extra
+
+
+ -
+
extra_item
+
+
+ -
+
first_item
+
+
+ -
+
hidden
+
+
+ -
+
input_type
+
+
+ -
+
items
+
+
+ -
+
jump_method
+
+
+ -
+
list_method
+
+
+ -
+
max_length
+
+
+ -
+
max_linelength
+
+
+ -
+
max_lines
+
+
+ -
+
parameter_list
+
+
+ -
+
portal_type
+
+
+ -
+
proxy_listbox_ids
+
+
+ -
+
relation_form_id
+
+
+ -
+
relation_setter_id
+
+
+ -
+
required
+
+
+ -
+
size
+
+
+ -
+
sort
+
+
+ -
+
title
+
+
+ -
+
truncate
+
+
+ -
+
unicode
+
+
+ -
+
update_method
+
+
+ -
+
whitespace_preserve
+
+
+
+
+
+ -
+
values
+
+
+ -
+
allow_creation
+ 1
+
+ -
+
allow_jump
+ 1
+
+ -
+
alternate_name
+
+
+ -
+
base_category
+ source
+
+ -
+
catalog_index
+ title
+
+ -
+
columns
+
+
+
+
+ -
+
container_getter_id
+
+
+ -
+
context_getter_id
+
+
+ -
+
css_class
+
+
+ -
+
default
+
+
+ -
+
description
+
+
+ -
+
display_maxwidth
+
+
+ -
+
display_width
+ 20
+
+ -
+
editable
+ 1
+
+ -
+
enabled
+ 1
+
+ -
+
external_validator
+
+
+ -
+
extra
+
+
+ -
+
extra_item
+
+
+ -
+
first_item
+ 0
+
+ -
+
hidden
+ 0
+
+ -
+
input_type
+ text
+
+ -
+
items
+
+
+
+
+ -
+
jump_method
+ Base_jumpToRelatedDocument
+
+ -
+
list_method
+
+
+ -
+
max_length
+
+
+ -
+
max_linelength
+
+
+ -
+
max_lines
+
+
+ -
+
parameter_list
+
+
+
+
+ -
+
portal_type
+
+
+
+ Person
+ Person
+
+
+
+
+ -
+
proxy_listbox_ids
+
+
+
+
+ -
+
relation_form_id
+
+
+ -
+
relation_setter_id
+
+
+ -
+
required
+ 0
+
+ -
+
size
+ 1
+
+ -
+
sort
+
+
+
+
+ -
+
title
+ Author
+
+ -
+
truncate
+ 0
+
+ -
+
unicode
+ 0
+
+ -
+
update_method
+ Base_validateRelation
+
+ -
+
whitespace_preserve
+ 0
+
+
+
+
+
+
+
+
diff --git a/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerPost_view/my_text_content.xml b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerPost_view/my_text_content.xml
new file mode 100644
index 0000000000000000000000000000000000000000..f698dce6e1abe828bfede1b1e7f330800013e974
--- /dev/null
+++ b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerPost_view/my_text_content.xml
@@ -0,0 +1,272 @@
+
+
+
+
+
+
+
+
+ -
+
id
+ my_text_content
+
+ -
+
message_values
+
+
+ -
+
external_validator_failed
+ The input failed the external validator.
+
+ -
+
required_not_found
+ Input is required but no input given.
+
+ -
+
too_long
+ Too much input was given.
+
+
+
+
+ -
+
overrides
+
+
+ -
+
alternate_name
+
+
+ -
+
css_class
+
+
+ -
+
default
+
+
+ -
+
description
+
+
+ -
+
display_maxwidth
+
+
+ -
+
display_width
+
+
+ -
+
editable
+
+
+ -
+
enabled
+
+
+ -
+
external_validator
+
+
+ -
+
extra
+
+
+ -
+
hidden
+
+
+ -
+
input_type
+
+
+ -
+
max_length
+
+
+ -
+
required
+
+
+ -
+
title
+
+
+ -
+
truncate
+
+
+ -
+
unicode
+
+
+ -
+
whitespace_preserve
+
+
+
+
+
+ -
+
tales
+
+
+ -
+
alternate_name
+
+
+ -
+
css_class
+
+
+ -
+
default
+
+
+ -
+
description
+
+
+ -
+
display_maxwidth
+
+
+ -
+
display_width
+
+
+ -
+
editable
+
+
+ -
+
enabled
+
+
+ -
+
external_validator
+
+
+ -
+
extra
+
+
+ -
+
hidden
+
+
+ -
+
input_type
+
+
+ -
+
max_length
+
+
+ -
+
required
+
+
+ -
+
title
+
+
+ -
+
truncate
+
+
+ -
+
unicode
+
+
+ -
+
whitespace_preserve
+
+
+
+
+
+ -
+
values
+
+
+ -
+
alternate_name
+
+
+ -
+
css_class
+
+
+ -
+
default
+
+
+ -
+
description
+
+
+ -
+
display_maxwidth
+
+
+ -
+
display_width
+ 20
+
+ -
+
editable
+ 1
+
+ -
+
enabled
+ 1
+
+ -
+
external_validator
+
+
+ -
+
extra
+
+
+ -
+
hidden
+ 0
+
+ -
+
input_type
+ text
+
+ -
+
max_length
+
+
+ -
+
required
+ 0
+
+ -
+
title
+ Text Content
+
+ -
+
truncate
+ 0
+
+ -
+
unicode
+ 0
+
+ -
+
whitespace_preserve
+ 0
+
+
+
+
+
+
+
+
diff --git a/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerPost_view/my_title.xml b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerPost_view/my_title.xml
new file mode 100644
index 0000000000000000000000000000000000000000..4cc7d2e889b694839cd669fac164e3a5b87a9ff5
--- /dev/null
+++ b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerPost_view/my_title.xml
@@ -0,0 +1,272 @@
+
+
+
+
+
+
+
+
+ -
+
id
+ my_title
+
+ -
+
message_values
+
+
+ -
+
external_validator_failed
+ The input failed the external validator.
+
+ -
+
required_not_found
+ Input is required but no input given.
+
+ -
+
too_long
+ Too much input was given.
+
+
+
+
+ -
+
overrides
+
+
+ -
+
alternate_name
+
+
+ -
+
css_class
+
+
+ -
+
default
+
+
+ -
+
description
+
+
+ -
+
display_maxwidth
+
+
+ -
+
display_width
+
+
+ -
+
editable
+
+
+ -
+
enabled
+
+
+ -
+
external_validator
+
+
+ -
+
extra
+
+
+ -
+
hidden
+
+
+ -
+
input_type
+
+
+ -
+
max_length
+
+
+ -
+
required
+
+
+ -
+
title
+
+
+ -
+
truncate
+
+
+ -
+
unicode
+
+
+ -
+
whitespace_preserve
+
+
+
+
+
+ -
+
tales
+
+
+ -
+
alternate_name
+
+
+ -
+
css_class
+
+
+ -
+
default
+
+
+ -
+
description
+
+
+ -
+
display_maxwidth
+
+
+ -
+
display_width
+
+
+ -
+
editable
+
+
+ -
+
enabled
+
+
+ -
+
external_validator
+
+
+ -
+
extra
+
+
+ -
+
hidden
+
+
+ -
+
input_type
+
+
+ -
+
max_length
+
+
+ -
+
required
+
+
+ -
+
title
+
+
+ -
+
truncate
+
+
+ -
+
unicode
+
+
+ -
+
whitespace_preserve
+
+
+
+
+
+ -
+
values
+
+
+ -
+
alternate_name
+
+
+ -
+
css_class
+
+
+ -
+
default
+
+
+ -
+
description
+
+
+ -
+
display_maxwidth
+
+
+ -
+
display_width
+ 20
+
+ -
+
editable
+ 1
+
+ -
+
enabled
+ 1
+
+ -
+
external_validator
+
+
+ -
+
extra
+
+
+ -
+
hidden
+ 0
+
+ -
+
input_type
+ text
+
+ -
+
max_length
+
+
+ -
+
required
+ 0
+
+ -
+
title
+ Title
+
+ -
+
truncate
+ 0
+
+ -
+
unicode
+ 0
+
+ -
+
whitespace_preserve
+ 0
+
+
+
+
+
+
+
+
diff --git a/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThreadModule_addThread.py b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThreadModule_addThread.py
new file mode 100644
index 0000000000000000000000000000000000000000..0e6270586a3044d91c18f40c1d09b4576786ff57
--- /dev/null
+++ b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThreadModule_addThread.py
@@ -0,0 +1,10 @@
+messenger_thread = context.getPortalObject().messenger_thread_module.newContent(
+ title = thread_title,
+ portal_type = "Messenger Thread"
+)
+messenger_thread.setReference(messenger_thread.getId())
+
+messenger_thread.MessengerThread_createPost(thread_title, text_content)
+
+portal_status_message = "New thread created"
+messenger_thread.Base_redirect("view", keep_items = dict(portal_status_message = portal_status_message))
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_deleteDiscussionPost.xml b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThreadModule_addThread.xml
similarity index 92%
rename from bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_deleteDiscussionPost.xml
rename to bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThreadModule_addThread.xml
index 8ef3be73e1e460a66984a2034c98e72e039bfda4..401cd15061cf0508a7337ba609dbf4d2d3b83171 100644
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_deleteDiscussionPost.xml
+++ b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThreadModule_addThread.xml
@@ -50,11 +50,11 @@
-
_params
- delete_discussion_post_id
+ thread_title, text_content, form_id, **kw
-
id
- DiscussionThread_deleteDiscussionPost
+ MessengerThreadModule_addThread
diff --git a/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThreadModule_viewAddThreadDialog.xml b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThreadModule_viewAddThreadDialog.xml
new file mode 100644
index 0000000000000000000000000000000000000000..45cdc32f404b546fc356e3db16ad2851ab30ad87
--- /dev/null
+++ b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThreadModule_viewAddThreadDialog.xml
@@ -0,0 +1,132 @@
+
+
+
+
+
+
+
+
+ -
+
_objects
+
+
+
+
+ -
+
action
+ MessengerThreadModule_addThread
+
+ -
+
description
+
+
+ -
+
edit_order
+
+
+
+
+ -
+
encoding
+ UTF-8
+
+ -
+
enctype
+
+
+ -
+
group_list
+
+
+ left
+ right
+ center
+ bottom
+ hidden
+
+
+
+ -
+
groups
+
+
+ -
+
bottom
+
+
+
+
+ -
+
center
+
+
+
+
+ -
+
hidden
+
+
+
+
+ -
+
left
+
+
+ my_thread_title
+ my_text_content
+
+
+
+ -
+
right
+
+
+
+
+
+
+
+ -
+
id
+ MessengerThreadModule_viewAddThreadDialog
+
+ -
+
method
+ POST
+
+ -
+
name
+ MessengerThreadModule_viewAddThreadDialog
+
+ -
+
pt
+ form_dialog
+
+ -
+
row_length
+ 4
+
+ -
+
stored_encoding
+ UTF-8
+
+ -
+
title
+ New Thread
+
+ -
+
unicode_mode
+ 0
+
+ -
+
update_action
+
+
+ -
+
update_action_title
+
+
+
+
+
+
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_viewEditor/my_text_content.xml b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThreadModule_viewAddThreadDialog/my_text_content.xml
similarity index 89%
rename from bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_viewEditor/my_text_content.xml
rename to bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThreadModule_viewAddThreadDialog/my_text_content.xml
index 57d377e972b77e4af65b442f14bf07c6ac3e2b9d..7637a4afbc0497d1745505c8a3563e0801d44b5c 100644
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_viewEditor/my_text_content.xml
+++ b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThreadModule_viewAddThreadDialog/my_text_content.xml
@@ -10,6 +10,7 @@
delegated_list
+ default
title
@@ -41,10 +42,6 @@
form_id
- -
-
target
-
-
@@ -53,15 +50,15 @@
-
-
field_id
+ default
-
-
form_id
+ field_id
-
-
target
+ form_id
-
@@ -75,6 +72,10 @@
values
+ -
+
default
+
+
-
field_id
my_text_content
@@ -83,13 +84,9 @@
form_id
Base_viewWebFieldLibrary
- -
-
target
- Click to edit the target
-
-
title
- Page Content
+ Text
diff --git a/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThreadModule_viewAddThreadDialog/my_thread_title.xml b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThreadModule_viewAddThreadDialog/my_thread_title.xml
new file mode 100644
index 0000000000000000000000000000000000000000..981ee1c72205b076524d7aaa189d523b44cc9872
--- /dev/null
+++ b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThreadModule_viewAddThreadDialog/my_thread_title.xml
@@ -0,0 +1,272 @@
+
+
+
+
+
+
+
+
+ -
+
id
+ my_thread_title
+
+ -
+
message_values
+
+
+ -
+
external_validator_failed
+ The input failed the external validator.
+
+ -
+
required_not_found
+ Input is required but no input given.
+
+ -
+
too_long
+ Too much input was given.
+
+
+
+
+ -
+
overrides
+
+
+ -
+
alternate_name
+
+
+ -
+
css_class
+
+
+ -
+
default
+
+
+ -
+
description
+
+
+ -
+
display_maxwidth
+
+
+ -
+
display_width
+
+
+ -
+
editable
+
+
+ -
+
enabled
+
+
+ -
+
external_validator
+
+
+ -
+
extra
+
+
+ -
+
hidden
+
+
+ -
+
input_type
+
+
+ -
+
max_length
+
+
+ -
+
required
+
+
+ -
+
title
+
+
+ -
+
truncate
+
+
+ -
+
unicode
+
+
+ -
+
whitespace_preserve
+
+
+
+
+
+ -
+
tales
+
+
+ -
+
alternate_name
+
+
+ -
+
css_class
+
+
+ -
+
default
+
+
+ -
+
description
+
+
+ -
+
display_maxwidth
+
+
+ -
+
display_width
+
+
+ -
+
editable
+
+
+ -
+
enabled
+
+
+ -
+
external_validator
+
+
+ -
+
extra
+
+
+ -
+
hidden
+
+
+ -
+
input_type
+
+
+ -
+
max_length
+
+
+ -
+
required
+
+
+ -
+
title
+
+
+ -
+
truncate
+
+
+ -
+
unicode
+
+
+ -
+
whitespace_preserve
+
+
+
+
+
+ -
+
values
+
+
+ -
+
alternate_name
+
+
+ -
+
css_class
+
+
+ -
+
default
+
+
+ -
+
description
+
+
+ -
+
display_maxwidth
+
+
+ -
+
display_width
+ 20
+
+ -
+
editable
+ 1
+
+ -
+
enabled
+ 1
+
+ -
+
external_validator
+
+
+ -
+
extra
+
+
+ -
+
hidden
+ 0
+
+ -
+
input_type
+ text
+
+ -
+
max_length
+
+
+ -
+
required
+ 0
+
+ -
+
title
+ Title
+
+ -
+
truncate
+ 0
+
+ -
+
unicode
+ 0
+
+ -
+
whitespace_preserve
+ 0
+
+
+
+
+
+
+
+
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionModule_viewDiscussionThreadList.xml b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThreadModule_viewMessengerThreadList.xml
similarity index 93%
rename from bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionModule_viewDiscussionThreadList.xml
rename to bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThreadModule_viewMessengerThreadList.xml
index 191c40f6d37d741511882a22815599d6dab6651f..d88623329be10f5163ea9f8e9681d8f24e842bcd 100644
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionModule_viewDiscussionThreadList.xml
+++ b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThreadModule_viewMessengerThreadList.xml
@@ -43,9 +43,7 @@
-
edit_order
-
-
-
+ []
-
encoding
@@ -108,7 +106,7 @@
-
id
- DiscussionModule_viewDiscussionThreadList
+ MessengerThreadModule_viewMessengerThreadList
-
method
@@ -116,7 +114,7 @@
-
name
- DiscussionModule_viewDiscussionThreadList
+ MessengerThreadModule_viewMessengerThreadList
-
pt
@@ -132,7 +130,7 @@
-
title
- Discussion Threads
+ Messenger Threads
-
unicode_mode
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionModule_viewDiscussionThreadList/listbox.xml b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThreadModule_viewMessengerThreadList/listbox.xml
similarity index 83%
rename from bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionModule_viewDiscussionThreadList/listbox.xml
rename to bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThreadModule_viewMessengerThreadList/listbox.xml
index 3169a32a5fd25e55eaaa458c4f67de5fdd1fd883..3395abef54ee071f1a1b7d1b98153ba6195b8072 100644
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionModule_viewDiscussionThreadList/listbox.xml
+++ b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThreadModule_viewMessengerThreadList/listbox.xml
@@ -6,19 +6,6 @@
- -
-
delegated_list
-
-
- all_columns
- columns
- domain_root_list
- domain_tree
- selection_name
- title
-
-
-
-
id
listbox
@@ -31,6 +18,10 @@
external_validator_failed
The input failed the external validator.
+ -
+
required_not_found
+ Input is required but no input given.
+
@@ -46,10 +37,6 @@
form_id
- -
-
target
-
-
@@ -65,10 +52,6 @@
form_id
- -
-
target
-
-
@@ -142,15 +125,15 @@
- Discussion Thread
- Discussion Thread
+ Messenger Thread
+ Messenger Thread
-
selection_name
- discussion_module_selection
+ messenger_thread_module_selection
-
target
@@ -158,7 +141,7 @@
-
title
- Discussion Threads
+ Messenger Threads
diff --git a/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThread_addReply.py b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThread_addReply.py
new file mode 100644
index 0000000000000000000000000000000000000000..f0817325a8dee02ca1db0a9f617585ddb37685fc
--- /dev/null
+++ b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThread_addReply.py
@@ -0,0 +1,8 @@
+assert context.getPortalType() == "Messenger Thread"
+
+title = "Re: " + context.getTitle()
+
+context.MessengerThread_createPost(title, text_content)
+
+portal_status_message = "New post created"
+context.Base_redirect("view", keep_items = dict(portal_status_message = portal_status_message))
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_getContextPostList.xml b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThread_addReply.xml
similarity index 93%
rename from bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_getContextPostList.xml
rename to bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThread_addReply.xml
index 77fa60eb4681799862bb1b6ef78832199cc58ef3..bfdd145b600e72257fc979dac9856e5135122c5c 100644
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_getContextPostList.xml
+++ b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThread_addReply.xml
@@ -50,11 +50,11 @@
-
_params
- **kw
+ text_content, form_id, **kw
-
id
- DiscussionThread_getContextPostList
+ MessengerThread_addReply
diff --git a/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThread_createPost.py b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThread_createPost.py
new file mode 100644
index 0000000000000000000000000000000000000000..462ed4739d97c9d1a46f5011ca142a19f6687621
--- /dev/null
+++ b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThread_createPost.py
@@ -0,0 +1,20 @@
+post = context.PostModule_createHTMLPost(
+ title = title,
+ source_reference = context.getReference(),
+ data = text_content,
+ follow_up = context.getRelativeUrl(),
+ predecessor = None
+)
+
+attached_file = None
+web_site_relative_url = None
+if attached_file not in ("undefined", None):
+ pass # TODO attached file
+else:
+ post.publish()
+
+after_ingest_document_tag = 'after-ingest-%s' % post.getId()
+post.activate(
+ after_tag=after_ingest_document_tag
+ ).Post_ingestAndCreateEvent(
+ web_site_relative_url=web_site_relative_url)
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_getLastPost.xml b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThread_createPost.xml
similarity index 93%
rename from bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_getLastPost.xml
rename to bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThread_createPost.xml
index f1fa9eb1b4aaab85f0016a4036896319189e251c..ecb90a931764ac0404e4e79f64c47be5dba45f7c 100644
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_getLastPost.xml
+++ b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThread_createPost.xml
@@ -50,11 +50,11 @@
-
_params
-
+ title, text_content
-
id
- DiscussionThread_getLastPost
+ MessengerThread_createPost
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_viewAsWeb.xml b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThread_view.xml
similarity index 93%
rename from bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_viewAsWeb.xml
rename to bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThread_view.xml
index 245496dd43b53a557d88bc23ed8da6406b61f8ee..21bb4ab85644ac8f56c60594b672a991616444ac 100644
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_viewAsWeb.xml
+++ b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThread_view.xml
@@ -77,7 +77,7 @@
bottom
- my_text_content
+ my_listbox
@@ -104,6 +104,7 @@
my_title
+ my_reference
@@ -116,9 +117,7 @@
-
right (Publication Information)
-
- my_translated_validation_state_title
-
+
@@ -126,7 +125,7 @@
-
id
- DiscussionPost_viewAsWeb
+ MessengerThread_view
-
method
@@ -150,7 +149,7 @@
-
title
- Discussion Post
+ Messenger Thread
-
unicode_mode
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewCreateNewDiscussionThreadDialog/your_predecessor.xml b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThread_view/my_listbox.xml
similarity index 69%
rename from bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewCreateNewDiscussionThreadDialog/your_predecessor.xml
rename to bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThread_view/my_listbox.xml
index 12d6f606de97228252822c29260c0e97737ef0bd..a16ffd3f841490aee6702c57574512fa82415136 100644
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/WebSection_viewCreateNewDiscussionThreadDialog/your_predecessor.xml
+++ b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThread_view/my_listbox.xml
@@ -10,19 +10,16 @@
delegated_list
- css_class
- default
description
- display_width
- enabled
- input_type
+ gadget_url
+ renderjs_extra
title
-
id
- your_predecessor
+ my_listbox
-
message_values
@@ -58,39 +55,33 @@
tales
- -
-
css_class
-
-
- -
-
default
-
- AAAAAAAAAAI=
-
-
-
description
-
-
display_width
+ field_id
-
-
enabled
+ form_id
-
-
field_id
-
+ gadget_url
+
+ AAAAAAAAAAI=
+
-
-
form_id
+ height
-
-
input_type
-
+ renderjs_extra
+
+ AAAAAAAAAAM=
+
-
target
@@ -107,37 +98,31 @@
values
- -
-
css_class
- hidden_label
-
- -
-
default
-
-
-
description
- The url of the predecessor document
+ Content of the web page
-
-
display_width
- 40
+ field_id
+ my_text_content
-
-
enabled
- 1
+ form_id
+ Base_viewWebFieldLibrary
-
-
field_id
- my_title
+ gadget_url
+
-
-
form_id
- Base_viewFieldLibrary
+ height
+ 40
-
-
input_type
- hidden
+ renderjs_extra
+
+
+
-
target
@@ -145,7 +130,7 @@
-
title
- Predecessor
+ Post List
@@ -161,7 +146,20 @@
-
_text
- python: here.REQUEST.get(\'predecessor_url\', None)
+ python: field.restrictedTraverse(\'gadget_postlist.html\').absolute_url()
+
+
+
+
+
+
+
+
+
+
+ -
+
_text
+ python: [ ( \'query\', context.getPortalObject().portal_catalog.getSQLCatalog().buildQuery({"portal_type":[\'Web Message\'], "source_reference":context.getId()}).asSearchTextExpression(context.getPortalObject().portal_catalog.getSQLCatalog()) ), (\'view\', "view"), (\'jio_key\', context.getRelativeUrl()), (\'portal_type\', context.getPortalType()), (\'maximize\', \'listbox\' not in field.id)]
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_reference.xml b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThread_view/my_reference.xml
similarity index 100%
rename from bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_reference.xml
rename to bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThread_view/my_reference.xml
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_title.xml b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThread_view/my_title.xml
similarity index 100%
rename from bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_title.xml
rename to bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThread_view/my_title.xml
diff --git a/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThread_viewAddReplyDialog.xml b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThread_viewAddReplyDialog.xml
new file mode 100644
index 0000000000000000000000000000000000000000..3c3a42d42ac4110fdb0eda1476731226cd2dd064
--- /dev/null
+++ b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThread_viewAddReplyDialog.xml
@@ -0,0 +1,131 @@
+
+
+
+
+
+
+
+
+ -
+
_objects
+
+
+
+
+ -
+
action
+ MessengerThread_addReply
+
+ -
+
description
+
+
+ -
+
edit_order
+
+
+
+
+ -
+
encoding
+ UTF-8
+
+ -
+
enctype
+
+
+ -
+
group_list
+
+
+ left
+ right
+ center
+ bottom
+ hidden
+
+
+
+ -
+
groups
+
+
+ -
+
bottom
+
+
+
+
+ -
+
center
+
+
+
+
+ -
+
hidden
+
+
+
+
+ -
+
left
+
+
+ my_text_content
+
+
+
+ -
+
right
+
+
+
+
+
+
+
+ -
+
id
+ MessengerThread_viewAddReplyDialog
+
+ -
+
method
+ POST
+
+ -
+
name
+ MessengerThread_viewAddReplyDialog
+
+ -
+
pt
+ form_dialog
+
+ -
+
row_length
+ 4
+
+ -
+
stored_encoding
+ UTF-8
+
+ -
+
title
+ Reply
+
+ -
+
unicode_mode
+ 0
+
+ -
+
update_action
+
+
+ -
+
update_action_title
+
+
+
+
+
+
diff --git a/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThread_viewAddReplyDialog/my_text_content.xml b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThread_viewAddReplyDialog/my_text_content.xml
new file mode 100644
index 0000000000000000000000000000000000000000..d3dcb558e4f77c06c9ed6323f8c7adb5f8a0c5ae
--- /dev/null
+++ b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/MessengerThread_viewAddReplyDialog/my_text_content.xml
@@ -0,0 +1,89 @@
+
+
+
+
+
+
+
+
+ -
+
delegated_list
+
+
+ default
+ title
+
+
+
+ -
+
id
+ my_text_content
+
+ -
+
message_values
+
+
+ -
+
external_validator_failed
+ The input failed the external validator.
+
+
+
+
+ -
+
overrides
+
+
+ -
+
field_id
+
+
+ -
+
form_id
+
+
+
+
+
+ -
+
tales
+
+
+ -
+
field_id
+
+
+ -
+
form_id
+
+
+
+
+
+ -
+
values
+
+
+ -
+
default
+
+
+ -
+
field_id
+ my_text_content
+
+ -
+
form_id
+ Base_viewWebFieldLibrary
+
+ -
+
title
+ Content
+
+
+
+
+
+
+
+
diff --git a/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/Post_ingestAndCreateEvent.py b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/Post_ingestAndCreateEvent.py
new file mode 100644
index 0000000000000000000000000000000000000000..1bd17ba1d918255eda433bfc623186f6877bd0f1
--- /dev/null
+++ b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/Post_ingestAndCreateEvent.py
@@ -0,0 +1,35 @@
+from Products.ERP5Type.Message import translateString
+portal = context.getPortalObject()
+messenger_thread = context.getFollowUpValue()
+web_site_value = portal.restrictedTraverse(web_site_relative_url) if web_site_relative_url else None
+
+data = str(context.getData())
+is_html = context.getPortalType() == 'HTML Post'
+if is_html: # sanitize HTML
+ data = portal.portal_transforms.convertToData(
+ 'text/x-html-safe',
+ data,
+ context=context,
+ mimetype=context.getContentType())
+
+# TODO: check resource, in support_request seems to be important
+resource = None
+source_value = context.ERP5Site_getAuthenticatedMemberPersonValue()
+
+web_message = portal.event_module.newContent(
+ portal_type = 'Web Message',
+ title = context.getTitle(),
+ content_type = 'text/html' if is_html else 'text/plain',
+ text_content = data,
+ follow_up_value = messenger_thread,
+ aggregate_value_list = [context] + context.getSuccessorValueList(
+ portal_type = portal.getPortalDocumentTypeList()),
+ resource = resource,
+ source_value = source_value,
+ start_date = context.getCreationDate(),
+ source_reference = context.getSourceReference())
+
+web_message.stop()
+context.archive(
+ comment=translateString('Ingested as ${web_message_reference}',
+ mapping={'web_message_reference': web_message.getReference()}))
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_getDiscussionPostList.xml b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/Post_ingestAndCreateEvent.xml
similarity index 93%
rename from bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_getDiscussionPostList.xml
rename to bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/Post_ingestAndCreateEvent.xml
index ec0ca79e9916d776160570196304180aabe215d0..e9670258baca120975560e4b2de5c133f611fc04 100644
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_getDiscussionPostList.xml
+++ b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/Post_ingestAndCreateEvent.xml
@@ -50,11 +50,11 @@
-
_params
- **kw
+ web_site_relative_url=None
-
id
- DiscussionThread_getDiscussionPostList
+ Post_ingestAndCreateEvent
diff --git a/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/gadget_postlist.html.html b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/gadget_postlist.html.html
new file mode 100644
index 0000000000000000000000000000000000000000..86e70c6edde7d0267e9bb647932806b91cf40724
--- /dev/null
+++ b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/gadget_postlist.html.html
@@ -0,0 +1,46 @@
+
+
+
+
+
+ Post list gadget
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/gadget_postlist.html.xml b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/gadget_postlist.html.xml
new file mode 100644
index 0000000000000000000000000000000000000000..c7d44dc3090724c6193b1349f4a52c9332ff8283
--- /dev/null
+++ b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/gadget_postlist.html.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+ -
+
__name__
+ gadget_postlist.html
+
+ -
+
content_type
+ text/html
+
+ -
+
precondition
+
+
+ -
+
title
+
+
+
+
+
+
diff --git a/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/gadget_postlist.js.js b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/gadget_postlist.js.js
new file mode 100644
index 0000000000000000000000000000000000000000..5df8778b039b8e6fcebe99df80bf99cb9d130f02
--- /dev/null
+++ b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/gadget_postlist.js.js
@@ -0,0 +1,95 @@
+/*jslint nomen: true, indent: 2 */
+/*global window, rJS, RSVP, document, moment, jIO, Handlebars, console*/
+(function (window, rJS, RSVP, document, moment, jIO, Handlebars, console) {
+ "use strict";
+ var gadget_klass = rJS(window),
+ comment_list_template = Handlebars.compile(
+ gadget_klass.__template_element.getElementById("template-document-list").innerHTML
+ );
+
+ rJS(window)
+
+ .declareAcquiredMethod("getSetting", "getSetting")
+ .declareAcquiredMethod("jio_allDocs", "jio_allDocs")
+
+ .declareMethod('render', function (options) {
+ var gadget = this;
+ gadget.options = options;
+ return gadget.getSetting('hateoas_url')
+ .push(function (hateoas_url) {
+ gadget.hateoas_url = hateoas_url;
+ })
+ .push(function () {
+ var state_dict = {
+ id: options.jio_key,
+ view: options.view,
+ editable: options.editable,
+ query: options.query,
+ erp5_form: options.erp5_form || {}
+ };
+ return gadget.changeState(state_dict);
+ });
+ })
+
+ .onStateChange(function () {
+ var gadget = this;
+ return gadget.jio_allDocs({
+ "query": gadget.state.query,
+ "select_list": ["text_content", "modification_date", "source_title", "follow_up_title"],
+ "sort_on": [["modification_date", "ascending"]]
+ })
+ .push(function (results) {
+ var post_list = results.data.rows;
+ function getPostWithLinkAndLocalDate(post) {
+ post.date = post.value.modification_date;
+ post.date_formatted = moment(post.date).format('LLLL');
+ post.date_relative = moment(post.date).fromNow();
+ if (post.attachment_link === null) {
+ return post;
+ }
+ if (post.attachment_link.indexOf("image_module") !== -1) {
+ return gadget.getImageUrl(post.attachment_link).push(
+ function (attachment_link) {
+ post.attachment_link = attachment_link;
+ return post;
+ }
+ );
+ }
+ return gadget.getDocumentUrl(post.attachment_link).push(
+ function (attachment_link) {
+ post.attachment_link = attachment_link;
+ return post;
+ }
+ );
+ }
+ var queue_list = [], i = 0;
+ for (i = 0; i < post_list.length; i += 1) {
+ post_list[i].user = post_list[i].value.source_title;
+ // TODO: attachments
+ post_list[i].attachment_link = null;
+ post_list[i].attachment_name = null;
+ queue_list.push(getPostWithLinkAndLocalDate(post_list[i]));
+ }
+ return RSVP.all(queue_list);
+ })
+ .push(function (comment_list) {
+ console.log("comment_list results:");
+ console.log(comment_list);
+ var comments = gadget.element.querySelector("#post_list");
+ comments.innerHTML = comment_list_template({comments: comment_list});
+ });
+ })
+
+ .onLoop(function () {
+ // update relative time
+ var elements = this.element.querySelectorAll("li>time");
+ [].forEach.call(elements, function (element) {
+ element.textContent = moment(element.getAttribute('datetime')).fromNow();
+ });
+ }, 5000)
+
+ /*.onEvent('submit', function () {
+ return this.submitPostComment();
+ })*/;
+
+}(window, rJS, RSVP, document, moment, jIO, Handlebars, console));
\ No newline at end of file
diff --git a/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/gadget_postlist.js.xml b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/gadget_postlist.js.xml
new file mode 100644
index 0000000000000000000000000000000000000000..1b6dbe0e3dbaba13dd2a1b6d19158653f9c896dc
--- /dev/null
+++ b/bt5/erp5_messenger/SkinTemplateItem/portal_skins/erp5_discussion/gadget_postlist.js.xml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+ -
+
__name__
+ gadget_postlist.js
+
+ -
+
content_type
+ application/javascript
+
+ -
+
precondition
+
+
+ -
+
title
+
+
+
+
+
+
diff --git a/bt5/erp5_messenger/bt/dependency_list b/bt5/erp5_messenger/bt/dependency_list
new file mode 100644
index 0000000000000000000000000000000000000000..a0ba5a6af5e142cb8b6e6172d184ad3ea41b3590
--- /dev/null
+++ b/bt5/erp5_messenger/bt/dependency_list
@@ -0,0 +1,2 @@
+erp5_base
+erp5_post
\ No newline at end of file
diff --git a/bt5/erp5_messenger/bt/description b/bt5/erp5_messenger/bt/description
new file mode 100644
index 0000000000000000000000000000000000000000..e43048d2e6e00028e69328975a93a0e0f4451b9b
--- /dev/null
+++ b/bt5/erp5_messenger/bt/description
@@ -0,0 +1 @@
+This bt provides a messenger platform for discussion and communication on ERP5
\ No newline at end of file
diff --git a/bt5/erp5_messenger/bt/template_action_path_list b/bt5/erp5_messenger/bt/template_action_path_list
new file mode 100644
index 0000000000000000000000000000000000000000..fff934d098b0378768c3839ff2af73bc0e87c547
--- /dev/null
+++ b/bt5/erp5_messenger/bt/template_action_path_list
@@ -0,0 +1,2 @@
+Messenger Thread Module | view
+Messenger Thread | view
\ No newline at end of file
diff --git a/bt5/erp5_messenger/bt/template_format_version b/bt5/erp5_messenger/bt/template_format_version
new file mode 100644
index 0000000000000000000000000000000000000000..56a6051ca2b02b04ef92d5150c9ef600403cb1de
--- /dev/null
+++ b/bt5/erp5_messenger/bt/template_format_version
@@ -0,0 +1 @@
+1
\ No newline at end of file
diff --git a/bt5/erp5_messenger/bt/template_module_id_list b/bt5/erp5_messenger/bt/template_module_id_list
new file mode 100644
index 0000000000000000000000000000000000000000..5a89ca914f90c2b06af238f5692503d5aabe7c23
--- /dev/null
+++ b/bt5/erp5_messenger/bt/template_module_id_list
@@ -0,0 +1 @@
+messenger_thread_module
\ No newline at end of file
diff --git a/bt5/erp5_messenger/bt/template_portal_type_allowed_content_type_list b/bt5/erp5_messenger/bt/template_portal_type_allowed_content_type_list
new file mode 100644
index 0000000000000000000000000000000000000000..5193d1d56194f8df6c0a4acb7717832e26447aee
--- /dev/null
+++ b/bt5/erp5_messenger/bt/template_portal_type_allowed_content_type_list
@@ -0,0 +1 @@
+Messenger Thread Module | Messenger Thread
\ No newline at end of file
diff --git a/bt5/erp5_messenger/bt/template_portal_type_base_category_list b/bt5/erp5_messenger/bt/template_portal_type_base_category_list
new file mode 100644
index 0000000000000000000000000000000000000000..67b84ba6e52314f8318b66f4861cfae96c855188
--- /dev/null
+++ b/bt5/erp5_messenger/bt/template_portal_type_base_category_list
@@ -0,0 +1 @@
+Messenger Thread Module | business_application
\ No newline at end of file
diff --git a/bt5/erp5_messenger/bt/template_portal_type_id_list b/bt5/erp5_messenger/bt/template_portal_type_id_list
new file mode 100644
index 0000000000000000000000000000000000000000..e2b5f1a942c0400bbe953db367583deec904f8a5
--- /dev/null
+++ b/bt5/erp5_messenger/bt/template_portal_type_id_list
@@ -0,0 +1,2 @@
+Messenger Thread
+Messenger Thread Module
\ No newline at end of file
diff --git a/bt5/erp5_messenger/bt/template_portal_type_workflow_chain_list b/bt5/erp5_messenger/bt/template_portal_type_workflow_chain_list
new file mode 100644
index 0000000000000000000000000000000000000000..ed8741bb6dbc2f063c59ccb27a3d3a28abde09fd
--- /dev/null
+++ b/bt5/erp5_messenger/bt/template_portal_type_workflow_chain_list
@@ -0,0 +1 @@
+Messenger Thread | edit_workflow
\ No newline at end of file
diff --git a/bt5/erp5_messenger/bt/template_skin_id_list b/bt5/erp5_messenger/bt/template_skin_id_list
new file mode 100644
index 0000000000000000000000000000000000000000..694bc184b5a7afb0d89671873e42f5a1010c896e
--- /dev/null
+++ b/bt5/erp5_messenger/bt/template_skin_id_list
@@ -0,0 +1 @@
+erp5_discussion
\ No newline at end of file
diff --git a/bt5/erp5_messenger/bt/title b/bt5/erp5_messenger/bt/title
new file mode 100644
index 0000000000000000000000000000000000000000..5a5d7b59a916eb4bfea1e9c35653b7cf9ba47db7
--- /dev/null
+++ b/bt5/erp5_messenger/bt/title
@@ -0,0 +1 @@
+erp5_messenger
\ No newline at end of file
diff --git a/bt5/erp5_messenger/bt/version b/bt5/erp5_messenger/bt/version
new file mode 100644
index 0000000000000000000000000000000000000000..56a6051ca2b02b04ef92d5150c9ef600403cb1de
--- /dev/null
+++ b/bt5/erp5_messenger/bt/version
@@ -0,0 +1 @@
+1
\ No newline at end of file
diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_controller_page_controller_js.js b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_controller_page_controller_js.js
index b8cf6ee6100ac8206072a1e85c120656ee9558af..8d4631bd67a07632df8dfea1f701f160647668ff 100644
--- a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_controller_page_controller_js.js
+++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_controller_page_controller_js.js
@@ -1,6 +1,6 @@
-/*global document, window, rJS */
+/*global document, window, rJS, RSVP, jIO */
/*jslint nomen: true, indent: 2, maxerr: 3 */
-(function (document, window, rJS) {
+(function (document, window, rJS, RSVP, jIO) {
"use strict";
rJS(window)
@@ -10,82 +10,216 @@
/////////////////////////////////////////////////////////////////
.declareAcquiredMethod("jio_get", "jio_get")
.declareAcquiredMethod("jio_put", "jio_put")
- .declareAcquiredMethod("redirect", "redirect")
+ .declareAcquiredMethod("getUrlFor", "getUrlFor")
+ .declareAcquiredMethod("getSetting", "getSetting")
+ .declareAcquiredMethod("updateHeader", "updateHeader")
+ .declareAcquiredMethod("notifySubmitted", 'notifySubmitted')
+ .declareAcquiredMethod("notifySubmitting", "notifySubmitting")
/////////////////////////////////////////////////////////////////
// declared methods
/////////////////////////////////////////////////////////////////
- .allowPublicAcquisition('notifySubmit', function () {
- return this.triggerSubmit();
+
+ .declareMethod("getFormDefinition", function () {
+ //preparing a less hardcoded version, moving form definition to erp5 side
+ /*var gadget = this;
+ return new RSVP.Queue()
+ .push(function () {
+ return RSVP.all([
+ gadget.getSetting('hateoas_url'),
+ gadget.getSetting('default_view_reference')
+ ]);
+ })
+ .push(function (setting_list) {
+ var jio_options = {
+ type: "erp5",
+ url: setting_list[0],
+ default_view_reference: setting_list[1]
+ },
+ jio_storage = jIO.createJIO(jio_options);
+ return jio_storage.get('portal_skins/erp5_officejs_jio_connector/HTMLPost_viewAsJio')
+ .push(function (result) {
+ return result.form_definition;
+ });
+ });*/
+ //somehow the form_definition should come from the erp5-doc/form (jio?)
+ //for now, hardcoded form_definition for POST VIEW
+ return {
+ _debug: "traverse",
+ pt: "form_view",
+ title: "Post",
+ group_list: [[
+ "left",
+ [["my_title", {meta_type: "StringField"}]]
+ ], [
+ "bottom",
+ [["my_text_content", {meta_type: "ProxyField"}]]
+ ]],
+ //this field_info is totally made up, but somewhere in the definition there must be
+ //information about the fields. So, foreach field: key->info
+ field_info_dict: {
+ "my_title": {
+ "title": "Title",
+ "default": "Undefined title",
+ "editable": 1,
+ "key": "title",
+ "type": "StringField"
+ },
+ "my_text_content": {
+ "editable": 1,
+ "key": "text_content",
+ "renderjs_extra": '{"editor": "fck_editor",' +
+ '"maximize": true}',
+ "type": "GadgetField",
+ "url": "gadget_editor.html",
+ "sandbox": "public"
+ }
+ },
+ action: "Base_edit",
+ update_action: "",
+ _links: { "type": { name: "" } },
+ _actions: { "put": true }
+ };
})
- .allowPublicAcquisition('updateDocument', function (param_list) {
- var gadget = this, content = param_list[0];
- return gadget.jio_get(gadget.state.jio_key)
- .push(function (doc) {
- var property;
- for (property in content) {
- if (content.hasOwnProperty(property)) {
- doc[property] = content[property];
- }
+
+ .declareMethod("generateJsonRenderForm", function (form_definition, document) {
+ var form_json = {
+ erp5_document: {
+ "_embedded": {"_view": {}},
+ "_links": {}
+ },
+ form_definition: form_definition
+ }, i, j, fields, field_info, my_element, element_id;
+ for (i = 0; i < form_definition.group_list.length; i += 1) {
+ fields = form_definition.group_list[i][1];
+ for (j = 0; j < fields.length; j += 1) {
+ my_element = fields[j][0];
+ if (my_element.startsWith("my_")) {
+ element_id = my_element.replace("my_", "");
+ } else if (my_element.startsWith("your_")) {
+ element_id = my_element.replace("your_", "");
}
- return gadget.jio_put(gadget.state.jio_key, doc);
+ field_info = form_definition.field_info_dict[my_element];
+ if (document && document.hasOwnProperty(element_id)) {
+ field_info["default"] = document[element_id];
+ }
+ form_json.erp5_document._embedded._view[my_element] = field_info;
+ }
+ }
+ form_json.erp5_document._embedded._view._actions = form_definition._actions;
+ form_json.erp5_document._links = form_definition._links;
+ return form_json;
+ })
+ .allowPublicAcquisition('submitContent', function (options) {
+ var gadget = this,
+ jio_key = options[0],
+ //target_url = options[1],
+ content_dict = options[2];
+ return gadget.notifySubmitting()
+ .push(function () {
+ // this should be jio_getattachment (using target_url)
+ return gadget.jio_get(jio_key)
+ .push(function (document) {
+ var property;
+ for (property in content_dict) {
+ if (content_dict.hasOwnProperty(property)) {
+ document[property] = content_dict[property];
+ }
+ }
+ return gadget.jio_put(jio_key, document);
+ });
+ })
+ .push(function () {
+ return gadget.notifySubmitted({message: 'Data Updated', status: 'success'});
});
})
+ .allowPublicAcquisition('notifySubmit', function () {
+ return this.triggerSubmit();
+ })
.declareMethod('triggerSubmit', function () {
return this.getDeclaredGadget('fg')
- .push(function (g) {
- return g.triggerSubmit();
+ .push(function (gadget) {
+ return gadget.triggerSubmit();
+ });
+ })
+
+ .declareMethod("renderSubGadget", function (gadget, subgadget, form_json) {
+ return subgadget.render({
+ jio_key: gadget.state.jio_key,
+ doc: gadget.state.doc,
+ erp5_document: form_json.erp5_document,
+ form_definition: form_json.form_definition,
+ editable: gadget.state.editable,
+ view: gadget.state.view,
+ form_json: form_json
+ })
+ .push(function () {
+ return RSVP.all([
+ gadget.getUrlFor({command: 'history_previous'}),
+ gadget.getUrlFor({command: 'selection_previous'}),
+ gadget.getUrlFor({command: 'selection_next'})
+ ]);
+ })
+ .push(function (url_list) {
+ return subgadget.updateHeader({
+ page_title: gadget.state.doc.title,
+ save_action: true,
+ selection_url: url_list[0],
+ previous_url: url_list[1],
+ next_url: url_list[2]
+ });
});
})
.declareMethod("render", function (options) {
var gadget = this,
child_gadget_url;
-
return gadget.jio_get(options.jio_key)
.push(function (result) {
-
if (result.portal_type !== undefined) {
- child_gadget_url = 'gadget_officejs_jio_' +
+ /*child_gadget_url = 'gadget_officejs_jio_' +
result.portal_type.replace(/ /g, '_').toLowerCase() +
- '_view.html';
+ '_view.html';*/
+ // [HARDCODED] force to use form view editable
+ child_gadget_url = 'gadget_erp5_pt_form_view_editable.html';
} else {
throw new Error('Can not display document: ' + options.jio_key);
}
-
- return gadget.changeState({
- jio_key: options.jio_key,
- doc: result,
- child_gadget_url: child_gadget_url
- });
+ return gadget.getFormDefinition(options.jio_key)
+ .push(function (form_definition) {
+ return gadget.changeState({
+ jio_key: options.jio_key,
+ doc: result,
+ child_gadget_url: child_gadget_url,
+ form_definition: form_definition,
+ editable: options.editable,
+ view: options.view
+ });
+ });
});
})
+
.onStateChange(function (modification_dict) {
var fragment = document.createElement('div'),
gadget = this;
- if (!modification_dict.hasOwnProperty('child_gadget_url')) {
- return gadget.getDeclaredGadget('fg')
- .push(function (child_gadget) {
- return child_gadget.render({
- jio_key: gadget.state.jio_key,
- doc: gadget.state.doc
+ return gadget.generateJsonRenderForm(gadget.state.form_definition, gadget.state.doc)
+ .push(function (form_json) {
+ if (!modification_dict.hasOwnProperty('child_gadget_url')) {
+ return gadget.getDeclaredGadget('fg')
+ .push(function (child_gadget) {
+ return gadget.renderSubGadget(gadget, child_gadget, form_json);
+ });
+ }
+ // 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 gadget.renderSubGadget(gadget, form_gadget, form_json);
});
- });
- }
- // Clear first to DOM, append after to reduce flickering/manip
- while (this.element.firstChild) {
- this.element.removeChild(this.element.firstChild);
- }
- this.element.appendChild(fragment);
-
- return gadget.declareGadget(gadget.state.child_gadget_url, {element: fragment,
- scope: 'fg'})
- .push(function (form_gadget) {
- return form_gadget.render({
- jio_key: gadget.state.jio_key,
- doc: gadget.state.doc
- });
});
});
-}(document, window, rJS));
\ No newline at end of file
+}(document, window, rJS, RSVP, jIO));
\ No newline at end of file
diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_controller_page_controller_js.xml b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_controller_page_controller_js.xml
index 894deee9c59431242fb009d8ebf13afe5ab25470..ab0afa5e218dbf9e50a3a45f0de7103b3869cb0a 100644
--- a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_controller_page_controller_js.xml
+++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_controller_page_controller_js.xml
@@ -227,7 +227,7 @@
-
serial
- 967.6016.61211.59613
+ 973.43856.29209.60757
-
state
@@ -245,7 +245,7 @@
- 1524754712.51
+ 1550168687.51
UTC
diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_discussion_tool_appcache.xml b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_discussion_tool_appcache.xml
new file mode 100644
index 0000000000000000000000000000000000000000..de1ecfb5bd962f16fa21fab7782b027f776e32d5
--- /dev/null
+++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_discussion_tool_appcache.xml
@@ -0,0 +1,802 @@
+
+
+
+
+
+
+
+
+ -
+
_Access_contents_information_Permission
+
+
+ Anonymous
+ Assignee
+ Assignor
+ Associate
+ Auditor
+ Manager
+
+
+
+ -
+
_Add_portal_content_Permission
+
+
+ Assignee
+ Assignor
+ Manager
+
+
+
+ -
+
_Change_local_roles_Permission
+
+
+ Assignor
+ Manager
+
+
+
+ -
+
_Modify_portal_content_Permission
+
+
+ Assignee
+ Assignor
+ Manager
+
+
+
+ -
+
_View_Permission
+
+
+ Anonymous
+ Assignee
+ Assignor
+ Associate
+ Auditor
+ Manager
+
+
+
+ -
+
categories
+
+
+ contributor/person_module/1
+
+
+
+ -
+
content_md5
+
+
+
+
+ -
+
content_type
+ text/html
+
+ -
+
default_reference
+ gadget_officejs_discussion_tool.appcache
+
+ -
+
description
+
+
+
+
+ -
+
id
+ gadget_officejs_discussion_tool_appcache
+
+ -
+
language
+ en
+
+ -
+
portal_type
+ Web Manifest
+
+ -
+
short_title
+
+
+
+
+ -
+
text_content
+ CACHE MANIFEST\n
+# generated on Fri, 25 Jun 2016 11:45:33 +0000\n
+# XXX + fonts\n
+# images/ajax-loader.gif\n
+CACHE:\n
+#officejs\n
+font-awesome/font-awesome.css\n
+font-awesome/font-awesome-webfont.eot\n
+font-awesome/font-awesome-webfont.woff\n
+font-awesome/font-awesome-webfont.woff2\n
+font-awesome/font-awesome-webfont.ttf\n
+font-awesome/font-awesome-webfont.svg\n
+gadget_erp5_nojqm.css\n
+jio_ojs_storage.js\n
+gadget_erp5_global.js\n
+URI.js\n
+dygraph.js\n
+handlebars.js\n
+jiodev.js\n
+renderjs.js\n
+rsvp.js\n
+gadget_global.js\n
+erp5_launcher_nojqm.js\n
+gadget_officejs_router.js\n
+gadget_erp5_router.html\n
+gadget_erp5_router.js\n
+gadget_jio.html\n
+gadget_jio.js\n
+gadget_translate.html\n
+gadget_translate.js\n
+gadget_translation.html\n
+gadget_translation.js\n
+gadget_translation_data.js\n
+gadget_erp5_editor_panel.html\n
+gadget_erp5_editor_panel.js\n
+gadget_erp5_ojs_panel.html\n
+gadget_erp5_ojs_panel.js\n
+gadget_erp5_header.html\n
+gadget_erp5_header.js\n
+gadget_ojs_jio.html\n
+gadget_ojs_jio.js\n
+\n
+gadget_erp5_page_ojs_configurator.html\n
+gadget_erp5_page_ojs_configurator.js\n
+gadget_erp5_page_ojs_dav_configurator.html\n
+gadget_erp5_page_ojs_dav_configurator.js\n
+gadget_erp5_page_ojs_erp5_configurator.html\n
+gadget_erp5_page_ojs_erp5_configurator.js\n
+gadget_erp5_page_ojs_dropbox_configurator.html\n
+gadget_erp5_page_ojs_dropbox_configurator.js\n
+gadget_erp5_page_ojs_sync.html\n
+gadget_erp5_page_ojs_sync.js\n
+\n
+gadget_ojs_configurator_access.html\n
+gadget_ojs_configurator_access.js\n
+gadget_html5_input.html\n
+gadget_html5_input.js\n
+gadget_erp5_field_multicheckbox.html\n
+gadget_erp5_field_multicheckbox.js\n
+gadget_erp5_searchfield.html\n
+gadget_erp5_searchfield.js\n
+gadget_erp5_pt_form_list.html\n
+gadget_erp5_pt_form_list.js\n
+gadget_erp5_form.html\n
+gadget_erp5_form.js\n
+gadget_erp5_label_field.html\n
+gadget_erp5_label_field.js\n
+gadget_erp5_field_listbox.js\n
+gadget_erp5_field_datetime.html\n
+gadget_erp5_field_datetime.js\n
+gadget_html5_element.html\n
+gadget_html5_element.js\n
+gadget_erp5_notification.html\n
+gadget_erp5_notification.js\n
+gadget_erp5_field_string.html\n
+gadget_erp5_field_string.js\n
+gadget_erp5_field_editor.html\n
+gadget_erp5_field_editor.js\n
+gadget_erp5_field_gadget.html\n
+gadget_erp5_field_gadget.js\n
+gadget_erp5_search_editor.html\n
+gadget_erp5_search_editor.js\n
+gadget_erp5_sort_editor.html\n
+gadget_erp5_sort_editor.js\n
+gadget_erp5_field_password.html\n
+gadget_erp5_field_password.js\n
+gadget_erp5_field_textarea.html\n
+gadget_erp5_field_textarea.js\n
+gadget_html5_textarea.html\n
+gadget_html5_textarea.js\n
+gadget_editor.html\n
+gadget_editor.js\n
+gadget_button_maximize.html\n
+gadget_button_maximize.js\n
+gadget_erp5_configure_editor.html\n
+gadget_erp5_configure_editor.js\n
+\n
+#setting\n
+gadget_officejs_setting.js\n
+gadget_officejs_setting.html\n
+\n
+#text editor\n
+#gadget_officejs_text_editor_router.html\n
+#gadget_officejs_jio_web_page_view.html\n
+#gadget_officejs_jio_web_page_view.js\n
+gadget_officejs_text_editor.json\n
+gadget_officejs_text_editor_install.json\n
+officejs_logo_text_editor.png\n
+\n
+#discussion tool\n
+gadget_erp5_pt_form_view_editable.html\n
+gadget_erp5_pt_form_view_editable.js\n
+gadget_officejs_discussion_tool_router.html\n
+gadget_erp5_page_ojs_controller.html\n
+gadget_erp5_page_ojs_controller.js\n
+gadget_erp5_page_ojs_post_list.html\n
+gadget_erp5_page_ojs_post_list.js\n
+gadget_erp5_page_ojs_add_post.html\n
+gadget_erp5_page_ojs_add_post.js\n
+\n
+gadget_erp5_field_listbox.html\n
+gadget_erp5_field_listbox.js\n
+\n
+#Ckeditor\n
+ckeditor.gadget.html\n
+ckeditor.gadget.js\n
+ckeditor/skins/moono-lisa/icons.png\n
+ckeditor/skins/moono-lisa/editor_iequirks.css\n
+ckeditor/skins/moono-lisa/images/lock.png\n
+ckeditor/skins/moono-lisa/images/lock-open.png\n
+ckeditor/skins/moono-lisa/images/refresh.png\n
+ckeditor/skins/moono-lisa/images/spinner.gif\n
+ckeditor/skins/moono-lisa/images/arrow.png\n
+ckeditor/skins/moono-lisa/images/close.png\n
+ckeditor/skins/moono-lisa/images/hidpi/lock.png\n
+ckeditor/skins/moono-lisa/images/hidpi/lock-open.png\n
+ckeditor/skins/moono-lisa/images/hidpi/refresh.png\n
+ckeditor/skins/moono-lisa/images/hidpi/close.png\n
+ckeditor/skins/moono-lisa/editor_ie.css\n
+ckeditor/skins/moono-lisa/dialog_iequirks.css\n
+ckeditor/skins/moono-lisa/dialog_ie8.css\n
+ckeditor/skins/moono-lisa/icons_hidpi.png\n
+ckeditor/skins/moono-lisa/editor_gecko.css\n
+ckeditor/skins/moono-lisa/editor_ie8.css\n
+ckeditor/skins/moono-lisa/editor.css\n
+ckeditor/skins/moono-lisa/dialog_ie.css\n
+ckeditor/skins/moono-lisa/dialog.css\n
+ckeditor/lang/ro.js\n
+ckeditor/lang/id.js\n
+ckeditor/lang/fi.js\n
+ckeditor/lang/mk.js\n
+ckeditor/lang/es-mx.js\n
+ckeditor/lang/az.js\n
+ckeditor/lang/bg.js\n
+ckeditor/lang/af.js\n
+ckeditor/lang/et.js\n
+ckeditor/lang/km.js\n
+ckeditor/lang/sr-latn.js\n
+ckeditor/lang/da.js\n
+ckeditor/lang/bn.js\n
+ckeditor/lang/eo.js\n
+ckeditor/lang/si.js\n
+ckeditor/lang/fa.js\n
+ckeditor/lang/fo.js\n
+ckeditor/lang/uk.js\n
+ckeditor/lang/en.js\n
+ckeditor/lang/mn.js\n
+ckeditor/lang/fr.js\n
+ckeditor/lang/pl.js\n
+ckeditor/lang/it.js\n
+ckeditor/lang/eu.js\n
+ckeditor/lang/ug.js\n
+ckeditor/lang/sr.js\n
+ckeditor/lang/ka.js\n
+ckeditor/lang/gl.js\n
+ckeditor/lang/nl.js\n
+ckeditor/lang/vi.js\n
+ckeditor/lang/lv.js\n
+ckeditor/lang/sk.js\n
+ckeditor/lang/ja.js\n
+ckeditor/lang/sq.js\n
+ckeditor/lang/no.js\n
+ckeditor/lang/th.js\n
+ckeditor/lang/en-gb.js\n
+ckeditor/lang/sl.js\n
+ckeditor/lang/en-au.js\n
+ckeditor/lang/el.js\n
+ckeditor/lang/hi.js\n
+ckeditor/lang/cy.js\n
+ckeditor/lang/ar.js\n
+ckeditor/lang/nb.js\n
+ckeditor/lang/ms.js\n
+ckeditor/lang/is.js\n
+ckeditor/lang/pt-br.js\n
+ckeditor/lang/es.js\n
+ckeditor/lang/fr-ca.js\n
+ckeditor/lang/de-ch.js\n
+ckeditor/lang/ko.js\n
+ckeditor/lang/bs.js\n
+ckeditor/lang/ku.js\n
+ckeditor/lang/tt.js\n
+ckeditor/lang/hu.js\n
+ckeditor/lang/ru.js\n
+ckeditor/lang/cs.js\n
+ckeditor/lang/zh.js\n
+ckeditor/lang/sv.js\n
+ckeditor/lang/lt.js\n
+ckeditor/lang/tr.js\n
+ckeditor/lang/hr.js\n
+ckeditor/lang/zh-cn.js\n
+ckeditor/lang/pt.js\n
+ckeditor/lang/he.js\n
+ckeditor/lang/de.js\n
+ckeditor/lang/en-ca.js\n
+ckeditor/lang/ca.js\n
+ckeditor/lang/gu.js\n
+ckeditor/lang/oc.js\n
+ckeditor/build-config.js\n
+ckeditor/plugins/icons.png\n
+ckeditor/plugins/specialchar/dialogs/lang/id.js\n
+ckeditor/plugins/specialchar/dialogs/lang/fi.js\n
+ckeditor/plugins/specialchar/dialogs/lang/es-mx.js\n
+ckeditor/plugins/specialchar/dialogs/lang/az.js\n
+ckeditor/plugins/specialchar/dialogs/lang/bg.js\n
+ckeditor/plugins/specialchar/dialogs/lang/af.js\n
+ckeditor/plugins/specialchar/dialogs/lang/et.js\n
+ckeditor/plugins/specialchar/dialogs/lang/km.js\n
+ckeditor/plugins/specialchar/dialogs/lang/da.js\n
+ckeditor/plugins/specialchar/dialogs/lang/eo.js\n
+ckeditor/plugins/specialchar/dialogs/lang/si.js\n
+ckeditor/plugins/specialchar/dialogs/lang/fa.js\n
+ckeditor/plugins/specialchar/dialogs/lang/uk.js\n
+ckeditor/plugins/specialchar/dialogs/lang/en.js\n
+ckeditor/plugins/specialchar/dialogs/lang/fr.js\n
+ckeditor/plugins/specialchar/dialogs/lang/pl.js\n
+ckeditor/plugins/specialchar/dialogs/lang/it.js\n
+ckeditor/plugins/specialchar/dialogs/lang/eu.js\n
+ckeditor/plugins/specialchar/dialogs/lang/ug.js\n
+ckeditor/plugins/specialchar/dialogs/lang/gl.js\n
+ckeditor/plugins/specialchar/dialogs/lang/nl.js\n
+ckeditor/plugins/specialchar/dialogs/lang/vi.js\n
+ckeditor/plugins/specialchar/dialogs/lang/lv.js\n
+ckeditor/plugins/specialchar/dialogs/lang/sk.js\n
+ckeditor/plugins/specialchar/dialogs/lang/ja.js\n
+ckeditor/plugins/specialchar/dialogs/lang/sq.js\n
+ckeditor/plugins/specialchar/dialogs/lang/no.js\n
+ckeditor/plugins/specialchar/dialogs/lang/th.js\n
+ckeditor/plugins/specialchar/dialogs/lang/en-gb.js\n
+ckeditor/plugins/specialchar/dialogs/lang/sl.js\n
+ckeditor/plugins/specialchar/dialogs/lang/en-au.js\n
+ckeditor/plugins/specialchar/dialogs/lang/el.js\n
+ckeditor/plugins/specialchar/dialogs/lang/cy.js\n
+ckeditor/plugins/specialchar/dialogs/lang/ar.js\n
+ckeditor/plugins/specialchar/dialogs/lang/nb.js\n
+ckeditor/plugins/specialchar/dialogs/lang/pt-br.js\n
+ckeditor/plugins/specialchar/dialogs/lang/es.js\n
+ckeditor/plugins/specialchar/dialogs/lang/fr-ca.js\n
+ckeditor/plugins/specialchar/dialogs/lang/de-ch.js\n
+ckeditor/plugins/specialchar/dialogs/lang/ko.js\n
+ckeditor/plugins/specialchar/dialogs/lang/ku.js\n
+ckeditor/plugins/specialchar/dialogs/lang/tt.js\n
+ckeditor/plugins/specialchar/dialogs/lang/hu.js\n
+ckeditor/plugins/specialchar/dialogs/lang/ru.js\n
+ckeditor/plugins/specialchar/dialogs/lang/cs.js\n
+ckeditor/plugins/specialchar/dialogs/lang/zh.js\n
+ckeditor/plugins/specialchar/dialogs/lang/sv.js\n
+ckeditor/plugins/specialchar/dialogs/lang/lt.js\n
+ckeditor/plugins/specialchar/dialogs/lang/tr.js\n
+ckeditor/plugins/specialchar/dialogs/lang/hr.js\n
+ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js\n
+ckeditor/plugins/specialchar/dialogs/lang/pt.js\n
+ckeditor/plugins/specialchar/dialogs/lang/he.js\n
+ckeditor/plugins/specialchar/dialogs/lang/de.js\n
+ckeditor/plugins/specialchar/dialogs/lang/en-ca.js\n
+ckeditor/plugins/specialchar/dialogs/lang/ca.js\n
+ckeditor/plugins/specialchar/dialogs/lang/oc.js\n
+ckeditor/plugins/specialchar/dialogs/specialchar.js\n
+ckeditor/plugins/smiley/images/embaressed_smile.gif\n
+ckeditor/plugins/smiley/images/shades_smile.png\n
+ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif\n
+ckeditor/plugins/smiley/images/lightbulb.png\n
+ckeditor/plugins/smiley/images/tounge_smile.gif\n
+ckeditor/plugins/smiley/images/teeth_smile.png\n
+ckeditor/plugins/smiley/images/wink_smile.png\n
+ckeditor/plugins/smiley/images/tongue_smile.gif\n
+ckeditor/plugins/smiley/images/broken_heart.png\n
+ckeditor/plugins/smiley/images/tongue_smile.png\n
+ckeditor/plugins/smiley/images/confused_smile.gif\n
+ckeditor/plugins/smiley/images/heart.gif\n
+ckeditor/plugins/smiley/images/cry_smile.png\n
+ckeditor/plugins/smiley/images/omg_smile.gif\n
+ckeditor/plugins/smiley/images/regular_smile.png\n
+ckeditor/plugins/smiley/images/angel_smile.gif\n
+ckeditor/plugins/smiley/images/angel_smile.png\n
+ckeditor/plugins/smiley/images/kiss.png\n
+ckeditor/plugins/smiley/images/heart.png\n
+ckeditor/plugins/smiley/images/cry_smile.gif\n
+ckeditor/plugins/smiley/images/omg_smile.png\n
+ckeditor/plugins/smiley/images/whatchutalkingabout_smile.png\n
+ckeditor/plugins/smiley/images/angry_smile.png\n
+ckeditor/plugins/smiley/images/shades_smile.gif\n
+ckeditor/plugins/smiley/images/angry_smile.gif\n
+ckeditor/plugins/smiley/images/lightbulb.gif\n
+ckeditor/plugins/smiley/images/kiss.gif\n
+ckeditor/plugins/smiley/images/wink_smile.gif\n
+ckeditor/plugins/smiley/images/thumbs_up.png\n
+ckeditor/plugins/smiley/images/thumbs_up.gif\n
+ckeditor/plugins/smiley/images/teeth_smile.gif\n
+ckeditor/plugins/smiley/images/devil_smile.gif\n
+ckeditor/plugins/smiley/images/broken_heart.gif\n
+ckeditor/plugins/smiley/images/thumbs_down.gif\n
+ckeditor/plugins/smiley/images/thumbs_down.png\n
+ckeditor/plugins/smiley/images/sad_smile.png\n
+ckeditor/plugins/smiley/images/embarrassed_smile.png\n
+ckeditor/plugins/smiley/images/envelope.png\n
+ckeditor/plugins/smiley/images/devil_smile.png\n
+ckeditor/plugins/smiley/images/sad_smile.gif\n
+ckeditor/plugins/smiley/images/embarrassed_smile.gif\n
+ckeditor/plugins/smiley/images/regular_smile.gif\n
+ckeditor/plugins/smiley/images/envelope.gif\n
+ckeditor/plugins/smiley/images/confused_smile.png\n
+ckeditor/plugins/smiley/dialogs/smiley.js\n
+ckeditor/plugins/pastefromword/filter/default.js\n
+ckeditor/plugins/templates/templates/images/template2.gif\n
+ckeditor/plugins/templates/templates/images/template3.gif\n
+ckeditor/plugins/templates/templates/images/template1.gif\n
+ckeditor/plugins/templates/templates/default.js\n
+ckeditor/plugins/templates/dialogs/templates.js\n
+ckeditor/plugins/templates/dialogs/templates.css\n
+ckeditor/plugins/div/dialogs/div.js\n
+ckeditor/plugins/showblocks/images/block_h3.png\n
+ckeditor/plugins/showblocks/images/block_h4.png\n
+ckeditor/plugins/showblocks/images/block_div.png\n
+ckeditor/plugins/showblocks/images/block_p.png\n
+ckeditor/plugins/showblocks/images/block_h2.png\n
+ckeditor/plugins/showblocks/images/block_pre.png\n
+ckeditor/plugins/showblocks/images/block_address.png\n
+ckeditor/plugins/showblocks/images/block_blockquote.png\n
+ckeditor/plugins/showblocks/images/block_h1.png\n
+ckeditor/plugins/showblocks/images/block_h5.png\n
+ckeditor/plugins/showblocks/images/block_h6.png\n
+ckeditor/plugins/colordialog/dialogs/colordialog.css\n
+ckeditor/plugins/colordialog/dialogs/colordialog.js\n
+ckeditor/plugins/scayt/skins/moono-lisa/scayt.css\n
+ckeditor/plugins/scayt/dialogs/options.js\n
+ckeditor/plugins/scayt/dialogs/toolbar.css\n
+ckeditor/plugins/scayt/dialogs/dialog.css\n
+ckeditor/plugins/table/dialogs/table.js\n
+ckeditor/plugins/find/dialogs/find.js\n
+ckeditor/plugins/about/dialogs/about.js\n
+ckeditor/plugins/about/dialogs/logo_ckeditor.png\n
+ckeditor/plugins/about/dialogs/hidpi/logo_ckeditor.png\n
+ckeditor/plugins/image/images/noimage.png\n
+ckeditor/plugins/image/dialogs/image.js\n
+ckeditor/plugins/preview/preview.html\n
+ckeditor/plugins/copyformatting/styles/copyformatting.css\n
+ckeditor/plugins/copyformatting/cursors/cursor.svg\n
+ckeditor/plugins/copyformatting/cursors/cursor-disabled.svg\n
+ckeditor/plugins/link/images/anchor.png\n
+ckeditor/plugins/link/images/hidpi/anchor.png\n
+ckeditor/plugins/link/dialogs/anchor.js\n
+ckeditor/plugins/link/dialogs/link.js\n
+ckeditor/plugins/wsc/skins/moono-lisa/wsc.css\n
+ckeditor/plugins/wsc/dialogs/ciframe.html\n
+ckeditor/plugins/wsc/dialogs/wsc.css\n
+ckeditor/plugins/wsc/dialogs/wsc.js\n
+ckeditor/plugins/wsc/dialogs/wsc_ie.js\n
+ckeditor/plugins/wsc/dialogs/tmpFrameset.html\n
+ckeditor/plugins/icons_hidpi.png\n
+ckeditor/plugins/tabletools/dialogs/tableCell.js\n
+ckeditor/plugins/forms/images/hiddenfield.gif\n
+ckeditor/plugins/forms/dialogs/button.js\n
+ckeditor/plugins/forms/dialogs/radio.js\n
+ckeditor/plugins/forms/dialogs/checkbox.js\n
+ckeditor/plugins/forms/dialogs/textarea.js\n
+ckeditor/plugins/forms/dialogs/textfield.js\n
+ckeditor/plugins/forms/dialogs/select.js\n
+ckeditor/plugins/forms/dialogs/hiddenfield.js\n
+ckeditor/plugins/forms/dialogs/form.js\n
+ckeditor/plugins/magicline/images/icon-rtl.png\n
+ckeditor/plugins/magicline/images/icon.png\n
+ckeditor/plugins/magicline/images/hidpi/icon-rtl.png\n
+ckeditor/plugins/magicline/images/hidpi/icon.png\n
+ckeditor/plugins/liststyle/dialogs/liststyle.js\n
+ckeditor/plugins/flash/images/placeholder.png\n
+ckeditor/plugins/flash/dialogs/flash.js\n
+ckeditor/plugins/pagebreak/images/pagebreak.gif\n
+ckeditor/plugins/dialog/dialogDefinition.js\n
+ckeditor/plugins/iframe/images/placeholder.png\n
+ckeditor/plugins/iframe/dialogs/iframe.js\n
+ckeditor/plugins/tableselection/styles/tableselection.css\n
+ckeditor/plugins/a11yhelp/dialogs/lang/ro.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/id.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/fi.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/mk.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/es-mx.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/az.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/bg.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/af.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/et.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/km.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/sr-latn.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/da.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/eo.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/si.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/fa.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/fo.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/uk.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/en.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/mn.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/fr.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/pl.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/it.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/eu.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/ug.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/sr.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/gl.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/nl.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/vi.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/lv.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/sk.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/ja.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/sq.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/no.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/th.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/en-gb.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/sl.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/el.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/hi.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/cy.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/ar.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/nb.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/es.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/fr-ca.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/de-ch.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/ko.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/ku.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/tt.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/hu.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/ru.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/cs.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/zh.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/sv.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/lt.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/tr.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/hr.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/pt.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/he.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/de.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/ca.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/gu.js\n
+ckeditor/plugins/a11yhelp/dialogs/lang/oc.js\n
+ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js\n
+ckeditor/contents.css\n
+ckeditor/styles.js\n
+ckeditor/config.js\n
+ckeditor/ckeditor.js\n
+ckeditor/adapters/jquery.js\n
+\n
+NETWORK:\n
+*
+
+ -
+
title
+ OfficeJS Discussion Tool AppCache
+
+ -
+
url_string
+
+
+
+
+ -
+
version
+ 001
+
+ -
+
workflow_history
+
+ AAAAAAAAAAI=
+
+
+
+
+
+
+
+
+
+
+
+ -
+
data
+
+
+ -
+
document_publication_workflow
+
+ AAAAAAAAAAM=
+
+
+ -
+
edit_workflow
+
+ AAAAAAAAAAQ=
+
+
+ -
+
processing_status_workflow
+
+ AAAAAAAAAAU=
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
action
+ publish_alive
+
+ -
+
actor
+ zope
+
+ -
+
comment
+
+
+ -
+
error_message
+
+
+ -
+
time
+
+
+
+
+
+
+
+
+
+
+ 1548345203.18
+ UTC
+
+
+
+
+
+ -
+
validation_state
+ published_alive
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
action
+ edit
+
+ -
+
actor
+ zope
+
+ -
+
comment
+
+
+
+
+ -
+
error_message
+
+
+ -
+
serial
+ 973.42204.3106.62924
+
+ -
+
state
+ current
+
+ -
+
time
+
+
+
+
+
+
+
+
+
+
+ 1550168931.13
+ UTC
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
action
+ detect_converted_file
+
+ -
+
actor
+ zope
+
+ -
+
comment
+
+
+ -
+
error_message
+
+
+ -
+
external_processing_state
+ converted
+
+ -
+
serial
+ 0.0.0.0
+
+ -
+
time
+
+
+
+
+
+
+
+
+
+
+ 1548345134.5
+ UTC
+
+
+
+
+
+
+
+
+
+
+
diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_discussion_tool_router_html.html b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_discussion_tool_router_html.html
new file mode 100644
index 0000000000000000000000000000000000000000..30a3407ec3a38929ef53f0539dbf31d142c515d9
--- /dev/null
+++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_discussion_tool_router_html.html
@@ -0,0 +1,25 @@
+
+
+
+
+
+ OfficeJS Router Gadget
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_discussion_tool_router_html.xml b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_discussion_tool_router_html.xml
new file mode 100644
index 0000000000000000000000000000000000000000..178583710377c184699d4f3d8e72b3a3f20bcca9
--- /dev/null
+++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_discussion_tool_router_html.xml
@@ -0,0 +1,367 @@
+
+
+
+
+
+
+
+
+ -
+
_Access_contents_information_Permission
+
+
+ Anonymous
+ Assignee
+ Assignor
+ Associate
+ Auditor
+ Manager
+
+
+
+ -
+
_Add_portal_content_Permission
+
+
+ Assignee
+ Assignor
+ Manager
+
+
+
+ -
+
_Change_local_roles_Permission
+
+
+ Assignor
+ Manager
+
+
+
+ -
+
_Modify_portal_content_Permission
+
+
+ Assignee
+ Assignor
+ Manager
+
+
+
+ -
+
_View_Permission
+
+
+ Anonymous
+ Assignee
+ Assignor
+ Associate
+ Auditor
+ Manager
+
+
+
+ -
+
categories
+
+
+ contributor/person_module/1
+
+
+
+ -
+
content_md5
+
+
+
+
+ -
+
content_type
+ text/html
+
+ -
+
creators
+
+
+ cedric.le.ninivin
+
+
+
+ -
+
default_reference
+ gadget_officejs_discussion_tool_router.html
+
+ -
+
description
+
+
+
+
+ -
+
id
+ gadget_officejs_discussion_tool_router_html
+
+ -
+
language
+ en
+
+ -
+
modification_date
+
+
+
+
+
+
+
+
+
+
+ 1455284352.21
+ UTC
+
+
+
+
+
+ -
+
portal_type
+ Web Page
+
+ -
+
short_title
+
+
+
+
+ -
+
text_content_substitution_mapping_method_id
+ WebPage_getRenderJSSubstitutionMappingDict
+
+ -
+
title
+ OfficeJS Discussion Tool router Gadget
+
+ -
+
url_string
+
+
+
+
+ -
+
version
+ 001
+
+ -
+
workflow_history
+
+ AAAAAAAAAAI=
+
+
+
+
+
+
+
+
+
+
+
+ -
+
data
+
+
+ -
+
document_publication_workflow
+
+ AAAAAAAAAAM=
+
+
+ -
+
edit_workflow
+
+ AAAAAAAAAAQ=
+
+
+ -
+
processing_status_workflow
+
+ AAAAAAAAAAU=
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
action
+ publish_alive
+
+ -
+
actor
+ zope
+
+ -
+
comment
+
+
+ -
+
error_message
+
+
+ -
+
time
+
+
+
+
+
+
+
+
+
+
+ 1547819538.55
+ UTC
+
+
+
+
+
+ -
+
validation_state
+ published_alive
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
action
+ edit
+
+ -
+
actor
+ zope
+
+ -
+
comment
+
+
+
+
+ -
+
error_message
+
+
+ -
+
serial
+ 973.4707.8937.55978
+
+ -
+
state
+ current
+
+ -
+
time
+
+
+
+
+
+
+
+
+
+
+ 1549460594.44
+ UTC
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
action
+ detect_converted_file
+
+ -
+
actor
+ zope
+
+ -
+
comment
+
+
+ -
+
error_message
+
+
+ -
+
external_processing_state
+ converted
+
+ -
+
serial
+ 0.0.0.0
+
+ -
+
time
+
+
+
+
+
+
+
+
+
+
+ 1547819391.93
+ UTC
+
+
+
+
+
+
+
+
+
+
+
diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_ojs_add_document_js.xml b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_ojs_add_document_js.xml
index b763eea9ebeecc337f28209af8e3abb4de7782bc..e9c27b8a4f31da62c90c310b822670a846ce636d 100644
--- a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_ojs_add_document_js.xml
+++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_ojs_add_document_js.xml
@@ -254,7 +254,7 @@
-
actor
- P0
+ zope
-
comment
@@ -268,7 +268,7 @@
-
serial
- 969.27633.19787.19507
+ 973.4769.10538.13380
-
state
@@ -286,7 +286,7 @@
- 1533639731.09
+ 1548247009.25
UTC
diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_ojs_add_post_html.html b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_ojs_add_post_html.html
new file mode 100644
index 0000000000000000000000000000000000000000..97129a05e30c0ed936202fc1b7687838afa518cf
--- /dev/null
+++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_ojs_add_post_html.html
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+ OfficeJS Add Post Document
+
+
+
+
+
+
+
+
+
+
diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_ojs_add_post_html.xml b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_ojs_add_post_html.xml
new file mode 100644
index 0000000000000000000000000000000000000000..53dcaab8ef992d9f9e3349d0f4af1d1e6be12323
--- /dev/null
+++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_ojs_add_post_html.xml
@@ -0,0 +1,363 @@
+
+
+
+
+
+
+
+
+ -
+
_Access_contents_information_Permission
+
+
+ Anonymous
+ Assignee
+ Assignor
+ Associate
+ Auditor
+ Manager
+
+
+
+ -
+
_Add_portal_content_Permission
+
+
+ Assignee
+ Assignor
+ Manager
+
+
+
+ -
+
_Change_local_roles_Permission
+
+
+ Assignor
+ Manager
+
+
+
+ -
+
_Modify_portal_content_Permission
+
+
+ Assignee
+ Assignor
+ Manager
+
+
+
+ -
+
_View_Permission
+
+
+ Anonymous
+ Assignee
+ Assignor
+ Associate
+ Auditor
+ Manager
+
+
+
+ -
+
categories
+
+
+
+
+ -
+
content_md5
+
+
+
+
+ -
+
content_type
+ text/html
+
+ -
+
creators
+
+
+ cedric.le.ninivin
+
+
+
+ -
+
default_reference
+ gadget_erp5_page_ojs_add_post.html
+
+ -
+
description
+
+
+
+
+ -
+
id
+ gadget_officejs_erp5_page_ojs_add_post_html
+
+ -
+
language
+
+
+
+
+ -
+
modification_date
+
+
+
+
+
+
+
+
+
+
+ 1455284351.46
+ UTC
+
+
+
+
+
+ -
+
portal_type
+ Web Page
+
+ -
+
short_title
+
+
+
+
+ -
+
title
+ OfficeJS Add Post
+
+ -
+
url_string
+
+
+
+
+ -
+
version
+ 001
+
+ -
+
workflow_history
+
+ AAAAAAAAAAI=
+
+
+
+
+
+
+
+
+
+
+
+ -
+
data
+
+
+ -
+
document_publication_workflow
+
+ AAAAAAAAAAM=
+
+
+ -
+
edit_workflow
+
+ AAAAAAAAAAQ=
+
+
+ -
+
processing_status_workflow
+
+ AAAAAAAAAAU=
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
action
+ publish_alive
+
+ -
+
actor
+ zope
+
+ -
+
comment
+
+
+ -
+
error_message
+
+
+ -
+
time
+
+
+
+
+
+
+
+
+
+
+ 1548320422.63
+ UTC
+
+
+
+
+
+ -
+
validation_state
+ published_alive
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
action
+ edit
+
+ -
+
actor
+ zope
+
+ -
+
comment
+
+
+
+
+ -
+
error_message
+
+
+ -
+
serial
+ 973.13052.24734.46370
+
+ -
+
state
+ current
+
+ -
+
time
+
+
+
+
+
+
+
+
+
+
+ 1548320944.13
+ UTC
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
action
+ detect_converted_file
+
+ -
+
actor
+ zope
+
+ -
+
comment
+
+
+ -
+
error_message
+
+
+ -
+
external_processing_state
+ converted
+
+ -
+
serial
+ 0.0.0.0
+
+ -
+
time
+
+
+
+
+
+
+
+
+
+
+ 1548320378.33
+ UTC
+
+
+
+
+
+
+
+
+
+
+
diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_ojs_add_post_js.js b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_ojs_add_post_js.js
new file mode 100644
index 0000000000000000000000000000000000000000..9557dd2e21a6be2952da107f28aca7e17d9ca09f
--- /dev/null
+++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_ojs_add_post_js.js
@@ -0,0 +1,46 @@
+/*global window, rJS, RSVP */
+/*jslint nomen: true, indent: 2, maxerr: 3 */
+(function (window, rJS, RSVP, Blob) {
+ "use strict";
+
+ rJS(window)
+ /////////////////////////////////////////////////////////////////
+ // Acquired methods
+ /////////////////////////////////////////////////////////////////
+ .declareAcquiredMethod("updateHeader", "updateHeader")
+ .declareAcquiredMethod("getSetting", "getSetting")
+ .declareAcquiredMethod("jio_putAttachment", "jio_putAttachment")
+ .declareAcquiredMethod("redirect", "redirect")
+ .declareAcquiredMethod("jio_post", "jio_post")
+
+ /////////////////////////////////////////////////////////////////
+ // declared methods
+ /////////////////////////////////////////////////////////////////
+ .declareMethod("render", function () {
+ var gadget = this, doc_id;
+ return RSVP.Queue()
+ .push(function () {
+ return RSVP.all([
+ gadget.getSetting('portal_type'),
+ gadget.getSetting('parent_relative_url')
+ ]);
+ })
+ .push(function (result) {
+ var doc = {
+ title: "Untitled Document",
+ portal_type: result[0],
+ parent_relative_url: result[1]
+ };
+ return gadget.jio_post(doc);
+ })
+ .push(function (id) {
+ return gadget.redirect({
+ command: 'display',
+ options: {
+ jio_key: id,
+ editable: true
+ }
+ });
+ });
+ });
+}(window, rJS, RSVP, Blob));
diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_ojs_add_post_js.xml b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_ojs_add_post_js.xml
new file mode 100644
index 0000000000000000000000000000000000000000..d1434b8ab1a73c22f9375d9a7062c964a407eb09
--- /dev/null
+++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_ojs_add_post_js.xml
@@ -0,0 +1,359 @@
+
+
+
+
+
+
+
+
+ -
+
_Access_contents_information_Permission
+
+
+ Anonymous
+ Assignee
+ Assignor
+ Associate
+ Auditor
+ Manager
+
+
+
+ -
+
_Add_portal_content_Permission
+
+
+ Assignee
+ Assignor
+ Manager
+
+
+
+ -
+
_Change_local_roles_Permission
+
+
+ Assignor
+ Manager
+
+
+
+ -
+
_Modify_portal_content_Permission
+
+
+ Assignee
+ Assignor
+ Manager
+
+
+
+ -
+
_View_Permission
+
+
+ Anonymous
+ Assignee
+ Assignor
+ Associate
+ Auditor
+ Manager
+
+
+
+ -
+
categories
+
+
+
+
+ -
+
content_md5
+
+
+
+
+ -
+
creators
+
+
+ cedric.le.ninivin
+
+
+
+ -
+
default_reference
+ gadget_erp5_page_ojs_add_post.js
+
+ -
+
description
+
+
+
+
+ -
+
id
+ gadget_officejs_erp5_page_ojs_add_post_js
+
+ -
+
language
+
+
+
+
+ -
+
modification_date
+
+
+
+
+
+
+
+
+
+
+ 1455284351.49
+ UTC
+
+
+
+
+
+ -
+
portal_type
+ Web Script
+
+ -
+
short_title
+
+
+
+
+ -
+
title
+ OfficeJS Add Post JS
+
+ -
+
url_string
+
+
+
+
+ -
+
version
+ 001
+
+ -
+
workflow_history
+
+ AAAAAAAAAAI=
+
+
+
+
+
+
+
+
+
+
+
+ -
+
data
+
+
+ -
+
document_publication_workflow
+
+ AAAAAAAAAAM=
+
+
+ -
+
edit_workflow
+
+ AAAAAAAAAAQ=
+
+
+ -
+
processing_status_workflow
+
+ AAAAAAAAAAU=
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
action
+ publish_alive
+
+ -
+
actor
+ zope
+
+ -
+
comment
+
+
+ -
+
error_message
+
+
+ -
+
time
+
+
+
+
+
+
+
+
+
+
+ 1549566213.89
+ UTC
+
+
+
+
+
+ -
+
validation_state
+ published_alive
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
action
+ edit
+
+ -
+
actor
+ zope
+
+ -
+
comment
+
+
+
+
+ -
+
error_message
+
+
+ -
+
serial
+ 973.33806.29832.64307
+
+ -
+
state
+ current
+
+ -
+
time
+
+
+
+
+
+
+
+
+
+
+ 1549565698.61
+ UTC
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
action
+ detect_converted_file
+
+ -
+
actor
+ zope
+
+ -
+
comment
+
+
+ -
+
error_message
+
+
+ -
+
external_processing_state
+ converted
+
+ -
+
serial
+ 0.0.0.0
+
+ -
+
time
+
+
+
+
+
+
+
+
+
+
+ 1548320381.11
+ UTC
+
+
+
+
+
+
+
+
+
+
+
diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_post_list_html.html b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_post_list_html.html
new file mode 100644
index 0000000000000000000000000000000000000000..0e843b5ed61d162c609914ec90301f80917801aa
--- /dev/null
+++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_post_list_html.html
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
+ OfficeJS Posts List
+
+
+
+
+
+
+
+
+
+
+
diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_post_list_html.xml b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_post_list_html.xml
new file mode 100644
index 0000000000000000000000000000000000000000..456f1d72fb2980f6eb43eed2ce16eed057b15d76
--- /dev/null
+++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_post_list_html.xml
@@ -0,0 +1,363 @@
+
+
+
+
+
+
+
+
+ -
+
_Access_contents_information_Permission
+
+
+ Anonymous
+ Assignee
+ Assignor
+ Associate
+ Auditor
+ Manager
+
+
+
+ -
+
_Add_portal_content_Permission
+
+
+ Assignee
+ Assignor
+ Manager
+
+
+
+ -
+
_Change_local_roles_Permission
+
+
+ Assignor
+ Manager
+
+
+
+ -
+
_Modify_portal_content_Permission
+
+
+ Assignee
+ Assignor
+ Manager
+
+
+
+ -
+
_View_Permission
+
+
+ Anonymous
+ Assignee
+ Assignor
+ Associate
+ Auditor
+ Manager
+
+
+
+ -
+
categories
+
+
+
+
+ -
+
content_md5
+
+
+
+
+ -
+
content_type
+ text/html
+
+ -
+
creators
+
+
+ cedric.le.ninivin
+
+
+
+ -
+
default_reference
+ gadget_erp5_page_ojs_post_list.html
+
+ -
+
description
+
+
+
+
+ -
+
id
+ gadget_officejs_erp5_page_post_list_html
+
+ -
+
language
+
+
+
+
+ -
+
modification_date
+
+
+
+
+
+
+
+
+
+
+ 1455284352.14
+ UTC
+
+
+
+
+
+ -
+
portal_type
+ Web Page
+
+ -
+
short_title
+
+
+
+
+ -
+
title
+ Gadget Post List
+
+ -
+
url_string
+
+
+
+
+ -
+
version
+ 001
+
+ -
+
workflow_history
+
+ AAAAAAAAAAI=
+
+
+
+
+
+
+
+
+
+
+
+ -
+
data
+
+
+ -
+
document_publication_workflow
+
+ AAAAAAAAAAM=
+
+
+ -
+
edit_workflow
+
+ AAAAAAAAAAQ=
+
+
+ -
+
processing_status_workflow
+
+ AAAAAAAAAAU=
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
action
+ publish_alive
+
+ -
+
actor
+ zope
+
+ -
+
comment
+
+
+ -
+
error_message
+
+
+ -
+
time
+
+
+
+
+
+
+
+
+
+
+ 1547819957.82
+ UTC
+
+
+
+
+
+ -
+
validation_state
+ published_alive
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
action
+ edit
+
+ -
+
actor
+ zope
+
+ -
+
comment
+
+
+
+
+ -
+
error_message
+
+
+ -
+
serial
+ 973.4710.35345.25412
+
+ -
+
state
+ current
+
+ -
+
time
+
+
+
+
+
+
+
+
+
+
+ 1547819953.64
+ UTC
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
action
+ detect_converted_file
+
+ -
+
actor
+ zope
+
+ -
+
comment
+
+
+ -
+
error_message
+
+
+ -
+
external_processing_state
+ converted
+
+ -
+
serial
+ 0.0.0.0
+
+ -
+
time
+
+
+
+
+
+
+
+
+
+
+ 1547819831.59
+ UTC
+
+
+
+
+
+
+
+
+
+
+
diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_post_list_js.js b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_post_list_js.js
new file mode 100644
index 0000000000000000000000000000000000000000..1a3cdebf258fdcd53c642ba63bd7cc680dd69e13
--- /dev/null
+++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_post_list_js.js
@@ -0,0 +1,123 @@
+/*global window, rJS, RSVP */
+/*jslint nomen: true, indent: 2, maxerr: 3 */
+(function (window, rJS, RSVP) {
+ "use strict";
+
+ rJS(window)
+ /////////////////////////////////////////////////////////////////
+ // Acquired methods
+ /////////////////////////////////////////////////////////////////
+ .declareAcquiredMethod("updateHeader", "updateHeader")
+ .declareAcquiredMethod("getUrlParameter", "getUrlParameter")
+ .declareAcquiredMethod("getUrlFor", "getUrlFor")
+ .declareAcquiredMethod("getSetting", "getSetting")
+
+ /////////////////////////////////////////////////////////////////
+ // declared methods
+ /////////////////////////////////////////////////////////////////
+
+ .declareMethod("generateJsonRenderForm", function (gadget) {
+ //hardcoded form_definition (this should come from erp5 form)
+ var form_definition = {
+ _debug: "traverse",
+ pt: "form_view",
+ title: "Post",
+ group_list: [[
+ "bottom",
+ [["my_listbox"]]
+ ]],
+ //this field_info is totally made up, but somewhere in the definition there must be
+ //information about the fields. So, foreach field: key->info
+ field_info_dict: {
+ "my_listbox": {
+ "column_list": [['title', 'Title'], ['modification_date', 'Modification Date']],
+ "show_anchor": 0,
+ "default_params": {},
+ "editable": 1,
+ "editable_column_list": [],
+ "key": "field_listbox",
+ "lines": 30,
+ "list_method": "portal_catalog",
+ // is this correct? the query should come from the form definition, right?
+ "query": "urn:jio:allDocs?query=portal_type%3A%22HTML Post%22",
+ "portal_type": [],
+ "search_column_list": [['title', 'Title'], ['modification_date', 'Modification Date']],
+ "sort_column_list": [['title', 'Title'], ['modification_date', 'Modification Date']],
+ "sort": [['modification_date', 'descending']],
+ "title": "Posts",
+ "type": "ListBox"
+ }
+ },
+ action: "Base_edit",
+ update_action: "",
+ _links: { "type": { name: "" } }
+ },
+ form_json = {
+ erp5_document: {
+ "_embedded": {"_view": {}},
+ "_links": {}
+ },
+ form_definition: form_definition
+ };
+ for (var i = 0; i < form_definition.group_list.length; i++) {
+ var fields = form_definition.group_list[i][1];
+ for (var j = 0; j < fields.length; j++) {
+ var my_element = fields[j][0], element_id;
+ if (my_element.startsWith("my_")) {
+ element_id = my_element.replace("my_", "");
+ }
+ var field_info = form_definition.field_info_dict[my_element];
+ if (gadget.state.hasOwnProperty("doc") && gadget.state.doc.hasOwnProperty(element_id)) {
+ field_info["default"] = gadget.state.doc[element_id];
+ }
+ form_json.erp5_document._embedded._view[my_element] = field_info;
+ form_json.erp5_document._links = form_definition._links;
+ }
+ }
+ return form_json;
+ })
+
+ .allowPublicAcquisition('notifySubmit', function () {
+ return this.triggerSubmit();
+ })
+
+ .declareMethod("triggerSubmit", function () {
+ var argument_list = arguments;
+ return this.getDeclaredGadget('form_list')
+ .push(function (gadget) {
+ return gadget.triggerSubmit.apply(gadget, argument_list);
+ });
+ })
+
+ .declareMethod("render", function () {
+ var gadget = this;
+ return new RSVP.Queue()
+ .push(function () {
+ return RSVP.all([
+ gadget.getDeclaredGadget('form_list'),
+ gadget.generateJsonRenderForm(gadget)
+ ]);
+ })
+ .push(function (result) {
+ return result[0].render(result[1]);
+ })
+ .push(function () {
+ return RSVP.all([
+ gadget.getUrlFor({command: "change", options: {"page": "ojs_add_post"}}),
+ gadget.getSetting('document_title_plural'),
+ gadget.getSetting('upload_dict', false)
+ ]);
+ })
+ .push(function (result) {
+ var header = {
+ page_title: result[1],
+ filter_action: true,
+ add_url: result[0]
+ };
+ if (result[3]) {
+ header.upload_url = result[2];
+ }
+ return gadget.updateHeader(header);
+ });
+ });
+}(window, rJS, RSVP));
\ No newline at end of file
diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_post_list_js.xml b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_post_list_js.xml
new file mode 100644
index 0000000000000000000000000000000000000000..6685ad9c7b3cddbda0aad58d90d80b0ba4ad5c17
--- /dev/null
+++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_erp5_page_post_list_js.xml
@@ -0,0 +1,359 @@
+
+
+
+
+
+
+
+
+ -
+
_Access_contents_information_Permission
+
+
+ Anonymous
+ Assignee
+ Assignor
+ Associate
+ Auditor
+ Manager
+
+
+
+ -
+
_Add_portal_content_Permission
+
+
+ Assignee
+ Assignor
+ Manager
+
+
+
+ -
+
_Change_local_roles_Permission
+
+
+ Assignor
+ Manager
+
+
+
+ -
+
_Modify_portal_content_Permission
+
+
+ Assignee
+ Assignor
+ Manager
+
+
+
+ -
+
_View_Permission
+
+
+ Anonymous
+ Assignee
+ Assignor
+ Associate
+ Auditor
+ Manager
+
+
+
+ -
+
categories
+
+
+
+
+ -
+
content_md5
+
+
+
+
+ -
+
creators
+
+
+ cedric.le.ninivin
+
+
+
+ -
+
default_reference
+ gadget_erp5_page_ojs_post_list.js
+
+ -
+
description
+
+
+
+
+ -
+
id
+ gadget_officejs_erp5_page_post_list_js
+
+ -
+
language
+
+
+
+
+ -
+
modification_date
+
+
+
+
+
+
+
+
+
+
+ 1455284352.18
+ UTC
+
+
+
+
+
+ -
+
portal_type
+ Web Script
+
+ -
+
short_title
+
+
+
+
+ -
+
title
+ Gadget Post List JS
+
+ -
+
url_string
+
+
+
+
+ -
+
version
+ 001
+
+ -
+
workflow_history
+
+ AAAAAAAAAAI=
+
+
+
+
+
+
+
+
+
+
+
+ -
+
data
+
+
+ -
+
document_publication_workflow
+
+ AAAAAAAAAAM=
+
+
+ -
+
edit_workflow
+
+ AAAAAAAAAAQ=
+
+
+ -
+
processing_status_workflow
+
+ AAAAAAAAAAU=
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
action
+ publish_alive
+
+ -
+
actor
+ zope
+
+ -
+
comment
+
+
+ -
+
error_message
+
+
+ -
+
time
+
+
+
+
+
+
+
+
+
+
+ 1547819961.25
+ UTC
+
+
+
+
+
+ -
+
validation_state
+ published_alive
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
action
+ edit
+
+ -
+
actor
+ zope
+
+ -
+
comment
+
+
+
+
+ -
+
error_message
+
+
+ -
+
serial
+ 973.29145.11643.18193
+
+ -
+
state
+ current
+
+ -
+
time
+
+
+
+
+
+
+
+
+
+
+ 1549461300.51
+ UTC
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
action
+ detect_converted_file
+
+ -
+
actor
+ zope
+
+ -
+
comment
+
+
+ -
+
error_message
+
+
+ -
+
external_processing_state
+ converted
+
+ -
+
serial
+ 0.0.0.0
+
+ -
+
time
+
+
+
+
+
+
+
+
+
+
+ 1547819835.32
+ UTC
+
+
+
+
+
+
+
+
+
+
+
diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_html_post_view_html.html b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_html_post_view_html.html
new file mode 100644
index 0000000000000000000000000000000000000000..5c9adb55d79076b959a666682890ba6a44e92de5
--- /dev/null
+++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_html_post_view_html.html
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+ OfficeJS Jio HTML Post View
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_html_post_view_html.xml b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_html_post_view_html.xml
new file mode 100644
index 0000000000000000000000000000000000000000..d3b3c189bb01660a710e3212b2e3aae0aa4ee096
--- /dev/null
+++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_html_post_view_html.xml
@@ -0,0 +1,330 @@
+
+
+
+
+
+
+
+
+ -
+
_Access_contents_information_Permission
+
+
+ Anonymous
+ Assignee
+ Assignor
+ Associate
+ Auditor
+ Manager
+
+
+
+ -
+
_Add_portal_content_Permission
+
+
+ Assignee
+ Assignor
+ Manager
+
+
+
+ -
+
_Change_local_roles_Permission
+
+
+ Assignor
+ Manager
+
+
+
+ -
+
_Modify_portal_content_Permission
+
+
+ Assignee
+ Assignor
+ Manager
+
+
+
+ -
+
_View_Permission
+
+
+ Anonymous
+ Assignee
+ Assignor
+ Associate
+ Auditor
+ Manager
+
+
+
+ -
+
content_md5
+
+
+
+
+ -
+
content_type
+ text/html
+
+ -
+
default_reference
+ gadget_officejs_jio_html_post_view.html
+
+ -
+
description
+
+
+
+
+ -
+
id
+ gadget_officejs_jio_html_post_view_html
+
+ -
+
language
+
+
+
+
+ -
+
portal_type
+ Web Page
+
+ -
+
short_title
+
+
+
+
+ -
+
title
+ OfficeJS Jio HTML Post View
+
+ -
+
url_string
+
+
+
+
+ -
+
version
+ 001
+
+ -
+
workflow_history
+
+ AAAAAAAAAAI=
+
+
+
+
+
+
+
+
+
+
+
+ -
+
data
+
+
+ -
+
document_publication_workflow
+
+ AAAAAAAAAAM=
+
+
+ -
+
edit_workflow
+
+ AAAAAAAAAAQ=
+
+
+ -
+
processing_status_workflow
+
+ AAAAAAAAAAU=
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
action
+ publish_alive
+
+ -
+
actor
+ zope
+
+ -
+
comment
+
+
+ -
+
error_message
+
+
+ -
+
time
+
+
+
+
+
+
+
+
+
+
+ 1548258460.6
+ UTC
+
+
+
+
+
+ -
+
validation_state
+ published_alive
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
action
+ edit
+
+ -
+
actor
+ zope
+
+ -
+
comment
+
+
+
+
+ -
+
error_message
+
+
+ -
+
serial
+ 973.12019.44363.51507
+
+ -
+
state
+ current
+
+ -
+
time
+
+
+
+
+
+
+
+
+
+
+ 1548409742.44
+ UTC
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
action
+ detect_converted_file
+
+ -
+
actor
+ zope
+
+ -
+
comment
+
+
+ -
+
error_message
+
+
+ -
+
external_processing_state
+ converted
+
+ -
+
serial
+ 0.0.0.0
+
+ -
+
time
+
+
+
+
+
+
+
+
+
+
+ 1548258288.42
+ UTC
+
+
+
+
+
+
+
+
+
+
+
diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_html_post_view_js.js b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_html_post_view_js.js
new file mode 100644
index 0000000000000000000000000000000000000000..22d048f1a58984f5ed2e9f08bc4768cd84c10bcd
--- /dev/null
+++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_html_post_view_js.js
@@ -0,0 +1,73 @@
+/*global window, rJS, RSVP */
+/*jslint nomen: true, indent: 2, maxerr: 3 */
+(function (window, rJS, RSVP) {
+ "use strict";
+
+ rJS(window)
+ /////////////////////////////////////////////////////////////////
+ // Acquired methods
+ /////////////////////////////////////////////////////////////////
+ .declareAcquiredMethod("updateHeader", "updateHeader")
+ .declareAcquiredMethod("getUrlParameter", "getUrlParameter")
+ .declareAcquiredMethod("getUrlFor", "getUrlFor")
+ .declareAcquiredMethod("updateDocument", "updateDocument")
+ .declareAcquiredMethod("notifySubmitting", "notifySubmitting")
+ .declareAcquiredMethod("notifySubmitted", 'notifySubmitted')
+
+ /////////////////////////////////////////////////////////////////
+ // declared methods
+ /////////////////////////////////////////////////////////////////
+
+ .declareMethod("render", function (options) {
+ return this.changeState({
+ jio_key: options.jio_key,
+ doc: options.doc,
+ form_json: options.form_json
+ });
+ })
+
+ .onEvent('submit', function () {
+ var gadget = this;
+ return gadget.notifySubmitting()
+ .push(function () {
+ return gadget.getDeclaredGadget('form_view');
+ })
+ .push(function (form_gadget) {
+ return form_gadget.getContent();
+ })
+ .push(function (content) {
+ return gadget.updateDocument(content);
+ })
+ .push(function () {
+ return gadget.notifySubmitted({message: 'Data Updated', status: 'success'});
+ });
+ })
+
+ .declareMethod("triggerSubmit", function () {
+ return this.element.querySelector('button[type="submit"]').click();
+ })
+
+ .onStateChange(function () {
+ var gadget = this;
+ return gadget.getDeclaredGadget('form_view')
+ .push(function (form_gadget) {
+ return form_gadget.render(gadget.state.form_json);
+ })
+ .push(function () {
+ return RSVP.all([
+ gadget.getUrlFor({command: 'history_previous'}),
+ gadget.getUrlFor({command: 'selection_previous'}),
+ gadget.getUrlFor({command: 'selection_next'})
+ ]);
+ })
+ .push(function (url_list) {
+ return gadget.updateHeader({
+ page_title: gadget.state.doc.title,
+ save_action: true,
+ selection_url: url_list[0],
+ previous_url: url_list[1],
+ next_url: url_list[2]
+ });
+ });
+ });
+}(window, rJS, RSVP));
diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_html_post_view_js.xml b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_html_post_view_js.xml
new file mode 100644
index 0000000000000000000000000000000000000000..27ab62a8543a84aed3220ae2acde67fbcb6c226e
--- /dev/null
+++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_jio_html_post_view_js.xml
@@ -0,0 +1,320 @@
+
+
+
+
+
+
+
+
+ -
+
_Access_contents_information_Permission
+
+
+ Assignee
+ Assignor
+ Manager
+
+
+
+ -
+
_Add_portal_content_Permission
+
+
+ Assignee
+ Assignor
+ Manager
+
+
+
+ -
+
_Change_local_roles_Permission
+
+
+ Assignor
+ Manager
+
+
+
+ -
+
_Modify_portal_content_Permission
+
+
+ Assignee
+ Assignor
+ Manager
+
+
+
+ -
+
_View_Permission
+
+
+ Assignee
+ Assignor
+ Manager
+
+
+
+ -
+
content_md5
+
+
+
+
+ -
+
default_reference
+ gadget_officejs_jio_html_post_view.js
+
+ -
+
description
+
+
+
+
+ -
+
id
+ gadget_officejs_jio_html_post_view_js
+
+ -
+
language
+
+
+
+
+ -
+
portal_type
+ Web Script
+
+ -
+
short_title
+
+
+
+
+ -
+
title
+ OfficeJS Jio HTML Post View JS
+
+ -
+
url_string
+
+
+
+
+ -
+
version
+ 001
+
+ -
+
workflow_history
+
+ AAAAAAAAAAI=
+
+
+
+
+
+
+
+
+
+
+
+ -
+
data
+
+
+ -
+
document_publication_workflow
+
+ AAAAAAAAAAM=
+
+
+ -
+
edit_workflow
+
+ AAAAAAAAAAQ=
+
+
+ -
+
processing_status_workflow
+
+ AAAAAAAAAAU=
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
action
+ hide
+
+ -
+
actor
+ zope
+
+ -
+
comment
+
+
+ -
+
error_message
+
+
+ -
+
time
+
+
+
+
+
+
+
+
+
+
+ 1549565688.07
+ UTC
+
+
+
+
+
+ -
+
validation_state
+ hidden
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
action
+ edit
+
+ -
+
actor
+ zope
+
+ -
+
comment
+
+
+
+
+ -
+
error_message
+
+
+ -
+
serial
+ 973.33807.14910.57139
+
+ -
+
state
+ current
+
+ -
+
time
+
+
+
+
+
+
+
+
+
+
+ 1549565721.29
+ UTC
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
action
+ detect_converted_file
+
+ -
+
actor
+ zope
+
+ -
+
comment
+
+
+ -
+
error_message
+
+
+ -
+
external_processing_state
+ converted
+
+ -
+
serial
+ 0.0.0.0
+
+ -
+
time
+
+
+
+
+
+
+
+
+
+
+ 1548258202.95
+ UTC
+
+
+
+
+
+
+
+
+
+
+
diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_erp5_configurator_js.js b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_erp5_configurator_js.js
index c74a62db147ad9c8db4f31fb7b83715ac0bb30a6..5fd9415a31acfe08dd5b9f96a8820fe7a6df52db 100644
--- a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_erp5_configurator_js.js
+++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_erp5_configurator_js.js
@@ -50,6 +50,8 @@
limit: [0, 50],
sort_on: [["modification_date", "descending"]]
},
+ debug: true,
+ report_level: 500,
use_remote_post: true,
conflict_handling: 1,
parallel_operation_attachment_amount: is_low_memory ? 1 : 10,
diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_erp5_configurator_js.xml b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_erp5_configurator_js.xml
index abbd7c3c084b2d5767b48a89005eeaded577a39a..265caf0cf1171ba543aa9a707f61160b07df363a 100644
--- a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_erp5_configurator_js.xml
+++ b/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_page_jio_erp5_configurator_js.xml
@@ -273,7 +273,7 @@
-
serial
- 967.13533.35763.57446
+ 972.49990.47168.16691
-
state
@@ -291,7 +291,7 @@
- 1525102062.15
+ 1548172874.93
UTC
diff --git a/bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_discussion_tool.xml b/bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_discussion_tool.xml
new file mode 100644
index 0000000000000000000000000000000000000000..93f2a7a372fd48336bc4f9da6b562d15b320265f
--- /dev/null
+++ b/bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_discussion_tool.xml
@@ -0,0 +1,765 @@
+
+
+
+
+
+
+
+
+ -
+
_Access_contents_information_Permission
+
+
+ Anonymous
+ Assignee
+ Assignor
+ Associate
+ Auditor
+ Authenticated
+ Author
+ Manager
+ Member
+ Owner
+ Reviewer
+
+
+
+ -
+
_Add_portal_content_Permission
+
+
+ Assignor
+ Manager
+
+
+
+ -
+
_Add_portal_folders_Permission
+
+
+ Assignor
+ Manager
+
+
+
+ -
+
_Copy_or_Move_Permission
+
+
+ Assignor
+ Manager
+
+
+
+ -
+
_Delete_objects_Permission
+
+
+ Assignor
+ Manager
+
+
+
+ -
+
_Modify_portal_content_Permission
+
+
+ Assignee
+ Assignor
+ Manager
+
+
+
+ -
+
_View_Permission
+
+
+ Anonymous
+ Assignee
+ Assignor
+ Associate
+ Auditor
+ Authenticated
+ Author
+ Manager
+ Member
+ Owner
+ Reviewer
+
+
+
+ -
+
__before_publishing_traverse__
+
+
+
+
+
+
+
+
+ -
+
_defined_in_class
+ 1
+
+ -
+
_hookname
+ __before_publishing_traverse__
+
+ -
+
_list
+
+
+ AAAAAAAAAAI=
+
+
+
+ -
+
_prior
+
+
+
+
+
+
+
+
+
+ -
+
__before_traverse__
+
+
+ -
+
+
+ 99
+ ERP5 Web Site/officejs_discussion_tool
+
+
+
+ AAAAAAAAAAI=
+
+
+
+
+
+ -
+
_count
+
+ AAAAAAAAAAM=
+
+
+ -
+
_identity_criterion
+
+ AAAAAAAAAAQ=
+
+
+ -
+
_local_properties
+
+
+
+ -
+
id
+ frontpage_gadget_url
+
+ -
+
type
+ string
+
+
+
+ -
+
id
+ configuration_frontpage_gadget_url
+
+ -
+
type
+ string
+
+
+
+ -
+
id
+ configuration_application_title
+
+ -
+
type
+ string
+
+
+
+ -
+
id
+ configuration_hateoas_url
+
+ -
+
type
+ string
+
+
+
+ -
+
id
+ configuration_view_action_category
+
+ -
+
type
+ string
+
+
+
+ -
+
id
+ configuration_default_view_action_reference
+
+ -
+
type
+ string
+
+
+
+ -
+
id
+ configuration_panel_gadget_url
+
+ -
+
type
+ string
+
+
+
+ -
+
id
+ configuration_router_gadget_url
+
+ -
+
type
+ string
+
+
+
+ -
+
id
+ configuration_jio_gadget_url
+
+ -
+
type
+ string
+
+
+
+ -
+
id
+ configuration_translation_gadget_url
+
+ -
+
type
+ string
+
+
+
+ -
+
id
+ configuration_manifest_url
+
+ -
+
type
+ string
+
+
+
+ -
+
id
+ configuration_header_gadget_url
+
+ -
+
type
+ string
+
+
+
+ -
+
id
+ configuration_content_security_policy
+
+ -
+
type
+ string
+
+
+
+ -
+
id
+ configuration_x_frame_options
+
+ -
+
type
+ string
+
+
+
+ -
+
id
+ configuration_latest_document_version
+
+ -
+
type
+ string
+
+
+
+ -
+
id
+ configuration_latest_version
+
+ -
+
type
+ string
+
+
+
+ -
+
id
+ configuration_cache_file
+
+ -
+
type
+ string
+
+
+
+ -
+
id
+ configuration_redirect_url
+
+ -
+
type
+ string
+
+
+
+ -
+
id
+ configuration_landing_page
+
+ -
+
type
+ string
+
+
+
+ -
+
id
+ configuration_sub_gadget_installer
+
+ -
+
type
+ string
+
+
+
+ -
+
id
+ configuration_webapp_manifest_url
+
+ -
+
type
+ string
+
+
+
+
+
+ -
+
_mt_index
+
+ AAAAAAAAAAU=
+
+
+ -
+
_range_criterion
+
+ AAAAAAAAAAY=
+
+
+ -
+
_tree
+
+ AAAAAAAAAAc=
+
+
+ -
+
available_language
+
+
+ en
+
+
+
+ -
+
categories
+
+
+ caching_policy/must-revalidate
+ aggregate/web_page_module/gadget_officejs_bootloader.html
+
+
+
+ -
+
configuration_application_title
+ Text Editor
+
+ -
+
configuration_cache_file
+ gadget_officejs_discussion_tool.appcache
+
+ -
+
configuration_content_security_policy
+ default-src \'self\'; img-src \'self\' data:; media-src \'self\' blob:; connect-src \'self\' https://content.dropboxapi.com https://api.dropboxapi.com mail.tiolive.com data: *.host.vifib.net *.node.vifib.com *.erp5.net https://netdna.bootstrapcdn.com; script-src \'self\' \'unsafe-eval\' \'unsafe-inline\'; font-src \'self\' netdna.bootstrapcdn.com; style-src \'self\' netdna.bootstrapcdn.com \'unsafe-inline\' data:; frame-src \'self\' data:
+
+ -
+
configuration_default_view_action_reference
+
+
+
+
+ -
+
configuration_frontpage_gadget_url
+
+
+
+
+ -
+
configuration_hateoas_url
+ hateoas/
+
+ -
+
configuration_header_gadget_url
+ gadget_officejs_header.html
+
+ -
+
configuration_jio_gadget_url
+ gadget_officejs_jio.html
+
+ -
+
configuration_landing_page
+
+
+
+
+ -
+
configuration_latest_document_version
+ 001
+
+ -
+
configuration_latest_version
+ app
+
+ -
+
configuration_manifest_url
+ gadget_officejs.appcache
+
+ -
+
configuration_panel_gadget_url
+ gadget_officejs_application_panel.html
+
+ -
+
configuration_redirect_url
+ app
+
+ -
+
configuration_router_gadget_url
+ gadget_officejs_text_editor_router.html
+
+ -
+
configuration_sub_gadget_installer
+
+
+
+
+ -
+
configuration_translation_gadget_url
+ gadget_translation.html
+
+ -
+
configuration_view_action_category
+
+
+
+
+ -
+
configuration_webapp_manifest_url
+ gadget_officejs_text_editor_install.json
+
+ -
+
configuration_x_frame_options
+ SAMEORIGIN
+
+ -
+
container_layout
+ WebSection_renderOfficeJSApplicationPage
+
+ -
+
content_layout
+ WebSection_renderOfficeJSApplicationPage
+
+ -
+
custom_render_method_id
+ WebSection_renderOfficeJSApplicationPage
+
+ -
+
description
+
+
+
+
+ -
+
frontpage_gadget_url
+ gadget_woelfel_pt_frontpage.html
+
+ -
+
id
+ officejs_discussion_tool
+
+ -
+
layout_configuration_form_id
+ WebSection_viewOfficeJSApplicationPreference
+
+ -
+
portal_type
+ Web Site
+
+ -
+
short_title
+
+
+
+
+ -
+
skin_selection_name
+ RJS
+
+ -
+
static_language_selection
+ 0
+
+ -
+
title
+ Office JS Discussion Tool
+
+ -
+
visible
+ 1
+
+ -
+
workflow_history
+
+ AAAAAAAAAAg=
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+
+
+
+ -
+
data
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
data
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
data
+
+
+ -
+
category_publication_workflow
+
+ AAAAAAAAAAk=
+
+
+ -
+
edit_workflow
+
+ AAAAAAAAAAo=
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
action
+ publish
+
+ -
+
actor
+ zope
+
+ -
+
comment
+
+
+ -
+
error_message
+
+
+ -
+
time
+
+
+
+
+
+
+
+
+
+
+ 1547819548.36
+ UTC
+
+
+
+
+
+ -
+
validation_state
+ published
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
action
+ edit
+
+ -
+
actor
+ zope
+
+ -
+
comment
+
+
+
+
+ -
+
error_message
+
+
+ -
+
serial
+ 973.4704.30999.13380
+
+ -
+
state
+ current
+
+ -
+
time
+
+
+
+
+
+
+
+
+
+
+ 1548406357.26
+ UTC
+
+
+
+
+
+
+
+
+
+
+
diff --git a/bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_discussion_tool/app.xml b/bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_discussion_tool/app.xml
new file mode 100644
index 0000000000000000000000000000000000000000..ab315334e56920b0c825449df96222961312d932
--- /dev/null
+++ b/bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_discussion_tool/app.xml
@@ -0,0 +1,713 @@
+
+
+
+
+
+
+
+
+ -
+
_Access_contents_information_Permission
+
+
+ Anonymous
+ Assignee
+ Assignor
+ Associate
+ Auditor
+ Authenticated
+ Author
+ Manager
+ Member
+ Owner
+ Reviewer
+
+
+
+ -
+
_Add_portal_content_Permission
+
+
+ Assignor
+ Manager
+
+
+
+ -
+
_Add_portal_folders_Permission
+
+
+ Assignor
+ Manager
+
+
+
+ -
+
_Copy_or_Move_Permission
+
+
+ Assignor
+ Manager
+
+
+
+ -
+
_Delete_objects_Permission
+
+
+ Assignor
+ Manager
+
+
+
+ -
+
_Modify_portal_content_Permission
+
+
+ Assignee
+ Assignor
+ Manager
+
+
+
+ -
+
_View_Permission
+
+
+ Anonymous
+ Assignee
+ Assignor
+ Associate
+ Auditor
+ Authenticated
+ Author
+ Manager
+ Member
+ Owner
+ Reviewer
+
+
+
+ -
+
__before_publishing_traverse__
+
+
+
+
+
+
+
+
+ -
+
_defined_in_class
+ 1
+
+ -
+
_hookname
+ __before_publishing_traverse__
+
+ -
+
_list
+
+
+ AAAAAAAAAAI=
+
+
+
+ -
+
_prior
+
+
+
+
+
+
+
+
+
+ -
+
__before_traverse__
+
+
+ -
+
+
+ 99
+ ERP5 Web Section/app
+
+
+
+ AAAAAAAAAAI=
+
+
+
+
+
+ -
+
__translation_dict
+
+
+
+
+ -
+
_count
+
+ AAAAAAAAAAM=
+
+
+ -
+
_identity_criterion
+
+ AAAAAAAAAAQ=
+
+
+ -
+
_local_properties
+
+
+
+ -
+
id
+ configuration_router_gadget_url
+
+ -
+
type
+ string
+
+
+
+ -
+
id
+ configuration_application_title
+
+ -
+
type
+ string
+
+
+
+ -
+
id
+ configuration_jio_gadget_url
+
+ -
+
type
+ string
+
+
+
+ -
+
id
+ configuration_content_security_policy
+
+ -
+
type
+ string
+
+
+
+ -
+
id
+ configuration_panel_gadget_url
+
+ -
+
type
+ string
+
+
+
+ -
+
id
+ configuration_translation_gadget_url
+
+ -
+
type
+ string
+
+
+
+ -
+
id
+ configuration_header_gadget_url
+
+ -
+
type
+ string
+
+
+
+ -
+
id
+ configuration_hateoas_url
+
+ -
+
type
+ string
+
+
+
+ -
+
id
+ configuration_manifest_url
+
+ -
+
type
+ string
+
+
+
+ -
+
id
+ configuration_x_frame_options
+
+ -
+
type
+ string
+
+
+
+ -
+
id
+ configuration_default_jio_document_page_gadget_url
+
+ -
+
type
+ string
+
+
+
+ -
+
id
+ configuration_default_view_action_reference
+
+ -
+
type
+ string
+
+
+
+ -
+
id
+ configuration_frontpage_gadget_url
+
+ -
+
type
+ string
+
+
+
+ -
+
id
+ configuration_view_action_category
+
+ -
+
type
+ string
+
+
+
+ -
+
id
+ configuration_stylesheet_url
+
+ -
+
type
+ string
+
+
+
+ -
+
id
+ configuration_webapp_manifest_url
+
+ -
+
type
+ string
+
+
+
+
+
+ -
+
_mt_index
+
+ AAAAAAAAAAU=
+
+
+ -
+
_range_criterion
+
+ AAAAAAAAAAY=
+
+
+ -
+
_tree
+
+ AAAAAAAAAAc=
+
+
+ -
+
categories
+
+
+ caching_policy/must-revalidate
+ aggregate/web_page_module/rjs_gadget_erp5_launcher_html
+
+
+
+ -
+
configuration_application_title
+ Text Editor
+
+ -
+
configuration_content_security_policy
+ default-src \'self\'; img-src \'self\' data:; media-src \'self\' blob:; connect-src \'self\' https://content.dropboxapi.com https://api.dropboxapi.com mail.tiolive.com data: *.host.vifib.net *.node.vifib.com *.erp5.net https://netdna.bootstrapcdn.com; script-src \'self\' \'unsafe-eval\' \'unsafe-inline\'; font-src \'self\' netdna.bootstrapcdn.com; style-src \'self\' netdna.bootstrapcdn.com \'unsafe-inline\' data:; frame-src \'self\' data:
+
+ -
+
configuration_default_jio_document_page_gadget_url
+ ojs_controller
+
+ -
+
configuration_default_view_action_reference
+ jio_view
+
+ -
+
configuration_frontpage_gadget_url
+ ojs_post_list
+
+ -
+
configuration_hateoas_url
+ ../hateoas/
+
+ -
+
configuration_header_gadget_url
+ gadget_erp5_header.html
+
+ -
+
configuration_jio_gadget_url
+ gadget_ojs_jio.html
+
+ -
+
configuration_manifest_url
+ gadget_officejs_text_editor.appcache
+
+ -
+
configuration_panel_gadget_url
+ gadget_erp5_ojs_panel.html
+
+ -
+
configuration_router_gadget_url
+ gadget_officejs_discussion_tool_router.html
+
+ -
+
configuration_stylesheet_url
+
+
+
+
+ -
+
configuration_translation_gadget_url
+
+
+
+
+ -
+
configuration_view_action_category
+
+
+
+
+ -
+
configuration_webapp_manifest_url
+ gadget_officejs_text_editor.json
+
+ -
+
configuration_x_frame_options
+ SAMEORIGIN
+
+ -
+
container_layout
+ WebSection_renderDefaultPageAsGadget
+
+ -
+
content_layout
+ WebSection_renderDefaultPageAsGadget
+
+ -
+
custom_render_method_id
+ WebSection_renderDefaultPageAsGadget
+
+ -
+
description
+
+
+
+
+ -
+
empty_criterion_valid
+ 1
+
+ -
+
id
+ app
+
+ -
+
int_index
+
+
+
+
+ -
+
layout_configuration_form_id
+ WebSection_viewRenderJSPreference
+
+ -
+
membership_criterion_category
+
+
+
+
+ -
+
portal_type
+ Web Section
+
+ -
+
short_title
+
+
+
+
+ -
+
skin_selection_name
+ RJS
+
+ -
+
string_index
+
+
+
+
+ -
+
test_method_id
+
+
+
+
+ -
+
title
+ Discussion Tool App
+
+ -
+
visible
+ 0
+
+ -
+
workflow_history
+
+ AAAAAAAAAAg=
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 0
+
+
+
+
+
+
+
+ -
+
data
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
data
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
data
+
+
+ -
+
category_publication_workflow
+
+ AAAAAAAAAAk=
+
+
+ -
+
edit_workflow
+
+ AAAAAAAAAAo=
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
action
+ publish
+
+ -
+
actor
+ zope
+
+ -
+
comment
+
+
+ -
+
error_message
+
+
+ -
+
time
+
+
+
+
+
+
+
+
+
+
+ 1548341309.83
+ UTC
+
+
+
+
+
+ -
+
validation_state
+ published
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
action
+ edit
+
+ -
+
actor
+ zope
+
+ -
+
comment
+
+
+
+
+ -
+
error_message
+
+
+ -
+
serial
+ 973.10497.14231.3106
+
+ -
+
state
+ current
+
+ -
+
time
+
+
+
+
+
+
+
+
+
+
+ 1548167241.08
+ UTC
+
+
+
+
+
+
+
+
+
+
+
diff --git a/bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_text_editor.xml b/bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_text_editor.xml
index 41136b41a337aa6c8a9a0f344cc38b8ca301241f..f31875bdb78b50417c76dc9e1aa680f9789d8a4a 100644
--- a/bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_text_editor.xml
+++ b/bt5/erp5_officejs/PathTemplateItem/web_site_module/officejs_text_editor.xml
@@ -732,7 +732,7 @@
-
serial
- 970.26734.14597.65382
+ 973.13464.54463.41181
-
state
@@ -750,7 +750,7 @@
- 1537887045.06
+ 1548406706.76
UTC
diff --git a/bt5/erp5_officejs/bt/template_keep_last_workflow_history_only_path_list b/bt5/erp5_officejs/bt/template_keep_last_workflow_history_only_path_list
index 1e07a43d03ccfdccc1a6ccc8a62b216e58576ca2..db81e4dbb1dd68ff4626acc03af1293fe2960e10 100644
--- a/bt5/erp5_officejs/bt/template_keep_last_workflow_history_only_path_list
+++ b/bt5/erp5_officejs/bt/template_keep_last_workflow_history_only_path_list
@@ -36,6 +36,8 @@ web_site_module/officejs_svg_editor
web_site_module/officejs_svg_editor/**
web_site_module/officejs_text_editor
web_site_module/officejs_text_editor/**
+web_site_module/officejs_discussion_tool
+web_site_module/officejs_discussion_tool/**
web_site_module/officejs_todomvc
web_site_module/officejs_wallsearch
web_site_module/officejs_wallsearch/**
diff --git a/bt5/erp5_officejs/bt/template_keep_workflow_path_list b/bt5/erp5_officejs/bt/template_keep_workflow_path_list
index d595038c4cf2f453c9bcc7bda0ab3f28ab06cfa1..61c3a39b22e329320f8096174106eb08f8c69c0a 100644
--- a/bt5/erp5_officejs/bt/template_keep_workflow_path_list
+++ b/bt5/erp5_officejs/bt/template_keep_workflow_path_list
@@ -36,6 +36,8 @@ web_site_module/officejs_svg_editor
web_site_module/officejs_svg_editor/**
web_site_module/officejs_text_editor
web_site_module/officejs_text_editor/**
+web_site_module/officejs_discussion_tool
+web_site_module/officejs_discussion_tool/**
web_site_module/officejs_todomvc
web_site_module/officejs_wallsearch
web_site_module/officejs_wallsearch/**
diff --git a/bt5/erp5_officejs/bt/template_path_list b/bt5/erp5_officejs/bt/template_path_list
index cd9a8ebdcfa66adbac26db33077fdde505c93ddc..f8943104f1c5a71dc3f8846797e69f0908608e72 100644
--- a/bt5/erp5_officejs/bt/template_path_list
+++ b/bt5/erp5_officejs/bt/template_path_list
@@ -24,6 +24,8 @@ web_site_module/officejs_codemirror
web_site_module/officejs_codemirror/**
web_site_module/officejs_cribjs
web_site_module/officejs_cribjs/**
+web_site_module/officejs_discussion_tool
+web_site_module/officejs_discussion_tool/**
web_site_module/officejs_drive_app
web_site_module/officejs_drive_app/**
web_site_module/officejs_export
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/Preference_viewForumSettings.xml b/bt5/erp5_officejs_connector/SkinTemplateItem/portal_skins/erp5_officejs_jio_connector/ERP5Form_viewAsJio.xml
similarity index 74%
rename from bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/Preference_viewForumSettings.xml
rename to bt5/erp5_officejs_connector/SkinTemplateItem/portal_skins/erp5_officejs_jio_connector/ERP5Form_viewAsJio.xml
index 7857af1991060edd1595c4feb4af5fee975dd93a..94d73fe39181ce32a3e70e2e60e994c6afeaa53e 100644
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/Preference_viewForumSettings.xml
+++ b/bt5/erp5_officejs_connector/SkinTemplateItem/portal_skins/erp5_officejs_jio_connector/ERP5Form_viewAsJio.xml
@@ -6,27 +6,6 @@
- -
-
_bind_names
-
-
-
-
-
-
-
-
- -
-
_asgns
-
-
-
-
-
-
-
-
-
-
_objects
@@ -39,7 +18,13 @@
-
description
- Test site to make a forum application
+ Base ERP5 Form view for rendering in renderjs UI
+
+ -
+
edit_order
+
+
+
-
encoding
@@ -56,6 +41,8 @@
left
right
center
+ bottom
+ hidden
@@ -63,18 +50,29 @@
groups
+ -
+
bottom
+
+
+
+
-
center
+ -
+
hidden
+
+
+
+
-
left
- my_preferred_forum_signature
- my_preferred_forum_quote_original_message
+ my_form_definition
@@ -89,7 +87,7 @@
-
id
- Preference_viewForumSettings
+ ERP5Form_viewAsJio
-
method
@@ -97,7 +95,7 @@
-
name
- Preference_viewForumSettings
+ ERP5Form_viewAsJio
-
pt
@@ -113,7 +111,7 @@
-
title
- Forum Settings
+
-
unicode_mode
@@ -123,6 +121,10 @@
update_action
+ -
+
update_action_title
+
+
diff --git a/bt5/erp5_officejs_connector/SkinTemplateItem/portal_skins/erp5_officejs_jio_connector/ERP5Form_viewAsJio/my_form_definition.xml b/bt5/erp5_officejs_connector/SkinTemplateItem/portal_skins/erp5_officejs_jio_connector/ERP5Form_viewAsJio/my_form_definition.xml
new file mode 100644
index 0000000000000000000000000000000000000000..4ff654935ccd0ac876e905f3a4b8dddba2cb1f84
--- /dev/null
+++ b/bt5/erp5_officejs_connector/SkinTemplateItem/portal_skins/erp5_officejs_jio_connector/ERP5Form_viewAsJio/my_form_definition.xml
@@ -0,0 +1,272 @@
+
+
+
+
+
+
+
+
+ -
+
id
+ my_form_definition
+
+ -
+
message_values
+
+
+ -
+
external_validator_failed
+ The input failed the external validator.
+
+ -
+
required_not_found
+ Input is required but no input given.
+
+ -
+
too_long
+ Too much input was given.
+
+
+
+
+ -
+
overrides
+
+
+ -
+
alternate_name
+
+
+ -
+
css_class
+
+
+ -
+
default
+
+
+ -
+
description
+
+
+ -
+
display_maxwidth
+
+
+ -
+
display_width
+
+
+ -
+
editable
+
+
+ -
+
enabled
+
+
+ -
+
external_validator
+
+
+ -
+
extra
+
+
+ -
+
hidden
+
+
+ -
+
input_type
+
+
+ -
+
max_length
+
+
+ -
+
required
+
+
+ -
+
title
+
+
+ -
+
truncate
+
+
+ -
+
unicode
+
+
+ -
+
whitespace_preserve
+
+
+
+
+
+ -
+
tales
+
+
+ -
+
alternate_name
+
+
+ -
+
css_class
+
+
+ -
+
default
+
+
+ -
+
description
+
+
+ -
+
display_maxwidth
+
+
+ -
+
display_width
+
+
+ -
+
editable
+
+
+ -
+
enabled
+
+
+ -
+
external_validator
+
+
+ -
+
extra
+
+
+ -
+
hidden
+
+
+ -
+
input_type
+
+
+ -
+
max_length
+
+
+ -
+
required
+
+
+ -
+
title
+
+
+ -
+
truncate
+
+
+ -
+
unicode
+
+
+ -
+
whitespace_preserve
+
+
+
+
+
+ -
+
values
+
+
+ -
+
alternate_name
+
+
+ -
+
css_class
+
+
+ -
+
default
+
+
+ -
+
description
+
+
+ -
+
display_maxwidth
+
+
+ -
+
display_width
+ 20
+
+ -
+
editable
+ 1
+
+ -
+
enabled
+ 1
+
+ -
+
external_validator
+
+
+ -
+
extra
+
+
+ -
+
hidden
+ 0
+
+ -
+
input_type
+ text
+
+ -
+
max_length
+
+
+ -
+
required
+ 0
+
+ -
+
title
+ Form definition
+
+ -
+
truncate
+ 0
+
+ -
+
unicode
+ 0
+
+ -
+
whitespace_preserve
+ 0
+
+
+
+
+
+
+
+
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_viewEditor.xml b/bt5/erp5_officejs_connector/SkinTemplateItem/portal_skins/erp5_officejs_jio_connector/HTMLPost_viewAsJio.xml
similarity index 80%
rename from bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_viewEditor.xml
rename to bt5/erp5_officejs_connector/SkinTemplateItem/portal_skins/erp5_officejs_jio_connector/HTMLPost_viewAsJio.xml
index 3b4793c85acc9ecdb0d1bffa662f38c5a99162b2..b0d32a22f3896daa17ceadb749d2bf6262cbb2aa 100644
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_viewEditor.xml
+++ b/bt5/erp5_officejs_connector/SkinTemplateItem/portal_skins/erp5_officejs_jio_connector/HTMLPost_viewAsJio.xml
@@ -6,27 +6,6 @@
- -
-
_bind_names
-
-
-
-
-
-
-
-
- -
-
_asgns
-
-
-
-
-
-
-
-
-
-
_objects
@@ -39,7 +18,13 @@
-
description
- Test site to make a forum application
+
+
+ -
+
edit_order
+
+
+
-
encoding
@@ -90,6 +75,9 @@
my_title
+ my_source_reference
+ my_portal_type
+ your_modification_date
@@ -106,7 +94,7 @@
-
id
- DiscussionPost_viewEditor
+ HTMLPost_viewAsJio
-
method
@@ -114,7 +102,7 @@
-
name
- DiscussionThread_viewEditor
+ HTMLPost_view
-
pt
@@ -130,7 +118,7 @@
-
title
- Discussion Thread
+ HTML Post
-
unicode_mode
@@ -140,6 +128,10 @@
update_action
+ -
+
update_action_title
+
+
diff --git a/bt5/erp5_officejs_connector/SkinTemplateItem/portal_skins/erp5_officejs_jio_connector/HTMLPost_viewAsJio/my_portal_type.xml b/bt5/erp5_officejs_connector/SkinTemplateItem/portal_skins/erp5_officejs_jio_connector/HTMLPost_viewAsJio/my_portal_type.xml
new file mode 100644
index 0000000000000000000000000000000000000000..d1af5a82c56373950a47858e2b92f9b7ea04fe24
--- /dev/null
+++ b/bt5/erp5_officejs_connector/SkinTemplateItem/portal_skins/erp5_officejs_jio_connector/HTMLPost_viewAsJio/my_portal_type.xml
@@ -0,0 +1,272 @@
+
+
+
+
+
+
+
+
+ -
+
id
+ my_portal_type
+
+ -
+
message_values
+
+
+ -
+
external_validator_failed
+ The input failed the external validator.
+
+ -
+
required_not_found
+ Input is required but no input given.
+
+ -
+
too_long
+ Too much input was given.
+
+
+
+
+ -
+
overrides
+
+
+ -
+
alternate_name
+
+
+ -
+
css_class
+
+
+ -
+
default
+
+
+ -
+
description
+
+
+ -
+
display_maxwidth
+
+
+ -
+
display_width
+
+
+ -
+
editable
+
+
+ -
+
enabled
+
+
+ -
+
external_validator
+
+
+ -
+
extra
+
+
+ -
+
hidden
+
+
+ -
+
input_type
+
+
+ -
+
max_length
+
+
+ -
+
required
+
+
+ -
+
title
+
+
+ -
+
truncate
+
+
+ -
+
unicode
+
+
+ -
+
whitespace_preserve
+
+
+
+
+
+ -
+
tales
+
+
+ -
+
alternate_name
+
+
+ -
+
css_class
+
+
+ -
+
default
+
+
+ -
+
description
+
+
+ -
+
display_maxwidth
+
+
+ -
+
display_width
+
+
+ -
+
editable
+
+
+ -
+
enabled
+
+
+ -
+
external_validator
+
+
+ -
+
extra
+
+
+ -
+
hidden
+
+
+ -
+
input_type
+
+
+ -
+
max_length
+
+
+ -
+
required
+
+
+ -
+
title
+
+
+ -
+
truncate
+
+
+ -
+
unicode
+
+
+ -
+
whitespace_preserve
+
+
+
+
+
+ -
+
values
+
+
+ -
+
alternate_name
+
+
+ -
+
css_class
+
+
+ -
+
default
+
+
+ -
+
description
+
+
+ -
+
display_maxwidth
+
+
+ -
+
display_width
+ 20
+
+ -
+
editable
+ 1
+
+ -
+
enabled
+ 1
+
+ -
+
external_validator
+
+
+ -
+
extra
+
+
+ -
+
hidden
+ 0
+
+ -
+
input_type
+ text
+
+ -
+
max_length
+
+
+ -
+
required
+ 0
+
+ -
+
title
+ Portal Type
+
+ -
+
truncate
+ 0
+
+ -
+
unicode
+ 0
+
+ -
+
whitespace_preserve
+ 0
+
+
+
+
+
+
+
+
diff --git a/bt5/erp5_officejs_connector/SkinTemplateItem/portal_skins/erp5_officejs_jio_connector/HTMLPost_viewAsJio/my_source_reference.xml b/bt5/erp5_officejs_connector/SkinTemplateItem/portal_skins/erp5_officejs_jio_connector/HTMLPost_viewAsJio/my_source_reference.xml
new file mode 100644
index 0000000000000000000000000000000000000000..78269f6c4d913b8f1d79a9ba2c7aa14c1c64cf4d
--- /dev/null
+++ b/bt5/erp5_officejs_connector/SkinTemplateItem/portal_skins/erp5_officejs_jio_connector/HTMLPost_viewAsJio/my_source_reference.xml
@@ -0,0 +1,272 @@
+
+
+
+
+
+
+
+
+ -
+
id
+ my_source_reference
+
+ -
+
message_values
+
+
+ -
+
external_validator_failed
+ The input failed the external validator.
+
+ -
+
required_not_found
+ Input is required but no input given.
+
+ -
+
too_long
+ Too much input was given.
+
+
+
+
+ -
+
overrides
+
+
+ -
+
alternate_name
+
+
+ -
+
css_class
+
+
+ -
+
default
+
+
+ -
+
description
+
+
+ -
+
display_maxwidth
+
+
+ -
+
display_width
+
+
+ -
+
editable
+
+
+ -
+
enabled
+
+
+ -
+
external_validator
+
+
+ -
+
extra
+
+
+ -
+
hidden
+
+
+ -
+
input_type
+
+
+ -
+
max_length
+
+
+ -
+
required
+
+
+ -
+
title
+
+
+ -
+
truncate
+
+
+ -
+
unicode
+
+
+ -
+
whitespace_preserve
+
+
+
+
+
+ -
+
tales
+
+
+ -
+
alternate_name
+
+
+ -
+
css_class
+
+
+ -
+
default
+
+
+ -
+
description
+
+
+ -
+
display_maxwidth
+
+
+ -
+
display_width
+
+
+ -
+
editable
+
+
+ -
+
enabled
+
+
+ -
+
external_validator
+
+
+ -
+
extra
+
+
+ -
+
hidden
+
+
+ -
+
input_type
+
+
+ -
+
max_length
+
+
+ -
+
required
+
+
+ -
+
title
+
+
+ -
+
truncate
+
+
+ -
+
unicode
+
+
+ -
+
whitespace_preserve
+
+
+
+
+
+ -
+
values
+
+
+ -
+
alternate_name
+
+
+ -
+
css_class
+
+
+ -
+
default
+
+
+ -
+
description
+
+
+ -
+
display_maxwidth
+
+
+ -
+
display_width
+ 20
+
+ -
+
editable
+ 1
+
+ -
+
enabled
+ 1
+
+ -
+
external_validator
+
+
+ -
+
extra
+
+
+ -
+
hidden
+ 0
+
+ -
+
input_type
+ text
+
+ -
+
max_length
+
+
+ -
+
required
+ 0
+
+ -
+
title
+ Source Reference
+
+ -
+
truncate
+ 0
+
+ -
+
unicode
+ 0
+
+ -
+
whitespace_preserve
+ 0
+
+
+
+
+
+
+
+
diff --git a/bt5/erp5_officejs_connector/SkinTemplateItem/portal_skins/erp5_officejs_jio_connector/HTMLPost_viewAsJio/my_text_content.xml b/bt5/erp5_officejs_connector/SkinTemplateItem/portal_skins/erp5_officejs_jio_connector/HTMLPost_viewAsJio/my_text_content.xml
new file mode 100644
index 0000000000000000000000000000000000000000..e8406606b77cc8a11c21a87b6cd7d97c152080c7
--- /dev/null
+++ b/bt5/erp5_officejs_connector/SkinTemplateItem/portal_skins/erp5_officejs_jio_connector/HTMLPost_viewAsJio/my_text_content.xml
@@ -0,0 +1,272 @@
+
+
+
+
+
+
+
+
+ -
+
id
+ my_text_content
+
+ -
+
message_values
+
+
+ -
+
external_validator_failed
+ The input failed the external validator.
+
+ -
+
required_not_found
+ Input is required but no input given.
+
+ -
+
too_long
+ Too much input was given.
+
+
+
+
+ -
+
overrides
+
+
+ -
+
alternate_name
+
+
+ -
+
css_class
+
+
+ -
+
default
+
+
+ -
+
description
+
+
+ -
+
display_maxwidth
+
+
+ -
+
display_width
+
+
+ -
+
editable
+
+
+ -
+
enabled
+
+
+ -
+
external_validator
+
+
+ -
+
extra
+
+
+ -
+
hidden
+
+
+ -
+
input_type
+
+
+ -
+
max_length
+
+
+ -
+
required
+
+
+ -
+
title
+
+
+ -
+
truncate
+
+
+ -
+
unicode
+
+
+ -
+
whitespace_preserve
+
+
+
+
+
+ -
+
tales
+
+
+ -
+
alternate_name
+
+
+ -
+
css_class
+
+
+ -
+
default
+
+
+ -
+
description
+
+
+ -
+
display_maxwidth
+
+
+ -
+
display_width
+
+
+ -
+
editable
+
+
+ -
+
enabled
+
+
+ -
+
external_validator
+
+
+ -
+
extra
+
+
+ -
+
hidden
+
+
+ -
+
input_type
+
+
+ -
+
max_length
+
+
+ -
+
required
+
+
+ -
+
title
+
+
+ -
+
truncate
+
+
+ -
+
unicode
+
+
+ -
+
whitespace_preserve
+
+
+
+
+
+ -
+
values
+
+
+ -
+
alternate_name
+
+
+ -
+
css_class
+
+
+ -
+
default
+
+
+ -
+
description
+
+
+ -
+
display_maxwidth
+
+
+ -
+
display_width
+ 20
+
+ -
+
editable
+ 1
+
+ -
+
enabled
+ 1
+
+ -
+
external_validator
+
+
+ -
+
extra
+
+
+ -
+
hidden
+ 0
+
+ -
+
input_type
+ text
+
+ -
+
max_length
+
+
+ -
+
required
+ 0
+
+ -
+
title
+ My Text Content
+
+ -
+
truncate
+ 0
+
+ -
+
unicode
+ 0
+
+ -
+
whitespace_preserve
+ 0
+
+
+
+
+
+
+
+
diff --git a/bt5/erp5_officejs_connector/SkinTemplateItem/portal_skins/erp5_officejs_jio_connector/HTMLPost_viewAsJio/my_title.xml b/bt5/erp5_officejs_connector/SkinTemplateItem/portal_skins/erp5_officejs_jio_connector/HTMLPost_viewAsJio/my_title.xml
new file mode 100644
index 0000000000000000000000000000000000000000..4cc7d2e889b694839cd669fac164e3a5b87a9ff5
--- /dev/null
+++ b/bt5/erp5_officejs_connector/SkinTemplateItem/portal_skins/erp5_officejs_jio_connector/HTMLPost_viewAsJio/my_title.xml
@@ -0,0 +1,272 @@
+
+
+
+
+
+
+
+
+ -
+
id
+ my_title
+
+ -
+
message_values
+
+
+ -
+
external_validator_failed
+ The input failed the external validator.
+
+ -
+
required_not_found
+ Input is required but no input given.
+
+ -
+
too_long
+ Too much input was given.
+
+
+
+
+ -
+
overrides
+
+
+ -
+
alternate_name
+
+
+ -
+
css_class
+
+
+ -
+
default
+
+
+ -
+
description
+
+
+ -
+
display_maxwidth
+
+
+ -
+
display_width
+
+
+ -
+
editable
+
+
+ -
+
enabled
+
+
+ -
+
external_validator
+
+
+ -
+
extra
+
+
+ -
+
hidden
+
+
+ -
+
input_type
+
+
+ -
+
max_length
+
+
+ -
+
required
+
+
+ -
+
title
+
+
+ -
+
truncate
+
+
+ -
+
unicode
+
+
+ -
+
whitespace_preserve
+
+
+
+
+
+ -
+
tales
+
+
+ -
+
alternate_name
+
+
+ -
+
css_class
+
+
+ -
+
default
+
+
+ -
+
description
+
+
+ -
+
display_maxwidth
+
+
+ -
+
display_width
+
+
+ -
+
editable
+
+
+ -
+
enabled
+
+
+ -
+
external_validator
+
+
+ -
+
extra
+
+
+ -
+
hidden
+
+
+ -
+
input_type
+
+
+ -
+
max_length
+
+
+ -
+
required
+
+
+ -
+
title
+
+
+ -
+
truncate
+
+
+ -
+
unicode
+
+
+ -
+
whitespace_preserve
+
+
+
+
+
+ -
+
values
+
+
+ -
+
alternate_name
+
+
+ -
+
css_class
+
+
+ -
+
default
+
+
+ -
+
description
+
+
+ -
+
display_maxwidth
+
+
+ -
+
display_width
+ 20
+
+ -
+
editable
+ 1
+
+ -
+
enabled
+ 1
+
+ -
+
external_validator
+
+
+ -
+
extra
+
+
+ -
+
hidden
+ 0
+
+ -
+
input_type
+ text
+
+ -
+
max_length
+
+
+ -
+
required
+ 0
+
+ -
+
title
+ Title
+
+ -
+
truncate
+ 0
+
+ -
+
unicode
+ 0
+
+ -
+
whitespace_preserve
+ 0
+
+
+
+
+
+
+
+
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_translated_validation_state_title.xml b/bt5/erp5_officejs_connector/SkinTemplateItem/portal_skins/erp5_officejs_jio_connector/HTMLPost_viewAsJio/my_translated_validation_state_title.xml
similarity index 95%
rename from bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_translated_validation_state_title.xml
rename to bt5/erp5_officejs_connector/SkinTemplateItem/portal_skins/erp5_officejs_jio_connector/HTMLPost_viewAsJio/my_translated_validation_state_title.xml
index 188eb985ce3c19bd34896003e14390611817ea9e..438a289a63d608fba1fb8ac8afd2afde4d58fe51 100644
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_view/my_translated_validation_state_title.xml
+++ b/bt5/erp5_officejs_connector/SkinTemplateItem/portal_skins/erp5_officejs_jio_connector/HTMLPost_viewAsJio/my_translated_validation_state_title.xml
@@ -71,11 +71,11 @@
-
field_id
- my_translated_validation_state_title
+ my_translated_simulation_state_title
-
form_id
- Document_viewFieldLibrary
+ Base_viewCRMFieldLibrary
-
target
diff --git a/bt5/erp5_officejs_connector/SkinTemplateItem/portal_skins/erp5_officejs_jio_connector/HTMLPost_viewAsJio/your_modification_date.xml b/bt5/erp5_officejs_connector/SkinTemplateItem/portal_skins/erp5_officejs_jio_connector/HTMLPost_viewAsJio/your_modification_date.xml
new file mode 100644
index 0000000000000000000000000000000000000000..bafbb7652d642efdbf812cdd5544b0f172380779
--- /dev/null
+++ b/bt5/erp5_officejs_connector/SkinTemplateItem/portal_skins/erp5_officejs_jio_connector/HTMLPost_viewAsJio/your_modification_date.xml
@@ -0,0 +1,287 @@
+
+
+
+
+
+
+
+
+ -
+
id
+ your_modification_date
+
+ -
+
message_values
+
+
+ -
+
external_validator_failed
+ The input failed the external validator.
+
+ -
+
required_not_found
+ Input is required but no input given.
+
+ -
+
too_long
+ Too much input was given.
+
+
+
+
+ -
+
overrides
+
+
+ -
+
alternate_name
+
+
+ -
+
css_class
+
+
+ -
+
default
+
+
+ -
+
description
+
+
+ -
+
display_maxwidth
+
+
+ -
+
display_width
+
+
+ -
+
editable
+
+
+ -
+
enabled
+
+
+ -
+
external_validator
+
+
+ -
+
extra
+
+
+ -
+
hidden
+
+
+ -
+
input_type
+
+
+ -
+
max_length
+
+
+ -
+
required
+
+
+ -
+
title
+
+
+ -
+
truncate
+
+
+ -
+
unicode
+
+
+ -
+
whitespace_preserve
+
+
+
+
+
+ -
+
tales
+
+
+ -
+
alternate_name
+
+
+ -
+
css_class
+
+
+ -
+
default
+
+ AAAAAAAAAAI=
+
+
+ -
+
description
+
+
+ -
+
display_maxwidth
+
+
+ -
+
display_width
+
+
+ -
+
editable
+
+
+ -
+
enabled
+
+
+ -
+
external_validator
+
+
+ -
+
extra
+
+
+ -
+
hidden
+
+
+ -
+
input_type
+
+
+ -
+
max_length
+
+
+ -
+
required
+
+
+ -
+
title
+
+
+ -
+
truncate
+
+
+ -
+
unicode
+
+
+ -
+
whitespace_preserve
+
+
+
+
+
+ -
+
values
+
+
+ -
+
alternate_name
+
+
+ -
+
css_class
+
+
+ -
+
default
+
+
+ -
+
description
+
+
+ -
+
display_maxwidth
+
+
+ -
+
display_width
+ 20
+
+ -
+
editable
+ 1
+
+ -
+
enabled
+ 1
+
+ -
+
external_validator
+
+
+ -
+
extra
+
+
+ -
+
hidden
+ 0
+
+ -
+
input_type
+ text
+
+ -
+
max_length
+
+
+ -
+
required
+ 0
+
+ -
+
title
+ Modification Date
+
+ -
+
truncate
+ 0
+
+ -
+
unicode
+ 0
+
+ -
+
whitespace_preserve
+ 0
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
_text
+ python: here.getModificationDate().rfc822()
+
+
+
+
+
diff --git a/bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_discussiontool_zuite.xml b/bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_discussiontool_zuite.xml
new file mode 100644
index 0000000000000000000000000000000000000000..40b211a43176b45362e1ea5de19da2acc029af35
--- /dev/null
+++ b/bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_discussiontool_zuite.xml
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+ -
+
_objects
+
+
+
+
+ -
+
id
+ officejs_ui_discussiontool_zuite
+
+ -
+
title
+
+
+
+
+
+
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewAuthorWidget.xml b/bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_discussiontool_zuite/testOfficeJSDiscussionTool.xml
similarity index 95%
rename from bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewAuthorWidget.xml
rename to bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_discussiontool_zuite/testOfficeJSDiscussionTool.xml
index dcf9ba9262fd5a90148b9b4d1bf55df16a70979e..dbbe4e20abb0ffbaba9fba75622241fd51f21bda 100644
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewAuthorWidget.xml
+++ b/bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_discussiontool_zuite/testOfficeJSDiscussionTool.xml
@@ -42,7 +42,7 @@
-
id
- DiscussionThread_viewAuthorWidget
+ testOfficeJSDiscussionTool
-
output_encoding
diff --git a/bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_discussiontool_zuite/testOfficeJSDiscussionTool.zpt b/bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_discussiontool_zuite/testOfficeJSDiscussionTool.zpt
new file mode 100644
index 0000000000000000000000000000000000000000..65809dc35dc21b11341bec158eb5f486c5c91287
--- /dev/null
+++ b/bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_discussiontool_zuite/testOfficeJSDiscussionTool.zpt
@@ -0,0 +1,128 @@
+
+
+
+Test OfficeJS UI
+
+
+
+
+
+
+Test OfficeJS UI
+
+
+
+
+ open
+ ${base_url}/bar_module/ListBoxZuite_reset
+
+
+
+ assertTextPresent
+ Reset Successfully.
+
+
+
+
+
+
+ waitForElementPresent
+ //a[@data-i18n='Storages']
+
+
+
+ click
+ //a[@data-i18n='Storages']
+
+
+
+ waitForElementPresent
+ link=Local is Enough
+
+
+
+ click
+ link=Local is Enough
+
+
+
+ waitForElementPresent
+ link=Add
+
+
+
+ click
+ link=Add
+
+
+
+ waitForElementPresent
+ //button[@data-i18n='Save']
+
+
+
+ store
+ Titre
+ title
+
+
+ waitForElementPresent
+ //input[@title='Title']
+
+
+
+ type
+ //input[@title='Title']
+ ${title}
+
+
+ waitForElementPresent
+ //input[@title='Title']
+
+
+
+ click
+ //button[@data-i18n='Save']
+
+
+
+ waitForElementPresent
+ //div[@data-gadget-scope="notification"]//button[text()='Data Updated']
+
+
+
+ click
+ //a[@data-i18n='Document']
+
+
+
+ waitForElementPresent
+ link=Add
+
+
+
+ waitForElementPresent
+ link=${title}
+
+
+
+ click
+ link=${title}
+
+
+
+ waitForElementPresent
+ //input[@title='Title']
+
+
+
+ verifyValue
+ //input[@title='Title']
+ ${title}
+
+
+ waitForElementPresent
+ identifier=cke_1_contents
+
+
\ No newline at end of file
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_getSummaryAsHTML.xml b/bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_discussiontool_zuite/testOfficeJSDiscussionToolErp5Synchronization.xml
similarity index 90%
rename from bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_getSummaryAsHTML.xml
rename to bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_discussiontool_zuite/testOfficeJSDiscussionToolErp5Synchronization.xml
index e1f3b84235f9035269dab31da77a82a912dd9681..2f911e25a240cd8d3cf5532bff2376456546e40a 100644
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionPost_getSummaryAsHTML.xml
+++ b/bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_discussiontool_zuite/testOfficeJSDiscussionToolErp5Synchronization.xml
@@ -38,15 +38,15 @@
-
expand
- 1
+ 0
-
id
- DiscussionPost_getSummaryAsHTML
+ testOfficeJSDiscussionToolErp5Synchronization
-
output_encoding
- iso-8859-15
+ utf-8
-
title
diff --git a/bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_discussiontool_zuite/testOfficeJSDiscussionToolErp5Synchronization.zpt b/bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_discussiontool_zuite/testOfficeJSDiscussionToolErp5Synchronization.zpt
new file mode 100644
index 0000000000000000000000000000000000000000..692299365b3712c47caef9f0097170373ad1f696
--- /dev/null
+++ b/bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_discussiontool_zuite/testOfficeJSDiscussionToolErp5Synchronization.zpt
@@ -0,0 +1,336 @@
+
+
+
+Test OfficeJS UI
+
+
+
+
+Test OfficeJS UI
+
+
+
+
+ open
+ ${base_url}/bar_module/ListBoxZuite_reset
+
+
+
+ assertTextPresent
+ Reset Successfully.
+
+
+
+
+ open
+ ${base_url}/web_site_module/officejs_discussion_tool/
+
+
+
+
+
+
+ waitForElementPresent
+ link=Storages
+
+
+
+ click
+ link=Storages
+
+
+
+
+
+
+ waitForElementPresent
+ link=Erp5
+
+
+
+ click
+ link=Erp5
+
+
+
+ waitForElementPresent
+ name=erp5_url
+
+
+
+ type
+ name=erp5_url
+ ${base_url}/web_site_module/
+
+
+ click
+ //button[@data-i18n='Proceed']
+
+
+
+
+
+ waitForElementPresent
+ link=Add
+
+
+
+ click
+ link=Add
+
+
+
+
+ waitForElementPresent
+ //button[@data-i18n='Save']
+
+
+
+ waitForElementPresent
+ identifier=title
+
+
+
+ store
+ Titre
+ title
+
+
+ type
+ name=title
+ ${title}
+
+
+ waitForElementPresent
+ //input[@title='Title']
+
+
+
+
+
+
+
+
+
+
+ click
+ //a[@data-i18n='Document']
+
+
+
+
+
+
+ waitForElementPresent
+ //a[@data-i18n='Add']
+
+
+
+ click
+ //a[@data-i18n='Add']
+
+
+
+
+ waitForElementPresent
+ //button[@data-i18n='Save']
+
+
+
+ store
+ search
+ search
+
+
+ waitForElementPresent
+ identifier=title
+
+
+
+ type
+ name=title
+ ${search}
+
+
+
+
+
+
+
+
+
+ click
+ //a[@data-i18n='Document']
+
+
+
+
+
+
+
+
+ waitForElementPresent
+ link=${title}
+
+
+
+ assertTextPresent
+ ${title}
+
+
+
+ assertFailureOnNext
+ false
+
+
+
+ verifyElementPresent
+ link=${search}
+
+
+
+ click
+ link=${title}
+
+
+
+
+
+ waitForElementPresent
+ identifier=title
+
+
+
+ assertTextPresent
+ ${title}
+
+
+
+ verifyValue
+ title
+ ${title}
+
+
+ click
+ //button[@data-i18n='Menu']
+
+
+
+ click
+ //a[@data-i18n='Synchronize']
+
+
+
+
+ waitForElementPresent
+ name=search
+
+
+
+ type
+ name=search
+ ${title}
+
+
+ waitForElementPresent
+ //button[@data-i18n='Filter']
+
+
+
+ click
+ //button[@data-i18n='Filter']
+
+
+
+ waitForElementPresent
+ //button[@data-i18n='Filter']
+
+
+
+ waitForElementPresent
+ link=${title}
+
+
+
+ assertTextPresent
+ ${title}
+
+
+
+ click
+ link=${title}
+
+
+
+
+ waitForElementPresent
+ identifier=title
+
+
+
+ verifyValue
+ title
+ ${title}
+
+
+ open
+ ${base_url}/post_module/Zuite_waitForActivities
+
+
+
+ waitForElementPresent
+ //pre[contains(text(), "Done.")]
+
+
+
+
+ verifyTextPresent
+ Done.
+
+
+
+ open
+ ${base_url}/post_module/
+
+
+
+ waitForElementPresent
+ //button[@title="Show All"]
+
+
+
+ click
+ //button[@title="Show All"]
+
+
+
+ pause
+ 1000
+
+
+
+ waitForElementPresent
+ //input[@name="listbox_title"]
+
+
+
+ type
+ name=listbox_title
+ ${title}
+
+
+ clickAndWait
+ Base_doSelect:method
+
+
+
+ assertTextPresent
+ ${title}
+
+
+
+
+
\ No newline at end of file
diff --git a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewLastPostWidget.xml b/bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_discussiontool_zuite/testOfficeJSDiscussionToolMigration.xml
similarity index 93%
rename from bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewLastPostWidget.xml
rename to bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_discussiontool_zuite/testOfficeJSDiscussionToolMigration.xml
index 1c67e38f567a68104e99f52ac781ad10147df6b8..c332e2200feae251efed287352296cb69c272244 100644
--- a/bt5/erp5_discussion/SkinTemplateItem/portal_skins/erp5_discussion/DiscussionThread_viewLastPostWidget.xml
+++ b/bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_discussiontool_zuite/testOfficeJSDiscussionToolMigration.xml
@@ -42,11 +42,11 @@
-
id
- DiscussionThread_viewLastPostWidget
+ testOfficeJSDiscussionToolMigration
-
output_encoding
- iso-8859-15
+ utf-8
-
title
diff --git a/bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_discussiontool_zuite/testOfficeJSDiscussionToolMigration.zpt b/bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_discussiontool_zuite/testOfficeJSDiscussionToolMigration.zpt
new file mode 100644
index 0000000000000000000000000000000000000000..db0005829dd58c6a0dc52aa01e0d8927bd7eb6d7
--- /dev/null
+++ b/bt5/erp5_officejs_ui_test/PathTemplateItem/portal_tests/officejs_ui_discussiontool_zuite/testOfficeJSDiscussionToolMigration.zpt
@@ -0,0 +1,44 @@
+
+
+
+Test OfficeJS UI
+
+
+
+
+Test OfficeJS UI
+
+
+
+
+ open
+ ${base_url}/bar_module/ListBoxZuite_reset
+
+
+
+ assertTextPresent
+ Reset Successfully.
+
+
+
+
+ open
+ ${base_url}/portal_skins/erp5_officejs_ui_test/gadget_officejs_create_bad_storage.html
+
+
+
+ waitForElementPresent
+ //div[text()='Storage Created']
+
+
+
+ open
+ ${base_url}/web_site_module/officejs_discussion_tool/app/
+
+
+
+ waitForElementPresent
+ link=Local is Enough
+
+
\ No newline at end of file
diff --git a/bt5/erp5_officejs_ui_test/TestTemplateItem/portal_components/test.erp5.testFunctionalOfficeJSDiscussionTool.py b/bt5/erp5_officejs_ui_test/TestTemplateItem/portal_components/test.erp5.testFunctionalOfficeJSDiscussionTool.py
new file mode 100644
index 0000000000000000000000000000000000000000..bd8acc011ea11acae356dc9048beab4bedf1c5d2
--- /dev/null
+++ b/bt5/erp5_officejs_ui_test/TestTemplateItem/portal_components/test.erp5.testFunctionalOfficeJSDiscussionTool.py
@@ -0,0 +1,49 @@
+##############################################################################
+#
+# Copyright (c) 2011 Nexedi SARL and Contributors. All Rights Reserved.
+# Kazuhiko
+# Rafael Monnerat
+#
+# WARNING: This program as such is intended to be used by professional
+# programmers who take the whole responsability of assessing all potential
+# consequences resulting from its eventual inadequacies and bugs
+# End users who are looking for a ready-to-use solution with commercial
+# garantees and support are strongly adviced to contract a Free Software
+# Service Company
+#
+# This program is Free Software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#
+##############################################################################
+import unittest
+
+from Products.ERP5Type.tests.ERP5TypeFunctionalTestCase import ERP5TypeFunctionalTestCase
+
+class TestOfficejSUIDiscussionTool(ERP5TypeFunctionalTestCase):
+ foreground = 0
+ run_only = "officejs_ui_discussiontool_zuite"
+
+ def getBusinessTemplateList(self):
+ return (
+ 'erp5_officejs',
+ 'erp5_officejs_ui_test',
+ 'erp5_ui_test_core',
+ 'erp5_post',
+ 'erp5_discussion'
+ )
+
+def test_suite():
+ suite = unittest.TestSuite()
+ suite.addTest(unittest.makeSuite(TestOfficejSUIDiscussionTool))
+ return suite
\ No newline at end of file
diff --git a/bt5/erp5_officejs_ui_test/TestTemplateItem/portal_components/test.erp5.testFunctionalOfficeJSDiscussionTool.xml b/bt5/erp5_officejs_ui_test/TestTemplateItem/portal_components/test.erp5.testFunctionalOfficeJSDiscussionTool.xml
new file mode 100644
index 0000000000000000000000000000000000000000..e9f35d2f8a718dfd293924d77c440fe8f83e1cd0
--- /dev/null
+++ b/bt5/erp5_officejs_ui_test/TestTemplateItem/portal_components/test.erp5.testFunctionalOfficeJSDiscussionTool.xml
@@ -0,0 +1,123 @@
+
+
+
+
+
+
+
+
+ -
+
_recorded_property_dict
+
+ AAAAAAAAAAI=
+
+
+ -
+
default_reference
+ testFunctionalOfficeJSDiscussionTool
+
+ -
+
description
+
+
+
+
+ -
+
id
+ test.erp5.testFunctionalOfficeJSDiscussionTool
+
+ -
+
portal_type
+ Test Component
+
+ -
+
sid
+
+
+
+
+ -
+
text_content_error_message
+
+
+
+
+ -
+
text_content_warning_message
+
+
+
+
+ -
+
version
+ erp5
+
+ -
+
workflow_history
+
+ AAAAAAAAAAM=
+
+
+
+
+
+
+
+
+
+
+
+ -
+
data
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
data
+
+
+ -
+
component_validation_workflow
+
+ AAAAAAAAAAQ=
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
action
+ validate
+
+ -
+
validation_state
+ validated
+
+
+
+
+
+
+
diff --git a/bt5/erp5_officejs_ui_test/bt/dependency_list b/bt5/erp5_officejs_ui_test/bt/dependency_list
index 16b64819f1ac8802c3e3876f34f5c28080f9db2f..0e89286095b95281ab22bf563e40105819a4ecfa 100644
--- a/bt5/erp5_officejs_ui_test/bt/dependency_list
+++ b/bt5/erp5_officejs_ui_test/bt/dependency_list
@@ -4,4 +4,6 @@ erp5_officejs
erp5_officejs_jquery_app
erp5_officejs_ooffice
erp5_officejs_connector
-erp5_web_renderjs_ui_test
\ No newline at end of file
+erp5_web_renderjs_ui_test
+erp5_discussion
+erp5_post
\ No newline at end of file
diff --git a/bt5/erp5_officejs_ui_test/bt/template_test_id_list b/bt5/erp5_officejs_ui_test/bt/template_test_id_list
index d99e0ec7233dd3e00fad42a93ed774981c3dd93e..4f8db83321f27720bf7a864c6fbaa2d6fd2299f1 100644
--- a/bt5/erp5_officejs_ui_test/bt/template_test_id_list
+++ b/bt5/erp5_officejs_ui_test/bt/template_test_id_list
@@ -1,5 +1,6 @@
test.erp5.testFunctionalOfficeJSSmartAssistant
test.erp5.testFunctionalOfficeJSTextEditor
+test.erp5.testFunctionalOfficeJSDiscussionTool
test.erp5.testFunctionalOfficeJSCodeMirror
test.erp5.testFunctionalOfficeJSMediaPlayer
test.erp5.testFunctionalOfficeJSCribJS
diff --git a/bt5/erp5_discussion/ActionTemplateItem/portal_types/Preference/forum_style_preferences.xml b/bt5/erp5_post/ActionTemplateItem/portal_types/HTML%20Post/jio_view.xml
similarity index 79%
rename from bt5/erp5_discussion/ActionTemplateItem/portal_types/Preference/forum_style_preferences.xml
rename to bt5/erp5_post/ActionTemplateItem/portal_types/HTML%20Post/jio_view.xml
index 1bffd5a210561b6d1541bffc5f326f255d6ce492..25436ef3e36fbb9e6d302f30debf8201b64492ae 100644
--- a/bt5/erp5_discussion/ActionTemplateItem/portal_types/Preference/forum_style_preferences.xml
+++ b/bt5/erp5_post/ActionTemplateItem/portal_types/HTML%20Post/jio_view.xml
@@ -16,13 +16,13 @@
categories
- action_type/object_view
+ action_type/object_jio_view
-
category
- object_view
+ object_jio_view
-
condition
@@ -40,7 +40,7 @@
-
id
- forum_style_preferences
+ jio_view
-
permissions
@@ -50,13 +50,17 @@
+ -
+
portal_type
+ Action Information
+
-
priority
- 20.0
+ 1.0
-
title
- Forum
+ View
-
visible
@@ -73,7 +77,7 @@
-
text
- string:${object_url}/Preference_viewForumSettings
+ string:${object_url}/HTMLPost_viewAsJio
diff --git a/bt5/erp5_post/SkinTemplateItem/portal_skins/erp5_post/PostModule_viewHTMLPostList/listbox.xml b/bt5/erp5_post/SkinTemplateItem/portal_skins/erp5_post/PostModule_viewHTMLPostList/listbox.xml
index c90b6233cce4cd3ed7865b57591935e41e347d97..0c7eaad3ba3540a80c3e87852630b941b9479698 100644
--- a/bt5/erp5_post/SkinTemplateItem/portal_skins/erp5_post/PostModule_viewHTMLPostList/listbox.xml
+++ b/bt5/erp5_post/SkinTemplateItem/portal_skins/erp5_post/PostModule_viewHTMLPostList/listbox.xml
@@ -85,6 +85,10 @@
translated_validation_state_title
State
+
+ modification_date
+ Modification Date
+
diff --git a/bt5/erp5_post/bt/template_action_path_list b/bt5/erp5_post/bt/template_action_path_list
index 0f94e1f3c0c75f3355f870b4f2398beacda5c6e4..0f92873ea5019a081d2dbd6209c15037a3bfb118 100644
--- a/bt5/erp5_post/bt/template_action_path_list
+++ b/bt5/erp5_post/bt/template_action_path_list
@@ -1,3 +1,4 @@
+HTML Post | jio_view
HTML Post | view
Post Module | view
Text Post | view
\ No newline at end of file
diff --git a/tests/__init__.py b/tests/__init__.py
index 580935d622e98b70ce2b2f976a2339adbca29f28..ffceee3beea139d47acb5e2046c0d96870c459f6 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -35,9 +35,7 @@ class _ERP5(ERP5TypeTestSuite):
component_re = re.compile(".*/([^/]+)/TestTemplateItem/portal_components"
"/test\.[^.]+\.([^.]+).py$")
for test_path in (
- glob('%s/product/*/tests/test*.py' % path) +
- glob('%s/bt5/*/TestTemplateItem/test*.py' % path) +
- glob('%s/bt5/*/TestTemplateItem/portal_components/test.*.test*.py' % path)):
+ glob('%s/bt5/erp5_officejs_ui_test/TestTemplateItem/portal_components/test.*.test*Discussion*.py' % path)):
component_re_match = component_re.match(test_path)
if component_re_match is not None:
test_case = "%s:%s" % (component_re_match.group(1),