1617 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
b3cb13cb14 v4.8.1 2023-03-15 22:25:40 +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
Tobias Frank
b1e105fca5 move unique key up in hierarchy 2023-03-08 15:29:36 +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
Josh
e438557f17 fix: check if mime or ext are nullish and replace with empty strings 2023-03-07 11:46:03 +00:00
Josh
024758e731 chore: update snapshots for react-select classNames 2023-03-07 08:35:27 +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
Josh
d209390fbe chore: update DS to 1.6.4 2023-03-02 13:17:01 +00:00
Josh
63c0993e93
Merge pull request #15968 from strapi/chore/add-all-undeclared-packages 2023-03-02 10:54:55 +00:00
Sora Morimoto
930a3afec7 chore: Add all undeclared packages to package.json
This reverts commit 6c283862daa0c8846a544c183e72623b65907cc3.

chore: Add all undeclared packages to package.json

Add all undeclared packages to package.json (Round 2)

Signed-off-by: Sora Morimoto <sora@morimoto.io>

chore: move core deps to peer

codemirror5

Signed-off-by: Sora Morimoto <sora@morimoto.io>

Add all undeclared packages to `package.json` (Round 2)

Signed-off-by: Sora Morimoto <sora@morimoto.io>

_

Signed-off-by: Sora Morimoto <sora@morimoto.io>

Add all undeclared "safe" packages to `package.json`

Signed-off-by: Sora Morimoto <sora@morimoto.io>

Add all undeclared "unsafe" packages to `package.json`

Signed-off-by: Sora Morimoto <sora@morimoto.io>

helper-plugin: remove `fs-extra`

Signed-off-by: Sora Morimoto <sora@morimoto.io>

https://github.com/strapi/strapi/pull/15797

i18n-plugin: move redux from devDependencies to dependencies

Signed-off-by: Sora Morimoto <sora@morimoto.io>

database: sqlite3 was a false-detected dependency

Signed-off-by: Sora Morimoto <sora@morimoto.io>

generators: revert changes

Signed-off-by: Sora Morimoto <sora@morimoto.io>

Regenerate yarn.lock

Signed-off-by: Sora Morimoto <sora@morimoto.io>

chore: update react-intl

chore: fix post rebase

chore: remove axios from packages that dont need it

chore: ensure projects install r rd rrd & s

Revert "chore: ensure projects install r rd rrd & s"

This reverts commit 2e87a1d0fcaf21e187ce558f4690d41ff854d58d.

Revert "Revert "chore: ensure projects install r rd rrd & s""

This reverts commit b53a3d49987b00abb393966738d2a34f59c9dc71.

chore: Add all undeclared packages to package.json
2023-03-02 10:12:14 +00:00
Josh
09ff54bc6e chore: convert Stack components to Flex
chore: update snapshots

chore: convert rest of files to use Flex

chore: fix duplicate import

chore: update snapshots

chore: add eslint rule for stack

refactor: catch other Stack component uses

chore: remove horizontal prop
2023-03-02 10:02:40 +00:00
Alexandre Bodin
435362adab Merge branch 'releases/4.7.1-hotfix' 2023-03-02 10:25:29 +01:00
Alexandre Bodin
0307fb4bf7 v4.7.1 2023-03-02 10:24:10 +01:00
Jamie Howard
17210958d8
Merge pull request #15916 from manfwh/main 2023-03-01 12:13:15 +00:00
Convly
948dbb3121 v4.7.0 2023-02-27 20:33:14 +01:00
fuwanhong
73b225f3c7 chore: update zh-Hans translation 2023-02-25 17:07:29 +08:00
fuwanhong
0aa5e6140a chore: update zh-Hans translation 2023-02-25 13:01:47 +08:00
Convly
bae505f44c v4.6.2 2023-02-22 19:06:25 +01:00
Josh
cf179e35d3
Merge pull request #15831 from strapi/fix/useConfig-returns-null 2023-02-21 09:05:46 +00:00
Gustav Hansen
b335cc8814 EditAssetDialog: Only send the folderId when saving the cropped asset 2023-02-16 14:59:42 +01:00
Josh
9e9547a64e fix: always return an object if data is falsey
test: add test for falsey value
2023-02-15 17:48:51 +00:00
Josh
6b17f8ad12 chore: convert all files to single imports of the DS & icons
chore: remove eslint rule

chore: update snapshots

chore: update snapshots

