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
9e75d59e15
Fix some E2E tests
2021-08-11 10:05:20 +02:00
Alexandre Bodin
5b5434c001
Fix CI and some tests
2021-08-06 18:46:30 +02:00
Alexandre Bodin
189c819a1e
Drop foreign keys before dropping tables
2021-08-06 11:19:17 +02:00
Alexandre Bodin
89fee54582
Merge branch 'v4/backend' into v4/database
2021-07-30 09:50:40 +02:00
Alexandre Bodin
81dd94c6ec
Refactor all query() calls
2021-07-08 18:15:32 +02:00
Alexandre Bodin
09f7269b4a
Implement compos in the entity service
2021-07-06 14:18:03 +02:00
Alexandre Bodin
e973804399
Filters working
2021-07-05 18:35:16 +02:00
Alexandre Bodin
3711ca3072
wip
2021-07-02 02:26:14 +02:00
Alexandre Bodin
2d59716f5d
Cleanup CTB
2021-06-30 22:52:12 +02:00
Alexandre Bodin
b4ecb48c44
Remove mongoose connector
2021-06-29 16:27:35 +02:00
Alexandre Bodin
5e46f2999e
Remove connection
2021-06-24 09:09:29 +02:00
soupette
c1cb6d1d0d
Fix lint
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-06-23 20:18:13 +02:00
Alexandre Bodin
ab3760bb66
Rename import & requires, fix tests
2021-04-29 13:51:12 +02:00
Alexandre Bodin
e45f6df0b9
Move plugins & cleanup configs
2021-04-29 11:11:46 +02:00
Pierre Noël
24e1d979a7
update tests
2021-02-02 11:30:24 +01:00
Pierre Noël
291aeb07bc
add read/create/update route for locales
2021-01-29 10:12:34 +01:00
Alexandre Bodin
fd6771315d
add i18n plugin to testApp
2021-01-28 11:31:10 +01:00
Kim, Harim
ac3d10006c
Add session option to Strapi query for Mongo Multi-Document transaction ( #6447 )
...
* add session option to mongo queries for transaction
Signed-off-by: harimkims <harimkims@gmail.com>
* seperate session parameter in buildQuery functions
Signed-off-by: harimkims <harimkims@gmail.com>
* clarify comment about mongoose create requirement
Signed-off-by: harimkims <harimkims@gmail.com>
Co-authored-by: Convly <jean-sebastien.herbaux@epitech.eu>
2021-01-13 10:37:23 +01:00
Convly
28b5ed87f2
Remove node/no-extraneous comment
2021-01-08 10:09:11 +01:00
Convly
b9edf6ba56
Take pr review into account
2021-01-08 10:09:10 +01:00
Convly
579e4c32e9
Reworked the test builder
2021-01-08 10:09:10 +01:00
Convly
c3a2c7024d
PR review adjustments
2021-01-08 10:09:10 +01:00
Convly
2431149912
Lint fixes
2021-01-08 10:09:09 +01:00
Convly
2a483ba958
Cleanup
...
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2021-01-08 10:09:08 +01:00
Convly
44b213dc6d
Fix memory leak (causing heap overflow)
...
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2021-01-08 10:09:06 +01:00
Convly
44659fc43e
heap out of memory
...
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2021-01-08 09:52:22 +01:00
Convly
857a78e252
Add all missing e2e tests (draft)
...
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2021-01-08 09:52:22 +01:00
Convly
abda7e674a
TestBuilder v1 + impl in packages/strapi
...
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2021-01-08 09:52:21 +01:00
Convly
5bf9375381
First impl (wip)
...
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2021-01-08 09:52:21 +01:00
Convly
375e967a80
Init rework, add example with supertest
...
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2021-01-08 09:52:20 +01:00
Alexandre Bodin
d34cc8d485
Remove unwanted console.log
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-11-10 12:50:29 +01:00
Alexandre Bodin
04c85dd218
Apply feedbacks
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-11-06 19:25:09 +01:00
Alexandre Bodin
08a603623b
Cleanup tests
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-11-02 19:41:46 +01:00
Alexandre Bodin
07e7cfc0bd
Make lint stricter and fix the errors
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-11-02 19:41:42 +01:00
Jean-Sébastien Herbaux
c4716d5668
[D&P] Return published content by default from get apis ( #7657 )
...
* Add _publicationState request param / Returns live by default for CT that have D&P activated
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-09-22 17:39:46 +02:00
Pierre Noël
f7bd0886bb
add options 'editable' and 'restrictRelationsTo' in CTB ( #7768 )
...
* add options 'editable' and 'restrictRelationsTo' in CTB
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-09-22 17:39:46 +02:00
Pierre Noël
74a85c1127
Add migration d&p
2020-09-22 17:39:40 +02:00
Pierre Noël
38216554d5
Draft publish/remove some validators for drafts ( #7537 )
...
* remove required + minLength validator for drafts
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-09-22 17:39:24 +02:00
Pierre Noël
e29c1b7de9
add published_at ( #7374 )
...
* add published_at
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-09-22 17:39:18 +02:00
Alexandre BODIN
7394a35c51
Fix CE tests for travis ( #7218 )
...
* Fix CE tests for travis
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
* Start app in CE too
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
* Cleanup
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-29 13:24:27 +02:00
Alexandre Bodin
cdc9bc2167
Allow multiple args in policies
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 11:48:43 +02:00
Alexandre Bodin
29fcf7c3cd
Clean find relation list and tests
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 11:48:42 +02:00
Pierre Noël
25bea051e0
prevent delete user route to delete last superAdmin
...
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-07-08 11:10:11 +02:00
Convly
d69101427f
Fix PR: Refactor user e2e tests, fix domain logic, add user::deleteOne route
2020-07-08 11:04:22 +02:00
Pierre Noël
e1209af1de
refacto
...
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-07-08 10:56:57 +02:00
Pierre Noël
182ec648d5
add loading of ee files + add create role
...
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-07-08 10:56:55 +02:00
Alexandre Bodin
35d87bfdcd
Cleanup
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 10:53:23 +02:00