629 Commits

Author SHA1 Message Date
Convly
d9277d616b v4.10.5 2023-05-11 18:28:54 +02:00
Mark Kaylor
ca5fb0fcfa Merge branch 'main' of github.com:strapi/strapi into feature/bulk-publish 2023-05-11 15:04:10 +02:00
Convly
3f55bac2e7 v4.10.4 2023-05-10 14:46:30 +02:00
Ben Irvin
c9f6a66dfb set minimum node to 16 2023-05-09 18:40:30 +02:00
Ben Irvin
87c8aea2c2 resolve merge conflicts with main 2023-05-09 18:31:42 +02:00
Mark Kaylor
5ddfd14236 Publish/unpublish a mix of draft and published states 2023-05-09 09:54:53 +02:00
Mark Kaylor
4ddac20ac9 Test publish/unpublish events are emitted 2023-05-05 17:25:38 +02:00
Mark Kaylor
3e4b3e46e3 Fix incorrect policies 2023-05-04 10:38:35 +02:00
Mark Kaylor
f2e769cd69 Refactor to check permissions on entities before passing to updateMany 2023-05-04 10:38:09 +02:00
Convly
a02b19866a v4.10.2 2023-05-03 15:04:25 +02:00
Mark Kaylor
119b88a1b1 Add bulk publish and unpublish 2023-05-03 12:17:26 +02:00
Ben Irvin
09d6856616 fix version typo 2023-04-28 18:07:14 +02:00
Ben Irvin
1a99a47e23 warn instead of blocking node 14 2023-04-28 17:13:15 +02:00
Alexandre BODIN
dceea7201b
Force manual build to run lint to avoid unnecessary rebuilds (#16532) 2023-04-28 15:20:20 +02:00
Convly
db90d338a5 tmp 2023-04-28 15:11:42 +02:00
Ben Irvin
186d4dab57 change supported versions to node 16, 18, and 20 2023-04-28 11:18:55 +02:00
Rémi de Juvigny
27ee844d08 Remove log from tests 2023-04-27 09:54:56 +02:00
Alexandre Bodin
23b531cef5 v4.10.1 2023-04-26 15:45:41 +02:00
Alexandre Bodin
9b5519778f v4.10.0 2023-04-26 14:32:28 +02:00
Rémi de Juvigny
8ae384894e Use ApplicationError for validation 2023-04-21 10:24:22 +02:00
Rémi de Juvigny
70e60071e4 Improve and test setCustomFieldInputSizes 2023-04-21 10:19:30 +02:00
Rémi de Juvigny
0f3014a136
Merge branch 'main' into feature/custom-field-sizes 2023-04-20 12:50:11 +02:00
Rémi de Juvigny
cb3588782c Use custom field input size in admin 2023-04-20 12:24:55 +02:00
Rémi de Juvigny
5942cce591 Update getDefaultFieldSize 2023-04-19 17:57:32 +02:00
Rémi de Juvigny
d48dd1c413 Register custom field field sizes 2023-04-19 16:53:28 +02:00
Convly
91e0be2708 v4.9.2 2023-04-19 14:54:40 +02:00
Rémi de Juvigny
30bacd6626 Add tests to field sizes service 2023-04-17 17:29:13 +02:00
Rémi de Juvigny
d06af0d8fc Rename to isResizable 2023-04-17 12:02:08 +02:00
Rémi de Juvigny
96ba7cc431 getFieldSize error handling 2023-04-17 10:30:12 +02:00
Rémi de Juvigny
8bb88415c7 Rename full size object 2023-04-17 10:27:19 +02:00
Rémi de Juvigny
6729cd1a1a Compare field size to max row 2023-04-14 15:26:40 +02:00
Rémi de Juvigny
5dfd110a86
Merge branch 'main' into chore/cm-field-sizes 2023-04-13 20:04:35 +02:00
Rémi de Juvigny
f57ddb4cef Merge /content-types and /components into /init route 2023-04-13 19:35:15 +02:00
Rémi de Juvigny
ce467fdf4e Add all types to fieldSize service 2023-04-13 18:53:30 +02:00
Rémi de Juvigny
660349845d Add content-manager/init endpoint 2023-04-13 11:52:40 +02:00
Convly
c8f2f0543b v4.9.1 2023-04-12 16:24:32 +02:00
Alexandre BODIN
de4a0e3e31
Use yarn run -T to run command installed at the root of the monorepo (#16278) 2023-04-05 14:33:37 +02:00
Alexandre BODIN
feced1d72b
Move api tests to root of repo with same structure (#16242) 2023-04-05 10:32:20 +02:00
Convly
ffe3f4621c v4.9.0 2023-03-29 14:33:56 +02:00
Marc-Roig
f8677df6ca Merge branch 'main' into feature/private-s3-bucket 2023-03-23 09:30:04 +01:00
Alexandre BODIN
aaeb988a0b
Expand nx usage and migrate logger to ts (#15957) 2023-03-22 11:21:33 +01:00
Marc-Roig
456bdcba33 Merge branch 'main' into feature/private-s3-bucket 2023-03-21 14:59:26 +01:00
Convly
cc73bed97b v4.8.2 2023-03-16 17:49:52 +01:00
Alexandre Bodin
b3cb13cb14 v4.8.1 2023-03-15 22:25:40 +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
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
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
Marc-Roig
4ef8732caf Merge branch 'main' into feature/private-s3-bucket 2023-03-08 10:56:03 +01:00