64 Commits

Author SHA1 Message Date
Pierre Noël
514fc00d97 migrate getStarted api 2021-08-23 09:58:15 +02:00
Pierre Noël
63cc0832f2 Merge branch 'v4/backend' into pluginAPI/loadPlugin 2021-08-13 15:43:04 +02:00
Alexandre Bodin
11afe17575 Init new REST API format and remove count as it is included in pagination 2021-08-11 11:12:56 +02:00
Pierre Noël
4790e28284 refactor with module approach 2021-08-06 18:09:49 +02:00
Alexandre Bodin
89fee54582 Merge branch 'v4/backend' into v4/database 2021-07-30 09:50:40 +02:00
Pierre Noël
eabe72f92e WIP 2021-07-26 16:59:59 +02:00
soupette
ce2c05b27c Migrate remove field action to immer
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-07-12 19:11:55 +02:00
Alexandre Bodin
63b503f676 Wip 2021-07-08 21:53:30 +02:00
Alexandre Bodin
2d59716f5d Cleanup CTB 2021-06-30 22:52:12 +02:00
soupette
1ce1101fc4 Remove request helper and use axiosInstance in CM
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-06-24 14:06:41 +02:00
soupette
b775f7614a Remove request helper in CM collectionTypeFormWrapper
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-06-24 14:02:01 +02:00
Alexandre Bodin
a992a73b2e Update model relation definition 2021-06-24 09:09:30 +02:00
soupette
48f6b55eb3 Fix PR feedback
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-06-02 17:45:05 +02:00
soupette
275365fd5b Fix PR feedback
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-05-25 13:12:30 +02:00
soupette
146ee5907e Remove useUserPermissions for useRBAC
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-05-24 16:18:55 +02:00
soupette
cf2bd304cf Upgrade buffet.js. Add icon to inputs label
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-03-04 11:59:26 +01:00
Convly
5bf9375381 First impl (wip)
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2021-01-08 09:52:21 +01:00
DMehaffy
aad1c2fa03
Cleaning up codebase for doc repo move (#8892)
* [WIP] Cleaning up codebase for doc repo move

WIP

* Fix deleted files, add links to doc repo issues

* Add repo note to readme
2020-12-18 15:50:37 +01:00
HichamELBSI
53231b5833 Merge branch 'master' into feature/relational-fields 2020-12-16 10:17:47 +01:00
HichamELBSI
0f60d4dc85 Fix RBAC CE
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-12-10 16:28:44 +01:00
HichamELBSI
a4f0bdecc8 Add x-to-many relation preview tooltip
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-12-02 18:00:06 +01:00
HichamELBSI
303e041a03 Fix PR feedback
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-11-27 15:07:24 +01:00
soupette
c9f726e18f Fix repeatable component synchro
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-10-29 14:35:41 +01:00
soupette
237f5b4deb Remove useEditView hook which is not needed anymore
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-10-29 12:19:21 +01:00
soupette
d103efb681 Refactol EditViewDataManager
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-10-27 10:40:37 +01:00
soupette
5825aaec59 Handle post logic for ct
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-10-27 08:18:41 +01:00
soupette
4a5a55f9b0 Init refacto datamanager
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-10-26 15:59:59 +01:00
soupette
065aecb1ad Refacto Inputs for ct
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-10-26 12:36:34 +01:00
soupette
37913d44ec Duplicate SelectWrapper for easier refacto
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-10-23 18:32:35 +02:00
soupette
d3082807d1 Add dnd relation state
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-09-22 17:39:32 +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
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
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
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
soupette
083e18ec52 Add allowed types to ctb
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-03-12 16:44:36 +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
soupette
9c53fcaccc Fix select relations
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-01-30 18:09:55 +01:00
soupette
dee2c38678 Clean models 2019-12-18 14:51:29 +01:00
soupette
180b3e93b7 Add search to component select 2019-12-18 14:43:55 +01:00
soupette
83b39756c0 Fixes #4746 2019-12-18 12:10:02 +01:00
soupette
9adfe0c424 Remove useless compo and ct and update buffet version 2019-12-12 16:42:50 +01:00