* 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>
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>
* set email validator to lowercase
Yup .lowercase() converts the string to lowercase which should be done in all instances of email across the application.
Fixes bug where users created inside Strapi admin panel end up with mixed case emails in database.
Signed-off-by: bglidwell <sintex+github@gmail.com>
* match front-end profile validation to backend
Removed .min(5) from backend validation due to redundancy with .email() check
Signed-off-by: bglidwell <sintex+github@gmail.com>
* cleanup redundant email.toLowerCase()
Signed-off-by: Bobby Glidwell <sintex+github@gmail.com>
* Revert "cleanup redundant email.toLowerCase()"
This reverts commit 4565054b298e4518e4ddf41ca602c5960bd9cc28.
Signed-off-by: Bobby Glidwell <sintex+github@gmail.com>
* fix email case in admin user controller
Signed-off-by: Bobby Glidwell <sintex+github@gmail.com>
* fix email case in api user controller
Signed-off-by: Bobby Glidwell <sintex+github@gmail.com>
* fix for graphql tests
Signed-off-by: Bobby Glidwell <sintex+github@gmail.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>