13206 Commits

Author SHA1 Message Date
Convly
8a2050add0 Apply PR feedback and fix tests
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-05-04 11:11:23 +02:00
Convly
4046e4227c Assign type value directly in configurator properties
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-05-04 11:11:23 +02:00
Convly
079ad89781 Prune obsolete files relations on startup
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-05-04 11:11:22 +02:00
Alexandre Bodin
a78c8e4636 Add tests for lifecycles calls
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-05-04 10:55:09 +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
1edc581864 Remove lifecycles from connectors
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-05-04 10:55:08 +02:00
Alexandre Bodin
ed060e2cea Add arguments to after hook
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
de5d1d6d54 Add other hooks
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
Ky
8c4cb54d23 apply PR review
Signed-off-by: Ky <virginie.ky@gmail.com>
2020-05-04 10:50:53 +02:00
Ky
0ab5a8d994 Merge branch 'develop' of github.com:strapi/strapi into front/media-lib-loader 2020-05-04 10:49:54 +02:00
Alexandre Bodin
3b40bcee59 Merge branch 'master' into develop 2020-05-04 10:49:30 +02:00
Alexandre Bodin
3bf7947aa0 Remove dead code
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-05-04 10:31:09 +02:00
Lucas
ff2dbb3865
Uninstall plugin: function to delete folder with files (#5874)
Signed-off-by: Łukasz Matuszewski <lucas.matuszewski@gmail.com>
2020-05-04 10:14:56 +02:00
Alexandre BODIN
839c51011a
Merge pull request #5991 from strapi/fix/4813/searchDoesntAlwaysWork
Change search logic
2020-05-04 10:11:13 +02:00
Ky
fec831fe22 update snapshots
Signed-off-by: Ky <virginie.ky@gmail.com>
2020-05-03 23:53:07 +02:00
Ky
15710264ef Merge branch 'front/media-lib-loader' of github.com:strapi/strapi into front/media-lib-loader
Signed-off-by: Ky <virginie.ky@gmail.com>
2020-05-03 22:26:55 +02:00
Ky
bf5a1ac90f update buffetjs dependencies
Signed-off-by: Ky <virginie.ky@gmail.com>
2020-05-03 22:22:49 +02:00
Kevin Pfeifer
4fd1565463 add npm/npx and strapi commands and convert to tabs elements
Signed-off-by: Kevin Pfeifer <kevin.pfeifer@sunlime.at>
2020-05-03 16:14:47 +02:00
Robert Piosik
8675effa21 docs: add .js ext to graphql paths, fix code snip-
et formatting

Signed-off-by: Robert Piosik <robertpiosik@gmail.com>
2020-05-02 20:50:28 +02:00
Kevin Pfeifer
3125157913 Add rebuild after wysiwyg plugin has been created
Me and my colleague just tried this step by step guide to install the CKEditor WYSIWYG with the current strapi version 3.0.0-beta.20.1 and it didn't work.
We had to spend some time till we found out that we have to rebuild strapi so the plugin is loaded correctly.
Found that on the "Update Strapi version" page.

Signed-off-by: Kevin Pfeifer <kevin.pfeifer@sunlime.at>
2020-05-02 14:55:28 +02:00
Pierre Noël
8d3303014f remove test password
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-04-30 19:47:04 +02:00
Pierre Noël
e0e561e6d0 add test for escapeQuery()
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-04-30 19:47:04 +02:00
Pierre Noël
7c837cde6c refacto
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-04-30 19:47:03 +02:00
Pierre Noël
115600f1aa search for mongodbId if the query is a mongodbId
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-04-30 19:47:03 +02:00
Pierre Noël
ee73715d8e update yarn.lock
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-04-30 19:47:02 +02:00
Pierre Noël
015480b1b5 Change search logic
Signed-off-by: Pierre Noël <pierre.noel@strapi.io>
2020-04-30 19:47:02 +02:00
Alexandre BODIN
9414eb717b
Merge pull request #6007 from kabaros/pg-pool-settings
Preserve pool setttings when there is a schema
2020-04-30 17:45:07 +02:00
cyril lopez
d5b989121e
Merge branch 'develop' into front/media-lib-loader 2020-04-30 17:16:57 +02:00
cyril lopez
600a01694c
Merge pull request #6005 from strapi/fix/reserved-names
Reserved names api call
2020-04-30 15:47:10 +02:00
kabaros
149c1f7737 Preserve pool setttings when there is a schema
In the case where this is a schema defined, `options.pool` is reassigned ignoring the object constructed in a previous step (only preserving min and max, but not the other values such as `createTimeoutMillis` etc...  This change is to keep the other values intact.

Signed-off-by: mozafar <kabaros@gmail.com>
2020-04-30 14:35:14 +01:00
HichamELBSI
4b286aedf6 Reserved names api call
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-04-30 15:14:22 +02:00
Alexandre Bodin
0c0b65ecf2 Update with feedbacks
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-30 13:55:15 +02:00
Alexandre Bodin
fe2a683f9f Only check used names on creation
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-30 13:55:15 +02:00
Alexandre Bodin
d67d731ea9 Add alreadyUse and forbidden content type check on name
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-30 13:55:15 +02:00
Alexandre Bodin
a0c87af098 Fix test, add missing global
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-30 13:55:15 +02:00
Alexandre Bodin
7e41e28bf8 Add checks for timestamps attributes to avoid conflicts with timestamps option
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-30 13:55:15 +02:00
Alexandre Bodin
42c149e8bc Add reserved name check
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-30 13:55:15 +02:00
Alexandre Bodin
431715138a Init restricted-names API
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-30 13:55:15 +02:00
cyril lopez
0060b90a01
Merge pull request #5083 from strapi/front/ui-improvements
Front/ui improvements
2020-04-30 13:40:56 +02:00
Ky
10018ada82 Merge branch 'develop' of github.com:strapi/strapi into front/ui-improvements 2020-04-30 12:00:34 +02:00
Ky
db7b8655b5 apply PR review
Signed-off-by: Ky <virginie.ky@gmail.com>
2020-04-30 11:56:09 +02:00
Alexandre Bodin
4f1900638d Change autoOpen default value
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-30 09:58:39 +02:00
Alexandre Bodin
528071173d Add logger defaults options
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-30 09:57:23 +02:00
Ky
56fc6a3264 ctb component booleanbox alignment
Signed-off-by: Ky <virginie.ky@gmail.com>
2020-04-29 23:49:27 +02:00
Ky
5574345a2d Merge branch 'develop' of github.com:strapi/strapi into front/ui-improvements 2020-04-29 16:22:57 +02:00
Alexandre Bodin
0fa1d561cc Readd default host in getstarted
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-29 16:22:22 +02:00
cyril lopez
e79daadb5a
Merge pull request #5990 from strapi/fix/remove-password-from-data
Remove password field from the retrieved data
2020-04-29 16:19:24 +02:00
Ky
62f434b31a update snapshots
Signed-off-by: Ky <virginie.ky@gmail.com>
2020-04-29 16:00:13 +02:00