Skip to content

Commit

Permalink
Merge branch 'master' into typescript-support-in-core
Browse files Browse the repository at this point in the history
* master: (29 commits)
  Remove max_line_length from .editorconfig (#4776)
  Fix bug showing logs at the browsers when richtext widget is use (#4780)
  Show expired and future content in contents view (#4764)
  Fix reducing expanders loaded in a subrequest (#4761)
  Update release notes for 16.20.5 and 16.20.6 (#4759)
  Release 17.0.0-alpha.7
  Try to sort out volto's use of language codes (#4741)
  Improve .npmignore to not include not needed files/folders (#4746)
  Release 17.0.0-alpha.6
  Control panel list SSR (#3749)
  Open all accordion'd content in InlineForm by default, allow arbitrarily close any number of them (#4178)
  Upgrade to Plone 6.0.4 (#4743)
  fix: unresponsive add page (#4507)
  Apply suggestion from browser for password field (#4524)
  (fix):Object.normaliseMail: Cannot read properties of null (#4558)
  Fix link in Volto, remove from linkcheck ignore in Documentation v6.0 (#4742)
  added documentation regarding the static middleware #4518 (#4736)
  Closes issue #4567 (#4570)
  Fix whitespace in locales created by the generator (#4737)
  Tidy up from synch with 16.x.x (#4728)
  ...
  • Loading branch information
sneridagh committed May 20, 2023
2 parents a36e7ff + e5ece0f commit d9efcea
Show file tree
Hide file tree
Showing 116 changed files with 1,208 additions and 613 deletions.
2 changes: 0 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ trim_trailing_whitespace = true
charset = utf-8
# Indent style default
indent_style = space
# Max Line Length - a hard line wrap, should be disabled
max_line_length = off

[*.{py,cfg,ini}]
# 4 space indentation
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ jobs:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
# remove workaround for 18.x once https://github.com/nodejs/node/issues/47563 is fixed
node-version: ${{ matrix.node-version == '18.x' && '18.15.0' || matrix.node-version }}
cache: yarn

# node install
Expand Down
12 changes: 12 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,15 @@ build/
lib/
g-api/
tests/
share/
.yarn/
.storybook/

# Docs
docs/
styles/
.vale.ini
netlify.toml

# Cypress
cypress/fixtures
Expand All @@ -26,18 +32,24 @@ __tests__/
requirements-docs.txt
requirements-tests.txt
yarn.lock
.editorconfig
.dockerignore
.gitattributes
.yarnrc
.yarnrc.yml
.nvmrc
changelogupdater.js
pip-selfcheck.json
pyvenv.cfg
Dockerfile
CNAME
entrypoint.sh
Jenkinsfile
Makefile
.husky
.changelog.draft
towncrier.toml
jsdoc.json

# Logs
logs
Expand Down
120 changes: 107 additions & 13 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,47 @@

<!-- towncrier release notes start -->

## 17.0.0-alpha.7 (2023-05-11)

### Bugfix

- Fix language negotiation for language codes that include a region (e.g. `pt-br`). @davisagli [#4644](https://github.com/plone/volto/issues/4644)


## 17.0.0-alpha.6 (2023-05-11)

### Feature

- Changed control panel list to be fetched server-side not client-side
@JeffersonBledsoe [#3749](https://github.com/plone/volto/issues/3749)

### Bugfix

- Apply suggestion from browser for password field @lord2anil [#3990](https://github.com/plone/volto/issues/3990)
- Open all accordion'd content in InlineForm by default, allow arbitrarily close any number of them. @sneridagh [#4178](https://github.com/plone/volto/issues/4178)
- Fix duplicating listing block by removing block uid from blocks data. @ksuess [#4234](https://github.com/plone/volto/issues/4234)
- The tabs for the add page was unresponsive on mobile devices. Fixed this by changing flex-wrap property. @sudhanshu1309 [#4506](https://github.com/plone/volto/issues/4506)
- (fix):Object.normaliseMail: Cannot read properties of null @dobri1408 [#4558](https://github.com/plone/volto/issues/4558)
- Update add-on control panel tranlsations: install -> activate. @ksuess [#4582](https://github.com/plone/volto/issues/4582)
- Fix robot.txt - the sitemap link should respect x-forwarded headers @reebalazs [#4638](https://github.com/plone/volto/issues/4638)
- Fix Move to top of folder ordering in folder content view by searching also @iFlameing [#4690](https://github.com/plone/volto/issues/4690)
- Fix faulty D&D elements in ObjectBrowserList widget @sneridagh [#4703](https://github.com/plone/volto/issues/4703)
- Fix fetching API paths with urlencoded characters in the querystring. @davisagli [#4718](https://github.com/plone/volto/issues/4718)

### Internal

- Change conditional checking to optional chaining for a theme icon @nilootpal [#4567](https://github.com/plone/volto/issues/4567)
- Security upgrade for momentjs [#4715](https://github.com/plone/volto/issues/4715)
- Upgrade to Plone 6.0.4 @sneridagh [#4743](https://github.com/plone/volto/issues/4743)

### Documentation

- Added documentation regarding the static middleware. @BhardwajAditya-github [#4518](https://github.com/plone/volto/issues/4518)
- Use new URL `6.docs.plone.org`. @stevepiercy [#4726](https://github.com/plone/volto/issues/4726)
- Synch stuff from `16.x.x` branch that should have been in `master` as well. @stevepiercy [#4728](https://github.com/plone/volto/issues/4728)
- Fix link in Volto, remove from linkcheck ignore in Documentation. @stevepiercy [#4742](https://github.com/plone/volto/issues/4742)


## 17.0.0-alpha.5 (2023-04-14)

### Bugfix
Expand Down Expand Up @@ -160,6 +201,59 @@
- Use a universal static path for both documentation and volto repos. @stevepiercy [#4376](https://github.com/plone/volto/issues/4376)


## 16.20.6 (2023-05-12)

### Bugfix

- Fix language negotiation for language codes that include a region (e.g. `pt-br`). @davisagli [#4644](https://github.com/plone/volto/issues/4644)


## 16.20.5 (2023-05-12)

### Bugfix

- Apply suggestion from browser for password field @lord2anil [#3990](https://github.com/plone/volto/issues/3990)
- The tabs for the add page was unresponsive on mobile devices. Fixed this by changing flex-wrap property. @sudhanshu1309 [#4506](https://github.com/plone/volto/issues/4506)
- (fix):Object.normaliseMail: Cannot read properties of null @dobri1408 [#4558](https://github.com/plone/volto/issues/4558)

### Internal

- Upgrade to Plone 6.0.4 @sneridagh [#4743](https://github.com/plone/volto/issues/4743)

### Documentation

- Added documentation regarding the static middleware. @BhardwajAditya-github [#4518](https://github.com/plone/volto/issues/4518)
- Backport most documentation differences from `master` to `16.x.x`. @stevepiercy [#4727](https://github.com/plone/volto/issues/4727)
- Fix link in Volto, remove from linkcheck ignore in Documentation. @stevepiercy [#4742](https://github.com/plone/volto/issues/4742)


## 16.20.4 (2023-04-20)

### Bugfix

- Fix fetching API paths with urlencoded characters in the querystring. @davisagli [#4718](https://github.com/plone/volto/issues/4718)

### Internal

- Security upgrade for momentjs [#4716](https://github.com/plone/volto/issues/4716)


## 16.20.3 (2023-04-18)

### Bugfix

- Revert inadvertently included files from another PR in #4710 @sneridagh [#4713](https://github.com/plone/volto/issues/4713)


## 16.20.2 (2023-04-18)

### Bugfix

- Fix robot.txt - the sitemap link should respect x-forwarded headers @reebalazs [#4638](https://github.com/plone/volto/issues/4638)
- Fix Move to top of folder ordering in folder content view by searching also @iFlameing [#4690](https://github.com/plone/volto/issues/4690)
- Fix faulty D&D elements in ObjectBrowserList widget @sneridagh [#4703](https://github.com/plone/volto/issues/4703)


## 16.20.1 (2023-04-14)

### Bugfix
Expand Down Expand Up @@ -295,7 +389,7 @@

### Documentation

- Complete teaser docs, add new section in `Blocks`: `Core Blocks developers notes` @sneridagh [#4461](https://github.com/plone/volto/issues/4461)
- Complete teaser docs, add new section in `Blocks`: `Core Blocks developers notes` @sneridagh [#4461](https://github.com/plone/volto/pull/4461)


## 16.14.0 (2023-03-03)
Expand Down Expand Up @@ -625,7 +719,7 @@
- Enable the use of yarn 3 in the build by default @sneridagh
- The `ContentsBreadcrumbs` component now renders the whole language name of the language root folder (if any) instead of just the `id` (before: `de`, now: `Deutsch`) @sneridagh

See https://6.dev-docs.plone.org/volto/upgrade-guide/index.html for more information.
See https://6.docs.plone.org/volto/upgrade-guide/index.html for more information.

### Feature

Expand Down Expand Up @@ -1122,7 +1216,7 @@ See https://6.dev-docs.plone.org/volto/upgrade-guide/index.html for more informa
- Moved all sentry-related code from Volto to the `@plone-collective/volto-sentry` package. @tiberiuichim
- The listing block icon has been improved to avoid confusion with the normal text list. @sneridagh

See https://6.dev-docs.plone.org/volto/upgrade-guide/index.html for more information.
See https://6.docs.plone.org/volto/upgrade-guide/index.html for more information.

### Feature

Expand Down Expand Up @@ -1233,7 +1327,7 @@ See https://6.dev-docs.plone.org/volto/upgrade-guide/index.html for more informa

- Sentry integration is now lazy-loaded. The `sentryOptions` key from the `settings` registry becomes a callable that passes resolved sentry libraries. @tiberiuichim

See https://6.dev-docs.plone.org/volto/upgrade-guide/index.html for more information.
See https://6.docs.plone.org/volto/upgrade-guide/index.html for more information.

### Feature

Expand Down Expand Up @@ -1297,7 +1391,7 @@ See https://6.dev-docs.plone.org/volto/upgrade-guide/index.html for more informa
- Upgrade to Razzle 4 @davisagli
- Jest downgraded from 27 to 26 @davisagli

See https://6.dev-docs.plone.org/volto/upgrade-guide/index.html for more information.
See https://6.docs.plone.org/volto/upgrade-guide/index.html for more information.

### Internal

Expand Down Expand Up @@ -1337,7 +1431,7 @@ See https://6.dev-docs.plone.org/volto/upgrade-guide/index.html for more informa
### Breaking

- `react-window` no longer a Volto dependency @sneridagh
See https://6.dev-docs.plone.org/volto/upgrade-guide/index.html for more information.
See https://6.docs.plone.org/volto/upgrade-guide/index.html for more information.

### Bugfix

Expand Down Expand Up @@ -1376,7 +1470,7 @@ See https://6.dev-docs.plone.org/volto/upgrade-guide/index.html for more informa
### Breaking

- Move Layout constants to `config.views.layoutViewsNamesMapping`. Complete the list. i18n the list. Improve Display component. @sneridagh
See https://6.dev-docs.plone.org/volto/upgrade-guide/index.html for more information.
See https://6.docs.plone.org/volto/upgrade-guide/index.html for more information.

### Feature

Expand Down Expand Up @@ -1422,7 +1516,7 @@ Undo html_static_path configuration in `plone/documentation`, and restore image
### Breaking

- Main workflow change menu changed from Pastanaga UI simplification to classic Plone implementation. @sneridagh
See https://6.dev-docs.plone.org/volto/upgrade-guide/index.html for more information.
See https://6.docs.plone.org/volto/upgrade-guide/index.html for more information.

### Feature

Expand Down Expand Up @@ -1518,7 +1612,7 @@ Undo html_static_path configuration in `plone/documentation`, and restore image
- change password-reset url to be consistent with Plone configuration @erral
- Simplify over the existing Component Registry API. The `component` key has been flattened for simplification and now it's mapped directly to the `component` argument of `registerComponent`. @sneridagh

See https://6.dev-docs.plone.org/volto/upgrade-guide/index.html for more information.
See https://6.docs.plone.org/volto/upgrade-guide/index.html for more information.

### Feature

Expand Down Expand Up @@ -2096,14 +2190,14 @@ Use next release instead: https://github.com/plone/volto/releases/tag/16.0.0-alp
### Breaking

- Upgrade `react-cookie` to the latest version. @sneridagh @robgietema
See https://6.dev-docs.plone.org/volto/upgrade-guide/index.html for more information.
See https://6.docs.plone.org/volto/upgrade-guide/index.html for more information.
- Language Switcher no longer takes care of the change of the language on the Redux Store. This responsibility has been unified in the API Redux middleware @sneridagh
- Markup change in `LinkView` component.
- Rename `core-sandbox` to `coresandbox` for sake of consistency @sneridagh
- Extend the original intent and rename `RAZZLE_TESTING_ADDONS` to `ADDONS`. @sneridagh
See https://6.dev-docs.plone.org/volto/upgrade-guide/index.html for more information.
See https://6.docs.plone.org/volto/upgrade-guide/index.html for more information.
- Lazyload Draft.js library. See the upgrade guide on how that impacts you, in case you have extended the rich text editor configuration @tiberiuichim @kreafox
See https://6.dev-docs.plone.org/volto/upgrade-guide/index.html for more information.
See https://6.docs.plone.org/volto/upgrade-guide/index.html for more information.
- Deprecating `lang` cookie in favor of Plone official one `I18N_LANGUAGE` @sneridagh

### Feature
Expand Down Expand Up @@ -5049,7 +5143,7 @@ https://6.docs.plone.org/volto/upgrade-guide/index.html
- Added item type as a tooltip in contents @nzambello
- Added Italian translations and translated array, token and select widget. @giuliaghisini
- Added uploading image preview in FileWidget @iFlameing
- Allow custom express middleware declared with `settings.expressMiddleware`. See [Custom Express middleware](https://6.dev-docs.plone.org/volto/recipes/express.html) @tiberiuichim
- Allow custom express middleware declared with `settings.expressMiddleware`. See [Custom Express middleware](https://6.docs.plone.org/volto/recipes/express.html) @tiberiuichim

### Bugfix

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Contributing to Volto

See [Contributing to Volto](https://6.dev-docs.plone.org/volto/developer-guidelines/contributing.html).
See [Contributing to Volto](https://6.docs.plone.org/volto/developer-guidelines/contributing.html).
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ MAKEFLAGS+=--no-builtin-rules
# Project settings

INSTANCE_PORT=8080
DOCKER_IMAGE=plone/server-dev:6.0.3
DOCKER_IMAGE_ACCEPTANCE=plone/server-acceptance:6.0.3
KGS=plone.restapi==8.36.0
DOCKER_IMAGE=plone/server-dev:6.0.4
DOCKER_IMAGE_ACCEPTANCE=plone/server-acceptance:6.0.4
KGS=
NODEBIN = ./node_modules/.bin
SCRIPTSPACKAGE = ./packages/scripts

# Plone 5 legacy
DOCKER_IMAGE5=plone/plone-backend:5.2.10
KGS5=plone.restapi==8.36.0 plone.volto==4.0.7 plone.rest==3.0.0
KGS5=plone.restapi==8.37.0 plone.volto==4.0.8 plone.rest==3.0.0
TESTING_ADDONS=plone.app.robotframework==2.0.0 plone.app.testing==7.0.0

# Sphinx variables
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ Please create a new [issue](https://github.com/plone/volto/issues/new) or [pull

## Documentation

You can find the latest (in-progress) documentation in [https://6.dev-docs.plone.org/](https://6.dev-docs.plone.org/volto/index.html)
You can find the latest (in-progress) documentation in [https://6.docs.plone.org/](https://6.docs.plone.org/volto/index.html)

## Training

Expand Down Expand Up @@ -242,7 +242,7 @@ We do not guarantee that deprecated browsers (e.g., Internet Explorer 11) are su

## Upgrades

You can find the upgrade guide here: https://6.dev-docs.plone.org/volto/upgrade-guide/index.html
You can find the upgrade guide here: https://6.docs.plone.org/volto/upgrade-guide/index.html

## Volto Development

Expand Down Expand Up @@ -317,11 +317,11 @@ yarn test

Here you can find a guide on how acceptance testing is done in Volto:

https://6.dev-docs.plone.org/volto/developer-guidelines/acceptance-tests.html
https://6.docs.plone.org/volto/developer-guidelines/acceptance-tests.html

## Translations

If you would like contribute to translate Volto into several languages, please, read the [Internationalization (i18n) guide](https://6.dev-docs.plone.org/volto/recipes/i18n.html).
If you would like contribute to translate Volto into several languages, please, read the [Internationalization (i18n) guide](https://6.docs.plone.org/volto/recipes/i18n.html).

## Contributors

Expand Down
2 changes: 1 addition & 1 deletion api/buildout.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[buildout]
index = https://pypi.org/simple/
extends =
http://dist.plone.org/release/6.0.3/versions.cfg
http://dist.plone.org/release/6.0.4/versions.cfg
version-constraints.cfg
versions.cfg
parts = instance plonesite site-packages test robot-server
Expand Down
16 changes: 0 additions & 16 deletions api/version-constraints.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,6 @@
setuptools =
zc.buildout =

# Actual dependencies of the code used in this buildout, as opposed to testing, build,
# or other tooling.
# force to latest p.restapi
plone.restapi = >=8.16.2
# new JSON only traversal
plone.rest = >=2.0.0a1
plone.volto =

# Testing tools version constraints
robotframework =
robotframework-debuglibrary =
prompt-toolkit = <3,>=2 # From robotframework-debuglibrary
robotframework-react =
robotframework-requests =
robotframework-selenium2library =
robotframework-seleniumlibrary =
robotframework-webpack=
selenium =
feedparser =
Loading

0 comments on commit d9efcea

Please sign in to comment.