imio.smartweb.common 1.2.27__tar.gz → 1.2.29__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.
Files changed (166) hide show
  1. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/CHANGES.rst +17 -0
  2. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/PKG-INFO +23 -2
  3. imio_smartweb_common-1.2.29/requirements-6.1.txt +1 -0
  4. imio_smartweb_common-1.2.29/requirements-coverage.txt +2 -0
  5. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/setup.py +4 -1
  6. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/adapters.py +0 -1
  7. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/browser/collective_taxonomy_controlpanel.py +0 -3
  8. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/profiles/default/metadata.xml +1 -1
  9. {imio_smartweb_common-1.2.27/src/imio/smartweb/common/profiles/default → imio_smartweb_common-1.2.29/src/imio/smartweb/common/profiles/default/registry}/registry.xml +0 -95
  10. imio_smartweb_common-1.2.29/src/imio/smartweb/common/profiles/default/registry/tinymce.xml +172 -0
  11. imio_smartweb_common-1.2.29/src/imio/smartweb/common/tests/test_widgets.py +120 -0
  12. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/upgrades/configure.zcml +87 -48
  13. imio_smartweb_common-1.2.29/src/imio/smartweb/common/upgrades/profiles/1030_to_1031/registry/tinymce.xml +188 -0
  14. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio.smartweb.common.egg-info/PKG-INFO +23 -2
  15. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio.smartweb.common.egg-info/SOURCES.txt +5 -2
  16. imio_smartweb_common-1.2.27/requirements-coverage.txt +0 -2
  17. imio_smartweb_common-1.2.27/src/imio/smartweb/common/tests/test_widgets.py +0 -61
  18. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/CONTRIBUTORS.rst +0 -0
  19. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/DEVELOP.rst +0 -0
  20. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/LICENSE.GPL +0 -0
  21. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/LICENSE.rst +0 -0
  22. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/MANIFEST.in +0 -0
  23. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/README.rst +0 -0
  24. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/docs/conf.py +0 -0
  25. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/docs/index.rst +0 -0
  26. /imio_smartweb_common-1.2.27/requirements.txt → /imio_smartweb_common-1.2.29/requirements-6.0.txt +0 -0
  27. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/setup.cfg +0 -0
  28. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/__init__.py +0 -0
  29. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/__init__.py +0 -0
  30. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/__init__.py +0 -0
  31. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/adapters.zcml +0 -0
  32. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/behaviors/__init__.py +0 -0
  33. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/behaviors/configure.zcml +0 -0
  34. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/behaviors/iam.py +0 -0
  35. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/behaviors/topics.py +0 -0
  36. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/browser/__init__.py +0 -0
  37. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/browser/configure.zcml +0 -0
  38. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/browser/cropping.py +0 -0
  39. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/browser/description.pt +0 -0
  40. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/browser/description.py +0 -0
  41. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/browser/edit_taxonomy_data.pt +0 -0
  42. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/browser/forms.py +0 -0
  43. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/browser/overrides/plone.app.z3cform.templates.widget.pt +0 -0
  44. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/browser/privacy/__init__.py +0 -0
  45. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/browser/privacy/configure.zcml +0 -0
  46. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/browser/privacy/form.py +0 -0
  47. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/browser/privacy/utils.py +0 -0
  48. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/browser/privacy/views.py +0 -0
  49. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/browser/scaling.py +0 -0
  50. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/browser/static/Makefile +0 -0
  51. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/browser/static/package.json +0 -0
  52. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/browser/static/smartweb-common-edit-compiled.css +0 -0
  53. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/browser/static/smartweb-common-edit-compiled.js +0 -0
  54. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/browser/static/smartweb-common-view-compiled.css +0 -0
  55. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/browser/static/smartweb-common-view-compiled.js +0 -0
  56. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/browser/static/src/edit.js +0 -0
  57. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/browser/static/src/edit.less +0 -0
  58. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/browser/static/src/view.js +0 -0
  59. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/browser/static/src/view.less +0 -0
  60. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/browser/static/webpack.config.js +0 -0
  61. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/browser/vocabulary.py +0 -0
  62. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/caching.py +0 -0
  63. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/caching_overrides.zcml +0 -0
  64. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/config.py +0 -0
  65. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/configure.zcml +0 -0
  66. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/contact_utils.py +0 -0
  67. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/faceted/__init__.py +0 -0
  68. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/faceted/configure.zcml +0 -0
  69. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/faceted/utils.py +0 -0
  70. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/faceted/widget.pt +0 -0
  71. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/faceted/widget.py +0 -0
  72. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/indexers.py +0 -0
  73. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/indexers.zcml +0 -0
  74. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/interfaces.py +0 -0
  75. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/permissions.zcml +0 -0
  76. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/privacy.py +0 -0
  77. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/privacy.zcml +0 -0
  78. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/profiles/default/actions.xml +0 -0
  79. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/profiles/default/browserlayer.xml +0 -0
  80. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/profiles/default/catalog.xml +0 -0
  81. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/profiles/default/rolemap.xml +0 -0
  82. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/profiles/testing/catalog.xml +0 -0
  83. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/profiles/testing/metadata.xml +0 -0
  84. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/profiles/testing/registry.xml +0 -0
  85. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/profiles/testing/types/Collection.xml +0 -0
  86. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/profiles/testing/types/Document.xml +0 -0
  87. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/profiles/testing/types/Folder.xml +0 -0
  88. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/profiles/uninstall/browserlayer.xml +0 -0
  89. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/profiles.zcml +0 -0
  90. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/rest/__init__.py +0 -0
  91. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/rest/configure.zcml +0 -0
  92. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/rest/odwb.py +0 -0
  93. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/rest/search_filters.py +0 -0
  94. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/rest/utils.py +0 -0
  95. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/setuphandlers.py +0 -0
  96. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/sharing/__init__.py +0 -0
  97. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/sharing/configure.zcml +0 -0
  98. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/sharing/localroles.py +0 -0
  99. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/sharing/permissions.py +0 -0
  100. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/sharing/permissions.zcml +0 -0
  101. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/subscribers.py +0 -0
  102. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/subscribers.zcml +0 -0
  103. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/testing.py +0 -0
  104. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/testing.zcml +0 -0
  105. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/tests/__init__.py +0 -0
  106. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/tests/resources/image.png +0 -0
  107. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/tests/resources/image_1400x800.png +0 -0
  108. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/tests/resources/image_1800x700.png +0 -0
  109. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/tests/robot/test_example.robot +0 -0
  110. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/tests/test_cropping.py +0 -0
  111. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/tests/test_description.py +0 -0
  112. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/tests/test_forms.py +0 -0
  113. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/tests/test_indexes.py +0 -0
  114. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/tests/test_local_roles.py +0 -0
  115. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/tests/test_permissions.py +0 -0
  116. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/tests/test_privacy.py +0 -0
  117. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/tests/test_rest.py +0 -0
  118. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/tests/test_robot.py +0 -0
  119. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/tests/test_setup.py +0 -0
  120. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/tests/test_subscribers.py +0 -0
  121. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/tests/test_taxonomy.py +0 -0
  122. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/tests/test_text.py +0 -0
  123. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/tests/test_utils.py +0 -0
  124. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/tests/test_viewlets.py +0 -0
  125. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/tests/test_vocabularies.py +0 -0
  126. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/tests/test_vocabulary.py +0 -0
  127. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/upgrades/__init__.py +0 -0
  128. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/upgrades/profiles/1007_to_1008/rolemap.xml +0 -0
  129. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/upgrades/profiles/1008_to_1009/actions.xml +0 -0
  130. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/upgrades/profiles/1009_to_1010/registry/tiny_nonbreakingspace.xml +0 -0
  131. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/upgrades/profiles/1010_to_1011/registry/resources.xml +0 -0
  132. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/upgrades/profiles/1010_to_1011/registry/scales.xml +0 -0
  133. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/upgrades/profiles/1010_to_1011/registry/tinymce.xml +0 -0
  134. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/upgrades/profiles/1011_to_1012/registry/bundles.xml +0 -0
  135. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/upgrades/profiles/1013_to_1014/registry/tinymce.xml +0 -0
  136. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/upgrades/profiles/1014_to_1015/registry/syndication.xml +0 -0
  137. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/upgrades/profiles/1015_to_1016/registry/patched-faceted-jquery.xml +0 -0
  138. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/upgrades/profiles/1016_to_1017/registry/scales.xml +0 -0
  139. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/upgrades/profiles/1017_to_1018/registry.xml +0 -0
  140. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/upgrades/profiles/1018_to_1019/registry/scales.xml +0 -0
  141. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/upgrades/profiles/1022_to_1023/registry/scales.xml +0 -0
  142. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/upgrades/profiles/1023_to_1024/registry/scales.xml +0 -0
  143. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/upgrades/profiles/1025_to_1026/registry/scales.xml +0 -0
  144. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/upgrades/profiles/1027_to_1028/restored-faceted-jquery.xml +0 -0
  145. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/upgrades/profiles/1028_to_1029/registry.xml +0 -0
  146. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/upgrades/profiles/1029_to_1030/registry.xml +0 -0
  147. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/upgrades/upgrades.py +0 -0
  148. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/utils.py +0 -0
  149. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/viewlets/__init__.py +0 -0
  150. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/viewlets/analytics.pt +0 -0
  151. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/viewlets/colophon.pt +0 -0
  152. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/viewlets/colophon.py +0 -0
  153. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/viewlets/configure.zcml +0 -0
  154. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/viewlets/privacy.pt +0 -0
  155. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/viewlets/privacy.py +0 -0
  156. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/viewlets/skip_to_content.pt +0 -0
  157. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/viewlets/skip_to_content.py +0 -0
  158. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/vocabularies.py +0 -0
  159. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/vocabularies.zcml +0 -0
  160. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/widgets/__init__.py +0 -0
  161. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio/smartweb/common/widgets/select.py +0 -0
  162. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio.smartweb.common.egg-info/dependency_links.txt +0 -0
  163. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio.smartweb.common.egg-info/namespace_packages.txt +0 -0
  164. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio.smartweb.common.egg-info/not-zip-safe +0 -0
  165. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio.smartweb.common.egg-info/requires.txt +0 -0
  166. {imio_smartweb_common-1.2.27 → imio_smartweb_common-1.2.29}/src/imio.smartweb.common.egg-info/top_level.txt +0 -0
