1917 Commits

Author SHA1 Message Date
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
smoothdvd
37a855e45e
Update zh-Hans translation to match latest en.json 2023-03-15 11:30:43 +08:00
Arthur Brière
25f8acde92
Merge branch 'main' into feature/add-ast-locale 2023-03-14 11:42:39 +01:00
Arthur Brière
b6f720a9dc tests: update snapshots 2023-03-14 11:38:16 +01:00
Arthur Brière
114b16f9d5 feature(i18n): add Asturian locale 2023-03-08 14:44:19 +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
Ben Irvin
e47e7d0bc2
Merge branch 'main' into fix/graphql-findone-require-id 2023-03-06 09:53:51 +01:00
dependabot[bot]
64e484f494
chore(deps): bump glob from 7.2.0 to 7.2.3
Bumps [glob](https://github.com/isaacs/node-glob) from 7.2.0 to 7.2.3.
- [Release notes](https://github.com/isaacs/node-glob/releases)
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/node-glob/compare/v7.2.0...v7.2.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-03 10:11:25 +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
3c378b9c5b
Merge pull request #15967 from strapi/chore/remove-stack-from-repo 2023-03-02 10:10:57 +00:00
Alexandre BODIN
f50ecb1443
Merge pull request #15868 from strapi/dependabot/npm_and_yarn/reselect-4.1.7 2023-03-02 11:08:19 +01: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
0307fb4bf7 v4.7.1 2023-03-02 10:24:10 +01:00
Convly
948dbb3121 v4.7.0 2023-02-27 20:33:14 +01:00
Paul
42e8cef3ba Translation updates
Deleting plugin name and description strings

Make translation more accurate

Update and improve russian

Added missing strings

More accurate style

Added plugin name

Correction of JSON style

Delete empty file

Added plugin name

Delete empty file

Added plugin name

Delete empty file

Added plugin name

Delete empty file

Added Russian

Delete empty file

Delete empty file

Added plugin name

Delete empty file

Delete empty file

Added plugin name

Delete empty file

Delete empty file

Added plugin name

Added plugin name

Added plugin name

Added plugin name

Delete empty file

Delete empty file

Delete empty file

Added plugin name

Added plugin name

Added plugin name

Added plugin name

Added plugin name

Added plugin name

Delete empty file

Added plugin name

Added plugin name

Added plugin name

Added plugin name

Added plugin name

Added plugin name

Added plugin name

Added plugin name

Added Russian

Added plugin name

Correction of terminology

JWT is acronym.

Correction of terminology

JWT is acronym.

Correction of terminology

Correction of terminology

JWT is acronym.
Swagger UI  — the correct version.

Correction of terminology

Correction of terminology

JWT is acronym.
Swagger UI  — the correct version.

Correction of terminology

JWT is acronym.

Correction of terminology

Correction of terminology

Correction of terminology

JWT is acronym.
Swagger UI  — the correct version.

Correction of terminology

Correction of terminology

Correction of terminology

JWT is acronym.
Swagger UI  — the correct version.

Correction of terminology

JWT is acronym.

Correction of terminology

JWT is acronym.

Correction of terminology

JWT is acronym.
Swagger UI  — the correct version.

Correction of terminology

JWT is acronym.

Correction of terminology

JWT is acronym.

Correction of terminology

JWT is acronym.

Correction of terminology

Correction of terminology

Correction of terminology

JWT is acronym.

Updated Russian
2023-02-27 08:33:40 +00:00
Convly
bae505f44c v4.6.2 2023-02-22 19:06:25 +01:00
Marc-Roig
1ee884586a replace for each for map async 2023-02-22 15:01:10 +01:00
Ben Irvin
8047092979 make id arg required in singular content type graphql request 2023-02-22 10:52:45 +01:00
dependabot[bot]
f086746a60
chore(deps): bump reselect from 4.1.6 to 4.1.7
Bumps [reselect](https://github.com/reduxjs/reselect) from 4.1.6 to 4.1.7.
- [Release notes](https://github.com/reduxjs/reselect/releases)
- [Changelog](https://github.com/reduxjs/reselect/blob/master/CHANGELOG.md)
- [Commits](https://github.com/reduxjs/reselect/compare/v4.1.6...v4.1.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-21 10:01:42 +00:00
Gustav Hansen
614b7e248c Run prettier 2023-02-20 11:46:18 +01: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
Julie Plantey
e2a77803d7 added en-KW & fr-MU support to i18n 2023-02-15 10:54:42 +01: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
Simone
bcd69aaaeb
Merge branch 'main' into enhancement/axios-migration-i18n 2023-02-13 14:29:00 +01:00
Pierre Noël
4fe8f2f8b3
Merge pull request #15742 from strapi/fix/default-locale-createMany
Set default locale when using Query Engine function createMany
2023-02-13 12:38:41 +01:00
Simone
b01ceb06d7
Merge branch 'main' into enhancement/axios-migration-i18n 2023-02-13 11:38:44 +01:00
Marc
9248812218
Merge branch 'main' into fix/pagination-in-relations-graphql 2023-02-13 10:32:37 +01:00
Marc
9818b82377
Merge pull request #15693 from strapi/fix/publication-state-in-relations-graphql
[Fix]: Graphql accept publication state argument in relations
2023-02-13 10:26:39 +01:00
Marc-Roig
3970de06f1 remove unnecessary code 2023-02-11 22:01:10 +01:00
Marc-Roig
c41e5175e0 test for dp relations in graphl api 2023-02-11 21:59:58 +01:00
Simone
3c60225b9f
Merge branch 'main' into enhancement/axios-migration-i18n 2023-02-10 15:36:39 +01:00
Pierre Noël
99c170e6bf Add tests + rename + refactor 2023-02-10 11:10:13 +01:00
Gustav Hansen
b5075e03bd
Merge pull request #15765 from strapi/chore/request-rm-rf
Remove `request` dependency
2023-02-10 10:21:30 +01:00
Josh
b69e10f968
Merge pull request #15441 from strapi/chore/helper-plugin-webpack 2023-02-10 08:04:50 +00:00
Gustav Hansen
1d99c3f217 Chore: Remove request dependency 2023-02-10 09:04:32 +01: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
Josh
bddd9e604c chore: update snapshots 2023-02-09 16:48:09 +00: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
Pierre Noël
b07ae9750d add todo V5 comment 2023-02-08 11:12:44 +01:00
Pierre Noël
3c79572705 Set default locale when using Query Engine function createMany 2023-02-08 11:04:06 +01:00
Marc
5645d2ad0a
Merge pull request #15643 from strapi/fix/performance-degradation-in-deeply-nested-coimpos 2023-02-08 11:02:50 +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
Simone
862e5e8d8b
Merge branch 'main' into enhancement/axios-migration-i18n 2023-02-07 10:55:49 +01:00