239 Commits

Author SHA1 Message Date
Alexandre Bodin
bba4c4c85a Fix eslint in test utils 2022-09-05 15:05:26 +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
Convly
ba91f47f04 Merge branch 'master' into releases/4.3.0 2022-07-27 12:55:48 +02:00
Convly
0b8c7b59c6 Merge branch 'master' into features/typescript 2022-07-25 09:30:18 +02:00
Simone Taeggi
82e8036d0e force the node LANG to us to run the unit tests 2022-07-21 18:54:07 +02:00
Pierre Noël
2e926e63ca revert strapi.start to load and listen 2022-07-12 17:57:01 +02:00
Pierre Noël
5706191547 fix unit tests open handles 2022-07-12 17:57:01 +02:00
Pierre Noël
d48d91ee1c fix open handles 2022-07-12 17:57:00 +02:00
Convly
4fa2804f35 Merge branch 'master' into features/typescript 2022-04-15 15:47:16 +02:00
Pierre Noël
5f993a0857 add JWT_SECRET env var to fix e2e tests 2022-04-07 16:50:20 +02:00
Convly
fb720da187 Fix directories resolve 2022-04-04 12:02:21 +02:00
Alexandre Bodin
4b965665d4 Test each sqlite pkg 2022-03-25 09:02:19 +01:00
Pierre Noël
83d321a981 better handle env variables in e2e tests 2022-01-24 17:01:51 +01:00
Pierre Noël
597df20411 fix appendFile 2022-01-20 18:48:57 +01:00
Pierre Noël
1dc74b0792 add session middleware to new project config + fix test app not using .env 2022-01-19 17:13:00 +01:00
fdel-car
3864399eb8 Merge branch 'master' into chore/test-config 2021-11-30 12:36:11 +01:00
Pierre Noël
c6a5a047d6 Merge branch 'releases/v4' into v4/error-handling 2021-11-05 10:40:11 +01:00
Pierre Noël
db1cb3040c refactor error-handling PR 2021-11-05 10:13:43 +01:00
Jean-Sébastien Herbaux
7f285fb755
[V4] Enhanced sanitize & remove restricted relations from content API's payloads (#11411)
* Rework sanitizeEntity, first iteration

* remove console.log

* Remove useless comments

* Fix e2e tests

* Fix up user e2e test

* Fix remove-restricted-relations visitor

* Handle grapqhql resolver, prevent access to restricted relations

* Handle polymorphic relation in the related visitor

* Remove morph attribute if empty

* Use only the find action to check if the relation is allowed
2021-11-04 15:47:53 +01:00
Pierre Noël
a58d15407a fix unit:test 2021-11-04 11:42:09 +01:00
soupette
d3bd5d5294 Fix jest config
Signed-off-by: soupette <cyril@strapi.io>
2021-10-27 08:26:57 +02:00
Pierre Noël
6fd9f780c7 Merge branch 'v4/ctb' into v4/plural-name-in-CTB 2021-10-22 12:33:48 +02:00
Marvin Frachet
74ee11f764 Testing upload asset dialog (#11285) 2021-10-19 11:30:52 +02:00
Marvin Frachet
4b311e777c Add Delete an asset call to the ML (#11186) 2021-10-19 11:26:35 +02:00
Alexandre Bodin
fb54e36051 Fix unit tests 2021-10-07 13:13:30 +02:00
fdel-car
c505d0c4b8 Move /config/front/mocks files inside admin-test-utils 2021-10-04 15:29:58 +02:00
fdel-car
0980031778 Add watch and ce tests commands & update base front config 2021-10-04 11:54:39 +02:00
Alexandre Bodin
f55276cc73 Merge branch 'releases/v4' into v4/ds-migration 2021-09-28 18:21:21 +02:00
Alexandre Bodin
dd9543147c Fix different version break frontend tests 2021-09-28 10:34:14 +02:00
Convly
c7a0747f96 Merge branch 'releases/v4' into v4/graphql-schema-generation-refactor 2021-09-27 19:10:05 +02:00
Pierre Noël
69cc0554fe fix e2e tests 2021-09-27 17:56:05 +02:00
Convly
20b20a0f92 Fix e2e test for UP, i18n & upload + various i18n fixes 2021-09-27 17:17:24 +02:00
soupette
be072348e2 Merge branch 'releases/v4' of github.com:strapi/strapi into v4/ds-migration 2021-09-22 12:25:29 +02:00
soupette
715a1af676 Fix conflicts
Signed-off-by: soupette <cyril@strapi.io>
2021-09-16 09:23:18 +02:00
Pierre Noël
64940edbae CTB handles singular and plural names 2021-09-14 15:30:37 +02:00
Alexandre Bodin
0f3f984ea7 Init migration v4
- Hooks registry
- D&P CT migrations
- i18N CT migrations
- Umzug with js / sql migrations
- Eslint updates
2021-09-13 12:03:12 +02:00
soupette
b281127db5 Display LV header
Signed-off-by: soupette <cyril@strapi.io>
2021-09-10 08:22:44 +02:00
Alexandre Bodin
ef12731bd3 Fix missing public access 2021-09-08 18:47:22 +02:00
Alexandre Bodin
4befaea442 Register test auth before load 2021-09-08 18:23:52 +02:00
Alexandre Bodin
a14b16af51 Move admin auth to global auth system 2021-09-08 16:16:16 +02:00
Alexandre Bodin
566805c8ae Update test on /api 2021-09-07 21:29:34 +02:00
Alexandre Bodin
37bacdb691 Start fixing tests 2021-09-07 21:03:30 +02:00
Alexandre Bodin
ae8c970661 Make use of new server in router middleware before removing it 2021-09-07 15:11:04 +02:00
soupette
b7f521603e Fix conflicts
Signed-off-by: soupette <cyril@strapi.io>
2021-09-07 13:55:15 +02:00
soupette
f22d20e61b Fix conflicts
Signed-off-by: soupette <cyril@strapi.io>
2021-08-24 16:13:02 +02:00
Alexandre Bodin
575cbbdc7c Migrate plugin getters 2021-08-19 23:30:49 +02:00
Pierre Noël
63cc0832f2 Merge branch 'v4/backend' into pluginAPI/loadPlugin 2021-08-13 15:43:04 +02:00
Alexandre Bodin
c122056f2c Fix search test and entity manager count query 2021-08-11 11:12:58 +02:00
Pierre Noël
260e2055c4 Merge branch 'v4/backend' into pluginAPI/loadPlugin 2021-08-11 10:07:03 +02:00