-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #99 from plone/config-with-default-template-f81c1b30
Config with default template
- Loading branch information
Showing
27 changed files
with
356 additions
and
254 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Generated from: | ||
# https://github.com/plone/meta/tree/master/config/default | ||
ci: | ||
autofix_prs: false | ||
autoupdate_schedule: monthly | ||
|
||
repos: | ||
- repo: https://github.com/asottile/pyupgrade | ||
rev: v3.3.1 | ||
hooks: | ||
- id: pyupgrade | ||
args: [--py38-plus] | ||
- repo: https://github.com/pycqa/isort | ||
rev: 5.12.0 | ||
hooks: | ||
- id: isort | ||
- repo: https://github.com/psf/black | ||
rev: 23.1.0 | ||
hooks: | ||
- id: black | ||
- repo: https://github.com/collective/zpretty | ||
rev: 3.0.2 | ||
hooks: | ||
- id: zpretty | ||
- repo: https://github.com/PyCQA/flake8 | ||
rev: 6.0.0 | ||
hooks: | ||
- id: flake8 | ||
- repo: https://github.com/codespell-project/codespell | ||
rev: v2.2.2 | ||
hooks: | ||
- id: codespell | ||
additional_dependencies: | ||
- tomli | ||
- repo: https://github.com/mgedmin/check-manifest | ||
rev: "0.49" | ||
hooks: | ||
- id: check-manifest | ||
- repo: https://github.com/regebro/pyroma | ||
rev: "4.2" | ||
hooks: | ||
- id: pyroma |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Update configuration files. | ||
[plone devs] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
<configure | ||
xmlns="http://namespaces.zope.org/zope" | ||
xmlns:browser="http://namespaces.zope.org/browser" | ||
i18n_domain="plone"> | ||
i18n_domain="plone" | ||
> | ||
|
||
<include package=".field"/> | ||
<include package=".schema" /> | ||
<include package=".field" /> | ||
<include package=".schema" /> | ||
|
||
</configure> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,42 @@ | ||
<configure | ||
xmlns="http://namespaces.zope.org/zope" | ||
xmlns:five="http://namespaces.zope.org/five" | ||
xmlns:browser="http://namespaces.zope.org/browser" | ||
i18n_domain="plone"> | ||
xmlns:five="http://namespaces.zope.org/five" | ||
i18n_domain="plone" | ||
> | ||
|
||
<browser:page | ||
name="edit" | ||
for="...interfaces.IFieldContext" | ||
class=".edit.EditView" | ||
permission="plone.schemaeditor.ManageSchemata" /> | ||
<browser:page | ||
name="edit" | ||
for="...interfaces.IFieldContext" | ||
class=".edit.EditView" | ||
permission="plone.schemaeditor.ManageSchemata" | ||
/> | ||
|
||
<adapter | ||
factory=".edit.FieldTitleAdapter" /> | ||
<adapter | ||
factory=".edit.FieldDataManager" /> | ||
<adapter factory=".edit.FieldTitleAdapter" /> | ||
<adapter factory=".edit.FieldDataManager" /> | ||
|
||
<browser:page | ||
name="order" | ||
for="...interfaces.IFieldContext" | ||
class=".order.FieldOrderView" | ||
attribute="move" | ||
permission="plone.schemaeditor.ManageSchemata" | ||
/> | ||
<browser:page | ||
name="order" | ||
for="...interfaces.IFieldContext" | ||
class=".order.FieldOrderView" | ||
attribute="move" | ||
permission="plone.schemaeditor.ManageSchemata" | ||
/> | ||
|
||
<browser:page | ||
name="delete" | ||
for="...interfaces.IFieldContext" | ||
class=".order.FieldOrderView" | ||
attribute="delete" | ||
permission="plone.schemaeditor.ManageSchemata" | ||
/> | ||
<browser:page | ||
name="delete" | ||
for="...interfaces.IFieldContext" | ||
class=".order.FieldOrderView" | ||
attribute="delete" | ||
permission="plone.schemaeditor.ManageSchemata" | ||
/> | ||
|
||
<browser:page | ||
name="changefieldset" | ||
for="...interfaces.IFieldContext" | ||
class=".fieldset.ChangeFieldsetView" | ||
attribute="change" | ||
permission="plone.schemaeditor.ManageSchemata" | ||
/> | ||
<browser:page | ||
name="changefieldset" | ||
for="...interfaces.IFieldContext" | ||
class=".fieldset.ChangeFieldsetView" | ||
attribute="change" | ||
permission="plone.schemaeditor.ManageSchemata" | ||
/> | ||
|
||
</configure> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,18 @@ | ||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" | ||
xmlns:tal="http://xml.zope.org/namespaces/tal" | ||
xmlns:metal="http://xml.zope.org/namespaces/metal" | ||
<html xmlns="http://www.w3.org/1999/xhtml" | ||
xmlns:i18n="http://xml.zope.org/namespaces/i18n" | ||
xmlns:metal="http://xml.zope.org/namespaces/metal" | ||
xmlns:tal="http://xml.zope.org/namespaces/tal" | ||
lang="en" | ||
i18n:domain="plone"> | ||
xml:lang="en" | ||
i18n:domain="plone" | ||
> | ||
|
||
<body> | ||
<h1 class="documentFirstHeading" tal:content="view/label"></h1> | ||
<body> | ||
<h1 class="documentFirstHeading" | ||
tal:content="view/label" | ||
></h1> | ||
<div id="content"> | ||
<tal:block tal:replace="structure view/contents|view/render"/> | ||
<tal:block tal:replace="structure view/contents|view/render" /> | ||
</div> | ||
</body> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,18 @@ | ||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" | ||
xmlns:tal="http://xml.zope.org/namespaces/tal" | ||
xmlns:metal="http://xml.zope.org/namespaces/metal" | ||
<html xmlns="http://www.w3.org/1999/xhtml" | ||
xmlns:i18n="http://xml.zope.org/namespaces/i18n" | ||
xmlns:metal="http://xml.zope.org/namespaces/metal" | ||
xmlns:tal="http://xml.zope.org/namespaces/tal" | ||
lang="en" | ||
i18n:domain="plone"> | ||
xml:lang="en" | ||
i18n:domain="plone" | ||
> | ||
|
||
<body> | ||
<h1 class="documentFirstHeading" tal:content="view/label"></h1> | ||
<body> | ||
<h1 class="documentFirstHeading" | ||
tal:content="view/label" | ||
></h1> | ||
<div id="content"> | ||
<tal:block tal:replace="structure view/contents|view/render"/> | ||
<tal:block tal:replace="structure view/contents|view/render" /> | ||
</div> | ||
</body> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,36 @@ | ||
<configure | ||
xmlns="http://namespaces.zope.org/zope" | ||
xmlns:five="http://namespaces.zope.org/five" | ||
xmlns:browser="http://namespaces.zope.org/browser" | ||
i18n_domain="plone"> | ||
xmlns:five="http://namespaces.zope.org/five" | ||
i18n_domain="plone" | ||
> | ||
|
||
<browser:page | ||
name="edit" | ||
for="plone.schemaeditor.interfaces.ISchemaContext" | ||
class=".listing.SchemaListingPage" | ||
permission="plone.schemaeditor.ManageSchemata" /> | ||
permission="plone.schemaeditor.ManageSchemata" | ||
/> | ||
|
||
<browser:page | ||
name="add-field" | ||
for="plone.schemaeditor.interfaces.ISchemaContext" | ||
class=".add_field.FieldAddFormPage" | ||
permission="plone.schemaeditor.ManageSchemata" | ||
/> | ||
name="add-field" | ||
for="plone.schemaeditor.interfaces.ISchemaContext" | ||
class=".add_field.FieldAddFormPage" | ||
permission="plone.schemaeditor.ManageSchemata" | ||
/> | ||
|
||
<browser:page | ||
name="add-fieldset" | ||
for="plone.schemaeditor.interfaces.ISchemaContext" | ||
class=".add_fieldset.FieldsetAddFormPage" | ||
permission="plone.schemaeditor.ManageSchemata" | ||
/> | ||
name="add-fieldset" | ||
for="plone.schemaeditor.interfaces.ISchemaContext" | ||
class=".add_fieldset.FieldsetAddFormPage" | ||
permission="plone.schemaeditor.ManageSchemata" | ||
/> | ||
|
||
<browser:page | ||
name="delete-fieldset" | ||
for="plone.schemaeditor.interfaces.ISchemaContext" | ||
class=".delete_fieldset.DeleteFieldset" | ||
permission="plone.schemaeditor.ManageSchemata" | ||
/> | ||
name="delete-fieldset" | ||
for="plone.schemaeditor.interfaces.ISchemaContext" | ||
class=".delete_fieldset.DeleteFieldset" | ||
permission="plone.schemaeditor.ManageSchemata" | ||
/> | ||
|
||
</configure> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.