Skip to content

Commit

Permalink
Merge branch 'master' into dropoldconfiginvolto14
Browse files Browse the repository at this point in the history
* master: (167 commits)
  Back to development
  Release 13.15.0
  Prepare for release
  feat: add placeholder to wysiwyg widget (#2653)
  chore(i18n): update ita translations (#2652)
  Show loading indicator in listing view when content is loading (#2644)
  Validate touched-only `required` fields in Forms (#2642)
  Get SchemaWidget field factories from backend (#2651)
  Change the batch size of folder content (#2654)
  Show item title and item type when hovering over item title and item type icon in folder content view (#2649)
  Back to development
  Release 13.14.0
  Prepare for release
  cypress: user/groups controlpanel tests (#2650)
  Reimplement the architecture of user/groups controlpanel (#2064)
  Back to development
  Release 13.13.0
  Prepare for release
  Showing version in History view (#2634)
  Fix SearchWidget required pathname (#2646)
  ...
  • Loading branch information
sneridagh committed Sep 7, 2021
2 parents 6516f1e + a04f89c commit aef2781
Show file tree
Hide file tree
Showing 228 changed files with 11,921 additions and 6,222 deletions.
72 changes: 72 additions & 0 deletions .github/workflows/workingCopy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
name: Working Copy Tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
python-version: [3.7]
steps:
- uses: actions/checkout@v2

# node setup
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

# node cache
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v1
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
# node install
- run: yarn install --frozen-lockfile

# python setup (temporary, while p.a.iterate changes are in a PR)
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}

# python cache
- uses: actions/cache@v1
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
# python install
- run: pip install virtualenv
- name: pip install
working-directory: api
run: pip install -r requirements.txt
- name: buildout
working-directory: api
run: buildout
env:
CI: true

- name: Cypress Working Copy Acceptance Tests
run: yarn ci:cypress:run:workingCopy

# Upload Cypress screenshots
- uses: actions/upload-artifact@v1
if: failure()
with:
name: cypress-screenshots
path: cypress/screenshots
# Upload Cypress videos
- uses: actions/upload-artifact@v1
if: always()
with:
name: cypress-videos
path: cypress/videos
259 changes: 258 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Change Log

## 13.1.3 (unreleased)
## 13.15.1 (unreleased)

### Breaking

Expand All @@ -12,9 +12,262 @@ See https://docs.voltocms.com/upgrade-guide/#volto-configuration-registry

### Bugfix

### Internal

## 13.15.0 (2021-09-07)

### Feature

- Show item title and item type when hovering over item title and item type icon in folder content view @iFlameing
- Change the batch size of folder content @iFlameing
- Show loading indicator for listing view @iFlameing

### Bugfix

- Validate `required` touched-only fields in Form everywhere @nileshgulia1

### Internal

- Add placeholder to WysiwygWidget @nzambello
- Update italian translations @nzambello
- Get SchemaWidget field factories from backend @avoinea

## 13.14.0 (2021-09-02)

### Feature

- Refactor users and groups controlpanel @nileshgulia1

## 13.13.0 (2021-09-01)

### Feature

- Show version in history view @iFlameing
- Contents shows also array indexes @nzambello

### Bugfix

- Fix SearchWidget required `pathname` @avoinea #2645
- Fix for Contents tag modal @nzambello
- Cut/Copy blocks: fixed cut/copy unselected blocks. @giuliaghisini
- Properly style QueryWidget when used standalone, outside of QuerystringWidget @kreafox
- Add location.search as criteria in `ScrollToTop` component @kreafox
- Scroll to top only if the location pathname changes @kreafox

### Internal

- Disabled all the other configuration options when user did not choose any criteria in listing block @iFlameing
- Updated Brazilian Portuguese translations @ericof
- Footer: Point to plone.org instead of plone.com @ericof
- Array and token widget available as named widget @nzambello

## 13.12.0 (2021-08-20)

### Feature

- Multilingual routing was added for sitemap, search, contact-form, change-password, register and password-reset @ionlizarazu
- Opening the search input in the object browser, it will get the focus @nzambello

### Bugfix

- Fix ObjectBrowserNav items key @nzambello
- Fix ObjectBrowserNav aria label: id => title @nzambello
- Fix missing code in `ArrayWidget` from refactored `SelectWidget` @sneridagh

## 13.11.0 (2021-08-18)

### Feature

- Add select utils `normalizerValue`, add state to the basic select field forcing it to be fully controlled @sneridagh

### Bugfix

- Improve consistency of `TokenWidget`'s use of the choice labels as "values" instead of internal uids assigned by `react-select`. @tiberiuichim
- Solve glitch in async loading options in `AsyncSelect` components @sneridagh

### Internal

- Add tests for `Select` component, document the use cases propely @sneridagh
- Upgrade `AsyncSelect` to a version compatible with `react-select` v4 @sneridagh
- Upgrade to latest `react-select` @sneridagh

## 13.10.0 (2021-08-18)

### Feature

- Increase clickable area of right-arrow in objectBrowser @iFlameing
- Prevent form submit when clicking on BlockChooserButton @giuliaghisini
- Make selectedItems Filter work in Contents folder @nileshgulia1

### Bugfix

- Fix SearchWidget search by path @giuliaghisini

## 13.9.0 (2021-08-18)

### Feature

- Removed unnecessary set-cookies for the removal of the authentication cookie when the user is not logged in @mamico
- Add additional classnames for the field wrappers and the fieldsets in forms, this helps to be more addressable in CSS if required @sneridagh

### Bugfix

- Add title/tooltip on Toolbar buttons @avoinea #1384
- Slight CSS fix on `ObjectWidget` for supporting long add element button messages @sneridagh
- Fix the babel view cancel button redirect @iFlameing
- Show toast error when trying to delete item and it's not permitted @danielamormocea

## 13.8.3 (2021-08-16)

### Bugfix

- Prevent form submit when clicking on BlockChooserButton @giuliaghisini
- Add missing `publicURL` to the list of `window.env` serialized variables coming from the hosts configuration to complete the support for seamless mode @sneridagh

## 13.8.2 (2021-07-20)

### Bugfix

- Improve `URLWidget` component, so it uses `flattenToURL` for the value @sneridagh

## 13.8.1 (2021-07-16)

### Bugfix

- Missing prop `properties` passed down required for #2579 to work properly @sneridagh

## 13.8.0 (2021-07-14)

### Feature

- A new component was added, `BlockChooserButton`, it encapsulate the logic of show/hiding the `BlockChooser` @tiberiuichim
- Overload `required` property for blocks config, it supports a function as value taken `properties` (current object data) and `block` (the block being evaluated in `BlockChooser`). The purpose is to enable more control over the available blocks in the Blocks chooser. @sneridagh

### Bugfix

- Add fallback to the "image" field in Image Gallery if the listingPreviewImageField defined in the project is not available on an object @jackahl

## 13.7.0 (2021-07-12)

### Feature

- VocabularyTermsWidget option with translations for config.settings.supportedLanguages @ksuess

### Bugfix

- Fix InlineForm's understanding of missing default values @rexalex
- Guard in `isInternalURL` to catch non-string values @sneridagh

### Internal

- Update `browserlist` DB @sneridagh
- Install `luxon` explicitly to fix `rrule` package flickering deps (yarn problem) @sneridagh
- Add a11y cypress test for table block @ThomasKindermann
- Add Cypress test for Link content type @tisto
- Upgrade plone.restapi to 8.4.1 in the dev buildout @tisto

## 13.6.0 (2021-07-03)

### Feature

- Add VocabularyTermsWidget and map to field with widget attribute set to 'vocabularyterms'. @ksuess

### Bugfix

- added "Complementary" landmark-role to skiplink-container for a11y @ThomasKindermann
- changed breadcrumb link text-color slightly for a11y color contrast @ThomasKindermann
- changed table headline text color to black for a11y @ThomasKindermann

### Internal

- Updated Brazilian Portuguese translations @ericof

## 13.5.0 (2021-06-30)

### Feature

- Add og tags for social sharing @giuliaghisini @nzambello
- Add interface for plone seo extensions to use values added by them as metadata @jackahl

### Internal

- Upgrade to Storybook 6.3, refresh deps version for babel @sneridagh

## 13.4.0 (2021-06-29)

### Feature

- Working copy support for Plone (plone.app.iterate) @sneridagh

## 13.3.1 (2021-06-29)

### Internal

- Remove locales .json files pushed again by mistake, now they are no longer needed to be in the repo, since they are generated at runtime, and included in the released versions @sneridagh

## 13.3.0 (2021-06-29)

### Feature

- Allowing user to paste url in search box in objectBrowser @iFlameing
- Allowing user to click on the breadcrumbs of objectBrowser @iFlameing
- `Navigation` and `Breadcrumbs` are `apiExpanders` aware and run the action depending on them @sneridagh

### Bugfix

- Fixed docs for config.settings.externalRoutes @giuliaghisini
- Fix `Pluggable` in the use case that a `Plug` is empty @sneridagh
- Fix `Login` component navigation for `INavigationRoot` structures @sneridagh
- Hyphenation block chooser labels (no html changes) @ksuess

### Internal

- Bumps prismjs from 1.23.0 to 1.24.0. @timo

## 13.2.2 (2021-06-18)

### Bugfix

- Avoid debugging error in toolbar @tiberiuichim
- Fix the bug related to specific versioning view @iFlameing
- Fix blocks-listing Cypress test @giuliaghisini
- Fix the translation of header in babel view @iFlameing
- Fix German translations for leadimage and listing block @timo
- Show toast success message when adding a new local role @iFlameing
- Bump postcss from 7.0.29 to 7.0.36 @timo
- Complete Spanish translation @erral
- Complete German translation @timo

## 13.2.1 (2021-06-14)

### Bugfix

- Changed 'batch_size' attribute in 'b_size' in querystring widget. @giuliaghisini

### Internal

- Upgrade generator deps @sneridagh

## 13.2.0 (2021-06-12)

### Feature

- Allow passing a schemaEnhancer to QuerystringWidget @tiberiuichim
- Add internal URL blacklist to avoid render custom routes in Volto @nzambello
- In listing blocks, scroll to start of listing block instead page start @giuliaghisini

### Bugfix

- Fix addBreaklinesInline when string ends with new line @giuliaghisini
- Changed 'batch_size' attribute in 'b_size' in querystring widget. @giuliaghisini
- Properly respect batching and result limits in listing block @tiberiuichim
- Changed 'batch_size' attribute in 'b_size' in querystring widget. @giuliaghisini
- Properly respect batching and result limits in listing block @tiberiuichim
- Improve folder_contents workflow state (#2017) @avoinea
- Making placeholder image of video block to take 100% width when it is right or left aligned @iFlameing
- Showing clear icon when title is too long in objectbrowser selected items in multiple mode @iFlameing
- Use querystring prop in ListingBody @giuliaghisini
- Set default value selected for variation in listing block @giuliaghisini

### Internal

Expand Down Expand Up @@ -3239,3 +3492,7 @@ refer to all of them in https://github.com/plone/volto/releases
- Basic components (navigation, toolbar, breadcrumbs etc) @robgietema
- Authentication including login / logout @robgietema
- Setup build environment @robgietema

### Changed

- Fixed passing intl to the schemaExtender in the ObjectListWidget component. @1bsilver
9 changes: 7 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,16 @@ stop-backend-docker-guillotina:

.PHONY: test-acceptance-server
test-acceptance-server:
docker run -i --rm -e ZSERVER_HOST=0.0.0.0 -e ZSERVER_PORT=55001 -p 55001:55001 -e VERSIONS="plone.restapi=8.0.0" -e APPLY_PROFILES=plone.app.contenttypes:plone-content,plone.restapi:default,kitconcept.volto:default-homepage -e CONFIGURE_PACKAGES=plone.app.contenttypes,plone.restapi,kitconcept.volto,kitconcept.volto.cors -e ADDONS='plone.app.robotframework plone.app.contenttypes plone.restapi kitconcept.volto' plone ./bin/robot-server plone.app.robotframework.testing.PLONE_ROBOT_TESTING
docker run -i --rm -e ZSERVER_HOST=0.0.0.0 -e ZSERVER_PORT=55001 -p 55001:55001 -e VERSIONS="plone.restapi=8.3.0" -e APPLY_PROFILES=plone.app.contenttypes:plone-content,plone.restapi:default,kitconcept.volto:default-homepage -e CONFIGURE_PACKAGES=plone.app.contenttypes,plone.restapi,kitconcept.volto,kitconcept.volto.cors -e ADDONS='plone.app.robotframework plone.app.contenttypes plone.restapi kitconcept.volto' plone ./bin/robot-server plone.app.robotframework.testing.PLONE_ROBOT_TESTING

.PHONY: test-acceptance-server-multilingual
test-acceptance-server-multilingual:
docker run -i --rm -e ZSERVER_HOST=0.0.0.0 -e ZSERVER_PORT=55001 -p 55001:55001 -e VERSIONS="plone.restapi=8.0.0" -e APPLY_PROFILES=plone.app.contenttypes:plone-content,plone.restapi:default,kitconcept.volto:multilingual -e CONFIGURE_PACKAGES=plone.app.contenttypes,plone.restapi,kitconcept.volto,kitconcept.volto.cors -e ADDONS='plone.app.robotframework plone.app.contenttypes plone.restapi kitconcept.volto' plone ./bin/robot-server plone.app.robotframework.testing.PLONE_ROBOT_TESTING
docker run -i --rm -e ZSERVER_HOST=0.0.0.0 -e ZSERVER_PORT=55001 -p 55001:55001 -e VERSIONS="plone.restapi=8.3.0" -e APPLY_PROFILES=plone.app.contenttypes:plone-content,plone.restapi:default,kitconcept.volto:multilingual -e CONFIGURE_PACKAGES=plone.app.contenttypes,plone.restapi,kitconcept.volto,kitconcept.volto.cors -e ADDONS='plone.app.robotframework plone.app.contenttypes plone.restapi kitconcept.volto' plone ./bin/robot-server plone.app.robotframework.testing.PLONE_ROBOT_TESTING

.PHONY: test-acceptance-server-workingcopy
test-acceptance-server-workingcopy:
#docker run -i --rm -e ZSERVER_HOST=0.0.0.0 -e ZSERVER_PORT=55001 -p 55001:55001 -e VERSIONS="plone.restapi=8.3.0" -e APPLY_PROFILES=plone.app.contenttypes:plone-content,plone.restapi:default,plone.app.iterate:default -e CONFIGURE_PACKAGES=plone.app.contenttypes,plone.restapi,kitconcept.volto,kitconcept.volto.cors -e ADDONS='plone.app.robotframework plone.app.contenttypes plone.restapi plone.app.iterate kitconcept.volto' plone ./bin/robot-server plone.app.robotframework.testing.PLONE_ROBOT_TESTING
ZSERVER_PORT=55001 CONFIGURE_PACKAGES=plone.app.contenttypes,plone.restapi,plone.app.iterate,kitconcept.volto,kitconcept.volto.cors APPLY_PROFILES=plone.app.contenttypes:plone-content,plone.restapi:default,plone.app.iterate:default,kitconcept.volto:default-homepage ./api/bin/robot-server plone.app.robotframework.testing.PLONE_ROBOT_TESTING

.PHONY: test-acceptance-server-old
test-acceptance-server-old:
Expand Down
Loading

0 comments on commit aef2781

Please sign in to comment.