Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos.core
Commits
0f9ac845
Commit
0f9ac845
authored
Feb 15, 2024
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_erp5: Update PAS Constraint to TemplateTool
parent
2edd197c
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
72 additions
and
3 deletions
+72
-3
master/bt5/slapos_erp5/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
...rtalTypePropertySheetTemplateItem/property_sheet_list.xml
+1
-0
master/bt5/slapos_erp5/PropertySheetTemplateItem/portal_property_sheets/TemplateToolPASConsistencyConstraint.xml
..._property_sheets/TemplateToolPASConsistencyConstraint.xml
+66
-0
master/bt5/slapos_erp5/PropertySheetTemplateItem/portal_property_sheets/TemplateToolPASConsistencyConstraint/acl_users_check_slapos_pas_constraint.xml
...tencyConstraint/acl_users_check_slapos_pas_constraint.xml
+1
-1
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_erp5/TemplateTool_checkSlapOSPASConsistency.py
...ins/slapos_erp5/TemplateTool_checkSlapOSPASConsistency.py
+0
-0
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_erp5/TemplateTool_checkSlapOSPASConsistency.xml
...ns/slapos_erp5/TemplateTool_checkSlapOSPASConsistency.xml
+1
-1
master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSCodingStyle.py
...Item/portal_components/test.erp5.testSlapOSCodingStyle.py
+1
-0
master/bt5/slapos_erp5/bt/template_portal_type_property_sheet_list
...5/slapos_erp5/bt/template_portal_type_property_sheet_list
+1
-0
master/bt5/slapos_erp5/bt/template_property_sheet_id_list
master/bt5/slapos_erp5/bt/template_property_sheet_id_list
+1
-1
No files found.
master/bt5/slapos_erp5/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
View file @
0f9ac845
...
...
@@ -22,6 +22,7 @@
</portal_type>
<portal_type
id=
"Template Tool"
>
<item>
TemplateToolBusinessApplicationModuleCategoryConstraint
</item>
<item>
TemplateToolPASConsistencyConstraint
</item>
</portal_type>
<portal_type
id=
"Web Site Module"
>
<item>
WebSiteModuleShacacheConstraint
</item>
...
...
master/bt5/slapos_erp5/PropertySheetTemplateItem/portal_property_sheets/TemplateToolPASConsistencyConstraint.xml
0 → 100644
View file @
0f9ac845
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Property Sheet"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_count
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_mt_index
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_tree
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
TemplateToolPASConsistencyConstraint
</string>
</value>
</item>
<item>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Property Sheet
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"Length"
module=
"BTrees.Length"
/>
</pickle>
<pickle>
<int>
0
</int>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record
id=
"4"
aka=
"AAAAAAAAAAQ="
>
<pickle>
<global
name=
"OOBTree"
module=
"BTrees.OOBTree"
/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_erp5/PropertySheetTemplateItem/portal_property_sheets/
CertificateAuthorityTool
ConsistencyConstraint/acl_users_check_slapos_pas_constraint.xml
→
master/bt5/slapos_erp5/PropertySheetTemplateItem/portal_property_sheets/
TemplateToolPAS
ConsistencyConstraint/acl_users_check_slapos_pas_constraint.xml
View file @
0f9ac845
...
...
@@ -42,7 +42,7 @@
</item>
<item>
<key>
<string>
script_id
</string>
</key>
<value>
<string>
CertificateAuthority
Tool_checkSlapOSPASConsistency
</string>
</value>
<value>
<string>
Template
Tool_checkSlapOSPASConsistency
</string>
</value>
</item>
</dictionary>
</pickle>
...
...
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_erp5/
CertificateAuthority
Tool_checkSlapOSPASConsistency.py
→
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_erp5/
Template
Tool_checkSlapOSPASConsistency.py
View file @
0f9ac845
File moved
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_erp5/
CertificateAuthority
Tool_checkSlapOSPASConsistency.xml
→
master/bt5/slapos_erp5/SkinTemplateItem/portal_skins/slapos_erp5/
Template
Tool_checkSlapOSPASConsistency.xml
View file @
0f9ac845
...
...
@@ -54,7 +54,7 @@
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
CertificateAuthority
Tool_checkSlapOSPASConsistency
</string>
</value>
<value>
<string>
Template
Tool_checkSlapOSPASConsistency
</string>
</value>
</item>
</dictionary>
</pickle>
...
...
master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSCodingStyle.py
View file @
0f9ac845
...
...
@@ -302,6 +302,7 @@ def makeTestSlapOSCodingStyleTestCase(tested_business_template):
'slapos_base/Login_notifyPasswordExpire'
,
'slapos_base/Person_applyContractInvitation'
,
'slapos_base/ERP5Site_getAvailableOAuthLoginList'
,
'slapos_erp5/CertificateAuthorityTool_checkCertificateAuthorityConsistency'
,
'slapos_erp5/CatalogTool_checkNoneCreationDateConsistency'
]
SlapOSTestCaseMixin
.
afterSetUp
(
self
)
...
...
master/bt5/slapos_erp5/bt/template_portal_type_property_sheet_list
View file @
0f9ac845
...
...
@@ -8,4 +8,5 @@ Invitation Token | Reference
Invitation Token | Url
Organisation | GeographicOrganisation
Template Tool | TemplateToolBusinessApplicationModuleCategoryConstraint
Template Tool | TemplateToolPASConsistencyConstraint
Web Site Module | WebSiteModuleShacacheConstraint
\ No newline at end of file
master/bt5/slapos_erp5/bt/template_property_sheet_id_list
View file @
0f9ac845
...
...
@@ -6,4 +6,4 @@ ShacacheSystemPreference
SlapOSModuleIdGeneratorConstraint
TemplateToolBusinessApplicationModuleCategoryConstraint
TemplateToolPASConsistencyConstraint
WebSiteModuleShacacheConstraint
WebSiteModuleShacacheConstraint
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment