190 Commits

Author SHA1 Message Date
Convly
987a7c1022 Fix ci
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2021-01-08 10:09:07 +01:00
Convly
2f7615092a Fix snapshots
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2021-01-08 10:09:06 +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
4652f2083c refacto expect.toBeISOString
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-09-22 17:39:43 +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
b71ffa6c6c Merge branch 'master' into features/rbac 2020-07-16 14:52:55 +02:00
Nick Hayden
a43b14e250
FIX - Update regex error value for English translation (#6976)
Co-authored-by: Nick Hayden <nick@192-168-1-101.tpgi.com.au>
2020-07-16 11:18:48 +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
Alexandre Bodin
7a056c2f45 Add admin registeration API
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 10:53:19 +02:00
Alexandre Bodin
252bb3afe3 Remove email update of admin during test that break next tests
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 10:51:03 +02:00
Alexandre Bodin
07f716cee8 Cleanup code
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 10:24:48 +02:00
Alexandre Bodin
a4f294f1c4 Use passport standard error handling
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 10:24:38 +02:00
Andrey Hohutkin
94e031eba5
Fixes for Media Library upload (#5971)
* Fix formatFileInfo

Keep original file name including extension

* Fix file name for generated media

File name was not set for all generated media: thumbnail and resized pictures.

* Generate hash based on file name without extension

* cleanup PR

Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>

* Fix unit tests
Exclude temporarily unit test 'Replaces reserved and unsafe characters for URLs and files in hash' because it did not work properly ever.

* Remove path delimiter from filename because it is correct character for file path

* Fix e2e

* Continue fixes for e2e

* Fix createRequest content type

* Correct thumbnail name in e2e test

Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
Co-authored-by: Alexandre Bodin <bodin.alex@gmail.com>
Co-authored-by: Andrey Hohutkin <none@none>
2020-06-25 10:13:42 +02:00
Hal Deadman
ac4a52bfa2 remove more cypress
Signed-off-by: Hal Deadman <hal.deadman@gmail.com>
2020-06-05 18:15:44 -04:00
soupette
6ae7395bf0 Init edit existing file and add copy button
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-03-24 07:35:16 +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
5723af75c5 Fix issue with using local pakcage as dependency
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-11 16:24:06 +01:00
Alexandre Bodin
eec7d04b20 Fix policy tests after prefix renaming
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-11 10:06:17 +01:00
Alexandre Bodin
0c6d39297f Add graphql tests for single-types
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:37 +01:00
HichamELBSI
abbb045277 Edit single type options
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-02-06 14:13:48 +01:00
HichamELBSI
6fff7fcf46 Merge branch 'develop' into features/single-types 2020-02-06 14:11:44 +01:00
soupette
c86e1dfb18 Update front-end jest config
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-02-03 16:03:36 +01:00
Hicham EL ABBASSI
90a60879c5 Update all translations
Signed-off-by: Hicham EL ABBASSI <hichamelabbassi@MacBook-Pro-de-Hicham.local>
2020-01-31 09:59:10 +01:00
HichamELBSI
7622874fb0 Fix translations
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-01-30 18:26:35 +01:00
Hicham EL ABBASSI
597a88a650 Update all translations
Signed-off-by: Hicham EL ABBASSI <hichamelabbassi@MacBook-Pro-de-Hicham.local>
2020-01-30 18:26:35 +01:00
Alexandre Bodin
721ad15633 Init dz tests 2019-12-13 10:43:38 +01:00
Alexandre Bodin
ab51bbebe4 Fix tests 2019-11-14 16:37:57 +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
soupette
6b0acc7b8e Remove settings-manager 2019-10-02 17:27:22 +02:00