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
Alexandre BODIN
77be3ea4c5
Merge pull request #7467 from strapi/users-permissions/create-new-role
...
Users and Permissions in Settings menu
2020-08-31 15:33:02 +02:00
Alexandre BODIN
d1e8b8df7c
Merge pull request #7450 from strapi/dependabot/npm_and_yarn/react-16.13.1
...
Bump react from 16.13.0 to 16.13.1
2020-08-31 15:24:08 +02:00
soupette
fb6010369a
Fix conflicts
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-08-26 10:38:54 +02:00
soupette
1b157c3d2f
Fixes #7572
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-08-25 09:32:37 +02:00
HichamELBSI
4e4a77ff0f
Add new role
...
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-08-17 17:40:44 +02:00
dependabot[bot]
888036ddbe
Bump react from 16.13.0 to 16.13.1
...
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react ) from 16.13.0 to 16.13.1.
- [Release notes](https://github.com/facebook/react/releases )
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/react/commits/v16.13.1/packages/react )
Signed-off-by: dependabot[bot] <support@github.com>
2020-08-13 17:22:49 +00:00
Pierre Noël
fb2db4b050
v3.1.4
...
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-08-13 19:05:20 +02:00
Pierre Noël
231263a353
v3.1.4
2020-08-13 18:58:14 +02:00
Alexandre BODIN
95e6837d45
Merge branch 'master' into chore/ml-delete-assets
2020-08-12 12:16:18 +02:00
Brendan Abbott
b3be6dea99
Improve empty state grammar for Assets ( #6922 )
...
Signed-off-by: Brendan Abbott <brendan.abbott@shopify.com>
2020-08-12 12:15:13 +02:00
Daniel Soares
6b34b5e8af
Added pt-BR localization to strapi-plugin-upload ( #7375 )
...
Signed-off-by: Daniel Soares <daniel.soares@me.com>
2020-08-12 12:08:09 +02:00
Laurent Comte
086677bee3
Fix/6641 ( #7337 )
...
* Fix "Search for an asset" on Media Library loses focus
while typing
Signed-off-by: Laurent Comte <laurent.comte@gmail.com>
* Update the provider loggin doc + display absolute redirect uri in front
Signed-off-by: Pierre Noël <petersg83@gmail.com>
* update grant + doc twitter
Signed-off-by: Pierre Noël <petersg83@gmail.com>
* refacto
Signed-off-by: Pierre Noël <petersg83@gmail.com>
* replace .fr by .com
Signed-off-by: Pierre Noël <petersg83@gmail.com>
* move a tip
Signed-off-by: Pierre Noël <petersg83@gmail.com>
* Specify that only grant providers are supported
Signed-off-by: Pierre Noël <petersg83@gmail.com>
Co-authored-by: Pierre Noël <petersg83@gmail.com>
2020-08-12 12:07:39 +02:00
Pierre Noël
bc96123485
use resolve
...
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-08-03 11:05:43 +02:00
Pierre Noël
c8207b7809
upload path can be absolute
...
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-07-31 17:39:29 +02:00
Alexandre Bodin
97922f99ae
v3.1.3
2020-07-31 09:59:56 +02:00
Alexandre Bodin
6aaa018ff5
v3.1.2
2020-07-29 13:34:01 +02:00
egg
efdf03cf6d
add Japanese translation of media library ( #7226 )
...
Signed-off-by: eggpogg <eggpogg.t@gmail.com>
Co-authored-by: cyril lopez <cyril.lpz@gmail.com>
2020-07-29 13:21:50 +02:00
Alexandre Bodin
ac62bac98e
Upgrade lodash
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-29 13:05:50 +02:00
dependabot[bot]
aea96bca68
Bump lodash from 4.17.15 to 4.17.19 ( #7239 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-29 11:10:32 +02:00
Bartosz
8c40d2192d
Fix invalid local uploads path ( #6925 )
...
* Fix invalid local uploads path
File upload provider does not consider the strapi configuration. This patch should fix the problem.
* getStaticPath -> uploadDir
* Use config.get method
* plugin-upload tests fix
2020-07-27 17:18:55 +02:00