@@ -2,6 +2,23 @@ Changelog
2
2
  =========
3
3
 
4
4
 
5
+ 1.2.29 (2025-05-13)
6
+ -------------------
7
+
8
+ - Upgrade TinyMCE settings to version 7
9
+ [remdub]
10
+
11
+
12
+ 1.2.28 (2025-04-30)
13
+ -------------------
14
+
15
+ - Upgrade dev environment to Plone 6.1-latest
16
+ [remdub]
17
+
18
+ - Add tests for Plone 6.1-latest and add Python 3.13
19
+ [remdub]
20
+
21
+
5
22
  1.2.27 (2025-03-19)
6
23
  -------------------
7
24
 
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: imio.smartweb.common
3
- Version: 1.2.27
3
+ Version: 1.2.29
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
@@ -15,10 +15,13 @@ Classifier: Environment :: Web Environment
15
15
  Classifier: Framework :: Plone
16
16
  Classifier: Framework :: Plone :: Addon
17
17
  Classifier: Framework :: Plone :: 6.0
18
+ Classifier: Framework :: Plone :: 6.1
18
19
  Classifier: Programming Language :: Python
19
20
  Classifier: Programming Language :: Python :: 3
20
21
  Classifier: Programming Language :: Python :: 3.10
22
+ Classifier: Programming Language :: Python :: 3.11
21
23
  Classifier: Programming Language :: Python :: 3.12