chore: add eslint rule to stop direct imports apart from v2
2023-02-15 17:23:59 +00:00
Gustav Hansen
958268fe6d
Merge pull request #15813 from strapi/dependabot/npm_and_yarn/react-intl-6.2.8
chore(deps): bump react-intl from 6.2.7 to 6.2.8
2023-02-15 09:03:09 +01:00
dependabot[bot]
fb2094cfb6
chore(deps): bump react-intl from 6.2.7 to 6.2.8
Bumps [react-intl](https://github.com/formatjs/formatjs) from 6.2.7 to 6.2.8.
- [Release notes](https://github.com/formatjs/formatjs/releases)
- [Commits](https://github.com/formatjs/formatjs/compare/react-intl@6.2.7...react-intl@6.2.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-14 10:24:27 +00:00
dependabot[bot]
f9dd84ce69
chore(deps-dev): bump msw from 1.0.0 to 1.0.1
Bumps [msw](https://github.com/mswjs/msw) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/mswjs/msw/releases)
- [Changelog](https://github.com/mswjs/msw/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mswjs/msw/compare/v1.0.0...v1.0.1)

---
updated-dependencies:
- dependency-name: msw
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-14 10:01:28 +00:00
Josh
ea31438cc5 fix: provide a default func to validateAssetTypes prop in UploadAssetDialog 2023-02-10 13:28:40 +00:00
Mohamed
04afe667b6 Prevent uploading files that have unallowed file type 2023-02-10 13:19:41 +00:00
Gustav Hansen
8ef88457b3
Merge branch 'main' into fix/api-errors-fe 2023-02-10 12:59:37 +01:00
gitstart
dbd718e10c chore: resolves bug resulting form folder update
Co-authored-by: raph941 <raph941@gmail.com>
Co-authored-by: oxenprogrammer <emmy1000okello@gmail.com>
Co-authored-by: gitstart_bot <gitstart_bot@users.noreply.github.com>
2023-02-10 05:56:18 +00:00
Gustav Hansen
d1abc78224
Merge pull request #15760 from strapi/chore/update-msw
Chore: Update msw to 1.0.0
2023-02-09 17:49:01 +01:00
Gustav Hansen
0aaaa28d13 Chore: Update redux and react-redux 2023-02-09 14:51:02 +01:00
Gustav Hansen
83a16e64cc Chore: Update msw to 1.0.0 2023-02-09 14:14:19 +01:00
Convly
17a7845e3d v4.6.1 2023-02-08 17:00:11 +01:00
nathan-pichon
548ad3e931
fix(file-utils): rewrite requires 2023-02-08 16:02:42 +01:00
nathan-pichon
57009a0f30
fix(file-utils): rewrite requires 2023-02-08 15:57:14 +01:00
nathan-pichon
5316123801
fix(upload-local-provider): use package require instead of absolute path 2023-02-08 15:33:49 +01:00
markkaylor
b4c67d427e
Merge pull request #15706 from strapi/chore/bump-ds-dep
Bump design system from 1.6.1 to 1.6.3
2023-02-07 11:14:05 +01:00
DMehaffy
bd2d0d1a12
Merge branch 'main' into fix-sharp-version 2023-02-06 14:00:43 -07:00
Boegie19
a1a09fc588 fix sharp version for macOS < 11 2023-02-06 21:53:08 +01:00
Mark Kaylor
f97c352fa0 Update snapshots 2023-02-06 18:24:10 +01:00
Mark Kaylor
4bc7afc769 Update snapshots 2023-02-03 14:48:38 +01:00
Nathan Pichon
fa8a108af9
Merge branch 'main' into fix/issue-9308-File_upload_related_fields_returning_null 2023-02-02 16:16:48 +01:00
Marc
b697228833
Merge pull request #15669 from strapi/fix/support-avif-format 2023-02-02 14:35:19 +01:00
Marc-Roig
3adab4b39c remove heif from formats to process and optimize 2023-02-01 19:08:39 +01:00
Marc-Roig
e1e8f40619 add avif & heif to to formats to process and optimize list 2023-02-01 17:21:02 +01:00
Marc-Roig
e0e2d28f02 Merge branch 'main' into feature/provider-size-limit 2023-02-01 15:56:39 +01:00
Simone
21f8e427d3
Merge pull request #15599 from strapi/enhancement/axios-migration-upload
replace axiosInstance with getFetchClient inside the upload
2023-01-31 15:12:44 +01:00
dependabot[bot]
acf7129596
chore(deps): bump immer from 9.0.15 to 9.0.19
Bumps [immer](https://github.com/immerjs/immer) from 9.0.15 to 9.0.19.
- [Release notes](https://github.com/immerjs/immer/releases)
- [Commits](https://github.com/immerjs/immer/compare/v9.0.15...v9.0.19)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-31 09:04:01 +00:00