79 Commits

Author SHA1 Message Date
Alexandre Bodin
cd6894e573 Fix tests
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-10-05 16:00:58 +02: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
36892fe2a8 add webhooks for draftAndPublish + sanitize all webhooks info (#7629)
* add webhooks for draftAndPublish + sanitize all webhooks info

Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-09-22 17:39:29 +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
Convly
36668fa173 Add ability to unpublish a content
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-09-22 17:39:23 +02:00
Jean-Sébastien Herbaux
ca963a6f90 [D&P] Publish a draft (#7532)
* Add publish a draft capability.

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-09-22 17:39:19 +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
109e41ea1f Fix e2e tests
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 13:53:56 +02:00
Alexandre Bodin
3ff5f645c8 Add single type usecase and fix delete
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 11:48:42 +02:00
Convly
56d583e49e Add basis for upload controllers permissions
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-07-08 11:48:41 +02:00
Convly
b5fb5f8509 Add permissions to the content-manager routes
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-07-08 11:48:17 +02:00
Alexandre Bodin
4edad86029 Add basic created_by updated_by
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 11:48:16 +02:00
Alexandre Bodin
a0718d7643 Fix delete many 2020-01-08 13:25:44 +01:00
Alexandre Bodin
fb25e33383 Create an entity service to share between core service and content manager 2020-01-08 11:13:38 +01:00
Alexandre Bodin
b5cceb8760 Cleanup graphql and use model uids 2019-12-10 17:24:55 +01:00
Alexandre Bodin
3e8816161a Handle uids in ctm explorer routes 2019-11-15 11:49:32 +01:00
Alexandre Bodin
6478e53ab8 Support dynamic zone upload file 2019-11-13 18:49:08 +01:00
Alexandre Bodin
60d04d26eb Init group tests and fix some groups issues 2019-08-08 14:30:43 +02:00
Alexandre Bodin
3e174ddf3a Support file upload via multipart/form-data in generated apis 2019-08-02 09:08:57 +02:00
Alexandre Bodin
f99e2ab683 Support upload multipart in content manager creation and edition of data 2019-08-01 12:20:28 +02:00
Alexandre Bodin
c5e50665cd Add upload route in content-manager and remove formdata for data creation 2019-07-30 16:58:36 +02:00
Alexandre Bodin
1d09999586 Fix search in content-manager 2019-07-26 10:57:27 +02:00
Alexandre Bodin
2befa1cf48 Use primaryKey on delete queries 2019-07-16 23:27:34 +02:00
Alexandre Bodin
56c59c5ae1 Implement deleteMany in query.delete 2019-07-16 20:11:34 +02:00
Alexandre Bodin
93bf13a77c Implement delete many content-manager with new queries 2019-07-16 18:05:24 +02:00
Alexandre Bodin
1658b48aa0 Refactor users-permissions to use the new strapi.query 2019-07-16 17:23:38 +02:00
Alexandre Bodin
239c065972 remove content-manager call in upload services 2019-07-16 17:23:25 +02:00
Alexandre Bodin
078d677526 Implement CM fetch, fetchAll, create, update, delete 2019-07-16 17:23:25 +02:00
Alexandre Bodin
cd19e04d6d Init queryManager 2019-07-16 17:23:24 +02:00
Jim LAURIE
41b78f0f4a
Fix typo double a 2019-07-09 15:09:00 +02:00
Alexandre Bodin
d30f0ca173 Fix content manager json parsing strategy 2019-07-09 14:45:52 +02:00
Alexandre Bodin
6cad390d97 Merge branch 'master' into chore/strapi-new-improvments 2019-07-02 15:09:59 +02:00
henrych4
e729fe5405 keep initial value if it is string except 'null' 2019-06-01 01:50:15 +08:00
Alexandre Bodin
a41641bfe4 Add a queries interface to the plugins 2019-04-26 13:40:23 +02:00
Alexandre Bodin
ab0fa1f5de Init build bin 2019-04-26 13:40:16 +02:00
soupette
a2192c1dec Fix conflicts 2019-04-09 16:01:01 +02:00
soupette
e56e46e030 Split admin and users.
Co-authored-by: lauriejim
2019-04-09 12:09:03 +02:00
Alexandre Bodin
9bc56a3535 Apply review changes 2019-03-29 16:53:25 +01:00
Alexandre Bodin
b8dc116ff6 Fix relations and graphql nested lookups for both mongo and sql 2019-03-28 12:13:32 +01:00
Alexandre Bodin
d2db6b633f Mongo + graphql v1 2019-03-21 09:07:36 +01:00
Kamal Bennani
5c7dd886aa No longer use convertParams 2019-03-21 09:07:02 +01:00
Kamal Bennani
2bdbf12b0a Simplify GraphQL resolver and adapt the ContentManager to the new changes 2019-03-21 09:07:02 +01:00
Aurélien Georget
199ed431a8 Destructure where condition to make code more readable 2019-01-24 12:05:33 +01:00
Aurélien Georget
2a62b9d962 Convert where parameters instead of adding complexity in SQL query 2019-01-24 11:52:53 +01:00
Aurélien Georget
9e0faf9b5c Fix deleteUser mutation for Mongoose and Bookshelf 2018-11-27 14:54:34 +01:00
Alberto Maturano
86cbd0c1b3 refactor: Remove unused variable 2018-11-14 19:51:05 -06:00
Vladislav Arsenev
e96d048381 fix: remove-old-files - fix lost file remove and one new was added 2018-09-04 17:57:10 +03:00
Aurelsicoko
94200636da Refetch related data before attach new entry on manyToMany relationship 2018-06-14 18:27:44 +02:00
Aurelsicoko
18d3b9cf1e Resolve merge 2018-06-13 17:56:41 +02:00
Jim Laurie
b5f05e20a4 Fix morph relation 2018-06-12 11:26:40 +02:00