Skip to content

Commit

Permalink
Merge pull request #1025 from ZeitOnline/ZO-7097-zeitweb-compat
Browse files Browse the repository at this point in the history
ZO-7097: Do not load zeit.tickaroo by default, only when required for vivi UI
  • Loading branch information
adrian-zon authored Feb 17, 2025
2 parents 613af82 + 3cd6bd9 commit de00a16
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 11 deletions.
1 change: 1 addition & 0 deletions core/docs/changelog/ZO-7097.change
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ZO-7097: Do not load zeit.tickaroo by default, only when required for vivi UI
3 changes: 1 addition & 2 deletions core/src/zeit/content/article/ctesting.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
<include package="zeit.edit" />
<include package="zeit.edit.browser" />

<include package="zeit.content.modules" />
<include package="zeit.content.modules.browser" />
<include package="zeit.content.modules" file="ctesting.zcml" />

<include package="zeit.content.image" />
<include package="zeit.content.image.browser" />
Expand Down
2 changes: 1 addition & 1 deletion core/src/zeit/content/cp/ctesting.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@

<include package="zeit.content.image" />
<include package="zeit.content.image.browser" />
<include package="zeit.content.modules" />
<include package="zeit.content.modules" file="ctesting.zcml" />

</configure>
3 changes: 0 additions & 3 deletions core/src/zeit/content/modules/configure.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@

<grok:grok package="." exclude="browser" />

<include package="zeit.cmp" />
<include package="zeit.tickaroo" />

<class class=".jobticker.Feed">
<require
attributes="id title teaser landing_url feed_url"
Expand Down
14 changes: 14 additions & 0 deletions core/src/zeit/content/modules/ctesting.zcml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:meta="http://namespaces.zope.org/meta"
i18n_domain="zope"
>

<include package="zeit.content.modules" />
<include package="zeit.content.modules.browser" />

<include package="zeit.content.text" />
<include package="zeit.tickaroo" />
<include package="zeit.wochenmarkt" />

</configure>
6 changes: 2 additions & 4 deletions core/src/zeit/content/modules/ftesting.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@

<include package="zeit.cms" file="ftesting.zcml" />

<include package="zeit.content.modules" />
<include package="zeit.content.modules.browser" />
<include package="zeit.content.modules" file="ctesting.zcml" />

<include package="zeit.content.text" />
<include package="zeit.wochenmarkt" />
<include package="zeit.cmp" />

</configure>
1 change: 0 additions & 1 deletion core/src/zeit/content/modules/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import zeit.cms.content.add
import zeit.cms.testing
import zeit.content.modules
import zeit.content.text.text
import zeit.wochenmarkt.ingredients
import zeit.wochenmarkt.testing

Expand Down

0 comments on commit de00a16

Please sign in to comment.