Skip to content

Commit

Permalink
[fc] Repository: Products.CMFPlone
Browse files Browse the repository at this point in the history
Branch: refs/heads/master
Date: 2023-04-14T19:04:08+02:00
Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org>
Commit: plone/Products.CMFPlone@7a5d9ad

Clear the resource viewlet cache when changing the resource registry or activating an add-on.

This avoids needing a restart before seeing changes when you run in production mode.
Fixes [issue 3505](plone/Products.CMFPlone#3505).

Files changed:
A Products/CMFPlone/resources/eventhandlers.py
A news/3505.bugfix
M Products/CMFPlone/controlpanel/browser/resourceregistry.py
M Products/CMFPlone/resources/browser/resource.py
M Products/CMFPlone/resources/configure.zcml
Repository: Products.CMFPlone

Branch: refs/heads/master
Date: 2023-04-17T23:52:45+02:00
Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org>
Commit: plone/Products.CMFPlone@58b1d5f

Add a last modification time of the resource registry.

We update this when changing anything related: when changing the resource registry in its control panel or activating an add-on.
This avoids needing a restart before seeing changes when you run in production mode.

Files changed:
M Products/CMFPlone/controlpanel/browser/resourceregistry.py
M Products/CMFPlone/resources/browser/resource.py
M Products/CMFPlone/resources/eventhandlers.py
M news/3505.bugfix
Repository: Products.CMFPlone

Branch: refs/heads/master
Date: 2023-04-18T00:04:02+02:00
Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org>
Commit: plone/Products.CMFPlone@440da1c

Changes in resource settings ARE applied directly, also in production mode.

So remove this from the status message that you see on the resource registry control panel.

Files changed:
M Products/CMFPlone/controlpanel/browser/resourceregistry.pt
Repository: Products.CMFPlone

Branch: refs/heads/master
Date: 2023-04-18T00:04:41+02:00
Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org>
Commit: plone/Products.CMFPlone@1575a6a

Merge branch 'master' into maurits-clear-resource-viewlet-caches

Files changed:
A news/3753.bugfix
M Products/CMFPlone/browser/search.py
Repository: Products.CMFPlone

Branch: refs/heads/master
Date: 2023-04-18T14:43:05+02:00
Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org>
Commit: plone/Products.CMFPlone@32db132

Registry utility may not exist, especially at site creation time.

Files changed:
M Products/CMFPlone/resources/browser/resource.py
Repository: Products.CMFPlone

Branch: refs/heads/master
Date: 2023-04-18T16:28:51+02:00
Author: Jens W. Klein (jensens) <jk@kleinundpartner.at>
Commit: plone/Products.CMFPlone@9c2e519

Merge pull request #3771 from plone/maurits-clear-resource-viewlet-caches

Clear the resource viewlet cache on relevant changes

Files changed:
A Products/CMFPlone/resources/eventhandlers.py
A news/3505.bugfix
M Products/CMFPlone/controlpanel/browser/resourceregistry.pt
M Products/CMFPlone/controlpanel/browser/resourceregistry.py
M Products/CMFPlone/resources/browser/resource.py
M Products/CMFPlone/resources/configure.zcml
  • Loading branch information
jensens committed Apr 18, 2023
1 parent ef47c77 commit 5707971
Showing 1 changed file with 60 additions and 107 deletions.
Loading

0 comments on commit 5707971

Please sign in to comment.