Alexandre Bodin
e8153d99c0
v3.2.4
2020-10-16 18:22:15 +02:00
dependabot[bot]
4b9476f3bc
Bump sharp from 0.26.0 to 0.26.2 ( #8348 )
...
Bumps [sharp](https://github.com/lovell/sharp ) from 0.26.0 to 0.26.2.
- [Release notes](https://github.com/lovell/sharp/releases )
- [Changelog](https://github.com/lovell/sharp/blob/master/docs/changelog.md )
- [Commits](https://github.com/lovell/sharp/compare/v0.26.0...v0.26.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-16 09:44:30 +02:00
Alexandre Bodin
71a2657ed8
test node v14
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-10-14 13:14:14 +02:00
hhh
ed71cc2d8a
Fix file info of new uploaded file not being persisted after edit ( #8244 )
...
* Fix file info of new uploaded file not being persisted after edit
Signed-off-by: henrych4 <singyinhenry@gmail.com>
* Fix typo and add test
Signed-off-by: henrych4 <singyinhenry@gmail.com>
Co-authored-by: cyril lopez <cyril.lpz@gmail.com>
2020-10-14 13:04:08 +02:00
Jean-Sébastien Herbaux
9871562359
Fix wrong permissions assigns (upload, users-permissions) ( #8320 )
...
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-10-13 18:51:09 +02:00
Bochkarev Ivan
0abd23eaab
Added new translations into Russian ( #8312 )
...
Signed-off-by: Bochkarev Ivan <ivanx86@gmail.com>
2020-10-13 15:14:58 +02:00
Alexandre Bodin
7485de2fdf
v3.2.3
2020-10-09 17:12:50 +02:00
Convly
b3d0b72198
v3.2.2
2020-10-09 11:52:09 +02:00
Jean-Sébastien Herbaux
38126d9a32
Fix "has same role as author" condition not working properly ( #8202 )
...
* Fix "has same role as author" condition not working properly
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Use creators constants
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Add e2e test for default conditions, fix conditions on mongoose
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Fix tests in CE
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-10-08 19:50:39 +02:00
henrych4
0593ca14d8
Fix incorrect notification when copy media url to clipboard
...
Signed-off-by: henrych4 <singyinhenry@gmail.com>
2020-10-07 23:59:28 +08:00
Alexandre Bodin
5a77b560e3
v3.2.1
2020-10-07 14:50:47 +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
95f3502ab4
v3.2.0
2020-10-06 11:01:02 +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
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
Max Veerapat Kumchom
915743af37
add strapi-plugin-upload thai translation ( #8142 )
...
* init thai template
Signed-off-by: themaxaboy <themaxaboy@hotmail.com>
* translate strapi-plugin-upload
Signed-off-by: themaxaboy <themaxaboy@hotmail.com>
2020-10-02 17:38:53 +02:00
Alexandre Bodin
66e8579fc7
Merge branch 'master' into features/templates-cli
2020-10-02 15:21:16 +02:00
Convly
564f9228ca
v3.1.7
2020-10-02 11:48:42 +02:00
Alexandre Bodin
0e064d10e8
Merge branch 'master' into features/templates-cli
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-10-02 10:20:10 +02:00
HichamELBSI
9667f0fc3b
Bump BuffetJS to 3.3.1
...
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-10-02 09:54:18 +02:00
Jean-Sébastien Herbaux
e55ea1d6b5
Hide creator fields from public api by default ( #8052 )
...
* Add model option to hide/show creators fields in public API response
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Add content-types util, rework sanitize-entity's private handling
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Update search e2e tests, fix an issue on empty search for the core-api controller (find)
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Fix GraphQL plugin (handle privates attributes on typeDefs + resolver builds)
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Fix sanitizeEntity import
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Move doc update from beta to stable
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Fix e2e test
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Fix pr comments
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Remove creator's field from upload controller routes
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Fix typedef build for graphql association
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Fix pr (comments + several issues)
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Add tests for search behavior in content-manager
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Rename files variables to meaningful names (upload controllers)
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Fix test with search id matching serialNumber
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
* Add toHasBeenCalledWith check for config.get (utils/content-types.test.js)
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
Co-authored-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-10-01 17:47:08 +02:00
Alexandre Bodin
8589848ce4
Merge branch 'features/draft-publish' into releases/3.2
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-10-01 16:23:32 +02:00
dependabot[bot]
be7dfaabd3
Bump is-valid-domain from 0.0.14 to 0.0.15 ( #8120 )
...
Bumps [is-valid-domain](https://github.com/miguelmota/is-valid-domain ) from 0.0.14 to 0.0.15.
- [Release notes](https://github.com/miguelmota/is-valid-domain/releases )
- [Commits](https://github.com/miguelmota/is-valid-domain/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-01 09:46:35 +02:00
Rémi de Juvigny
5726c36edf
Fix yarn lock conflict
...
Signed-off-by: Rémi de Juvigny <remi@hey.com>
2020-09-30 11:19:20 +02:00
Rami Yushuvaev
b5ce86a805
Add translations to Hebrew language ( #7871 )
...
* Translate Strapi admin to Hebrew language
Signed-off-by: Rami Yushuvaev <r_a_m_i@hotmail.com>
* Translate Strapi plugin upload to Hebrew language
Signed-off-by: Rami Yushuvaev <r_a_m_i@hotmail.com>
2020-09-29 14:09:26 +02:00
Pierre Noël
567401f0c1
Fix/warn file too big ( #8033 )
...
* handle fileTooBig errors
Signed-off-by: Pierre Noël <petersg83@gmail.com>
* add entityTooLarge error in provider plugins
Signed-off-by: Pierre Noël <petersg83@gmail.com>
* fix linter
Signed-off-by: Pierre Noël <petersg83@gmail.com>
* refacto
Signed-off-by: Pierre Noël <petersg83@gmail.com>
* Add better error message for 413 errors in ML
Signed-off-by: soupette <cyril.lpz@gmail.com>
* refacto
Signed-off-by: Pierre Noël <petersg83@gmail.com>
* refacto
Signed-off-by: Pierre Noël <petersg83@gmail.com>
Co-authored-by: soupette <cyril.lpz@gmail.com>
2020-09-29 12:00:25 +02:00
Pierre Noël
cd9abb4961
fix cropped size too big
...
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-09-25 17:03:07 +02:00
Alexandre Bodin
3c7c33eab7
v3.1.6
2020-09-24 14:51:49 +02:00
Alexandre BODIN
c97f33bf53
Merge pull request #7716 from strapi/fix/7699
...
Fixes Admin bugs
2020-09-24 14:41:10 +02:00
soupette
fa762abee7
Bump buffet.js to stable version
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-09-24 08:36:26 +02:00
soupette
6020c8e7e5
Upgrade buffet.js rc.5
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-09-23 17:20:24 +02:00
soupette
30a3d85056
Add buffetjs to all package dependencies
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-09-23 14:35:56 +02:00
Rémi de Juvigny
3b0e02fe00
Autofix yarn.lock conflict
...
Signed-off-by: Rémi de Juvigny <remi@hey.com>
2020-09-23 14:25:55 +02:00
Pierre Noël
09ae61ffab
fix tests
...
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-09-22 17:39:40 +02:00
Pierre Noël
36892fe2a8
add webhooks for draftAndPublish + sanitize all webhooks info ( #7629 )
...
* add webhooks for draftAndPublish + sanitize all webhooks info
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-09-22 17:39:29 +02:00
Pierre Noël
e29c1b7de9
add published_at ( #7374 )
...
* add published_at
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-09-22 17:39:18 +02:00
Peter Etelej
318f20e826
Bump up minimum required Node to 10.16 ( #7962 )
...
Updated README docs & package.json `engine` versions to bump up the
minimum required Node version from `10.10` to `10.16` (or `10.16.0+`)
Strapi no longer supports `10.10` since it updated `sharp` to `0.26.0`
( https://github.com/strapi/strapi/pull/7729 ) which requires Node 10.16.0+
(See https://github.com/lovell/sharp/blob/master/docs/changelog.md#v0260---25th-august-2020 )
` yarn create strapi-app my-project --quickstart` on 10.10 fails with error
```
error sharp@0.26.0: The engine "node" is incompatible with this module. Expected version ">=10.16.0". Got "10.10.0"
error Found incompatible module.
```
Signed-off-by: Peter Etelej <peter@etelej.com>
2020-09-22 16:00:13 +02:00
François de Metz
49ce4649cc
Encode the URL before fetching it. ( #7934 )
...
Signed-off-by: François de Metz <francois@2metz.fr>
2020-09-18 10:05:34 +02:00
Convly
736a580001
v3.1.5
2020-09-16 15:26:12 +02:00
Dominic
bbb8b421b3
Optimize plugins translation in Traditional Chinese. ( #7557 )
...
* Optimize plugin 'content-type-builder' translations in zh.json.
Signed-off-by: Dominic Lee <dominiclee0512@gmail.com>
* Optimize plugin 'documentation' translations in zh.json.
Signed-off-by: Dominic Lee <dominiclee0512@gmail.com>
* Optimize plugin 'upload' translations in zh.json and filter button
missing translation wording.
Signed-off-by: Dominic Lee <dominiclee0512@gmail.com>
* refactor: move filter translation config from plugin to admin core.
Signed-off-by: Dominic Lee <dominiclee0512@gmail.com>
2020-09-14 09:28:11 +02:00
cyril lopez
cd9296b37b
Fix replace media ( #7787 )
...
* Fixes #7776
Signed-off-by: soupette <cyril.lpz@gmail.com>
* Fix PR feedback
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-09-09 10:18:22 +02:00
Alexandre Bodin
9461f20da0
Cleanup upload tests
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-09-07 19:02:59 +02:00
Darron Park
b3bb9f6e3f
Update sharp module to 0.26.0 ( #7729 )
2020-09-04 13:50:08 +02:00
Sebastian Trebunak
dad69f5cc4
Improve & add missing Slovak (SK) translations ( #7515 )
...
* Improve & add missing SK translations
Signed-off-by: Sebastian Trebunak <trebunak.sebastian@gmail.com>
* fix one tr string
Signed-off-by: Sebastian Trebunak <trebunak.sebastian@gmail.com>
* Add translation for strapi-plugin-upload
Signed-off-by: Sebastian Trebunak <trebunak.sebastian@gmail.com>
* Add 'sk' to export from languages of strapi upload plugin
Signed-off-by: Sebastian Trebunak <trebunak.sebastian@gmail.com>
* Refine and add missing translations for content-type-builder plugin,, Fix some of previous translations
Signed-off-by: Sebastian Trebunak <trebunak.sebastian@gmail.com>
* Refine content-type-builder SK translations
Signed-off-by: Sebastian Trebunak <trebunak.sebastian@gmail.com>
* Add missing translation strings for strapi-plugin-content-manger plugin
Signed-off-by: Sebastian Trebunak <trebunak.sebastian@gmail.com>
* Add missing translation strings for strapi-plugin-users-permission plugin
Signed-off-by: Sebastian Trebunak <trebunak.sebastian@gmail.com>
* Refine content type builder translation string to distinguish more precisely between collection title and name
Signed-off-by: Sebastian Trebunak <trebunak.sebastian@gmail.com>
* Refine one label string
Signed-off-by: Sebastian Trebunak <trebunak.sebastian@gmail.com>
* Fix some strings in content-manager
Signed-off-by: Sebastian Trebunak <trebunak.sebastian@gmail.com>
* Fix single component translation string
Signed-off-by: Sebastian Trebunak <trebunak.sebastian@gmail.com>
Co-authored-by: cyril lopez <cyril.lpz@gmail.com>
Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
2020-09-03 16:20:07 +02:00
Wessel van der Linden
9610f4c011
Find file to edit in all available files ( #7459 )
...
This resolves https://github.com/strapi/strapi/issues/7458
Signed-off-by: Wessel van der Linden <wessel.linden@gmail.com>
Co-authored-by: cyril lopez <cyril.lpz@gmail.com>
2020-09-03 16:18:31 +02:00
dependabot[bot]
925f09ee7b
Bump immer from 6.0.5 to 7.0.8 ( #7711 )
...
Bumps [immer](https://github.com/immerjs/immer ) from 6.0.5 to 7.0.8.
- [Release notes](https://github.com/immerjs/immer/releases )
- [Commits](https://github.com/immerjs/immer/compare/v6.0.5...v7.0.8 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-03 16:17:02 +02:00
soupette
84ac0f7c07
Fix wrong prop
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-09-03 14:23:09 +02:00
Cr0s4k
7baad9bbfd
Update file info mutation ( #7691 )
...
* added new updateFileInfo mutation
Signed-off-by: Omar Garcia <omarcruz11@hotmail.com>
* added test
Signed-off-by: Omar Garcia <omarcruz11@hotmail.com>
* fixed test
Signed-off-by: Omar Garcia <omarcruz11@hotmail.com>
* Added fileInfoInput
Signed-off-by: Omar Garcia <omarcruz11@hotmail.com>
2020-09-03 12:17:40 +02:00
Alexandre Bodin
6905be68bc
Merge branch 'documentation'
2020-09-02 17:23:41 +02:00
DMehaffy
024b337b09
Update node version requirements for v10 to v12 ( #7409 )
...
Signed-off-by: Derrick Mehaffy <derrickmehaffy@gmail.com>
2020-09-02 17:11:59 +02:00