Skip to main content
CI Status Coveralls Latest Version Egg Status https://img.shields.io/pypi/pyversions/imio.smartweb.policy.svg?style=plastic:alt:Supported-PythonVersions License

imio.smartweb.policy

Policies to setup imio.smartweb

Features

  • Site policy: GenericSetup profiles (default, multilingual, testing, demo, uninstall) that configure a complete SmartWeb Plone site for Belgian municipalities.

  • Content type configuration: Pre-configured Plone content types (Collection, Document, Event, File, Folder, Image, Link, News Item).

  • Registry settings: SmartWeb-specific registry entries for timezone (Europe/Brussels), auto-publishing, autoscaling, caching, and message viewlets.

  • Viewlet management: Custom portal layout (header, footer, navigation) with SmartWeb-specific viewlets replacing default Plone ones.

  • Site setup handlers: Post-installation setup — removes default Plone content, creates “I am” / “I find” navigation folders with dynamic links.

  • GDPR & accessibility: Registers GDPR consent text, cookie policy, and AnySurfer accessibility statements (templated per organisation).

  • Multilingual support: Optional multilingual profile integrating plone.app.multilingual.

  • Authentication: Upgrade steps for Keycloak/OIDC group configuration and Kimug user migration.

  • Search: Solr integration (collective.solr) with Tika indexing enabled.

  • Upgrade steps: Incremental upgrade steps to migrate existing instances across package versions.

Installation

Install imio.smartweb.policy by adding it to your buildout:

[buildout]

...

eggs =
    imio.smartweb.policy

and then running bin/buildout

Contribute

License

The project is licensed under the GPLv2.

Contributors

Changelog

1.2.22 (2026-10-22)

  • WEB-4404 : Add the lastBan ETag component (imio.smartweb.common) to moderateCaching, terseCaching and weakCaching. Adding a message changes the pages ETag, so browsers get the new page instead of a 304. Requires imio.smartweb.common >= 1.2.63 (upgrade step 1044 to 1045). [remdub]

1.2.21 (2026-10-16)

  • Close the ZODB connection opened by the update_iam_folder_links startup subscriber. The leaked connection kept its storage read snapshot open (idle in transaction session on PostgreSQL for the whole process lifetime). [remdub]

1.2.20 (2026-08-10)

  • move message viewlet above banner [thomlamb]

1.2.19 (2026-07-07)

  • update to Plone 6.1.5 and buidlout 5-x versions [bouch]

  • OIA-106 : Install and use imio.omnia.tinymce [boulch]

1.2.18 (2026-05-08)

  • CITI-15 : Add upgrade step to clean TS api URL in registry to keep only base URL. [remdub]

1.2.17 (2026-04-13)

  • WEB-4352 : Switch portal timezone from UTC to Europe/Brussels, available timezones to Europe/Brussels and first weekday to monday [boulch]

  • Migrate to Plone 6.1.4 [boulch]

1.2.16 (2026-02-06)

  • WEB-4308 : Update (default) accessibilty text [boulch]

1.2.15 (2026-01-21)

  • WEB-4332 (fix) : Use WEBSITE_HOSTNAME instead of HOSTNAME_HOST to update i-am folder links on startup [remdub]

1.2.14 (2026-01-08)

  • WEB-4332 : Update i-am folder links on startup when the environment variable HOSTNAME_HOST changes [remdub]

1.2.13 (2025-11-13)

  • WEB-4325 : Uninstall unused / problematic plone.patternslib [boulch]

