Convly
b25318b945
Merge branch 'main' into features/api-token-v2
2022-08-31 10:37:47 +02:00
Pierre Noël
b17d1001c8
refactor DZ populate for better clarity
2022-08-29 16:15:09 +02:00
Pierre Noël
6c4039e3f1
remove useless code
2022-08-29 15:22:47 +02:00
Pierre Noël
3327196cce
remove populate false only for the rest api, not in db layer
2022-08-26 21:01:50 +02:00
Pierre Noël
0ab458fe0d
Allow the use of true, t, false, f, 1, 0 in addition to * when populating a field
2022-08-26 21:01:50 +02:00
Bassel Kanso
baad6fd93f
Merge branch 'main' into features/api-token-v2
2022-08-18 12:18:09 +03:00
Alexandre Bodin
b4572b7fb5
Refactor some multi class files
2022-08-11 10:20:50 +02:00
Alexandre Bodin
cf49ddbbfc
Prettier and backend fix
2022-08-11 10:20:49 +02:00
Alexandre Bodin
0ae14c06cb
1st fix pass
2022-08-11 10:20:48 +02:00
Bassel Kanso
94b1ae4c70
Merge branch 'master' into features/api-token-v2
2022-08-04 14:11:28 +03:00
Jean-Sébastien Herbaux
ce6c3f911e
Merge pull request #13855 from strapi/fix/dz-populate-same-field-name
...
Better handle populating of dynamic-zones
2022-08-01 11:31:04 +02:00
Convly
3fa282be30
Merge branch 'master' into api-token-v2/engine-abstraction
2022-07-27 15:46:54 +02:00
Pierre Noël
952bca2dce
better handle populating dz
2022-07-26 17:13:59 +02:00
Ben Irvin
2b82678fd6
clean up tests
2022-07-26 09:32:14 +02:00
Ben Irvin
b890696445
clean up tests
2022-07-26 09:28:06 +02:00
Ben Irvin
a499411086
check times remove is called
2022-07-26 09:19:40 +02:00
Ben Irvin
cead6cce88
reset mock fn
2022-07-26 09:17:50 +02:00
Ben Irvin
d5712d7693
check call parameters
2022-07-22 15:40:12 +02:00
Ben Irvin
af4349a1a8
return after each relation type is handled
2022-07-22 15:32:25 +02:00
Convly
b776f0d194
Update provider factory typings
2022-07-21 10:43:19 +02:00
Convly
70e69c1aa0
Update hooks definitions
2022-07-21 10:42:30 +02:00
Ben Irvin
266e5a79aa
remove comment
2022-07-20 18:27:56 +02:00
Ben Irvin
56c720743a
add tests for removeRestrictedRelations
2022-07-20 12:01:25 +02:00
Ben Irvin
5b0ec53f09
check populateCreatorFields
2022-07-20 09:18:23 +02:00
Ben Irvin
e1222f7aef
fix comment
2022-07-19 17:58:40 +02:00
Ben Irvin
9abeb13fbc
allow creator relations
2022-07-19 10:30:55 +02:00
Pierre Noël
2a72a2fdd0
fix yup strapiID not working
2022-06-01 14:30:30 +02:00
Alexandre Bodin
b08b16d57a
Merge branch 'master' into feature/plugin-name-kebab
2022-05-19 23:18:05 +02:00
Changhao
8f2e2b3873
Removed duplicate codes
2022-05-18 10:02:30 -07:00
Changhao
f8c0cd7052
Addressed PR comments to check throw messages
2022-05-18 10:01:31 -07:00
Changhao
ef8ead4ddb
Added test case to check the thrown error message if input is incorrect date
2022-05-17 15:07:56 -07:00
Jean-Sébastien Herbaux
a727b1f2ba
Merge pull request #11960 from iicdii/fix/populate-user
...
Fix unable to populate User in Users-Permissions
2022-05-11 10:39:01 +02:00
Convly
d184161417
Fix hooks unit test
2022-05-10 06:06:28 +02:00
Alexandre Bodin
e7acb6c028
Getter cannot be spread and make execution invalid
2022-05-09 20:55:21 +02:00
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