29765 Commits

Author SHA1 Message Date
Simone Taeggi
2d62973dcb refactor if condition 2023-03-16 14:32:31 +01:00
Gustav Hansen
02a1f8833f
Merge pull request #16094 from strapi/feature/review-workflow-list-view-fe
CM: Render review workflow stage in the CM list-view
2023-03-16 14:32:14 +01:00
Convly
ae5481026b Fix broken populate traversal with no fragment 2023-03-16 14:30:07 +01:00
Bassel
dd21e171f1 update yarn lock 2023-03-16 15:24:14 +02:00
Gustav Hansen
a9d1afd76d
Merge pull request #16090 from strapi/enhance/use-api-error-handler-axios-error
useAPIErrorHandler: Handle AxiosError
2023-03-16 14:05:19 +01:00
Gustav Hansen
caa30d8fe6 Chore: Improve test readability 2023-03-16 14:00:47 +01:00
Gustav Hansen
fd323569de
CM: Update font-weight of review workflow stage badge in the list-view
Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
2023-03-16 13:55:08 +01:00
Jamie Howard
1ae35507fe chore(ee): revert review-workflows bootstrap stage 2023-03-16 12:02:07 +00:00
Bassel
73d4183253 remove subscriptions-transport-ws package from graphql plugin 2023-03-16 13:52:17 +02:00
Christian
90df253ba9
Merge pull request #16025 from strapi/data-transfer/pull 2023-03-16 12:15:13 +01:00
Christian Capeans
d79c0490f9 Fix sorting problem in tests 2023-03-16 11:06:25 +01:00
Gustav Hansen
87b3fdfb33 DynamicTable: Extend publication-state tests 2023-03-16 10:54:17 +01:00
Gustav Hansen
27753fc03b CM: Move PublicationState and ReviewWorkflowsStage into cell content 2023-03-16 10:17:57 +01:00
Christian Capeans
a5ed276bd5 Remove console.log 2023-03-16 09:54:42 +01:00
Marc-Roig
4f785dde6a remove docs
this was introduced in another separate pr
2023-03-16 09:39:22 +01:00
Josh
5ed00150f5
Merge pull request #16015 from strapi/dependabot/npm_and_yarn/axios-1.3.4 2023-03-16 08:07:18 +00:00
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 v4.8.1 2023-03-15 22:25:40 +01:00
Alexandre BODIN
8775dcd6bc
Merge pull request #16096 from strapi/hotfix/4.8.0 2023-03-15 22:22:13 +01:00
Alexandre Bodin
9295b52bb7 Fix api tests 2023-03-15 20:55:25 +01:00
Alexandre Bodin
8819379e30 Revert other issue 2023-03-15 19:41:35 +01:00
Alexandre Bodin
18fbe664d7 Fix tests 2023-03-15 19:08:49 +01:00
Alexandre Bodin
eca2c57a71 Fix invalid action mapping using unknow action 2023-03-15 18:37:42 +01:00
Marc-Roig
30e96317ce add telemetry documentation 2023-03-15 18:29:56 +01:00
Jamie Howard
7e4cea8a24 refactor(ee): use strapi core store to persist DB tables
refactor(database)
2023-03-15 17:24:25 +00:00
Christian Capeans
ae6f2f726a Update snapshot 2023-03-15 18:00:40 +01:00
Christian Capeans
e1b78e05c4 Add small fix and adapt tests 2023-03-15 17:32:25 +01:00
Simone Taeggi
5087aa82af use useAPIErrorHandler to handle Axios errors in the useRegenerate 2023-03-15 17:01:30 +01:00
Gustav Hansen
53b07d527d CM: Remove lodash.get from list-view 2023-03-15 16:40:39 +01:00
Gustav Hansen
0da09fc165 CM: Render review workflow stage in the CM list-view 2023-03-15 16:38:19 +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 v4.8.0 2023-03-15 16:29:42 +01:00
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
Josh
2788e4e0e0
Merge pull request #16061 from strapi/fix/relation-preperation 2023-03-15 10:19:48 +00:00
Christian Capeans
41a5c79994 Add missing snapshot 2023-03-15 10:26:42 +01:00
Gustav Hansen
995533e028
Merge pull request #16076 from smoothdvd/patch-3
Update zh-Hans translation to match latest en.json
2023-03-15 10:19:18 +01:00
Gustav Hansen
184141adcc
Merge pull request #16079 from strapi/dependabot/npm_and_yarn/docs/sideway/formula-3.0.1
chore(deps): bump @sideway/formula from 3.0.0 to 3.0.1 in /docs
2023-03-15 10:18:59 +01:00