1.2.12 (2025-11-07)

  • WEB-4325 : Return to a previous version of plone.patternslib (9.9.16). (Avoid an issue with plone.patternslib 9.10.3.1 [boulch]

  • Migrate to Plone 6.1.3 [boulch]

1.2.11 (2025-09-26)

  • Add upgrade step to set allowed_groups to login to Plone from Keycloak groups. [bsuttor]

1.2.10 (2025-08-26)

  • Add upgrade step to install Kimug and migrate user to Keycloak. [bsuttor]

  • WEB-4233 : Update GDPR text for new instances only [boulch]

1.2.9 (2025-05-14)

  • WEB-4240 : Fix ‘I am’ links when creating instances [boulch]

1.2.8 (2025-04-25)

  • Add plone.app.discussion as a dependency It is not installed by default since Plone 6.1 [remdub]

1.2.7 (2025-01-29)

  • Update Python classifiers to be compatible with Python 3.12 [remdub]

  • Migrate to Plone 6.0.14 [boulch]

  • GHA tests on Python 3.8 3.9 and 3.10 [remdub]

1.2.6 (2024-06-13)

  • WEB-3763 : Fix Anysurfer controlpanel permission for fresh Smartweb installs See upgrade step 1029_to_1030 [laulaz]

1.2.5 (2024-05-30)

  • WEB-4107 : Use resourceRegistries ETag in caching configurations [laulaz]

1.2.4 (2024-02-02)

  • Make content types translatable (with plone.translatable behavior) in multilingual profile. [laulaz]

1.2.3 (2024-01-16)

  • WEB-4046 : Add “Skip to content” viewlet in portal top [laulaz]

1.2.2 (2023-11-21)

  • Improve collective autoscaling compression quality Also fix missing autoscaling settings for new instances [laulaz]

1.2.1 (2023-10-29)

  • Restore removed behaviors on Collection type [laulaz]

1.2 (2023-10-25)

  • WEB-3985 : Add orientation behavior on Collection type [boulch, laulaz]

1.1.6 (2023-10-13)

  • WEB-3803 : Monkey patch imio/collective.pivot post_install method to create an imio.smartweb.Folder to store defaults collective.pivot.Family contents [boulch]

1.1.5 (2023-10-09)

  • Remove deprecated overrides because we removed picture managing out of Tiny [boulch]

1.1.4 (2023-05-22)

  • Migrate to Plone 6.0.4 [boulch]

  • Migrate to Plone 6.0.2 [boulch]

  • WEB-3763 : Add new permission to manage configlets in control panel [boulch]

1.1.3 (2023-02-17)

  • WEB-3820 : Added collective.geotransform but we don’t deploy it automaticaly [boulch]

  • WEB-3833 : Hide plone.app.multilingual in control panel installable products [boulch]

1.1.2 (2023-01-25)

  • By default authorize_local_message and show_local_message in messagesviewlet must be True in smartweb [boulch]

1.1.1 (2023-01-12)

  • Fix missing Plone icons (plone.staticresources) [laulaz]

  • Install and configure autopublishing (with 15 min tick subscriber) [laulaz]

  • Multilingual: add setup profile with content / default page migration to LRF and navigation links creation, fix selector viewlet [laulaz]

  • Remove obsolete TinyMCE override [laulaz]

1.1 (2022-12-23)

  • Update to Plone 6.0.0 final [boulch]

  • WEB-3798 : Update caching profile (add lastModified to etags) [sverbois, remdub, boulch]

1.0.10 (2022-10-28)

  • Remove unneeded caching patches for 304 NOT MODIFIED requests Those are not needed anymore with the new cache configuration [laulaz]

1.0.9 (2022-10-05)

  • WEB-3733 : Restrict permissions for “site admin” in control panel. Some options are only available for manager [boulch]

  • Change s-maxage for new Varnish strategy based on grace [sverbois]

1.0.8 (2022-09-01)

  • WEB-3731 : Automatically publish GDPR article [boulch]

1.0.7 (2022-06-07)

  • Adapt SolR config to use tika for file indexing [mpeeters]

  • Move/adapt ban_physicalpath method into imio.smartweb.common [boulch, laulaz]

1.0.6 (2022-05-02)

  • Remove collective.z3cform.select2. We don’t use full product anymore [boulch]

1.0.5 (2022-04-25)

  • Uninstall collective.z3cform.select2, not needed anymore for faceted [laulaz]

  • Hide unwanted upgrades from site-creation and quickinstaller [boulch]

  • Add missing viewlet + reorder viewlets [boulch]

1.0.4 (2022-03-28)

  • Add etags userid and roles in caching configuration [sverbois, boulch]

  • Adapt ban_for_message to cover multi varnish servers and add http to correctly ban [boulch]

  • Allow some Python modules in RestrictedPython (code moved from smartweb.core) This is useful for collective.themefragments fragments [boulch]

1.0.3 (2022-03-24)

  • add logger to get some informations about BAN with Varnish [boulch]

  • Fix collective autoscaling default values [boulch]

1.0.2 (2022-03-08)

  • Add/install select2 widget for faceted [boulch]

  • Fix BAN request when we change a message [boulch, laulaz]

1.0.1 (2022-03-08)

  • Add missing zcml include of collective.autoscaling [laulaz]

  • Fix faceted criteria update when installing from code (without browser request) [laulaz]

1.0 (2022-02-22)

  • Install and set collective autoscaling with some default values [boulch]

1.0a17 (2022-02-11)

  • Send BAN request after a messageviewlet creation / modification / removal [laulaz]

1.0a16 (2022-02-10)

  • Add imio.prometheus dependency to get metrics view. [bsuttor]

1.0a15 (2022-02-04)

  • Activate plone.app.caching.moderateCaching.lastModified [sverbois, laulaz]

  • Use auto-checkout for collective.z3cform.select2 (Plone 6) [laulaz]

1.0a14 (2022-02-03)

  • Add collective.z3cform.select2 as a dependency [boulch]

1.0a13 (2022-02-03)

  • Upgrade step : Reload portal types to add imio.smartweb.listing behavior on links [boulch]

  • Patch ALL caching operations to add Cache-Control header even when intercepting a 304 NOT MODIFIED [laulaz]

  • Update buildout to use Plone 6.0.0a3 packages versions [boulch]

1.0a12 (2022-01-31)

  • Patch terse caching operation to add Cache-Control header even when intercepting a 304 NOT MODIFIED [laulaz]

  • Fix client caching value in terseCaching (was different in upgrade step) [laulaz]

1.0a11 (2022-01-27)

  • Fix Plone translations override [laulaz]

1.0a10 (2022-01-19)

  • Update buildout to use Plone 6.0.0a2 released version [laulaz]

  • Get some missing upgrades steps from plone6 dev to plone6 released [boulch]

  • Load/register caching configuration + move upgrades steps in an upgrades folder. [boulch]

  • Remove client caching in terseCaching [sverbois]

1.0a9 (2022-01-13)

  • Restore Plone colophon viewlet in footer [laulaz]

1.0a8 (2021-12-16)

  • Add caching configuration [sverbois]

1.0a7 (2021-11-26)

  • Restore Default workflow on Link type [laulaz]

  • Change ‘en-un-click’ to ifind folder and add iam folder with some links + upgrade steps. [boulch]

1.0a6 (2021-11-24)

  • Add upgrade to restrict collections views (will always be faceted layouts) [laulaz]

1.0a5 (2021-11-16)

  • Add cropping support on File content type [laulaz]

1.0a4 (2021-11-05)

  • Add collective.solr dependency & Activate SolR search by default [mpeeters]

  • Add pas.plugins.imio profile dependency [laulaz]

  • Hide plone.keywords for non editors [laulaz]

  • Add topics & page category on File content type [laulaz]

  • Allow only listing_view on collections [laulaz]

  • Make Collections globally addable [laulaz]

  • TinyMCE config is now made in imio.smartweb.common [laulaz]

  • Simplify TinyMCE config & force paste as text [laulaz]

  • Allow PortalPage content as default view [laulaz]

  • Display Collection in navigation by default [laulaz]

  • Move localmessages viewlet from default abovecontent to portalheader viewlet manager [boulch]

  • Rename dependency : collective.bigbang to collective.bigbang [boulch]

  • Manage grouping/order/visibility of subsite/minisite header/footer viewlets [laulaz]

  • Allow only useful image scales in TinyMCE text fields [laulaz]

  • Move code to imio.smartweb.common [laulaz]

  • Remove collective.pivot out of metadata (undo auto-install) [boulch]

1.0a3 (2021-06-29)

  • Add imio.gdpr [boulch]

  • Add collective.messagesviewlet [boulch]

  • Add pas.plugins.imio. [bsuttor]

  • Add collective.bigbang. [bsuttor]

1.0a2 (2021-04-22)

  • WEBMIGP5-12: Override TinyMCE Formats inline items [laulaz]

  • WEBMIGP5-14: Change images behaviors [laulaz]

  • WEBMIGP5-13: Change files behaviors [laulaz]

  • Add configuration for TinyMCE toolbars / menus [laulaz]

  • Add basic demo profile with content creation & improve install profile [laulaz]

  • Fix navigation links translations [laulaz]

  • Change header viewlets default order [laulaz]

  • Migrate & improve buildout for Plone 6 [boulch]

  • Add uninstall profile [boulch]

  • Fix tests for Plone 6 [boulch]

1.0a1 (2021-04-19)

  • Initial release. [boulch]

Metadata

Release files for imio.smartweb.policy 1.2.22

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for imio.smartweb.policy 1.2.22
File Size Uploaded Provenance
imio_smartweb_policy-1.2.22.tar.gz 64.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for imio.smartweb.policy 1.2.22
File Interpreter ABI Platform
imio_smartweb_policy-1.2.22-py3-none-any.whl Python 3 none any Details

Total release size: 147.5 kB

Release files / imio_smartweb_policy-1.2.22.tar.gz

Download URL imio_smartweb_policy-1.2.22.tar.gz
Size 64.5 kB
Tags Source
SHA-256 checksum
How to use checksums
08bd789c031b1a89a3547cbaddf77272f3af3eacd983bae099017357b996dc1b
BLAKE2b-256 checksum
How to use checksums
3e226466da6fbe9063cdfda311d55b2c9f0b405be54867ec7d728bdc0671ea28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release files / imio_smartweb_policy-1.2.22-py3-none-any.whl

Download URL imio_smartweb_policy-1.2.22-py3-none-any.whl
Size 83.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8d250b7f13834fb794f1ccb2485486c8ca2f5c5c6c6a672b419e6fac93f1dd6e
BLAKE2b-256 checksum
How to use checksums
b8d301113ddfca270e506393f7fa9f1c3dc446532edc8e3c965f7633c7afc7ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Security for imio.smartweb.policy 1.2.22

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.2.22 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page