Skip to content

Commit

Permalink
Merge branch 'master' into ree-enhance-relation-field-for-images
Browse files Browse the repository at this point in the history
  • Loading branch information
avoinea authored Oct 27, 2022
2 parents 7adb2a4 + b4f4967 commit 8989fce
Show file tree
Hide file tree
Showing 489 changed files with 10,406 additions and 1,900 deletions.
32 changes: 14 additions & 18 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,36 +7,36 @@ jobs:
fail-fast: false
matrix:
include:
- python-version: '3.6'
plone-version: '5.2'
- python-version: '3.7'
plone-version: '5.2'
- python-version: '3.8'
plone-version: '5.2'
- python-version: '3.7'
plone-version: '6.0'
- python-version: '3.8'
plone-version: '6.0'
- python-version: '3.9'
plone-version: '6.0'
- python-version: '3.10'
plone-version: '6.0'

steps:
# git checkout
- uses: actions/checkout@v2

# python setup
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'

# python cache
- uses: actions/cache@v1
# buildout eggs cache
- uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
path: eggs
key: ${{ runner.os }}-py${{ matrix.python-version }}-plone${{ matrix.plone-version }}-${{ hashFiles('*.cfg') }}
restore-keys: |
${{ runner.os }}-pip-
${{ runner.os }}-py${{ matrix.python-version }}-plone${{ matrix.plone-version }}-
${{ runner.os }}-py${{ matrix.python-version }}-
# python install
- run: pip install virtualenv
Expand All @@ -46,14 +46,10 @@ jobs:

# buildout
- name: buildout
run: buildout -t 10 -c plone-${{ matrix.plone-version }}.x.cfg code-analysis:return-status-codes=True
run: buildout -t 10 -c plone-${{ matrix.plone-version }}.x.cfg
env:
CI: true

# code analysis
- name: code analysis
run: bin/code-analysis

# build sphinx
- name: sphinx
run: if [ "${{ matrix.plone-version }}" == "6.0" ] && [ ${{ matrix.python-version }} == '3.9' ]; then make docs-html; fi
Expand All @@ -62,13 +58,13 @@ jobs:
- name: test
run: bin/test

# test no uncommited changes
- name: test no uncommited changes
# test no uncommitted changes
- name: test no uncommitted changes
run: ./test-no-uncommitted-doc-changes
env:
PYTHON_VERSION: ${{ matrix.python-version }}
PLONE_VERSION: ${{ matrix.plone-version }}

# test for broken links
- name: linkcheck
run: if [ "${{ matrix.plone-version }}" == "6.0" ] && [ ${{ matrix.python-version }} == '3.9' ]; then make docs-linkcheckbroken; fi
run: if [ "${{ matrix.plone-version }}" == "6.0" ] && [ ${{ matrix.python-version }} == '3.9' ]; then make docs-linkcheckbroken; fi
19 changes: 19 additions & 0 deletions .github/workflows/update_remote_docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Trigger build and deploy of Plone 6 documentation

on:
push:
branches:
- "master"
paths:
- "docs/*"

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- run: |
curl -X POST \
-H "Authorization: Bearer ${{secrets.DOCUMENTATION_BUILD_APPLICATION_KEY}}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/plone/documentation/actions/workflows/update_submodule.yml/dispatches \
-d '{"ref": "6-dev"}'
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ docs/.DS_Store
docs/_build
docs/plone.restapi.http-examples
docs/source/README.rst
docs/Makefile
docs/make.bat
sphinx_build.log
htmlcov
npm-debug.log
Expand Down
257 changes: 256 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,261 @@ Changelog
.. towncrier release notes start
8.31.0 (2022-10-20)
-------------------

New features:


- Added @rules endpoint with GET/POST/DELETE/PATCH
[valipod] (#1397)
- Add link integrity support for slate blocks
[sneridagh] (#1522)


Bug fixes:


- New behavior `volto.blocks.editable.layout` to be used with Volto DX Editable Layout
[avoinea] (#1476)
- Fixed the `description` field not being included in fieldsets
[JeffersonBledsoe] (#1499)
- Fix passwords used in tests. [davisagli] (#1513)


Internal:


- Remove plone.recipe.codeanalysis from buildout. [tisto] (#1507)
- Don't use -latest when installing Plone for tests. [tisto] (#1512)
- Cache buildout eggs between Github Actions runs. [davisagli] (#1515)
- Use specific version of Plone in requirements.txt. Remove unnecessary pins. [wesleybl] (#1516)
- Remove code-analysis from Makefile. [wesleybl] (#1517)


Documentation:


- Merge glossary terms into main plone/documentation. [stevepiercy] (#1508)
- Fix linkintegrity documentation, add missing a response file, and use MyST syntax. [stevepiercy] (#1509)
- Add Matomo Analytics, Remove Google Analytics. [stevepiercy] (#1518)
- Trigger a new deploy core Plone documentation when Volto documentation is updated [esteele] (#1519)


8.30.0 (2022-10-02)
-------------------

New features:


- Add link integrity support for blocks
[cekk] (#953)


Internal:


- Plone 6 as first class citizen in builds and CI. Remove non-supported Python versions. Add 3.10 for Plone 6.
[sneridagh] (#1503)


8.29.0 (2022-10-01)
-------------------

New features:


- Add @userschema endpoint for getting the user schema.
[sneridagh] (#706)
- Add @transactions endpoint to fetch transactions that have been made through the Plone website.
[@MdSahil-oss] (#1505)


Bug fixes:


- The ``@controlpanels/usergroup`` does not work for Plone 5 since it does not exist there. Bring back the missing `title` just for Plone 5.
[sneridagh] (#1501)


8.28.0 (2022-09-29)
-------------------

New features:


- Improve performance of serializing image scales. [davisagli] (#1498)


Bug fixes:


- Revert "When an id is specified explicitly in the content POST endpoint,
return a 400 error response if it is invalid or unavailable."
The fix was incorrect and disallowing ids that should be allowed.
[davisagli] (#1488)
- Increase the length of passwords used in tests. [davisagli] (#1492)
- Use json_compatible when serializing users in @users endpoint
[erral] (#1493)


Documentation:


- Reorganize navigation. [stevepiercy] (#1486)
- Fix Google redirect and hyphenation of word. [stevepiercy] (#1495)


8.27.0 (2022-09-14)
-------------------

New features:


- Added @aliases endpoint with GET/POST/DELETE
[iulianpetchesi] (#1393)


Bug fixes:


- When an `id` is specified explicitly in the content POST endpoint,
return a 400 error response if it is invalid or unavailable.
[davisagli] (#1487)


8.26.0 (2022-09-10)
-------------------

New features:


- Add @portrait endpoint
[sneridagh] (#1480)


Bug fixes:


- Add portrait to the docs toctree to fix build warning. [stevepiercy] (#1485)


8.25.1 (2022-09-02)
-------------------

Bug fixes:


- Fix the category of the 'Users and groups settings' controlpanel adapter
[sneridagh] (#1482)


8.25.0 (2022-08-31)
-------------------

New features:


- Add support for importing profiles in @addons endpoint
[sneridagh] (#1479)


Bug fixes:


- Fix @registry endpoint Object of type datetime is not JSON serializable
[iulianpetchesi] (#1189)
- Fixed small documentation for error code 404
[rohnsha] (#1430)
- Handle subblocks in site root serializer for Plone 5.x
[erral] (#1449)
- Do not hard depend on `plone.app.iterate`. It is not an direct core package and might not be available.
[jensens] (#1461)
- Sanitise user id when checking for portrait [instification] (#1466)


8.24.1 (2022-08-04)
-------------------

Bug fixes:


- Fix of users endpoint for Membrane users. [ksuess] (#1459)


8.24.0 (2022-07-15)
-------------------

New features:


- Add support to search for fullname, email, id on the @users endpoint with "?search=" [ksuess] (#1443)

Bug fixes:


- Tests: add names to behaviors. [maurits] (#169)


8.23.0 (2022-06-23)
-------------------

New features:


- Include users data in groups while retrieving @groups
[@nileshgulia1] (#1325)
- Added 'View comments' and 'Reply to item' permission to discussion [@razvanMiu] (#1327)
- better error logging for term lookup errors
[ajung] (#1365)
- Documentation was converted to MyST from reStructuredText. [stevepiercy] (#1375)
- Move caching rulesets to the ZCML where the endpoints are defined.
[jensens] (#1414)
- List Users (@users): Add groups [ksuess]
List Users (@users): Support filtering by groups [ksuess] (#1419)
- Fix: Update group: Preserve title and description. [ksuess] (#1424)
- Add UsersGroupsSettings to set of control panels. [ksuess]
Move configlet UsersGroupsSettings to correct group (Volto control panel group "Users and Groups") [ksuess] (#1436)


Bug fixes:


- Test-only fix: normalize white space in html in some tests.
Needed to not fail with newer plone.outputfilters.
[maurits] (#49)
- Tests: patch unique url for scale in old or new way.
This is only in serializer tests for images.
[maurits] (#57)
- Make the PAS plugin compatible with ``PyJWT`` 1 and 2.
[jensens, maurits] (#1193)
- Fix tests for changes in displayed_types. See https://github.com/plone/Products.CMFPlone/issues/3486
[pbauer] (#1359)
- Use JSON instead of JSON Schema for code samples. [stevepiercy] (#1379)
- Control panels and translations are supported in Plone 5 or greater. [stevepiercy] (#1380)
- Add html_meta tags and values for better SEO. [stevepiercy] (#1382)
- Update demo site to 6.demo.plone.org in README.rst. [stevepiercy] (#1383)
- Fixed timestamp calculation in history service on Python 3.10.
[maurits] (#1391)
- Fix empty .resp in docs of PATCH controlpanel (#1396)
- Translate addon titles on @addon controlpanel
[erral] (#1412)
- Do not break path2uid with some edge-cases.
[cekk] (#1428)
- Sort the roles in the user serializer.
[maurits] (#1452)


Internal:


- Add naming best practices for URL Attributes (singular vs plural) to the docs
[tisto] (#1295)
- Enable Google Analytics 4 [stevepiercy] (#1404)
- fixed broken make task docs-linkcheckbroken (#1421)
- Fix broken link to Python requests library docs. [stevepiercy] (#1438)


8.22.0 (2022-04-08)
-------------------

Expand Down Expand Up @@ -396,7 +651,7 @@ Bug fixes:


- In src run `find . -name "*.py"|xargs pyupgrade --py36-plus`.
Then run black and remove six import leftovers.
Then run black and remove six import leftovers.
[jensens] (#1162)
- Fix link content serialization when url points to local content but it does not exist
[sneridagh] (#1167)
Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,5 @@
- Elio Schmutz
- Gauthier Bastien
- Katja Süss
- Jon Pentland

Loading

0 comments on commit 8989fce

Please sign in to comment.