6416 Commits

Author SHA1 Message Date
Pierre Noël
e2234ed9f1 use connection instead of getConnection 2022-11-15 18:42:18 +01:00
Pierre Noël
887ea1ae59 Avoid use of window functions for MySQL versions below 8 2022-11-15 16:43:04 +01:00
Simone Taeggi
b720106392 trigger the didGoToCTB event when clicking on the Content Type Builder link 2022-11-15 15:56:31 +01:00
Gustav Hansen
9ffd38f6c9 Chore: Update tests for @testing-library/user-event API changes 2022-11-15 15:01:19 +01:00
Josh
b4eaa97842
Merge branch 'main' into chore/use-path-instead-of-require 2022-11-15 13:57:18 +00:00
Jamie Howard
5553538c18 chore 2022-11-15 13:37:18 +00:00
Jamie Howard
0f7eb70fd2 fix(database): refactor getConnection to not use schemas 2022-11-15 13:28:35 +00:00
Gustav Hansen
ea0ab221c3 Chore: Update @testing-library/user-event to 14.4.3 2022-11-15 13:00:49 +01:00
Gustav Hansen
5f24350a48
Merge branch 'main' into chore/update-testing-library-react 2022-11-15 11:54:47 +01:00
Gustav Hansen
db6f0cd2b7
Merge pull request #14866 from strapi/chore/update-ds
chore: update design-system to 1.2.8
2022-11-15 11:53:43 +01:00
Gustav Hansen
65597622c6 Chore: Update @testing-library/react to 12.1.4 2022-11-15 11:15:30 +01:00
Gustav Hansen
6790ed2940
Merge pull request #14860 from strapi/chore/update-testing-hooks
Chore: Update @testing-library/react-hooks to 8.0.1
2022-11-15 11:12:33 +01:00
Gustav Hansen
100e78cb62
Merge pull request #14858 from strapi/chore/update-testing-library-dom
Chore: Update @testing-library/dom to 8.19.0
2022-11-15 11:12:11 +01:00
Josh
f0e94fde66 chore: update design-system to 1.2.8 2022-11-15 09:01:04 +00:00
Bart Lagerweij
1f356cccde
Update/add dutch translations
Some dutch translations where missing. They have been added.
Also a few bad translations have been fixed.
2022-11-15 09:53:28 +01:00
Josh
b5e75847ca
Merge pull request #14850 from strapi/fix/dynamic-zone-reorder-values 2022-11-15 08:42:59 +00:00
Gustav Hansen
ee75ce9e32 Chore: Update @testing-library/react-hooks to 8.0.1 2022-11-14 18:39:19 +01:00
Gustav Hansen
03d815ea17 Chore: Update @testing-library/dom to 8.19.0 2022-11-14 18:38:56 +01:00
Jamie Howard
cad6a8da1c fix(entity-manager): knex withSchema.raw error 2022-11-14 16:39:57 +00:00
Josh
5a5d4b192a fix: mainField name 2022-11-14 16:21:04 +00:00
Josh
3bb40a9e4c refactor: use path.dirname on require.resolve 2022-11-14 16:12:50 +00:00
Josh
3f7eb66647 chore: pr amends 2022-11-14 16:04:26 +00:00
Julie Plantey
11c5d88c49
Merge pull request #14754 from dmoKruso/fix-en-lang
Update en.json
2022-11-14 16:04:01 +01:00
Josh
8017534e20 chore: use find-root to find root relative to the CJS version 2022-11-14 14:04:05 +00:00
Josh
8f708964ea refactor: refactor from another PR from main 2022-11-14 12:37:08 +00:00
Josh
8c83e9d508 Merge branch 'main' into fix/dynamic-zone-reorder-values 2022-11-14 12:36:36 +00:00
Gustav Hansen
cebbe1d199 chore: Update snapshot tests 2022-11-14 13:31:49 +01:00
Josh
0dee68a41d fix: broken test with AddComponentButton 2022-11-14 12:21:02 +00:00
Josh
cb9ed96340 test: add DynamicZone index tests 2022-11-14 12:16:49 +00:00
Gustav Hansen
280edc92f2 UploadProgress: Update colors and fix alignments 2022-11-14 13:05:46 +01:00
Gustav Hansen
fcf1504f6f UploadProgress: Remove border-radius bottom-left and bottom-right 2022-11-14 12:47:56 +01:00
Gustav Hansen
dcab3b9630 AssetCard: Improve badge alignment 2022-11-14 12:47:42 +01:00
Josh
7335dc0844 test: add tests for DynamicComponent 2022-11-14 11:45:22 +00:00
Josh
137f33dbfa chore: use path.resolve instead of require
because this assumes we must always use CJS
2022-11-14 10:27:54 +00:00
Josh
c58d5a8692 test: add tests for DynamicZone sub components 2022-11-14 10:26:34 +00:00
dependabot[bot]
5366eb64fa
chore(deps): bump css-loader from 6.7.1 to 6.7.2
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 6.7.1 to 6.7.2.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v6.7.1...v6.7.2)

---
updated-dependencies:
- dependency-name: css-loader
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-14 09:19:07 +00:00
Alve Svarén
2207f0c22e
Merge branch 'main' into master 2022-11-13 14:55:31 +01:00
Ben Irvin
8d59794fbe
Merge branch 'main' into fix/14802-postgres-token-duration 2022-11-11 14:27:56 +01:00
Gustav Hansen
5055296e4a
Merge pull request #14667 from strapi/dependabot/npm_and_yarn/ci-info-3.5.0
chore(deps): bump ci-info from 3.3.2 to 3.5.0
2022-11-11 14:01:49 +01:00
Gustav Hansen
d37c693b88
Merge pull request #14668 from strapi/dependabot/npm_and_yarn/fortawesome/fontawesome-svg-core-6.2.0
chore(deps): bump @fortawesome/fontawesome-svg-core from 6.1.2 to 6.2.0
2022-11-11 14:01:10 +01:00
Gustav Hansen
ab1d9e66b3 Chore: Fix eslint errors 2022-11-11 13:10:56 +01:00
Gindilla Péter
9b2d5b0e6f fixing format issues (lint (node: 18)) 2022-11-11 13:03:50 +01:00
Gindilla Péter
46851af65a fixing 'id' mainField (no title field), and empty display value not need separator. 2022-11-11 13:03:50 +01:00
Godzzo
20ccfeb2ac separate imports for better tree shaking
Co-authored-by: Gustav Hansen <gu@stav.dev>
2022-11-11 13:03:50 +01:00
godzzo
56607b6842 adding wrapper (connect, select) for using mainValue as prop in DynamicZone/Component 2022-11-11 13:03:50 +01:00
godzzo
20f7fedd9c Remove length limit from displayedValue, and move useMainValue.js to the proper hooks/ folder. 2022-11-11 13:03:50 +01:00
godzzo
600df900f1 decouple the getDisplayedValue logic for unit testing from useMainValue and add a unit test for it - without call the test. 2022-11-11 13:03:50 +01:00
godzzo
7afa200622 console.log removed, mainValue length limited to 50 chars, componentFieldName (string) parameter reorged to componentFieldPath (array) 2022-11-11 13:03:50 +01:00
godzzo
469ff7e100 DynamicZone - extend FriendlyName with MainValue like RepeatableComponent
This commit fixes #12499
2022-11-11 13:03:50 +01:00
Josh
4bf9291ccd refactor: existing DZ tests 2022-11-11 11:58:54 +00:00