@plone/volto 17.0.0-alpha.24 → 17.0.0-alpha.26

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 (130) hide show
  1. package/.yarn/install-state.gz +0 -0
  2. package/CHANGELOG.md +92 -4
  3. package/CONTRIBUTING.md +5 -1
  4. package/README.md +9 -7
  5. package/cypress/support/commands.js +12 -9
  6. package/cypress.config.js +1 -0
  7. package/locales/ca/LC_MESSAGES/volto.po +41 -15
  8. package/locales/ca.json +1 -1
  9. package/locales/de/LC_MESSAGES/volto.po +41 -15
  10. package/locales/de.json +1 -1
  11. package/locales/en/LC_MESSAGES/volto.po +40 -14
  12. package/locales/en.json +1 -1
  13. package/locales/es/LC_MESSAGES/volto.po +69 -43
  14. package/locales/es.json +1 -1
  15. package/locales/eu/LC_MESSAGES/volto.po +40 -14
  16. package/locales/eu.json +1 -1
  17. package/locales/fi/LC_MESSAGES/volto.po +40 -14
  18. package/locales/fi.json +1 -1
  19. package/locales/fr/LC_MESSAGES/volto.po +41 -15
  20. package/locales/fr.json +1 -1
  21. package/locales/it/LC_MESSAGES/volto.po +40 -14
  22. package/locales/it.json +1 -1
  23. package/locales/ja/LC_MESSAGES/volto.po +40 -14
  24. package/locales/ja.json +1 -1
  25. package/locales/nl/LC_MESSAGES/volto.po +41 -15
  26. package/locales/nl.json +1 -1
  27. package/locales/pt/LC_MESSAGES/volto.po +41 -15
  28. package/locales/pt.json +1 -1
  29. package/locales/pt_BR/LC_MESSAGES/volto.po +40 -14
  30. package/locales/pt_BR.json +1 -1
  31. package/locales/ro/LC_MESSAGES/volto.po +41 -15
  32. package/locales/ro.json +1 -1
  33. package/locales/volto.pot +41 -15
  34. package/locales/zh_CN/LC_MESSAGES/volto.po +41 -15
  35. package/locales/zh_CN.json +1 -1
  36. package/package.json +4 -4
  37. package/packages/volto-slate/build/messages/src/blocks/Table/TableBlockEdit.json +90 -0
  38. package/packages/volto-slate/build/messages/src/blocks/Text/DefaultTextBlockEditor.json +6 -0
  39. package/packages/volto-slate/build/messages/src/blocks/Text/DetachedTextBlockEditor.json +6 -0
  40. package/packages/volto-slate/build/messages/src/blocks/Text/SlashMenu.json +6 -0
  41. package/packages/volto-slate/build/messages/src/editor/plugins/AdvancedLink/index.json +10 -0
  42. package/packages/volto-slate/build/messages/src/editor/plugins/Link/index.json +10 -0
  43. package/packages/volto-slate/build/messages/src/editor/plugins/Table/index.json +30 -0
  44. package/packages/volto-slate/build/messages/src/elementEditor/messages.json +10 -0
  45. package/packages/volto-slate/build/messages/src/widgets/HtmlSlateWidget.json +6 -0
  46. package/packages/volto-slate/build/messages/src/widgets/RichTextWidgetView.json +6 -0
  47. package/packages/volto-slate/package.json +1 -1
  48. package/packages/volto-slate/src/editor/render.jsx +2 -3
  49. package/src/actions/index.js +4 -0
  50. package/src/actions/navroot/navroot.js +16 -0
  51. package/src/actions/navroot/navroot.test.js +15 -0
  52. package/src/actions/relations/relations.js +17 -0
  53. package/src/actions/site/site.js +16 -0
  54. package/src/actions/site/site.test.js +15 -0
  55. package/src/actions/userSession/userSession.js +17 -1
  56. package/src/components/manage/Blocks/Block/Settings.jsx +2 -0
  57. package/src/components/manage/Blocks/Block/Settings.test.jsx +90 -0
  58. package/src/components/manage/Blocks/Image/schema.js +5 -1
  59. package/src/components/manage/Blocks/Listing/withQuerystringResults.jsx +18 -11
  60. package/src/components/manage/Blocks/Search/hocs/withSearch.jsx +42 -25
  61. package/src/components/manage/Blocks/ToC/View.jsx +75 -13
  62. package/src/components/manage/Blocks/ToC/variations/DefaultTocRenderer.jsx +4 -13
  63. package/src/components/manage/Blocks/ToC/variations/DefaultTocRenderer.test.jsx +44 -0
  64. package/src/components/manage/Contents/Contents.jsx +27 -0
  65. package/src/components/manage/Controlpanels/Groups/GroupsControlpanel.jsx +65 -38
  66. package/src/components/manage/Controlpanels/Relations/BrokenRelations.jsx +11 -9
  67. package/src/components/manage/Controlpanels/Relations/Relations.jsx +3 -3
  68. package/src/components/manage/Controlpanels/Relations/RelationsListing.jsx +8 -7
  69. package/src/components/manage/Controlpanels/Relations/RelationsMatrix.jsx +15 -9
  70. package/src/components/manage/Controlpanels/Rules/AddRule.jsx +1 -1
  71. package/src/components/manage/Controlpanels/Rules/EditRule.jsx +1 -1
  72. package/src/components/manage/Controlpanels/Users/RenderUsers.jsx +95 -5
  73. package/src/components/manage/Controlpanels/Users/UsersControlpanel.jsx +127 -99
  74. package/src/components/manage/Diff/DiffField.jsx +25 -1
  75. package/src/components/manage/Form/BlockDataForm.jsx +3 -2
  76. package/src/components/manage/Form/BlockDataForm.test.jsx +34 -2
  77. package/src/components/manage/LinksToItem/LinksToItem.jsx +1 -1
  78. package/src/components/manage/LinksToItem/LinksToItem.test.jsx +5 -2
  79. package/src/components/manage/Messages/Messages.jsx +32 -99
  80. package/src/components/manage/Messages/Messages.test.jsx +0 -1
  81. package/src/components/manage/Sharing/Sharing.jsx +50 -21
  82. package/src/components/manage/UniversalLink/UniversalLink.jsx +4 -6
  83. package/src/components/manage/Widgets/ArrayWidget.jsx +3 -1
  84. package/src/components/manage/Widgets/ArrayWidget.test.jsx +45 -1
  85. package/src/components/manage/Widgets/FormFieldWrapper.jsx +1 -1
  86. package/src/components/manage/Widgets/RegistryImageWidget.jsx +210 -0
  87. package/src/components/manage/Widgets/RegistryImageWidget.test.jsx +91 -0
  88. package/src/components/manage/Widgets/SelectWidget.jsx +15 -1
  89. package/src/components/manage/Widgets/SelectWidget.test.jsx +45 -1
  90. package/src/components/theme/Comments/Comment.stories.jsx +84 -0
  91. package/src/components/theme/Comments/Comments.jsx +273 -378
  92. package/src/components/theme/ContentMetadataTags/ContentMetadataTags.jsx +37 -3
  93. package/src/components/theme/Login/Login.jsx +159 -241
  94. package/src/components/theme/Logo/Logo.Multilingual.test.jsx +131 -1
  95. package/src/components/theme/Logo/Logo.jsx +35 -29
  96. package/src/components/theme/Logo/Logo.test.jsx +135 -1
  97. package/src/components/theme/Logout/Logout.jsx +36 -83
  98. package/src/components/theme/Navigation/Navigation.jsx +86 -171
  99. package/src/components/theme/Search/SearchTags.jsx +30 -60
  100. package/src/components/theme/SearchWidget/SearchWidget.jsx +15 -3
  101. package/src/components/theme/SearchWidget/SearchWidget.test.jsx +8 -0
  102. package/src/components/theme/Sitemap/Sitemap.jsx +24 -13
  103. package/src/components/theme/Sitemap/Sitemap.test.jsx +23 -2
  104. package/src/components/theme/View/View.jsx +2 -0
  105. package/src/config/ControlPanels.js +0 -1
  106. package/src/config/Widgets.jsx +2 -0
  107. package/src/config/index.js +15 -3
  108. package/src/constants/ActionTypes.js +4 -0
  109. package/src/express-middleware/images.js +1 -0
  110. package/src/helpers/MessageLabels/MessageLabels.js +26 -4
  111. package/src/helpers/Site/index.js +21 -0
  112. package/src/helpers/index.js +1 -0
  113. package/src/reducers/index.js +4 -0
  114. package/src/reducers/navroot/navroot.js +79 -0
  115. package/src/reducers/navroot/navroot.test.js +110 -0
  116. package/src/reducers/relations/relations.js +74 -46
  117. package/src/reducers/site/site.js +51 -0
  118. package/src/reducers/site/site.test.js +67 -0
  119. package/src/reducers/userSession/userSession.js +15 -1
  120. package/src/server.jsx +9 -0
  121. package/test-setup-config.js +1 -0
  122. package/theme/themes/pastanaga/collections/form.overrides +46 -0
  123. package/theme/themes/pastanaga/elements/input.overrides +10 -0
  124. package/theme/themes/pastanaga/elements/label.overrides +10 -0
  125. package/theme/themes/pastanaga/extras/login.less +3 -0
  126. package/webpack-plugins/webpack-less-plugin.js +19 -0
  127. package/.gitignore~ +0 -71
  128. package/news/4547.breaking~ +0 -1
  129. package/package.json~ +0 -444
  130. package/src/config/index.js~ +0 -223
