203 Commits

Author SHA1 Message Date
Alexandre Bodin
7f906d7cf2 Refactoring
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-11-02 19:50:55 +01:00
soupette
d3082807d1 Add dnd relation state
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-09-22 17:39:32 +02:00
soupette
a5ff026568 Remove models
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-09-22 17:39:28 +02:00
soupette
efa547aa31 Fix validations
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-09-22 17:39:28 +02:00
soupette
1bf63ef388 Fix role creation and edition
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-09-22 17:39:25 +02:00
HichamELBSI
941b381ffb Add publish permission
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-09-22 17:39:19 +02:00
soupette
4b207e6cc0 Add D&P key to all models. Change UI modal divider
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-09-22 17:39:10 +02:00
soupette
e46b56e460 Clean models
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-10 10:38:52 +02:00
Alexandre Bodin
e8063ceb28 Add relation-list route in the CM
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 11:48:41 +02:00
soupette
970273a9b9 Fix validations
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:46:32 +02:00
soupette
ddb37266ae Add permissions to edit
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:42:28 +02:00
soupette
577471142d Add permissions for update
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:42:28 +02:00
soupette
ec80117a49 Add permissions for creating to simple ct
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:37:45 +02:00
HichamELBSI
342e0a9a86 Fix PR review 2
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-07-08 11:11:22 +02:00
soupette
2de81865d8 Remove ct
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:09:46 +02:00
soupette
cc20facc5e Add permissions to roles
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:09:46 +02:00
HichamELBSI
3d4a43545e Content type attributes permissions integration
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-07-08 11:05:02 +02:00
soupette
ac9e3a60d2 Fixe baseline
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 10:57:17 +02:00
Fiblan
2dbef5959a
Fix links that point to old documentation (#6367)
* Fix links that point to old documentation (examples)

Signed-off-by: Fabio Sfuncia <fsfuncia@unime.it>
Signed-off-by: Fabio Sfuncia <fib@tooware.com>

* Fix links that point to old documentation (CONTRIBUTING and README)

Signed-off-by: Fabio Sfuncia <fsfuncia@unime.it>
Signed-off-by: Fabio Sfuncia <fib@tooware.com>

* Fix links that point to old documentation (strapi-admin exposed links)

Signed-off-by: Fabio Sfuncia <fib@tooware.com>
2020-05-29 10:51:12 +02:00
Alexandre Bodin
c364fcd0e2 Move lifecycles to sub field and added documentation
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-05-04 10:55:08 +02:00
Alexandre Bodin
9ddeaffed1 Use a wrapper to cleanup
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-05-04 10:55:07 +02:00
Alexandre Bodin
ebee707ec4 Add basic proto of lifecycles
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-05-04 10:55:06 +02:00
HichamELBSI
7a4a87fa68 Merge branch 'develop' of github.com:strapi/strapi into fix/single-types-issues
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-04-23 17:18:14 +02:00
HichamELBSI
2f7f9f5f25 Allow deselect files
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-04-16 12:43:55 +02:00
HichamELBSI
bbd4fcb7e3 Fix toggle all
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-04-16 10:29:25 +02:00
HichamELBSI
a672b66b7f Fix filters and allowed types
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-04-10 14:06:09 +02:00
Alexandre Bodin
cc9d23c3ac Merge branch 'develop' into features/media-lib
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-07 20:24:39 +02:00
Jean-Sébastien Herbaux
a583d1b859
Fix/#3184/fix server crashs on database change (#5703)
* Don't set connection field on create/edit operation on content-types & components

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Make sure that every component has a valid connection attribute

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Remove connection check on components load

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Remove default connections from core & webhook stores but make sure it's defined in the application lifecycle

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Fix component's associations that can be undefined instead of empty in populateBareAssociations

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Remove "default" connection from plugins' models

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Remove connection attribute from generated models (cli)

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Mutate each component instead of reassign

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Build core_store and webhook model based on the current config

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Add connection to templates conditionally (based on args)

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Set default value for description to undefined instead of empty string

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Remove unnecessary complexity

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Update getStarted models

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Fix attributes parsing for generate:model

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Removed tpl option from generate:model/api

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Remove tpl option from cli

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-04-07 16:31:44 +02:00
HichamELBSI
0b7872e0a8 Add Drop file into input media
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-03-30 16:40:46 +02:00
HichamELBSI
1276bf9767 Add input allowed types in filters
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-03-30 16:40:03 +02:00
soupette
3eb635380a Fix ctb allowed types
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-03-26 14:15:24 +01:00
soupette
7840578474 Fix ctb
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-03-26 13:50:45 +01:00
HichamELBSI
998bfa9360 Merge branch 'features/media-lib-frontend' into media-lib/cm-modal 2020-03-24 09:56:55 +01:00
HichamELBSI
f19fb580ec Update after review
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-03-23 23:28:30 +01:00
Alexandre Bodin
3187c08087 Fix uploadTopEntity and delete file relations on fie delete
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-03-20 11:04:22 +01:00
soupette
083e18ec52 Add allowed types to ctb
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-03-12 16:44:36 +01:00
HichamELBSI
b5947621fc Merge branch 'master' into develop 2020-03-04 09:32:13 +01:00
Alexandre Bodin
fe5edf52bb Update policy documentations and add migration guide
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-26 13:39:05 +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
780f2695df Add some more rules
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-17 15:55:08 +01:00
Alexandre Bodin
59fc06e024 Add UID validator and make sure null is allowed when not required
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-17 15:55:08 +01:00
Alexandre Bodin
c7594f5743 Add some default validators for numbers and string
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-17 15:55:07 +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
fc8d72baaa Handle switching between single type and collection type. This rebuilds the api entierly
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-11 18:15:55 +01:00
Alexandre Bodin
04f6050ae1 Cleanup feedbacks
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-11 17:35:09 +01:00
Alexandre Bodin
49f0fdad8c Refactor schema definition language utils
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:40 +01:00
Alexandre Bodin
3ce852af61 User :: in policies prefix and update documentation accordingly
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:39 +01:00
Alexandre Bodin
04476e32a6 Cleanup graphql
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:39 +01:00
Alexandre Bodin
0285c7bd96 Add metadatas to resolvers to know where they are created
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:37 +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