26 Commits

Author SHA1 Message Date
Alexandre Bodin
bceb8fa4ad chore: improve admin panel DX & add more advance plugin example 2024-09-09 11:11:02 +02:00
Alexandre Bodin
279eb4479d chore: migrate graphql plugin to v5 2024-03-07 21:12:36 +01:00
Josh
a3690b16a3
feat: add vite (#18697)
* feat: add vite

* fix: CheckPagePermissions was buggy

* fix: vite CJS warning & double print of experimental message

* chore: move to use plugins-workspace folder

* chore: update deps

---------

Co-authored-by: Paul <45032974+hide-me@users.noreply.github.com>
2024-01-11 14:14:25 +00:00
Mark Kaylor
19ce046512 Apply overrides for specified versions 2023-04-24 15:25:17 +02:00
Mark Kaylor
0798cf75f3 Revert plugins config diff 2023-04-24 15:25:17 +02:00
Mark Kaylor
179f3eb65d Reduce use of lodash and respect fp immutability 2023-04-24 15:25:17 +02:00
Mark Kaylor
ff971821fb Test overrides and fix upload schema 2023-04-24 15:25:17 +02:00
Mark Kaylor
119ddd4d98 Test the current override system 2023-04-24 15:25:17 +02:00
Alexandre Bodin
20ae9ce9e5 Fix some legacy code and cleanup old code 2021-10-18 21:21:06 +02:00
Convly
8b139ec162 Merge branch 'releases/v4' into v4/graphql-schema-generation-refactor 2021-09-22 10:48:29 +02:00
Pierre Noƫl
de4579b25e change project structure to use /src folder 2021-09-15 16:41:36 +02:00
Jean-SƩbastien Herbaux
2b715a6ee9
V4/graphql configuration (#10896)
* Use a scalar to register the i18n locale arg

* Remove useless files & comments

* Use custom config for apollo server & the pagination (better handling of pagination)

* Fix missing strapi variable being transmitted to wrapResolvers/parseMiddlewares

* PR review comments
2021-09-07 11:23:49 +02:00
Pierre Noƫl
13cec4cadb append strapi.dir to plugin path if relative 2021-09-02 12:14:44 +02:00
Pierre Noƫl
56ffa3a63f migrate myplugin to v4 2021-09-01 18:38:40 +02:00
Pierre Noƫl
c547e64571 fix e2e tests 2021-08-18 11:58:17 +02:00
Pierre Noƫl
9c41753e8a remove comments 2021-07-23 10:33:25 +02:00
Pierre Noƫl
7f441632c0 wip 2021-06-08 10:39:45 +02:00
Pierre Noƫl
f97c775566 loading plugins with strapi-server.js 2021-05-31 18:28:42 +02:00
Alexandre Bodin
02342ace0a Use objects instead of strings to declare queries & mutattions 2021-04-08 13:26:03 +02:00
Abdón Rodríguez Davila
d2ef1d4b8c
Allow more options to the Apollo Server config (#7665)
* Extract server config to a constant

Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>

* Omit options to server config

Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>

* Move default config to serverParams

Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>

* Simplify Apollo server config

Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>

* Simplify with a new apolloServerConfig property

Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>

* Update tracing documentation

Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>

* Extract deprecated options

Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>

* Add default options

Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>

* Update documentation

Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>

* Rename to deprecatedApolloServerConfig

Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>

* Empty default options

Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>

* Update default config

Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>

* Add warning note

Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>

* Add documentation note

Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>

* Update documentation note

Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>

* Fix the config check

Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>

* Fix the config check

Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>

* Refactor old code and rename param to appoloServer to avoid redondancy

Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>

* Fix typo

Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>

Co-authored-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-09-04 09:51:11 +02:00
Alexandre Bodin
f2dd146bf4 Clear getstarted config
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-05-15 19:41:56 +02:00
Pierre Noƫl
bc3cee4c54 sanatize email options
Signed-off-by: Pierre Noƫl <petersg83@gmail.com>
2020-05-15 16:39:35 +02:00
Pierre Noƫl
8821f42694 update email settings getstarted
Signed-off-by: Pierre Noƫl <petersg83@gmail.com>
2020-05-15 15:47:04 +02:00
Pierre Noƫl
83f847f359 change config format
Signed-off-by: Pierre Noƫl <petersg83@gmail.com>
2020-05-14 18:11:24 +02:00
Pierre Noƫl
471d9ef89c move email settings from db to files
Signed-off-by: Pierre Noƫl <petersg83@gmail.com>
2020-05-14 16:56:14 +02:00
Alexandre Bodin
9e34029878 Overwritte plugin config with user config
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-29 11:06:37 +02:00