55 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
1941cfbf4d Add a generic subscriber to run the model lifecycles 2021-08-04 17:47:38 +02:00
Alexandre Bodin
63b503f676 Wip 2021-07-08 21:53:30 +02:00
Alexandre Bodin
81dd94c6ec Refactor all query() calls 2021-07-08 18:15:32 +02:00
Alexandre Bodin
2d59716f5d Cleanup CTB 2021-06-30 22:52:12 +02:00
Alexandre Bodin
b5856aa624 Init link query entity service 2021-06-30 20:00:03 +02:00
Alexandre Bodin
a992a73b2e Update model relation definition 2021-06-24 09:09:30 +02:00
soupette
f3da9beacd Remove old notification API
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-05-17 11:31:19 +02:00
Alexandre Bodin
266e740c1c Auto add locale query param & add wrapOptions logic in entity service 2021-03-09 11:43:11 +01:00
Alexandre Bodin
996341f5d5 Move to many way & add populate option on assoc 2021-03-05 15:44:23 +01:00
Alexandre Bodin
443ace7c62 Add route & handler + lifecycles 2021-02-12 12:23:51 +01:00
Alexandre Bodin
68f3e2bee2 Init i18n fields 2021-02-11 16:48:01 +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
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
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
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
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
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
49f0fdad8c Refactor schema definition language utils
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:40 +01:00
soupette
da4c9d5330 Merge branch 'master' of github.com:strapi/strapi into chore/ctb-front-end-tests 2020-01-15 14:50:43 +01:00
soupette
16a6975af1 Fix add compo to dz action 2020-01-15 12:35:26 +01:00
soupette
4136019d5f Fix line background for dz 2019-12-09 22:39:50 +01:00
soupette
034070cc4c Clean models 2019-12-09 19:10:27 +01:00
soupette
28372566cd Fix attribute order 2019-12-05 18:41:04 +01:00
Alexandre Bodin
d901b54c2e Support dynamic zones in documentation plugin 2019-12-02 12:00:07 +01:00
cyril lopez
b78bef7445
Merge branch 'features/dynamic-zones' into front/dynamic-zones-ctm-ui 2019-11-28 22:49:18 +01:00
Alexandre Bodin
53d02ea443 Support empty dynamic zone 2019-11-28 17:34:27 +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
50e35f1026 Support updates 2019-11-26 11:24:00 +01:00
soupette
e76e6c3e33 Handle dynamic zone 2019-11-20 16:46:44 +01:00
soupette
c18a46f015 Start buffet migration in editview 2019-11-20 16:46:32 +01:00
Alexandre Bodin
7d0c798d90 Add component category edit to allow renaming 2019-11-13 18:49:06 +01:00
Alexandre Bodin
d405285fae Handle component update and delete with categories 2019-11-13 18:49:06 +01:00
Alexandre Bodin
cfc5cf07ad Add component category folder and support category in component create 2019-11-13 18:49:05 +01:00
Alexandre Bodin
79d1207c0c Create dynamiczone in queries 2019-11-13 18:49:02 +01:00
Alexandre Bodin
b9122edf0d Rename groups to components 2019-11-13 18:49:02 +01:00
soupette
8bd092eff7 Remove all scss files in helper plugin 2019-10-09 18:06:51 +02:00
Alexandre BODIN
bdea8bd887
Merge branch 'master' into fix/image-multi 2019-09-11 16:49:31 +02:00
Alexandre Bodin
836920b4f8 Add images relation to restaurants example 2019-09-11 13:17:22 +02:00