imio.smartweb.common 1.2.15__tar.gz → 1.2.17__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/CHANGES.rst +15 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/PKG-INFO +16 -1
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/setup.py +1 -1
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/behaviors/topics.py +2 -2
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/subscribers.py +26 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/subscribers.zcml +3 -0
- imio_smartweb_common-1.2.17/src/imio/smartweb/common/tests/test_widgets.py +61 -0
- imio_smartweb_common-1.2.17/src/imio/smartweb/common/widgets/__init__.py +0 -0
- imio_smartweb_common-1.2.17/src/imio/smartweb/common/widgets/select.py +31 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio.smartweb.common.egg-info/PKG-INFO +16 -1
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio.smartweb.common.egg-info/SOURCES.txt +4 -1
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/CONTRIBUTORS.rst +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/DEVELOP.rst +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/LICENSE.GPL +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/LICENSE.rst +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/MANIFEST.in +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/README.rst +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/docs/conf.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/docs/index.rst +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/requirements.txt +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/setup.cfg +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/__init__.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/__init__.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/__init__.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/adapters.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/adapters.zcml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/behaviors/__init__.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/behaviors/configure.zcml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/behaviors/iam.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/browser/__init__.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/browser/collective_taxonomy_controlpanel.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/browser/configure.zcml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/browser/cropping.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/browser/description.pt +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/browser/description.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/browser/forms.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/browser/overrides/plone.app.z3cform.templates.widget.pt +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/browser/privacy/__init__.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/browser/privacy/configure.zcml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/browser/privacy/form.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/browser/privacy/utils.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/browser/privacy/views.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/browser/scaling.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/browser/static/Makefile +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/browser/static/package.json +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/browser/static/smartweb-common-edit-compiled.css +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/browser/static/smartweb-common-edit-compiled.js +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/browser/static/smartweb-common-view-compiled.css +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/browser/static/smartweb-common-view-compiled.js +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/browser/static/src/edit.js +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/browser/static/src/edit.less +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/browser/static/src/view.js +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/browser/static/src/view.less +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/browser/static/webpack.config.js +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/browser/vocabulary.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/caching.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/config.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/configure.zcml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/contact_utils.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/faceted/__init__.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/faceted/configure.zcml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/faceted/utils.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/faceted/widget.pt +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/faceted/widget.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/indexers.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/indexers.zcml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/interfaces.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/permissions.zcml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/privacy.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/privacy.zcml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/profiles/default/actions.xml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/profiles/default/browserlayer.xml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/profiles/default/catalog.xml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/profiles/default/metadata.xml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/profiles/default/registry.xml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/profiles/default/rolemap.xml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/profiles/testing/catalog.xml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/profiles/testing/metadata.xml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/profiles/testing/registry.xml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/profiles/testing/types/Collection.xml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/profiles/testing/types/Document.xml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/profiles/testing/types/Folder.xml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/profiles/uninstall/browserlayer.xml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/profiles.zcml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/rest/__init__.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/rest/configure.zcml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/rest/odwb.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/rest/search_filters.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/rest/utils.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/setuphandlers.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/sharing/__init__.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/sharing/configure.zcml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/sharing/localroles.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/sharing/permissions.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/sharing/permissions.zcml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/testing.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/testing.zcml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/tests/__init__.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/tests/resources/image.png +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/tests/resources/image_1400x800.png +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/tests/resources/image_1800x700.png +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/tests/robot/test_example.robot +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/tests/test_cropping.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/tests/test_description.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/tests/test_forms.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/tests/test_indexes.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/tests/test_local_roles.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/tests/test_permissions.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/tests/test_privacy.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/tests/test_rest.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/tests/test_robot.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/tests/test_setup.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/tests/test_subscribers.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/tests/test_taxonomy.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/tests/test_text.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/tests/test_utils.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/tests/test_viewlets.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/tests/test_vocabularies.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/tests/test_vocabulary.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/upgrades/__init__.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/upgrades/configure.zcml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/upgrades/profiles/1007_to_1008/rolemap.xml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/upgrades/profiles/1008_to_1009/actions.xml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/upgrades/profiles/1009_to_1010/registry/tiny_nonbreakingspace.xml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/upgrades/profiles/1010_to_1011/registry/resources.xml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/upgrades/profiles/1010_to_1011/registry/scales.xml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/upgrades/profiles/1010_to_1011/registry/tinymce.xml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/upgrades/profiles/1011_to_1012/registry/bundles.xml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/upgrades/profiles/1013_to_1014/registry/tinymce.xml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/upgrades/profiles/1014_to_1015/registry/syndication.xml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/upgrades/profiles/1015_to_1016/registry/patched-faceted-jquery.xml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/upgrades/profiles/1016_to_1017/registry/scales.xml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/upgrades/profiles/1017_to_1018/registry.xml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/upgrades/profiles/1018_to_1019/registry/scales.xml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/upgrades/profiles/1022_to_1023/registry/scales.xml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/upgrades/profiles/1023_to_1024/registry/scales.xml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/upgrades/profiles/1025_to_1026/registry/scales.xml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/upgrades/profiles/1027_to_1028/restored-faceted-jquery.xml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/upgrades/profiles/1028_to_1029/registry.xml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/upgrades/profiles/1029_to_1030/registry.xml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/upgrades/upgrades.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/utils.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/viewlets/__init__.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/viewlets/analytics.pt +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/viewlets/colophon.pt +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/viewlets/colophon.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/viewlets/configure.zcml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/viewlets/privacy.pt +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/viewlets/privacy.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/viewlets/skip_to_content.pt +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/viewlets/skip_to_content.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/vocabularies.py +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/vocabularies.zcml +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio.smartweb.common.egg-info/dependency_links.txt +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio.smartweb.common.egg-info/namespace_packages.txt +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio.smartweb.common.egg-info/not-zip-safe +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio.smartweb.common.egg-info/requires.txt +0 -0
- {imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio.smartweb.common.egg-info/top_level.txt +0 -0
|
@@ -2,6 +2,21 @@ Changelog
|
|
|
2
2
|
=========
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
1.2.17 (2024-06-06)
|
|
6
|
+
-------------------
|
|
7
|
+
|
|
8
|
+
- WEB-4113 : Add `TranslatedAjaxSelectFieldWidget` to fix translations of initial
|
|
9
|
+
values in select2 fields
|
|
10
|
+
[laulaz]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
1.2.16 (2024-05-30)
|
|
14
|
+
-------------------
|
|
15
|
+
|
|
16
|
+
- WEB-4107 : Update resource registries modification time (used as ETag) at Zope startup
|
|
17
|
+
[laulaz]
|
|
18
|
+
|
|
19
|
+
|
|
5
20
|
1.2.15 (2024-05-27)
|
|
6
21
|
-------------------
|
|
7
22
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: imio.smartweb.common
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.17
|
|
4
4
|
Summary: Common utilities, vocabularies, taxonomies for imio.smartweb & co products
|
|
5
5
|
Home-page: https://github.com/imio/imio.smartweb.common
|
|
6
6
|
Author: iMio
|
|
@@ -161,6 +161,21 @@ Changelog
|
|
|
161
161
|
=========
|
|
162
162
|
|
|
163
163
|
|
|
164
|
+
1.2.17 (2024-06-06)
|
|
165
|
+
-------------------
|
|
166
|
+
|
|
167
|
+
- WEB-4113 : Add `TranslatedAjaxSelectFieldWidget` to fix translations of initial
|
|
168
|
+
values in select2 fields
|
|
169
|
+
[laulaz]
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
1.2.16 (2024-05-30)
|
|
173
|
+
-------------------
|
|
174
|
+
|
|
175
|
+
- WEB-4107 : Update resource registries modification time (used as ETag) at Zope startup
|
|
176
|
+
[laulaz]
|
|
177
|
+
|
|
178
|
+
|
|
164
179
|
1.2.15 (2024-05-27)
|
|
165
180
|
-------------------
|
|
166
181
|
|
|
@@ -16,7 +16,7 @@ long_description = "\n\n".join(
|
|
|
16
16
|
|
|
17
17
|
setup(
|
|
18
18
|
name="imio.smartweb.common",
|
|
19
|
-
version="1.2.
|
|
19
|
+
version="1.2.17",
|
|
20
20
|
description="Common utilities, vocabularies, taxonomies for imio.smartweb & co products",
|
|
21
21
|
long_description=long_description,
|
|
22
22
|
# Get more from https://pypi.org/classifiers/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
2
|
|
|
3
|
+
from imio.smartweb.common.widgets.select import TranslatedAjaxSelectFieldWidget
|
|
3
4
|
from imio.smartweb.locales import SmartwebMessageFactory as _
|
|
4
|
-
from plone.app.z3cform.widget import AjaxSelectFieldWidget
|
|
5
5
|
from plone.autoform import directives
|
|
6
6
|
from plone.autoform.interfaces import IFormFieldProvider
|
|
7
7
|
from plone.supermodel import model
|
|
@@ -21,4 +21,4 @@ class ITopics(model.Schema):
|
|
|
21
21
|
default=[],
|
|
22
22
|
required=False,
|
|
23
23
|
)
|
|
24
|
-
directives.widget(topics=
|
|
24
|
+
directives.widget(topics=TranslatedAjaxSelectFieldWidget)
|
{imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/subscribers.py
RENAMED
|
@@ -8,10 +8,36 @@ from plone.app.dexterity.behaviors.metadata import IBasic
|
|
|
8
8
|
from plone.app.textfield.value import IRichTextValue
|
|
9
9
|
from plone.app.textfield.value import RichTextValue
|
|
10
10
|
from plone.dexterity.utils import iterSchemata
|
|
11
|
+
from plone.registry.interfaces import IRegistry
|
|
12
|
+
from Products.CMFPlone.resources.browser.resource import update_resource_registry_mtime
|
|
13
|
+
from zope.component import queryUtility
|
|
14
|
+
from zope.component.hooks import setSite
|
|
11
15
|
from zope.lifecycleevent.interfaces import IAttributes
|
|
12
16
|
from zope.schema import getFields
|
|
13
17
|
|
|
14
18
|
import DateTime
|
|
19
|
+
import os
|
|
20
|
+
import Zope2
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
def started_zope(event):
|
|
24
|
+
db = Zope2.DB
|
|
25
|
+
connection = db.open()
|
|
26
|
+
zope_app = connection.root().get("Application", None)
|
|
27
|
+
site_id = os.getenv("SITE_ID", "Plone")
|
|
28
|
+
try:
|
|
29
|
+
site = zope_app.unrestrictedTraverse(site_id)
|
|
30
|
+
except KeyError:
|
|
31
|
+
# This happens when there is no site (ex: tests setups)
|
|
32
|
+
return
|
|
33
|
+
setSite(site)
|
|
34
|
+
registry = queryUtility(IRegistry)
|
|
35
|
+
if registry is None:
|
|
36
|
+
# This happens for example during site creation
|
|
37
|
+
return
|
|
38
|
+
# update resource registry time to invalidate its cache at startup
|
|
39
|
+
# this information is also used as ETag
|
|
40
|
+
update_resource_registry_mtime()
|
|
15
41
|
|
|
16
42
|
|
|
17
43
|
def reindex_breadcrumb(obj, event):
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
<configure
|
|
2
2
|
xmlns="http://namespaces.zope.org/zope">
|
|
3
3
|
|
|
4
|
+
<subscriber for="zope.processlifetime.IProcessStarting"
|
|
5
|
+
handler=".subscribers.started_zope"/>
|
|
6
|
+
|
|
4
7
|
<subscriber for="plone.dexterity.interfaces.IDexterityContent
|
|
5
8
|
zope.lifecycleevent.interfaces.IObjectAddedEvent"
|
|
6
9
|
handler=".subscribers.added_content" />
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
|
|
3
|
+
from imio.smartweb.common.testing import IMIO_SMARTWEB_COMMON_INTEGRATION_TESTING
|
|
4
|
+
from imio.smartweb.common.widgets.select import TranslatedAjaxSelectWidget
|
|
5
|
+
from plone.api import portal as portal_api
|
|
6
|
+
from zope.publisher.browser import TestRequest
|
|
7
|
+
|
|
8
|
+
import mock
|
|
9
|
+
import unittest
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class TestVocabulary(unittest.TestCase):
|
|
13
|
+
layer = IMIO_SMARTWEB_COMMON_INTEGRATION_TESTING
|
|
14
|
+
|
|
15
|
+
def setUp(self):
|
|
16
|
+
"""Custom shared utility setup for tests"""
|
|
17
|
+
self.request = TestRequest()
|
|
18
|
+
|
|
19
|
+
def test_translated_ajax_select(self):
|
|
20
|
+
portal_api.get_current_language = mock.Mock(return_value="fr")
|
|
21
|
+
widget = TranslatedAjaxSelectWidget(self.request)
|
|
22
|
+
widget.update()
|
|
23
|
+
self.assertEqual(
|
|
24
|
+
{
|
|
25
|
+
"name": None,
|
|
26
|
+
"value": "",
|
|
27
|
+
"pattern": "select2",
|
|
28
|
+
"pattern_options": {"separator": ";"},
|
|
29
|
+
},
|
|
30
|
+
widget._base_args(),
|
|
31
|
+
)
|
|
32
|
+
|
|
33
|
+
widget.vocabulary = "imio.smartweb.vocabulary.Topics"
|
|
34
|
+
self.assertEqual(
|
|
35
|
+
widget._base_args(),
|
|
36
|
+
{
|
|
37
|
+
"name": None,
|
|
38
|
+
"value": "",
|
|
39
|
+
"pattern": "select2",
|
|
40
|
+
"pattern_options": {
|
|
41
|
+
"vocabularyUrl": "http://nohost/plone/@@getVocabulary?name=imio.smartweb.vocabulary.Topics",
|
|
42
|
+
"separator": ";",
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
)
|
|
46
|
+
widget.value = "entertainment"
|
|
47
|
+
self.assertEqual(
|
|
48
|
+
widget._base_args(),
|
|
49
|
+
{
|
|
50
|
+
"name": None,
|
|
51
|
+
"value": "entertainment",
|
|
52
|
+
"pattern": "select2",
|
|
53
|
+
"pattern_options": {
|
|
54
|
+
"vocabularyUrl": "http://nohost/plone/@@getVocabulary?name=imio.smartweb.vocabulary.Topics",
|
|
55
|
+
"initialValues": {
|
|
56
|
+
"entertainment": "Activités et divertissement",
|
|
57
|
+
},
|
|
58
|
+
"separator": ";",
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
)
|
|
File without changes
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
|
|
3
|
+
from plone import api
|
|
4
|
+
from plone.app.z3cform.widget import AjaxSelectWidget
|
|
5
|
+
from z3c.form.interfaces import IFieldWidget
|
|
6
|
+
from z3c.form.widget import FieldWidget
|
|
7
|
+
from zope.interface import implementer
|
|
8
|
+
from zope.i18n import translate
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class TranslatedAjaxSelectWidget(AjaxSelectWidget):
|
|
12
|
+
"""Translated Ajax select widget for z3c.form."""
|
|
13
|
+
|
|
14
|
+
def _ajaxselect_options(self):
|
|
15
|
+
options = super(TranslatedAjaxSelectWidget, self)._ajaxselect_options()
|
|
16
|
+
current_lang = api.portal.get_current_language()[:2]
|
|
17
|
+
translated_initial_values = {}
|
|
18
|
+
for token, value in list(options.get("initialValues", {}).items()):
|
|
19
|
+
translated_initial_values[token] = translate(
|
|
20
|
+
value, domain="imio.smartweb", target_language=current_lang
|
|
21
|
+
)
|
|
22
|
+
if translated_initial_values:
|
|
23
|
+
options["initialValues"] = translated_initial_values
|
|
24
|
+
return options
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
@implementer(IFieldWidget)
|
|
28
|
+
def TranslatedAjaxSelectFieldWidget(field, request, extra=None):
|
|
29
|
+
if extra is not None:
|
|
30
|
+
request = extra
|
|
31
|
+
return FieldWidget(field, TranslatedAjaxSelectWidget(request))
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: imio.smartweb.common
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.17
|
|
4
4
|
Summary: Common utilities, vocabularies, taxonomies for imio.smartweb & co products
|
|
5
5
|
Home-page: https://github.com/imio/imio.smartweb.common
|
|
6
6
|
Author: iMio
|
|
@@ -161,6 +161,21 @@ Changelog
|
|
|
161
161
|
=========
|
|
162
162
|
|
|
163
163
|
|
|
164
|
+
1.2.17 (2024-06-06)
|
|
165
|
+
-------------------
|
|
166
|
+
|
|
167
|
+
- WEB-4113 : Add `TranslatedAjaxSelectFieldWidget` to fix translations of initial
|
|
168
|
+
values in select2 fields
|
|
169
|
+
[laulaz]
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
1.2.16 (2024-05-30)
|
|
173
|
+
-------------------
|
|
174
|
+
|
|
175
|
+
- WEB-4107 : Update resource registries modification time (used as ETag) at Zope startup
|
|
176
|
+
[laulaz]
|
|
177
|
+
|
|
178
|
+
|
|
164
179
|
1.2.15 (2024-05-27)
|
|
165
180
|
-------------------
|
|
166
181
|
|
|
@@ -117,6 +117,7 @@ src/imio/smartweb/common/tests/test_utils.py
|
|
|
117
117
|
src/imio/smartweb/common/tests/test_viewlets.py
|
|
118
118
|
src/imio/smartweb/common/tests/test_vocabularies.py
|
|
119
119
|
src/imio/smartweb/common/tests/test_vocabulary.py
|
|
120
|
+
src/imio/smartweb/common/tests/test_widgets.py
|
|
120
121
|
src/imio/smartweb/common/tests/resources/image.png
|
|
121
122
|
src/imio/smartweb/common/tests/resources/image_1400x800.png
|
|
122
123
|
src/imio/smartweb/common/tests/resources/image_1800x700.png
|
|
@@ -151,4 +152,6 @@ src/imio/smartweb/common/viewlets/configure.zcml
|
|
|
151
152
|
src/imio/smartweb/common/viewlets/privacy.pt
|
|
152
153
|
src/imio/smartweb/common/viewlets/privacy.py
|
|
153
154
|
src/imio/smartweb/common/viewlets/skip_to_content.pt
|
|
154
|
-
src/imio/smartweb/common/viewlets/skip_to_content.py
|
|
155
|
+
src/imio/smartweb/common/viewlets/skip_to_content.py
|
|
156
|
+
src/imio/smartweb/common/widgets/__init__.py
|
|
157
|
+
src/imio/smartweb/common/widgets/select.py
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/__init__.py
RENAMED
|
File without changes
|
{imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/adapters.py
RENAMED
|
File without changes
|
{imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/adapters.zcml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/caching.py
RENAMED
|
File without changes
|
{imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/config.py
RENAMED
|
File without changes
|
{imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/configure.zcml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/indexers.py
RENAMED
|
File without changes
|
{imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/indexers.zcml
RENAMED
|
File without changes
|
{imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/interfaces.py
RENAMED
|
File without changes
|
|
File without changes
|
{imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/privacy.py
RENAMED
|
File without changes
|
{imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/privacy.zcml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/profiles.zcml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/rest/odwb.py
RENAMED
|
File without changes
|
|
File without changes
|
{imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/rest/utils.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/testing.py
RENAMED
|
File without changes
|
{imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/testing.zcml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/utils.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{imio_smartweb_common-1.2.15 → imio_smartweb_common-1.2.17}/src/imio/smartweb/common/vocabularies.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|