harimkims
5959788352
Refactor sanitizers module to be maintained easily
2022-05-07 17:04:12 +09:00
chisus
0b60be2aca
Add sanitizers registry to container
...
- Remove users-permissions sanitization step in core
- Move sanitization functions to users-permissions plugin utils
- Add sanitizers registry to container for manage sanitizer functions in core so that we can get/add sanitizers anywhere we want
2022-04-21 00:29:35 +09:00
Kim, Harim
e0191544e5
Merge branch 'strapi:master' into fix/populate-user
2022-04-20 21:50:33 +09:00
Gustav Hansen
8aaaff77d4
Chore: Prettify all files
2022-03-29 14:20:41 +02:00
WalkingPizza
41ec9596ed
Automatically convert plugin name to kebab-case
2022-03-28 11:17:49 +02:00
Pierre Noël
fdc60b86ce
replace urlJoin by joinBy
2022-03-15 11:51:43 +01:00
Gustav Hansen
2c8eb45683
Merge pull request #12725 from luanorlandi/fix/sanitize-date-query-param
...
Fix sanitization of datetime type in query param
2022-03-11 11:52:23 +01:00
Alexandre Bodin
6a9db23311
Fix sanitize media
2022-03-08 17:45:31 +01:00
Luan
506cf9e15b
refactor: apply review suggestion of generic parsing
2022-03-04 18:57:14 -03:00
Pierre Noël
c0fb7619ef
rename toGraphQLName + check enum values don't start with a number
2022-03-03 16:35:41 +01:00
Pierre Noël
e85cfe73f0
allow special characters in an enum
2022-03-03 16:35:41 +01:00
harimkims
4a71a9c93c
Add new sanitizer to remove user relation from role entities
2022-03-03 22:45:55 +09:00
Luan
81cbf3b690
fix: sanitization of date type in query param
2022-03-02 23:33:22 -03:00
Convly
f765a4b8fb
Pass down the schema when convert/sanitize the filters
2022-02-28 09:53:17 +01:00
Convly
f9305e4ae5
Fix typo for attribute getter
2022-02-25 15:32:11 +01:00
Convly
63f9e6a821
Add consistency for the fake schema geenration (when populating dynamic zones)
2022-02-22 15:52:55 +01:00
Convly
94dc1de744
Handle dynamic zones & medias
2022-02-22 15:34:27 +01:00
Convly
751631e3d8
Style
2022-02-22 15:34:27 +01:00
Convly
51e1f762c1
Handle components & relations for populate & deep populate filtering
2022-02-22 15:34:26 +01:00
Convly
5fb855227a
Fix the populate filtering
2022-02-22 15:34:26 +01:00
Pierre Noël
af21bba606
handle object and array for and operator
2022-02-14 17:24:08 +01:00
Pierre Noël
62f7b1dc20
avoid breaking change by casting boolean value all the time
2022-02-11 18:07:05 +01:00
Pierre Noël
ef0cb82192
remove dead code
2022-02-10 18:38:47 +01:00
Pierre Noël
c2b8a4ee98
parse boolean in convertQueryParam instead of parsing in database
2022-02-10 13:12:16 +01:00
Alexandre BODIN
21bf31b5a3
Merge pull request #12183 from strapi/content-15/fix-non-localized-media-not-populated-in-new-locale
...
Add all non-localized fields (media, compo, dz) in /get-non-localized-fields response
2022-02-08 09:28:10 +01:00
Pierre Noël
909e29b9f9
remove scalar attributes from populate
2022-02-04 17:17:41 +01:00
Pierre Noël
d581c43349
add non-localized media in /get-non-localized-fields response
2022-02-04 17:17:41 +01:00
Convly
f183ea417b
Code performance
2022-01-26 15:45:51 +01:00
Convly
4c41889266
Merge branch 'master' of github.com:strapi/strapi into sanitize-filters
2022-01-24 15:43:51 +01:00
Convly
9fbe72d58a
Don't mutate the original filters object
2022-01-24 15:43:38 +01:00
Convly
3a732a1d01
Fix tests
2022-01-12 12:10:27 +01:00
Convly
2670d37ddc
Fix tests & handle scalars shortcuts
2022-01-10 12:35:08 +01:00
Convly
81fff98c31
Remove dynamic zone filters
2022-01-06 16:35:44 +01:00
Convly
3eafe1c6e1
Enhance filters sanitize
2022-01-06 16:19:27 +01:00
derrickmehaffy
4dbb64e8a2
change default policies error
...
Signed-off-by: Derrick Mehaffy <derrickmehaffy@gmail.com>
2022-01-03 06:25:18 -07:00
derrickmehaffy
9fd85b9bfd
Add PolicyError error type for use in policies
...
Signed-off-by: Derrick Mehaffy <derrickmehaffy@gmail.com>
2022-01-03 06:16:34 -07:00
Dieter Stinglhamber
664c18b17e
sanitize password from filters
2021-12-15 11:16:12 +01:00
vincentbpro
eab466bb65
Merge branch 'master' into v4/fix-fetch-all-entries
2021-12-02 16:04:49 +01:00
DMehaffy
7e874e00a0
Update all documentation links to new docs url ( #11424 )
...
Signed-off-by: Derrick Mehaffy <derrickmehaffy@gmail.com>
2021-11-29 18:13:52 +01:00
vincentbpro
a97c831cc0
tests: added tests for when maxLimit not configured(graphql)
2021-11-24 10:13:02 +01:00
vincentbpro
cc4ffd1f57
Merge branch 'releases/v4' into v4/fix-fetch-all-entries
2021-11-23 16:22:48 +01:00
Alexandre Bodin
3bc73a28c0
Add createdAt and updatedAt back into the CM layouts and metas
2021-11-15 19:26:56 +01:00
Convly
25e62db93a
use 'sanitizers' instead of 'utils'
2021-11-10 17:08:54 +01:00
vincentbpro
a154b73e9c
Merge branch 'releases/v4' of github.com:strapi/strapi into v4/fix-fetch-all-entries
2021-11-09 11:15:10 +01:00
vincentbpro
d6f8a6debc
test: added tests for pagination util
2021-11-09 11:09:55 +01:00
vincentbpro
f42485b839
fix: removed unlimied query support for pagedPagination (pageSize=-1)
2021-11-09 08:48:42 +01:00
vincentbpro
d5eb046285
fix: avoid sending -1 limit to db layer
2021-11-08 17:32:40 +01:00
vincentbpro
73e5b672fd
fix: negative limit without maxLimit (graphql)
2021-11-08 17:17:56 +01:00
Convly
16ab717fb2
Merge branch 'releases/v4' of github.com:strapi/strapi into v4/new-sanitize-fixes
2021-11-08 15:53:58 +01:00
Convly
8d4f8ddd57
Simplify & abstract common sanitize logic
2021-11-08 15:52:42 +01:00