407 Commits

Author SHA1 Message Date
Jamie Howard
96bfeca3db Merge remote-tracking branch 'origin/main' into webhooks/edit-view 2023-06-02 11:14:18 +01:00
Jamie Howard
ca1ed38fea
Merge pull request #16835 from strapi/feature/set-webhook-events 2023-06-02 11:00:25 +01:00
Jamie Howard
780f71ab9f Merge remote-tracking branch 'origin/main' into webhooks/edit-view 2023-06-01 17:04:03 +01:00
Nathan Pichon
28173dff9e
Merge branch 'main' into advisory-fix-1 2023-06-01 16:18:03 +02:00
Convly
da080df32b v4.10.7 2023-05-31 17:46:38 +02:00
nathan-pichon
c8995460ac
fix(content-types): remove getter for private attributes
+ Fixes a flaky test (transactions.test.api.js)
2023-05-31 11:45:26 +02:00
Jamie Howard
b919da9c26 Merge remote-tracking branch 'origin/main' into feature/set-webhook-events 2023-05-30 10:16:36 +01:00
Jamie Howard
506c495d91 feature: replace webhook validation with webhook store 2023-05-25 12:34:52 +01:00
Convly
7dbae9d05d v4.10.6 2023-05-24 16:54:28 +02:00
dependabot[bot]
04bd1d9eeb
chore(deps): bump date-fns from 2.29.3 to 2.30.0
Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.29.3 to 2.30.0.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/v2.30.0/CHANGELOG.md)
- [Commits](https://github.com/date-fns/date-fns/compare/v2.29.3...v2.30.0)

---
updated-dependencies:
- dependency-name: date-fns
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-14 23:04:03 +00:00
Convly
d9277d616b v4.10.5 2023-05-11 18:28:54 +02:00
Convly
3f55bac2e7 v4.10.4 2023-05-10 14:46:30 +02:00
Convly
a02b19866a v4.10.2 2023-05-03 15:04:25 +02:00
Alexandre BODIN
dceea7201b
Force manual build to run lint to avoid unnecessary rebuilds (#16532) 2023-04-28 15:20:20 +02:00
Alexandre Bodin
68604f9853 Merge branch 'main' of github.com:strapi/strapi into release/4.10.1 2023-04-26 15:50:41 +02:00
Alexandre Bodin
23b531cef5 v4.10.1 2023-04-26 15:45:41 +02:00
Alexandre Bodin
b36292e67b Merge branch 'releases/4.10.0' 2023-04-26 14:39:05 +02:00
Alexandre Bodin
9b5519778f v4.10.0 2023-04-26 14:32:28 +02:00
Alexandre BODIN
12d3068013
Migrate generators to ts (#16392) 2023-04-26 09:07:40 +02:00
Convly
95d581b31b Merge branch 'main' into feature/review-workflow 2023-04-19 15:02:34 +02:00
Convly
91e0be2708 v4.9.2 2023-04-19 14:54:40 +02:00
Marc-Roig
e845fc95a0 Merge branch 'main' into feature/review-workflow 2023-04-14 17:20:14 +02:00
Alexandre BODIN
28d82d3333
Migration of providers to ts (#16323) 2023-04-13 08:45:44 +02:00
Convly
c8f2f0543b v4.9.1 2023-04-12 16:24:32 +02:00
Jamie Howard
05cee5cbd7 Merge remote-tracking branch 'origin/main' into feature/review-workflow 2023-04-11 14:15:43 +01: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
Convly
ffe3f4621c v4.9.0 2023-03-29 14:33:56 +02:00
Alexandre BODIN
aaeb988a0b
Expand nx usage and migrate logger to ts (#15957) 2023-03-22 11:21:33 +01:00
Alexandre BODIN
942e646d28
Perf optimizations (#16117)
Co-authored-by: Marc-Roig <marc12info@gmail.com>
2023-03-21 18:37:21 +01:00
Gustav Hansen
95a8cd84bd Merge branch 'main' into feature/review-workflow 2023-03-21 17:45:49 +01:00
DMehaffy
b07fc41d84
Add Not implemented error class (#15938) 2023-03-21 14:42:45 +01:00
Jamie Howard
64a0f9eb50 Merge remote-tracking branch 'origin/main' into feature/review-workflow 2023-03-20 11:42:58 +00:00
Convly
3351b78b5b Prettier fix 2023-03-20 10:16:31 +01:00
Convly
fbb22891a8 Allow to sort by ID in the sort sanitize operations 2023-03-20 10:11:33 +01:00
Convly
cc73bed97b v4.8.2 2023-03-16 17:49:52 +01:00
Gustav Hansen
0a008881ef Merge branch 'main' into feature/review-workflow 2023-03-16 15:49:45 +01:00
Convly
ae5481026b Fix broken populate traversal with no fragment 2023-03-16 14:30:07 +01: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
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
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
Christian
de282d558e
Merge branch 'main' into add-env-oneof 2023-03-10 14:20:34 +01:00
Andrew Luca
73f6631a92 Add oneOf env helper for union values 2023-03-02 11:57:59 +02:00
Alexandre Bodin
0307fb4bf7 v4.7.1 2023-03-02 10:24:10 +01:00
Marc
8ac67d6b8b
Update packages/core/utils/lib/content-types.js
Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
2023-03-02 09:17:44 +01:00
Marc-Roig
571ed83628 use optional chaining on isPrivateAttribute 2023-02-28 16:38:33 +01:00
Convly
948dbb3121 v4.7.0 2023-02-27 20:33:14 +01:00
Convly
bae505f44c v4.6.2 2023-02-22 19:06:25 +01:00
nathan-pichon
39fdfd3d40
feat(review-workflows): add options in content type builder 2023-02-20 18:58:09 +01:00