@plone/volto 15.0.0-alpha.3 → 15.0.0-alpha.7
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/ISSUE_TEMPLATE/bug_report.md +7 -6
- package/.github/ISSUE_TEMPLATE/feature_request.md +0 -1
- package/.github/workflows/{core-sandbox.yml → coresandbox.yml} +1 -1
- package/.github/workflows/docs.yml +15 -55
- package/.storybook/main.js +3 -9
- package/CHANGELOG.md +69 -2
- package/CODE_OF_CONDUCT.md +0 -1
- package/COMMITLINT.md +19 -21
- package/README.md +1 -1
- package/SECURITY.md +0 -1
- package/addon-registry.js +16 -11
- package/dist/assets.json +1 -0
- package/dist/chunks.json +572 -0
- package/dist/loadable-stats.json +2099 -0
- package/dist/messages/src/components/manage/Actions/Actions.json +42 -0
- package/dist/messages/src/components/manage/Add/Add.json +22 -0
- package/dist/messages/src/components/manage/AnchorPlugin/components/LinkButton/AddLinkForm.json +6 -0
- package/dist/messages/src/components/manage/BlockChooser/BlockChooser.json +10 -0
- package/dist/messages/src/components/manage/BlockChooser/BlockChooserButton.json +6 -0
- package/dist/messages/src/components/manage/Blocks/Block/Edit.json +6 -0
- package/dist/messages/src/components/manage/Blocks/Block/EditBlockWrapper.json +6 -0
- package/dist/messages/src/components/manage/Blocks/Description/Edit.json +6 -0
- package/dist/messages/src/components/manage/Blocks/HTML/Edit.json +26 -0
- package/dist/messages/src/components/manage/Blocks/HeroImageLeft/Edit.json +26 -0
- package/dist/messages/src/components/manage/Blocks/HeroImageLeft/schema.json +14 -0
- package/dist/messages/src/components/manage/Blocks/Image/Edit.json +6 -0
- package/dist/messages/src/components/manage/Blocks/Image/ImageSidebar.json +46 -0
- package/dist/messages/src/components/manage/Blocks/Image/ImageSizeWidget.json +14 -0
- package/dist/messages/src/components/manage/Blocks/LeadImage/Edit.json +6 -0
- package/dist/messages/src/components/manage/Blocks/LeadImage/LeadImageSidebar.json +42 -0
- package/dist/messages/src/components/manage/Blocks/Listing/Edit.json +10 -0
- package/dist/messages/src/components/manage/Blocks/Listing/ListingBody.json +14 -0
- package/dist/messages/src/components/manage/Blocks/Listing/schema.json +22 -0
- package/dist/messages/src/components/manage/Blocks/Maps/Edit.json +34 -0
- package/dist/messages/src/components/manage/Blocks/Maps/MapsSidebar.json +26 -0
- package/dist/messages/src/components/manage/Blocks/Maps/View.json +6 -0
- package/dist/messages/src/components/manage/Blocks/Search/SearchBlockEdit.json +6 -0
- package/dist/messages/src/components/manage/Blocks/Search/components/DateRangeFacet.json +10 -0
- package/dist/messages/src/components/manage/Blocks/Search/components/DateRangeFacetFilterListEntry.json +10 -0
- package/dist/messages/src/components/manage/Blocks/Search/components/FilterList.json +10 -0
- package/dist/messages/src/components/manage/Blocks/Search/components/SearchDetails.json +10 -0
- package/dist/messages/src/components/manage/Blocks/Search/components/SearchInput.json +6 -0
- package/dist/messages/src/components/manage/Blocks/Search/components/SortOn.json +18 -0
- package/dist/messages/src/components/manage/Blocks/Search/components/ToggleFacetFilterListEntry.json +10 -0
- package/dist/messages/src/components/manage/Blocks/Search/layout/LeftColumnFacets.json +6 -0
- package/dist/messages/src/components/manage/Blocks/Search/layout/RightColumnFacets.json +6 -0
- package/dist/messages/src/components/manage/Blocks/Search/layout/TopSideFacets.json +6 -0
- package/dist/messages/src/components/manage/Blocks/Search/schema.json +90 -0
- package/dist/messages/src/components/manage/Blocks/Table/Edit.json +58 -0
- package/dist/messages/src/components/manage/Blocks/Text/Edit.json +6 -0
- package/dist/messages/src/components/manage/Blocks/Title/Edit.json +6 -0
- package/dist/messages/src/components/manage/Blocks/ToC/View.json +6 -0
- package/dist/messages/src/components/manage/Blocks/Video/Edit.json +14 -0
- package/dist/messages/src/components/manage/Blocks/Video/VideoSidebar.json +30 -0
- package/dist/messages/src/components/manage/Contents/Contents.json +198 -0
- package/dist/messages/src/components/manage/Contents/ContentsBreadcrumbs.json +10 -0
- package/dist/messages/src/components/manage/Contents/ContentsItem.json +66 -0
- package/dist/messages/src/components/manage/Contents/ContentsPropertiesModal.json +50 -0
- package/dist/messages/src/components/manage/Contents/ContentsRenameModal.json +26 -0
- package/dist/messages/src/components/manage/Contents/ContentsTagsModal.json +18 -0
- package/dist/messages/src/components/manage/Contents/ContentsUploadModal.json +42 -0
- package/dist/messages/src/components/manage/Contents/ContentsWorkflowModal.json +22 -0
- package/dist/messages/src/components/manage/Controlpanels/AddonsControlpanel.json +62 -0
- package/dist/messages/src/components/manage/Controlpanels/ContentType.json +26 -0
- package/dist/messages/src/components/manage/Controlpanels/ContentTypeLayout.json +34 -0
- package/dist/messages/src/components/manage/Controlpanels/ContentTypeSchema.json +34 -0
- package/dist/messages/src/components/manage/Controlpanels/ContentTypes.json +62 -0
- package/dist/messages/src/components/manage/Controlpanels/ContentTypesActions.json +18 -0
- package/dist/messages/src/components/manage/Controlpanels/Controlpanel.json +22 -0
- package/dist/messages/src/components/manage/Controlpanels/Controlpanels.json +30 -0
- package/dist/messages/src/components/manage/Controlpanels/DatabaseInformation.json +58 -0
- package/dist/messages/src/components/manage/Controlpanels/Groups/GroupsControlpanel.json +22 -0
- package/dist/messages/src/components/manage/Controlpanels/Groups/RenderGroups.json +6 -0
- package/dist/messages/src/components/manage/Controlpanels/ModerateComments.json +34 -0
- package/dist/messages/src/components/manage/Controlpanels/Users/RenderUsers.json +6 -0
- package/dist/messages/src/components/manage/Controlpanels/Users/UsersControlpanel.json +22 -0
- package/dist/messages/src/components/manage/Controlpanels/VersionOverview.json +10 -0
- package/dist/messages/src/components/manage/Delete/Delete.json +18 -0
- package/dist/messages/src/components/manage/Diff/Diff.json +34 -0
- package/dist/messages/src/components/manage/Display/Display.json +6 -0
- package/dist/messages/src/components/manage/Edit/Edit.json +18 -0
- package/dist/messages/src/components/manage/Form/InlineForm.json +14 -0
- package/dist/messages/src/components/manage/Form/ModalForm.json +30 -0
- package/dist/messages/src/components/manage/Form/UndoToolbar.json +10 -0
- package/dist/messages/src/components/manage/History/History.json +50 -0
- package/dist/messages/src/components/manage/LockingToastsFactory/LockingToastsFactory.json +10 -0
- package/dist/messages/src/components/manage/Multilingual/CompareLanguages.json +10 -0
- package/dist/messages/src/components/manage/Multilingual/ManageTranslations.json +34 -0
- package/dist/messages/src/components/manage/Multilingual/TranslationObject.json +6 -0
- package/dist/messages/src/components/manage/Preferences/ChangePassword.json +46 -0
- package/dist/messages/src/components/manage/Preferences/PersonalInformation.json +62 -0
- package/dist/messages/src/components/manage/Preferences/PersonalPreferences.json +30 -0
- package/dist/messages/src/components/manage/Sharing/Sharing.json +66 -0
- package/dist/messages/src/components/manage/Sidebar/AlignBlock.json +18 -0
- package/dist/messages/src/components/manage/Sidebar/ObjectBrowserBody.json +30 -0
- package/dist/messages/src/components/manage/Sidebar/ObjectBrowserNav.json +10 -0
- package/dist/messages/src/components/manage/Sidebar/Sidebar.json +22 -0
- package/dist/messages/src/components/manage/Toolbar/More.json +46 -0
- package/dist/messages/src/components/manage/Toolbar/PersonalTools.json +26 -0
- package/dist/messages/src/components/manage/Toolbar/Toolbar.json +62 -0
- package/dist/messages/src/components/manage/Toolbar/Types.json +14 -0
- package/dist/messages/src/components/manage/Widgets/ArrayWidget.json +14 -0
- package/dist/messages/src/components/manage/Widgets/DatetimeWidget.json +10 -0
- package/dist/messages/src/components/manage/Widgets/FileWidget.json +22 -0
- package/dist/messages/src/components/manage/Widgets/FormFieldWrapper.json +14 -0
- package/dist/messages/src/components/manage/Widgets/ObjectBrowserWidget.json +18 -0
- package/dist/messages/src/components/manage/Widgets/ObjectListWidget.json +22 -0
- package/dist/messages/src/components/manage/Widgets/QuerySortOnWidget.json +10 -0
- package/dist/messages/src/components/manage/Widgets/QueryWidget.json +14 -0
- package/dist/messages/src/components/manage/Widgets/QuerystringWidget.json +30 -0
- package/dist/messages/src/components/manage/Widgets/RecurrenceWidget/ByMonthDayField.json +10 -0
- package/dist/messages/src/components/manage/Widgets/RecurrenceWidget/ByYearField.json +6 -0
- package/dist/messages/src/components/manage/Widgets/RecurrenceWidget/EndField.json +18 -0
- package/dist/messages/src/components/manage/Widgets/RecurrenceWidget/Occurences.json +30 -0
- package/dist/messages/src/components/manage/Widgets/RecurrenceWidget/RecurrenceWidget.json +74 -0
- package/dist/messages/src/components/manage/Widgets/RecurrenceWidget/Utils.json +130 -0
- package/dist/messages/src/components/manage/Widgets/RecurrenceWidget/WeekdayOfTheMonthIndexField.json +26 -0
- package/dist/messages/src/components/manage/Widgets/ReferenceWidget.json +10 -0
- package/dist/messages/src/components/manage/Widgets/SchemaWidget.json +106 -0
- package/dist/messages/src/components/manage/Widgets/SelectAutoComplete.json +14 -0
- package/dist/messages/src/components/manage/Widgets/SelectUtils.json +6 -0
- package/dist/messages/src/components/manage/Widgets/SelectWidget.json +46 -0
- package/dist/messages/src/components/manage/Widgets/TokenWidget.json +10 -0
- package/dist/messages/src/components/manage/Widgets/VocabularyTermsWidget.json +26 -0
- package/dist/messages/src/components/manage/Widgets/WysiwygWidget.json +30 -0
- package/dist/messages/src/components/manage/Workflow/Workflow.json +14 -0
- package/dist/messages/src/components/manage/WorkingCopyToastsFactory/WorkingCopyToastsFactory.json +14 -0
- package/dist/messages/src/components/theme/Anontools/Anontools.json +10 -0
- package/dist/messages/src/components/theme/Breadcrumbs/Breadcrumbs.json +10 -0
- package/dist/messages/src/components/theme/Comments/CommentEditModal.json +14 -0
- package/dist/messages/src/components/theme/Comments/Comments.json +42 -0
- package/dist/messages/src/components/theme/ConnectionRefused/ConnectionRefused.json +18 -0
- package/dist/messages/src/components/theme/ContactForm/ContactForm.json +46 -0
- package/dist/messages/src/components/theme/CorsError/CorsError.json +18 -0
- package/dist/messages/src/components/theme/Footer/Footer.json +42 -0
- package/dist/messages/src/components/theme/Forbidden/Forbidden.json +10 -0
- package/dist/messages/src/components/theme/LanguageSelector/LanguageSelector.json +6 -0
- package/dist/messages/src/components/theme/Login/Login.json +50 -0
- package/dist/messages/src/components/theme/Logo/Logo.json +10 -0
- package/dist/messages/src/components/theme/Navigation/Navigation.json +10 -0
- package/dist/messages/src/components/theme/NotFound/NotFound.json +22 -0
- package/dist/messages/src/components/theme/OutdatedBrowser/OutdatedBrowser.json +10 -0
- package/dist/messages/src/components/theme/Pagination/Pagination.json +6 -0
- package/dist/messages/src/components/theme/PasswordReset/PasswordReset.json +70 -0
- package/dist/messages/src/components/theme/PasswordReset/RequestPasswordReset.json +38 -0
- package/dist/messages/src/components/theme/Register/Register.json +38 -0
- package/dist/messages/src/components/theme/Search/Search.json +38 -0
- package/dist/messages/src/components/theme/SearchWidget/SearchWidget.json +10 -0
- package/dist/messages/src/components/theme/Sitemap/Sitemap.json +6 -0
- package/dist/messages/src/components/theme/SkipLinks/SkipLinks.json +14 -0
- package/dist/messages/src/components/theme/Unauthorized/Unauthorized.json +26 -0
- package/dist/messages/src/components/theme/View/DefaultView.json +6 -0
- package/dist/messages/src/components/theme/View/EventView.json +38 -0
- package/dist/messages/src/components/theme/View/ImageView.json +10 -0
- package/dist/messages/src/components/theme/View/LinkView.json +6 -0
- package/dist/messages/src/components/theme/View/RenderBlocks.json +6 -0
- package/dist/messages/src/components/theme/View/SummaryView.json +6 -0
- package/dist/messages/src/components/theme/View/TabularView.json +18 -0
- package/dist/messages/src/config/Blocks.json +82 -0
- package/dist/messages/src/error.json +18 -0
- package/dist/messages/src/helpers/Extensions/withBlockSchemaEnhancer.json +6 -0
- package/dist/messages/src/helpers/MessageLabels/MessageLabels.json +186 -0
- package/dist/public/android-chrome-192x192.png +0 -0
- package/dist/public/android-chrome-512x512.png +0 -0
- package/dist/public/apple-touch-icon.png +0 -0
- package/dist/public/favicon-16x16.png +0 -0
- package/dist/public/favicon-32x32.png +0 -0
- package/dist/public/favicon.ico +0 -0
- package/dist/public/icon.svg +13 -0
- package/dist/public/index.html.spa +34 -0
- package/dist/public/robots.txt +2 -0
- package/dist/public/site.webmanifest +19 -0
- package/dist/public/static/css/15.2cdd5437.chunk.css +409 -0
- package/dist/public/static/css/15.2cdd5437.chunk.css.map +1 -0
- package/dist/public/static/css/8.37cef611.chunk.css +2 -0
- package/dist/public/static/css/8.37cef611.chunk.css.map +1 -0
- package/dist/public/static/css/client.72f6ae1a.chunk.css +8 -0
- package/dist/public/static/css/client.72f6ae1a.chunk.css.map +1 -0
- package/dist/public/static/css/plone-volto-components-manage-Widgets-DatetimeWidget.c847a331.chunk.css +2 -0
- package/dist/public/static/css/plone-volto-components-manage-Widgets-DatetimeWidget.c847a331.chunk.css.map +1 -0
- package/dist/public/static/js/0.3e794c57.chunk.js +2 -0
- package/dist/public/static/js/0.3e794c57.chunk.js.map +1 -0
- package/dist/public/static/js/1.fece2b93.chunk.js +3 -0
- package/dist/public/static/js/1.fece2b93.chunk.js.LICENSE.txt +8 -0
- package/dist/public/static/js/1.fece2b93.chunk.js.map +1 -0
- package/dist/public/static/js/15.2cdd5437.chunk.js +3 -0
- package/dist/public/static/js/15.2cdd5437.chunk.js.LICENSE.txt +120 -0
- package/dist/public/static/js/15.2cdd5437.chunk.js.map +1 -0
- package/dist/public/static/js/16.a3a0662d.chunk.js +3 -0
- package/dist/public/static/js/16.a3a0662d.chunk.js.LICENSE.txt +8 -0
- package/dist/public/static/js/16.a3a0662d.chunk.js.map +1 -0
- package/dist/public/static/js/17.9478c50d.chunk.js +2 -0
- package/dist/public/static/js/17.9478c50d.chunk.js.map +1 -0
- package/dist/public/static/js/18.388e65d0.chunk.js +2 -0
- package/dist/public/static/js/18.388e65d0.chunk.js.map +1 -0
- package/dist/public/static/js/19.7c6b4a80.chunk.js +2 -0
- package/dist/public/static/js/19.7c6b4a80.chunk.js.map +1 -0
- package/dist/public/static/js/2.e6b0d690.chunk.js +2 -0
- package/dist/public/static/js/2.e6b0d690.chunk.js.map +1 -0
- package/dist/public/static/js/20.ada67f0e.chunk.js +3 -0
- package/dist/public/static/js/20.ada67f0e.chunk.js.LICENSE.txt +8 -0
- package/dist/public/static/js/20.ada67f0e.chunk.js.map +1 -0
- package/dist/public/static/js/21.3de49ac8.chunk.js +2 -0
- package/dist/public/static/js/21.3de49ac8.chunk.js.map +1 -0
- package/dist/public/static/js/22.ecefb8f2.chunk.js +2 -0
- package/dist/public/static/js/22.ecefb8f2.chunk.js.map +1 -0
- package/dist/public/static/js/23.3027bc00.chunk.js +2 -0
- package/dist/public/static/js/23.3027bc00.chunk.js.map +1 -0
- package/dist/public/static/js/24.aaaf4abf.chunk.js +2 -0
- package/dist/public/static/js/24.aaaf4abf.chunk.js.map +1 -0
- package/dist/public/static/js/25.c4d7d5e0.chunk.js +2 -0
- package/dist/public/static/js/25.c4d7d5e0.chunk.js.map +1 -0
- package/dist/public/static/js/26.d59ac3c1.chunk.js +2 -0
- package/dist/public/static/js/26.d59ac3c1.chunk.js.map +1 -0
- package/dist/public/static/js/27.266d95dd.chunk.js +2 -0
- package/dist/public/static/js/27.266d95dd.chunk.js.map +1 -0
- package/dist/public/static/js/28.d965d304.chunk.js +2 -0
- package/dist/public/static/js/28.d965d304.chunk.js.map +1 -0
- package/dist/public/static/js/29.7d8d1992.chunk.js +2 -0
- package/dist/public/static/js/29.7d8d1992.chunk.js.map +1 -0
- package/dist/public/static/js/3.025ba843.chunk.js +2 -0
- package/dist/public/static/js/3.025ba843.chunk.js.map +1 -0
- package/dist/public/static/js/30.a3d54e31.chunk.js +2 -0
- package/dist/public/static/js/30.a3d54e31.chunk.js.map +1 -0
- package/dist/public/static/js/31.9edf64ee.chunk.js +2 -0
- package/dist/public/static/js/31.9edf64ee.chunk.js.map +1 -0
- package/dist/public/static/js/32.649dbfc2.chunk.js +2 -0
- package/dist/public/static/js/32.649dbfc2.chunk.js.map +1 -0
- package/dist/public/static/js/33.45949ca4.chunk.js +2 -0
- package/dist/public/static/js/33.45949ca4.chunk.js.map +1 -0
- package/dist/public/static/js/34.084257cf.chunk.js +2 -0
- package/dist/public/static/js/34.084257cf.chunk.js.map +1 -0
- package/dist/public/static/js/35.00679602.chunk.js +3 -0
- package/dist/public/static/js/35.00679602.chunk.js.LICENSE.txt +37 -0
- package/dist/public/static/js/35.00679602.chunk.js.map +1 -0
- package/dist/public/static/js/36.4a29fdbd.chunk.js +3 -0
- package/dist/public/static/js/36.4a29fdbd.chunk.js.LICENSE.txt +7 -0
- package/dist/public/static/js/36.4a29fdbd.chunk.js.map +1 -0
- package/dist/public/static/js/37.fbbe07b3.chunk.js +3 -0
- package/dist/public/static/js/37.fbbe07b3.chunk.js.LICENSE.txt +14 -0
- package/dist/public/static/js/37.fbbe07b3.chunk.js.map +1 -0
- package/dist/public/static/js/38.b31c59ad.chunk.js +3 -0
- package/dist/public/static/js/38.b31c59ad.chunk.js.LICENSE.txt +8 -0
- package/dist/public/static/js/38.b31c59ad.chunk.js.map +1 -0
- package/dist/public/static/js/39.69d6a789.chunk.js +2 -0
- package/dist/public/static/js/39.69d6a789.chunk.js.map +1 -0
- package/dist/public/static/js/4.bdc4a5c5.chunk.js +2 -0
- package/dist/public/static/js/4.bdc4a5c5.chunk.js.map +1 -0
- package/dist/public/static/js/40.90de6e4a.chunk.js +2 -0
- package/dist/public/static/js/40.90de6e4a.chunk.js.map +1 -0
- package/dist/public/static/js/7.7acc66bc.chunk.js +2 -0
- package/dist/public/static/js/7.7acc66bc.chunk.js.map +1 -0
- package/dist/public/static/js/8.37cef611.chunk.js +3 -0
- package/dist/public/static/js/8.37cef611.chunk.js.LICENSE.txt +25 -0
- package/dist/public/static/js/8.37cef611.chunk.js.map +1 -0
- package/dist/public/static/js/client.72f6ae1a.chunk.js +2 -0
- package/dist/public/static/js/client.72f6ae1a.chunk.js.map +1 -0
- package/dist/public/static/js/draft-js-lib-isSoftNewlineEvent.6cd05e34.chunk.js +2 -0
- package/dist/public/static/js/draft-js-lib-isSoftNewlineEvent.6cd05e34.chunk.js.map +1 -0
- package/dist/public/static/js/moment.2caa76d1.chunk.js +2 -0
- package/dist/public/static/js/moment.2caa76d1.chunk.js.map +1 -0
- package/dist/public/static/js/plone-volto-components-manage-Widgets-DatetimeWidget.c847a331.chunk.js +2 -0
- package/dist/public/static/js/plone-volto-components-manage-Widgets-DatetimeWidget.c847a331.chunk.js.map +1 -0
- package/dist/public/static/js/plone-volto-components-theme-View-EventView.433dd14b.chunk.js +2 -0
- package/dist/public/static/js/plone-volto-components-theme-View-EventView.433dd14b.chunk.js.map +1 -0
- package/dist/public/static/js/react-dates.f71abb7c.chunk.js +2 -0
- package/dist/public/static/js/react-dates.f71abb7c.chunk.js.map +1 -0
- package/dist/public/static/js/react-simple-code-editor.33478dc3.chunk.js +2 -0
- package/dist/public/static/js/react-simple-code-editor.33478dc3.chunk.js.map +1 -0
- package/dist/public/static/js/runtime~client.d372df0e.js +2 -0
- package/dist/public/static/js/runtime~client.d372df0e.js.map +1 -0
- package/dist/public/static/media/Logo.16e25cdf.svg +21 -0
- package/dist/public/static/media/block-image.8a4a14d5.svg +8 -0
- package/dist/public/static/media/block-maps.731e84f6.svg +7 -0
- package/dist/public/static/media/block-video.832fa3ff.svg +7 -0
- package/dist/public/static/media/default-image.9451b251.svg +13 -0
- package/dist/public/static/media/flags.9c74e172.png +0 -0
- package/dist/public/static/media/icons.022583c4.svg +320 -0
- package/dist/public/static/media/icons.06400145.ttf +0 -0
- package/dist/public/static/media/icons.dbc1ef8b.eot +0 -0
- package/dist/public/static/media/icons.df45b7de.woff +0 -0
- package/dist/server.js +2 -0
- package/dist/server.js.map +1 -0
- package/docker-compose.yml +15 -10
- package/locales/ca/LC_MESSAGES/volto.po +14 -0
- package/locales/ca.json +1 -1
- package/locales/de/LC_MESSAGES/volto.po +14 -0
- package/locales/de.json +1 -1
- package/locales/en/LC_MESSAGES/volto.po +14 -0
- package/locales/en.json +1 -1
- package/locales/es/LC_MESSAGES/volto.po +14 -0
- package/locales/es.json +1 -1
- package/locales/eu/LC_MESSAGES/volto.po +14 -0
- package/locales/eu.json +1 -1
- package/locales/fr/LC_MESSAGES/volto.po +14 -0
- package/locales/fr.json +1 -1
- package/locales/it/LC_MESSAGES/volto.po +14 -0
- package/locales/it.json +1 -1
- package/locales/ja/LC_MESSAGES/volto.po +14 -0
- package/locales/ja.json +1 -1
- package/locales/nl/LC_MESSAGES/volto.po +14 -0
- package/locales/nl.json +1 -1
- package/locales/pt/LC_MESSAGES/volto.po +14 -0
- package/locales/pt.json +1 -1
- package/locales/pt_BR/LC_MESSAGES/volto.po +14 -0
- package/locales/pt_BR.json +1 -1
- package/locales/ro/LC_MESSAGES/volto.po +14 -0
- package/locales/ro.json +1 -1
- package/locales/volto.pot +15 -1
- package/logos/Logo.png +0 -0
- package/logos/volto-colorful.png +0 -0
- package/logos/volto-colorful.svg +35 -0
- package/logos/volto-guide.png +0 -0
- package/logos/volto-h-transparent.svg +6 -0
- package/logos/volto-transparent.png +0 -0
- package/logos/volto-transparent.svg +19 -0
- package/logos/volto-transparent2.svg +5 -0
- package/logos/volto-yellow.svg +29 -0
- package/logos/volto.sketch +0 -0
- package/netlify.toml +2 -0
- package/package.json +13 -10
- package/pyvenv.cfg +3 -0
- package/razzle.config.js +13 -13
- package/src/actions/language/language.js +7 -2
- package/src/components/manage/AnchorPlugin/components/LinkButton/AddLinkForm.jsx +1 -2
- package/src/components/manage/AnchorPlugin/components/LinkButton/index.jsx +15 -6
- package/src/components/manage/AnchorPlugin/index.jsx +12 -5
- package/src/components/manage/AnchorPlugin/utils/EditorUtils.js +8 -7
- package/src/components/manage/Blocks/Description/Edit.jsx +33 -19
- package/src/components/manage/Blocks/Description/Edit.test.jsx +6 -0
- package/src/components/manage/Blocks/HeroImageLeft/Edit.jsx +37 -26
- package/src/components/manage/Blocks/HeroImageLeft/Edit.test.jsx +6 -0
- package/src/components/manage/Blocks/Listing/View.jsx +1 -1
- package/src/components/manage/Blocks/Search/README.md +20 -0
- package/src/components/manage/Blocks/Search/components/CheckboxFacet.jsx +16 -3
- package/src/components/manage/Blocks/Search/components/DateRangeFacet.jsx +120 -0
- package/src/components/manage/Blocks/Search/components/DateRangeFacet.test.jsx +34 -0
- package/src/components/manage/Blocks/Search/components/DateRangeFacetFilterListEntry.jsx +39 -0
- package/src/components/manage/Blocks/Search/components/Facets.jsx +24 -25
- package/src/components/manage/Blocks/Search/components/FilterList.jsx +37 -67
- package/src/components/manage/Blocks/Search/components/FilterList.test.jsx +49 -1
- package/src/components/manage/Blocks/Search/components/SelectFacet.jsx +9 -0
- package/src/components/manage/Blocks/Search/components/SelectFacetFilterListEntry.jsx +42 -0
- package/src/components/manage/Blocks/Search/components/SelectStyling.jsx +1 -1
- package/src/components/manage/Blocks/Search/components/ToggleFacet.jsx +38 -0
- package/src/components/manage/Blocks/Search/components/ToggleFacetFilterListEntry.jsx +39 -0
- package/src/components/manage/Blocks/Search/components/base.js +52 -0
- package/src/components/manage/Blocks/Search/components/index.js +5 -0
- package/src/components/manage/Blocks/Search/hocs/withSearch.jsx +68 -27
- package/src/components/manage/Blocks/Search/schema.js +7 -4
- package/src/components/manage/Blocks/Search/utils.js +16 -0
- package/src/components/manage/Blocks/Table/Cell.jsx +40 -14
- package/src/components/manage/Blocks/Table/Cell.test.jsx +7 -1
- package/src/components/manage/Blocks/Table/Edit.jsx +7 -3
- package/src/components/manage/Blocks/Table/Edit.test.jsx +6 -0
- package/src/components/manage/Blocks/Table/View.jsx +2 -2
- package/src/components/manage/Blocks/Text/Edit.jsx +56 -14
- package/src/components/manage/Blocks/Text/Edit.test.jsx +7 -1
- package/src/components/manage/Blocks/Text/View.jsx +2 -2
- package/src/components/manage/Blocks/Title/Edit.jsx +25 -13
- package/src/components/manage/Blocks/Title/Edit.test.jsx +6 -0
- package/src/components/manage/Sidebar/Sidebar.jsx +5 -1
- package/src/components/manage/Toolbar/Toolbar.jsx +3 -1
- package/src/components/manage/UniversalLink/UniversalLink.jsx +5 -2
- package/src/components/manage/Widgets/DatetimeWidget.jsx +3 -1
- package/src/components/manage/Widgets/UrlWidget.jsx +1 -1
- package/src/components/manage/Widgets/WysiwygWidget.jsx +45 -19
- package/src/components/manage/Widgets/WysiwygWidget.test.jsx +7 -1
- package/src/components/theme/View/LinkView.jsx +3 -3
- package/src/components/theme/View/View.jsx +5 -1
- package/src/config/Blocks.jsx +31 -0
- package/src/config/Loadables.jsx +22 -0
- package/src/config/RichTextEditor/Blocks.jsx +25 -20
- package/src/config/RichTextEditor/Plugins.jsx +38 -31
- package/src/config/RichTextEditor/Styles.jsx +48 -44
- package/src/config/RichTextEditor/index.js +25 -0
- package/src/config/index.js +14 -18
- package/src/helpers/Api/Api.js +18 -4
- package/src/helpers/Extensions/index.js +1 -1
- package/src/helpers/Extensions/withBlockExtensions.js +4 -0
- package/src/helpers/Extensions/withBlockExtensions.test.js +26 -1
- package/src/helpers/Url/Url.js +32 -1
- package/src/helpers/Url/urlRegex.js +7 -1
- package/src/helpers/index.js +2 -0
- package/src/middleware/api.js +21 -2
- package/src/server.jsx +9 -2
- package/test-setup-config.js +22 -7
- package/theme/themes/pastanaga/extras/blocks.less +29 -0
- package/{webpack-bundle-analyze-plugin.js → webpack-plugins/webpack-bundle-analyze-plugin.js} +0 -0
- package/{webpack-less-plugin.js → webpack-plugins/webpack-less-plugin.js} +0 -0
- package/{webpack-relative-resolver.js → webpack-plugins/webpack-relative-resolver.js} +0 -0
- package/{webpack-root-resolver.js → webpack-plugins/webpack-root-resolver.js} +0 -0
- package/{webpack-sentry-plugin.js → webpack-plugins/webpack-sentry-plugin.js} +0 -0
- package/{webpack-svg-plugin.js → webpack-plugins/webpack-svg-plugin.js} +0 -0
- package/.surgeignore +0 -2
- package/Dockerfile.slim +0 -27
- package/patches/fixprettier.patch +0 -11
- package/patches/fixstylelint.patch +0 -11
- package/src/components/manage/AnchorPlugin/utils/URLUtils.js +0 -36
- package/src/components/manage/AnchorPlugin/utils/mailRegex.js +0 -2
- package/src/components/manage/AnchorPlugin/utils/telRegex.js +0 -1
- package/src/components/manage/AnchorPlugin/utils/urlRegex.js +0 -54
- package/styleguide.config.js +0 -42
|
@@ -4,7 +4,6 @@ about: Create a report to help us improve Volto
|
|
|
4
4
|
title: ''
|
|
5
5
|
labels: '01 type: bug'
|
|
6
6
|
assignees: ''
|
|
7
|
-
|
|
8
7
|
---
|
|
9
8
|
|
|
10
9
|
**Describe the bug**
|
|
@@ -12,6 +11,7 @@ A clear and concise description of what the bug is.
|
|
|
12
11
|
|
|
13
12
|
**To Reproduce**
|
|
14
13
|
Steps to reproduce the behavior:
|
|
14
|
+
|
|
15
15
|
1. Go to '...'
|
|
16
16
|
2. Click on '....'
|
|
17
17
|
3. Scroll down to '....'
|
|
@@ -24,11 +24,12 @@ A clear and concise description of what you expected to happen.
|
|
|
24
24
|
If applicable, add screenshots to help explain your problem.
|
|
25
25
|
|
|
26
26
|
**Software (please complete the following information):**
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
27
|
+
|
|
28
|
+
- OS: [e.g. iOS]
|
|
29
|
+
- Browser [e.g. chrome, safari]
|
|
30
|
+
- Volto Version [e.g. 8.5.0]
|
|
31
|
+
- Plone Version [e.g. 5.2.2]
|
|
32
|
+
- Plone REST API Version [e.g. 7.0.1]
|
|
32
33
|
|
|
33
34
|
**Additional context**
|
|
34
35
|
Add any other context about the problem here.
|
|
@@ -3,79 +3,39 @@ on:
|
|
|
3
3
|
push:
|
|
4
4
|
branches:
|
|
5
5
|
- master
|
|
6
|
+
# Build pull requests
|
|
7
|
+
pull_request:
|
|
8
|
+
|
|
6
9
|
jobs:
|
|
7
|
-
|
|
10
|
+
docs:
|
|
8
11
|
runs-on: ubuntu-latest
|
|
9
12
|
strategy:
|
|
10
13
|
matrix:
|
|
11
|
-
|
|
12
|
-
python-version: [3.7]
|
|
14
|
+
python-version: ['3.10']
|
|
13
15
|
steps:
|
|
14
16
|
- uses: actions/checkout@v2
|
|
15
17
|
|
|
16
|
-
# node setup
|
|
17
|
-
- name: Use Node.js ${{ matrix.node-version }}
|
|
18
|
-
uses: actions/setup-node@v1
|
|
19
|
-
with:
|
|
20
|
-
node-version: ${{ matrix.node-version }}
|
|
21
|
-
|
|
22
|
-
# node cache
|
|
23
|
-
- name: Get yarn cache directory path
|
|
24
|
-
id: yarn-cache-dir-path
|
|
25
|
-
run: echo "::set-output name=dir::$(yarn cache dir)"
|
|
26
|
-
- uses: actions/cache@v1
|
|
27
|
-
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
|
|
28
|
-
with:
|
|
29
|
-
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
|
|
30
|
-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
|
31
|
-
restore-keys: |
|
|
32
|
-
${{ runner.os }}-yarn-
|
|
33
|
-
|
|
34
|
-
# node install
|
|
35
|
-
- run: yarn install --frozen-lockfile
|
|
36
|
-
|
|
37
|
-
# python setup
|
|
38
18
|
- name: Set up Python ${{ matrix.python-version }}
|
|
39
|
-
uses: actions/setup-python@
|
|
19
|
+
uses: actions/setup-python@v2
|
|
40
20
|
with:
|
|
41
21
|
python-version: ${{ matrix.python-version }}
|
|
42
22
|
|
|
43
|
-
|
|
44
|
-
|
|
23
|
+
- name: Use Python GitHub Actions cache
|
|
24
|
+
uses: actions/cache@v2
|
|
45
25
|
with:
|
|
46
26
|
path: ~/.cache/pip
|
|
47
27
|
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements-docs.txt') }}
|
|
48
28
|
restore-keys: |
|
|
49
29
|
${{ runner.os }}-pip-
|
|
50
30
|
|
|
51
|
-
|
|
52
|
-
|
|
31
|
+
- name: Create Python virtual environment
|
|
32
|
+
run: pip install virtualenv
|
|
53
33
|
|
|
54
|
-
- name: pip install
|
|
34
|
+
- name: pip install requirements
|
|
55
35
|
run: pip install -r requirements-docs.txt
|
|
56
36
|
|
|
57
|
-
#
|
|
58
|
-
|
|
59
|
-
working-directory: docs
|
|
60
|
-
run: mkdocs build
|
|
61
|
-
|
|
62
|
-
# Build Storybook
|
|
63
|
-
- name: Build Storybook
|
|
64
|
-
run: yarn build-storybook -o docs/build/storybook
|
|
65
|
-
|
|
66
|
-
# Deploy docs to server
|
|
67
|
-
- name: Deploy to server
|
|
68
|
-
id: deploy
|
|
69
|
-
uses: Pendect/action-rsyncer@v1.1.0
|
|
70
|
-
env:
|
|
71
|
-
DEPLOY_KEY: ${{secrets.DEPLOY_KEY}}
|
|
72
|
-
with:
|
|
73
|
-
flags: '-avzr --delete'
|
|
74
|
-
options: ''
|
|
75
|
-
ssh_options: '-p ${{secrets.DEPLOY_PORT}}'
|
|
76
|
-
src: 'docs/build/'
|
|
77
|
-
dest: '${{secrets.DEPLOY_USER}}@${{secrets.DEPLOY_SERVER}}:/var/www/docs.voltocms.com'
|
|
78
|
-
|
|
37
|
+
# - name: Check for broken links
|
|
38
|
+
# run: make docs-linkcheckbroken
|
|
79
39
|
|
|
80
|
-
- name:
|
|
81
|
-
run:
|
|
40
|
+
- name: Build HTML documentation
|
|
41
|
+
run: make docs-html
|
package/.storybook/main.js
CHANGED
|
@@ -5,7 +5,7 @@ const fileLoaderFinder = makeLoaderFinder('file-loader');
|
|
|
5
5
|
|
|
6
6
|
const projectRootPath = path.resolve('.');
|
|
7
7
|
const createAddonsLoader = require('../create-addons-loader');
|
|
8
|
-
const lessPlugin = require('../webpack-less-plugin');
|
|
8
|
+
const lessPlugin = require('../webpack-plugins/webpack-less-plugin');
|
|
9
9
|
|
|
10
10
|
const createConfig = require('../node_modules/razzle/config/createConfigAsync.js');
|
|
11
11
|
const razzleConfig = require(path.join(projectRootPath, 'razzle.config.js'));
|
|
@@ -31,14 +31,8 @@ const SVGLOADER = {
|
|
|
31
31
|
};
|
|
32
32
|
|
|
33
33
|
module.exports = {
|
|
34
|
-
stories: [
|
|
35
|
-
|
|
36
|
-
'../src/**/*.stories.@(js|jsx|ts|tsx)'
|
|
37
|
-
],
|
|
38
|
-
addons: [
|
|
39
|
-
'@storybook/addon-links',
|
|
40
|
-
'@storybook/addon-essentials',
|
|
41
|
-
],
|
|
34
|
+
stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
|
|
35
|
+
addons: ['@storybook/addon-links', '@storybook/addon-essentials'],
|
|
42
36
|
webpackFinal: async (config, { configType }) => {
|
|
43
37
|
// `configType` has a value of 'DEVELOPMENT' or 'PRODUCTION'
|
|
44
38
|
// You can change the configuration based on that.
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,70 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 15.0.0-alpha.7 (2022-02-22)
|
|
4
|
+
|
|
5
|
+
### Feature
|
|
6
|
+
|
|
7
|
+
- Introduce the new `BUILD_DIR` runtime environment variable to direct the build to run in an especific location, different than `build` folder. @sneridagh
|
|
8
|
+
- Handle redirect permanent calls from the backend in the frontend (e.g. when changing the short name) @robgietema
|
|
9
|
+
|
|
10
|
+
## 15.0.0-alpha.6 (2022-02-21)
|
|
11
|
+
|
|
12
|
+
### Feature
|
|
13
|
+
|
|
14
|
+
- DatetimeWidget 'noPastDates' option: Take widgetOptions?.pattern_options?.noPastDates of backend schema into account. @ksuess
|
|
15
|
+
- Add a new type of filter facet for the Search block. Heavily refactor some searchblock internals. @tiberiuichim
|
|
16
|
+
- Add date range facet to the search block @robgietema
|
|
17
|
+
|
|
18
|
+
### Internal
|
|
19
|
+
|
|
20
|
+
- Improve flaky test in coresandbox search Cypress tests @sneridagh
|
|
21
|
+
|
|
22
|
+
### Documentation
|
|
23
|
+
|
|
24
|
+
- (Experimental) Prepare documentation for MyST and importing into `plone/documentation@6-dev`. @stevepiercy
|
|
25
|
+
- Fix broken links and redirects in documentation to be compatible with MyST. @stevepiercy
|
|
26
|
+
- Update add-on internationalization. @ksuess
|
|
27
|
+
- Add MyST and Sphinx basic configuration for rapid build and comparison against MkDocs builds. @stevepiercy
|
|
28
|
+
- Fix many MyST and Sphinx warnings. @stevepiercy
|
|
29
|
+
- Remove MkDocs configuration. See https://github.com/plone/volto/issues/3042 @stevepiercy
|
|
30
|
+
- Add Plone docs to Intersphinx and fix broken link. @stevepiercy
|
|
31
|
+
- Get version from `package.json` @sneridagh
|
|
32
|
+
- Remove legacy folder in docs @sneridagh
|
|
33
|
+
- Backport docs of RAZZLE_TESTING_ADDONS environment variables. See https://github.com/plone/volto/pull/3067/files#diff-00609ed769cd40cf3bc3d6fcc4431b714cb37c73cedaaea18fe9fc4c1c589597 @stevepiercy
|
|
34
|
+
- Add missing developer-guidelines/typescript to toctree @stevepiercy
|
|
35
|
+
- Add Netlify for preview of Sphinx builds for pull requests against `master` and `plone6-docs`. @stevepiercy
|
|
36
|
+
- Clean up toctree errors by removing obsolete files, adding `:orphan:` field list, and reorganizing some files. @sneridagh and @stevepiercy
|
|
37
|
+
- Switch to using netlify.toml to configure Netlify Python environment. @stevepiercy
|
|
38
|
+
- Convert admonition syntax from Markdown to MyST. @sneridagh
|
|
39
|
+
- Make links build both in Volto and Plone documentation. See https://github.com/plone/volto/pull/3094 @stevepiercy
|
|
40
|
+
|
|
41
|
+
## 15.0.0-alpha.5 (2022-02-16)
|
|
42
|
+
|
|
43
|
+
### Breaking
|
|
44
|
+
|
|
45
|
+
- Lazyload draftjs library. See the upgrade guide on how that impacts you, in case you have extended the rich text editor configuration @tiberiuichim @kreafox
|
|
46
|
+
See https://docs.voltocms.com/upgrade-guide/ for more information.
|
|
47
|
+
|
|
48
|
+
### Feature
|
|
49
|
+
|
|
50
|
+
- Add `cookiesExpire` value to config to control the cookie expiration @giuliaghisini
|
|
51
|
+
|
|
52
|
+
## 15.0.0-alpha.4 (2022-02-16)
|
|
53
|
+
|
|
54
|
+
### Breaking
|
|
55
|
+
|
|
56
|
+
- Markup change in `LinkView` component.
|
|
57
|
+
- Rename `core-sandbox` to `coresandbox` for sake of consistency @sneridagh
|
|
58
|
+
- Extend the original intent and rename `RAZZLE_TESTING_ADDONS` to `ADDONS`. @sneridagh
|
|
59
|
+
See https://docs.voltocms.com/upgrade-guide/ for more information.
|
|
60
|
+
|
|
61
|
+
### Internal
|
|
62
|
+
|
|
63
|
+
- House cleanup, remove some unused files in the root @sneridagh
|
|
64
|
+
- Move Webpack related files to `webpack-plugins` folder @sneridagh
|
|
65
|
+
- Remove unused Dockerfiles @sneridagh
|
|
66
|
+
- Update Docker compose to latest images and best practices @sneridagh
|
|
67
|
+
|
|
3
68
|
## 15.0.0-alpha.3 (2022-02-11)
|
|
4
69
|
|
|
5
70
|
### Bugfix
|
|
@@ -119,7 +184,7 @@ new users/evaluators. @fredvd
|
|
|
119
184
|
|
|
120
185
|
### Feature
|
|
121
186
|
|
|
122
|
-
- VocabularyTermsWidget: Token is now on creation of term editable, but stays ineditable afterwards.
|
|
187
|
+
- VocabularyTermsWidget: Token is now on creation of term editable, but stays ineditable afterwards. @ksuess
|
|
123
188
|
|
|
124
189
|
### Bugfix
|
|
125
190
|
|
|
@@ -275,7 +340,7 @@ See https://docs.voltocms.com/upgrade-guide/ for more information about all the
|
|
|
275
340
|
@tiberiuichim
|
|
276
341
|
- Added `.storybook` setup in the Volto `app` generator. Volto projects generated from this scafolding are now ready to run Storybook for the project and develop addons (in `src/addons` folder).
|
|
277
342
|
- Style checkboxes @nileshgulia1
|
|
278
|
-
- Allow loading .less files also from a Volto project's `src` folder.
|
|
343
|
+
- Allow loading .less files also from a Volto project's `src` folder. @tiberiuichim
|
|
279
344
|
- Add catalan translation @bloodbare @sneridagh
|
|
280
345
|
- Updated Volto production sites list @giuliaghisini
|
|
281
346
|
- Japanese translation updated @terapyon
|
|
@@ -447,6 +512,8 @@ See https://docs.voltocms.com/upgrade-guide/ for more information about all the
|
|
|
447
512
|
- Update to plone.restapi 8.16.2 (revert missing_value PR) @sneridagh
|
|
448
513
|
- Update all requirements and the reasoning behind them in builds @sneridagh
|
|
449
514
|
- Update Plone version in api backend to 5.2.6. Update README and cleanup @fredvd
|
|
515
|
+
- Various local development build improvements @rpatterson
|
|
516
|
+
- Document CI changelog verifier failure details that mislead contributors
|
|
450
517
|
- Document CI changelog verifier failure details that mislead contributors @rpatterson
|
|
451
518
|
- Updated italian translation @pnicolli
|
|
452
519
|
|
package/CODE_OF_CONDUCT.md
CHANGED
|
@@ -11,4 +11,3 @@ If a participant engages in harassing behavior, representatives of the community
|
|
|
11
11
|
If you are being harassed, notice that someone else is being harassed, or have any other concerns, please act to intercede or ask for help from any member of the Plone Foundation, IRC chat admins, website admins, or organizers/representatives of any physical events put on under the auspices of the Plone Foundation.
|
|
12
12
|
|
|
13
13
|
Source: https://plone.org/foundation/materials/foundation-resolutions/code-of-conduct (2019-09-29)
|
|
14
|
-
|
package/COMMITLINT.md
CHANGED
|
@@ -4,75 +4,73 @@ Volto uses the (conventional commit specification)[https://www.conventionalcommi
|
|
|
4
4
|
|
|
5
5
|
All commit messages should have the following form:
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
```
|
|
8
8
|
<type>: <description>
|
|
9
|
-
|
|
9
|
+
```
|
|
10
10
|
|
|
11
11
|
## Fix
|
|
12
12
|
|
|
13
13
|
A fix (PATCH in semantic versioning) looks like this:
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
```
|
|
16
16
|
fix: correct minor typos in code
|
|
17
|
-
|
|
17
|
+
```
|
|
18
18
|
|
|
19
19
|
## Feature
|
|
20
20
|
|
|
21
21
|
A new feature (MINOR in semantic versioning) looks like this:
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
```
|
|
24
24
|
feat: add catalan language
|
|
25
|
-
|
|
25
|
+
```
|
|
26
26
|
|
|
27
27
|
## Breaking Change
|
|
28
28
|
|
|
29
29
|
Breaking changes can be indicated by either appending a "!" to the type:
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
```
|
|
32
32
|
refactor!: drop support for Node 6
|
|
33
|
-
|
|
33
|
+
```
|
|
34
34
|
|
|
35
35
|
Or adding "BREAKING CHANGE" to the commit message body text:
|
|
36
36
|
|
|
37
|
-
|
|
37
|
+
```
|
|
38
38
|
refactor!: drop support for Node 6
|
|
39
39
|
|
|
40
40
|
BREAKING CHANGE: refactor to use JavaScript features not available in Node 6.
|
|
41
|
-
|
|
41
|
+
```
|
|
42
42
|
|
|
43
43
|
## Available Types
|
|
44
44
|
|
|
45
45
|
In addition to "fix" and "feat" the following types are allowed:
|
|
46
46
|
build:, chore:, ci:, docs:, style:, refactor:, perf:, test:
|
|
47
47
|
|
|
48
|
-
|
|
49
|
-
|
|
50
48
|
Install commitlint:
|
|
51
49
|
|
|
52
|
-
|
|
50
|
+
```
|
|
53
51
|
npm install --save-dev @commitlint/{config-conventional,cli}
|
|
54
|
-
|
|
52
|
+
```
|
|
55
53
|
|
|
56
54
|
or via yarn:
|
|
57
55
|
|
|
58
|
-
|
|
56
|
+
```
|
|
59
57
|
yarn add @commitlint/{config-conventional,cli}
|
|
60
|
-
|
|
58
|
+
```
|
|
61
59
|
|
|
62
60
|
Create a commitlint.config.js file:
|
|
63
61
|
|
|
64
|
-
|
|
62
|
+
```
|
|
65
63
|
echo "module.exports = {extends: ['@commitlint/config-conventional']}" > commitlint.config.js
|
|
66
|
-
|
|
64
|
+
```
|
|
67
65
|
|
|
68
66
|
Add husky to package.json:
|
|
69
67
|
|
|
70
|
-
|
|
68
|
+
```
|
|
71
69
|
{
|
|
72
70
|
"husky": {
|
|
73
71
|
"hooks": {
|
|
74
72
|
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
|
75
|
-
}
|
|
73
|
+
}
|
|
76
74
|
}
|
|
77
75
|
}
|
|
78
|
-
|
|
76
|
+
```
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Volto
|
|
2
2
|
|
|
3
|
-
<img align="right" width="300" alt="Volto png" src="./
|
|
3
|
+
<img align="right" width="300" alt="Volto png" src="./logos/volto-colorful.png" />
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@plone/volto)
|
|
6
6
|
[](https://github.com/plone/volto/actions)
|
package/SECURITY.md
CHANGED
package/addon-registry.js
CHANGED
|
@@ -124,7 +124,7 @@ class AddonConfigurationRegistry {
|
|
|
124
124
|
|
|
125
125
|
this.initDevelopmentPackages();
|
|
126
126
|
this.initPublishedPackages();
|
|
127
|
-
this.
|
|
127
|
+
this.initAddonsFromEnvVar();
|
|
128
128
|
|
|
129
129
|
this.dependencyGraph = buildDependencyGraph(
|
|
130
130
|
this.resultantMergedAddons,
|
|
@@ -203,15 +203,16 @@ class AddonConfigurationRegistry {
|
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
205
|
|
|
206
|
-
|
|
207
|
-
if (process.env.
|
|
208
|
-
process.env.
|
|
209
|
-
this.
|
|
206
|
+
initAddonsFromEnvVar() {
|
|
207
|
+
if (process.env.ADDONS) {
|
|
208
|
+
process.env.ADDONS.split(',').forEach(
|
|
209
|
+
this.initAddonFromEnvVar.bind(this),
|
|
210
210
|
);
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
213
|
|
|
214
|
-
|
|
214
|
+
initAddonFromEnvVar(name) {
|
|
215
|
+
// First lookup in the packages folder, local to the root (either vanilla Volto or project)
|
|
215
216
|
const normalizedAddonName = name.split(':')[0];
|
|
216
217
|
const testingPackagePath = `${this.projectRootPath}/packages/${normalizedAddonName}/src`;
|
|
217
218
|
if (fs.existsSync(testingPackagePath)) {
|
|
@@ -233,6 +234,10 @@ class AddonConfigurationRegistry {
|
|
|
233
234
|
this.packages[normalizedAddonName] || {},
|
|
234
235
|
pkg,
|
|
235
236
|
);
|
|
237
|
+
} else {
|
|
238
|
+
// Fallback in case the addon is released (not in packages folder nor in development, but in node_modules)
|
|
239
|
+
const normalizedAddonName = name.split(':')[0];
|
|
240
|
+
this.initPublishedPackage(normalizedAddonName);
|
|
236
241
|
}
|
|
237
242
|
}
|
|
238
243
|
|
|
@@ -385,14 +390,14 @@ class AddonConfigurationRegistry {
|
|
|
385
390
|
}
|
|
386
391
|
|
|
387
392
|
/**
|
|
388
|
-
* Allow
|
|
393
|
+
* Allow packages from addons set in env vars to customize Volto and other addons.
|
|
389
394
|
*
|
|
390
|
-
* Same as the above one, but specific for Volto
|
|
395
|
+
* Same as the above one, but specific for Volto addons coming from env vars
|
|
391
396
|
*/
|
|
392
|
-
|
|
397
|
+
getAddonsFromEnvVarCustomizationPaths() {
|
|
393
398
|
let aliases = {};
|
|
394
|
-
if (process.env.
|
|
395
|
-
process.env.
|
|
399
|
+
if (process.env.ADDONS) {
|
|
400
|
+
process.env.ADDONS.split(',').forEach((addon) => {
|
|
396
401
|
const normalizedAddonName = addon.split(':')[0];
|
|
397
402
|
const testingPackagePath = `${this.projectRootPath}/packages/${normalizedAddonName}/src`;
|
|
398
403
|
if (fs.existsSync(testingPackagePath)) {
|
package/dist/assets.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"moment":{"js":"/static/js/moment.2caa76d1.chunk.js"},"plone-volto-components-theme-View-EventView":{"js":"/static/js/plone-volto-components-theme-View-EventView.433dd14b.chunk.js"},"client":{"css":"/static/css/client.72f6ae1a.chunk.css","js":"/static/js/client.72f6ae1a.chunk.js"},"draft-js-lib-isSoftNewlineEvent":{"js":"/static/js/draft-js-lib-isSoftNewlineEvent.6cd05e34.chunk.js"},"plone-volto-components-manage-Widgets-DatetimeWidget":{"css":"/static/css/plone-volto-components-manage-Widgets-DatetimeWidget.c847a331.chunk.css","js":"/static/js/plone-volto-components-manage-Widgets-DatetimeWidget.c847a331.chunk.js"},"react-dates":{"js":"/static/js/react-dates.f71abb7c.chunk.js"},"react-simple-code-editor":{"js":"/static/js/react-simple-code-editor.33478dc3.chunk.js"},"runtime~client":{"js":"/static/js/runtime~client.d372df0e.js"},"":{"json":"/../chunks.json","png":["/android-chrome-192x192.png","/android-chrome-512x512.png","/apple-touch-icon.png","/favicon-16x16.png","/favicon-32x32.png","/static/media/flags.9c74e172.png"],"ico":"/favicon.ico","svg":["/icon.svg","/static/media/Logo.16e25cdf.svg","/static/media/block-image.8a4a14d5.svg","/static/media/block-maps.731e84f6.svg","/static/media/block-video.832fa3ff.svg","/static/media/default-image.9451b251.svg","/static/media/icons.022583c4.svg"],"spa":"/index.html.spa","txt":["/robots.txt","/static/js/1.fece2b93.chunk.js.LICENSE.txt","/static/js/15.2cdd5437.chunk.js.LICENSE.txt","/static/js/16.a3a0662d.chunk.js.LICENSE.txt","/static/js/20.ada67f0e.chunk.js.LICENSE.txt","/static/js/35.00679602.chunk.js.LICENSE.txt","/static/js/36.4a29fdbd.chunk.js.LICENSE.txt","/static/js/37.fbbe07b3.chunk.js.LICENSE.txt","/static/js/38.b31c59ad.chunk.js.LICENSE.txt","/static/js/8.37cef611.chunk.js.LICENSE.txt"],"webmanifest":"/site.webmanifest","css":["/static/css/15.2cdd5437.chunk.css","/static/css/8.37cef611.chunk.css"],"js":["/static/js/0.3e794c57.chunk.js","/static/js/1.fece2b93.chunk.js","/static/js/15.2cdd5437.chunk.js","/static/js/16.a3a0662d.chunk.js","/static/js/17.9478c50d.chunk.js","/static/js/18.388e65d0.chunk.js","/static/js/19.7c6b4a80.chunk.js","/static/js/2.e6b0d690.chunk.js","/static/js/20.ada67f0e.chunk.js","/static/js/21.3de49ac8.chunk.js","/static/js/22.ecefb8f2.chunk.js","/static/js/23.3027bc00.chunk.js","/static/js/24.aaaf4abf.chunk.js","/static/js/25.c4d7d5e0.chunk.js","/static/js/26.d59ac3c1.chunk.js","/static/js/27.266d95dd.chunk.js","/static/js/28.d965d304.chunk.js","/static/js/29.7d8d1992.chunk.js","/static/js/3.025ba843.chunk.js","/static/js/30.a3d54e31.chunk.js","/static/js/31.9edf64ee.chunk.js","/static/js/32.649dbfc2.chunk.js","/static/js/33.45949ca4.chunk.js","/static/js/34.084257cf.chunk.js","/static/js/35.00679602.chunk.js","/static/js/36.4a29fdbd.chunk.js","/static/js/37.fbbe07b3.chunk.js","/static/js/38.b31c59ad.chunk.js","/static/js/39.69d6a789.chunk.js","/static/js/4.bdc4a5c5.chunk.js","/static/js/40.90de6e4a.chunk.js","/static/js/7.7acc66bc.chunk.js","/static/js/8.37cef611.chunk.js"],"ttf":"/static/media/icons.06400145.ttf","eot":"/static/media/icons.dbc1ef8b.eot","woff":"/static/media/icons.df45b7de.woff"}}
|