17157 Commits

Author SHA1 Message Date
soupette
c0951fbdb7 Remove CM injected components in CTB
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-05-12 08:21:30 +02:00
soupette
cdc18d78b8 Add link to CTB directly in the CM.
Remove EditSettingsView injection zone

Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-05-12 08:14:34 +02:00
soupette
e4b45bc14e Remove useless compo
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-05-12 07:55:15 +02:00
soupette
b695cabb32 Remove old injectedComponents api in CTB
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-05-12 07:55:13 +02:00
soupette
73a0e044b2 Remove old inject components API in CM
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-05-12 07:55:12 +02:00
cyril lopez
b70067f337
Merge pull request #10292 from strapi/chore/load-i18n
Load i18n plugin
2021-05-12 07:54:21 +02:00
soupette
2e96405273 Load i18n plugin
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-05-11 15:35:10 +02:00
cyril lopez
9ce2b837d4
Merge pull request #10289 from strapi/chore/load-ml
Load ML plugin
2021-05-11 15:20:54 +02:00
soupette
8928d9e8f2 Fix conflicts
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-05-11 12:27:13 +02:00
soupette
d5b17f7cf0 Remove legacy
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-05-11 12:25:37 +02:00
soupette
1d84363278 Store file model timestamps into the reducer
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-05-11 12:25:36 +02:00
soupette
c4560c95b3 Init load upload
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-05-11 12:25:36 +02:00
soupette
1989f6dfac Init load CTB
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-05-11 12:25:36 +02:00
cyril lopez
ce612d8890
Merge pull request #10288 from strapi/chore/load-ctb
Chore/load ctb
2021-05-11 11:56:50 +02:00
Alexandre Bodin
43b947b2ba v3.6.2 v3.6.2 2021-05-11 11:43:35 +02:00
Kendaros
c46b6ccb5e
Keep metadata during resize images (#10161)
If the input file has EXIF, XMP, IPTC metadata (i.e user disabled "optimize size without quality loss" a.k.a "strip metadata" option in Admin UI), the resized images generated should keep metadata too.
If the user doesn't want to keep metadata, they would let the default option "Optimize size without quality loss" enabled, right? So the resized images wouldn't keep the metadata anyway.
2021-05-11 11:42:31 +02:00
soupette
1e5ea16881 Init load CTB
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-05-11 11:33:30 +02:00
cyril lopez
c2de5d69d2
Merge pull request #10287 from strapi/core/load-cm
Load CM
2021-05-11 11:29:06 +02:00
Mike Robinson
ae927f5b1f
Removing positive requirement of integer validation (#10269)
Solves #10179

Co-authored-by: DMehaffy <derrickmehaffy@gmail.com>
2021-05-11 10:22:15 +02:00
soupette
8df4a99dec Apply PR feedback
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-05-11 10:14:39 +02:00
soupette
d0e50bf9d3 Load CM
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-05-11 10:00:19 +02:00
soupette
61c9d8ac4c Init CM migration
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-05-11 10:00:19 +02:00
cyril lopez
76ef9e9503
Merge pull request #10280 from strapi/chore/load-simple-plugins
Chore/load simple plugins
2021-05-11 09:59:43 +02:00
Webnatural
a11c2364f0
Update strapi-admin Polish language translations (#10198) 2021-05-11 09:31:15 +02:00
DMehaffy
e547b11b9a
Fix date field being parsed with a timezone (#10033)
* Fix date field being parsed with a timezone

Signed-off-by: Derrick Mehaffy <derrickmehaffy@gmail.com>

* send YYYY-MM-DD format instead or 2021-04-27T15:01:09.155Z

* Revert "Fix date field being parsed with a timezone"

This reverts commit 498180477bf1750aa177a27786cc9b4e873c4e95.

Co-authored-by: Pierre Noël <petersg83@gmail.com>
2021-05-11 09:26:35 +02:00
Ilya Artamonov
2d8d3fdc06
Added missing translations (#10202) 2021-05-11 09:24:30 +02:00
p_0g_8mm3_
0bb208db4b
Update German strapi-admin translations (#10207)
* Fix grammar

* update de translation

* use plural
2021-05-11 09:22:09 +02:00
Ilya Artamonov
807101f290
Added missing translations (#10205) 2021-05-11 09:20:29 +02:00
Ilya Artamonov
e780baddb5
Added missing translation (#10204) 2021-05-11 09:19:22 +02:00
Ilya Artamonov
e2c06e30a6
Removed extra space (#10203) 2021-05-11 09:18:42 +02:00
Kenneth Solberg
95b81cd237
Added norwegian translation. (#9846)
* Added norwegian translation.

* Update the index.js file so the Norwegian translation is available in the dropdown

* Update the index.js file so the Norwegian translation is available in the dropdown

Co-authored-by: Kenneth Solberg <kenneth@codewise.no>
2021-05-11 09:08:03 +02:00
Jean-Sébastien Herbaux
30ccad91c0
Fix compatibility issue for mongo < 4.2 (#10281) 2021-05-11 09:04:58 +02:00
soupette
c805387527 Load plugin email
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-05-11 08:14:01 +02:00
soupette
ec7baf3bb3 Load sentry plugin
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-05-11 08:14:01 +02:00
soupette
0f78b38eb3 Load graphql plugin
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-05-11 08:14:01 +02:00
cyril lopez
8c8cfd5d3a
Merge pull request #10279 from strapi/chore/load-plugin-users-permissions
Load plugin users permissions
2021-05-11 08:13:06 +02:00
soupette
2b7139c1fa Load plugin users-permissions
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-05-10 14:08:16 +02:00
cyril lopez
4d87af6173
Merge pull request #10276 from strapi/core/load-plugins
Init load plugins
2021-05-10 14:07:32 +02:00
soupette
37e70cdcdf Load plugin documentation and associated translations
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-05-10 13:52:23 +02:00
cyril lopez
436d9fdab5
Upgrade @buffet.js (#10270)
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-05-10 11:25:35 +02:00
Jean-Sébastien Herbaux
934a47eb34
Add possibility to set "required" RBAC conditions (#10185)
* Add optional property 'required' to rbac conditions

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

* Fix tests, remove object handler support & fix bug (pm.queryFrom)

* Remove required property, handle required conditions at the engine level (raw)

* Update EE snapshots

* Add hasSuperAdminRole util
2021-05-10 11:24:45 +02:00
soupette
5dbb3776cc Init load plugins
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-05-10 10:17:48 +02:00
Ralph
81a9a63cad
GraphQL Plugin (bug): Content type's attributes marked as private are being exposed in the exported GraphQL schema (#9805)
* Fixes #9804

* Fixes isPrivateAttribute function in strapi utils to take into account the private property within an attribute

* removing comment

* removing isNotPrivate function + adding call to already existing isPrivateAttribute function instead of isNotPrivate

* isPrivateAttribute fixed based on coments from Alexandre and confirmed that the model does indeed contain all private fields in an array at startup time

* removing isNotPrivate function and fixing generateEnumDefinitions to use the already available isPrivateAttribute function

* checking if created_at and update_at are also marked as private and if this is the case then hiding them

* allowIds by default when generating the input model to see if the tests will pass

* moving allowIds back to false by default

* adding isTypeAttributeEnabled function to check if a type attribute has been disabled and remove it from the exported graphql schema

* removing unused var

* only using isTypeAttributeEnabled instead of isPrivateAttribute.

* adding isPrivateAttribute at association level

* Adding isNotPrivate back together with isTypeAttributeEnabled

* adding unit test for removing a disabled attribute from a graphql schema

* renaming person to player in the test model

* Deleting the file as it has been renamed in the strapi master branch

* fixing lint issues

* fixing some lint issues

* adding isTypeAttributeEnabled support

* adding enumeration field in graphql

* adding use strict; to test file

* fixing test checking that disabled attributes in graphql are removed from the graphql schema

* adding test for buidShadowCrud

* Update packages/strapi-plugin-graphql/services/type-builder.js

Co-authored-by: Jean-Sébastien Herbaux <jean-sebastien.herbaux@epitech.eu>

Co-authored-by: Rmaroun <rmaroun@outlook.com>
Co-authored-by: Jean-Sébastien Herbaux <jean-sebastien.herbaux@epitech.eu>
2021-05-10 09:35:07 +02:00
cyril lopez
ccc270c756
Merge pull request #10272 from strapi/chore/move-files
Remove validations folder from @strapi/admin
2021-05-10 08:59:15 +02:00
soupette
7fb1b9b3a6 Remove reducers folder
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-05-10 08:46:42 +02:00
soupette
3cb0e17f1b Move validations folder into the Users page
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-05-10 08:44:39 +02:00
cyril lopez
8c0f92d4a7
Merge pull request #10254 from strapi/chore/rename-containers-page
Chore/rename containers page
2021-05-10 08:19:49 +02:00
soupette
86f513058e Merge branch 'core/admin-config' of github.com:strapi/strapi into chore/rename-containers-page 2021-05-10 08:05:45 +02:00
cyril lopez
9ce4c35739
Merge pull request #10251 from strapi/core/overlay-blocker-apip
Core/overlay blocker api
2021-05-10 08:04:17 +02:00
cyril lopez
3198d19906
Fixes #10187 (#10193)
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-05-07 15:04:16 +02:00