24
+ Classifier: Programming Language :: Python :: 3.13
22
25
  Classifier: Operating System :: OS Independent
23
26
  Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2)
24
27
  Requires-Python: >=3.10
@@ -58,6 +61,7 @@ Dynamic: description
58
61
  Dynamic: home-page
59
62
  Dynamic: keywords
60
63
  Dynamic: license
64
+ Dynamic: license-file
61
65
  Dynamic: project-url
62
66
  Dynamic: provides-extra
63
67
  Dynamic: requires-dist
@@ -174,6 +178,23 @@ Changelog
174
178
  =========
175
179
 
176
180
 
181
+ 1.2.29 (2025-05-13)
182
+ -------------------
183
+
184
+ - Upgrade TinyMCE settings to version 7
185
+ [remdub]
186
+
187
+
188
+ 1.2.28 (2025-04-30)
189
+ -------------------
190
+
191
+ - Upgrade dev environment to Plone 6.1-latest
192
+ [remdub]
193
+
194
+ - Add tests for Plone 6.1-latest and add Python 3.13
195
+ [remdub]
196
+
197
+
177
198
  1.2.27 (2025-03-19)
178
199
  -------------------
179
200
 
@@ -0,0 +1 @@
1
+ -r https://dist.plone.org/release/6.1-latest/requirements.txt
@@ -0,0 +1,2 @@
1
+ -r requirements-6.0.txt
2
+ coveralls==3.2.0
@@ -16,7 +16,7 @@ long_description = "\n\n".join(
16
16
 
17
17
  setup(
18
18
  name="imio.smartweb.common",
19
- version="1.2.27",
19
+ version="1.2.29",
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/
@@ -26,10 +26,13 @@ setup(
26
26
  "Framework :: Plone",
27
27
  "Framework :: Plone :: Addon",
28
28
  "Framework :: Plone :: 6.0",
29
+ "Framework :: Plone :: 6.1",
29
30
  "Programming Language :: Python",
30
31
  "Programming Language :: Python :: 3",
31
32
  "Programming Language :: Python :: 3.10",
33
+ "Programming Language :: Python :: 3.11",
32
34
  "Programming Language :: Python :: 3.12",
35
+ "Programming Language :: Python :: 3.13",
33
36
  "Operating System :: OS Independent",
34
37
  "License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
35
38
  ],
@@ -4,7 +4,6 @@ from imio.smartweb.common.utils import get_image_format
4
4
  from plone.namedfile.interfaces import IAvailableSizes
5
5
  from plone.namedfile.interfaces import INamedImageField
6
6
  from plone.namedfile.field import InvalidImageFile
7
- from plone.namedfile.utils import get_contenttype
8
7
  from zope.component import adapter
9
8
  from zope.component import getUtility
10
9
  from zope.interface import Interface
@@ -2,11 +2,8 @@
2
2
 
3
3
  from collective.taxonomy.interfaces import ITaxonomy
4
4
  from collective.taxonomy.jsonimpl import EditTaxonomyData as baseEditTaxonomyData
5
- from imio.smartweb.locales import SmartwebMessageFactory as _
6
5
  from plone import api
7
6
  from zope.component import queryUtility
8
- from zope.component import queryUtility
9
- from plone import api
10
7
  from Products.Five import BrowserView
11
8
 
12
9
 
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <metadata>
3
- <version>1030</version>
3
+ <version>1031</version>
4
4
  <dependencies>
5
5
  <dependency>profile-plone.restapi:default</dependency>
6
6
  <dependency>profile-eea.facetednavigation:default</dependency>
@@ -64,101 +64,6 @@
64
64
  </value>
65
65
  </record>
66
66
 
67
- <record name="plone.menu"
68
- interface="Products.CMFPlone.interfaces.controlpanel.ITinyMCESchema">
69
- <value>
70
- {
71
- "edit": {
72
- "title": "Edit",
73
- "items": "undo redo | cut copy paste | searchreplace selectall"
74
- },
75
- "view": {
76
- "title": "View",
77
- "items": "visualblocks preview fullscreen"
78
- },
79
- "table": {
80
- "title": "Table",
81
- "items": "inserttable deletetable | cell row column"
82
- }
83
- }
84
- </value>
85
- </record>
86
-
87
-
88
- <record name="plone.content_css"
89
- interface="Products.CMFPlone.interfaces.controlpanel.ITinyMCESchema">
90
- <value purge="true">
91
- <element>++theme++barceloneta/tinymce/tinymce-ui-content.css</element>
92
- </value>
93
- </record>
94
-
95
- <record name="plone.menubar"
96
- interface="Products.CMFPlone.interfaces.controlpanel.ITinyMCESchema">
97
- <value purge="true">
98
- <element>edit</element>
99
- <element>view</element>
100
- <element>table</element>
101
- </value>
102
- </record>
103
-
104
- <record name="plone.other_settings"
105
- interface="Products.CMFPlone.interfaces.controlpanel.ITinyMCESchema">
106
- <value>
107
- {
108
- "paste_as_text": true,
109
- "style_formats": [
110
- {
111
- "block": "p",
112
- "title": "Paragraphe"
113
- },
114
- {
115
- "block": "h2",
116
- "title": "Titre 2"
117
- },
118
- {
119
- "block": "h3",
120
- "title": "Titre 3"
121
- },
122
- {
123
- "block": "h4",
124
- "title": "Titre 4"
125
- },
126
- {
127
- "block": "mark",
128
- "title": "Mise en évidence"
129
- },
130
- {
131
- "block": "blockquote",
132
- "title": "Citation"
133
- }
134
- ]
135
- }
136
- </value>
137
- </record>
138
-
139
- <record name="plone.plugins"
140
- interface="Products.CMFPlone.interfaces.controlpanel.ITinyMCESchema">
141
- <value purge="true">
142
- <element>autosave</element>
143
- <element>fullscreen</element>
144
- <element>lists</element>
145
- <element>nonbreaking</element>
146
- <element>paste</element>
147
- <element>preview</element>
148
- <element>searchreplace</element>
149
- <element>tabfocus</element>
150
- <element>table</element>
151
- <element>visualblocks</element>
152
- <element>wordcount</element>
153
- </value>
154
- </record>
155
-
156
- <record name="plone.toolbar"
157
- interface="Products.CMFPlone.interfaces.controlpanel.ITinyMCESchema">
158
- <value>undo redo | styleselect | bold italic superscript | bullist numlist | nonbreaking | plonelink unlink | fullscreen</value>
159
- </record>
160
-
161
-
162
67
  <record name="imio.smartweb.cities">
163
68
  <field type="plone.registry.field.Text">
164
69
  <title i18n:translate="">Cities</title>
@@ -0,0 +1,172 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <registry>
3
+
4
+ <!-- See TinyMCE 7 version used in https://github.com/plone/mockup/blob/master/package.json -->
5
+
6
+ <!-- See format documentation in https://www.tiny.cloud/docs/tinymce/latest/content-formatting/ -->
7
+ <record interface="plone.base.interfaces.controlpanel.ITinyMCESchema"
8
+ name="plone.formats"
9
+ >
10
+ <value>{}</value>
11
+ </record>
12
+ <record interface="plone.base.interfaces.controlpanel.ITinyMCESchema"
13
+ name="plone.header_styles"
14
+ >
15
+ <value>
16
+ <element>|</element>
17
+ </value>
18
+ </record>
19
+ <record interface="plone.base.interfaces.controlpanel.ITinyMCESchema"
20
+ name="plone.inline_styles"
21
+ >
22
+ <value>
23
+ <element>||</element>
24
+ </value>
25
+ </record>
26
+ <record interface="plone.base.interfaces.controlpanel.ITinyMCESchema"
27
+ name="plone.block_styles"
28
+ >
29
+ <value>
30
+ <element>|</element>
31
+ </value>
32
+ </record>
33
+ <record interface="plone.base.interfaces.controlpanel.ITinyMCESchema"
34
+ name="plone.alignment_styles"
35
+ >
36
+ <value>
37
+ <element>||</element>
38
+ </value>
39
+ </record>
40
+ <record interface="plone.base.interfaces.controlpanel.ITinyMCESchema"
41
+ name="plone.table_styles"
42
+ >
43
+ <value>
44
+ <element>|</element>
45
+ </value>
46
+ </record>
47
+
48
+ <!-- See possible values in https://www.tiny.cloud/docs/tinymce/latest/plugins/#open-source-plugins -->
49
+ <record interface="plone.base.interfaces.controlpanel.ITinyMCESchema"
50
+ name="plone.plugins"
51
+ >
52
+ <value purge="true">
53
+ <element>code</element>
54
+ <element>charmap</element>
55
+ <element>fullscreen</element>
56
+ <element>hr</element>
57
+ <element>lists</element>
58
+ <element>nonbreaking</element>
59
+ <element>noneditable</element>
60
+ <element>paste</element>
61
+ <element>searchreplace</element>
62
+ <element>table</element>
63
+ <element>visualblocks</element>
64
+ <element>visualchars</element>
65
+ <element>wordcount</element>
66
+ </value>
67
+ </record>
68
+
69
+ <!-- See possible values in https://www.tiny.cloud/docs/tinymce/latest/menus-configuration-options/#menubar -->
70
+ <record interface="plone.base.interfaces.controlpanel.ITinyMCESchema"
71
+ name="plone.menubar"
72
+ >
73
+ <value purge="true">
74
+ <element>edit</element>
75
+ <element>format</element>
76
+ <element>insert</element>
77
+ <element>table</element>
78
+ <element>view</element>
79
+ </value>
80
+ </record>
81
+
82
+ <!-- See possible values in https://www.tiny.cloud/docs/tinymce/latest/available-menu-items/ -->
83
+ <record interface="plone.base.interfaces.controlpanel.ITinyMCESchema"
84
+ name="plone.menu"
85
+ >
86
+ <value purge="true">
87
+ {
88
+ "file": {
89
+ "title": "File",
90
+ "items": ""
91
+ },
92
+ "tools": {
93
+ "title": "Tools",
94
+ "items": ""
95
+ },
96
+ "table": {
97
+ "title": "Table",
98
+ "items": ""
99
+ },
100
+ "edit": {
101
+ "title": "Edit",
102
+ "items": "undo redo | cut copy paste | searchreplace selectall"
103
+ },
104
+ "format": {
105
+ "title": "Format",
106
+ "items": ""
107
+ },
108
+ "insert": {
109
+ "title": "Insert",
110
+ "items": ""
111
+ },
112
+ "table": {
113
+ "title": "Table",
114
+ "items": "inserttable deletetable | cell row column"
115
+ },
116
+ "view": {
117
+ "title": "View",
118
+ "items": "visualblocks preview fullscreen"
119
+ }
120
+ }
121
+ </value>
122
+ </record>
123
+
124
+ <!-- See possible values in https://www.tiny.cloud/docs/tinymce/latest/available-toolbar-buttons/ -->
125
+ <record interface="plone.base.interfaces.controlpanel.ITinyMCESchema"
126
+ name="plone.toolbar"
127
+ >
128
+ <value>undo redo | styleselect | bold italic superscript | bullist numlist | nonbreaking | plonelink unlink | fullscreen</value>
129
+ </record>
130
+
131
+
132
+ <!-- See paste_as_text options in https://www.tiny.cloud/docs/tinymce/latest/copy-and-paste/#paste_as_text -->
133
+ <!-- See style_formats options in https://www.tiny.cloud/docs/tinymce/latest/user-formatting-options/#style_formats -->
134
+ <!-- See default table options in https://www.tiny.cloud/docs/tinymce/latest/table-options/ -->
135
+ <!-- See plugin table options in https://www.tiny.cloud/docs/tinymce/latest/table/ -->
136
+ <record interface="plone.base.interfaces.controlpanel.ITinyMCESchema"
137
+ name="plone.other_settings"
138
+ >
139
+ <value>
140
+ {
141
+ "paste_as_text": true,
142
+ "style_formats": [
143
+ {
144
+ "block": "p",
145
+ "title": "Paragraphe"
146
+ },
147
+ {
148
+ "block": "h2",
149
+ "title": "Titre 2"
150
+ },
151
+ {
152
+ "block": "h3",
153
+ "title": "Titre 3"
154
+ },
155
+ {
156
+ "block": "h4",
157
+ "title": "Titre 4"
158
+ },
159
+ {
160
+ "block": "mark",
161
+ "title": "Mise en évidence"
162
+ },
163
+ {
164
+ "block": "blockquote",
165
+ "title": "Citation"
166
+ }
167
+ ]
168
+ }
169
+ </value>
170
+ </record>
171
+
172
+ </registry>
@@ -0,0 +1,120 @@
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 importlib.metadata import version
6
+ from plone.api import portal as portal_api
7
+ from zope.publisher.browser import TestRequest
8
+
9
+
10
+ import mock
11
+ import unittest
12
+
13
+
14
+ class TestVocabulary(unittest.TestCase):
15
+ layer = IMIO_SMARTWEB_COMMON_INTEGRATION_TESTING
16
+
17
+ def setUp(self):
18
+ """Custom shared utility setup for tests"""
19
+ self.request = TestRequest()
20
+
21
+ def test_translated_ajax_select(self):
22
+ portal_api.get_current_language = mock.Mock(return_value="fr")
23
+ widget = TranslatedAjaxSelectWidget(self.request)
24
+ widget.update()
25
+ # __import__("pdb").set_trace()
26
+ if version("plone.app.z3cform") < "4.4.0":
27
+ self.assertEqual(
28
+ {
29
+ "name": None,
30
+ "value": "",
31
+ "pattern": "select2",
32
+ "pattern_options": {"separator": ";"},
33
+ },
34
+ widget._base_args(),
35
+ )
36
+ widget.vocabulary = "imio.smartweb.vocabulary.Topics"
37
+ self.assertEqual(
38
+ widget._base_args(),
39
+ {
40
+ "name": None,
41
+ "value": "",
42
+ "pattern": "select2",
43
+ "pattern_options": {
44
+ "vocabularyUrl": "http://nohost/plone/@@getVocabulary?name=imio.smartweb.vocabulary.Topics",
45
+ "separator": ";",
46
+ },
47
+ },
48
+ )
49
+ widget.value = "entertainment"
50
+ self.assertEqual(
51
+ widget._base_args(),
52
+ {
53
+ "name": None,
54
+ "value": "entertainment",
55
+ "pattern": "select2",
56
+ "pattern_options": {
57
+ "vocabularyUrl": "http://nohost/plone/@@getVocabulary?name=imio.smartweb.vocabulary.Topics",
58
+ "initialValues": {
59
+ "entertainment": "Activités et divertissement",
60
+ },
61
+ "separator": ";",
62
+ },
63
+ },
64
+ )
65
+ else:
66
+ # _base.args has been removed
67
+ # see https://github.com/plone/plone.app.z3cform/commit/5de30e9b117885859680dfe3861f134a667cea9c
68
+ self.assertEqual(
69
+ {
70
+ "name": None,
71
+ "value": None,
72
+ "pattern": "select2",
73
+ "pattern_options": {"separator": ";"},
74
+ },
75
+ {
76
+ "name": widget.name,
77
+ "value": widget.value,
78
+ "pattern": widget.pattern,
79
+ "pattern_options": widget.get_pattern_options(),
80
+ },
81
+ )
82
+ widget.vocabulary = "imio.smartweb.vocabulary.Topics"
83
+ self.assertEqual(
84
+ {
85
+ "name": None,
86
+ "value": None,
87
+ "pattern": "select2",
88
+ "pattern_options": {
89
+ "vocabularyUrl": "http://nohost/plone/@@getVocabulary?name=imio.smartweb.vocabulary.Topics",
90
+ "separator": ";",
91
+ },
92
+ },
93
+ {
94
+ "name": widget.name,
95
+ "value": widget.value,
96
+ "pattern": widget.pattern,
97
+ "pattern_options": widget.get_pattern_options(),
98
+ },
99
+ )
100
+ widget.value = "entertainment"
101
+ self.assertEqual(
102
+ {
103
+ "name": None,
104
+ "value": "entertainment",
105
+ "pattern": "select2",
106
+ "pattern_options": {
107
+ "vocabularyUrl": "http://nohost/plone/@@getVocabulary?name=imio.smartweb.vocabulary.Topics",
108
+ "initialValues": {
109
+ "entertainment": "Activités et divertissement",
110
+ },
111
+ "separator": ";",
112
+ },
113
+ },
114
+ {
115
+ "name": widget.name,
116
+ "value": widget.value,
117
+ "pattern": widget.pattern,
118
+ "pattern_options": widget.get_pattern_options(),
119
+ },
120
+ )