4809 Commits

Author SHA1 Message Date
Josh
fd978f3f79 chore: update snapshots & tests for DS 1.6.6
chore: update tests
2023-03-16 19:44:54 +00:00
Josh
2f6ced23e3 chore: update packages 2023-03-16 19:24:44 +00:00
Convly
cc73bed97b v4.8.2 2023-03-16 17:49:52 +01:00
Marc-Roig
28ebe15abe add published at attribute to be filterable and sortable 2023-03-16 17:18:29 +01:00
Convly
366eb8a0d0 Merge branch 'main' into features/data-transfer 2023-03-16 16:47:11 +01:00
Simone Taeggi
90925d5bd3 use formatAPIError instead generic error 2023-03-16 14:51:42 +01:00
Simone Taeggi
2d62973dcb refactor if condition 2023-03-16 14:32:31 +01:00
Jamie Howard
1ae35507fe chore(ee): revert review-workflows bootstrap stage 2023-03-16 12:02:07 +00:00
Christian Capeans
d79c0490f9 Fix sorting problem in tests 2023-03-16 11:06:25 +01:00
Christian Capeans
a5ed276bd5 Remove console.log 2023-03-16 09:54:42 +01: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 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
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
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
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
Simone Taeggi
73b185abde refactor the code to use useAPIErrorHandler instead of the lodash get method 2023-03-15 14:30:38 +01: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
Alexandre Bodin
c4a48a15d7 Change chunk name 2023-03-14 12:00:13 +01:00
Christian Capeans
c44df82be3 Fix small issues 2023-03-14 09:11:44 +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
Simone Taeggi
c05e1fae0f add notification error when the token salt is missing 2023-03-10 12:11:48 +01:00
Rémi de Juvigny
7c197ba0d1 Merge remote-tracking branch 'origin/main' into feature/audit-logs-config 2023-03-09 18:44:30 +01:00
Simone Taeggi
8008bb6dd5 show error when there is no salt token 2023-03-09 17:55:30 +01:00
Jamie Howard
32d019ecbe feature(ee): add db entries to persist ee feature tables 2023-03-09 16:50:51 +00:00
Simone Taeggi
faa5820548 change ctx.badRequest to ctx.notImplemented 2023-03-09 17:36:19 +01:00
Simone Taeggi
26d9f6c8e0 add a specific error on the BE when the Token Salt token is missing
Co-authored-by: Christian <christiancp100@gmail.com>
2023-03-09 14:44:20 +01:00
Rémi de Juvigny
a53767f9b3 Add license updates tests 2023-03-09 14:39:43 +01:00
Christian Capeans
c4cd8b1e15 Add token type select to frontend 2023-03-09 11:18:57 +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
Christian Capeans
de6aa0baed Add authorization 2023-03-08 14:15:53 +01:00
Simone Taeggi
3a149fe26e Merge branch 'main' into data-transfer/limit-token-name-length 2023-03-08 12:22:46 +01:00
Christian Capeans
674b13eb23 Merge branch 'features/data-transfer' of https://github.com/strapi/strapi into data-transfer/pull 2023-03-08 11:31:15 +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