25993 Commits

Author SHA1 Message Date
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
Gustav Hansen
5541a32440
Merge pull request #14855 from strapi/chore/remove-istanbul
Chore: Remove istanbul dependency
2022-11-14 18:32:58 +01:00
Jamie Howard
cad6a8da1c fix(entity-manager): knex withSchema.raw error 2022-11-14 16:39:57 +00:00
Jamie Howard
d7e3db84b6 chore(upload): test setup 2022-11-14 16:27:25 +00:00
Josh
5a5d4b192a fix: mainField name 2022-11-14 16:21:04 +00:00
Gustav Hansen
54bcc425d8 Chore: Remove istanbul dependency 2022-11-14 17:20:17 +01: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
Simone Taeggi
4da811c322 create a util to wrap the old axiosInstance implementations and log the warning 2022-11-14 16:36:30 +01:00
Alexandre BODIN
6117ef7872
Merge pull request #14403 from strapi/custom-fields/docs 2022-11-14 16:23:31 +01:00
Alexandre BODIN
f3f39e6d19
Merge branch 'main' into custom-fields/docs 2022-11-14 16:22:13 +01: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
Simone
cde2230426
Merge branch 'main' into enhancement/axios-refactoring 2022-11-14 14:11:56 +01: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
Gustav Hansen
a4dff260d9
Merge pull request #14846 from strapi/dependabot/npm_and_yarn/css-loader-6.7.2
chore(deps): bump css-loader from 6.7.1 to 6.7.2
2022-11-14 11:41:44 +01: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
Simone Taeggi
68fee16bd2 Wrap axiosInstance inside a wrapper to contain the warnings 2022-11-11 17:54:11 +01:00
Ben Irvin
8d59794fbe
Merge branch 'main' into fix/14802-postgres-token-duration 2022-11-11 14:27:56 +01:00
Simone
4a211a50d0
Merge branch 'main' into enhancement/axios-refactoring 2022-11-11 14:09:13 +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
121ff91b7b
Merge pull request #14806 from strapi/dependabot/npm_and_yarn/loader-utils-1.4.1
chore(deps): bump loader-utils from 1.4.0 to 1.4.1
2022-11-11 13:59:39 +01:00
Gustav Hansen
e68bca1d56
Merge pull request #12500 from godzzo/godzzo/issue12499
DynamicZone - extend FriendlyName with MainValue
2022-11-11 13:57:51 +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
Gustav Hansen
a13b60d441
Merge pull request #14790 from cooperwfloyd/fix/upload-alt-caption-filename
prevent caption and alternativeText from automatically populating with file name on upload
2022-11-11 12:55:36 +01:00
Simone
4c2ca3c5e4
Merge branch 'main' into fix/14802-postgres-token-duration 2022-11-11 10:26:53 +01:00
Simone
2c234d4d2d
Merge branch 'main' into enhancement/axios-refactoring 2022-11-11 10:19:51 +01:00