158 Commits

Author SHA1 Message Date
Alexandre Bodin
7f5ca6b479 Fix db config for pg and mysql in getstarted 2021-08-06 09:18:11 +02:00
Pierre Noël
dd0c095f1e Merge branch 'v4/backend' into pluginAPI/loadPlugin 2021-08-04 15:05:56 +02:00
Alexandre Bodin
10ef480bc0 Move logger out of Strapi.js 2021-08-03 09:12:58 +02:00
Alexandre Bodin
a0011840e8 Merge admin config into strapic config 2021-08-03 08:33:56 +02:00
Pierre Noël
eabe72f92e WIP 2021-07-26 16:59:59 +02:00
Pierre Noël
9c41753e8a remove comments 2021-07-23 10:33:25 +02:00
Alexandre Bodin
81dd94c6ec Refactor all query() calls 2021-07-08 18:15:32 +02:00
Alexandre Bodin
3711ca3072 wip 2021-07-02 02:26:14 +02:00
Pierre Noël
07d17f2cb2 WIP 2021-06-29 16:11:47 +02:00
Alexandre Bodin
fe4e355b24 Branch i18n bootstrap 2021-06-28 22:37:19 +02:00
Alexandre Bodin
d5b96c6e97 fromRow - toRow 2021-06-28 21:37:44 +02:00
Alexandre Bodin
a1e2fc6829 Init fields 2021-06-28 12:34:29 +02:00
Alexandre Bodin
5e46f2999e Remove connection 2021-06-24 09:09:29 +02:00
Alexandre Bodin
d0af0a5b8e wip 2021-06-24 09:09:28 +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
Alexandre Bodin
0e1595d629 Allow cach-control in example app to work with rapidoc
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-11-03 15:59:37 +01: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
e597bddc59 Add tests
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 10:24:47 +02:00
Alexandre Bodin
a4f294f1c4 Use passport standard error handling
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 10:24:38 +02:00
Alexandre Bodin
ceb11379fc Add passportjs and refactor login
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 10:23:50 +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
0fa1d561cc Readd default host in getstarted
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-29 16:22:22 +02:00
Alexandre Bodin
6ca740bd29 Fix env casting should return undefined if var is not defined
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-29 11:06:42 +02:00
Alexandre Bodin
8fabd55568 Make generated config as minimalist as possible
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-29 11:06:38 +02:00
Alexandre Bodin
546ca97748 Change CLI config loading
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-29 11:06:38 +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
Alexandre Bodin
5595f6ca94 Add policy loader
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-29 11:06:36 +02:00
Alexandre Bodin
ed616333b2 Init new configuration management
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-29 11:06:35 +02:00
Alexandre Bodin
59332ae672 Fix host using lcoalhost not working on a lot of envs
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-01 11:14:39 +02:00
Jaroslav Vrána
d65db853ea
Merge branch 'master' into feature/adminTranslationCs 2020-01-02 21:29:51 +01:00
unknown
db412a4d3b translations 2019-12-15 17:57:16 +01:00
Alexandre Bodin
4d4d9c351d Change csp config 2019-12-12 19:13:48 +01:00
Alexandre Bodin
49985eca53 Merge branch 'master' into develop 2019-11-27 15:28:06 +01:00
Long Nguyen
8bec836388 Add Vietnamese translation (#4414)
* Add Vietnamese translation

* chore: tweak vietnamese admin's translations

* chore: vietnamese placeholder

* feat: vietnamese content manager's translations

* chore: plugin documentation's vietnamese translations

* chore: plugin email's vietnamese translations

* chore: plugin upload's vietnamese translations

* chore: plugin users-permissions's vietnamese translations

* chore: register vietnamese to language switcher

* chore: add vietnamese welcome message
2019-11-20 11:58:35 +01:00
Alexandre Bodin
66b2d4f5c3 Init 2019-10-23 17:02:23 +02:00
soupette
36de339b04 Update config 2019-10-08 09:44:55 +02:00
soupette
6f8b23d254 Fix conflicts 2019-09-27 16:26:09 +02:00
Alexandre Bodin
2d6864f836 Disable p3p by default 2019-09-20 12:45:31 +02:00
soupette
f43006db69 Update stm 2019-09-12 14:22:19 +02:00
soupette
2c6269f074 Design languagepage 2019-09-11 18:13:31 +02:00
soupette
4f1b2973fc Design lang page 2019-09-11 16:06:24 +02:00
Alexandre Bodin
a22f2cefef Remove x-forwarded-host.
- set security defaults for development mode that are standard
- refactor error messages to work without ctx.request.admin
- remove mask middleware and add a sanitization layer to the core-api to
hide private fileds
2019-09-06 14:33:24 +02:00
Alexandre Bodin
7c5f1484ba Use koa-router and fix graphql-uploads 2019-08-22 15:04:27 +02:00
Alexandre Bodin
80989ee8ec Make hook loading async 2019-08-19 09:37:37 +02:00