Binary file
package/CHANGELOG.md CHANGED
@@ -3,11 +3,96 @@
3
3
  <!-- You should *NOT* be adding new change log entries to this file.
4
4
  You should create a file in the news directory instead.
5
5
  For helpful instructions, please see:
6
- https://6.docs.plone.org/volto/developer-guidelines/contributing.html#create-a-pull-request
6
+ https://6.docs.plone.org/contributing/index.html#contributing-change-log-label
7
7
  -->
8
8
 
9
9
  <!-- towncrier release notes start -->
10
10
 
11
+ ## 17.0.0-alpha.26 (2023-09-14)
12
+
13
+ ### Breaking
14
+
15
+ - Upgrade to Cypress 13 @sneridagh [#5163](https://github.com/plone/volto/issues/5163)
16
+ - Removed support for Node.js 16. It is no longer supported by the Node.js community. @davisagli [#5166](https://github.com/plone/volto/issues/5166)
17
+
18
+ ### Feature
19
+
20
+ - Use the `@navroot` endpoint to build the `title` tag. @erral
21
+
22
+ Use the `@site` endpoint to render the logo. @erral
23
+
24
+ Register a widget to set the logo in the site control panel. @erral [#3537](https://github.com/plone/volto/issues/3537)
25
+ - Refactor Navigation -@Tishasoumya-02 [#4076](https://github.com/plone/volto/issues/4076)
26
+ - Added loading spinner and disable search button while data is fetching. @tedw87 [#4551](https://github.com/plone/volto/issues/4551)
27
+ - User Control panel improvements. See #4551 @erral [#4572](https://github.com/plone/volto/issues/4572)
28
+ - Messages Component Refactor - @Tishasoumya-02 [#4926](https://github.com/plone/volto/issues/4926)
29
+ - Refactor Login -@Tishasoumya-02 [#4933](https://github.com/plone/volto/issues/4933)
30
+ - Add external className to UniversalLink for external link. @iFlameing [#5109](https://github.com/plone/volto/issues/5109)
31
+ - Updated Spanish translation @macagua [#5120](https://github.com/plone/volto/issues/5120)
32
+ - (feat): Update toc block entries @dobri1408 [#5146](https://github.com/plone/volto/issues/5146)
33
+ - Views cypress test -@Tishasoumya [#5149](https://github.com/plone/volto/issues/5149)
34
+ - Added support for Node.js 20. @davisagli [#5166](https://github.com/plone/volto/issues/5166)
35
+ - Cypress test to test if 'Search results: number' text is present @ionlizarazu [#5171](https://github.com/plone/volto/issues/5171)
36
+
37
+ ### Bugfix
38
+
39
+ - Fix for responsive error in the login page when the width of the screen decreases. @suman9893 [#3250](https://github.com/plone/volto/issues/3250)
40
+ - Fix back button in the search block to execute the search by adding two useEffects that update the facets and search data based on the current URL. @MihaelaCretu11 [#4402](https://github.com/plone/volto/issues/4402)
41
+ - fix : RecursiveWidget is incorrectly translated. @suman9893 [#4503](https://github.com/plone/volto/issues/4503)
42
+ - Fix use of CSS modules in webpack 5. @wesleybl [#5019](https://github.com/plone/volto/issues/5019)
43
+ - Fix toc accessibility issue @dobri1408 [#5058](https://github.com/plone/volto/issues/5058)
44
+ - Fix storybook config for project generator. Add support for SCSS, upgrade to webpack 5 in there as well. @sneridagh [#5132](https://github.com/plone/volto/issues/5132)
45
+ - Don't show ``No value`` option in SelectWidget and ArrayWidget if default value is 0. @wesleybl [#5151](https://github.com/plone/volto/issues/5151)
46
+ - Fix SelectWidget throwing error when editing a recently created content. @iFlameing [#5154](https://github.com/plone/volto/issues/5154)
47
+ - Fix editing layout for blocks using schema enhancers. @iFlameing, @davisagli [#5158](https://github.com/plone/volto/issues/5158)
48
+ - Fix ContentRules add and edit forms for languages other than English. @ericof [#5161](https://github.com/plone/volto/issues/5161)
49
+ - Fix search block search results number @ionlizarazu [#5171](https://github.com/plone/volto/issues/5171)
50
+ - fix flaky cypress in blocks-listing.js @nileshgulia1 [#5173](https://github.com/plone/volto/issues/5173)
51
+ - Fix regression in forms input in toolbar height related to (#5115) @sneridagh [#5176](https://github.com/plone/volto/issues/5176)
52
+
53
+ ### Documentation
54
+
55
+ - Fix linkcheckbroken 301 redirect to https://www.dlr.de/de @stevepiercy [#5131](https://github.com/plone/volto/issues/5131)
56
+
57
+
58
+ ## 17.0.0-alpha.25 (2023-08-25)
59
+
60
+ ### Breaking
61
+
62
+ - Spin off relation stats action. Get relation stats with getRelationStats() instead of with queryRelations(). @ksuess
63
+ Refactor relations actions: slightly change the shape of the redux state for `queryRelations` to follow common signatures. @ksuess [#5041](https://github.com/plone/volto/issues/5041)
64
+
65
+ ### Feature
66
+
67
+ - Refactor Comment -@Tishasoumya-02 [#4074](https://github.com/plone/volto/issues/4074)
68
+ - Refactor Logout component @Tishasoumya-02 [#4860](https://github.com/plone/volto/issues/4860)
69
+ - Refactore SearchTags @Tishasoumya-02 [#4873](https://github.com/plone/volto/issues/4873)
70
+
71
+ ### Bugfix
72
+
73
+ - Allow a user to register when they use an email address as their username. [#5031](https://github.com/plone/volto/issues/5031) @mehedikhan72 [#5031](https://github.com/plone/volto/issues/5031)
74
+ - Fix querystringResults subrequests id, to work properly in duplicate pages where blocks id's are the same. @giuliaghisini [#5070](https://github.com/plone/volto/issues/5070)
75
+ - Fix i18n for link settings fieldset in the image block @iRohitSingh [#5075](https://github.com/plone/volto/issues/5075)
76
+ - Prevent caching the outdated browser message in a shared cache. @davisagli [#5076](https://github.com/plone/volto/issues/5076)
77
+ - Fix accessibility of the content folder buttons. @SaraBianchi [#5101](https://github.com/plone/volto/issues/5101)
78
+ - For folders inside navigation roots, properly fetch navigation from the
79
+ navroot, rather then the site root @tiberiuichim [#5106](https://github.com/plone/volto/issues/5106)
80
+ - Fix uncached case when the widget is slate on diff @dobri1408 [#5107](https://github.com/plone/volto/issues/5107)
81
+ - Fix load addon translations: last addon translations wins @giuliaghisini [#5113](https://github.com/plone/volto/issues/5113)
82
+ - [Visual bugfix] Match the original mockups for PastanagaUI in regards of the error messages in form field elements @sneridagh [#5115](https://github.com/plone/volto/issues/5115)
83
+ - Fix default toc renderer for nested entries @pnicolli [#5116](https://github.com/plone/volto/issues/5116)
84
+ - Fix inherit checkbox in sharing view @sneridagh [#5514](https://github.com/plone/volto/issues/5514)
85
+
86
+ ### Internal
87
+
88
+ - Improved spellcheck to keep spellings consistent. @chirayu-humar [#1190](https://github.com/plone/volto/issues/1190)
89
+
90
+ ### Documentation
91
+
92
+ - Update links to contributing. @stevepiercy [#5084](https://github.com/plone/volto/issues/5084)
93
+ - Accept `plone` and `volto` in labels with janky regex. Include Vale styles directory for checking spelling and styles. @stevepiercy [#5095](https://github.com/plone/volto/issues/5095)
94
+
95
+
11
96
  ## 17.0.0-alpha.24 (2023-08-09)
12
97
 
13
98
  ### Breaking
@@ -23,6 +108,9 @@
23
108
 
24
109
  - Fix 302 redirect in changelog. @stevepiercy [#5068](https://github.com/plone/volto/issues/5068)
25
110
 
111
+ ### Internal
112
+
113
+ - Add https://www.dlr.de/de to "Volto in production" list. @tisto [#5112](https://github.com/plone/volto/pull/5112)
26
114
 
27
115
  ## 17.0.0-alpha.23 (2023-07-28)
28
116
 
@@ -469,7 +557,7 @@
469
557
 
470
558
  ### Breaking
471
559
 
472
- - Volto 17 drops support for NodeJS 14, and adds support for NodeJS 18.
560
+ - Volto 17 drops support for NodeJS 14, and adds support for Node.js 18.
473
561
  Please see the [upgrade guide](https://6.docs.plone.org/volto/upgrade-guide/index.html)
474
562
  for more information.
475
563
 
@@ -1369,7 +1457,7 @@ See https://6.docs.plone.org/volto/upgrade-guide/index.html for more information
1369
1457
  - Update README with latest versions, point to Plone 6 as recommended default @sneridagh
1370
1458
  - Trigger a new deploy core Plone documentation when Volto documentation is updated @esteele
1371
1459
  - Update supported Python versions. @stevepiercy
1372
- - Add NodeJS 18 (LTS) usage notice @sneridagh
1460
+ - Add Node.js 18 (LTS) usage notice @sneridagh
1373
1461
  - Fix Netlify build @sneridagh
1374
1462
  - Fix grammar in Theming Strategy. Fixes #954. @stevepiercy
1375
1463
  - Fix wording in About Semantic UI. Fixes #953. @stevepiercy
@@ -1582,7 +1670,7 @@ See https://6.docs.plone.org/volto/upgrade-guide/index.html for more information
1582
1670
 
1583
1671
  ### Documentation
1584
1672
 
1585
- - Add NodeJS 18 (LTS) usage notice @sneridagh
1673
+ - Add Node.js 18 (LTS) usage notice @sneridagh
1586
1674
  - Fix Netlify build @sneridagh
1587
1675
 
1588
1676
  ## 16.0.0-alpha.45 (2022-10-24)
package/CONTRIBUTING.md CHANGED
@@ -1,3 +1,7 @@
1
1
  # Contributing to Volto
2
2
 
3
- See [Contributing to Volto](https://6.docs.plone.org/volto/developer-guidelines/contributing.html).
3
+ See the following documents.
4
+
5
+ - [Contributing to Plone](https://6.docs.plone.org/contributing/index.html)
6
+ - [Contributing to Volto](https://6.docs.plone.org/volto/contributing/index.html)
7
+ - [First-time contributors](https://6.docs.plone.org/contributing/first-time.html)
package/README.md CHANGED
@@ -134,7 +134,7 @@ Go to [http://localhost:3000](http://localhost:3000) in your browser.
134
134
  Volto is actively developed since 2017 and used in production since 2018 on the following websites:
135
135
 
136
136
  - [VHS Ehrenamtsportal](https://vhs-ehrenamtsportal.de) (Website to help volunteers that help refugees for the [German Adult Education Association](https://www.dvv-vhs.de/en/home/), developed by [kitconcept GmbH](https://kitconcept.com), 2018)
137
- - [Zeelandia](https://zeelandia.de) (Corporate website for one of the leading backery ingredients manufacturers in Germany, developed by [kitconcept GmbH](https://kitconcept.com), 2019)
137
+ - [Zeelandia](https://zeelandia.de) (Corporate website for one of the leading bakery ingredients manufacturers in Germany, developed by [kitconcept GmbH](https://kitconcept.com), 2019)
138
138
  - [Excellence at Humboldt-Universität zu Berlin](https://www.alles-beginnt-mit-einer-frage.de) (Website for the excellence initiative of the [Humboldt University Berlin](https://hu-berlin.de), developed by [kitconcept GmbH](https://kitconcept.com), 2019)
139
139
  - [Forest Information System for Europe](https://forest.eea.europa.eu) (Thematic website focusing on European forests, developed by [Eau de Web](https://www.eaudeweb.ro), 2019)
140
140
  - [Industrial Emissions portal for Europe](https://industry.eea.europa.eu) (Thematic website focusing on European industrial emissions, developed by [Eau de Web](https://www.eaudeweb.ro), 2020)
@@ -177,6 +177,7 @@ Volto is actively developed since 2017 and used in production since 2018 on the
177
177
  - [Helmholtz-Institut Erlangen-Nürnberg für Erneuerbare Energien (HI-ERN)](https://www.hi-ern.de) (Website for HI ERN, a research institution for renewable energies, developed by [kitconcept GmbH](https://kitconcept.com), 2022)
178
178
  - [Lanku](https://www.lanku.eus) (Website for Lanku Kultur Zerbitzuak, a company offering cultural services and improvised Basque verse singing sessions across the Basque Country, developed by [CodeSyntax](https://www.codesyntax.com/en), 2023)
179
179
  - [UEU](https://www.ueu.eus) (Website for Udako Euskal Unibertsitatea, a non-profit University offering all its service only in Basque: courses, publications, ... developed by [CodeSyntax](https://www.codesyntax.com/en), 2023)
180
+ - [German Aerospace Center (DLR)](https://www.dlr.de/de) (The German Aerospace Center (DLR) is the Federal Republic of Germany's research center for aeronautics. With more than 10.000 employees and a yearly budget of more than 1 billion euros, it is one of the largest research institutions in Germany, developed by [kitconcept GmbH](https://kitconcept.com), 2023)
180
181
 
181
182
  Please create a new [issue](https://github.com/plone/volto/issues/new) or [pull request](https://github.com/plone/volto/pulls) to add your Volto-site here!
182
183
 
@@ -225,13 +226,14 @@ On the [Plone Training website](https://training.plone.org), you'll find Volto-d
225
226
 
226
227
  [Timo Stollenwerk - Reinventing Plone, Roadmap to the Modern Web](https://2018.ploneconf.org/talks/reinventing-plone-roadmap-to-the-modern-web)
227
228
 
228
- ## Node Support
229
+ ## Node.js Support
229
230
 
230
- - Node 18: Supported since Volto 17
231
- - Node 16: Supported since Volto 14
232
- - Node 14: No longer supported. It was supported from Volto 8.8.0 - 16
233
- - Node 12: No longer supported. It was supported from Volto 4 - 15
234
- - Node 10: No longer supported. It was supported from Volto 1 - 12
231
+ - Node.js 20: Supported since Volto 17
232
+ - Node.js 18: Supported since Volto 17
233
+ - Node.js 16: No longer supported. It was supported from Volto 14 - 16
234
+ - Node.js 14: No longer supported. It was supported from Volto 8.8.0 - 16
235
+ - Node.js 12: No longer supported. It was supported from Volto 4 - 15
236
+ - Node.js 10: No longer supported. It was supported from Volto 1 - 12
235
237
 
236
238
  ## Browser support
237
239
 
@@ -780,13 +780,16 @@ Cypress.Commands.add('lineBreakInSlate', { prevSubject: true }, (subject) => {
780
780
  );
781
781
  });
782
782
 
783
- Cypress.Commands.add('setSlateSelection', (subject, query, endQuery) => {
784
- cy.get('.slate-editor.selected [contenteditable=true]')
785
- .focus()
786
- // .click()
787
- .setSelection(subject, query, endQuery)
788
- .wait(1000); // this wait is needed for the selection change to be detected after
789
- });
783
+ Cypress.Commands.add(
784
+ 'setSlateSelection',
785
+ (subject, query, endQuery, wait = 1000) => {
786
+ cy.get('.slate-editor.selected [contenteditable=true]')
787
+ .focus()
788
+ // .click()
789
+ .setSelection(subject, query, endQuery)
790
+ .wait(wait); // this wait is needed for the selection change to be detected after
791
+ },
792
+ );
790
793
 
791
794
  Cypress.Commands.add('getSlateEditorAndType', (type) => {
792
795
  cy.getSlate().focus().click().type(type);
@@ -804,9 +807,9 @@ Cypress.Commands.add('setSlateCursor', (subject, query, endQuery) => {
804
807
  .wait(1000); // this wait is needed for the selection change to be detected after
805
808
  });
806
809
 
807
- Cypress.Commands.add('clickSlateButton', (button) => {
810
+ Cypress.Commands.add('clickSlateButton', (button, timeout = 1000) => {
808
811
  cy.get(`.slate-inline-toolbar .button-wrapper a[title="${button}"]`, {
809
- timeout: 1000,
812
+ timeout,
810
813
  }).click({ force: true }); // force click is needed to ensure the button in visible in view.
811
814
  });
812
815
 
package/cypress.config.js CHANGED
@@ -4,6 +4,7 @@ module.exports = defineConfig({
4
4
  viewportWidth: 1280,
5
5
  chromeWebSecurity: false,
6
6
  projectId: 'hvviu4',
7
+ video: true, // To remove when Test Replay is available in cypress.io
7
8
  e2e: {
8
9
  baseUrl: 'http://127.0.0.1:3000',
9
10
  excludeSpecPattern: ['*~'],
@@ -617,6 +617,7 @@ msgid "Choose Target"
617
617
  msgstr "Trieu Destí"
618
618
 
619
619
  #: components/manage/Widgets/FileWidget
620
+ #: components/manage/Widgets/RegistryImageWidget
620
621
  # defaultMessage: Choose a file
621
622
  msgid "Choose a file"
622
623
  msgstr "Trieu un fitxer"
@@ -804,7 +805,7 @@ msgid "Copy"
804
805
  msgstr "Copia"
805
806
 
806
807
  #: helpers/MessageLabels/MessageLabels
807
- # defaultMessage: undefined
808
+ # defaultMessage: Copy blocks
808
809
  msgid "Copy blocks"
809
810
  msgstr "Copiar blocks"
810
811
 
@@ -877,7 +878,7 @@ msgid "Cut"
877
878
  msgstr "Talla"
878
879
 
879
880
  #: helpers/MessageLabels/MessageLabels
880
- # defaultMessage: undefined
881
+ # defaultMessage: Cut blocks
881
882
  msgid "Cut blocks"
882
883
  msgstr "Talla bloc"
883
884
 
@@ -984,7 +985,7 @@ msgid "Delete action"
984
985
  msgstr ""
985
986
 
986
987
  #: helpers/MessageLabels/MessageLabels
987
- # defaultMessage: undefined
988
+ # defaultMessage: Delete blocks
988
989
  msgid "Delete blocks"
989
990
  msgstr "Esborra blocs"
990
991
 
@@ -1118,16 +1119,19 @@ msgid "Drag and drop files from your computer onto this area or click the “Bro
1118
1119
  msgstr "Arrossegueu i deixeu anar fitxers des del vostre ordinador a aquesta àrea o feu clic al botó 'Examinar'."
1119
1120
 
1120
1121
  #: components/manage/Widgets/FileWidget
1122
+ #: components/manage/Widgets/RegistryImageWidget
1121
1123
  # defaultMessage: Drop file here to replace the existing file
1122
1124
  msgid "Drop file here to replace the existing file"
1123
1125
  msgstr "Deixeu anar el fitxer aquí per substituir el fitxer existent"
1124
1126
 
1125
1127
  #: components/manage/Widgets/FileWidget
1128
+ #: components/manage/Widgets/RegistryImageWidget
1126
1129
  # defaultMessage: Drop file here to upload a new file
1127
1130
  msgid "Drop file here to upload a new file"
1128
1131
  msgstr "Deixeu anar el fitxer aquí per pujar un fitxer nou"
1129
1132
 
1130
1133
  #: components/manage/Widgets/FileWidget
1134
+ #: components/manage/Widgets/RegistryImageWidget
1131
1135
  # defaultMessage: Drop files here ...
1132
1136
  msgid "Drop files here ..."
1133
1137
  msgstr "Deixeu fitxers aquí..."
@@ -1151,6 +1155,7 @@ msgstr "Les adreces de correu electrònic no coincideixen."
1151
1155
  #: components/manage/Controlpanels/ContentTypesActions
1152
1156
  #: components/manage/Controlpanels/ModerateComments
1153
1157
  #: components/manage/Controlpanels/Rules/EditRule
1158
+ #: components/manage/Controlpanels/Users/RenderUsers
1154
1159
  #: components/manage/Toolbar/Toolbar
1155
1160
  #: components/manage/Widgets/FormFieldWrapper
1156
1161
  #: components/manage/Widgets/ObjectBrowserWidget
@@ -1816,6 +1821,11 @@ msgstr "Any(s)"
1816
1821
  msgid "Invalid Block"
1817
1822
  msgstr ""
1818
1823
 
1824
+ #: helpers/MessageLabels/MessageLabels
1825
+ # defaultMessage: It is not allowed to define both the password and to request sending the password reset message by e-mail. You need to select one of them.
1826
+ msgid "It is not allowed to define both the password and to request sending the password reset message by e-mail. You need to select one of them."
1827
+ msgstr ""
1828
+
1819
1829
  #: components/manage/Widgets/QuerystringWidget
1820
1830
  # defaultMessage: Item batch size
1821
1831
  msgid "Item batch size"
@@ -1956,6 +1966,11 @@ msgstr "Enllaça més"
1956
1966
  msgid "Link redirect view"
1957
1967
  msgstr "Redirecció d'enllaç"
1958
1968
 
1969
+ #: components/manage/Blocks/Image/schema
1970
+ # defaultMessage: Link settings
1971
+ msgid "Link settings"
1972
+ msgstr ""
1973
+
1959
1974
  #: components/manage/Blocks/HeroImageLeft/schema
1960
1975
  #: components/manage/Blocks/Listing/schema
1961
1976
  # defaultMessage: Link Title
@@ -2495,7 +2510,7 @@ msgid "Paste"
2495
2510
  msgstr "Enganxar"
2496
2511
 
2497
2512
  #: helpers/MessageLabels/MessageLabels
2498
- # defaultMessage: undefined
2513
+ # defaultMessage: Paste blocks
2499
2514
  msgid "Paste blocks"
2500
2515
  msgstr "Enganxa blocs"
2501
2516
 
@@ -2586,11 +2601,6 @@ msgstr ""
2586
2601
  msgid "Plone Foundation"
2587
2602
  msgstr "Fundació Plone"
2588
2603
 
2589
- #: components/theme/Logo/Logo
2590
- # defaultMessage: Plone Site
2591
- msgid "Plone Site"
2592
- msgstr "Lloc de Plone"
2593
-
2594
2604
  #: components/theme/Footer/Footer
2595
2605
  # defaultMessage: Plone{reg} Open Source CMS/WCM
2596
2606
  msgid "Plone{reg} Open Source CMS/WCM"
@@ -2832,6 +2842,7 @@ msgid "Repeat on"
2832
2842
  msgstr "Repetiu"
2833
2843
 
2834
2844
  #: components/manage/Widgets/FileWidget
2845
+ #: components/manage/Widgets/RegistryImageWidget
2835
2846
  # defaultMessage: Replace existing file
2836
2847
  msgid "Replace existing file"
2837
2848
  msgstr "Substitueix el fitxer existent"
@@ -3274,11 +3285,6 @@ msgstr "Redueix la barra d'eines"
3274
3285
  msgid "Sign in to start session"
3275
3286
  msgstr "Inicieu la sessió per iniciar la sessió"
3276
3287
 
3277
- #: components/theme/Logo/Logo
3278
- # defaultMessage: Site
3279
- msgid "Site"
3280
- msgstr "Lloc"
3281
-
3282
3288
  #: components/theme/NotFound/NotFound
3283
3289
  #: components/theme/Unauthorized/Unauthorized
3284
3290
  # defaultMessage: Site Administration
@@ -3620,6 +3626,16 @@ msgstr "La còpia de treball es va descartar"
3620
3626
  msgid "The {plonecms} is {copyright} 2000-{current_year} by the {plonefoundation} and friends."
3621
3627
  msgstr "El {plonecms} és {copyright} 2000-{current_year} per {plonefoundation} i amics."
3622
3628
 
3629
+ #: helpers/MessageLabels/MessageLabels
3630
+ # defaultMessage: There are no groups with the searched criteria
3631
+ msgid "There are no groups with the searched criteria"
3632
+ msgstr ""
3633
+
3634
+ #: helpers/MessageLabels/MessageLabels
3635
+ # defaultMessage: There are no users with the searched criteria
3636
+ msgid "There are no users with the searched criteria"
3637
+ msgstr ""
3638
+
3623
3639
  #: components/theme/CorsError/CorsError
3624
3640
  # defaultMessage: There is a configuration problem on the backend
3625
3641
  msgid "There is a configuration problem on the backend"
@@ -3905,6 +3921,11 @@ msgstr ""
3905
3921
  msgid "Update"
3906
3922
  msgstr "Actualització"
3907
3923
 
3924
+ #: helpers/MessageLabels/MessageLabels
3925
+ # defaultMessage: Update User
3926
+ msgid "Update User"
3927
+ msgstr ""
3928
+
3908
3929
  #: components/manage/Controlpanels/AddonsControlpanel
3909
3930
  # defaultMessage: Update installed addons
3910
3931
  msgid "Update installed addons"
@@ -4020,6 +4041,11 @@ msgstr "Nom d'usuari"
4020
4041
  msgid "User roles updated"
4021
4042
  msgstr "Rols d'usuari actualitzats"
4022
4043
 
4044
+ #: helpers/MessageLabels/MessageLabels
4045
+ # defaultMessage: User updated successfuly
4046
+ msgid "User updated successfuly"
4047
+ msgstr ""
4048
+
4023
4049
  #: helpers/MessageLabels/MessageLabels
4024
4050
  # defaultMessage: Username
4025
4051
  msgid "Username"
@@ -4640,7 +4666,7 @@ msgstr "a"
4640
4666
  #: components/manage/Widgets/RecurrenceWidget/Utils
4641
4667
  # defaultMessage: [month] [day], [year]
4642
4668
  msgid "rrule_dateFormat"
4643
- msgstr "[mes] [dia], [any]"
4669
+ msgstr "[month] [day], [year]"
4644
4670
 
4645
4671
  #: components/manage/Widgets/RecurrenceWidget/Utils
4646
4672
  # defaultMessage: day