Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Paul Graydon
erp5
Commits
f514fa61
Commit
f514fa61
authored
Jun 11, 2020
by
Arnaud Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WIP: ZODB Components: Migrate Tools in Products.ERP5.Tool.
parent
1e697b46
Changes
37
Show whitespace changes
Inline
Side-by-side
Showing
37 changed files
with
1751 additions
and
158 deletions
+1751
-158
bt5/erp5_certificate_authority/ToolComponentTemplateItem/portal_components/tool.erp5.CertificateAuthorityTool.py
...m/portal_components/tool.erp5.CertificateAuthorityTool.py
+7
-6
bt5/erp5_certificate_authority/ToolComponentTemplateItem/portal_components/tool.erp5.CertificateAuthorityTool.xml
.../portal_components/tool.erp5.CertificateAuthorityTool.xml
+110
-0
bt5/erp5_certificate_authority/bt/template_tool_component_id_list
..._certificate_authority/bt/template_tool_component_id_list
+1
-0
bt5/erp5_ingestion/InterfaceTemplateItem/portal_components/interface.erp5.IUrlRegistryTool.py
...Item/portal_components/interface.erp5.IUrlRegistryTool.py
+0
-0
bt5/erp5_ingestion/InterfaceTemplateItem/portal_components/interface.erp5.IUrlRegistryTool.xml
...tem/portal_components/interface.erp5.IUrlRegistryTool.xml
+110
-0
bt5/erp5_ingestion/ToolComponentTemplateItem/portal_components/tool.erp5.UrlRegistryTool.py
...mplateItem/portal_components/tool.erp5.UrlRegistryTool.py
+1
-1
bt5/erp5_ingestion/ToolComponentTemplateItem/portal_components/tool.erp5.UrlRegistryTool.xml
...plateItem/portal_components/tool.erp5.UrlRegistryTool.xml
+110
-0
bt5/erp5_ingestion/bt/template_interface_id_list
bt5/erp5_ingestion/bt/template_interface_id_list
+1
-0
bt5/erp5_ingestion/bt/template_tool_component_id_list
bt5/erp5_ingestion/bt/template_tool_component_id_list
+1
-0
bt5/erp5_knowledge_pad/ToolComponentTemplateItem/portal_components/tool.erp5.GadgetTool.py
...entTemplateItem/portal_components/tool.erp5.GadgetTool.py
+0
-0
bt5/erp5_knowledge_pad/ToolComponentTemplateItem/portal_components/tool.erp5.GadgetTool.xml
...ntTemplateItem/portal_components/tool.erp5.GadgetTool.xml
+104
-0
bt5/erp5_knowledge_pad/bt/template_tool_component_id_list
bt5/erp5_knowledge_pad/bt/template_tool_component_id_list
+1
-0
product/ERP5/__init__.py
product/ERP5/__init__.py
+4
-17
product/ERP5/bootstrap/erp5_core/InterfaceTemplateItem/portal_components/interface.erp5.IIdTool.py
...eTemplateItem/portal_components/interface.erp5.IIdTool.py
+2
-2
product/ERP5/bootstrap/erp5_core/InterfaceTemplateItem/portal_components/interface.erp5.IIdTool.xml
...TemplateItem/portal_components/interface.erp5.IIdTool.xml
+110
-0
product/ERP5/bootstrap/erp5_core/ToolComponentTemplateItem/portal_components/tool.erp5.AcknowledgementTool.py
...teItem/portal_components/tool.erp5.AcknowledgementTool.py
+1
-4
product/ERP5/bootstrap/erp5_core/ToolComponentTemplateItem/portal_components/tool.erp5.AcknowledgementTool.xml
...eItem/portal_components/tool.erp5.AcknowledgementTool.xml
+110
-0
product/ERP5/bootstrap/erp5_core/ToolComponentTemplateItem/portal_components/tool.erp5.ContributionRegistryTool.py
...m/portal_components/tool.erp5.ContributionRegistryTool.py
+0
-0
product/ERP5/bootstrap/erp5_core/ToolComponentTemplateItem/portal_components/tool.erp5.ContributionRegistryTool.xml
.../portal_components/tool.erp5.ContributionRegistryTool.xml
+104
-0
product/ERP5/bootstrap/erp5_core/ToolComponentTemplateItem/portal_components/tool.erp5.DomainTool.py
...entTemplateItem/portal_components/tool.erp5.DomainTool.py
+365
-0
product/ERP5/bootstrap/erp5_core/ToolComponentTemplateItem/portal_components/tool.erp5.DomainTool.xml
...ntTemplateItem/portal_components/tool.erp5.DomainTool.xml
+110
-0
product/ERP5/bootstrap/erp5_core/ToolComponentTemplateItem/portal_components/tool.erp5.IdTool.py
...mponentTemplateItem/portal_components/tool.erp5.IdTool.py
+17
-19
product/ERP5/bootstrap/erp5_core/ToolComponentTemplateItem/portal_components/tool.erp5.IdTool.xml
...ponentTemplateItem/portal_components/tool.erp5.IdTool.xml
+131
-0
product/ERP5/bootstrap/erp5_core/ToolComponentTemplateItem/portal_components/tool.erp5.IntrospectionTool.py
...lateItem/portal_components/tool.erp5.IntrospectionTool.py
+4
-9
product/ERP5/bootstrap/erp5_core/ToolComponentTemplateItem/portal_components/tool.erp5.IntrospectionTool.xml
...ateItem/portal_components/tool.erp5.IntrospectionTool.xml
+110
-0
product/ERP5/bootstrap/erp5_core/ToolComponentTemplateItem/portal_components/tool.erp5.PasswordTool.py
...tTemplateItem/portal_components/tool.erp5.PasswordTool.py
+3
-10
product/ERP5/bootstrap/erp5_core/ToolComponentTemplateItem/portal_components/tool.erp5.PasswordTool.xml
...TemplateItem/portal_components/tool.erp5.PasswordTool.xml
+110
-0
product/ERP5/bootstrap/erp5_core/ToolComponentTemplateItem/portal_components/tool.erp5.TestTool.py
...onentTemplateItem/portal_components/tool.erp5.TestTool.py
+4
-20
product/ERP5/bootstrap/erp5_core/ToolComponentTemplateItem/portal_components/tool.erp5.TestTool.xml
...nentTemplateItem/portal_components/tool.erp5.TestTool.xml
+110
-0
product/ERP5/bootstrap/erp5_core/bt/template_document_id_list
...uct/ERP5/bootstrap/erp5_core/bt/template_document_id_list
+1
-1
product/ERP5/bootstrap/erp5_core/bt/template_interface_id_list
...ct/ERP5/bootstrap/erp5_core/bt/template_interface_id_list
+1
-0
product/ERP5/bootstrap/erp5_core/bt/template_tool_component_id_list
...P5/bootstrap/erp5_core/bt/template_tool_component_id_list
+8
-1
product/ERP5/dtml/explainDomainTool.dtml
product/ERP5/dtml/explainDomainTool.dtml
+0
-9
product/ERP5/dtml/explainIdTool.dtml
product/ERP5/dtml/explainIdTool.dtml
+0
-30
product/ERP5/dtml/explainIntrospectionTool.dtml
product/ERP5/dtml/explainIntrospectionTool.dtml
+0
-9
product/ERP5/dtml/explainPasswordTool.dtml
product/ERP5/dtml/explainPasswordTool.dtml
+0
-6
product/ERP5/dtml/explainTestTool.dtml
product/ERP5/dtml/explainTestTool.dtml
+0
-14
No files found.
product/ERP5/Tool/
CertificateAuthorityTool.py
→
bt5/erp5_certificate_authority/ToolComponentTemplateItem/portal_components/tool.erp5.
CertificateAuthorityTool.py
View file @
f514fa61
...
@@ -28,6 +28,7 @@
...
@@ -28,6 +28,7 @@
##############################################################################
##############################################################################
import
glob
,
os
,
subprocess
,
sys
import
glob
,
os
,
subprocess
,
sys
import
Products.ERP5
from
AccessControl
import
ClassSecurityInfo
from
AccessControl
import
ClassSecurityInfo
from
Products.ERP5Type.Globals
import
InitializeClass
from
Products.ERP5Type.Globals
import
InitializeClass
...
@@ -36,10 +37,10 @@ from Products.ERP5Type import Permissions
...
@@ -36,10 +37,10 @@ from Products.ERP5Type import Permissions
from
Products.PageTemplates.PageTemplateFile
import
PageTemplateFile
from
Products.PageTemplates.PageTemplateFile
import
PageTemplateFile
from
zLOG
import
LOG
,
INFO
from
zLOG
import
LOG
,
INFO
def
popenCommunicate
(
command_list
,
input
=
None
,
**
kwargs
):
def
popenCommunicate
(
command_list
,
input
_
=
None
,
**
kwargs
):
kwargs
.
update
(
stdout
=
subprocess
.
PIPE
,
stderr
=
subprocess
.
STDOUT
)
kwargs
.
update
(
stdout
=
subprocess
.
PIPE
,
stderr
=
subprocess
.
STDOUT
)
popen
=
subprocess
.
Popen
(
command_list
,
**
kwargs
)
popen
=
subprocess
.
Popen
(
command_list
,
**
kwargs
)
result
=
popen
.
communicate
(
input
)[
0
]
result
=
popen
.
communicate
(
input
_
)[
0
]
if
popen
.
returncode
is
None
:
if
popen
.
returncode
is
None
:
popen
.
kill
()
popen
.
kill
()
if
popen
.
returncode
!=
0
:
if
popen
.
returncode
!=
0
:
...
@@ -150,8 +151,8 @@ class CertificateAuthorityTool(BaseTool):
...
@@ -150,8 +151,8 @@ class CertificateAuthorityTool(BaseTool):
#'Edit' option form
#'Edit' option form
manage_editCertificateAuthorityToolForm
=
PageTemplateFile
(
manage_editCertificateAuthorityToolForm
=
PageTemplateFile
(
'../www/CertificateAuthorityTool_editPropertyList
'
,
os
.
path
.
join
(
os
.
path
.
dirname
(
Products
.
ERP5
.
__file__
),
'www
'
,
globals
(
),
'CertificateAuthorityTool_editPropertyList'
),
__name__
=
'manage_editCertificateAuthorityToolForm'
)
__name__
=
'manage_editCertificateAuthorityToolForm'
)
security
.
declareProtected
(
Permissions
.
ManageProperties
,
security
.
declareProtected
(
Permissions
.
ManageProperties
,
...
@@ -224,7 +225,7 @@ class CertificateAuthorityTool(BaseTool):
...
@@ -224,7 +225,7 @@ class CertificateAuthorityTool(BaseTool):
for
p
in
key
,
csr
,
cert
:
for
p
in
key
,
csr
,
cert
:
if
os
.
path
.
exists
(
p
):
if
os
.
path
.
exists
(
p
):
os
.
unlink
(
p
)
os
.
unlink
(
p
)
except
:
except
Exception
:
# do not raise during cleanup
# do not raise during cleanup
pass
pass
raise
e
[
0
],
e
[
1
],
e
[
2
]
raise
e
[
0
],
e
[
1
],
e
[
2
]
...
@@ -267,7 +268,7 @@ class CertificateAuthorityTool(BaseTool):
...
@@ -267,7 +268,7 @@ class CertificateAuthorityTool(BaseTool):
for
p
in
created
:
for
p
in
created
:
if
os
.
path
.
exists
(
p
):
if
os
.
path
.
exists
(
p
):
os
.
unlink
(
p
)
os
.
unlink
(
p
)
except
:
except
Exception
:
# do not raise during cleanup
# do not raise during cleanup
pass
pass
raise
e
[
0
],
e
[
1
],
e
[
2
]
raise
e
[
0
],
e
[
1
],
e
[
2
]
...
...
bt5/erp5_certificate_authority/ToolComponentTemplateItem/portal_components/tool.erp5.CertificateAuthorityTool.xml
0 → 100644
View file @
f514fa61
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Tool Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
CertificateAuthorityTool
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5.Tool.CertificateAuthorityTool
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
tool.erp5.CertificateAuthorityTool
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Tool Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_certificate_authority/bt/template_tool_component_id_list
0 → 100644
View file @
f514fa61
tool.erp5.CertificateAuthorityTool
\ No newline at end of file
product/ERP5/interfaces/url_registry_t
ool.py
→
bt5/erp5_ingestion/InterfaceTemplateItem/portal_components/interface.erp5.IUrlRegistryT
ool.py
View file @
f514fa61
File moved
bt5/erp5_ingestion/InterfaceTemplateItem/portal_components/interface.erp5.IUrlRegistryTool.xml
0 → 100644
View file @
f514fa61
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Interface Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
IUrlRegistryTool
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5.interfaces.url_registry_tool
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
interface.erp5.IUrlRegistryTool
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Interface Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5/Tool/
UrlRegistryTool.py
→
bt5/erp5_ingestion/ToolComponentTemplateItem/portal_components/tool.erp5.
UrlRegistryTool.py
View file @
f514fa61
...
@@ -51,7 +51,7 @@ class UrlRegistryTool(BaseTool):
...
@@ -51,7 +51,7 @@ class UrlRegistryTool(BaseTool):
_url_reference_mapping
=
'url_reference_mapping'
_url_reference_mapping
=
'url_reference_mapping'
def
__init__
(
self
,
id
=
None
):
def
__init__
(
self
,
id
=
None
):
# pylint: disable=redefined-builtin, super-init-not-called
if
id
is
not
None
:
if
id
is
not
None
:
self
.
id
=
id
self
.
id
=
id
self
.
_initBTree
()
self
.
_initBTree
()
...
...
bt5/erp5_ingestion/ToolComponentTemplateItem/portal_components/tool.erp5.UrlRegistryTool.xml
0 → 100644
View file @
f514fa61
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Tool Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
UrlRegistryTool
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5.Tool.UrlRegistryTool
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
tool.erp5.UrlRegistryTool
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Tool Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_ingestion/bt/template_interface_id_list
0 → 100644
View file @
f514fa61
interface.erp5.IUrlRegistryTool
\ No newline at end of file
bt5/erp5_ingestion/bt/template_tool_component_id_list
0 → 100644
View file @
f514fa61
tool.erp5.UrlRegistryTool
\ No newline at end of file
product/ERP5/Tool/
GadgetTool.py
→
bt5/erp5_knowledge_pad/ToolComponentTemplateItem/portal_components/tool.erp5.
GadgetTool.py
View file @
f514fa61
File moved
bt5/erp5_knowledge_pad/ToolComponentTemplateItem/portal_components/tool.erp5.GadgetTool.xml
0 → 100644
View file @
f514fa61
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Tool Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
GadgetTool
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5.Tool.GadgetTool
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
tool.erp5.GadgetTool
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Tool Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_knowledge_pad/bt/template_tool_component_id_list
0 → 100644
View file @
f514fa61
tool.erp5.GadgetTool
\ No newline at end of file
product/ERP5/__init__.py
View file @
f514fa61
...
@@ -41,13 +41,10 @@ from Products.ERP5Type.Globals import package_home
...
@@ -41,13 +41,10 @@ from Products.ERP5Type.Globals import package_home
product_path
=
package_home
(
globals
()
)
product_path
=
package_home
(
globals
()
)
# Define object classes and tools
# Define object classes and tools
from
Tool
import
CategoryTool
,
IdTool
,
TemplateTool
,
\
from
Tool
import
CategoryTool
,
TemplateTool
,
\
TestTool
,
DomainTool
,
AlarmTool
,
\
AlarmTool
,
\
TrashTool
,
ContributionTool
,
NotificationTool
,
PasswordTool
,
\
TrashTool
,
ContributionTool
,
NotificationTool
,
\
GadgetTool
,
ContributionRegistryTool
,
IntrospectionTool
,
\
SolverTool
AcknowledgementTool
,
SolverTool
,
\
UrlRegistryTool
,
\
CertificateAuthorityTool
import
ERP5Site
import
ERP5Site
from
Document
import
PythonScript
,
SQLMethod
from
Document
import
PythonScript
,
SQLMethod
object_classes
=
(
ERP5Site
.
ERP5Site
,
object_classes
=
(
ERP5Site
.
ERP5Site
,
...
@@ -55,22 +52,12 @@ object_classes = ( ERP5Site.ERP5Site,
...
@@ -55,22 +52,12 @@ object_classes = ( ERP5Site.ERP5Site,
SQLMethod
.
SQLMethod
,
SQLMethod
.
SQLMethod
,
)
)
portal_tools
=
(
CategoryTool
.
CategoryTool
,
portal_tools
=
(
CategoryTool
.
CategoryTool
,
IdTool
.
IdTool
,
TemplateTool
.
TemplateTool
,
TemplateTool
.
TemplateTool
,
AlarmTool
.
AlarmTool
,
AlarmTool
.
AlarmTool
,
DomainTool
.
DomainTool
,
TestTool
.
TestTool
,
TrashTool
.
TrashTool
,
TrashTool
.
TrashTool
,
PasswordTool
.
PasswordTool
,
ContributionTool
.
ContributionTool
,
ContributionTool
.
ContributionTool
,
NotificationTool
.
NotificationTool
,
NotificationTool
.
NotificationTool
,
GadgetTool
.
GadgetTool
,
ContributionRegistryTool
.
ContributionRegistryTool
,
IntrospectionTool
.
IntrospectionTool
,
AcknowledgementTool
.
AcknowledgementTool
,
SolverTool
.
SolverTool
,
SolverTool
.
SolverTool
,
UrlRegistryTool
.
UrlRegistryTool
,
CertificateAuthorityTool
.
CertificateAuthorityTool
,
)
)
content_classes
=
()
content_classes
=
()
content_constructors
=
()
content_constructors
=
()
...
...
product/ERP5/
interfaces/id_t
ool.py
→
product/ERP5/
bootstrap/erp5_core/InterfaceTemplateItem/portal_components/interface.erp5.IIdT
ool.py
View file @
f514fa61
...
@@ -105,7 +105,7 @@ class IIdTool(Interface):
...
@@ -105,7 +105,7 @@ class IIdTool(Interface):
# this can returns ['154', '155', '156']
# this can returns ['154', '155', '156']
"""
"""
def
initializeGenerator
(
id_generator
=
None
,
all
=
False
):
def
initializeGenerator
(
id_generator
=
None
,
all
=
False
):
# pylint: disable=redefined-builtin
"""
"""
Initialize generators. This is mostly used when a new ERP5 site
Initialize generators. This is mostly used when a new ERP5 site
is created. Some generators will need to do some initialization like
is created. Some generators will need to do some initialization like
...
@@ -118,7 +118,7 @@ class IIdTool(Interface):
...
@@ -118,7 +118,7 @@ class IIdTool(Interface):
do initialization for all generators
do initialization for all generators
"""
"""
def
clearGenerator
(
id_generator
=
None
,
all
=
False
):
def
clearGenerator
(
id_generator
=
None
,
all
=
False
):
# pylint: disable=redefined-builtin
"""
"""
Clear generators data. This can be usefull when working on a
Clear generators data. This can be usefull when working on a
development instance or in some other rare cases. This will
development instance or in some other rare cases. This will
...
...
product/ERP5/bootstrap/erp5_core/InterfaceTemplateItem/portal_components/interface.erp5.IIdTool.xml
0 → 100644
View file @
f514fa61
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Interface Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
IIdTool
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5.interfaces.id_tool
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
interface.erp5.IIdTool
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Interface Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5/
Tool/
AcknowledgementTool.py
→
product/ERP5/
bootstrap/erp5_core/ToolComponentTemplateItem/portal_components/tool.erp5.
AcknowledgementTool.py
View file @
f514fa61
...
@@ -27,11 +27,9 @@
...
@@ -27,11 +27,9 @@
#
#
##############################################################################
##############################################################################
from
AccessControl
import
ClassSecurityInfo
from
AccessControl
import
ClassSecurityInfo
from
Products.ERP5Type.Globals
import
InitializeClass
,
DTMLFile
from
Products.ERP5Type.Globals
import
InitializeClass
from
Products.ERP5Type.Tool.BaseTool
import
BaseTool
from
Products.ERP5Type.Tool.BaseTool
import
BaseTool
from
Products.ERP5Type
import
Permissions
from
Products.ERP5Type
import
Permissions
from
Products.ERP5
import
_dtmldir
from
zLOG
import
LOG
from
DateTime
import
DateTime
from
DateTime
import
DateTime
from
Products.ZSQLCatalog.SQLCatalog
import
Query
,
NegatedQuery
from
Products.ZSQLCatalog.SQLCatalog
import
Query
,
NegatedQuery
...
@@ -61,7 +59,6 @@ class AcknowledgementTool(BaseTool):
...
@@ -61,7 +59,6 @@ class AcknowledgementTool(BaseTool):
# Declarative Security
# Declarative Security
security
=
ClassSecurityInfo
()
security
=
ClassSecurityInfo
()
security
.
declarePublic
(
'countUnread'
)
security
.
declarePublic
(
'countUnread'
)
def
countUnread
(
self
,
*
args
,
**
kw
):
def
countUnread
(
self
,
*
args
,
**
kw
):
"""
"""
...
...
product/ERP5/bootstrap/erp5_core/ToolComponentTemplateItem/portal_components/tool.erp5.AcknowledgementTool.xml
0 → 100644
View file @
f514fa61
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Tool Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
AcknowledgementTool
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5.Tool.AcknowledgementTool
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
tool.erp5.AcknowledgementTool
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Tool Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5/
Tool/
ContributionRegistryTool.py
→
product/ERP5/
bootstrap/erp5_core/ToolComponentTemplateItem/portal_components/tool.erp5.
ContributionRegistryTool.py
View file @
f514fa61
File moved
product/ERP5/bootstrap/erp5_core/ToolComponentTemplateItem/portal_components/tool.erp5.ContributionRegistryTool.xml
0 → 100644
View file @
f514fa61
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Tool Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
ContributionRegistryTool
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5.Tool.ContributionRegistryTool
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
tool.erp5.ContributionRegistryTool
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Tool Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5/
Tool/
DomainTool.py
→
product/ERP5/
bootstrap/erp5_core/ToolComponentTemplateItem/portal_components/tool.erp5.
DomainTool.py
View file @
f514fa61
...
@@ -29,15 +29,12 @@
...
@@ -29,15 +29,12 @@
from
collections
import
defaultdict
from
collections
import
defaultdict
from
AccessControl
import
ClassSecurityInfo
from
AccessControl
import
ClassSecurityInfo
from
Products.ERP5Type.Globals
import
InitializeClass
,
DTMLFile
from
Products.ERP5Type.Globals
import
InitializeClass
from
Products.ERP5Type
import
Permissions
from
Products.ERP5Type
import
Permissions
from
Products.ERP5
import
_dtmldir
from
Products.ERP5Type.Tool.BaseTool
import
BaseTool
from
Products.ERP5Type.Tool.BaseTool
import
BaseTool
from
Products.ZSQLCatalog.SQLCatalog
import
SimpleQuery
,
ComplexQuery
from
Products.ZSQLCatalog.SQLCatalog
import
SimpleQuery
,
ComplexQuery
from
zLOG
import
LOG
from
DateTime
import
DateTime
_MARKER
=
[]
_MARKER
=
()
class
DomainTool
(
BaseTool
):
class
DomainTool
(
BaseTool
):
"""
"""
...
@@ -52,9 +49,6 @@ class DomainTool(BaseTool):
...
@@ -52,9 +49,6 @@ class DomainTool(BaseTool):
# Declarative Security
# Declarative Security
security
=
ClassSecurityInfo
()
security
=
ClassSecurityInfo
()
security
.
declareProtected
(
Permissions
.
ManagePortal
,
'manage_overview'
)
manage_overview
=
DTMLFile
(
'explainDomainTool'
,
_dtmldir
)
# XXX FIXME method should not be public
# XXX FIXME method should not be public
# (some users are not able to see resource's price)
# (some users are not able to see resource's price)
security
.
declarePublic
(
'searchPredicateList'
)
security
.
declarePublic
(
'searchPredicateList'
)
...
@@ -332,7 +326,6 @@ class DomainTool(BaseTool):
...
@@ -332,7 +326,6 @@ class DomainTool(BaseTool):
mapped_value
.
__dict__
.
update
(
mapped_value_property_dict
)
mapped_value
.
__dict__
.
update
(
mapped_value_property_dict
)
return
mapped_value
return
mapped_value
security
.
declareProtected
(
Permissions
.
AccessContentsInformation
,
security
.
declareProtected
(
Permissions
.
AccessContentsInformation
,
'getChildDomainValueList'
)
'getChildDomainValueList'
)
def
getChildDomainValueList
(
self
,
parent
,
**
kw
):
def
getChildDomainValueList
(
self
,
parent
,
**
kw
):
...
@@ -345,7 +338,6 @@ class DomainTool(BaseTool):
...
@@ -345,7 +338,6 @@ class DomainTool(BaseTool):
object_list
.
extend
(
parent
.
getDomainGeneratorList
(
**
kw
))
object_list
.
extend
(
parent
.
getDomainGeneratorList
(
**
kw
))
return
object_list
return
object_list
security
.
declareProtected
(
Permissions
.
AccessContentsInformation
,
security
.
declareProtected
(
Permissions
.
AccessContentsInformation
,
'getDomainByPath'
)
'getDomainByPath'
)
def
getDomainByPath
(
self
,
path
,
default
=
_MARKER
):
def
getDomainByPath
(
self
,
path
,
default
=
_MARKER
):
...
...
product/ERP5/bootstrap/erp5_core/ToolComponentTemplateItem/portal_components/tool.erp5.DomainTool.xml
0 → 100644
View file @
f514fa61
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Tool Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
DomainTool
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5.Tool.DomainTool
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
tool.erp5.DomainTool
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Tool Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5/
Tool/
IdTool.py
→
product/ERP5/
bootstrap/erp5_core/ToolComponentTemplateItem/portal_components/tool.erp5.
IdTool.py
View file @
f514fa61
...
@@ -31,12 +31,12 @@ import zope.interface
...
@@ -31,12 +31,12 @@ import zope.interface
from
Acquisition
import
aq_base
from
Acquisition
import
aq_base
from
AccessControl
import
ClassSecurityInfo
from
AccessControl
import
ClassSecurityInfo
from
Products.ERP5Type.Globals
import
InitializeClass
,
DTMLFile
,
PersistentMapping
from
Products.ERP5Type.Globals
import
InitializeClass
,
PersistentMapping
from
Products.ERP5Type.Tool.BaseTool
import
BaseTool
from
Products.ERP5Type.Tool.BaseTool
import
BaseTool
from
Products.ERP5Type.Cache
import
caching_instance_method
from
Products.ERP5Type.Cache
import
caching_instance_method
from
Products.ERP5Type
import
Permissions
,
interfaces
from
Products.ERP5Type
import
Permissions
from
zLOG
import
LOG
,
WARNING
,
INFO
,
ERROR
from
erp5.component.interface.IIdTool
import
IIdTool
from
Products.ERP5
import
_dtmldir
from
zLOG
import
LOG
,
WARNING
,
ERROR
from
BTrees.Length
import
Length
from
BTrees.Length
import
Length
...
@@ -46,7 +46,7 @@ class IdTool(BaseTool):
...
@@ -46,7 +46,7 @@ class IdTool(BaseTool):
"""
"""
This tools handles the generation of IDs.
This tools handles the generation of IDs.
"""
"""
zope
.
interface
.
implements
(
interfaces
.
IIdTool
)
zope
.
interface
.
implements
(
IIdTool
)
id
=
'portal_ids'
id
=
'portal_ids'
meta_type
=
'ERP5 Id Tool'
meta_type
=
'ERP5 Id Tool'
portal_type
=
'Id Tool'
portal_type
=
'Id Tool'
...
@@ -54,9 +54,6 @@ class IdTool(BaseTool):
...
@@ -54,9 +54,6 @@ class IdTool(BaseTool):
# Declarative Security
# Declarative Security
security
=
ClassSecurityInfo
()
security
=
ClassSecurityInfo
()
security
.
declareProtected
(
Permissions
.
ManagePortal
,
'manage_overview'
)
manage_overview
=
DTMLFile
(
'explainIdTool'
,
_dtmldir
)
def
newContent
(
self
,
*
args
,
**
kw
):
def
newContent
(
self
,
*
args
,
**
kw
):
"""
"""
the newContent is overriden to not use generateNewId
the newContent is overriden to not use generateNewId
...
@@ -69,7 +66,7 @@ class IdTool(BaseTool):
...
@@ -69,7 +66,7 @@ class IdTool(BaseTool):
raise
ValueError
(
'Failed to gererate id'
)
raise
ValueError
(
'Failed to gererate id'
)
return
BaseTool
.
newContent
(
self
,
*
args
,
**
kw
)
return
BaseTool
.
newContent
(
self
,
*
args
,
**
kw
)
def
_get_id
(
self
,
id
):
def
_get_id
(
self
,
id
):
# pylint: disable=redefined-builtin
"""
"""
_get_id is overrided to not use generateNewId
_get_id is overrided to not use generateNewId
It is used for example when an object is cloned
It is used for example when an object is cloned
...
@@ -107,6 +104,7 @@ class IdTool(BaseTool):
...
@@ -107,6 +104,7 @@ class IdTool(BaseTool):
security
.
declareProtected
(
Permissions
.
AccessContentsInformation
,
security
.
declareProtected
(
Permissions
.
AccessContentsInformation
,
'generateNewId'
)
'generateNewId'
)
# pylint: disable=arguments-differ
def
generateNewId
(
self
,
id_group
=
None
,
default
=
None
,
method
=
_marker
,
def
generateNewId
(
self
,
id_group
=
None
,
default
=
None
,
method
=
_marker
,
id_generator
=
None
,
poison
=
False
):
id_generator
=
None
,
poison
=
False
):
"""
"""
...
@@ -236,7 +234,7 @@ class IdTool(BaseTool):
...
@@ -236,7 +234,7 @@ class IdTool(BaseTool):
security
.
declareProtected
(
Permissions
.
ModifyPortalContent
,
security
.
declareProtected
(
Permissions
.
ModifyPortalContent
,
'initializeGenerator'
)
'initializeGenerator'
)
def
initializeGenerator
(
self
,
id_generator
=
None
,
all
=
False
):
def
initializeGenerator
(
self
,
id_generator
=
None
,
all
=
False
):
# pylint: disable=redefined-builtin
"""
"""
Initialize generators. This is mostly used when a new ERP5 site
Initialize generators. This is mostly used when a new ERP5 site
is created. Some generators will need to do some initialization like
is created. Some generators will need to do some initialization like
...
@@ -255,7 +253,7 @@ class IdTool(BaseTool):
...
@@ -255,7 +253,7 @@ class IdTool(BaseTool):
security
.
declareProtected
(
Permissions
.
ModifyPortalContent
,
security
.
declareProtected
(
Permissions
.
ModifyPortalContent
,
'clearGenerator'
)
'clearGenerator'
)
def
clearGenerator
(
self
,
id_generator
=
None
,
all
=
False
):
def
clearGenerator
(
self
,
id_generator
=
None
,
all
=
False
):
# pylint: disable=redefined-builtin
"""
"""
Clear generators data. This can be usefull when working on a
Clear generators data. This can be usefull when working on a
development instance or in some other rare cases. This will
development instance or in some other rare cases. This will
...
...
product/ERP5/bootstrap/erp5_core/ToolComponentTemplateItem/portal_components/tool.erp5.IdTool.xml
0 → 100644
View file @
f514fa61
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Tool Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_recorded_property_dict
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
IdTool
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5.Tool.IdTool
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
tool.erp5.IdTool
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Tool Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5/
Tool/
IntrospectionTool.py
→
product/ERP5/
bootstrap/erp5_core/ToolComponentTemplateItem/portal_components/tool.erp5.
IntrospectionTool.py
View file @
f514fa61
...
@@ -33,20 +33,18 @@ import tempfile
...
@@ -33,20 +33,18 @@ import tempfile
import
json
import
json
import
tarfile
import
tarfile
from
AccessControl
import
ClassSecurityInfo
from
AccessControl
import
ClassSecurityInfo
from
Products.ERP5Type.Globals
import
InitializeClass
,
DTMLFile
from
Products.ERP5Type.Globals
import
InitializeClass
from
Products.ERP5Type.Tool.BaseTool
import
BaseTool
from
Products.ERP5Type.Tool.BaseTool
import
BaseTool
from
Products.ERP5Type
import
Permissions
from
Products.ERP5Type
import
Permissions
from
AccessControl.SecurityManagement
import
setSecurityManager
from
AccessControl.SecurityManagement
import
setSecurityManager
from
Products.ERP5
import
_dtmldir
from
Products.ERP5Type.Utils
import
_setSuperSecurityManager
from
Products.ERP5Type.Utils
import
_setSuperSecurityManager
from
App.config
import
getConfiguration
from
App.config
import
getConfiguration
from
AccessControl
import
Unauthorized
from
Products.ERP5Type.Cache
import
CachingMethod
from
Products.ERP5Type.Cache
import
CachingMethod
from
cgi
import
escape
from
cgi
import
escape
import
logging
import
logging
_MARKER
=
[]
_MARKER
=
()
event_log
=
logging
.
getLogger
()
event_log
=
logging
.
getLogger
()
access_log
=
logging
.
getLogger
(
"access"
)
access_log
=
logging
.
getLogger
(
"access"
)
...
@@ -120,9 +118,6 @@ class IntrospectionTool(LogMixin, BaseTool):
...
@@ -120,9 +118,6 @@ class IntrospectionTool(LogMixin, BaseTool):
security
=
ClassSecurityInfo
()
security
=
ClassSecurityInfo
()
security
.
declareProtected
(
Permissions
.
ManagePortal
,
'manage_overview'
)
manage_overview
=
DTMLFile
(
'explainIntrospectionTool'
,
_dtmldir
)
#
#
# Remote menu management
# Remote menu management
#
#
...
@@ -151,7 +146,7 @@ class IntrospectionTool(LogMixin, BaseTool):
...
@@ -151,7 +146,7 @@ class IntrospectionTool(LogMixin, BaseTool):
# Unlazyfy URLs and other lazy values so that it can be marshalled
# Unlazyfy URLs and other lazy values so that it can be marshalled
result
=
{}
result
=
{}
for
key
,
action_list
in
erp5_menu_dict
.
items
():
for
key
,
action_list
in
erp5_menu_dict
.
items
():
result
[
key
]
=
map
(
lambda
action
:
dict
(
action
),
action_list
)
result
[
key
]
=
[
dict
(
action
)
for
action
in
action_list
]
return
result
return
result
...
...
product/ERP5/bootstrap/erp5_core/ToolComponentTemplateItem/portal_components/tool.erp5.IntrospectionTool.xml
0 → 100644
View file @
f514fa61
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Tool Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
IntrospectionTool
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5.Tool.IntrospectionTool
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
tool.erp5.IntrospectionTool
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Tool Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5/
Tool/
PasswordTool.py
→
product/ERP5/
bootstrap/erp5_core/ToolComponentTemplateItem/portal_components/tool.erp5.
PasswordTool.py
View file @
f514fa61
...
@@ -27,17 +27,13 @@
...
@@ -27,17 +27,13 @@
#
#
##############################################################################
##############################################################################
import
socket
import
uuid
import
uuid
from
AccessControl
import
ClassSecurityInfo
from
AccessControl
import
ClassSecurityInfo
from
Products.ERP5Type.Globals
import
InitializeClass
,
DTMLFile
,
get_request
from
Products.ERP5Type.Globals
import
InitializeClass
,
get_request
from
Products.ERP5Type.Tool.BaseTool
import
BaseTool
from
Products.ERP5Type.Tool.BaseTool
import
BaseTool
from
Products.ERP5Type
import
Permissions
from
Products.ERP5Type
import
Permissions
from
Products.ERP5
import
_dtmldir
from
zLOG
import
LOG
,
INFO
from
zLOG
import
LOG
,
INFO
import
time
,
random
from
hashlib
import
md5
from
DateTime
import
DateTime
from
DateTime
import
DateTime
from
Products.ERP5Type.Message
import
translateString
from
Products.ERP5Type.Message
import
translateString
from
Products.ERP5Type.Globals
import
PersistentMapping
from
Products.ERP5Type.Globals
import
PersistentMapping
...
@@ -65,12 +61,10 @@ class PasswordTool(BaseTool):
...
@@ -65,12 +61,10 @@ class PasswordTool(BaseTool):
# Declarative Security
# Declarative Security
security
=
ClassSecurityInfo
()
security
=
ClassSecurityInfo
()
security
.
declareProtected
(
Permissions
.
ManagePortal
,
'manage_overview'
)
manage_overview
=
DTMLFile
(
'explainPasswordTool'
,
_dtmldir
)
_expiration_day
=
1
_expiration_day
=
1
def
__init__
(
self
,
id
=
None
):
def
__init__
(
self
,
id
=
None
):
# pylint: disable=redefined-builtin
super
(
PasswordTool
,
self
).
__init__
(
id
)
super
(
PasswordTool
,
self
).
__init__
(
id
)
self
.
_password_request_dict
=
OOBTree
()
self
.
_password_request_dict
=
OOBTree
()
...
@@ -239,8 +233,7 @@ class PasswordTool(BaseTool):
...
@@ -239,8 +233,7 @@ class PasswordTool(BaseTool):
if
not
portal
.
portal_preferences
.
isAuthenticationPolicyEnabled
():
if
not
portal
.
portal_preferences
.
isAuthenticationPolicyEnabled
():
return
[]
return
[]
try
:
try
:
register_user_login
,
expiration_date
=
self
.
_password_request_dict
[
register_user_login
,
_
=
self
.
_password_request_dict
[
password_key
]
password_key
]
except
KeyError
:
except
KeyError
:
return
[]
return
[]
user_dict_list
=
portal
.
acl_users
.
searchUsers
(
user_dict_list
=
portal
.
acl_users
.
searchUsers
(
...
...
product/ERP5/bootstrap/erp5_core/ToolComponentTemplateItem/portal_components/tool.erp5.PasswordTool.xml
0 → 100644
View file @
f514fa61
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Tool Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
PasswordTool
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5.Tool.PasswordTool
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
tool.erp5.PasswordTool
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Tool Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5/
Tool/
TestTool.py
→
product/ERP5/
bootstrap/erp5_core/ToolComponentTemplateItem/portal_components/tool.erp5.
TestTool.py
View file @
f514fa61
...
@@ -26,19 +26,9 @@
...
@@ -26,19 +26,9 @@
#
#
##############################################################################
##############################################################################
import
cStringIO
from
webdav.client
import
Resource
from
Products.CMFCore.utils
import
UniqueObject
from
Acquisition
import
Implicit
from
AccessControl
import
ClassSecurityInfo
from
AccessControl
import
ClassSecurityInfo
from
Products.ERP5Type.Globals
import
InitializeClass
,
DTMLFile
,
PersistentMapping
from
Products.ERP5Type.Globals
import
InitializeClass
from
Products.ERP5Type.Tool.BaseTool
import
BaseTool
from
Products.ERP5Type.Tool.BaseTool
import
BaseTool
from
Products.ERP5Type
import
Permissions
from
Products.ERP5
import
_dtmldir
from
zLOG
import
LOG
try
:
try
:
from
Products.Zelenium.zuite
import
Zuite
from
Products.Zelenium.zuite
import
Zuite
...
@@ -55,9 +45,6 @@ try:
...
@@ -55,9 +45,6 @@ try:
# Declarative Security
# Declarative Security
security
=
ClassSecurityInfo
()
security
=
ClassSecurityInfo
()
security
.
declareProtected
(
Permissions
.
ManagePortal
,
'manage_overview'
)
manage_overview
=
DTMLFile
(
'explainTestTool'
,
_dtmldir
)
security
.
declarePublic
(
'getZeleniumVersion'
)
security
.
declarePublic
(
'getZeleniumVersion'
)
def
getZeleniumVersion
(
self
):
def
getZeleniumVersion
(
self
):
"""Returns the version of the zelenium product
"""Returns the version of the zelenium product
...
@@ -97,7 +84,4 @@ except ImportError:
...
@@ -97,7 +84,4 @@ except ImportError:
# Declarative Security
# Declarative Security
security
=
ClassSecurityInfo
()
security
=
ClassSecurityInfo
()
security
.
declareProtected
(
Permissions
.
ManagePortal
,
'manage_overview'
)
manage_overview
=
DTMLFile
(
'explainTestTool'
,
_dtmldir
)
InitializeClass
(
TestTool
)
InitializeClass
(
TestTool
)
product/ERP5/bootstrap/erp5_core/ToolComponentTemplateItem/portal_components/tool.erp5.TestTool.xml
0 → 100644
View file @
f514fa61
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Tool Component"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
default_reference
</string>
</key>
<value>
<string>
TestTool
</string>
</value>
</item>
<item>
<key>
<string>
default_source_reference
</string>
</key>
<value>
<string>
Products.ERP5.Tool.TestTool
</string>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
tool.erp5.TestTool
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Tool Component
</string>
</value>
</item>
<item>
<key>
<string>
sid
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
text_content_error_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
text_content_warning_message
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
version
</string>
</key>
<value>
<string>
erp5
</string>
</value>
</item>
<item>
<key>
<string>
workflow_history
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
component_validation_workflow
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.Workflow"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<dictionary>
<item>
<key>
<string>
action
</string>
</key>
<value>
<string>
validate
</string>
</value>
</item>
<item>
<key>
<string>
validation_state
</string>
</key>
<value>
<string>
validated
</string>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
product/ERP5/bootstrap/erp5_core/bt/template_document_id_list
View file @
f514fa61
...
@@ -4,8 +4,8 @@ document.erp5.Delivery
...
@@ -4,8 +4,8 @@ document.erp5.Delivery
document.erp5.DeliveryCell
document.erp5.DeliveryCell
document.erp5.DeliveryLine
document.erp5.DeliveryLine
document.erp5.Event
document.erp5.Event
document.erp5.ImmobilisationDelivery
document.erp5.ImmobilisableItem
document.erp5.ImmobilisableItem
document.erp5.ImmobilisationDelivery
document.erp5.ImmobilisationMovement
document.erp5.ImmobilisationMovement
document.erp5.Inventory
document.erp5.Inventory
document.erp5.InventoryCell
document.erp5.InventoryCell
...
...
product/ERP5/bootstrap/erp5_core/bt/template_interface_id_list
View file @
f514fa61
...
@@ -4,6 +4,7 @@ interface.erp5.IAmountGeneratorLine
...
@@ -4,6 +4,7 @@ interface.erp5.IAmountGeneratorLine
interface.erp5.IAssetMovement
interface.erp5.IAssetMovement
interface.erp5.IDivergenceController
interface.erp5.IDivergenceController
interface.erp5.IExpandable
interface.erp5.IExpandable
interface.erp5.IIdTool
interface.erp5.IImmobilisationItem
interface.erp5.IImmobilisationItem
interface.erp5.IMovement
interface.erp5.IMovement
interface.erp5.IMovementCollection
interface.erp5.IMovementCollection
...
...
product/ERP5/bootstrap/erp5_core/bt/template_tool_component_id_list
View file @
f514fa61
tool.erp5.AcknowledgementTool
tool.erp5.BuilderTool
tool.erp5.BuilderTool
tool.erp5.CallableTool
tool.erp5.CallableTool
tool.erp5.ContributionRegistryTool
tool.erp5.DeliveryTool
tool.erp5.DeliveryTool
tool.erp5.DiffTool
tool.erp5.DiffTool
tool.erp5.DomainTool
tool.erp5.IdTool
tool.erp5.IntrospectionTool
tool.erp5.OrderTool
tool.erp5.OrderTool
tool.erp5.PasswordTool
tool.erp5.RuleTool
tool.erp5.RuleTool
tool.erp5.SimulationTool
tool.erp5.SimulationTool
tool.erp5.TestTool
\ No newline at end of file
product/ERP5/dtml/explainDomainTool.dtml
deleted
100644 → 0
View file @
1e697b46
<dtml-var manage_page_header>
<dtml-var manage_tabs>
<h3> <code>portal_domains</code> Tool </h3>
<p> This tool manages trees of predicates.
</p>
<dtml-var manage_page_footer>
product/ERP5/dtml/explainIdTool.dtml
deleted
100644 → 0
View file @
1e697b46
<dtml-var manage_page_header>
<dtml-var manage_tabs>
<p>This tools handles the generation of IDs.</p>
<table width="100%">
<tr class="list-header">
<th>
Group
</th>
<th>
ID
</th>
<dtml-in prefix="dict" expr="dict_ids.keys()" no_push_item>
<dtml-if sequence-odd>
<tr class="row-normal">
<dtml-else>
<tr class="row-hilite">
</dtml-if>
<td>
<div class="list-item"><dtml-var expr="dict_item"></div>
</td>
<td>
<div class="list-item"><dtml-var expr="dict_ids[dict_item]"></div>
</td>
</tr>
</dtml-in>
</table>
<dtml-var manage_page_footer>
product/ERP5/dtml/explainIntrospectionTool.dtml
deleted
100644 → 0
View file @
1e697b46
<dtml-var manage_page_header>
<dtml-var manage_tabs>
<h3>Introspection Tool</h3>
<p>
Introspection Tool provides both local and remote introspection.
</p>
<dtml-var manage_page_footer>
product/ERP5/dtml/explainPasswordTool.dtml
deleted
100644 → 0
View file @
1e697b46
<dtml-var manage_page_header>
<dtml-var manage_tabs>
<p>Explain PasswordTool</p>
<dtml-var manage_page_footer>
product/ERP5/dtml/explainTestTool.dtml
deleted
100644 → 0
View file @
1e697b46
<dtml-var manage_page_header>
<dtml-var manage_tabs>
<p>
Test Tool is a store of functional test suites.
The purpose of this tool is to help running test suites automatically.
Typically, Zelenium is used, and Zuite objects are put inside this tool.
</p>
<p>
You need to install Zelenium and restart Zope to use this tool.
</p>
<dtml-var manage_page_footer>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment