Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dates widgets #1145

Merged
merged 29 commits into from
Apr 10, 2020
Merged

Dates widgets #1145

merged 29 commits into from
Apr 10, 2020

Conversation

nzambello
Copy link
Member

Fixes #678 .
Fixes #632 .

Different approch from #709 . That one from @cekk could be closed.

I added components for date picker and time picker because I've not found a component handling both of them I liked and which was documented, extendable and supported enough.

@nzambello nzambello requested review from robgietema and sneridagh and removed request for robgietema January 28, 2020 14:49
@nzambello nzambello self-assigned this Jan 28, 2020
@nzambello
Copy link
Member Author

In the next days I'll work on localization, accessibility and styles to make it pastanaga-ish.
Any suggestion or help on styles would be appreciated, but I'm watching zeplin project.

@nzambello nzambello requested a review from robgietema January 28, 2020 14:55
@nzambello nzambello marked this pull request as ready for review February 10, 2020 08:15
@nzambello
Copy link
Member Author

@sneridagh @tisto I don't know exactly who should I tag here, but my work on datetime widget is complete, it's accessibile, works on mobile, works with moment locales and it's pastanaga-ish.
I added relative tests, but the cypress test isn't passing for a problem I'd like to discuss with you because I'm not finding out a way to resolve it.

While editing event dates it works well and dates are saved correctly but when you do the same saving a date on, for example, the effective date of any content, the date seems to be saved without timezone and from my position it become 1h earlier.

I'm investigating on the cause.

@nzambello
Copy link
Member Author

Looking at requests, the string I'm submitting is like "2020-02-10T14:01:00.000Z" but what Plone give in GET is like "2020-02-10T14:01:00".

The problem here is that events dates work in the first way.

@nzambello nzambello requested a review from tisto February 13, 2020 09:30
@tisto
Copy link
Member

tisto commented Feb 13, 2020

@nzambello this looks like a flickering Cypress test to me. The PR Travis build is passing and the Push one isn't. In those kinds of situations I usually just re-run Travis:

https://travis-ci.org/plone/volto/builds/648293245?utm_source=github_status&utm_medium=notification

I am happy to do a call in case that problem persists to see what I can do to help.

package.json Outdated
@@ -285,10 +285,12 @@
"raven-js": "3.27.2",
"razzle": "3.0.0",
"razzle-plugin-bundle-analyzer": "1.1.3",
"rc-time-picker": "4.0.0-alpha.2",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nzambello any particular reason, you chose the alpha here instead of the stable 3.x release? http://react-component.github.io/time-picker/

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yarn installed that. Switched to stable version.

@nzambello
Copy link
Member Author

@sneridagh

@cekk @nzambello Can we make that assumption? So even if the date has to TZ, then assume it's UTC, then adjust the date displayed to the user depending on the current user TZ?

It's correct to think that. I also forced moment to handle dates as UTC.

@nzambello
Copy link
Member Author

@sneridagh @tisto I found a way to assume that the date is UTC if no timezone is specified.
I wasn't able to do it with momentjs but I resolved with a regex.

@sneridagh
Copy link
Member

@nzambello I would merge it when #967 is merged into master, then release the new 5.0.0-alpha0

* master: (94 commits)
  Basic required boilerplate for @loadable/component support (#1342)
  Make Jest only looks up in `src` folder (#1344)
  Remove dangling console
  Back to development
  Release 4.6.0
  Prepare for release
  added pagination on search results (#1334)
  fixed a typo in the german translation for outdated browsers (#1339)
  updated italian translations (#1338)
  Fix use case for non-multilingual setups and on projects on lang loading (#1341)
  Back to development
  Release 4.5.0
  Prepare for release
  Bring back the OutdatedBrowser component, it got removed in a bad merge :( (#1337)
  Fix ArrayWidget to support static supermodel vocabulary (#1333)
  Improve the i18n script, only write the pot file if it's really different (#1331)
  Use breaking.feature.bugfix in CHANGELOG.md since 4.0.0 (#1323)
  Sitemap (#1326)
  Add Cypress test to rename an object in folder contents view. (#1330)
  Back to development
  ...
@sneridagh sneridagh requested a review from pnicolli April 10, 2020 10:50
@sneridagh sneridagh merged commit 259588f into master Apr 10, 2020
@sneridagh sneridagh deleted the dates-widget branch April 10, 2020 11:56
sneridagh added a commit that referenced this pull request Apr 10, 2020
* master: (58 commits)
  Patch razzle jest default config to add modulePathIgnorePatterns in order to fix the problem of running tests if api folder has Plone source code (eggs folder) in it. (#1352)
  Remove wrong ca.json commited by error
  Dates widgets (#1145)
  Basic required boilerplate for @loadable/component support (#1342)
  Make Jest only looks up in `src` folder (#1344)
  Remove dangling console
  Back to development
  Release 4.6.0
  Prepare for release
  added pagination on search results (#1334)
  fixed a typo in the german translation for outdated browsers (#1339)
  updated italian translations (#1338)
  Fix use case for non-multilingual setups and on projects on lang loading (#1341)
  Back to development
  Release 4.5.0
  Prepare for release
  Bring back the OutdatedBrowser component, it got removed in a bad merge :( (#1337)
  Fix ArrayWidget to support static supermodel vocabulary (#1333)
  Improve the i18n script, only write the pot file if it's really different (#1331)
  Use breaking.feature.bugfix in CHANGELOG.md since 4.0.0 (#1323)
  ...
sneridagh added a commit that referenced this pull request Apr 10, 2020
* master:
  Helmet rework (#1300)
  Add meta description tags and meta generator (#1354)
  Patch razzle jest default config to add modulePathIgnorePatterns in order to fix the problem of running tests if api folder has Plone source code (eggs folder) in it. (#1352)
  Remove wrong ca.json commited by error
  Dates widgets (#1145)
tisto added a commit that referenced this pull request Apr 11, 2020
* Release 4.0.0-alpha.40

* Back to development

* fix: update german translation (#1236)

* fix: update german translation

* yarn run 18n

* fix typo

* yarn i18n

* Fix changelog

* Fix date widgets on QueryString widget on listings and in the widget (#1237)

* Fix for Issue 1188 (#1235)

Co-authored-by: Víctor Fernández de Alba <sneridagh@gmail.com>

* I18n in toolbar and folder contents view (#1220)

* toolbar: aria-label translated

* pagination: translation

* folder contents: translation

* Translation

* Update CHANGELOG.md

* german translation

* Toolbar: portal types translatable

* translation

* Toolbar: labels translatable

* folder contents: titles translatable

* translation

* translation

* Merge

Co-authored-by: Timo Stollenwerk <tisto@users.noreply.github.com>

* Prepare for release

* Release 4.0.0-alpha.41

* Back to development

* Revert "Table Content: Fix content overflow (#1216)" (#1239)

This reverts commit aef1f98.

* Prepare to release

* Release 4.0.0-alpha.42

* Back to development

* Responsive header (#1233)

* wrap navigation

* anontools wrapping under long navigation. hamburger menu also on tablet.

! changed DOM in Header.jsx: wrapper for tools and search
mobile: compact display of anontools and search.
No change at all for desktop with short navigation.

* a11y

* Renaming class name of wrapper for anontools (login, ...) and search. Moving header focussed CSS to header.overrides

* Update CHANGELOG.md

* Simplify header CSS

Co-authored-by: Víctor Fernández de Alba <sneridagh@gmail.com>

* Polishing docs, pre-release

* Refs #982 - Fix DefaultView within History Diff context (#1242)

* Refs #982 - Fix DefaultView within History Diff context

* Refs #982 - Diff handle multiselect

* Fix CHANGELOG

* Add Plone Conf 2019 Volto talks to the README

* Prepare for release

* Release 4.0.0-alpha.43

* Back to development

* Prepare for release final

* Release 4.0.0

* Back to development

* Increase ObjectBrowser limit per folder to 1000, partially fixes #1259 (#1260)

* fixed styling in site settings controlpanel (#1251)

* fixed styling in site settings controlpanel

* site setting styling upgrade

* fixed changelog

* fixed changelog

* fixed changelog

Co-authored-by: Víctor Fernández de Alba <sneridagh@gmail.com>

* translation for Japanese (#1244)

Co-authored-by: Víctor Fernández de Alba <sneridagh@gmail.com>

* internal: use kitconcept.volto for builds (#1261)

* WIP use k.volto

* Add changelog

* Fix git url

* Update test

* Use released version of k.volto

* Fix documentation

* Fix changelog

* Fix SSR for "undetected" browsers [fixes #1262] (#1264)

* internal: update to k.volto 1.0.1

* Deprecate `utils.less` as it is a leftover and it collides with some use cases depending on the viewport, see: #1265 (#1266)

* Prepare for release

* Release 4.0.1

* Back to development

* Improve the UX of the listing block when queries are running (#1268)

* Add flattenHTMLToAppURL helper method for remove api url from TinyMCE generated HTML (#1270)

* Add development mode global (#1274)

* Release 4.1.0

* Back to development

* Fix for #1267 - Link inside text for content-type without blocks breaks the site (#1276)

* Bump acorn from 5.7.3 to 5.7.4 (#1275)

Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](acornjs/acorn@5.7.3...5.7.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Upgrade cypress-plugin-retries, log rerun. (#1277)

* Cypress 4 (#1279)

* Upgrade to Cypress 4.

* Add changelog.

* Cypress upload results to surge (#1280)

* Upload Cypress videos to surge.sh.

* Deploy to surge.sh on failing builds.

* Remove sudo:required from Travis.

* Surge.sh: no video subdir.

* Travis: matrix is just an alias for jobs.

* Travis: us os:linux.

* Revert "Surge.sh: no video subdir."

This reverts commit d9a5686.

* Add cypress video upload log to Travis.

* Fix production mode for newly created __DEVELOPMENT__ (#1283)

* Translation ja 202003 2 (#1282)

* Japanese translations

* Wrote CHANGELOG

Co-authored-by: Víctor Fernández de Alba <sneridagh@gmail.com>

* Prepare for release

* Release 4.1.1

* Back to development

* Fix typo for Japanese translation (#1284)

* Fix refresh of the `Breadcrumbs` and `Navigation` components on calling `/login` and `/logout` (#1292)

* Upgrade critical Plone 5.2.1 deps in api folder (#1293)

* Do not rely on virtualenv.

virtualenv --clear wipes out the api folder somehow lately. We should avoid using it and rely on py3 venv instead.

* fix Makefile

* fix makefile

* Update .gitignore.

* Toc cypress (#1253)

* table of contents block cypress test

* toc cypress test

* added cypress test for toc block

* added cypress test for toc block

* table of contents cypress test

* toc cypress test

* Fixed changelog

Co-authored-by: Victor Fernandez de Alba <sneridagh@gmail.com>

* Fix Travis (#1306)

* Travis: do not rely on venv on Travis.

* Learning how to write Travis jobs here...

* Comment out flaky video block Cypress tests.

* Comment out flaky blocks-video.js test.

* Adjust implementation of the download link behavior for files (#1307)

* Reenable video blocks cypress tests based on the rework on lazy load branch (#1308)

* Revert "Fix refresh of the `Breadcrumbs` and `Navigation` components on calling `/login` and `/logout` (#1292)"

This reverts commit 1025e74.

* Cypress Video Block improvements (#1309)

* Add assertion to YouTube block Cypress test.

* Add proper assertions to Vimeo and MP4 video block Cypress tests.

* Update changelog.

* Cypress Video Block tests: remove wait and instead wait for the url to change on each tests as well as making assertions at the end.

* Cypress Video Blocks test: remove given stmt from tests and move it to beforeEach.

* Fix Maps block to use maps-inner instead of video-inner class (#1310)

* Add div with class "table-of-contents" to ToC block (#1311)

* Fix Maps block to use maps-inner instead of video-inner class

* fix: Add div with class table-of-contents to ToC block

* Add missing toc cypress changelog

* Cypress improvements (#1312)

* Fix Maps block to use maps-inner instead of video-inner class

* fix: Add div with class table-of-contents to ToC block

* Improve maps and toc Cypress tests.

* Upgrade Cypress to latest version. Move image block tests to blocks-image.js.

* Enable HTML Cypress test.

* Revert "Upgrade Cypress to latest version. Move image block tests to blocks-image.js."

This reverts commit d098685.

* Refactor the fix for the issue related with the refresh of the `Navigation` component on calling `/login` and `/logout` (#1313)

* Move Cypress image blocks tests to blocks-image.js.

* Run `yarn i18n` on any JSX change (#1314)

* Prepare for release

* Release 4.1.2

* Back to development

* Add link mailto Cypress test. (#1316)

* block-text.js -> blocks-text.js

* block-indexing.js -> blocks-indexing.js.

* Multilingual (#1299)

* Default multilingual root redirector

* New root resolver for webpack and ~/../ to make it work on import() lazy loads

* WIP, add menu

* First round trip creation/link/selector working

* Fix main tests

* Fix tests, improve lazy load of elements

* Add missing dependency

* Remove the redirector from the App component, move it to a children component.

* Modify logo to avoid redirections when accessing / when clicking the logo

* Multilingual ready Navigation component

* Add debugger option for tests

* Complete features of types menu, adjust create-translation route

* Add docs and Changelog

* i18n

* Checkout plone.restapi addtranslation branch.

* Add German translations for multilingual.

* Remove dangling branch and p.restapi checkout

* Fix i18n

* Remove dangling console

* Refactor variable names on the Plone side

* Revert change to the cfgs

* Fix several leftovers and improve the language switcher anchor title

Co-authored-by: Timo Stollenwerk <stollenwerk@kitconcept.com>

* Prepare for release

* Release 4.2.0

* Back to development

* Added recursive workflow.

* Fix link view.

* Fix link view.

* Release 4.3.0

* Back to development

* Fix netlify

* view /contens sortable

* Fix link view.

* Update changelog.

* Fix conversion from DraftJS to HTML using redraft for atomic entities (IMAGE) (#1329)

* Release 4.4.0

* Back to development

* Add Cypress test to rename an object in folder contents view. (#1330)

* Sitemap (#1326)

* sitemap

* sitemap style

* updated CHANGELOG

* changed field url

* Use breaking.feature.bugfix in CHANGELOG.md since 4.0.0 (#1323)

* Use breaking.feature.bugfix in CHANGELOG.md since 4.0.0

* Fix releaser script to match new format

* Amend latest release

Co-authored-by: Victor Fernandez de Alba <sneridagh@gmail.com>

* Improve the i18n script, only write the pot file if it's really different (#1331)

* Fix ArrayWidget to support static supermodel vocabulary (#1333)

* Fix ArrayWidget to support static supermodel vocabulary

* Update changelog

* Refactor to use optional chaining

* Make prettier

* Bring back the OutdatedBrowser component, it got removed in a bad merge :( (#1337)

* Prepare for release

* Release 4.5.0

* Back to development

* Fix use case for non-multilingual setups and on projects on lang loading (#1341)

* Fix untested case for non-multilingual setups

* Changelog

* updated italian translations (#1338)

Co-authored-by: Victor Fernandez de Alba <sneridagh@gmail.com>

* fixed a typo in the german translation for outdated browsers (#1339)

* fixed a typo in the german translation for outdated browsers

* fixed some german translations

* Add changelog

* Update translations

Co-authored-by: Victor Fernandez de Alba <sneridagh@gmail.com>

* added pagination on search results (#1334)

* added pagination on search results

* updated CHANGELOG

* fix changelog

Co-authored-by: Victor Fernandez de Alba <sneridagh@gmail.com>

* Prepare for release

* Release 4.6.0

* Back to development

* Remove dangling console

* Make Jest only looks up in `src` folder (#1344)

* Basic required boilerplate for @loadable/component support (#1342)

* Dates widgets (#1145)

* [wip] working on dates widget

* DatetimeWidget: worked on pickers and default value

* DatetimeWidget: date picker styles

* DatetimeWidget: time picker styles

* time widget: some a11y fixes

* updated changelog

* datetime widget: i18n

* datetime widget: added option for handle dates only

* datetime widget: fix mobile styles

* datetime widget: improved a11y for date picker, testing

* datetime widget: handled 12/24 hours for time picker

* datetime widget: prepared cypress tests

* datetime widget: fix styles for date picker in sidebar

* time-picker to stable version

* react dates shortcut button: fix spaces

* datetime widget: added test for utc dates and forced dates to be utc

* datetime widget: check if datetime has timezone, otherwise assumes it's UTC

* updated changelog

* WIP, tests failing

* Fix tests :)

Co-authored-by: Victor Fernandez de Alba <sneridagh@gmail.com>

* Remove wrong ca.json commited by error

* Patch razzle jest default config to add modulePathIgnorePatterns in order to fix the problem of running tests if api folder has Plone source code (eggs folder) in it. (#1352)

* Add meta description tags and meta generator (#1354)

* Helmet rework (#1300)

* add site title to app.jsx

* remove site title helmet from content type views

* remove helmet from customizing docs

* update changelog

* Add meta description tags and meta generator

* Add the helmet component into the View component instead that in the App

* Fix changelog

Co-authored-by: Victor Fernandez de Alba <sneridagh@gmail.com>

* Properlanginhtmltag (#1355)

* add site title to app.jsx

* remove site title helmet from content type views

* remove helmet from customizing docs

* update changelog

* Add meta description tags and meta generator

* Add the helmet component into the View component instead that in the App

* Fix changelog

* Add lang property in `html` tag depending on the site/content language

Co-authored-by: jackahl <kahl@kitconcept.com>

* Fixsounderrorontravis (#1356)

* Fix travis sound random error

* Fix Travis random no sound card found error

* Categorization of components by main/lazy/internal (#1351)

* Categorization of components by main/lazy/internal

* Proposal

* Changelog, remove proposal

* Add upgrade guide breaking changes for 5

* Add breaking change for Helpmet titles in View.jsx

* Add `App.jsx` component insertion point (#1357)

* Add lazy load and code splitting

* Remove changes line from CHANGELOG

* docs: add release documentation

* docs: add releases.md (#1358)

Co-authored-by: Victor Fernandez de Alba <sneridagh@gmail.com>
Co-authored-by: Janina Hard <hard@werkbank.de>
Co-authored-by: Katja Süss <k.suess@rohberg.ch>
Co-authored-by: Alin Voinea <contact@avoinea.com>
Co-authored-by: steffenri <54619639+steffenri@users.noreply.github.com>
Co-authored-by: Manabu TERADA <terada@cmscom.jp>
Co-authored-by: Asko Soukka <asko.soukka@iki.fi>
Co-authored-by: Andrea Cecchi <andrea.cecchi85@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Steffen <ring@kitconcept.com>
Co-authored-by: Rob Gietema <rob.gietema@gmail.com>
Co-authored-by: giuliaghisini <51911425+giuliaghisini@users.noreply.github.com>
Co-authored-by: Nicola Zambello <nzambello@protonmail.com>
Co-authored-by: jackahl <44289551+jackahl@users.noreply.github.com>
Co-authored-by: jackahl <kahl@kitconcept.com>
sneridagh added a commit that referenced this pull request Apr 11, 2020
* master:
  docs: add releases.md (#1358)
  docs: add release documentation
  Remove changes line from CHANGELOG
  Add lazy load and code splitting
  Add `App.jsx` component insertion point (#1357)
  Add breaking change for Helpmet titles in View.jsx
  Add upgrade guide breaking changes for 5
  Categorization of components by main/lazy/internal (#1351)
  Fixsounderrorontravis (#1356)
  Properlanginhtmltag (#1355)
  Helmet rework (#1300)
  Add meta description tags and meta generator (#1354)
  Patch razzle jest default config to add modulePathIgnorePatterns in order to fix the problem of running tests if api folder has Plone source code (eggs folder) in it. (#1352)
  Remove wrong ca.json commited by error
  Dates widgets (#1145)
sneridagh added a commit that referenced this pull request Apr 11, 2020
* master: (105 commits)
  docs: add releases.md (#1358)
  docs: add release documentation
  Remove changes line from CHANGELOG
  Add lazy load and code splitting
  Add `App.jsx` component insertion point (#1357)
  Add breaking change for Helpmet titles in View.jsx
  Add upgrade guide breaking changes for 5
  Categorization of components by main/lazy/internal (#1351)
  Fixsounderrorontravis (#1356)
  Properlanginhtmltag (#1355)
  Helmet rework (#1300)
  Add meta description tags and meta generator (#1354)
  Patch razzle jest default config to add modulePathIgnorePatterns in order to fix the problem of running tests if api folder has Plone source code (eggs folder) in it. (#1352)
  Remove wrong ca.json commited by error
  Dates widgets (#1145)
  Basic required boilerplate for @loadable/component support (#1342)
  Make Jest only looks up in `src` folder (#1344)
  Remove dangling console
  Back to development
  Release 4.6.0
  ...
tisto added a commit that referenced this pull request Apr 11, 2020
* Release 4.0.0-alpha.40

* Back to development

* fix: update german translation (#1236)

* fix: update german translation

* yarn run 18n

* fix typo

* yarn i18n

* Fix changelog

* Fix date widgets on QueryString widget on listings and in the widget (#1237)

* Fix for Issue 1188 (#1235)

Co-authored-by: Víctor Fernández de Alba <sneridagh@gmail.com>

* I18n in toolbar and folder contents view (#1220)

* toolbar: aria-label translated

* pagination: translation

* folder contents: translation

* Translation

* Update CHANGELOG.md

* german translation

* Toolbar: portal types translatable

* translation

* Toolbar: labels translatable

* folder contents: titles translatable

* translation

* translation

* Merge

Co-authored-by: Timo Stollenwerk <tisto@users.noreply.github.com>

* Prepare for release

* Release 4.0.0-alpha.41

* Back to development

* Revert "Table Content: Fix content overflow (#1216)" (#1239)

This reverts commit aef1f98.

* Prepare to release

* Release 4.0.0-alpha.42

* Back to development

* Responsive header (#1233)

* wrap navigation

* anontools wrapping under long navigation. hamburger menu also on tablet.

! changed DOM in Header.jsx: wrapper for tools and search
mobile: compact display of anontools and search.
No change at all for desktop with short navigation.

* a11y

* Renaming class name of wrapper for anontools (login, ...) and search. Moving header focussed CSS to header.overrides

* Update CHANGELOG.md

* Simplify header CSS

Co-authored-by: Víctor Fernández de Alba <sneridagh@gmail.com>

* Polishing docs, pre-release

* Refs #982 - Fix DefaultView within History Diff context (#1242)

* Refs #982 - Fix DefaultView within History Diff context

* Refs #982 - Diff handle multiselect

* Fix CHANGELOG

* Add Plone Conf 2019 Volto talks to the README

* Prepare for release

* Release 4.0.0-alpha.43

* Back to development

* Prepare for release final

* Release 4.0.0

* Back to development

* Increase ObjectBrowser limit per folder to 1000, partially fixes #1259 (#1260)

* fixed styling in site settings controlpanel (#1251)

* fixed styling in site settings controlpanel

* site setting styling upgrade

* fixed changelog

* fixed changelog

* fixed changelog

Co-authored-by: Víctor Fernández de Alba <sneridagh@gmail.com>

* translation for Japanese (#1244)

Co-authored-by: Víctor Fernández de Alba <sneridagh@gmail.com>

* internal: use kitconcept.volto for builds (#1261)

* WIP use k.volto

* Add changelog

* Fix git url

* Update test

* Use released version of k.volto

* Fix documentation

* Fix changelog

* Fix SSR for "undetected" browsers [fixes #1262] (#1264)

* internal: update to k.volto 1.0.1

* Deprecate `utils.less` as it is a leftover and it collides with some use cases depending on the viewport, see: #1265 (#1266)

* Prepare for release

* Release 4.0.1

* Back to development

* Improve the UX of the listing block when queries are running (#1268)

* Add flattenHTMLToAppURL helper method for remove api url from TinyMCE generated HTML (#1270)

* Add development mode global (#1274)

* Release 4.1.0

* Back to development

* Fix for #1267 - Link inside text for content-type without blocks breaks the site (#1276)

* Bump acorn from 5.7.3 to 5.7.4 (#1275)

Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](acornjs/acorn@5.7.3...5.7.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Upgrade cypress-plugin-retries, log rerun. (#1277)

* Cypress 4 (#1279)

* Upgrade to Cypress 4.

* Add changelog.

* Cypress upload results to surge (#1280)

* Upload Cypress videos to surge.sh.

* Deploy to surge.sh on failing builds.

* Remove sudo:required from Travis.

* Surge.sh: no video subdir.

* Travis: matrix is just an alias for jobs.

* Travis: us os:linux.

* Revert "Surge.sh: no video subdir."

This reverts commit d9a5686.

* Add cypress video upload log to Travis.

* Fix production mode for newly created __DEVELOPMENT__ (#1283)

* Translation ja 202003 2 (#1282)

* Japanese translations

* Wrote CHANGELOG

Co-authored-by: Víctor Fernández de Alba <sneridagh@gmail.com>

* Prepare for release

* Release 4.1.1

* Back to development

* Fix typo for Japanese translation (#1284)

* Fix refresh of the `Breadcrumbs` and `Navigation` components on calling `/login` and `/logout` (#1292)

* Upgrade critical Plone 5.2.1 deps in api folder (#1293)

* Do not rely on virtualenv.

virtualenv --clear wipes out the api folder somehow lately. We should avoid using it and rely on py3 venv instead.

* fix Makefile

* fix makefile

* Update .gitignore.

* Toc cypress (#1253)

* table of contents block cypress test

* toc cypress test

* added cypress test for toc block

* added cypress test for toc block

* table of contents cypress test

* toc cypress test

* Fixed changelog

Co-authored-by: Victor Fernandez de Alba <sneridagh@gmail.com>

* Fix Travis (#1306)

* Travis: do not rely on venv on Travis.

* Learning how to write Travis jobs here...

* Comment out flaky video block Cypress tests.

* Comment out flaky blocks-video.js test.

* Adjust implementation of the download link behavior for files (#1307)

* Reenable video blocks cypress tests based on the rework on lazy load branch (#1308)

* Revert "Fix refresh of the `Breadcrumbs` and `Navigation` components on calling `/login` and `/logout` (#1292)"

This reverts commit 1025e74.

* Cypress Video Block improvements (#1309)

* Add assertion to YouTube block Cypress test.

* Add proper assertions to Vimeo and MP4 video block Cypress tests.

* Update changelog.

* Cypress Video Block tests: remove wait and instead wait for the url to change on each tests as well as making assertions at the end.

* Cypress Video Blocks test: remove given stmt from tests and move it to beforeEach.

* Fix Maps block to use maps-inner instead of video-inner class (#1310)

* Add div with class "table-of-contents" to ToC block (#1311)

* Fix Maps block to use maps-inner instead of video-inner class

* fix: Add div with class table-of-contents to ToC block

* Add missing toc cypress changelog

* Cypress improvements (#1312)

* Fix Maps block to use maps-inner instead of video-inner class

* fix: Add div with class table-of-contents to ToC block

* Improve maps and toc Cypress tests.

* Upgrade Cypress to latest version. Move image block tests to blocks-image.js.

* Enable HTML Cypress test.

* Revert "Upgrade Cypress to latest version. Move image block tests to blocks-image.js."

This reverts commit d098685.

* Refactor the fix for the issue related with the refresh of the `Navigation` component on calling `/login` and `/logout` (#1313)

* Move Cypress image blocks tests to blocks-image.js.

* Run `yarn i18n` on any JSX change (#1314)

* Prepare for release

* Release 4.1.2

* Back to development

* Add link mailto Cypress test. (#1316)

* block-text.js -> blocks-text.js

* block-indexing.js -> blocks-indexing.js.

* Multilingual (#1299)

* Default multilingual root redirector

* New root resolver for webpack and ~/../ to make it work on import() lazy loads

* WIP, add menu

* First round trip creation/link/selector working

* Fix main tests

* Fix tests, improve lazy load of elements

* Add missing dependency

* Remove the redirector from the App component, move it to a children component.

* Modify logo to avoid redirections when accessing / when clicking the logo

* Multilingual ready Navigation component

* Add debugger option for tests

* Complete features of types menu, adjust create-translation route

* Add docs and Changelog

* i18n

* Checkout plone.restapi addtranslation branch.

* Add German translations for multilingual.

* Remove dangling branch and p.restapi checkout

* Fix i18n

* Remove dangling console

* Refactor variable names on the Plone side

* Revert change to the cfgs

* Fix several leftovers and improve the language switcher anchor title

Co-authored-by: Timo Stollenwerk <stollenwerk@kitconcept.com>

* Prepare for release

* Release 4.2.0

* Back to development

* Added recursive workflow.

* Fix link view.

* Fix link view.

* Release 4.3.0

* Back to development

* Fix netlify

* view /contens sortable

* Fix link view.

* Update changelog.

* Fix conversion from DraftJS to HTML using redraft for atomic entities (IMAGE) (#1329)

* Release 4.4.0

* Back to development

* Add Cypress test to rename an object in folder contents view. (#1330)

* Sitemap (#1326)

* sitemap

* sitemap style

* updated CHANGELOG

* changed field url

* Use breaking.feature.bugfix in CHANGELOG.md since 4.0.0 (#1323)

* Use breaking.feature.bugfix in CHANGELOG.md since 4.0.0

* Fix releaser script to match new format

* Amend latest release

Co-authored-by: Victor Fernandez de Alba <sneridagh@gmail.com>

* Improve the i18n script, only write the pot file if it's really different (#1331)

* Fix ArrayWidget to support static supermodel vocabulary (#1333)

* Fix ArrayWidget to support static supermodel vocabulary

* Update changelog

* Refactor to use optional chaining

* Make prettier

* Bring back the OutdatedBrowser component, it got removed in a bad merge :( (#1337)

* Prepare for release

* Release 4.5.0

* Back to development

* Fix use case for non-multilingual setups and on projects on lang loading (#1341)

* Fix untested case for non-multilingual setups

* Changelog

* updated italian translations (#1338)

Co-authored-by: Victor Fernandez de Alba <sneridagh@gmail.com>

* fixed a typo in the german translation for outdated browsers (#1339)

* fixed a typo in the german translation for outdated browsers

* fixed some german translations

* Add changelog

* Update translations

Co-authored-by: Victor Fernandez de Alba <sneridagh@gmail.com>

* added pagination on search results (#1334)

* added pagination on search results

* updated CHANGELOG

* fix changelog

Co-authored-by: Victor Fernandez de Alba <sneridagh@gmail.com>

* Prepare for release

* Release 4.6.0

* Back to development

* Remove dangling console

* Make Jest only looks up in `src` folder (#1344)

* Basic required boilerplate for @loadable/component support (#1342)

* Dates widgets (#1145)

* [wip] working on dates widget

* DatetimeWidget: worked on pickers and default value

* DatetimeWidget: date picker styles

* DatetimeWidget: time picker styles

* time widget: some a11y fixes

* updated changelog

* datetime widget: i18n

* datetime widget: added option for handle dates only

* datetime widget: fix mobile styles

* datetime widget: improved a11y for date picker, testing

* datetime widget: handled 12/24 hours for time picker

* datetime widget: prepared cypress tests

* datetime widget: fix styles for date picker in sidebar

* time-picker to stable version

* react dates shortcut button: fix spaces

* datetime widget: added test for utc dates and forced dates to be utc

* datetime widget: check if datetime has timezone, otherwise assumes it's UTC

* updated changelog

* WIP, tests failing

* Fix tests :)

Co-authored-by: Victor Fernandez de Alba <sneridagh@gmail.com>

* Remove wrong ca.json commited by error

* Patch razzle jest default config to add modulePathIgnorePatterns in order to fix the problem of running tests if api folder has Plone source code (eggs folder) in it. (#1352)

* Add meta description tags and meta generator (#1354)

* Helmet rework (#1300)

* add site title to app.jsx

* remove site title helmet from content type views

* remove helmet from customizing docs

* update changelog

* Add meta description tags and meta generator

* Add the helmet component into the View component instead that in the App

* Fix changelog

Co-authored-by: Victor Fernandez de Alba <sneridagh@gmail.com>

* Properlanginhtmltag (#1355)

* add site title to app.jsx

* remove site title helmet from content type views

* remove helmet from customizing docs

* update changelog

* Add meta description tags and meta generator

* Add the helmet component into the View component instead that in the App

* Fix changelog

* Add lang property in `html` tag depending on the site/content language

Co-authored-by: jackahl <kahl@kitconcept.com>

* Fixsounderrorontravis (#1356)

* Fix travis sound random error

* Fix Travis random no sound card found error

* Categorization of components by main/lazy/internal (#1351)

* Categorization of components by main/lazy/internal

* Proposal

* Changelog, remove proposal

* Add upgrade guide breaking changes for 5

* Add breaking change for Helpmet titles in View.jsx

* Add `App.jsx` component insertion point (#1357)

* Add lazy load and code splitting

* Remove changes line from CHANGELOG

* docs: add release documentation

* docs: add releases.md (#1358)

* Run Cypress tests on gh actions

* ci: just run cypress directly

* ci: add bundlewatch to gh actions

Co-authored-by: Victor Fernandez de Alba <sneridagh@gmail.com>
Co-authored-by: Janina Hard <hard@werkbank.de>
Co-authored-by: Katja Süss <k.suess@rohberg.ch>
Co-authored-by: Alin Voinea <contact@avoinea.com>
Co-authored-by: steffenri <54619639+steffenri@users.noreply.github.com>
Co-authored-by: Manabu TERADA <terada@cmscom.jp>
Co-authored-by: Asko Soukka <asko.soukka@iki.fi>
Co-authored-by: Andrea Cecchi <andrea.cecchi85@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Steffen <ring@kitconcept.com>
Co-authored-by: Rob Gietema <rob.gietema@gmail.com>
Co-authored-by: giuliaghisini <51911425+giuliaghisini@users.noreply.github.com>
Co-authored-by: Nicola Zambello <nzambello@protonmail.com>
Co-authored-by: jackahl <44289551+jackahl@users.noreply.github.com>
Co-authored-by: jackahl <kahl@kitconcept.com>
tisto added a commit that referenced this pull request Apr 11, 2020
* Add github workflow action.

* Do not run Cypress tests for now.

* Run make build-backend.

* Install python3.

* Install virtualenv.

* Create virtualenv.

* cache yarn.

* build backend

* Add python cache

* Debug gh actions

* use working-directory

* Fix working dir

* debug

* just use api

* debug

* debug

* debug

* debug

* use global pip

* creating virtualenv kills api folder

* Downgrade setuptools to fix buildout on gh actions.

* Back to setuptools 42.0.2 that Plone 5.2.1 uses.

* Revert "Back to setuptools 42.0.2 that Plone 5.2.1 uses."

This reverts commit 39678fa.

* Remove debug.

* More comments

* GitHub actions master merge (#1360)

* Release 4.0.0-alpha.40

* Back to development

* fix: update german translation (#1236)

* fix: update german translation

* yarn run 18n

* fix typo

* yarn i18n

* Fix changelog

* Fix date widgets on QueryString widget on listings and in the widget (#1237)

* Fix for Issue 1188 (#1235)

Co-authored-by: Víctor Fernández de Alba <sneridagh@gmail.com>

* I18n in toolbar and folder contents view (#1220)

* toolbar: aria-label translated

* pagination: translation

* folder contents: translation

* Translation

* Update CHANGELOG.md

* german translation

* Toolbar: portal types translatable

* translation

* Toolbar: labels translatable

* folder contents: titles translatable

* translation

* translation

* Merge

Co-authored-by: Timo Stollenwerk <tisto@users.noreply.github.com>

* Prepare for release

* Release 4.0.0-alpha.41

* Back to development

* Revert "Table Content: Fix content overflow (#1216)" (#1239)

This reverts commit aef1f98.

* Prepare to release

* Release 4.0.0-alpha.42

* Back to development

* Responsive header (#1233)

* wrap navigation

* anontools wrapping under long navigation. hamburger menu also on tablet.

! changed DOM in Header.jsx: wrapper for tools and search
mobile: compact display of anontools and search.
No change at all for desktop with short navigation.

* a11y

* Renaming class name of wrapper for anontools (login, ...) and search. Moving header focussed CSS to header.overrides

* Update CHANGELOG.md

* Simplify header CSS

Co-authored-by: Víctor Fernández de Alba <sneridagh@gmail.com>

* Polishing docs, pre-release

* Refs #982 - Fix DefaultView within History Diff context (#1242)

* Refs #982 - Fix DefaultView within History Diff context

* Refs #982 - Diff handle multiselect

* Fix CHANGELOG

* Add Plone Conf 2019 Volto talks to the README

* Prepare for release

* Release 4.0.0-alpha.43

* Back to development

* Prepare for release final

* Release 4.0.0

* Back to development

* Increase ObjectBrowser limit per folder to 1000, partially fixes #1259 (#1260)

* fixed styling in site settings controlpanel (#1251)

* fixed styling in site settings controlpanel

* site setting styling upgrade

* fixed changelog

* fixed changelog

* fixed changelog

Co-authored-by: Víctor Fernández de Alba <sneridagh@gmail.com>

* translation for Japanese (#1244)

Co-authored-by: Víctor Fernández de Alba <sneridagh@gmail.com>

* internal: use kitconcept.volto for builds (#1261)

* WIP use k.volto

* Add changelog

* Fix git url

* Update test

* Use released version of k.volto

* Fix documentation

* Fix changelog

* Fix SSR for "undetected" browsers [fixes #1262] (#1264)

* internal: update to k.volto 1.0.1

* Deprecate `utils.less` as it is a leftover and it collides with some use cases depending on the viewport, see: #1265 (#1266)

* Prepare for release

* Release 4.0.1

* Back to development

* Improve the UX of the listing block when queries are running (#1268)

* Add flattenHTMLToAppURL helper method for remove api url from TinyMCE generated HTML (#1270)

* Add development mode global (#1274)

* Release 4.1.0

* Back to development

* Fix for #1267 - Link inside text for content-type without blocks breaks the site (#1276)

* Bump acorn from 5.7.3 to 5.7.4 (#1275)

Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](acornjs/acorn@5.7.3...5.7.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Upgrade cypress-plugin-retries, log rerun. (#1277)

* Cypress 4 (#1279)

* Upgrade to Cypress 4.

* Add changelog.

* Cypress upload results to surge (#1280)

* Upload Cypress videos to surge.sh.

* Deploy to surge.sh on failing builds.

* Remove sudo:required from Travis.

* Surge.sh: no video subdir.

* Travis: matrix is just an alias for jobs.

* Travis: us os:linux.

* Revert "Surge.sh: no video subdir."

This reverts commit d9a5686.

* Add cypress video upload log to Travis.

* Fix production mode for newly created __DEVELOPMENT__ (#1283)

* Translation ja 202003 2 (#1282)

* Japanese translations

* Wrote CHANGELOG

Co-authored-by: Víctor Fernández de Alba <sneridagh@gmail.com>

* Prepare for release

* Release 4.1.1

* Back to development

* Fix typo for Japanese translation (#1284)

* Fix refresh of the `Breadcrumbs` and `Navigation` components on calling `/login` and `/logout` (#1292)

* Upgrade critical Plone 5.2.1 deps in api folder (#1293)

* Do not rely on virtualenv.

virtualenv --clear wipes out the api folder somehow lately. We should avoid using it and rely on py3 venv instead.

* fix Makefile

* fix makefile

* Update .gitignore.

* Toc cypress (#1253)

* table of contents block cypress test

* toc cypress test

* added cypress test for toc block

* added cypress test for toc block

* table of contents cypress test

* toc cypress test

* Fixed changelog

Co-authored-by: Victor Fernandez de Alba <sneridagh@gmail.com>

* Fix Travis (#1306)

* Travis: do not rely on venv on Travis.

* Learning how to write Travis jobs here...

* Comment out flaky video block Cypress tests.

* Comment out flaky blocks-video.js test.

* Adjust implementation of the download link behavior for files (#1307)

* Reenable video blocks cypress tests based on the rework on lazy load branch (#1308)

* Revert "Fix refresh of the `Breadcrumbs` and `Navigation` components on calling `/login` and `/logout` (#1292)"

This reverts commit 1025e74.

* Cypress Video Block improvements (#1309)

* Add assertion to YouTube block Cypress test.

* Add proper assertions to Vimeo and MP4 video block Cypress tests.

* Update changelog.

* Cypress Video Block tests: remove wait and instead wait for the url to change on each tests as well as making assertions at the end.

* Cypress Video Blocks test: remove given stmt from tests and move it to beforeEach.

* Fix Maps block to use maps-inner instead of video-inner class (#1310)

* Add div with class "table-of-contents" to ToC block (#1311)

* Fix Maps block to use maps-inner instead of video-inner class

* fix: Add div with class table-of-contents to ToC block

* Add missing toc cypress changelog

* Cypress improvements (#1312)

* Fix Maps block to use maps-inner instead of video-inner class

* fix: Add div with class table-of-contents to ToC block

* Improve maps and toc Cypress tests.

* Upgrade Cypress to latest version. Move image block tests to blocks-image.js.

* Enable HTML Cypress test.

* Revert "Upgrade Cypress to latest version. Move image block tests to blocks-image.js."

This reverts commit d098685.

* Refactor the fix for the issue related with the refresh of the `Navigation` component on calling `/login` and `/logout` (#1313)

* Move Cypress image blocks tests to blocks-image.js.

* Run `yarn i18n` on any JSX change (#1314)

* Prepare for release

* Release 4.1.2

* Back to development

* Add link mailto Cypress test. (#1316)

* block-text.js -> blocks-text.js

* block-indexing.js -> blocks-indexing.js.

* Multilingual (#1299)

* Default multilingual root redirector

* New root resolver for webpack and ~/../ to make it work on import() lazy loads

* WIP, add menu

* First round trip creation/link/selector working

* Fix main tests

* Fix tests, improve lazy load of elements

* Add missing dependency

* Remove the redirector from the App component, move it to a children component.

* Modify logo to avoid redirections when accessing / when clicking the logo

* Multilingual ready Navigation component

* Add debugger option for tests

* Complete features of types menu, adjust create-translation route

* Add docs and Changelog

* i18n

* Checkout plone.restapi addtranslation branch.

* Add German translations for multilingual.

* Remove dangling branch and p.restapi checkout

* Fix i18n

* Remove dangling console

* Refactor variable names on the Plone side

* Revert change to the cfgs

* Fix several leftovers and improve the language switcher anchor title

Co-authored-by: Timo Stollenwerk <stollenwerk@kitconcept.com>

* Prepare for release

* Release 4.2.0

* Back to development

* Added recursive workflow.

* Fix link view.

* Fix link view.

* Release 4.3.0

* Back to development

* Fix netlify

* view /contens sortable

* Fix link view.

* Update changelog.

* Fix conversion from DraftJS to HTML using redraft for atomic entities (IMAGE) (#1329)

* Release 4.4.0

* Back to development

* Add Cypress test to rename an object in folder contents view. (#1330)

* Sitemap (#1326)

* sitemap

* sitemap style

* updated CHANGELOG

* changed field url

* Use breaking.feature.bugfix in CHANGELOG.md since 4.0.0 (#1323)

* Use breaking.feature.bugfix in CHANGELOG.md since 4.0.0

* Fix releaser script to match new format

* Amend latest release

Co-authored-by: Victor Fernandez de Alba <sneridagh@gmail.com>

* Improve the i18n script, only write the pot file if it's really different (#1331)

* Fix ArrayWidget to support static supermodel vocabulary (#1333)

* Fix ArrayWidget to support static supermodel vocabulary

* Update changelog

* Refactor to use optional chaining

* Make prettier

* Bring back the OutdatedBrowser component, it got removed in a bad merge :( (#1337)

* Prepare for release

* Release 4.5.0

* Back to development

* Fix use case for non-multilingual setups and on projects on lang loading (#1341)

* Fix untested case for non-multilingual setups

* Changelog

* updated italian translations (#1338)

Co-authored-by: Victor Fernandez de Alba <sneridagh@gmail.com>

* fixed a typo in the german translation for outdated browsers (#1339)

* fixed a typo in the german translation for outdated browsers

* fixed some german translations

* Add changelog

* Update translations

Co-authored-by: Victor Fernandez de Alba <sneridagh@gmail.com>

* added pagination on search results (#1334)

* added pagination on search results

* updated CHANGELOG

* fix changelog

Co-authored-by: Victor Fernandez de Alba <sneridagh@gmail.com>

* Prepare for release

* Release 4.6.0

* Back to development

* Remove dangling console

* Make Jest only looks up in `src` folder (#1344)

* Basic required boilerplate for @loadable/component support (#1342)

* Dates widgets (#1145)

* [wip] working on dates widget

* DatetimeWidget: worked on pickers and default value

* DatetimeWidget: date picker styles

* DatetimeWidget: time picker styles

* time widget: some a11y fixes

* updated changelog

* datetime widget: i18n

* datetime widget: added option for handle dates only

* datetime widget: fix mobile styles

* datetime widget: improved a11y for date picker, testing

* datetime widget: handled 12/24 hours for time picker

* datetime widget: prepared cypress tests

* datetime widget: fix styles for date picker in sidebar

* time-picker to stable version

* react dates shortcut button: fix spaces

* datetime widget: added test for utc dates and forced dates to be utc

* datetime widget: check if datetime has timezone, otherwise assumes it's UTC

* updated changelog

* WIP, tests failing

* Fix tests :)

Co-authored-by: Victor Fernandez de Alba <sneridagh@gmail.com>

* Remove wrong ca.json commited by error

* Patch razzle jest default config to add modulePathIgnorePatterns in order to fix the problem of running tests if api folder has Plone source code (eggs folder) in it. (#1352)

* Add meta description tags and meta generator (#1354)

* Helmet rework (#1300)

* add site title to app.jsx

* remove site title helmet from content type views

* remove helmet from customizing docs

* update changelog

* Add meta description tags and meta generator

* Add the helmet component into the View component instead that in the App

* Fix changelog

Co-authored-by: Victor Fernandez de Alba <sneridagh@gmail.com>

* Properlanginhtmltag (#1355)

* add site title to app.jsx

* remove site title helmet from content type views

* remove helmet from customizing docs

* update changelog

* Add meta description tags and meta generator

* Add the helmet component into the View component instead that in the App

* Fix changelog

* Add lang property in `html` tag depending on the site/content language

Co-authored-by: jackahl <kahl@kitconcept.com>

* Fixsounderrorontravis (#1356)

* Fix travis sound random error

* Fix Travis random no sound card found error

* Categorization of components by main/lazy/internal (#1351)

* Categorization of components by main/lazy/internal

* Proposal

* Changelog, remove proposal

* Add upgrade guide breaking changes for 5

* Add breaking change for Helpmet titles in View.jsx

* Add `App.jsx` component insertion point (#1357)

* Add lazy load and code splitting

* Remove changes line from CHANGELOG

* docs: add release documentation

* docs: add releases.md (#1358)

Co-authored-by: Victor Fernandez de Alba <sneridagh@gmail.com>
Co-authored-by: Janina Hard <hard@werkbank.de>
Co-authored-by: Katja Süss <k.suess@rohberg.ch>
Co-authored-by: Alin Voinea <contact@avoinea.com>
Co-authored-by: steffenri <54619639+steffenri@users.noreply.github.com>
Co-authored-by: Manabu TERADA <terada@cmscom.jp>
Co-authored-by: Asko Soukka <asko.soukka@iki.fi>
Co-authored-by: Andrea Cecchi <andrea.cecchi85@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Steffen <ring@kitconcept.com>
Co-authored-by: Rob Gietema <rob.gietema@gmail.com>
Co-authored-by: giuliaghisini <51911425+giuliaghisini@users.noreply.github.com>
Co-authored-by: Nicola Zambello <nzambello@protonmail.com>
Co-authored-by: jackahl <44289551+jackahl@users.noreply.github.com>
Co-authored-by: jackahl <kahl@kitconcept.com>

* GitHub actions bundlewatch (#1363)

* Release 4.0.0-alpha.40

* Back to development

* fix: update german translation (#1236)

* fix: update german translation

* yarn run 18n

* fix typo

* yarn i18n

* Fix changelog

* Fix date widgets on QueryString widget on listings and in the widget (#1237)

* Fix for Issue 1188 (#1235)

Co-authored-by: Víctor Fernández de Alba <sneridagh@gmail.com>

* I18n in toolbar and folder contents view (#1220)

* toolbar: aria-label translated

* pagination: translation

* folder contents: translation

* Translation

* Update CHANGELOG.md

* german translation

* Toolbar: portal types translatable

* translation

* Toolbar: labels translatable

* folder contents: titles translatable

* translation

* translation

* Merge

Co-authored-by: Timo Stollenwerk <tisto@users.noreply.github.com>

* Prepare for release

* Release 4.0.0-alpha.41

* Back to development

* Revert "Table Content: Fix content overflow (#1216)" (#1239)

This reverts commit aef1f98.

* Prepare to release

* Release 4.0.0-alpha.42

* Back to development

* Responsive header (#1233)

* wrap navigation

* anontools wrapping under long navigation. hamburger menu also on tablet.

! changed DOM in Header.jsx: wrapper for tools and search
mobile: compact display of anontools and search.
No change at all for desktop with short navigation.

* a11y

* Renaming class name of wrapper for anontools (login, ...) and search. Moving header focussed CSS to header.overrides

* Update CHANGELOG.md

* Simplify header CSS

Co-authored-by: Víctor Fernández de Alba <sneridagh@gmail.com>

* Polishing docs, pre-release

* Refs #982 - Fix DefaultView within History Diff context (#1242)

* Refs #982 - Fix DefaultView within History Diff context

* Refs #982 - Diff handle multiselect

* Fix CHANGELOG

* Add Plone Conf 2019 Volto talks to the README

* Prepare for release

* Release 4.0.0-alpha.43

* Back to development

* Prepare for release final

* Release 4.0.0

* Back to development

* Increase ObjectBrowser limit per folder to 1000, partially fixes #1259 (#1260)

* fixed styling in site settings controlpanel (#1251)

* fixed styling in site settings controlpanel

* site setting styling upgrade

* fixed changelog

* fixed changelog

* fixed changelog

Co-authored-by: Víctor Fernández de Alba <sneridagh@gmail.com>

* translation for Japanese (#1244)

Co-authored-by: Víctor Fernández de Alba <sneridagh@gmail.com>

* internal: use kitconcept.volto for builds (#1261)

* WIP use k.volto

* Add changelog

* Fix git url

* Update test

* Use released version of k.volto

* Fix documentation

* Fix changelog

* Fix SSR for "undetected" browsers [fixes #1262] (#1264)

* internal: update to k.volto 1.0.1

* Deprecate `utils.less` as it is a leftover and it collides with some use cases depending on the viewport, see: #1265 (#1266)

* Prepare for release

* Release 4.0.1

* Back to development

* Improve the UX of the listing block when queries are running (#1268)

* Add flattenHTMLToAppURL helper method for remove api url from TinyMCE generated HTML (#1270)

* Add development mode global (#1274)

* Release 4.1.0

* Back to development

* Fix for #1267 - Link inside text for content-type without blocks breaks the site (#1276)

* Bump acorn from 5.7.3 to 5.7.4 (#1275)

Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](acornjs/acorn@5.7.3...5.7.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Upgrade cypress-plugin-retries, log rerun. (#1277)

* Cypress 4 (#1279)

* Upgrade to Cypress 4.

* Add changelog.

* Cypress upload results to surge (#1280)

* Upload Cypress videos to surge.sh.

* Deploy to surge.sh on failing builds.

* Remove sudo:required from Travis.

* Surge.sh: no video subdir.

* Travis: matrix is just an alias for jobs.

* Travis: us os:linux.

* Revert "Surge.sh: no video subdir."

This reverts commit d9a5686.

* Add cypress video upload log to Travis.

* Fix production mode for newly created __DEVELOPMENT__ (#1283)

* Translation ja 202003 2 (#1282)

* Japanese translations

* Wrote CHANGELOG

Co-authored-by: Víctor Fernández de Alba <sneridagh@gmail.com>

* Prepare for release

* Release 4.1.1

* Back to development

* Fix typo for Japanese translation (#1284)

* Fix refresh of the `Breadcrumbs` and `Navigation` components on calling `/login` and `/logout` (#1292)

* Upgrade critical Plone 5.2.1 deps in api folder (#1293)

* Do not rely on virtualenv.

virtualenv --clear wipes out the api folder somehow lately. We should avoid using it and rely on py3 venv instead.

* fix Makefile

* fix makefile

* Update .gitignore.

* Toc cypress (#1253)

* table of contents block cypress test

* toc cypress test

* added cypress test for toc block

* added cypress test for toc block

* table of contents cypress test

* toc cypress test

* Fixed changelog

Co-authored-by: Victor Fernandez de Alba <sneridagh@gmail.com>

* Fix Travis (#1306)

* Travis: do not rely on venv on Travis.

* Learning how to write Travis jobs here...

* Comment out flaky video block Cypress tests.

* Comment out flaky blocks-video.js test.

* Adjust implementation of the download link behavior for files (#1307)

* Reenable video blocks cypress tests based on the rework on lazy load branch (#1308)

* Revert "Fix refresh of the `Breadcrumbs` and `Navigation` components on calling `/login` and `/logout` (#1292)"

This reverts commit 1025e74.

* Cypress Video Block improvements (#1309)

* Add assertion to YouTube block Cypress test.

* Add proper assertions to Vimeo and MP4 video block Cypress tests.

* Update changelog.

* Cypress Video Block tests: remove wait and instead wait for the url to change on each tests as well as making assertions at the end.

* Cypress Video Blocks test: remove given stmt from tests and move it to beforeEach.

* Fix Maps block to use maps-inner instead of video-inner class (#1310)

* Add div with class "table-of-contents" to ToC block (#1311)

* Fix Maps block to use maps-inner instead of video-inner class

* fix: Add div with class table-of-contents to ToC block

* Add missing toc cypress changelog

* Cypress improvements (#1312)

* Fix Maps block to use maps-inner instead of video-inner class

* fix: Add div with class table-of-contents to ToC block

* Improve maps and toc Cypress tests.

* Upgrade Cypress to latest version. Move image block tests to blocks-image.js.

* Enable HTML Cypress test.

* Revert "Upgrade Cypress to latest version. Move image block tests to blocks-image.js."

This reverts commit d098685.

* Refactor the fix for the issue related with the refresh of the `Navigation` component on calling `/login` and `/logout` (#1313)

* Move Cypress image blocks tests to blocks-image.js.

* Run `yarn i18n` on any JSX change (#1314)

* Prepare for release

* Release 4.1.2

* Back to development

* Add link mailto Cypress test. (#1316)

* block-text.js -> blocks-text.js

* block-indexing.js -> blocks-indexing.js.

* Multilingual (#1299)

* Default multilingual root redirector

* New root resolver for webpack and ~/../ to make it work on import() lazy loads

* WIP, add menu

* First round trip creation/link/selector working

* Fix main tests

* Fix tests, improve lazy load of elements

* Add missing dependency

* Remove the redirector from the App component, move it to a children component.

* Modify logo to avoid redirections when accessing / when clicking the logo

* Multilingual ready Navigation component

* Add debugger option for tests

* Complete features of types menu, adjust create-translation route

* Add docs and Changelog

* i18n

* Checkout plone.restapi addtranslation branch.

* Add German translations for multilingual.

* Remove dangling branch and p.restapi checkout

* Fix i18n

* Remove dangling console

* Refactor variable names on the Plone side

* Revert change to the cfgs

* Fix several leftovers and improve the language switcher anchor title

Co-authored-by: Timo Stollenwerk <stollenwerk@kitconcept.com>

* Prepare for release

* Release 4.2.0

* Back to development

* Added recursive workflow.

* Fix link view.

* Fix link view.

* Release 4.3.0

* Back to development

* Fix netlify

* view /contens sortable

* Fix link view.

* Update changelog.

* Fix conversion from DraftJS to HTML using redraft for atomic entities (IMAGE) (#1329)

* Release 4.4.0

* Back to development

* Add Cypress test to rename an object in folder contents view. (#1330)

* Sitemap (#1326)

* sitemap

* sitemap style

* updated CHANGELOG

* changed field url

* Use breaking.feature.bugfix in CHANGELOG.md since 4.0.0 (#1323)

* Use breaking.feature.bugfix in CHANGELOG.md since 4.0.0

* Fix releaser script to match new format

* Amend latest release

Co-authored-by: Victor Fernandez de Alba <sneridagh@gmail.com>

* Improve the i18n script, only write the pot file if it's really different (#1331)

* Fix ArrayWidget to support static supermodel vocabulary (#1333)

* Fix ArrayWidget to support static supermodel vocabulary

* Update changelog

* Refactor to use optional chaining

* Make prettier

* Bring back the OutdatedBrowser component, it got removed in a bad merge :( (#1337)

* Prepare for release

* Release 4.5.0

* Back to development

* Fix use case for non-multilingual setups and on projects on lang loading (#1341)

* Fix untested case for non-multilingual setups

* Changelog

* updated italian translations (#1338)

Co-authored-by: Victor Fernandez de Alba <sneridagh@gmail.com>

* fixed a typo in the german translation for outdated browsers (#1339)

* fixed a typo in the german translation for outdated browsers

* fixed some german translations

* Add changelog

* Update translations

Co-authored-by: Victor Fernandez de Alba <sneridagh@gmail.com>

* added pagination on search results (#1334)

* added pagination on search results

* updated CHANGELOG

* fix changelog

Co-authored-by: Victor Fernandez de Alba <sneridagh@gmail.com>

* Prepare for release

* Release 4.6.0

* Back to development

* Remove dangling console

* Make Jest only looks up in `src` folder (#1344)

* Basic required boilerplate for @loadable/component support (#1342)

* Dates widgets (#1145)

* [wip] working on dates widget

* DatetimeWidget: worked on pickers and default value

* DatetimeWidget: date picker styles

* DatetimeWidget: time picker styles

* time widget: some a11y fixes

* updated changelog

* datetime widget: i18n

* datetime widget: added option for handle dates only

* datetime widget: fix mobile styles

* datetime widget: improved a11y for date picker, testing

* datetime widget: handled 12/24 hours for time picker

* datetime widget: prepared cypress tests

* datetime widget: fix styles for date picker in sidebar

* time-picker to stable version

* react dates shortcut button: fix spaces

* datetime widget: added test for utc dates and forced dates to be utc

* datetime widget: check if datetime has timezone, otherwise assumes it's UTC

* updated changelog

* WIP, tests failing

* Fix tests :)

Co-authored-by: Victor Fernandez de Alba <sneridagh@gmail.com>

* Remove wrong ca.json commited by error

* Patch razzle jest default config to add modulePathIgnorePatterns in order to fix the problem of running tests if api folder has Plone source code (eggs folder) in it. (#1352)

* Add meta description tags and meta generator (#1354)

* Helmet rework (#1300)

* add site title to app.jsx

* remove site title helmet from content type views

* remove helmet from customizing docs

* update changelog

* Add meta description tags and meta generator

* Add the helmet component into the View component instead that in the App

* Fix changelog

Co-authored-by: Victor Fernandez de Alba <sneridagh@gmail.com>

* Properlanginhtmltag (#1355)

* add site title to app.jsx

* remove site title helmet from content type views

* remove helmet from customizing docs

* update changelog

* Add meta description tags and meta generator

* Add the helmet component into the View component instead that in the App

* Fix changelog

* Add lang property in `html` tag depending on the site/content language

Co-authored-by: jackahl <kahl@kitconcept.com>

* Fixsounderrorontravis (#1356)

* Fix travis sound random error

* Fix Travis random no sound card found error

* Categorization of components by main/lazy/internal (#1351)

* Categorization of components by main/lazy/internal

* Proposal

* Changelog, remove proposal

* Add upgrade guide breaking changes for 5

* Add breaking change for Helpmet titles in View.jsx

* Add `App.jsx` component insertion point (#1357)

* Add lazy load and code splitting

* Remove changes line from CHANGELOG

* docs: add release documentation

* docs: add releases.md (#1358)

* Run Cypress tests on gh actions

* ci: just run cypress directly

* ci: add bundlewatch to gh actions

Co-authored-by: Victor Fernandez de Alba <sneridagh@gmail.com>
Co-authored-by: Janina Hard <hard@werkbank.de>
Co-authored-by: Katja Süss <k.suess@rohberg.ch>
Co-authored-by: Alin Voinea <contact@avoinea.com>
Co-authored-by: steffenri <54619639+steffenri@users.noreply.github.com>
Co-authored-by: Manabu TERADA <terada@cmscom.jp>
Co-authored-by: Asko Soukka <asko.soukka@iki.fi>
Co-authored-by: Andrea Cecchi <andrea.cecchi85@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Steffen <ring@kitconcept.com>
Co-authored-by: Rob Gietema <rob.gietema@gmail.com>
Co-authored-by: giuliaghisini <51911425+giuliaghisini@users.noreply.github.com>
Co-authored-by: Nicola Zambello <nzambello@protonmail.com>
Co-authored-by: jackahl <44289551+jackahl@users.noreply.github.com>
Co-authored-by: jackahl <kahl@kitconcept.com>

* GitHub actions cypress (#1361)

* Run Cypress tests on gh actions

* ci: just run cypress directly

* Upload Cypress screenshots and videos as gh actions artifacts

* Update LanguageSelector.test.jsx.snap

* Update LanguageSelector.test.jsx.snap

* Remove git differences that shouldn't happen in this PR

* Update CHANGELOG.md

Co-authored-by: Victor Fernandez de Alba <sneridagh@gmail.com>
Co-authored-by: Janina Hard <hard@werkbank.de>
Co-authored-by: Katja Süss <k.suess@rohberg.ch>
Co-authored-by: Alin Voinea <contact@avoinea.com>
Co-authored-by: steffenri <54619639+steffenri@users.noreply.github.com>
Co-authored-by: Manabu TERADA <terada@cmscom.jp>
Co-authored-by: Asko Soukka <asko.soukka@iki.fi>
Co-authored-by: Andrea Cecchi <andrea.cecchi85@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Steffen <ring@kitconcept.com>
Co-authored-by: Rob Gietema <rob.gietema@gmail.com>
Co-authored-by: giuliaghisini <51911425+giuliaghisini@users.noreply.github.com>
Co-authored-by: Nicola Zambello <nzambello@protonmail.com>
Co-authored-by: jackahl <44289551+jackahl@users.noreply.github.com>
Co-authored-by: jackahl <kahl@kitconcept.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve Dates widget Editing an Event type, the form does not get the current start/end date
4 participants