* 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>
* 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>
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>
* 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>
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>
* 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>