81 Commits

Author SHA1 Message Date
Alexandre Bodin
243085dae1 Merge branch 'develop' into features/media-lib 2020-03-13 15:40:11 +01:00
Pierre Noël
1227bfeba4 add possibility to set a relation "private"
Signed-off-by: Pierre Noël <pierre.noel@strapi.io>
2020-03-13 12:23:11 +01:00
soupette
f99f83af02 Merge branch 'develop' of github.com:strapi/strapi into features/media-lib 2020-03-13 11:04:45 +01:00
Pierre Noël
15f4ae67d7 add test for replaceIdByPrimaryKey
Signed-off-by: Pierre Noël <pierre.noel@strapi.io>
2020-03-10 16:44:28 +01:00
Alexandre Bodin
7a8c865051 Merge branch 'develop' into features/media-lib
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-03-02 15:18:08 +01:00
Alexandre Bodin
db03d9d07d Add UID validation routes for CTM livechecks
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-19 10:54:44 +01:00
Alexandre Bodin
f6cf06d22c Add notNull validator for edition
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-18 09:02:48 +01:00
Alexandre Bodin
ae6049be73 Use yup transform to cast some values
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-17 16:14:29 +01:00
Alexandre Bodin
37b184d063 Fix test
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-17 15:54:49 +01:00
Alexandre Bodin
77b1a2944b Add mongoose uid type
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-13 16:46:37 +01:00
Alexandre Bodin
3b41eb6230 Add uid type to bookshelf column generator and init tests
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-13 11:36:26 +01:00
Alexandre Bodin
5e79e9c275 Add appropriate tests
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-11 18:15:56 +01:00
Alexandre Bodin
c0bf015eb6 Refactor core api and add tests
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:36 +01:00
Alexandre Bodin
0a1d7c77db Add tests for CORE api single-types
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:36 +01:00
Alexandre Bodin
4f5a0e7679 Cleanup eslint configs
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-01-27 10:49:57 +01:00
Alexandre Bodin
a0718d7643 Fix delete many 2020-01-08 13:25:44 +01:00
Alexandre Bodin
6120c645e3 Fix fk name too long 2019-12-13 11:50:14 +01:00
Alexandre Bodin
d75d46b044 Add with media tests 2019-12-13 11:14:40 +01:00
Alexandre Bodin
3c4b411430 Add delete test 2019-12-13 10:43:40 +01:00
Alexandre Bodin
b62d664b60 Add edition tests 2019-12-13 10:43:39 +01:00
Alexandre Bodin
472ec83506 List test 2019-12-13 10:43:39 +01:00
Alexandre Bodin
721ad15633 Init dz tests 2019-12-13 10:43:38 +01:00
Alexandre Bodin
c469345f35 Fix test conflicts 2019-12-05 16:03:45 +01:00
Alexandre Bodin
c66fe82c41 Handle time and date in mongo 2019-12-05 15:26:01 +01:00
Alexandre Bodin
909266232f Add tests on datetime 2019-12-04 18:49:47 +01:00
Virginie Ky
c47985cf9b Merge branch 'features/dynamic-zones' into front/dynamic-zones-ctm-ui 2019-11-28 15:57:06 +01:00
Alexandre Bodin
3a0df72b4a Fix hasPK & getPK 2019-11-26 18:19:52 +01:00
Virginie Ky
11ccb5e7f3 Dynamic zone edit view ui 2019-11-20 17:46:53 +01:00
Alexandre Bodin
3e8816161a Handle uids in ctm explorer routes 2019-11-15 11:49:32 +01:00
Alexandre Bodin
49e270a7f6 Support uid for content types 2019-11-15 09:50:58 +01:00
Alexandre Bodin
56bdd3d806 Fix tests 2019-11-13 18:49:07 +01:00
Alexandre Bodin
d405285fae Handle component update and delete with categories 2019-11-13 18:49:06 +01:00
Alexandre Bodin
b9122edf0d Rename groups to components 2019-11-13 18:49:02 +01:00
Alexandre Bodin
852be46911 Stringify json input for pg to support arrays 2019-09-13 10:41:21 +02:00
Alexandre Bodin
34a5424a8a Fixes to mongoose groups 2019-08-09 11:45:31 +02:00
Alexandre Bodin
1792338cbd Add timeouts in afterAll tests 2019-08-09 11:04:48 +02:00
Alexandre Bodin
87ddcaf6c4 Add all group tests 2019-08-09 10:44:24 +02:00
Alexandre Bodin
8f6ca1c0ac Run test on both content manager and generated apis in the same test suite 2019-08-09 09:53:08 +02:00
Alexandre Bodin
d786217d06 Single non required group test 2019-08-09 09:42:27 +02:00
Alexandre Bodin
59b283ebae Cleanup after tests 2019-08-08 21:17:11 +02:00
Alexandre Bodin
4ad7f5bd89 Support biginteger < 2^53 2019-08-08 14:30:45 +02:00
Alexandre Bodin
b35712acc5 Fix data types output to be the same wathever the database is 2019-08-08 14:30:44 +02:00
Alexandre Bodin
60d04d26eb Init group tests and fix some groups issues 2019-08-08 14:30:43 +02:00
Alexandre Bodin
93c7f63cd1 Add email tests 2019-08-08 14:30:43 +02:00
Alexandre Bodin
d468033b8e Add password tests 2019-08-08 14:30:43 +02:00
Alexandre Bodin
35d22e2c85 Init password tests and split in separate test files 2019-08-08 14:30:42 +02:00
Alexandre Bodin
04d03ab68e Add boolean tests 2019-08-08 14:30:42 +02:00
Alexandre Bodin
9706575c6d Add json tests 2019-08-08 14:30:41 +02:00
Alexandre Bodin
24a5f45e0d Add float tests 2019-08-08 14:30:41 +02:00
Alexandre Bodin
6091202c54 Add decimal test and set sqlite bigint to string 2019-08-08 14:30:40 +02:00