4672 Commits

Author SHA1 Message Date
dependabot[bot]
c34008aeaf
Bump axios from 1.2.2 to 1.3.4
Bumps [axios](https://github.com/axios/axios) from 1.2.2 to 1.3.4.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/1.2.2...v1.3.4)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-15 21:46:08 +00:00
Alexandre Bodin
2ec4bf2bd1 Merge branch 'releases/4.8.1' 2023-03-15 22:42:50 +01:00
Alexandre Bodin
b3cb13cb14 v4.8.1 2023-03-15 22:25:40 +01:00
Alexandre Bodin
9295b52bb7 Fix api tests 2023-03-15 20:55:25 +01:00
Alexandre Bodin
18fbe664d7 Fix tests 2023-03-15 19:08:49 +01:00
Convly
1b6a6926e6 Merge branch 'releases/4.8.0' into main 2023-03-15 16:35:26 +01:00
Convly
e239e408f9 v4.8.0 2023-03-15 16:29:42 +01:00
Ben Irvin
801e3db415 add traverse query
fix single type

fix query

sanitize pagination count params

add comments

Cleanup the params/filters sanitize helpers

sanitize association resolver

Sanitize sort

fix graphql single type

fix graphql types

fix addFindQuery

Sanitize fields

Update sanitize sort to handle all the different formats

Update fields sanitize to handle regular strings & wildcard

Fix non scalar recursion

Add a traverse factory

Add visitor to remove dz & morph relations

Replace the old traverse utils (sort, filters) by one created using the traverse factory

add sanitize populate

await args

fix async and duplicate sanitization

sanitize u&p params

Add traverse fields

Fix traverse & sanitize fields

add traverse fields to nested populate

sanitize admin api filter queries

Co-authored-by: Jean-Sébastien Herbaux <Convly@users.noreply.github.com>

sanitize sort params in admin API

todo

make token fields unsearchable with _q

sanitize delete mutation

Update packages/core/admin/server/services/permission/permissions-manager/sanitize.js

Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>

fix errors on queries without ctx

rename findParams to sanitizedParams

Sanitize queries everywhere in the content manager admin controllers

sanitize single type update and delete

Ignore non attribute keys in the sanitize sort

Fix the sanitize query sort for nested string sort

Fix permission check for the admin

typo

sanitize upload

sanitize admin media library

sanitize admin users

Add missing await

Co-authored-by: Jean-Sébastien Herbaux <Convly@users.noreply.github.com>

set U&P users fields to searchable:false

add token support to createContentAPIRequest

add searchable:false to getstarted U&P schema

remove comment

sanitize component resolver

remove await

add searchable false to the file's folder path

Fix admin query when the permission query is set to null

add basic tests for filtering private params

add tests for fields

add pagination tests

Fix admin user fields not being sanitized

Fix convert query params for the morph fragment on undefined value

Traverse dynamic zone on nested populate

Handle nested sort, filters & fields in populate queries + handle populate fragment for morphTo relations

Sanitize 'on' subpopulate

Co-authored-by: Jean-Sébastien Herbaux <Convly@users.noreply.github.com>

don't throw error on invalid attributes

check models for snake case column name instead of assuming they are operators

Add first batch of api tests for params sanitize

Fix sort traversal: handle object arrays

Put back removePassword for fields,sort,filters

Add schemas and fixtures for sanitize api tests

Add tests for relations (sanitize api tests)

Move constant to domain scope

Rename sanitize params to sanitize query

Fix typo

Cleanup fixtures file

Fix variable name conflict

Update packages/core/admin/server/services/permission/permissions-manager/sanitize.js

Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>

Update comment for array filters

Rename sanitize test

Test implicit & explicit array operator for filter

Remove unused code
2023-03-15 14:59:19 +01:00
Marc-Roig
21b43ba679 fix: fix: Different field types with the same name break CM EditView
Co-Authored-By: Gustav Hansen <gustav.hansen@strapi.io>
Co-Authored-By: Marc <20578351+Marc-Roig@users.noreply.github.com>
2023-03-15 09:11:16 +00:00
dependabot[bot]
8ee7af8294
chore(deps): bump webpack from 5.75.0 to 5.76.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.75.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-15 04:17:35 +00:00
Alexandre Bodin
c4a48a15d7 Change chunk name 2023-03-14 12:00:13 +01:00
Gustav Hansen
df3ee9117f
Merge pull request #16036 from smoothdvd/patch-2
Update zh-Hans.json to catch up latest en.json
2023-03-14 08:57:46 +01:00
Alexandre BODIN
2eb85b17c7
Merge branch 'main' into chore/rbac-ce 2023-03-13 18:13:11 +01:00
markkaylor
f78ba41c59
Merge pull request #15778 from strapi/fix/non-required-json-input 2023-03-13 14:23:08 +01:00
Alexandre Bodin
4f462fb536 Remove unused assets 2023-03-13 14:17:34 +01:00
markkaylor
7533a8dcc7
Merge branch 'main' into fix/non-required-json-input 2023-03-13 08:56:46 +01:00
smoothdvd
e9e369f8db
Update zh-Hans.json to catch up latest en.json 2023-03-09 16:47:51 +08:00
Alexandre Bodin
6f225b6979 Merge branch 'main' of github.com:strapi/strapi into chore/rbac-ce 2023-03-09 02:45:03 +01:00
Alexandre Bodin
29dadec292 Feedbacks 2023-03-09 02:43:16 +01:00
Simone Taeggi
3a149fe26e Merge branch 'main' into data-transfer/limit-token-name-length 2023-03-08 12:22:46 +01:00
Simone Taeggi
eae7fc9b1d chore: update DS to 1.6.5 and fix a unit test 2023-03-08 10:36:08 +01:00
markkaylor
39e41973a8
Merge branch 'main' into fix/audit-logs-test-error 2023-03-08 13:22:22 +05:30
Simone Taeggi
6bdbe17068 upgrade the design-system and icons dependencies, the snapshots and a failing unit test 2023-03-07 18:13:28 +01:00
Alexandre Bodin
b1d1a6a272 Merge branch 'main' of github.com:strapi/strapi into chore/rbac-ce 2023-03-07 16:19:54 +01:00
Simone Taeggi
b6ea2a544e Merge branch 'main' into data-transfer/limit-token-name-length 2023-03-07 16:08:35 +01:00
Josh
edc8c32056 chore: replace spacing with gap
chore: update snapshots

fix: css on roles settings
2023-03-07 14:27:20 +00:00
Alexandre Bodin
3d554829db Merge branch 'main' of github.com:strapi/strapi into chore/rbac-ce 2023-03-07 14:46:37 +01:00
Alexandre Bodin
11821500d2 Update FE snapshot 2023-03-07 14:17:01 +01:00
Josh
6b07ba03c0
Merge pull request #15969 from strapi/dependabot/npm_and_yarn/react-select-5.7.0 2023-03-07 09:18:56 +00:00
Josh
024758e731 chore: update snapshots for react-select classNames 2023-03-07 08:35:27 +00:00
Marc
c90c7ee82a
Merge pull request #15978 from strapi/dependabot/npm_and_yarn/chalk-4.1.2 2023-03-07 09:18:45 +01:00
Alexandre Bodin
e3a4b431ba clean comment 2023-03-07 08:41:07 +01:00
Alexandre Bodin
8278afe3f3 Merge branch 'main' of github.com:strapi/strapi into chore/rbac-ce 2023-03-07 08:27:15 +01:00
markkaylor
a3ad977212
Merge branch 'main' into fix/audit-logs-test-error 2023-03-07 08:46:39 +05:30
Mark Kaylor
6e96e68a87 Fix tbody cannot appear as child of div error 2023-03-07 08:42:24 +05:30
Alexandre Bodin
6c36872dd2 Fix test 2023-03-06 22:17:56 +01:00
Alexandre Bodin
6a003d738c Move frontend 2023-03-06 22:15:57 +01:00
Alexandre Bodin
e0e2084422 Move RBAC into CE 2023-03-06 21:46:45 +01:00
Sergio Peña
50235362be Fix some traslations removing dots 2023-03-06 17:59:13 +00:00
Alexandre BODIN
b9e92de1af
Merge pull request #15976 from strapi/chore/fix-invalid-path
Fix invalid require using internal paths
2023-03-03 18:41:11 +01:00
Alexandre Bodin
e789cd81f3 Avoid local strapi conflicting with global 2023-03-03 17:17:02 +01:00
Josh
3234fcc61d
Merge pull request #15900 from strapi/fix/relations-caching-between-locales 2023-03-03 15:42:28 +00:00
Josh
0c2aa6d5bc fix: add default params to cache key to avoid flickering of unlocalised relations 2023-03-03 15:02:55 +00:00
Josh
08160f1943 fix: alignment should be center not flex-start 2023-03-03 14:26:54 +00:00
Josh
cad6fb7429 chore: remove unnecessary test 2023-03-03 14:17:23 +00:00
Josh
f4f2b5ab2e fix: dont merge the state if the ID changes
fix: dont merge the state if the ID changes

fix: pass id to querykey & add cleanup method to useRelation hook

fix: pass defaultParams as part of the cache key

Revert "fix: reset cache for `relation` keys in i18n plugin"

This reverts commit 34b2fd9fabfcb93fb9f416616802e10b79133112.

fix: pass defaultParams as part of the cache key

chore: spread cachekey in search query

fix: move logic to useRelations hook that handles removing from the store.

fix: broken test

refactor: rename method to onUnmount
2023-03-03 14:17:23 +00:00
dependabot[bot]
6b19d1bf42
Bump react-select from 5.6.0 to 5.7.0
Bumps [react-select](https://github.com/JedWatson/react-select) from 5.6.0 to 5.7.0.
- [Release notes](https://github.com/JedWatson/react-select/releases)
- [Changelog](https://github.com/JedWatson/react-select/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/JedWatson/react-select/compare/react-select@5.6.0...react-select@5.7.0)

---
updated-dependencies:
- dependency-name: react-select
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-03 14:13:10 +00:00
dependabot[bot]
875a2cb7ba
chore(deps): bump chalk from 4.1.1 to 4.1.2
Bumps [chalk](https://github.com/chalk/chalk) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/chalk/chalk/releases)
- [Commits](https://github.com/chalk/chalk/compare/v4.1.1...v4.1.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-03 10:09:15 +00:00
Alexandre Bodin
dee0e195c1 Fix invalid require using internal paths 2023-03-02 22:16:29 +01:00
Josh
d209390fbe chore: update DS to 1.6.4 2023-03-02 13:17:01 +00:00