-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
60 additions
and
57 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ name: Build and test | |
on: [push] | ||
|
||
jobs: | ||
build: | ||
test-and-check: | ||
strategy: | ||
matrix: | ||
python-version: | ||
|
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
9 changes: 4 additions & 5 deletions
9
src/collective/bbcodesnippets/profiles/default/browserlayer.xml
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,7 +1,6 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<layers> | ||
<layer | ||
name="collective.bbcodesnippets" | ||
interface="collective.bbcodesnippets.interfaces.IBBCodeSnippetsLayer" | ||
/> | ||
<layer interface="collective.bbcodesnippets.interfaces.IBBCodeSnippetsLayer" | ||
name="collective.bbcodesnippets" | ||
/> | ||
</layers> |
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,12 +1,12 @@ | ||
<?xml version="1.0"?> | ||
<object | ||
meta_type="Plone Catalog Tool" | ||
name="portal_catalog"> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<object meta_type="Plone Catalog Tool" | ||
name="portal_catalog" | ||
> | ||
|
||
<index | ||
meta_type="BooleanIndex" | ||
name="has_bbcode"> | ||
<index meta_type="BooleanIndex" | ||
name="has_bbcode" | ||
> | ||
<indexed_attr value="has_bbcode" /> | ||
</index> | ||
|
||
</object> | ||
</object> |
33 changes: 18 additions & 15 deletions
33
src/collective/bbcodesnippets/profiles/default/controlpanel.xml
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,16 +1,19 @@ | ||
<?xml version="1.0"?> | ||
<object name="portal_controlpanel" | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<object xmlns:i18n="http://xml.zope.org/namespaces/i18n" | ||
meta_type="Plone Control Panel Tool" | ||
i18n:domain="collective.bbcodesnippets" | ||
xmlns:i18n="http://xml.zope.org/namespaces/i18n"> | ||
<configlet title="BBCode Snippets" | ||
action_id="BBCodeSnippets" | ||
appId="BBCodeSnippets" | ||
category="Products" | ||
condition_expr="" | ||
icon_expr="string:" | ||
url_expr="string:${portal_url}/@@bbcodesnippets-controlpanel" visible="True" | ||
i18n:attributes="title"> | ||
<permission>"Plone Site Setup: Markup</permission> | ||
</configlet> | ||
</object> | ||
name="portal_controlpanel" | ||
i18n:domain="collective.bbcodesnippets" | ||
> | ||
<configlet action_id="BBCodeSnippets" | ||
appId="BBCodeSnippets" | ||
category="Products" | ||
condition_expr="" | ||
icon_expr="string:" | ||
title="BBCode Snippets" | ||
url_expr="string:${portal_url}/@@bbcodesnippets-controlpanel" | ||
visible="True" | ||
i18n:attributes="title" | ||
> | ||
<permission>"Plone Site Setup: Markup</permission> | ||
</configlet> | ||
</object> |
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,6 +1,7 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<metadata> | ||
<version>1</version> | ||
<dependencies> | ||
<dependency>profile-plone.restapi:default</dependency> | ||
</dependencies> | ||
</dependencies> | ||
</metadata> |
28 changes: 16 additions & 12 deletions
28
src/collective/bbcodesnippets/profiles/default/registry.xml
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,38 +1,42 @@ | ||
<?xml version="1.0"?> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<registry> | ||
<records interface="collective.bbcodesnippets.controlpanel.IBBCodeSnippetsSettings" | ||
prefix="bbcodesnippets" /> | ||
prefix="bbcodesnippets" | ||
/> | ||
|
||
<records prefix="plone.resources/collective-bbcodesnippets" | ||
interface='Products.CMFPlone.interfaces.IResourceRegistry'> | ||
<records interface="Products.CMFPlone.interfaces.IResourceRegistry" | ||
prefix="plone.resources/collective-bbcodesnippets" | ||
> | ||
<value key="js">++plone++collective.bbcodesnippets/collective.bbcodesnippets.js</value> | ||
</records> | ||
|
||
<records prefix="plone.bundles/collective-bbcodesnippets-app" | ||
interface="Products.CMFPlone.interfaces.IBundleRegistry"> | ||
<records interface="Products.CMFPlone.interfaces.IBundleRegistry" | ||
prefix="plone.bundles/collective-bbcodesnippets-app" | ||
> | ||
<value key="resources"> | ||
<element>collective-bbcodesnippets</element> | ||
</value> | ||
<value key="last_compilation">2020-08-19 12:53:00</value> | ||
<value key="jscompilation">++plone++collective.bbcodesnippets/collective.bbcodesnippets.js</value> | ||
<value key="csscompilation"></value> | ||
<value key="csscompilation" /> | ||
<value key="develop_javascript">False</value> | ||
<value key="develop_css">False</value> | ||
<value key="depends">plone-tinymce</value> | ||
<value key="merge_with"></value> | ||
<value key="merge_with" /> | ||
<value key="enabled">True</value> | ||
<value key="expression">python: member is not None</value> | ||
<value key="compile">False</value> | ||
<value key="enabled">True</value> | ||
<value key="load_defer">False</value> | ||
</records> | ||
|
||
<record name="plone.custom_plugins" | ||
interface="Products.CMFPlone.interfaces.controlpanel.ITinyMCESchema" | ||
field="custom_plugins"> | ||
<record field="custom_plugins" | ||
interface="Products.CMFPlone.interfaces.controlpanel.ITinyMCESchema" | ||
name="plone.custom_plugins" | ||
> | ||
<value purge="False"> | ||
<element>collectivebbcodesnippets|++plone++collective.bbcodesnippets/collective.bbcodesnippets.js</element> | ||
</value> | ||
</record> | ||
|
||
</registry> | ||
</registry> |
9 changes: 4 additions & 5 deletions
9
src/collective/bbcodesnippets/profiles/uninstall/browserlayer.xml
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,7 +1,6 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<layers> | ||
<layer | ||
name="collective.bbcodesnippets" | ||
remove="true" | ||
/> | ||
<layer name="collective.bbcodesnippets" | ||
remove="true" | ||
/> | ||
</layers> |
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
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