@plone/volto 17.0.0-alpha.1 → 17.0.0-alpha.11
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.
- package/.yarn/install-state.gz +0 -0
- package/CHANGELOG.md +403 -16
- package/CONTRIBUTING.md +1 -1
- package/README.md +12 -15
- package/addon-registry.js +34 -0
- package/create-theme-addons-loader.js +79 -0
- package/cypress/support/commands.js +45 -0
- package/locales/ca/LC_MESSAGES/volto.po +187 -6
- package/locales/ca.json +1 -1
- package/locales/de/LC_MESSAGES/volto.po +206 -25
- package/locales/de.json +1 -1
- package/locales/en/LC_MESSAGES/volto.po +186 -5
- package/locales/en.json +1 -1
- package/locales/es/LC_MESSAGES/volto.po +187 -6
- package/locales/es.json +1 -1
- package/locales/eu/LC_MESSAGES/volto.po +187 -6
- package/locales/eu.json +1 -1
- package/locales/fi/LC_MESSAGES/volto.po +4792 -0
- package/locales/fi.json +1 -1
- package/locales/fr/LC_MESSAGES/volto.po +187 -6
- package/locales/fr.json +1 -1
- package/locales/it/LC_MESSAGES/volto.po +187 -6
- package/locales/it.json +1 -1
- package/locales/ja/LC_MESSAGES/volto.po +187 -6
- package/locales/ja.json +1 -1
- package/locales/nl/LC_MESSAGES/volto.po +842 -649
- package/locales/nl.json +1 -1
- package/locales/pt/LC_MESSAGES/volto.po +187 -6
- package/locales/pt.json +1 -1
- package/locales/pt_BR/LC_MESSAGES/volto.po +195 -14
- package/locales/pt_BR.json +1 -1
- package/locales/ro/LC_MESSAGES/volto.po +187 -6
- package/locales/ro.json +1 -1
- package/locales/volto.pot +187 -6
- package/locales/zh_CN/LC_MESSAGES/volto.po +187 -6
- package/locales/zh_CN.json +1 -1
- package/package-why.json +0 -1
- package/package.json +9 -8
- package/packages/volto-slate/build/messages/src/blocks/Table/TableBlockEdit.json +1 -1
- package/packages/volto-slate/build/messages/src/blocks/Text/DefaultTextBlockEditor.json +1 -1
- package/packages/volto-slate/build/messages/src/blocks/Text/DetachedTextBlockEditor.json +1 -1
- package/packages/volto-slate/build/messages/src/blocks/Text/SlashMenu.json +1 -1
- package/packages/volto-slate/build/messages/src/editor/plugins/AdvancedLink/index.json +1 -1
- package/packages/volto-slate/build/messages/src/editor/plugins/Link/index.json +1 -1
- package/packages/volto-slate/build/messages/src/editor/plugins/Table/index.json +1 -1
- package/packages/volto-slate/build/messages/src/elementEditor/messages.json +1 -1
- package/packages/volto-slate/build/messages/src/widgets/HtmlSlateWidget.json +1 -1
- package/packages/volto-slate/build/messages/src/widgets/RichTextWidgetView.json +1 -1
- package/packages/volto-slate/package.json +1 -1
- package/packages/volto-slate/src/blocks/Table/index.js +2 -0
- package/packages/volto-slate/src/blocks/Text/SlashMenu.jsx +4 -3
- package/packages/volto-slate/src/editor/deserialize.js +0 -1
- package/packages/volto-slate/src/editor/plugins/StyleMenu/StyleMenu.jsx +14 -4
- package/razzle.config.js +28 -0
- package/src/actions/index.js +6 -0
- package/src/actions/language/language.js +9 -8
- package/src/actions/querystringsearch/querystringsearch.js +20 -14
- package/src/actions/relations/rebuild.js +25 -0
- package/src/actions/relations/relations.js +86 -0
- package/src/actions/relations/relations.test.js +15 -0
- package/src/components/index.js +1 -0
- package/src/components/manage/Add/Add.jsx +2 -2
- package/src/components/manage/BlockChooser/BlockChooser.jsx +14 -5
- package/src/components/manage/BlockChooser/BlockChooser.test.jsx +5 -0
- package/src/components/manage/Blocks/Listing/Edit.jsx +0 -19
- package/src/components/manage/Blocks/Listing/ListingBody.jsx +77 -61
- package/src/components/manage/Blocks/Listing/ListingBody.test.jsx +20 -0
- package/src/components/manage/Blocks/Listing/View.jsx +0 -4
- package/src/components/manage/Blocks/Listing/getAsyncData.js +10 -2
- package/src/components/manage/Blocks/Listing/withQuerystringResults.jsx +25 -16
- package/src/components/manage/Blocks/Search/SearchBlockEdit.jsx +5 -4
- package/src/components/manage/Blocks/Search/SearchBlockView.jsx +2 -1
- package/src/components/manage/Blocks/Search/components/DateRangeFacet.jsx +4 -1
- package/src/components/manage/Blocks/Search/components/Facets.jsx +58 -2
- package/src/components/manage/Blocks/Search/hocs/withSearch.jsx +32 -15
- package/src/components/manage/Blocks/Search/layout/LeftColumnFacets.jsx +17 -5
- package/src/components/manage/Blocks/Search/layout/RightColumnFacets.jsx +17 -5
- package/src/components/manage/Blocks/Search/layout/TopSideFacets.jsx +21 -5
- package/src/components/manage/Blocks/Search/schema.js +16 -1
- package/src/components/manage/Blocks/ToC/Edit.jsx +1 -0
- package/src/components/manage/Contents/Contents.jsx +69 -33
- package/src/components/manage/Contents/ContentsItem.jsx +6 -0
- package/src/components/manage/Controlpanels/AddonsControlpanel.jsx +3 -3
- package/src/components/manage/Controlpanels/Controlpanels.jsx +199 -224
- package/src/components/manage/Controlpanels/Controlpanels.test.jsx +46 -7
- package/src/components/manage/Controlpanels/Relations/BrokenRelations.jsx +66 -0
- package/src/components/manage/Controlpanels/Relations/Relations.jsx +114 -0
- package/src/components/manage/Controlpanels/Relations/RelationsListing.jsx +479 -0
- package/src/components/manage/Controlpanels/Relations/RelationsMatrix.jsx +531 -0
- package/src/components/manage/Controlpanels/Users/UserGroupMembershipControlPanel.jsx +3 -3
- package/src/components/manage/Controlpanels/Users/UserGroupMembershipListing.jsx +51 -82
- package/src/components/manage/Controlpanels/Users/UserGroupMembershipMatrix.jsx +79 -75
- package/src/components/manage/DragDropList/DragDropList.jsx +63 -42
- package/src/components/manage/Form/BlocksToolbar.jsx +5 -1
- package/src/components/manage/Form/Form.jsx +11 -5
- package/src/components/manage/Form/InlineForm.jsx +39 -9
- package/src/components/manage/Form/InlineFormState.js +8 -0
- package/src/components/manage/Multilingual/CreateTranslation.jsx +2 -2
- package/src/components/manage/Multilingual/TranslationObject.jsx +4 -3
- package/src/components/manage/Preferences/ChangePassword.jsx +2 -2
- package/src/components/manage/Preferences/PersonalPreferences.jsx +2 -2
- package/src/components/manage/Toast/Toast.jsx +1 -1
- package/src/components/manage/Toolbar/Types.jsx +2 -2
- package/src/components/manage/Widgets/DatetimeWidget.jsx +9 -5
- package/src/components/manage/Widgets/ObjectListWidget.jsx +3 -8
- package/src/components/manage/Widgets/RecurrenceWidget/ByDayField.jsx +2 -1
- package/src/components/manage/Widgets/RecurrenceWidget/MonthOfTheYearField.jsx +2 -1
- package/src/components/manage/Widgets/RecurrenceWidget/Occurences.jsx +2 -1
- package/src/components/manage/Widgets/RecurrenceWidget/RecurrenceWidget.jsx +7 -2
- package/src/components/manage/Widgets/RecurrenceWidget/WeekdayOfTheMonthField.jsx +2 -1
- package/src/components/manage/Widgets/SelectUtils.js +1 -1
- package/src/components/manage/Widgets/SelectWidget.jsx +1 -1
- package/src/components/theme/Footer/Footer.jsx +2 -13
- package/src/components/theme/Header/Header.jsx +37 -63
- package/src/components/theme/Header/Header.test.jsx +18 -0
- package/src/components/theme/Icon/Icon.jsx +2 -2
- package/src/components/theme/LanguageSelector/LanguageSelector.js +8 -3
- package/src/components/theme/Login/Login.jsx +1 -0
- package/src/components/theme/Logo/Logo.jsx +2 -1
- package/src/components/theme/MultilingualRedirector/MultilingualRedirector.jsx +2 -2
- package/src/components/theme/Navigation/NavItem.jsx +4 -2
- package/src/components/theme/NotFound/NotFound.jsx +55 -41
- package/src/components/theme/PasswordReset/PasswordReset.jsx +7 -4
- package/src/components/theme/PasswordReset/RequestPasswordReset.jsx +1 -1
- package/src/components/theme/Sitemap/Sitemap.jsx +5 -3
- package/src/components/theme/View/DefaultView.jsx +1 -1
- package/src/components/theme/View/EventDatesInfo.jsx +2 -1
- package/src/components/theme/View/RenderBlocks.jsx +7 -1
- package/src/components/theme/Widgets/DateWidget.jsx +2 -1
- package/src/components/theme/Widgets/DatetimeWidget.jsx +2 -1
- package/src/components/theme/Widgets/RelationsWidget.jsx +13 -11
- package/src/config/ControlPanels.js +2 -0
- package/src/config/Widgets.jsx +1 -0
- package/src/config/index.js +2 -0
- package/src/constants/ActionTypes.js +4 -0
- package/src/constants/Languages.js +8 -4
- package/src/express-middleware/sitemap.js +36 -4
- package/src/helpers/Api/Api.js +1 -1
- package/src/helpers/FormValidation/FormValidation.js +11 -2
- package/src/helpers/FormValidation/FormValidation.test.js +73 -0
- package/src/helpers/Html/Html.jsx +3 -1
- package/src/helpers/Html/Html.test.jsx +5 -0
- package/src/helpers/MessageLabels/MessageLabels.js +72 -0
- package/src/helpers/Robots/Robots.js +24 -6
- package/src/helpers/Sitemap/Sitemap.js +44 -2
- package/src/helpers/Url/Url.js +27 -6
- package/src/helpers/Url/Url.test.js +26 -0
- package/src/helpers/Utils/Utils.js +38 -13
- package/src/helpers/Utils/Utils.test.js +4 -4
- package/src/helpers/Utils/usePagination.js +72 -14
- package/src/helpers/Utils/usePagination.test.js +115 -0
- package/src/helpers/index.js +7 -2
- package/src/hooks/userSession/useToken.js +5 -0
- package/src/middleware/Api.test.js +54 -0
- package/src/middleware/api.js +8 -4
- package/src/reducers/actions/actions.js +1 -1
- package/src/reducers/breadcrumbs/breadcrumbs.js +1 -1
- package/src/reducers/index.js +2 -0
- package/src/reducers/navigation/navigation.js +1 -1
- package/src/reducers/relations/relations.js +173 -0
- package/src/reducers/types/types.js +1 -1
- package/src/routes.js +5 -0
- package/src/server.jsx +28 -23
- package/test-setup-config.js +1 -0
- package/theme/themes/pastanaga/extras/contents.less +1 -0
- package/theme/themes/pastanaga/extras/main.less +80 -1
- package/theme/themes/pastanaga/extras/search.less +6 -0
- package/theme/themes/pastanaga/extras/sidebar.less +4 -0
- package/theme/themes/pastanaga/extras/userscontrolpanel.less +99 -76
- package/.changelog.draft +0 -28
- package/.editorconfig +0 -36
- package/.storybook/main.js +0 -127
- package/.storybook/manager.js +0 -15
- package/.storybook/preview.js +0 -21
- package/.storybook/static/previewImage.svg +0 -48
- package/.yarnrc.yml +0 -5
- package/jsdoc.json +0 -16
- package/netlify.toml +0 -5
- package/pyvenv.cfg +0 -3
- package/share/man/man1/ttx.1 +0 -225
- package/src/components/theme/Header/Header.md +0 -27
- package/towncrier.toml +0 -33
package/.yarn/install-state.gz
CHANGED
|
Binary file
|
package/CHANGELOG.md
CHANGED
|
@@ -3,11 +3,213 @@
|
|
|
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.
|
|
6
|
+
https://6.docs.plone.org/volto/developer-guidelines/contributing.html#create-a-pull-request
|
|
7
7
|
-->
|
|
8
8
|
|
|
9
9
|
<!-- towncrier release notes start -->
|
|
10
10
|
|
|
11
|
+
## 17.0.0-alpha.11 (2023-06-09)
|
|
12
|
+
|
|
13
|
+
### Bugfix
|
|
14
|
+
|
|
15
|
+
- Added current page parameter to route in listing and search block pagination - Fix: #3868 @bipoza [#4159](https://github.com/plone/volto/issues/4159)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
## 17.0.0-alpha.10 (2023-06-09)
|
|
19
|
+
|
|
20
|
+
### Feature
|
|
21
|
+
|
|
22
|
+
- Search Block: Add support for advanced facets that are only displayed on demand.
|
|
23
|
+
[pbauer, razvanMiu, claudiaifrim] [#4783](https://github.com/plone/volto/issues/4783)
|
|
24
|
+
- Display PAS validation errors. [tschorr] [#4801](https://github.com/plone/volto/issues/4801)
|
|
25
|
+
- Added a CSS identifier to the Slate style menu options. @razvanMiu [#4846](https://github.com/plone/volto/issues/4846)
|
|
26
|
+
- Use a Container from the registry in the Form component and fallback to the Semantic UI one. @sneridagh [#4849](https://github.com/plone/volto/issues/4849)
|
|
27
|
+
- Update Brazilian Portuguese translations @ericof [#4853](https://github.com/plone/volto/issues/4853)
|
|
28
|
+
|
|
29
|
+
### Bugfix
|
|
30
|
+
|
|
31
|
+
- Convert header class to function. @gomez [#4767](https://github.com/plone/volto/issues/4767)
|
|
32
|
+
- Do not break validation on required number field with value 0 @cekk [#4841](https://github.com/plone/volto/issues/4841)
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
## 17.0.0-alpha.9 (2023-06-01)
|
|
36
|
+
|
|
37
|
+
### Bugfix
|
|
38
|
+
|
|
39
|
+
- Fix special characters in request urls @pnicolli @mamico @luca-bellenghi @cekk [#4825](https://github.com/plone/volto/issues/4825)
|
|
40
|
+
- Fix block is undefined in StyleWrapper helper when building classnames @sneridagh [#4827](https://github.com/plone/volto/issues/4827)
|
|
41
|
+
- Fix navigation sections in 404 pages @sneridagh [#4836](https://github.com/plone/volto/issues/4836)
|
|
42
|
+
|
|
43
|
+
### Documentation
|
|
44
|
+
|
|
45
|
+
- Fix glossary warning due to lack of empty line before a term. @stevepiercy [#4820](https://github.com/plone/volto/issues/4820)
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
## 17.0.0-alpha.8 (2023-05-24)
|
|
49
|
+
|
|
50
|
+
### Feature
|
|
51
|
+
|
|
52
|
+
- Add Finnish translation (contributed by @rioksane) @erral [#4084](https://github.com/plone/volto/issues/4084)
|
|
53
|
+
|
|
54
|
+
### Bugfix
|
|
55
|
+
|
|
56
|
+
- Fixed the issue "shouldn't use a hook like function name for a variable" @Kaku-g [#4693](https://github.com/plone/volto/issues/4693)
|
|
57
|
+
- Fix to not update breadrumbs, navigation, actions, and types when content is fetched as a subrequest and apiExpanders includes these components. @davisagli [#4760](https://github.com/plone/volto/issues/4760)
|
|
58
|
+
- Fix bug where editors could not see their own content in the Contents view if it was expired or has a future effective date. @davisagli [#4764](https://github.com/plone/volto/issues/4764)
|
|
59
|
+
- Fix bug showing logs at the browsers when richtext widget is use @claytonc [#4780](https://github.com/plone/volto/issues/4780)
|
|
60
|
+
- Update relations control panel layout @danalvrz [#4794](https://github.com/plone/volto/issues/4794)
|
|
61
|
+
- Fix hot module reloading of changes to `@plone/volto`. @davisagli [#4799](https://github.com/plone/volto/issues/4799)
|
|
62
|
+
- Add guard in case of malformed blocks are present (at least id and title should be present) @sneridagh [#4802](https://github.com/plone/volto/issues/4802)
|
|
63
|
+
- Fix html tag lang attribute in SSR @sneridagh [#4803](https://github.com/plone/volto/issues/4803)
|
|
64
|
+
- Add newest supported languages to `Language` constants list @sneridagh [#4811](https://github.com/plone/volto/issues/4811)
|
|
65
|
+
|
|
66
|
+
### Internal
|
|
67
|
+
|
|
68
|
+
- Remove max_line_length from .editorconfig @pnicolli [#4776](https://github.com/plone/volto/issues/4776)
|
|
69
|
+
- Fix unannounced breaking change in cypress-io/github-action @sneridagh [#4795](https://github.com/plone/volto/issues/4795)
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
## 17.0.0-alpha.7 (2023-05-11)
|
|
73
|
+
|
|
74
|
+
### Bugfix
|
|
75
|
+
|
|
76
|
+
- Fix language negotiation for language codes that include a region (e.g. `pt-br`). @davisagli [#4644](https://github.com/plone/volto/issues/4644)
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
## 17.0.0-alpha.6 (2023-05-11)
|
|
80
|
+
|
|
81
|
+
### Feature
|
|
82
|
+
|
|
83
|
+
- Changed control panel list to be fetched server-side not client-side
|
|
84
|
+
@JeffersonBledsoe [#3749](https://github.com/plone/volto/issues/3749)
|
|
85
|
+
|
|
86
|
+
### Bugfix
|
|
87
|
+
|
|
88
|
+
- Apply suggestion from browser for password field @lord2anil [#3990](https://github.com/plone/volto/issues/3990)
|
|
89
|
+
- Open all accordion'd content in InlineForm by default, allow arbitrarily close any number of them. @sneridagh [#4178](https://github.com/plone/volto/issues/4178)
|
|
90
|
+
- Fix duplicating listing block by removing block uid from blocks data. @ksuess [#4234](https://github.com/plone/volto/issues/4234)
|
|
91
|
+
- The tabs for the add page was unresponsive on mobile devices. Fixed this by changing flex-wrap property. @sudhanshu1309 [#4506](https://github.com/plone/volto/issues/4506)
|
|
92
|
+
- (fix):Object.normaliseMail: Cannot read properties of null @dobri1408 [#4558](https://github.com/plone/volto/issues/4558)
|
|
93
|
+
- Update add-on control panel tranlsations: install -> activate. @ksuess [#4582](https://github.com/plone/volto/issues/4582)
|
|
94
|
+
- Fix robot.txt - the sitemap link should respect x-forwarded headers @reebalazs [#4638](https://github.com/plone/volto/issues/4638)
|
|
95
|
+
- Fix Move to top of folder ordering in folder content view by searching also @iFlameing [#4690](https://github.com/plone/volto/issues/4690)
|
|
96
|
+
- Fix faulty D&D elements in ObjectBrowserList widget @sneridagh [#4703](https://github.com/plone/volto/issues/4703)
|
|
97
|
+
- Fix fetching API paths with urlencoded characters in the querystring. @davisagli [#4718](https://github.com/plone/volto/issues/4718)
|
|
98
|
+
|
|
99
|
+
### Internal
|
|
100
|
+
|
|
101
|
+
- Change conditional checking to optional chaining for a theme icon @nilootpal [#4567](https://github.com/plone/volto/issues/4567)
|
|
102
|
+
- Security upgrade for momentjs [#4715](https://github.com/plone/volto/issues/4715)
|
|
103
|
+
- Upgrade to Plone 6.0.4 @sneridagh [#4743](https://github.com/plone/volto/issues/4743)
|
|
104
|
+
|
|
105
|
+
### Documentation
|
|
106
|
+
|
|
107
|
+
- Added documentation regarding the static middleware. @BhardwajAditya-github [#4518](https://github.com/plone/volto/issues/4518)
|
|
108
|
+
- Use new URL `6.docs.plone.org`. @stevepiercy [#4726](https://github.com/plone/volto/issues/4726)
|
|
109
|
+
- Synch stuff from `16.x.x` branch that should have been in `master` as well. @stevepiercy [#4728](https://github.com/plone/volto/issues/4728)
|
|
110
|
+
- Fix link in Volto, remove from linkcheck ignore in Documentation. @stevepiercy [#4742](https://github.com/plone/volto/issues/4742)
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
## 17.0.0-alpha.5 (2023-04-14)
|
|
114
|
+
|
|
115
|
+
### Bugfix
|
|
116
|
+
|
|
117
|
+
- Generate a split sitemap @reebalazs [#4638](https://github.com/plone/volto/issues/4638)
|
|
118
|
+
- Fix Move to top of folder ordering in folder content view @iFlameing [#4690](https://github.com/plone/volto/issues/4690)
|
|
119
|
+
- Revert "Add current page parameter to the route in the listing and search block pagination (#4159)" @sneridagh [#4695](https://github.com/plone/volto/issues/4695)
|
|
120
|
+
- Fix search block in edit mode re-queries multiple blocks with an empty search text @reebalazs [#4697](https://github.com/plone/volto/issues/4697)
|
|
121
|
+
|
|
122
|
+
### Documentation
|
|
123
|
+
|
|
124
|
+
- Update links for 2022 Training archive. @stevepiercy [#4635](https://github.com/plone/volto/issues/4635)
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
## 17.0.0-alpha.4 (2023-04-12)
|
|
128
|
+
|
|
129
|
+
### Feature
|
|
130
|
+
|
|
131
|
+
- DefaultView (view of fields for content types with blocks disabled): Show field name as tip on hover of label. @ksuess [#4598](https://github.com/plone/volto/issues/4598)
|
|
132
|
+
- Support RelationList field with named StaticCatalogVocabulary and SelectWidget. @ksuess [#4614](https://github.com/plone/volto/issues/4614)
|
|
133
|
+
- Support for declaring a theme in `volto.config.js` or in `package.json`
|
|
134
|
+
Add two entry points to allow extension of a theme from other add-ons. @sneridagh [#4625](https://github.com/plone/volto/issues/4625)
|
|
135
|
+
- Set sameSite in I18N_LANGUAGE cookie @sneridagh [#4627](https://github.com/plone/volto/issues/4627)
|
|
136
|
+
- Added querystring search get option. @robgietema [#4658](https://github.com/plone/volto/issues/4658)
|
|
137
|
+
|
|
138
|
+
### Bugfix
|
|
139
|
+
|
|
140
|
+
- Added current page parameter to route in listing and search block pagination - Fix: #3868 @bipoza [#4159](https://github.com/plone/volto/issues/4159)
|
|
141
|
+
- Fix regexp that checks valid URLs and improve tests [cekk] [#4601](https://github.com/plone/volto/issues/4601)
|
|
142
|
+
- Fixed wrong localization on password reset page @iRohitSingh [#4656](https://github.com/plone/volto/issues/4656)
|
|
143
|
+
- fix sitemap.xml.gz not is not compressed @dobri1408 [#4663](https://github.com/plone/volto/issues/4663)
|
|
144
|
+
|
|
145
|
+
### Internal
|
|
146
|
+
|
|
147
|
+
- Trigger CI workflows to run from external pull requests. @davisagli [#4629](https://github.com/plone/volto/issues/4629)
|
|
148
|
+
- Update to p.restapi 8.36.0 and Plone 6.0.3 @sneridagh [#4682](https://github.com/plone/volto/issues/4682)
|
|
149
|
+
|
|
150
|
+
### Documentation
|
|
151
|
+
|
|
152
|
+
- Added `JavaScript` and `NodeJS` as accepted spellings, and deviations of them as rejected spellings. @utkkkarshhh [#3092](https://github.com/plone/volto/issues/3092)
|
|
153
|
+
- Fix documentation build, add pins @sneridagh [#4626](https://github.com/plone/volto/issues/4626)
|
|
154
|
+
- Update Volto contributing to align with and refer to the new Plone core code contributing requirements. @stevepiercy [#4634](https://github.com/plone/volto/issues/4634)
|
|
155
|
+
- Improve creating views documentation page. @rboixaderg [#4636](https://github.com/plone/volto/issues/4636)
|
|
156
|
+
- Razzle upgrade notice in upgrade guide @sneridagh [#4641](https://github.com/plone/volto/issues/4641)
|
|
157
|
+
- Rename "Developer Guidelines" to "Contributing". @stevepiercy [#4666](https://github.com/plone/volto/issues/4666)
|
|
158
|
+
- Fix broken link to `ReactJS.org`. @stevepiercy [#4667](https://github.com/plone/volto/issues/4667)
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
## 17.0.0-alpha.3 (2023-03-22)
|
|
162
|
+
|
|
163
|
+
### Feature
|
|
164
|
+
|
|
165
|
+
- Add Vale to CI for spell and style checks. @MAX-786 [#4423](https://github.com/plone/volto/issues/4423)
|
|
166
|
+
|
|
167
|
+
### Bugfix
|
|
168
|
+
|
|
169
|
+
- Fix Search is case sensitive in Block chooser @iRohitSingh [#4526](https://github.com/plone/volto/issues/4526)
|
|
170
|
+
- InternalURl helper method should incorporate externalRoutes settings into consideration. @iFlameing [#4559](https://github.com/plone/volto/issues/4559)
|
|
171
|
+
- Update message add-on control panel: remove 'buildout', update reference. @ksuess [#4574](https://github.com/plone/volto/issues/4574)
|
|
172
|
+
|
|
173
|
+
### Documentation
|
|
174
|
+
|
|
175
|
+
- Deleted duplicate import and fixed training URLs. @yahya-cloud [#4523](https://github.com/plone/volto/issues/4523)
|
|
176
|
+
- Fix grammar in PR #4542. @stevepiercy [#4555](https://github.com/plone/volto/issues/4555)
|
|
177
|
+
- Fix broken links at `ReactJS.org`. @stevepiercy [#4569](https://github.com/plone/volto/issues/4569)
|
|
178
|
+
- Fix video warnings and link errors. @stevepiercy [#4578](https://github.com/plone/volto/issues/4578)
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
## 17.0.0-alpha.2 (2023-03-15)
|
|
182
|
+
|
|
183
|
+
### Breaking
|
|
184
|
+
|
|
185
|
+
- Add custom CSS animation to hamburger menu. Removed `hamburgers` dependency. @danalvrz [#4433](https://github.com/plone/volto/issues/4433)
|
|
186
|
+
- Improve i18n script ordering of addons, so that addons can override translations from their dependencies. @davisagli [#4495](https://github.com/plone/volto/issues/4495)
|
|
187
|
+
|
|
188
|
+
### Feature
|
|
189
|
+
|
|
190
|
+
- Add option to hide empty listing blocks @ksuess [#4393](https://github.com/plone/volto/issues/4393)
|
|
191
|
+
|
|
192
|
+
### Bugfix
|
|
193
|
+
|
|
194
|
+
- Update build dependencies (razzle and react-dev-utils) @davisagli [#3997](https://github.com/plone/volto/issues/3997)
|
|
195
|
+
- Added block prop to BlockDataForm in the Edit component of ToC. If block is not passed, OnChangeBlock will be called with undefined block id. @tedw87 [#4110](https://github.com/plone/volto/issues/4110)
|
|
196
|
+
- Fix focus steal in Form @tedw87 [#4230](https://github.com/plone/volto/issues/4230)
|
|
197
|
+
- Fixed paste issue in Table Block and added cypress test for pasting text in Table Block. [#4301](https://github.com/plone/volto/issues/4301)
|
|
198
|
+
- Fixed i18n script to avoid overwriting translations with an empty msgstr @danalvrz [#4316](https://github.com/plone/volto/issues/4316)
|
|
199
|
+
- bugfix: conditionally render all delete items in confirm widget [#4336](https://github.com/plone/volto/issues/4336)
|
|
200
|
+
- Make the Site Setup control panel responsive for small screen devices. @lord2anil [#4484](https://github.com/plone/volto/issues/4484)
|
|
201
|
+
- The menu for the contents page was unresponsive on mobile devices. Fixed this by changing the menu overflow to scroll. @sudhanshu1309 [#4492](https://github.com/plone/volto/issues/4492)
|
|
202
|
+
- Make Drag and Drop list work with container-type inline-size. @robgietema [#4497](https://github.com/plone/volto/issues/4497)
|
|
203
|
+
- (fix): Paste button disappearing while coping from nested blocks @dobri1408 [#4505](https://github.com/plone/volto/issues/4505)
|
|
204
|
+
- Patch updates for some dependencies. @davisagli [#4520](https://github.com/plone/volto/issues/4520)
|
|
205
|
+
- Fix flaky Cypress test introduced in #4521 @sneridagh [#4522](https://github.com/plone/volto/issues/4522)
|
|
206
|
+
|
|
207
|
+
### Documentation
|
|
208
|
+
|
|
209
|
+
- Fix training urls @ksuess [#4502](https://github.com/plone/volto/issues/4502)
|
|
210
|
+
- Add upgrade guide for 4504 @sneridagh [#4542](https://github.com/plone/volto/issues/4542)
|
|
211
|
+
|
|
212
|
+
|
|
11
213
|
## 17.0.0-alpha.1 (2023-03-09)
|
|
12
214
|
|
|
13
215
|
### Feature
|
|
@@ -60,6 +262,190 @@
|
|
|
60
262
|
- Use a universal static path for both documentation and volto repos. @stevepiercy [#4376](https://github.com/plone/volto/issues/4376)
|
|
61
263
|
|
|
62
264
|
|
|
265
|
+
## 16.20.7 (2023-05-24)
|
|
266
|
+
|
|
267
|
+
### Bugfix
|
|
268
|
+
|
|
269
|
+
- Fixed the issue "shouldn't use a hook like function name for a variable" @Kaku-g [#4693](https://github.com/plone/volto/issues/4693)
|
|
270
|
+
- Fix to not update breadrumbs, navigation, actions, and types when content is fetched as a subrequest and apiExpanders includes these components. @davisagli [#4760](https://github.com/plone/volto/issues/4760)
|
|
271
|
+
- Fix bug where editors could not see their own content in the Contents view if it was expired or has a future effective date. @davisagli [#4764](https://github.com/plone/volto/issues/4764)
|
|
272
|
+
- Fix bug showing logs at the browsers when richtext widget is use @claytonc [#4780](https://github.com/plone/volto/issues/4780)
|
|
273
|
+
- Add guard in case of malformed blocks are present (at least id and title should be present) @sneridagh [#4802](https://github.com/plone/volto/issues/4802)
|
|
274
|
+
- Fix html tag lang attribute in SSR @sneridagh [#4803](https://github.com/plone/volto/issues/4803)
|
|
275
|
+
- Add newest supported languages to `Language` constants list @sneridagh [#4811](https://github.com/plone/volto/issues/4811)
|
|
276
|
+
|
|
277
|
+
### Internal
|
|
278
|
+
|
|
279
|
+
- Remove max_line_length from .editorconfig @pnicolli [#4776](https://github.com/plone/volto/issues/4776)
|
|
280
|
+
- Fix unannounced breaking change in cypress-io/github-action @sneridagh [#4795](https://github.com/plone/volto/issues/4795)
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
## 16.20.6 (2023-05-12)
|
|
284
|
+
|
|
285
|
+
### Bugfix
|
|
286
|
+
|
|
287
|
+
- Fix language negotiation for language codes that include a region (e.g. `pt-br`). @davisagli [#4644](https://github.com/plone/volto/issues/4644)
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
## 16.20.5 (2023-05-12)
|
|
291
|
+
|
|
292
|
+
### Bugfix
|
|
293
|
+
|
|
294
|
+
- Apply suggestion from browser for password field @lord2anil [#3990](https://github.com/plone/volto/issues/3990)
|
|
295
|
+
- The tabs for the add page was unresponsive on mobile devices. Fixed this by changing flex-wrap property. @sudhanshu1309 [#4506](https://github.com/plone/volto/issues/4506)
|
|
296
|
+
- (fix):Object.normaliseMail: Cannot read properties of null @dobri1408 [#4558](https://github.com/plone/volto/issues/4558)
|
|
297
|
+
|
|
298
|
+
### Internal
|
|
299
|
+
|
|
300
|
+
- Upgrade to Plone 6.0.4 @sneridagh [#4743](https://github.com/plone/volto/issues/4743)
|
|
301
|
+
|
|
302
|
+
### Documentation
|
|
303
|
+
|
|
304
|
+
- Added documentation regarding the static middleware. @BhardwajAditya-github [#4518](https://github.com/plone/volto/issues/4518)
|
|
305
|
+
- Backport most documentation differences from `master` to `16.x.x`. @stevepiercy [#4727](https://github.com/plone/volto/issues/4727)
|
|
306
|
+
- Fix link in Volto, remove from linkcheck ignore in Documentation. @stevepiercy [#4742](https://github.com/plone/volto/issues/4742)
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
## 16.20.4 (2023-04-20)
|
|
310
|
+
|
|
311
|
+
### Bugfix
|
|
312
|
+
|
|
313
|
+
- Fix fetching API paths with urlencoded characters in the querystring. @davisagli [#4718](https://github.com/plone/volto/issues/4718)
|
|
314
|
+
|
|
315
|
+
### Internal
|
|
316
|
+
|
|
317
|
+
- Security upgrade for momentjs [#4716](https://github.com/plone/volto/issues/4716)
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
## 16.20.3 (2023-04-18)
|
|
321
|
+
|
|
322
|
+
### Bugfix
|
|
323
|
+
|
|
324
|
+
- Revert inadvertently included files from another PR in #4710 @sneridagh [#4713](https://github.com/plone/volto/issues/4713)
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
## 16.20.2 (2023-04-18)
|
|
328
|
+
|
|
329
|
+
### Bugfix
|
|
330
|
+
|
|
331
|
+
- Fix robot.txt - the sitemap link should respect x-forwarded headers @reebalazs [#4638](https://github.com/plone/volto/issues/4638)
|
|
332
|
+
- Fix Move to top of folder ordering in folder content view by searching also @iFlameing [#4690](https://github.com/plone/volto/issues/4690)
|
|
333
|
+
- Fix faulty D&D elements in ObjectBrowserList widget @sneridagh [#4703](https://github.com/plone/volto/issues/4703)
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
## 16.20.1 (2023-04-14)
|
|
337
|
+
|
|
338
|
+
### Bugfix
|
|
339
|
+
|
|
340
|
+
- Generate a split sitemap @reebalazs [#4638](https://github.com/plone/volto/issues/4638)
|
|
341
|
+
- Fix Move to top of folder ordering in folder content view @iFlameing [#4690](https://github.com/plone/volto/issues/4690)
|
|
342
|
+
- Revert "Add current page parameter to the route in the listing and search block pagination (#4159)" @sneridagh [#4695](https://github.com/plone/volto/issues/4695)
|
|
343
|
+
- Fix search block in edit mode re-queries multiple blocks with an empty search text @reebalazs [#4697](https://github.com/plone/volto/issues/4697)
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
## 16.20.0 (2023-04-12)
|
|
347
|
+
|
|
348
|
+
### Feature
|
|
349
|
+
|
|
350
|
+
- Support RelationList field with named StaticCatalogVocabulary and SelectWidget. @ksuess [#4614](https://github.com/plone/volto/issues/4614)
|
|
351
|
+
- Support for declaring a theme in `volto.config.js` or in `package.json`
|
|
352
|
+
Add two entry points to allow extension of a theme from other add-ons. @sneridagh [#4625](https://github.com/plone/volto/issues/4625)
|
|
353
|
+
- Added querystring search get option. @robgietema [#4658](https://github.com/plone/volto/issues/4658)
|
|
354
|
+
|
|
355
|
+
### Bugfix
|
|
356
|
+
|
|
357
|
+
- Added current page parameter to route in listing and search block pagination - Fix: #3868 @bipoza [#4159](https://github.com/plone/volto/issues/4159)
|
|
358
|
+
- Fixed wrong localization on password reset page @iRohitSingh [#4656](https://github.com/plone/volto/issues/4656)
|
|
359
|
+
- fix sitemap.xml.gz not is not compressed @dobri1408 [#4663](https://github.com/plone/volto/issues/4663)
|
|
360
|
+
|
|
361
|
+
### Internal
|
|
362
|
+
|
|
363
|
+
- Update to p.restapi 8.36.0 and Plone 6.0.3 @sneridagh [#4682](https://github.com/plone/volto/issues/4682)
|
|
364
|
+
|
|
365
|
+
### Documentation
|
|
366
|
+
|
|
367
|
+
- Update Volto contributing to align with and refer to the new Plone core code contributing requirements. @stevepiercy [#4634](https://github.com/plone/volto/issues/4634)
|
|
368
|
+
- Improve creating views documentation page. @rboixaderg [#4636](https://github.com/plone/volto/issues/4636)
|
|
369
|
+
- Rename "Developer Guidelines" to "Contributing". @stevepiercy [#4666](https://github.com/plone/volto/issues/4666)
|
|
370
|
+
- Fix broken link to `ReactJS.org`. @stevepiercy [#4667](https://github.com/plone/volto/issues/4667)
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
## 16.19.0 (2023-04-04)
|
|
374
|
+
|
|
375
|
+
### Feature
|
|
376
|
+
|
|
377
|
+
- DefaultView (view of fields for content types with blocks disabled): Show field name as tip on hover of label. @ksuess [#4598](https://github.com/plone/volto/issues/4598)
|
|
378
|
+
- Set sameSite in I18N_LANGUAGE cookie @sneridagh [#4627](https://github.com/plone/volto/issues/4627)
|
|
379
|
+
|
|
380
|
+
### Bugfix
|
|
381
|
+
|
|
382
|
+
- Fix regexp that checks valid URLs and improve tests [cekk] [#4601](https://github.com/plone/volto/issues/4601)
|
|
383
|
+
|
|
384
|
+
### Documentation
|
|
385
|
+
|
|
386
|
+
- Added `JavaScript` and `NodeJS` as accepted spellings, and deviations of them as rejected spellings. @utkkkarshhh [#3092](https://github.com/plone/volto/issues/3092)
|
|
387
|
+
- Fix documentation build, add pins @sneridagh [#4626](https://github.com/plone/volto/issues/4626)
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
## 16.18.0 (2023-03-22)
|
|
391
|
+
|
|
392
|
+
### Feature
|
|
393
|
+
|
|
394
|
+
- Add Vale to CI for spell and style checks. @MAX-786 [#4423](https://github.com/plone/volto/issues/4423)
|
|
395
|
+
|
|
396
|
+
### Bugfix
|
|
397
|
+
|
|
398
|
+
- Patch updates for some dependencies. @davisagli [#4520](https://github.com/plone/volto/issues/4520)
|
|
399
|
+
- InternalURl helper method should incorporate externalRoutes settings into consideration. @iFlameing [#4559](https://github.com/plone/volto/issues/4559)
|
|
400
|
+
- Update message add-on control panel: remove 'buildout', update reference. @ksuess [#4574](https://github.com/plone/volto/issues/4574)
|
|
401
|
+
|
|
402
|
+
### Documentation
|
|
403
|
+
|
|
404
|
+
- Fix broken links at `ReactJS.org`. @stevepiercy [#4569](https://github.com/plone/volto/issues/4569)
|
|
405
|
+
- Fix video warnings and link errors. @stevepiercy [#4578](https://github.com/plone/volto/issues/4578)
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
## 16.17.1 (2023-03-16)
|
|
409
|
+
|
|
410
|
+
### Bugfix
|
|
411
|
+
|
|
412
|
+
- Fix Search is case sensitive in Block chooser @iRohitSingh [#4526](https://github.com/plone/volto/issues/4526)
|
|
413
|
+
|
|
414
|
+
### Documentation
|
|
415
|
+
|
|
416
|
+
- Deleted duplicate import and fixed training URLs. @yahya-cloud [#4523](https://github.com/plone/volto/issues/4523)
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
## 16.17.0 (2023-03-15)
|
|
420
|
+
|
|
421
|
+
### Feature
|
|
422
|
+
|
|
423
|
+
- Add option to hide empty listing blocks @ksuess [#4393](https://github.com/plone/volto/issues/4393)
|
|
424
|
+
|
|
425
|
+
### Bugfix
|
|
426
|
+
|
|
427
|
+
- Added block prop to BlockDataForm in the Edit component of ToC. If block is not passed, OnChangeBlock will be called with undefined block id. @tedw87 [#4110](https://github.com/plone/volto/issues/4110)
|
|
428
|
+
- Fix focus steal in Form @tedw87 [#4230](https://github.com/plone/volto/issues/4230)
|
|
429
|
+
- Fixed paste issue in Table Block and added cypress test for pasting text in Table Block. [#4301](https://github.com/plone/volto/issues/4301)
|
|
430
|
+
- Fixed i18n script to avoid overwriting translations with an empty msgstr @danalvrz [#4316](https://github.com/plone/volto/issues/4316)
|
|
431
|
+
- bugfix: conditionally render all delete items in confirm widget [#4336](https://github.com/plone/volto/issues/4336)
|
|
432
|
+
- Make the Site Setup control panel responsive for small screen devices. @lord2anil [#4484](https://github.com/plone/volto/issues/4484)
|
|
433
|
+
- The menu for the contents page was unresponsive on mobile devices. Fixed this by changing the menu overflow to scroll. @sudhanshu1309 [#4492](https://github.com/plone/volto/issues/4492)
|
|
434
|
+
- (fix): Paste button disappearing while coping from nested blocks @dobri1408 [#4505](https://github.com/plone/volto/issues/4505)
|
|
435
|
+
- Fix flaky Cypress test introduced in #4521 @sneridagh [#4522](https://github.com/plone/volto/issues/4522)
|
|
436
|
+
|
|
437
|
+
### Documentation
|
|
438
|
+
|
|
439
|
+
- Fix training urls @ksuess [#4502](https://github.com/plone/volto/issues/4502)
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
## 16.16.0 (2023-03-09)
|
|
443
|
+
|
|
444
|
+
### Feature
|
|
445
|
+
|
|
446
|
+
- Add directive to cache stable resources in browser or intermediate server for 365 days by default directly in the SSR Express server, static resource that could change after a new deployment for 1 minute. @mamico [#2216](https://github.com/plone/volto/issues/2216)
|
|
447
|
+
|
|
448
|
+
|
|
63
449
|
## 16.15.0 (2023-03-08)
|
|
64
450
|
|
|
65
451
|
### Feature
|
|
@@ -82,7 +468,7 @@
|
|
|
82
468
|
|
|
83
469
|
### Documentation
|
|
84
470
|
|
|
85
|
-
- Complete teaser docs, add new section in `Blocks`: `Core Blocks developers notes` @sneridagh [#4461](https://github.com/plone/volto/
|
|
471
|
+
- Complete teaser docs, add new section in `Blocks`: `Core Blocks developers notes` @sneridagh [#4461](https://github.com/plone/volto/pull/4461)
|
|
86
472
|
|
|
87
473
|
|
|
88
474
|
## 16.14.0 (2023-03-03)
|
|
@@ -412,7 +798,7 @@
|
|
|
412
798
|
- Enable the use of yarn 3 in the build by default @sneridagh
|
|
413
799
|
- The `ContentsBreadcrumbs` component now renders the whole language name of the language root folder (if any) instead of just the `id` (before: `de`, now: `Deutsch`) @sneridagh
|
|
414
800
|
|
|
415
|
-
See https://6.
|
|
801
|
+
See https://6.docs.plone.org/volto/upgrade-guide/index.html for more information.
|
|
416
802
|
|
|
417
803
|
### Feature
|
|
418
804
|
|
|
@@ -909,7 +1295,7 @@ See https://6.dev-docs.plone.org/volto/upgrade-guide/index.html for more informa
|
|
|
909
1295
|
- Moved all sentry-related code from Volto to the `@plone-collective/volto-sentry` package. @tiberiuichim
|
|
910
1296
|
- The listing block icon has been improved to avoid confusion with the normal text list. @sneridagh
|
|
911
1297
|
|
|
912
|
-
See https://6.
|
|
1298
|
+
See https://6.docs.plone.org/volto/upgrade-guide/index.html for more information.
|
|
913
1299
|
|
|
914
1300
|
### Feature
|
|
915
1301
|
|
|
@@ -970,6 +1356,7 @@ See https://6.dev-docs.plone.org/volto/upgrade-guide/index.html for more informa
|
|
|
970
1356
|
- Object browser: image search should only show images @reebalazs
|
|
971
1357
|
- Updated spanish translation @macagua
|
|
972
1358
|
- Add Dutch translation @spereverde
|
|
1359
|
+
- Add control panel for relations. @ksuess
|
|
973
1360
|
|
|
974
1361
|
### Bugfix
|
|
975
1362
|
|
|
@@ -1020,7 +1407,7 @@ See https://6.dev-docs.plone.org/volto/upgrade-guide/index.html for more informa
|
|
|
1020
1407
|
|
|
1021
1408
|
- Sentry integration is now lazy-loaded. The `sentryOptions` key from the `settings` registry becomes a callable that passes resolved sentry libraries. @tiberiuichim
|
|
1022
1409
|
|
|
1023
|
-
See https://6.
|
|
1410
|
+
See https://6.docs.plone.org/volto/upgrade-guide/index.html for more information.
|
|
1024
1411
|
|
|
1025
1412
|
### Feature
|
|
1026
1413
|
|
|
@@ -1084,7 +1471,7 @@ See https://6.dev-docs.plone.org/volto/upgrade-guide/index.html for more informa
|
|
|
1084
1471
|
- Upgrade to Razzle 4 @davisagli
|
|
1085
1472
|
- Jest downgraded from 27 to 26 @davisagli
|
|
1086
1473
|
|
|
1087
|
-
See https://6.
|
|
1474
|
+
See https://6.docs.plone.org/volto/upgrade-guide/index.html for more information.
|
|
1088
1475
|
|
|
1089
1476
|
### Internal
|
|
1090
1477
|
|
|
@@ -1124,7 +1511,7 @@ See https://6.dev-docs.plone.org/volto/upgrade-guide/index.html for more informa
|
|
|
1124
1511
|
### Breaking
|
|
1125
1512
|
|
|
1126
1513
|
- `react-window` no longer a Volto dependency @sneridagh
|
|
1127
|
-
See https://6.
|
|
1514
|
+
See https://6.docs.plone.org/volto/upgrade-guide/index.html for more information.
|
|
1128
1515
|
|
|
1129
1516
|
### Bugfix
|
|
1130
1517
|
|
|
@@ -1163,7 +1550,7 @@ See https://6.dev-docs.plone.org/volto/upgrade-guide/index.html for more informa
|
|
|
1163
1550
|
### Breaking
|
|
1164
1551
|
|
|
1165
1552
|
- Move Layout constants to `config.views.layoutViewsNamesMapping`. Complete the list. i18n the list. Improve Display component. @sneridagh
|
|
1166
|
-
See https://6.
|
|
1553
|
+
See https://6.docs.plone.org/volto/upgrade-guide/index.html for more information.
|
|
1167
1554
|
|
|
1168
1555
|
### Feature
|
|
1169
1556
|
|
|
@@ -1209,7 +1596,7 @@ Undo html_static_path configuration in `plone/documentation`, and restore image
|
|
|
1209
1596
|
### Breaking
|
|
1210
1597
|
|
|
1211
1598
|
- Main workflow change menu changed from Pastanaga UI simplification to classic Plone implementation. @sneridagh
|
|
1212
|
-
See https://6.
|
|
1599
|
+
See https://6.docs.plone.org/volto/upgrade-guide/index.html for more information.
|
|
1213
1600
|
|
|
1214
1601
|
### Feature
|
|
1215
1602
|
|
|
@@ -1305,7 +1692,7 @@ Undo html_static_path configuration in `plone/documentation`, and restore image
|
|
|
1305
1692
|
- change password-reset url to be consistent with Plone configuration @erral
|
|
1306
1693
|
- Simplify over the existing Component Registry API. The `component` key has been flattened for simplification and now it's mapped directly to the `component` argument of `registerComponent`. @sneridagh
|
|
1307
1694
|
|
|
1308
|
-
See https://6.
|
|
1695
|
+
See https://6.docs.plone.org/volto/upgrade-guide/index.html for more information.
|
|
1309
1696
|
|
|
1310
1697
|
### Feature
|
|
1311
1698
|
|
|
@@ -1883,14 +2270,14 @@ Use next release instead: https://github.com/plone/volto/releases/tag/16.0.0-alp
|
|
|
1883
2270
|
### Breaking
|
|
1884
2271
|
|
|
1885
2272
|
- Upgrade `react-cookie` to the latest version. @sneridagh @robgietema
|
|
1886
|
-
See https://6.
|
|
2273
|
+
See https://6.docs.plone.org/volto/upgrade-guide/index.html for more information.
|
|
1887
2274
|
- Language Switcher no longer takes care of the change of the language on the Redux Store. This responsibility has been unified in the API Redux middleware @sneridagh
|
|
1888
2275
|
- Markup change in `LinkView` component.
|
|
1889
2276
|
- Rename `core-sandbox` to `coresandbox` for sake of consistency @sneridagh
|
|
1890
2277
|
- Extend the original intent and rename `RAZZLE_TESTING_ADDONS` to `ADDONS`. @sneridagh
|
|
1891
|
-
See https://6.
|
|
2278
|
+
See https://6.docs.plone.org/volto/upgrade-guide/index.html for more information.
|
|
1892
2279
|
- Lazyload Draft.js library. See the upgrade guide on how that impacts you, in case you have extended the rich text editor configuration @tiberiuichim @kreafox
|
|
1893
|
-
See https://6.
|
|
2280
|
+
See https://6.docs.plone.org/volto/upgrade-guide/index.html for more information.
|
|
1894
2281
|
- Deprecating `lang` cookie in favor of Plone official one `I18N_LANGUAGE` @sneridagh
|
|
1895
2282
|
|
|
1896
2283
|
### Feature
|
|
@@ -2374,7 +2761,7 @@ See https://6.docs.plone.org/volto/upgrade-guide/index.html for more information
|
|
|
2374
2761
|
- Use Plone logo @ericof
|
|
2375
2762
|
- Update favicon and related tags with best practices @sneridagh
|
|
2376
2763
|
- Enable to be able to use the internal proxy in production as well @sneridagh
|
|
2377
|
-
- Add runtime configuration for `@babel/plugin-transform-react-jsx` set to `automatic`. This enables the new JSX runtime: https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html So no longer `import React from 'react'` is needed anymore. @sneridagh
|
|
2764
|
+
- Add runtime configuration for `@babel/plugin-transform-react-jsx` set to `automatic`. This enables the new JSX runtime: https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html So no longer `import React from 'react'` is needed anymore. @sneridagh
|
|
2378
2765
|
- Add `autocomplete` Widget component - It holds off the vocabulary endpoint pull until you search (more than 2 chars). Useful when dealing with huge vocabularies @sneridagh @reebalazs
|
|
2379
2766
|
- Add new listing block option "fullobjects" per variation @ksuess
|
|
2380
2767
|
- `FormFieldWrapper` accepts now strings and elements for description @nzambello
|
|
@@ -2504,7 +2891,7 @@ See https://6.docs.plone.org/volto/upgrade-guide/index.html for more information
|
|
|
2504
2891
|
|
|
2505
2892
|
### Feature
|
|
2506
2893
|
|
|
2507
|
-
- Add runtime configuration for `@babel/plugin-transform-react-jsx` set to `automatic`. This enables the new JSX runtime: https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html So no longer `import React from 'react'` is needed anymore.
|
|
2894
|
+
- Add runtime configuration for `@babel/plugin-transform-react-jsx` set to `automatic`. This enables the new JSX runtime: https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html So no longer `import React from 'react'` is needed anymore.
|
|
2508
2895
|
- Update favicon and related tags with best practices @sneridagh
|
|
2509
2896
|
|
|
2510
2897
|
### Bugfix
|
|
@@ -4836,7 +5223,7 @@ https://6.docs.plone.org/volto/upgrade-guide/index.html
|
|
|
4836
5223
|
- Added item type as a tooltip in contents @nzambello
|
|
4837
5224
|
- Added Italian translations and translated array, token and select widget. @giuliaghisini
|
|
4838
5225
|
- Added uploading image preview in FileWidget @iFlameing
|
|
4839
|
-
- Allow custom express middleware declared with `settings.expressMiddleware`. See [Custom Express middleware](https://6.
|
|
5226
|
+
- Allow custom express middleware declared with `settings.expressMiddleware`. See [Custom Express middleware](https://6.docs.plone.org/volto/recipes/express.html) @tiberiuichim
|
|
4840
5227
|
|
|
4841
5228
|
### Bugfix
|
|
4842
5229
|
|
package/CONTRIBUTING.md
CHANGED
package/README.md
CHANGED
|
@@ -182,23 +182,20 @@ Please create a new [issue](https://github.com/plone/volto/issues/new) or [pull
|
|
|
182
182
|
|
|
183
183
|
## Documentation
|
|
184
184
|
|
|
185
|
-
You can find the latest (in-progress) documentation in [https://6.
|
|
185
|
+
You can find the latest (in-progress) documentation in [https://6.docs.plone.org/](https://6.docs.plone.org/volto/index.html)
|
|
186
186
|
|
|
187
187
|
## Training
|
|
188
188
|
|
|
189
|
-
On the [Plone
|
|
190
|
-
Volto-dedicated open training materials, plus React and other
|
|
191
|
-
JavaScript-centered trainings.
|
|
189
|
+
On the [Plone Training website](https://training.plone.org), you'll find Volto-dedicated training materials, plus other JavaScript-centered trainings.
|
|
192
190
|
|
|
193
|
-
- [Mastering Plone 6 Development](https://training.plone.org/
|
|
191
|
+
- [Mastering Plone 6 Development](https://training.plone.org/mastering-plone/)
|
|
194
192
|
The comprehensive training on Plone 6 with best practice tips for developers and integrators.
|
|
195
|
-
- [Volto](https://training.plone.org/
|
|
196
|
-
|
|
197
|
-
- [Volto
|
|
198
|
-
- [
|
|
199
|
-
- [
|
|
200
|
-
- [
|
|
201
|
-
- [JavaScript For Plone Developers](https://training.plone.org/5/javascript/index.html)
|
|
193
|
+
- [Volto Hands-On](https://training.plone.org/voltohandson/index.html)
|
|
194
|
+
- [Volto Add-ons Development](https://training.plone.org/voltoaddons/index.html)
|
|
195
|
+
- [Effective Volto](https://training.plone.org/effective-volto/index.html)
|
|
196
|
+
- [Plone Deployment](https://training.plone.org/plone-deployment/index.html)
|
|
197
|
+
- [Volto](https://2022.training.plone.org/volto/index.html) (archived)
|
|
198
|
+
- [JavaScript For Plone Developers](https://2022.training.plone.org/javascript/index.html) (archived)
|
|
202
199
|
|
|
203
200
|
## Talks
|
|
204
201
|
|
|
@@ -245,7 +242,7 @@ We do not guarantee that deprecated browsers (e.g., Internet Explorer 11) are su
|
|
|
245
242
|
|
|
246
243
|
## Upgrades
|
|
247
244
|
|
|
248
|
-
You can find the upgrade guide here: https://6.
|
|
245
|
+
You can find the upgrade guide here: https://6.docs.plone.org/volto/upgrade-guide/index.html
|
|
249
246
|
|
|
250
247
|
## Volto Development
|
|
251
248
|
|
|
@@ -320,11 +317,11 @@ yarn test
|
|
|
320
317
|
|
|
321
318
|
Here you can find a guide on how acceptance testing is done in Volto:
|
|
322
319
|
|
|
323
|
-
https://6.
|
|
320
|
+
https://6.docs.plone.org/volto/developer-guidelines/acceptance-tests.html
|
|
324
321
|
|
|
325
322
|
## Translations
|
|
326
323
|
|
|
327
|
-
If you would like contribute to translate Volto into several languages, please, read the [Internationalization (i18n) guide](https://6.
|
|
324
|
+
If you would like contribute to translate Volto into several languages, please, read the [Internationalization (i18n) guide](https://6.docs.plone.org/volto/recipes/i18n.html).
|
|
328
325
|
|
|
329
326
|
## Contributors
|
|
330
327
|
|
package/addon-registry.js
CHANGED
|
@@ -130,6 +130,11 @@ class AddonConfigurationRegistry {
|
|
|
130
130
|
this.packages = {};
|
|
131
131
|
this.customizations = new Map();
|
|
132
132
|
|
|
133
|
+
// Theme from a package.json key, from volto.config.js or from an ENV VAR
|
|
134
|
+
// Programatically via volto.config.js wins or the ENV VAR if present
|
|
135
|
+
this.theme =
|
|
136
|
+
packageJson.theme || this.voltoConfigJS.theme || process.env.THEME;
|
|
137
|
+
|
|
133
138
|
this.initDevelopmentPackages();
|
|
134
139
|
this.initPublishedPackages();
|
|
135
140
|
this.initAddonsFromEnvVar();
|
|
@@ -354,6 +359,35 @@ class AddonConfigurationRegistry {
|
|
|
354
359
|
.filter((e) => e);
|
|
355
360
|
}
|
|
356
361
|
|
|
362
|
+
getCustomThemeAddons() {
|
|
363
|
+
const customThemeAddonsInfo = {
|
|
364
|
+
variables: [],
|
|
365
|
+
main: [],
|
|
366
|
+
};
|
|
367
|
+
|
|
368
|
+
this.getAddonDependencies().forEach((addon) => {
|
|
369
|
+
const normalizedAddonName = addon.split(':')[0];
|
|
370
|
+
// We have two possible insertion points, variables and main
|
|
371
|
+
|
|
372
|
+
const customThemeVariables = `${this.packages[normalizedAddonName].modulePath}/theme/_variables.scss`;
|
|
373
|
+
const customThemeMain = `${this.packages[normalizedAddonName].modulePath}/theme/_main.scss`;
|
|
374
|
+
if (
|
|
375
|
+
fs.existsSync(customThemeVariables) &&
|
|
376
|
+
normalizedAddonName !== this.theme
|
|
377
|
+
) {
|
|
378
|
+
customThemeAddonsInfo.variables.push(normalizedAddonName);
|
|
379
|
+
}
|
|
380
|
+
if (
|
|
381
|
+
fs.existsSync(customThemeMain) &&
|
|
382
|
+
normalizedAddonName !== this.theme
|
|
383
|
+
) {
|
|
384
|
+
customThemeAddonsInfo.main.push(normalizedAddonName);
|
|
385
|
+
}
|
|
386
|
+
});
|
|
387
|
+
|
|
388
|
+
return customThemeAddonsInfo;
|
|
389
|
+
}
|
|
390
|
+
|
|
357
391
|
/**
|
|
358
392
|
* Returns a mapping name:diskpath to be uses in webpack's resolve aliases
|
|
359
393
|
*/
|