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.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]

Release files for imio.smartweb.policy 1.2.20

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.20
File Size Uploaded
imio_smartweb_policy-1.2.20.tar.gz 62.6 kB Details

Built distribution (wheel)

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

Total release size: 143.4 kB

Release files / imio_smartweb_policy-1.2.20.tar.gz

Download URL imio_smartweb_policy-1.2.20.tar.gz
Size 62.6 kB
Tags Source
SHA-256 checksum
How to use checksums
3c2b6dd0f0cc88ad40bb2a943b1c452eb6e954f9523c907f6e0c12babca79e36
BLAKE2b-256 checksum
How to use checksums
33f8ccf51a530f11e3d1083269c2304e93e510fb288942c66af5770834120b6f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.11

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

Download URL imio_smartweb_policy-1.2.20-py3-none-any.whl
Size 80.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
81c70600e6784f36e6dbec9bbae10f723c4f14605de61a73ff94a985be429532
BLAKE2b-256 checksum
How to use checksums
c1ac5ec221dc011f873225b3163fed1a92ca7b66b623af9e60e74b9b79149fd8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.11

Release history Release notifications | RSS feed

This release

1.2.20 This release

2 release files

1.2.17

2 release files

1.2.15

2 release files

1.2.13

2 release files

1.2.11

2 release files

1.2.10

2 release files

1.2.9

2 release files

1.2.8

2 release files

1.2.7

2 release files

1.2.6

2 release files

1.2.5

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

1 release file

1.2

1 release file

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

1 release file

1.1.2

1 release file

1.1.1

1 release file

1.1

1 release file

1.0.10

1 release file

1.0.9

1 release file

1.0.8

1 release file

1.0.7

1 release file

1.0.6

1 release file

1.0.5

1 release file

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

1 release file

1.0

1 release file

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