@plone/volto 14.0.0-alpha.4 → 14.0.0-alpha.40
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/.github/workflows/code-analysis.yml +1 -1
- package/.github/workflows/core-sandbox.yml +1 -1
- package/.github/workflows/core.yml +2 -1
- package/.github/workflows/docs.yml +3 -3
- package/.github/workflows/generator.yml +1 -1
- package/.github/workflows/guillotina.yml +1 -1
- package/.github/workflows/multilingual.yml +1 -1
- package/.github/workflows/workingCopy.yml +1 -1
- package/CHANGELOG.md +373 -0
- package/README.md +33 -6
- package/ROADMAP.md +30 -0
- package/addon-registry.js +41 -7
- package/docker-compose.yml +2 -2
- package/locales/de/LC_MESSAGES/volto.po +813 -10
- package/locales/de.json +1 -1
- package/locales/en/LC_MESSAGES/volto.po +803 -0
- package/locales/en.json +1 -1
- package/locales/es/LC_MESSAGES/volto.po +803 -0
- package/locales/es.json +1 -1
- package/locales/eu/LC_MESSAGES/volto.po +803 -0
- package/locales/eu.json +1 -1
- package/locales/fr/LC_MESSAGES/volto.po +803 -0
- package/locales/fr.json +1 -1
- package/locales/it/LC_MESSAGES/volto.po +807 -4
- package/locales/it.json +1 -1
- package/locales/ja/LC_MESSAGES/volto.po +906 -102
- package/locales/ja.json +1 -1
- package/locales/nl/LC_MESSAGES/volto.po +803 -0
- package/locales/nl.json +1 -1
- package/locales/pt/LC_MESSAGES/volto.po +803 -0
- package/locales/pt.json +1 -1
- package/locales/pt_BR/LC_MESSAGES/volto.po +803 -0
- package/locales/pt_BR.json +1 -1
- package/locales/ro/LC_MESSAGES/volto.po +803 -0
- package/locales/ro.json +1 -1
- package/locales/volto.pot +180 -6
- package/package.json +38 -21
- package/razzle.config.js +3 -2
- package/src/actions/schema/schema.js +4 -2
- package/src/actions/schema/schema.test.js +10 -0
- package/src/actions/userSession/userSession.js +4 -0
- package/src/actions/vocabularies/vocabularies.js +3 -10
- package/src/actions/vocabularies/vocabularies.test.js +26 -0
- package/src/components/index.js +2 -0
- package/src/components/manage/Add/Add.jsx +1 -1
- package/src/components/manage/BlockChooser/BlockChooser.jsx +1 -1
- package/src/components/manage/Blocks/Block/BlocksForm.jsx +1 -0
- package/src/components/manage/Blocks/Block/Edit.jsx +6 -1
- package/src/components/manage/Blocks/HeroImageLeft/Data.jsx +26 -0
- package/src/components/manage/Blocks/HeroImageLeft/Edit.jsx +104 -89
- package/src/components/manage/Blocks/HeroImageLeft/Edit.test.jsx +6 -1
- package/src/components/manage/Blocks/HeroImageLeft/View.jsx +6 -2
- package/src/components/manage/Blocks/HeroImageLeft/schema.js +43 -0
- package/src/components/manage/Blocks/Image/Edit.jsx +1 -1
- package/src/components/manage/Blocks/Image/ImageSidebar.jsx +23 -2
- package/src/components/manage/Blocks/Listing/ImageGallery.jsx +10 -20
- package/src/components/manage/Blocks/Listing/SummaryTemplate.jsx +3 -9
- package/src/components/manage/Blocks/Listing/getAsyncData.js +19 -0
- package/src/components/manage/Blocks/Listing/schema.js +2 -0
- package/src/components/manage/Blocks/Listing/withQuerystringResults.jsx +27 -25
- package/src/components/manage/Blocks/Maps/Edit.jsx +1 -0
- package/src/components/manage/Blocks/Search/SearchBlockEdit.jsx +78 -0
- package/src/components/manage/Blocks/Search/SearchBlockView.jsx +85 -0
- package/src/components/manage/Blocks/Search/SelectStyling.jsx +60 -0
- package/src/components/manage/Blocks/Search/components/CheckboxFacet.jsx +46 -0
- package/src/components/manage/Blocks/Search/components/CheckboxFacet.test.jsx +34 -0
- package/src/components/manage/Blocks/Search/components/Facets.jsx +94 -0
- package/src/components/manage/Blocks/Search/components/FilterList.jsx +123 -0
- package/src/components/manage/Blocks/Search/components/FilterList.test.jsx +28 -0
- package/src/components/manage/Blocks/Search/components/SearchDetails.jsx +26 -0
- package/src/components/manage/Blocks/Search/components/SearchDetails.test.jsx +28 -0
- package/src/components/manage/Blocks/Search/components/SearchInput.jsx +46 -0
- package/src/components/manage/Blocks/Search/components/SearchInput.test.jsx +31 -0
- package/src/components/manage/Blocks/Search/components/SelectFacet.jsx +50 -0
- package/src/components/manage/Blocks/Search/components/SelectFacet.test.jsx +40 -0
- package/src/components/manage/Blocks/Search/components/SelectStyling.jsx +113 -0
- package/src/components/manage/Blocks/Search/components/SortOn.jsx +121 -0
- package/src/components/manage/Blocks/Search/components/index.js +7 -0
- package/src/components/manage/Blocks/Search/hocs/index.js +2 -0
- package/src/components/manage/Blocks/Search/hocs/withQueryString.jsx +32 -0
- package/src/components/manage/Blocks/Search/hocs/withSearch.jsx +303 -0
- package/src/components/manage/Blocks/Search/layout/LeftColumnFacets.jsx +149 -0
- package/src/components/manage/Blocks/Search/layout/RightColumnFacets.jsx +149 -0
- package/src/components/manage/Blocks/Search/layout/TopSideFacets.jsx +144 -0
- package/src/components/manage/Blocks/Search/schema.js +255 -0
- package/src/components/manage/Blocks/Search/widgets/SelectMetadataField.jsx +203 -0
- package/src/components/manage/Blocks/Text/Edit.jsx +4 -1
- package/src/components/manage/Contents/Contents.jsx +23 -10
- package/src/components/manage/Controlpanels/ContentTypeLayout.jsx +12 -8
- package/src/components/manage/Controlpanels/VersionOverview.jsx +1 -5
- package/src/components/manage/DragDropList/DragDropList.jsx +81 -64
- package/src/components/manage/Edit/Edit.jsx +4 -1
- package/src/components/manage/Form/BlockDataForm.test.jsx +15 -3
- package/src/components/manage/Form/Field.jsx +20 -0
- package/src/components/manage/Form/Field.test.jsx +23 -0
- package/src/components/manage/Form/Form.jsx +10 -1
- package/src/components/manage/Form/InlineForm.jsx +50 -29
- package/src/components/manage/Form/InlineForm.test.jsx +175 -9
- package/src/components/manage/LinkMore/LinkMore.jsx +42 -0
- package/src/components/manage/Sharing/Sharing.jsx +1 -1
- package/src/components/manage/Sidebar/ObjectBrowserBody.jsx +10 -4
- package/src/components/manage/Sidebar/SidebarPopup.stories.jsx +42 -0
- package/src/components/manage/UniversalLink/UniversalLink.jsx +11 -0
- package/src/components/manage/Widgets/AlignWidget.jsx +14 -6
- package/src/components/manage/Widgets/AlignWidget.stories.jsx +38 -0
- package/src/components/manage/Widgets/ArrayWidget.stories.jsx +2 -2
- package/src/components/manage/Widgets/CheckboxWidget.jsx +9 -0
- package/src/components/manage/Widgets/CheckboxWidget.stories.jsx +38 -0
- package/src/components/manage/Widgets/DatetimeWidget.jsx +9 -0
- package/src/components/manage/Widgets/DatetimeWidget.stories.jsx +38 -0
- package/src/components/manage/Widgets/EmailWidget.jsx +10 -3
- package/src/components/manage/Widgets/EmailWidget.stories.jsx +38 -0
- package/src/components/manage/Widgets/FileWidget.jsx +18 -0
- package/src/components/manage/Widgets/FileWidget.stories.jsx +38 -0
- package/src/components/manage/Widgets/FormFieldWrapper.jsx +1 -1
- package/src/components/manage/Widgets/NumberWidget.jsx +9 -2
- package/src/components/manage/Widgets/NumberWidget.stories.jsx +39 -0
- package/src/components/manage/Widgets/ObjectBrowserWidget.stories.js +1 -1
- package/src/components/manage/Widgets/ObjectListWidget.jsx +26 -0
- package/src/components/manage/Widgets/ObjectListWidget.stories.js +166 -44
- package/src/components/manage/Widgets/ObjectWidget.jsx +4 -10
- package/src/components/manage/Widgets/ObjectWidget.stories.jsx +157 -0
- package/src/components/manage/Widgets/PasswordWidget.jsx +9 -2
- package/src/components/manage/Widgets/PasswordWidget.stories.jsx +38 -0
- package/src/components/manage/Widgets/QueryWidget.jsx +2 -4
- package/src/components/manage/Widgets/QueryWidget.stories.jsx +38 -0
- package/src/components/manage/Widgets/QuerystringWidget.jsx +1 -1
- package/src/components/manage/Widgets/SelectWidget.jsx +16 -1
- package/src/components/manage/Widgets/SelectWidget.stories.jsx +1 -1
- package/src/components/manage/Widgets/TextWidget.jsx +4 -3
- package/src/components/manage/Widgets/TextWidget.stories.jsx +38 -0
- package/src/components/manage/Widgets/TextareaWidget.jsx +10 -3
- package/src/components/manage/Widgets/TextareaWidget.stories.jsx +38 -0
- package/src/components/manage/Widgets/UrlWidget.jsx +12 -4
- package/src/components/manage/Widgets/UrlWidget.stories.jsx +38 -0
- package/src/components/manage/Widgets/VocabularyTermsWidget.jsx +225 -138
- package/src/components/manage/Widgets/VocabularyTermsWidget.stories.js +31 -32
- package/src/components/manage/Widgets/VocabularyTermsWidget.test.jsx +36 -4
- package/src/components/manage/Widgets/WysiwygWidget.jsx +11 -3
- package/src/components/manage/Widgets/WysiwygWidget.stories.jsx +41 -0
- package/src/components/theme/Anontools/Anontools.jsx +0 -2
- package/src/components/theme/Anontools/Anontools.stories.jsx +24 -0
- package/src/components/theme/App/App.jsx +50 -3
- package/src/components/theme/Breadcrumbs/Breadcrumbs.jsx +2 -5
- package/src/components/theme/Breadcrumbs/Breadcrumbs.stories.jsx +30 -0
- package/src/components/theme/ContentMetadataTags/ContentMetadataTags.jsx +0 -2
- package/src/components/theme/Icon/Icon.stories.jsx +63 -0
- package/src/components/theme/Login/Login.jsx +2 -2
- package/src/components/theme/Logo/Logo.jsx +0 -1
- package/src/components/theme/Logo/Logo.svg +19 -4
- package/src/components/theme/Navigation/ContextNavigation.stories.js +27 -29
- package/src/components/theme/Navigation/NavItem.jsx +36 -0
- package/src/components/theme/Navigation/NavItems.jsx +14 -0
- package/src/components/theme/Navigation/Navigation.jsx +21 -27
- package/src/components/theme/Navigation/Navigation.test.jsx +26 -0
- package/src/components/theme/View/LinkView.jsx +5 -1
- package/src/components/theme/View/RenderBlocks.jsx +10 -2
- package/src/config/Blocks.jsx +108 -2
- package/src/config/Widgets.jsx +2 -0
- package/src/config/index.js +8 -4
- package/src/config/server.js +2 -0
- package/src/express-middleware/devproxy.js +93 -0
- package/src/helpers/Api/APIResourceWithAuth.js +6 -4
- package/src/helpers/Api/Api.js +7 -3
- package/src/helpers/Api/Api.plone.rest.test.js +41 -0
- package/src/helpers/Api/Api.test.js +4 -0
- package/src/helpers/AuthToken/AuthToken.js +6 -4
- package/src/helpers/Blocks/Blocks.js +65 -1
- package/src/helpers/Blocks/Blocks.test.js +273 -0
- package/src/helpers/Extensions/withBlockExtensions.js +42 -2
- package/src/helpers/Extensions/withBlockSchemaEnhancer.js +104 -16
- package/src/helpers/Extensions/withBlockSchemaEnhancer.test.js +145 -1
- package/src/helpers/FormValidation/FormValidation.js +4 -2
- package/src/helpers/FormValidation/FormValidation.test.js +1 -1
- package/src/helpers/Sitemap/Sitemap.js +1 -1
- package/src/helpers/Url/Url.js +2 -1
- package/src/helpers/Url/Url.test.js +7 -0
- package/src/helpers/Utils/usePagination.js +25 -0
- package/src/helpers/Utils/usePrevious.js +12 -0
- package/src/helpers/Vocabularies/Vocabularies.js +12 -0
- package/src/helpers/index.js +5 -0
- package/src/reducers/userSession/userSession.js +2 -1
- package/src/reducers/userSession/userSession.test.js +1 -1
- package/src/server.jsx +34 -73
- package/src/start-client.jsx +8 -5
- package/src/storybook.jsx +51 -3
- package/test-setup-config.js +13 -8
- package/theme/themes/pastanaga/collections/menu.overrides +1 -1
- package/theme/themes/pastanaga/collections/menu.variables +1 -0
- package/theme/themes/pastanaga/elements/header.overrides +1 -0
- package/theme/themes/pastanaga/extras/blocks.less +182 -1
- package/theme/themes/pastanaga/extras/contents.less +12 -0
- package/theme/themes/pastanaga/extras/main.less +78 -2
- package/theme/themes/pastanaga/extras/main.variables +13 -0
- package/theme/themes/pastanaga/extras/sidebar.less +2 -2
- package/theme/themes/pastanaga/extras/time-picker-overrides.less +1 -0
- package/theme/themes/pastanaga/extras/toolbar.less +9 -9
- package/theme/themes/pastanaga/extras/widgets.less +4 -0
- package/theme/themes/pastanaga/globals/site.variables +4 -2
- package/.tx/config +0 -10
- package/cypress/cypress.guillotina.json +0 -6
- package/pyvenv.cfg +0 -3
- package/src/components/manage/Sidebar/SidebarPopup.stories.mdx +0 -41
- package/src/components/theme/Anontools/Anontools.stories.mdx +0 -18
- package/src/components/theme/Breadcrumbs/Breadcrumbs.stories.mdx +0 -30
- package/src/components/theme/Icon/Icon.stories.mdx +0 -66
- package/src/components/theme/Logo/Logo.md +0 -17
- package/src/i18n.js +0 -257
|
@@ -5,7 +5,7 @@ jobs:
|
|
|
5
5
|
runs-on: ubuntu-latest
|
|
6
6
|
strategy:
|
|
7
7
|
matrix:
|
|
8
|
-
node-version: [12.x, 14.x]
|
|
8
|
+
node-version: [12.x, 14.x, 16.x]
|
|
9
9
|
python-version: [3.7]
|
|
10
10
|
steps:
|
|
11
11
|
- uses: actions/checkout@v2
|
|
@@ -32,6 +32,7 @@ jobs:
|
|
|
32
32
|
- run: yarn install --frozen-lockfile
|
|
33
33
|
|
|
34
34
|
# node test
|
|
35
|
+
- run: yarn i18n
|
|
35
36
|
- run: yarn test:ci
|
|
36
37
|
|
|
37
38
|
# # cypress acceptance tests
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
name: Documentation
|
|
2
2
|
on:
|
|
3
3
|
push:
|
|
4
|
-
|
|
5
|
-
-
|
|
4
|
+
branches:
|
|
5
|
+
- master
|
|
6
6
|
jobs:
|
|
7
7
|
build:
|
|
8
8
|
runs-on: ubuntu-latest
|
|
9
9
|
strategy:
|
|
10
10
|
matrix:
|
|
11
|
-
node-version: [
|
|
11
|
+
node-version: [16.x]
|
|
12
12
|
python-version: [3.7]
|
|
13
13
|
steps:
|
|
14
14
|
- uses: actions/checkout@v2
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,378 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 14.0.0-alpha.40 (2021-12-01)
|
|
4
|
+
|
|
5
|
+
### Bugfix
|
|
6
|
+
|
|
7
|
+
- In search block, read SearchableText search param, to use it as search text input
|
|
8
|
+
@tiberiuichim
|
|
9
|
+
- Fix missing translation in link content type @iRohitSingh
|
|
10
|
+
- Fixed drag-and-drop list placeholder issues @reebalazs
|
|
11
|
+
|
|
12
|
+
## 14.0.0-alpha.39 (2021-11-30)
|
|
13
|
+
|
|
14
|
+
### Bugfix
|
|
15
|
+
|
|
16
|
+
- QuerystringWidget more resilient on old schemas @nzambello
|
|
17
|
+
|
|
18
|
+
## 14.0.0-alpha.38 (2021-11-30)
|
|
19
|
+
|
|
20
|
+
### Bugfix
|
|
21
|
+
|
|
22
|
+
- Use subrequest in hero block to not lost locking token. @cekk
|
|
23
|
+
- Always add lang attr in html @nzambello
|
|
24
|
+
- Fix time widget position on 24h format @nzambello
|
|
25
|
+
|
|
26
|
+
### Internal
|
|
27
|
+
|
|
28
|
+
- Remove getNavigation from Login.jsx @iRohitSingh
|
|
29
|
+
- Allow listing block to be used in non-content pages (when used in a slot it
|
|
30
|
+
shouldn't crash on add/edit pages) @tiberiuichim
|
|
31
|
+
- Fix typo "toolbalWidth" @iRohitSingh
|
|
32
|
+
|
|
33
|
+
## 14.0.0-alpha.37 (2021-11-26)
|
|
34
|
+
|
|
35
|
+
### Bugfix
|
|
36
|
+
|
|
37
|
+
- Fixed object browser selected items number. @giuliaghisini
|
|
38
|
+
- Fix action vocabularies call avoiding regex look behind @nzambello
|
|
39
|
+
|
|
40
|
+
### Internal
|
|
41
|
+
|
|
42
|
+
- Fix select family widgets stories in storybook @sneridagh
|
|
43
|
+
|
|
44
|
+
## 14.0.0-alpha.36 (2021-11-25)
|
|
45
|
+
|
|
46
|
+
### Bugfix
|
|
47
|
+
|
|
48
|
+
- Fix regression in actions vocabularies calls because the change to use contextual schemas @sneridagh
|
|
49
|
+
- Include block schema enhancers (main block schema enhancer + variation schema enhancer) when calculating block default data @tiberiuichim
|
|
50
|
+
|
|
51
|
+
### Internal
|
|
52
|
+
|
|
53
|
+
- Fix references to old configuration style in apiExpanders documentation @tiberiuichim
|
|
54
|
+
- Add `applySchemaDefaults`, in addition to `applyBlockDefaults`, to allow reuse in object widgets and other advanced scenarios @tiberiuichim
|
|
55
|
+
|
|
56
|
+
## 14.0.0-alpha.35 (2021-11-24)
|
|
57
|
+
|
|
58
|
+
### Bugfix
|
|
59
|
+
|
|
60
|
+
- Fix `isInternalURL` when `settings.internalApiPath` is empty @tiberiuichim
|
|
61
|
+
- Fix external link not supported by Navigation component #2853. @ericof
|
|
62
|
+
- Get Add/Edit schema contextually #2852 @ericof
|
|
63
|
+
|
|
64
|
+
### Internal
|
|
65
|
+
|
|
66
|
+
- Upgrade p.restapi to 8.15.2 @sneridagh
|
|
67
|
+
|
|
68
|
+
## 14.0.0-alpha.34 (2021-11-20)
|
|
69
|
+
|
|
70
|
+
### Feature
|
|
71
|
+
|
|
72
|
+
- Apply form defaults from RenderBlocks and block Edit using a new helper, `applyBlockDefaults` @tiberiuichim
|
|
73
|
+
- Now each block config object can declare a schema factory (a function that can produce a schema) and this will be used to derive the default data for the block @tiberiuichim
|
|
74
|
+
|
|
75
|
+
## 14.0.0-alpha.33 (2021-11-20)
|
|
76
|
+
|
|
77
|
+
### Bugfix
|
|
78
|
+
|
|
79
|
+
- Fix downloadableObjects default value @giuliaghisini
|
|
80
|
+
- Folder contents table header and breadcrumbs dropdown now appear only from the
|
|
81
|
+
bottom, fixing an issue where the breadcrumb dropdown content was clipped
|
|
82
|
+
by the header area @ichim-david
|
|
83
|
+
- Folder contents sort dropdown is now also simple as the other dropdowns
|
|
84
|
+
ensuring we have the same behavior between adjecent dropdown @ichim-david
|
|
85
|
+
- Fix documention on block extensions, replace `render` with `template` to match Listing block @tiberiuichim
|
|
86
|
+
|
|
87
|
+
### Internal
|
|
88
|
+
|
|
89
|
+
- Upgrade stylelint to v14 (vscode-stylelint requires it now) @sneridagh
|
|
90
|
+
- Add several more stories for Storybook @tiberiuichim
|
|
91
|
+
- Add 2 new Volto websites by Eau de web for EEA @tiberiuichim
|
|
92
|
+
|
|
93
|
+
## 14.0.0-alpha.32 (2021-11-09)
|
|
94
|
+
|
|
95
|
+
### Breaking
|
|
96
|
+
|
|
97
|
+
- Listing block no longer use `fullobjects` to retrieve backend data. It uses the catalog data instead. @plone/volto-team
|
|
98
|
+
|
|
99
|
+
### Internal
|
|
100
|
+
|
|
101
|
+
- Remove bundlesize @tisto
|
|
102
|
+
- Upgrade plone.restapi from 8.12.1 -> 8.13.0 @tisto
|
|
103
|
+
|
|
104
|
+
## 14.0.0-alpha.31 (2021-11-07)
|
|
105
|
+
|
|
106
|
+
### Feature
|
|
107
|
+
|
|
108
|
+
- Added LinkMore component and link more in HeroImageLeft block. @giuliaghisini
|
|
109
|
+
|
|
110
|
+
### Bugfix
|
|
111
|
+
|
|
112
|
+
- Fix the selection of Maps Block @iRohitSingh
|
|
113
|
+
- UniversalLink: handle direct download for content-type File if user is not logged. @giuliaghisini
|
|
114
|
+
- Fixed ObjectBrowserWidget when is multiple or maximumSelectionSize is not set @giuliaghisini
|
|
115
|
+
- Fix full-width image overlaps the drag handle @iRohitSingh
|
|
116
|
+
- Fix move item to top of the folder when clicking on move to top action button @iRohitSingh
|
|
117
|
+
|
|
118
|
+
### Internal
|
|
119
|
+
|
|
120
|
+
- Removing the hardcoded default block type from text block @iRohitSingh
|
|
121
|
+
- updated Volto sites list @giuliaghisini
|
|
122
|
+
- Cleanup dangling virtualenv files that should not be committed @pnicolli
|
|
123
|
+
- Improve italian translation @pnicolli
|
|
124
|
+
|
|
125
|
+
## 14.0.0-alpha.30 (2021-11-07)
|
|
126
|
+
|
|
127
|
+
### Feature
|
|
128
|
+
|
|
129
|
+
- Support typescript usage in Volto sites @pnicolli
|
|
130
|
+
|
|
131
|
+
## 14.0.0-alpha.29 (2021-11-06)
|
|
132
|
+
|
|
133
|
+
### Bugfix
|
|
134
|
+
|
|
135
|
+
- Fix reset pagination in searchblock when changing facet filters @tiberiuichim
|
|
136
|
+
|
|
137
|
+
## 14.0.0-alpha.28 (2021-11-03)
|
|
138
|
+
|
|
139
|
+
### Feature
|
|
140
|
+
|
|
141
|
+
- Defaults are observed in block data if `InlineForm` or `BlockDataForm` are used. @sneridagh @tiberiuichim
|
|
142
|
+
|
|
143
|
+
## 14.0.0-alpha.27 (2021-11-02)
|
|
144
|
+
|
|
145
|
+
### Breaking
|
|
146
|
+
|
|
147
|
+
- Use title instead of id as a source of translation in "Variation" field in block enhancers @sneridagh
|
|
148
|
+
|
|
149
|
+
## 14.0.0-alpha.26 (2021-11-01)
|
|
150
|
+
|
|
151
|
+
### Feature
|
|
152
|
+
|
|
153
|
+
- Provide Server-Side Rendering capabilities for blocks with async-based content (such as the listing block). A block needs to provide its own `getAsyncData` implementation, which is similar to an `asyncConnect` wrapper promise. @tiberiuichim @sneridagh
|
|
154
|
+
|
|
155
|
+
## 14.0.0-alpha.25 (2021-11-01)
|
|
156
|
+
|
|
157
|
+
### Feature
|
|
158
|
+
|
|
159
|
+
- FormFieldWrapper accepts now strings and elements for description @nzambello
|
|
160
|
+
- Image block:
|
|
161
|
+
- When uploading an image or selecting that from the object browser, Image block will set an empty string as alternative text @nzambello
|
|
162
|
+
- Adds a description to the alt-tag with w3c explaination @nzambello
|
|
163
|
+
|
|
164
|
+
### Bugfix
|
|
165
|
+
|
|
166
|
+
- Fix disable mode of `QuerystringWidget` when all criteria are deleted @kreafox
|
|
167
|
+
|
|
168
|
+
### Internal
|
|
169
|
+
|
|
170
|
+
- Add RawMaterial website in Volto production sites @nzambello
|
|
171
|
+
|
|
172
|
+
## 14.0.0-alpha.24 (2021-10-29)
|
|
173
|
+
|
|
174
|
+
### Feature
|
|
175
|
+
|
|
176
|
+
- Support Node 16 @timo
|
|
177
|
+
|
|
178
|
+
### Bugfix
|
|
179
|
+
|
|
180
|
+
- Prevent ua-parser-js security breach. See: https://github.com/advisories/GHSA-pjwm-rvh2-c87w @thet
|
|
181
|
+
- Fix storybook errors in the connected components, api is undefined. Using now a mock of the store instead of the whole thing @sneridagh
|
|
182
|
+
- CSS fix on `QueryWidget` to prevent line jumping for clear button when the multi selection widget has multiple items @kreafox
|
|
183
|
+
|
|
184
|
+
## 14.0.0-alpha.23 (2021-10-21)
|
|
185
|
+
|
|
186
|
+
### Feature
|
|
187
|
+
|
|
188
|
+
- Enable to be able to use the internal proxy in production as well @sneridagh
|
|
189
|
+
|
|
190
|
+
### Bugfix
|
|
191
|
+
|
|
192
|
+
- Fix loading of cookie on SSR for certain requests, revert slight change in how they are loaded introduced in alpha 16 @sneridagh
|
|
193
|
+
|
|
194
|
+
## 14.0.0-alpha.22 (2021-10-20)
|
|
195
|
+
|
|
196
|
+
### Breaking
|
|
197
|
+
|
|
198
|
+
- Improve mobile navigation menu with a nicer interaction and a fixed overlay with a drawer (customizable via CSSTransitionGroup) animation @sneridagh
|
|
199
|
+
|
|
200
|
+
### Internal
|
|
201
|
+
|
|
202
|
+
- Add locales to existing block variations @sneridagh
|
|
203
|
+
|
|
204
|
+
## 14.0.0-alpha.21 (2021-10-17)
|
|
205
|
+
|
|
206
|
+
### Feature
|
|
207
|
+
|
|
208
|
+
- In the search block, allow editors to specify the sort on criteria.
|
|
209
|
+
@tiberiuichim
|
|
210
|
+
- Updated Volto production sites list @giuliaghisini
|
|
211
|
+
|
|
212
|
+
### Bugfix
|
|
213
|
+
|
|
214
|
+
- Bugfixes to search block. By default search block, when empty, makes a simple
|
|
215
|
+
query to the nav root, to list all content. Fix reading search text from URL.
|
|
216
|
+
Implement a simple compression of URL. Don't count searched text as filter.
|
|
217
|
+
Fix an edge case with showSearchInput in schema. Rename title to Section
|
|
218
|
+
Title in facet column settings. Avoid double calls to querystring endpoint.
|
|
219
|
+
@tiberiuichim
|
|
220
|
+
- Use correct shade of black in Plone logo @sneridagh
|
|
221
|
+
|
|
222
|
+
## 14.0.0-alpha.20 (2021-10-15)
|
|
223
|
+
|
|
224
|
+
### Breaking
|
|
225
|
+
|
|
226
|
+
- Revisited, rethought and refactored Seamless mode Seamless mode @sneridagh
|
|
227
|
+
For more information, please read the deploying guide
|
|
228
|
+
https://docs.voltocms.com/deploying/seamless-mode/
|
|
229
|
+
|
|
230
|
+
and the upgrade guide
|
|
231
|
+
https://docs.voltocms.com/upgrade-guide/
|
|
232
|
+
|
|
233
|
+
### Bugfix
|
|
234
|
+
|
|
235
|
+
- Fixed SelectWidget: when there was a selected value, the selection was lost when the tab was changed. @giuliaghisini
|
|
236
|
+
|
|
237
|
+
## 14.0.0-alpha.19 (2021-10-15)
|
|
238
|
+
|
|
239
|
+
### Feature
|
|
240
|
+
|
|
241
|
+
- Make VocabularyTermsWidget orderable @ksuess
|
|
242
|
+
- Get widget by tagged values @ksuess
|
|
243
|
+
|
|
244
|
+
## 14.0.0-alpha.18 (2021-10-11)
|
|
245
|
+
|
|
246
|
+
### Internal
|
|
247
|
+
|
|
248
|
+
- Re-release last release, since it does not show on NPM @sneridagh
|
|
249
|
+
|
|
250
|
+
## 14.0.0-alpha.17 (2021-10-11)
|
|
251
|
+
|
|
252
|
+
### Breaking
|
|
253
|
+
|
|
254
|
+
- Fix logout action using the backend @logout endpoint, effectively removing the `__ac` cookie. It is recommended to upgrade to the latest p.restapi version to take full advantage of this feature @sneridagh
|
|
255
|
+
|
|
256
|
+
### Bugfix
|
|
257
|
+
|
|
258
|
+
- Add spinner on sharing View Button @iRohitSingh
|
|
259
|
+
|
|
260
|
+
## 14.0.0-alpha.16 (2021-10-10)
|
|
261
|
+
|
|
262
|
+
### Bugfix
|
|
263
|
+
|
|
264
|
+
- Yet another attempt at fixing devproxy. Split the devproxy into a separate
|
|
265
|
+
express middleware. Introduce the `DEBUG_HPM` env var to make the devproxy
|
|
266
|
+
verbose @tiberiuichim
|
|
267
|
+
|
|
268
|
+
## 14.0.0-alpha.15 (2021-10-10)
|
|
269
|
+
|
|
270
|
+
### Breaking
|
|
271
|
+
|
|
272
|
+
- Adjusted main `Logo` component styling @sneridagh
|
|
273
|
+
|
|
274
|
+
For more information, please read the upgrade guide
|
|
275
|
+
https://docs.voltocms.com/upgrade-guide/
|
|
276
|
+
|
|
277
|
+
### Feature
|
|
278
|
+
|
|
279
|
+
- Add `volto-guillotina` addon to core @sneridagh
|
|
280
|
+
|
|
281
|
+
### Internal
|
|
282
|
+
|
|
283
|
+
- Improved developer documentation. Proof read several chapters, most importantly the upgrade guide @ichim-david
|
|
284
|
+
- Use Plone logo (Closes #2632) @ericof
|
|
285
|
+
- Updated Brazilian Portuguese translations @ericof
|
|
286
|
+
- Footer: Point to plone.org instead of plone.com @ericof
|
|
287
|
+
- Fix "make start-frontend" @tisto
|
|
288
|
+
- Update all the tests infrastructure for the new `volto-guillotina` addon @sneridagh
|
|
289
|
+
|
|
290
|
+
## 14.0.0-alpha.14 (2021-10-01)
|
|
291
|
+
|
|
292
|
+
### Bugfix
|
|
293
|
+
|
|
294
|
+
- Get `blocks` and `blocks_layout` defaults from existing behavior when enabling TTW editable DX Layout @avoinea
|
|
295
|
+
|
|
296
|
+
### Internal
|
|
297
|
+
|
|
298
|
+
- Add development dependency on use-trace-update, useful for performance debugging @tiberiuichim
|
|
299
|
+
- Upgrade to `@plone/scripts` 1.0.3 @sneridagh
|
|
300
|
+
|
|
301
|
+
## 14.0.0-alpha.13 (2021-09-30)
|
|
302
|
+
|
|
303
|
+
### Feature
|
|
304
|
+
|
|
305
|
+
- Add the new search block @tiberiuichim @kreafox @sneridagh
|
|
306
|
+
|
|
307
|
+
## 14.0.0-alpha.12 (2021-09-29)
|
|
308
|
+
|
|
309
|
+
### Bugfix
|
|
310
|
+
|
|
311
|
+
- Show correct fieldname and not internal field id in Toast error messages on Add/Edit forms @jackahl
|
|
312
|
+
- sitemap.xml.gz obeys Plone Search settings @erral
|
|
313
|
+
|
|
314
|
+
### Internal
|
|
315
|
+
|
|
316
|
+
- Use plone.volto instead of kitconcept.volto @tisto
|
|
317
|
+
- Silence customization errors, they are now behind a `debug` library namespace @sneridagh
|
|
318
|
+
- Remove recently introduced `RAZZLE_I18NDEBUGMODE` in favor of a `debug` library namespace @sneridagh
|
|
319
|
+
|
|
320
|
+
## 14.0.0-alpha.11 (2021-09-25)
|
|
321
|
+
|
|
322
|
+
### Internal
|
|
323
|
+
|
|
324
|
+
- Use released @plone/scripts, since the builds are broken if it's a local package @sneridagh
|
|
325
|
+
|
|
326
|
+
## 14.0.0-alpha.10 (2021-09-25)
|
|
327
|
+
|
|
328
|
+
### Breaking
|
|
329
|
+
|
|
330
|
+
- New i18n infrastructure in the new `@plone/scripts` package @sneridagh
|
|
331
|
+
- Removed `src/i18n.js` in favor of the above change @sneridagh
|
|
332
|
+
|
|
333
|
+
### Feature
|
|
334
|
+
|
|
335
|
+
- Add RAZZLE_I18NDEBUGMODE env var and corresponding i18nDebugMode config setting to enable/disable react-intl error messages. @sneridagh
|
|
336
|
+
|
|
337
|
+
### Bugfix
|
|
338
|
+
|
|
339
|
+
- Missing default messages from JSON EN language file @sneridagh
|
|
340
|
+
|
|
341
|
+
## 14.0.0-alpha.9 (2021-09-21)
|
|
342
|
+
|
|
343
|
+
### Breaking
|
|
344
|
+
|
|
345
|
+
- Use the block's title as the source of the translation instead of using the id of the block. See upgrade guide for more information @sneridagh
|
|
346
|
+
|
|
347
|
+
### Bugfix
|
|
348
|
+
|
|
349
|
+
- Do not show lead image block when the content type does not have the behavior enabled @sneridagh
|
|
350
|
+
|
|
351
|
+
## 14.0.0-alpha.8 (2021-09-20)
|
|
352
|
+
|
|
353
|
+
### Bugfix
|
|
354
|
+
|
|
355
|
+
- Fix logout action, removing the `__ac` cookie as well, if present. @sneridagh
|
|
356
|
+
|
|
357
|
+
## 14.0.0-alpha.7 (2021-09-20)
|
|
358
|
+
|
|
359
|
+
### Feature
|
|
360
|
+
|
|
361
|
+
- Japanese translation updated @terapyon
|
|
362
|
+
- German translations updated @tisto
|
|
363
|
+
|
|
364
|
+
## 14.0.0-alpha.6 (2021-09-20)
|
|
365
|
+
|
|
366
|
+
### Bugfix
|
|
367
|
+
|
|
368
|
+
- Fix SSR on /edit with dev proxy @tiberiuichim
|
|
369
|
+
|
|
370
|
+
## 14.0.0-alpha.5 (2021-09-20)
|
|
371
|
+
|
|
372
|
+
### Bugfix
|
|
373
|
+
|
|
374
|
+
- Fix on form errors in block editor, not changing to metadata tab @sneridagh
|
|
375
|
+
|
|
3
376
|
## 14.0.0-alpha.4 (2021-09-20)
|
|
4
377
|
|
|
5
378
|
### Internal
|
package/README.md
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
# Volto
|
|
2
|
+
|
|
2
3
|
<img align="right" width="300" alt="Volto png" src="./docs/logos/volto-colorful.png" />
|
|
3
4
|
|
|
4
5
|
[](https://www.npmjs.com/package/@plone/volto)
|
|
@@ -55,7 +56,7 @@ First get all the requirements installed on your system.
|
|
|
55
56
|
|
|
56
57
|
### Prerequisites
|
|
57
58
|
|
|
58
|
-
- [Node.js LTS (
|
|
59
|
+
- [Node.js LTS (16.x)](https://nodejs.org/)
|
|
59
60
|
- [Python 3.7.x / 2.7.x](https://python.org/) or
|
|
60
61
|
- [Docker](https://www.docker.com/get-started) (if using the Plone/Guillotina docker images)
|
|
61
62
|
|
|
@@ -66,7 +67,8 @@ Create a new Volto project by using the `@plone/generator-volto` utility.
|
|
|
66
67
|
It will bootstrap a Volto project in a folder of your choice with all the required
|
|
67
68
|
boilerplate to start customizing your Volto site.
|
|
68
69
|
|
|
69
|
-
$ npm
|
|
70
|
+
$ npm install -g yo @plone/generator-volto
|
|
71
|
+
$ yo @plone/volto
|
|
70
72
|
|
|
71
73
|
follow the prompts questions, provide `myvoltoproject` as project name then, when it finishes:
|
|
72
74
|
|
|
@@ -79,7 +81,7 @@ We recommend Plone as backend of choice for Volto.
|
|
|
79
81
|
You can bootstrap a ready Docker Plone container with all the dependencies and ready for Volto use:
|
|
80
82
|
|
|
81
83
|
```shell
|
|
82
|
-
docker run -it --rm --name=plone -p 8080:8080 -e SITE=Plone -e ADDONS="
|
|
84
|
+
docker run -it --rm --name=plone -p 8080:8080 -e SITE=Plone -e ADDONS="plone.volto" -e ZCML="plone.volto.cors" -e PROFILES="plone.volto:default-homepage" plone
|
|
83
85
|
```
|
|
84
86
|
|
|
85
87
|
or as an alternative if you have experience with Plone and you have all the
|
|
@@ -112,6 +114,7 @@ Volto is actively developed since 2017 and used in production since 2018 on the
|
|
|
112
114
|
- [Energy Climate Union portal for Europe](https://demo-energy-union.eea.europa.eu) (Thematic website focusing on European strides towards mitigating climate change, developed by [Eau de Web](https://www.eaudeweb.ro), 2020)
|
|
113
115
|
- [Talke Carrer Website](https://karriere.talke.com/) (Carrer website for [Talke](https://www.talke.com), one of the leading a chemical and petrochemical logistics companies in Germany, developed by [kitconcept GmbH](https://kitconcept.com), 2020)
|
|
114
116
|
- [Stradanove](http://www.stradanove.it/) (Website of the Department of Youth Policies of the Municipality of Modena, developed by [RedTurtle](https://redturtle.it), 2020)
|
|
117
|
+
- [VisitModena](https://www.visitmodena.it/) (Tourist website of the Municipality of Modena, developed by [RedTurtle](https://redturtle.it), 2020)
|
|
115
118
|
- [Study guide at University of Jyväskylä](https://studyguide.jyu.fi/2020/) (Static website where [Volto is used as a headless CMS for authoring additional content](https://tech.blog.jyu.fi/2020/06/plone-volto-hasura-gatsbyjs-mashup/), 2020)
|
|
116
119
|
- [Nuova Voce Ecologista](https://nuovavoceecologista.it) (Website of Nuova Voce Ecologista, an Italian green Party, 2020)
|
|
117
120
|
- [BISE](https://biodiversity.europa.eu) (Biodiversity Information System for Europe, developed by [Eau de Web](https://www.eaudeweb.ro), 2019)
|
|
@@ -120,7 +123,25 @@ Volto is actively developed since 2017 and used in production since 2018 on the
|
|
|
120
123
|
- [Baccanale Imola](https://www.baccanaleimola.it) (Baccanale is a food fair that happens every year in Imola, Italy. Developed by [RedTurtle](https://redturtle.it), 2020)
|
|
121
124
|
- [ResOU](https://resou.osaka-u.ac.jp) (ResOU is introducing official researched releases by the University of Osaka, Japan. Developed by [CMScom](https://www.cmscom.jp), 2020)
|
|
122
125
|
- [Humboldt Labor](https://www.humboldt-labor.de/) (The Humboldt Lab is a website where the Humboldt University Berlin presents its latest reaseach projects and findings. Developed by [WLDX](https://wldx.de/) and [kitconcept GmbH](https://kitconcept.com), 2020)
|
|
123
|
-
-
|
|
126
|
+
- [Osaka University](https://www.osaka-u.ac.jp/en) (Osaka University is considered one of the most prestigious universities in Japan. Developed by [CMScom](https://www.cmscom.jp), 2021)
|
|
127
|
+
- [Comune di Modena](https://www.comune.modena.it/) (Website of the Municipality of Modena. Developed by [RedTurtle](https://redturtle.it), 2020)
|
|
128
|
+
- [Comune di Camposanto](https://www.comune.camposanto.mo.it/) (Website of the Municipality of Camposanto. Developed by [RedTurtle](https://redturtle.it), 2021)
|
|
129
|
+
- [Comune di Cantagallo](https://www.comune.cantagallo.po.it/) (Website of the Municipality of Cantagallo. Developed by [RedTurtle](https://redturtle.it), 2021)
|
|
130
|
+
- [Comune di Vernio](https://www.comune.vernio.po.it/) (Website of the Municipality of Vernio. Developed by [RedTurtle](https://redturtle.it), 2021)
|
|
131
|
+
- [Unione dei Comuni della Val Bisenzio](https://www.bisenzio.it/) (Website of the Municipality union of Val Bisenzio. Developed by [RedTurtle](https://redturtle.it), 2021)
|
|
132
|
+
- [Comune di Vaiano](https://www.comune.vaiano.po.it/) (Website of the Municipality of Vaiano. Developed by [RedTurtle](https://redturtle.it), 2021)
|
|
133
|
+
- [ASP Area Nord](https://www.aspareanord.it/) (Website of the Public company of personal services of the Modena municipalities in the north area. Developed by [RedTurtle](https://redturtle.it), 2021)
|
|
134
|
+
- [Comune di San Possidonio](https://www.comune.sanpossidonio.mo.it/) (Website of the Municipality of San Possidonio. Developed by [RedTurtle](https://redturtle.it), 2021)
|
|
135
|
+
- [Comune di Mirandola](https://comune.mirandola.mo.it/) (Website of the Municipality of Mirandola. Developed by [RedTurtle](https://redturtle.it), 2021)
|
|
136
|
+
- [Comune di Medolla](http://www.comune.medolla.mo.it/) (Website of the Municipality of Medolla. Developed by [RedTurtle](https://redturtle.it), 2021)
|
|
137
|
+
- [Camera di Commercio dell'Umbria](https://www.umbria.camcom.it) (Website Chamber of Commerce of Umbria. Developed by [RedTurtle](https://redturtle.it), 2021)
|
|
138
|
+
- [Biblioteche Pianura Est](https://bibest.it) (Website of the Associated libraries of eastern plain. Developed by [RedTurtle](https://redturtle.it), 2021)
|
|
139
|
+
- [Camera di Commercio di Reggio Emilia](https://www.re.camcom.gov.it/) (Website Chamber of Commerce of Reggio Emilia. Developed by [RedTurtle](https://redturtle.it), 2021)
|
|
140
|
+
- [RawMaterial](https://rawmaterial.it/en) (Company's website. Developed by [RawMaterial](https://rawmaterial.it/en), 2021)
|
|
141
|
+
- [WISE-Freshwater](https://water.europa.eu/freshwater) (WISE-Freshwater, the Freshwater Information System for Europe. Developed by [Eau de web](https://eaudeweb.ro) for the European Environmental Agency, 2021)
|
|
142
|
+
- [EEA-IMSv4](https://www.eea.europa.eu/ims) (EEA Indicator Management System v4. Developed by [Eau de web](https://eaudeweb.ro) for the European Environmental Agency, 2021)
|
|
143
|
+
|
|
144
|
+
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!
|
|
124
145
|
|
|
125
146
|
## Documentation
|
|
126
147
|
|
|
@@ -161,9 +182,10 @@ as part of the Plone training docs at [https://training.plone.org/5/volto/index.
|
|
|
161
182
|
|
|
162
183
|
## Node Support
|
|
163
184
|
|
|
185
|
+
- Node 16: Supported since Volto 14
|
|
164
186
|
- Node 14: Supported since Volto 8.8.0
|
|
165
187
|
- Node 12: Supported since Volto 4
|
|
166
|
-
- Node 10:
|
|
188
|
+
- Node 10: Deprecated from Volto 13 onwards. It was supported since Volto 1 (and its predecessor "plone-react")
|
|
167
189
|
|
|
168
190
|
## Browser support
|
|
169
191
|
|
|
@@ -200,7 +222,7 @@ yarn
|
|
|
200
222
|
Either using a Docker image
|
|
201
223
|
|
|
202
224
|
```shell
|
|
203
|
-
docker run -it --rm --name=plone -p 8080:8080 -e SITE=Plone -e ADDONS="
|
|
225
|
+
docker run -it --rm --name=plone -p 8080:8080 -e SITE=Plone -e ADDONS="plone.volto" -e ZCML="plone.volto.cors" -e PROFILES="plone.volto:default-homepage" plone
|
|
204
226
|
```
|
|
205
227
|
|
|
206
228
|
or using the convenience makefile command:
|
|
@@ -341,6 +363,11 @@ yarn ci:start-api-plone-guillotina
|
|
|
341
363
|
|
|
342
364
|
If you would like contribute to translate Volto into several languages, please, read the [Internationalization (i18n) guide](https://docs.voltocms.com/customizing/i18n/).
|
|
343
365
|
|
|
366
|
+
## Contributors
|
|
367
|
+
|
|
368
|
+
<a href="https://github.com/plone/volto/graphs/contributors">
|
|
369
|
+
<img src="https://contrib.rocks/image?repo=plone/volto" />
|
|
370
|
+
</a>
|
|
344
371
|
|
|
345
372
|
## License
|
|
346
373
|
|
package/ROADMAP.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Roadmap
|
|
2
|
+
|
|
3
|
+
## Volto 14 (Plone 6 alpha)
|
|
4
|
+
|
|
5
|
+
- [x] Add locking support (requires plone.restapi 8.9.0 or 7.4.0) @avoinea
|
|
6
|
+
- [x] Add search block @tiberiuichim @kreafox @sneridagh
|
|
7
|
+
- [x] New seamless mode (see https://docs.voltocms.com/deploying/seamless-mode/ for details) @sneridagh
|
|
8
|
+
- [x] New mobile navigation menu @sneridagh
|
|
9
|
+
- [x] Add Plone logo @ericof @sneridagh
|
|
10
|
+
- [x] Deprecate the old configuration system (see https://docs.voltocms.com/upgrade-guide/#volto-configuration-registry for details) @sneridagh
|
|
11
|
+
- [x] New i18n infrastructure in the new @plone/scripts package @sneridagh
|
|
12
|
+
- [x] Support Node 16 @tisto
|
|
13
|
+
|
|
14
|
+
Check the Volto 14 upgrade guide for breaking changes: https://docs.voltocms.com/upgrade-guide/#upgrading-to-volto-14xx
|
|
15
|
+
|
|
16
|
+
## Volto 15 (Plone 6 beta)
|
|
17
|
+
|
|
18
|
+
- [ ] Switch from DraftJS to Slate as default editor: https://github.com/plone/volto/issues/2167
|
|
19
|
+
|
|
20
|
+
## Volto 16+ (nice to have, no blockers)
|
|
21
|
+
|
|
22
|
+
- [ ] Control Panel Overhaul: https://github.com/plone/volto/issues/29
|
|
23
|
+
- [ ] Content Rules: https://github.com/plone/volto/issues/10
|
|
24
|
+
- [ ] Form Builder: https://github.com/plone/volto/issues/739
|
|
25
|
+
- [ ] Grid Block
|
|
26
|
+
- [ ] Teaser Block
|
|
27
|
+
|
|
28
|
+
## Plone 6
|
|
29
|
+
|
|
30
|
+
- Plone 6 final will ship with the current final Volto version that is around at that time
|