9921 Commits

Author SHA1 Message Date
Gustav Hansen
17f773ebd3 useAPIErrorHandler: Improve type-safety of getPrefixedId() 2023-03-15 15:27:37 +01:00
Gustav Hansen
7f11c8bbdf useAPIErrorHandler: Stop testing react-intl internals 2023-03-15 15:26:59 +01:00
Simone Taeggi
a588936f0c Merge branch 'data-transfer/error-salt-token-missing' of github.com:strapi/strapi into data-transfer/error-salt-token-missing 2023-03-15 15:12:46 +01:00
Simone Taeggi
c7a92617a1 update unit test useRegenerate 2023-03-15 15:11:13 +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
a95c6a8c5e send telemetry about private providers 2023-03-15 14:37:31 +01:00
Simone Taeggi
73b185abde refactor the code to use useAPIErrorHandler instead of the lodash get method 2023-03-15 14:30:38 +01:00
Gustav Hansen
ca8ddb0ea2
Merge pull request #16085 from strapi/fix/ctb-text-button-icon-size-nav
ContentTypeBuilderNav: Fix plus icon size
2023-03-15 14:14:09 +01:00
Gustav Hansen
b53f260ecf useAPIErrorHandler: Handle AxiosError 2023-03-15 14:05:11 +01:00
Gustav Hansen
1a8c0e38f4 Chrore: Update snapshot tests 2023-03-15 12:45:26 +01:00
Marc-Roig
2f6afb9695 Merge branch 'main' into feature/private-s3-bucket 2023-03-15 12:42:31 +01:00
Gustav Hansen
eec289d0ce ContentTypeBuilderNav: Fix plus icon size 2023-03-15 12:09:40 +01:00
Jamie Howard
d3c6a7c927 feature(database): account for persisted tables in schema diffing 2023-03-15 11:02:44 +00:00
Christian Capeans
41a5c79994 Add missing snapshot 2023-03-15 10:26:42 +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
Convly
d8614487de Handle ws connexion status code & fix token validation 2023-03-14 12:43:15 +01:00
Bassel Kanso
8f2476c881
Merge pull request #16037 from strapi/fix/transfer-timeout-error
Error handling for timeout in transfer
2023-03-14 13:40:40 +02:00
Alexandre Bodin
c4a48a15d7 Change chunk name 2023-03-14 12:00:13 +01:00
Convly
d85c05d246 Update types for data-transfer handlers 2023-03-14 11:27:40 +01:00
Bassel Kanso
92893e749b
Update packages/core/data-transfer/src/strapi/providers/remote-destination/index.ts
Co-authored-by: Ben Irvin <ben@innerdvations.com>
2023-03-14 12:10:25 +02:00
Bassel
5927db55fe catch and handle error 2023-03-14 11:52:04 +02:00
Bassel Kanso
65afa72d30
Merge branch 'main' into fix/transfer-timeout-error 2023-03-14 11:44:46 +02:00
Christian
7ef6400e9d
Merge branch 'main' into add-env-oneof 2023-03-14 10:32:39 +01:00
Convly
75c34a56f7 Fix remote export 2023-03-14 10:24:24 +01:00
Jamie Howard
13c9b65544
Merge pull request #16021 from strapi/review-workflow/migration-on-disable 2023-03-14 09:23:26 +00:00
Convly
68d1864357 Update typing for the transfer flow interface 2023-03-14 10:22:49 +01:00
Convly
a167d9b3a2 Remove old controller code for data transfer 2023-03-14 10:22:03 +01:00
Convly
717796283e Remove push controller 2023-03-14 10:20:43 +01:00
Simone
e992189990
Merge branch 'features/data-transfer' into data-transfer/error-salt-token-missing 2023-03-14 09:29:21 +01:00
Christian Capeans
284cc7512f Merge branch 'data-transfer/pull' of https://github.com/strapi/strapi into data-transfer/pull 2023-03-14 09:13:08 +01:00
Christian Capeans
c44df82be3 Fix small issues 2023-03-14 09:11:44 +01:00
Ben Irvin
302ac81ba6
Merge branch 'features/data-transfer' into data-transfer/pull 2023-03-14 09:02:02 +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
Convly
5120ae454d Fix build 2023-03-13 17:06:57 +01:00
Gustav Hansen
5229384b9f
Merge pull request #16057 from strapi/feature/review-workflow-ctb-assign
CTB: Set default review-workflow value from admin API as input value
2023-03-13 16:21:21 +01:00
Jamie Howard
6a08636ee6 chore(ee): PR feedback 2023-03-13 15:10:25 +00:00
Marc-Roig
f370b4c597 return private attribute on media types 2023-03-13 15:45:21 +01:00
markkaylor
959cf6c2f5
Merge pull request #16033 from alvarolozano/genericinput-json-disabled 2023-03-13 14:24:22 +01:00
markkaylor
f78ba41c59
Merge pull request #15778 from strapi/fix/non-required-json-input 2023-03-13 14:23:08 +01:00
Ben Irvin
e90278c226
Merge pull request #16008 from strapi/data-transfer/pull-cli 2023-03-13 14:21:34 +01:00
Ben Irvin
71f01ab868
Merge pull request #15981 from strapi/enh/gracefully-abort-transfers-on-signal 2023-03-13 14:18:59 +01:00
Alexandre Bodin
4f462fb536 Remove unused assets 2023-03-13 14:17:34 +01:00
Ben Irvin
c14f8451ef fix exit message 2023-03-13 14:15:40 +01:00
Ben Irvin
411ed450e7 Merge branch 'features/data-transfer' into enh/gracefully-abort-transfers-on-signal 2023-03-13 14:15:07 +01:00
Gustav Hansen
30e33d09c3 CM Information: Add label, improve spacings 2023-03-13 13:48:03 +01:00
Gustav Hansen
46fb4c5f5a ReactSelect: Fix selected option text color 2023-03-13 13:47:41 +01:00
Gustav Hansen
da2f67cb08 CTB: Set default review-workflow value from admin API as input value 2023-03-13 13:19:40 +01:00
Alvaro Lozano
2a9979a817
Merge branch 'main' into genericinput-json-disabled 2023-03-13 11:02:55 +01:00