14737 Commits

Author SHA1 Message Date
Adam Hunter
81a22229ba
fixes missing error message when ses sendEmail returns an error (#8086)
Signed-off-by: Adam Hunter <arhunter@gmail.com>
2020-10-07 14:38:18 +02:00
Stanko Tadić
848d554c79
fixes #8221 - fixed publish failing if non-repeateable component data is "null" (#8222)
Signed-off-by: Stanko <stanko.tadic@gmail.com>
2020-10-07 14:20:18 +02:00
Tanmoy Bhowmik
983c61c144
Add support for brotli compression (#8169)
* chore(package): upgrade koa-compress

Signed-off-by: tanmoyopenroot <tanmoy.openroot@gmail.com>

* fix(middleware): add config option

Signed-off-by: tanmoyopenroot <tanmoy.openroot@gmail.com>

* chore(docs): update gzip docs

Signed-off-by: tanmoyopenroot <tanmoy.openroot@gmail.com>
2020-10-07 09:49:18 +02:00
dependabot[bot]
9a2886036d
Bump swagger-ui-dist from 3.24.3 to 3.35.0 (#8200)
Bumps [swagger-ui-dist](https://github.com/swagger-api/swagger-ui) from 3.24.3 to 3.35.0.
- [Release notes](https://github.com/swagger-api/swagger-ui/releases)
- [Commits](https://github.com/swagger-api/swagger-ui/compare/v3.24.3...v3.35.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-06 17:24:25 +02:00
Dan Wendorf
bf8c17f120
Bump node-fetch to 2.6.1 (#8191)
node-fetch < 2.6.1 has a security vulnerability
(https://github.com/advisories/GHSA-w7rc-rwvf-8q5r)

This is a major version bump for strapi-plugin-upload (from 1.7.3), but
it does not look like strapi-plugin-upload is relying on any of the
functionality that has broken from 1.x to 2.x

Signed-off-by: Dan Wendorf <dan@render.com>
2020-10-06 17:20:57 +02:00
Alexandre BODIN
162c3aaa61
Merge pull request #8205 from strapi/chore/migration-3-2
Add 3.2 migration guide and improve migration guides homepage
2020-10-06 15:19:07 +02:00
Alexandre Bodin
698dbc6c99 Add 3.2 migration guide and improve migration guides homepage
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-10-06 15:15:12 +02:00
Alexandre BODIN
7a8d820376
Merge pull request #8203 from strapi/doc/entries-values
use entries instead of values
2020-10-06 12:06:02 +02:00
Pierre Noël
a45d50aa58 use entries instead of values
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-10-06 11:49:51 +02:00
Ralph
b35b8f72b3
AWS Cognito provider (#6917)
Add login provider AWS Cognito

Signed-off-by: ralphsomeday
2020-10-06 11:45:22 +02:00
Alexandre Bodin
48b138e81c Merge branch 'master' into documentation 2020-10-06 11:06:24 +02:00
Alexandre Bodin
95f3502ab4 v3.2.0 v3.2.0 2020-10-06 11:01:02 +02:00
Alexandre BODIN
fb66ece326
Merge pull request #8165 from strapi/docs/heroku/fixDatabaseGuide
Fix heroku guide to set database settings in proper env path
2020-10-06 10:56:38 +02:00
Alexandre BODIN
442f38a4ba
Merge pull request #8190 from strapi/fix/graphql-pubstate
Fix publicationState for nested populations
2020-10-06 10:54:07 +02:00
Alexandre Bodin
fcb2878987 Use a symbol to pass options add make it work with many before fixing them
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-10-06 10:08:31 +02:00
Alexandre Bodin
60b52cf946 Add publicationState only if received in the args
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-10-06 10:08:31 +02:00
Alexandre Bodin
5f7fcafc5f Fix publciationState for nested populations
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-10-06 10:08:30 +02:00
Alexandre BODIN
ab66df4369
Merge pull request #8182 from strapi/features/allow-setting-published-at-in-api
Allow setting the published_at field in the API
2020-10-05 20:22:23 +02:00
Alexandre BODIN
44894ce220
Merge pull request #8183 from strapi/3.2/docs
Draft & Publish documentation
2020-10-05 20:16:04 +02:00
Derrick Mehaffy
b8bd0b7b56 PR feedback from Megane
Signed-off-by: Derrick Mehaffy <derrickmehaffy@gmail.com>
2020-10-05 10:05:57 -07:00
Alexandre Bodin
af8a96c18b Fix search tests
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-10-05 18:07:50 +02:00
Alexandre BODIN
46c7c70148
Merge pull request #8185 from strapi/graphql-publication-state-argument
Add publicationState argument for graphql queries
2020-10-05 17:19:36 +02:00
Alexandre Bodin
29286c8fdb Use non visible attributes as a reference for rbac fields
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-10-05 16:30:48 +02:00
Jean-Sébastien Herbaux
eb5a94501e
Ensure bound permissions in database (#8180)
* Ensure bound permissions in database

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Refactor, handle missing fields & fix e2e tests

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-10-05 16:26:55 +02:00
Mégane Lacheny
6e41cf1935 Fix more typos in the Draft and Publish documentation 2020-10-05 16:24:26 +02:00
Convly
773a86ae58 Fix conflicts / params => queryArguments
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-10-05 16:02:44 +02:00
Alexandre Bodin
cd6894e573 Fix tests
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-10-05 16:00:58 +02:00
Convly
0951e45d12 Add publicationState argument for graphql queries
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-10-05 15:56:30 +02:00
Mégane Lacheny
05494c50b5 Fix typos + Improve Draft and Publish documentation explanations 2020-10-05 15:54:42 +02:00
Mégane Lacheny
e870d21686 Change order of Draft and Publish file in documentation TOC 2020-10-05 15:43:08 +02:00
Mégane Lacheny
b005cd2082 Add note about roles and permissions for Draft and Publish documentation 2020-10-05 15:41:11 +02:00
Mégane Lacheny
b11171fec6 Add Edit icon in Draft and Publish documentation 2020-10-05 15:19:54 +02:00
Jim LAURIE
bc16fda42a docs: Add FA icons 2020-10-05 14:40:51 +02:00
Alexandre Bodin
c60f826f4e Fix unit test
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-10-05 14:24:41 +02:00
Alexandre Bodin
0df69c30ce Allow setting the published_at field in the API
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-10-05 14:07:17 +02:00
cyril lopez
ded8bc37bb
Merge pull request #8163 from strapi/fix/remove-static-permissions
Replace static permissions by layout and update tests
2020-10-05 12:12:57 +02:00
Mégane Lacheny
4ff007e911 Add screenshots for Draft and Publish documentation 2020-10-05 12:03:38 +02:00
Alexandre Bodin
c98089ff65 Merge branch 'master' into releases/3.2
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-10-05 12:00:03 +02:00
Mégane Lacheny
235b2ef326 Fix Caution message in Draft and Publish documentation 2020-10-05 11:44:21 +02:00
Mégane Lacheny
063b779548 Add Caution about relations with non-published contents for Draft and Publish documentation 2020-10-05 11:41:07 +02:00
François de Metz
645c0b8cf4
Implement deleteFile graphql mutation (#5292). (#7937)
* Implement deleteFile graphql mutation (#5292).

Signed-off-by: François de Metz <francois@2metz.fr>

* Test if the file exist before removing it.

Signed-off-by: François de Metz <francois@2metz.fr>

* Fix a typo.

Signed-off-by: François de Metz <francois@2metz.fr>
2020-10-05 11:34:15 +02:00
Mégane Lacheny
85f0d4c9d1 Merge branch 'releases/3.2' of github.com:strapi/strapi into releases/3.2 2020-10-05 10:38:01 +02:00
Mégane Lacheny
fd335637d0 Improve wording for Draft and Publish documentation 2020-10-05 10:36:06 +02:00
Pierre-Michel Brown
b0fb2da109
Merge branch 'master' into fix/email-confirmation-redirection-copy 2020-10-05 10:06:52 +02:00
Rémi de Juvigny
6bc8662ff6
Handle template download error (#8179)
Signed-off-by: Rémi de Juvigny <remi@hey.com>
2020-10-05 09:41:59 +02:00
ELABBASSI Hicham
8c52046e4b
Merge pull request #8130 from strapi/dp/front-events
Add events regarding the D&P feature
2020-10-05 09:38:30 +02:00
Mégane Lacheny
ac5918946a Update TOC with Draft and Publish 2020-10-04 20:47:38 +02:00
Mégane Lacheny
dc94bdbcd5 Create new file for Draft and Publish documentation + Write first draft 2020-10-04 20:46:30 +02:00
tanmoyopenroot
6dac916033 fix(uid-input): add right padding if contains some right adornment
Signed-off-by: tanmoyopenroot <tanmoy.openroot@gmail.com>
2020-10-04 12:37:52 +05:30
Pierre-Michel Brown
8221c72424 Fix EN copy of email-confirmation-redirection description
Signed-off-by: Pierre-Michel Brown <pierremichelbrown@gmail.com>
2020-10-03 21:42:13 +02:00