2879 Commits

Author SHA1 Message Date
Alexandre Bodin
43b947b2ba v3.6.2 2021-05-11 11:43:35 +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
cyril lopez
436d9fdab5
Upgrade @buffet.js (#10270)
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-05-10 11:25:35 +02:00
Alexandre Bodin
2fd29041f8 v3.6.1 2021-04-29 14:34:38 +02:00
dependabot[bot]
cc1e192347
Bump codemirror from 5.60.0 to 5.61.0
Bumps [codemirror](https://github.com/codemirror/CodeMirror) from 5.60.0 to 5.61.0.
- [Release notes](https://github.com/codemirror/CodeMirror/releases)
- [Changelog](https://github.com/codemirror/CodeMirror/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codemirror/CodeMirror/compare/5.60.0...5.61.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-22 05:37:56 +00:00
Alexandre Bodin
4ab210eec6 v3.6.0 2021-04-21 17:00:57 +02:00
Alexandre Bodin
e54d83ef5a Merge branch 'master' into features/i18n 2021-04-19 19:16:02 +02:00
dependabot[bot]
6cc7c255e2
Bump markdown-it from 12.0.4 to 12.0.6 (#10066)
Bumps [markdown-it](https://github.com/markdown-it/markdown-it) from 12.0.4 to 12.0.6.
- [Release notes](https://github.com/markdown-it/markdown-it/releases)
- [Changelog](https://github.com/markdown-it/markdown-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/markdown-it/markdown-it/compare/12.0.4...12.0.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-19 09:09:49 +02:00
soupette
25fb15e30d Upgrade buffet.js to 3.3.5
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-04-19 08:41:30 +02:00
Pierre Noël
fd4fd8f15b fix singletype put 2021-04-12 21:41:26 +02:00
Alexandre Bodin
614ce35d37 Merge branch 'master' into features/i18n 2021-04-09 17:43:59 +02:00
mfrachet
2f4d847d3b Ellipsis on locale cell only 2021-04-08 14:41:27 +02:00
dependabot[bot]
ca237cffdf
Bump lodash from 4.17.20 to 4.17.21 (#9990)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-08 14:06:59 +02:00
Alexandre Bodin
118d81bec8 Merge branch 'master' into features/i18n 2021-04-07 13:39:28 +02:00
dependabot[bot]
3e620ece05
Bump codemirror from 5.59.4 to 5.60.0 (#9981)
Bumps [codemirror](https://github.com/codemirror/CodeMirror) from 5.59.4 to 5.60.0.
- [Release notes](https://github.com/codemirror/CodeMirror/releases)
- [Changelog](https://github.com/codemirror/CodeMirror/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codemirror/CodeMirror/compare/5.59.4...5.60.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-07 10:30:02 +02:00
dependabot[bot]
6a3f7e06dd
Bump classnames from 2.2.6 to 2.3.1 (#9965)
Bumps [classnames](https://github.com/JedWatson/classnames) from 2.2.6 to 2.3.1.
- [Release notes](https://github.com/JedWatson/classnames/releases)
- [Changelog](https://github.com/JedWatson/classnames/blob/master/HISTORY.md)
- [Commits](https://github.com/JedWatson/classnames/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-07 10:26:27 +02:00
soupette
1a510ae790 Upgrade react-redux
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-04-06 10:10:08 +02:00
cyril lopez
54b51d9d51
Merge pull request #9942 from strapi/chore/fix-error-plugins
Improve CM error management
2021-04-06 09:50:30 +02:00
Alexandre Bodin
fd18d2a67a Merge branch 'master' into features/i18n 2021-04-02 17:33:24 +02:00
soupette
119fdd946d Ensure the LV always does not have an empty query
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-04-02 16:06:55 +02:00
soupette
3b3637e584 Improve CM error management
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-04-02 15:47:53 +02:00
Pierre Noël
92a9ecb38d handle localized media attr in CM et CTB 2021-04-02 10:24:44 +02:00
cyril lopez
1db87e19ad
Revert react-redux upgrade (#9930)
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-04-01 09:53:16 +02:00
soupette
7ddf66d36c Fix role update when no conditions and redirect the user to hp in listview when response is 403
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-03-31 17:47:10 +02:00
soupette
800454ba14 Fixes #9897
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-03-31 15:57:01 +02:00
dependabot[bot]
b0c932cb87
Bump react-redux from 7.2.2 to 7.2.3 (#9902)
Bumps [react-redux](https://github.com/reduxjs/react-redux) from 7.2.2 to 7.2.3.
- [Release notes](https://github.com/reduxjs/react-redux/releases)
- [Changelog](https://github.com/reduxjs/react-redux/blob/master/CHANGELOG.md)
- [Commits](https://github.com/reduxjs/react-redux/compare/v7.2.2...v7.2.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-31 14:36:58 +02:00
Marvin Frachet
a7f4bcbcfe
Bumping buffet and fixing list radius (#9911) 2021-03-31 12:25:47 +02:00
Marvin Frachet
d16b6e8312
Fix margin on cog (again) (#9905) 2021-03-31 09:39:48 +02:00
soupette
848215148a Add search params to publish action
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-03-30 17:33:01 +02:00
Marvin Frachet
198c3e847b
Fix margin for cog in ListView dropdown (#9890) 2021-03-30 16:59:51 +02:00
Marvin Frachet
a19fbdc972
[I18N] fix typo (#9887) 2021-03-30 16:58:37 +02:00
Marvin Frachet
0c958c8303
Fix margin in table checkbox (#9883) 2021-03-30 16:57:38 +02:00
soupette
6db4e0c0f3 Change settings confirm modal type & change copy locale submit button label
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-03-30 10:31:29 +02:00
soupette
9c8bd81dfc Upgrade Buffet.js
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-03-30 10:24:17 +02:00
soupette
cd7eca2894 Change tooltip in helper component
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-03-30 10:23:29 +02:00
soupette
48ab9bff46 Fix dropdown indicator
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-03-30 10:05:59 +02:00
cyril lopez
f859d127f0
Merge pull request #9862 from strapi/i18n/cm-fix-redirection-after-delete
[I18n] CM fix redirection after delete
2021-03-30 09:35:59 +02:00
soupette
8c0f996a12 Fix Pr feedback
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-03-30 09:35:30 +02:00
soupette
9f6f014414 Fix redirection link
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-03-30 08:23:05 +02:00
soupette
a127f35018 Fix create slug bug
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-03-29 19:06:57 +02:00
soupette
d27e901e72 Fix redirection issue when deleting an entry
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-03-29 18:39:17 +02:00
dependabot[bot]
4030106720
Bump react from 16.13.1 to 16.14.0 (#9853)
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) from 16.13.1 to 16.14.0.
- [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.14.0/packages/react)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-29 14:07:37 +02:00
Jean-Sébastien Herbaux
93752c37ca
Chore/tests cleanup (#9857)
* Use new jest runner

* Set loglevel to fatal

* Update snapshots

* Remove update option from cli

Co-authored-by: Alexandre Bodin <bodin.alex@gmail.com>
2021-03-29 12:33:08 +02:00
Convly
4c21bea64b Use a global timeout instead of redefining it everytime 2021-03-26 20:15:38 +01:00
Alexandre Bodin
a66e0269da Merge branch 'master' into features/i18n 2021-03-25 15:07:41 +01:00
Jean-Sébastien Herbaux
1e5b1c99f6
I18n/ permissions rework (#9535)
* Add a domain layer for the permission, rework the engine handling of the permissions

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

* Add permissions-fields-to-properties migration for the admin

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

* Removes useless console.log

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

* Remove debug logLevel from provider-login.test.e2e.js

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

* Adds the new layout for the GET permissions, allow to subscribe to actionRegistered events, adds i18n handlers

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

* Fix typo

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

* Update permissions validators

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

* Update unit tests

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

* Update integrations test + fix some validation issues

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

* Change plugins & settings section format for the permissions layout

* only return locales property to localized subjects for the permission's layout

* Do not send the locales property to the permission's layout when there is no locales created

* Add the 'locales' property to publish & delete routes

* Fix unwanted mutation of the sections builder states on multiple builds

* Fix units tests with (new engine)

* Fix admin-role e2e test - Add locales property to the update payload

* fix e2e testsé

* Update e2e snapshots

* Fix unit test for i18n bootstrap

* Add mocks for i18n/bootstrap test

* Fix has-locale condition & updatePermission validator

* Avoid mutation in migration, always authorize super admin for has-locales condition

* Rework rbac domain objects, add a hook module and a provider factory

* Remove old providers

* Update the admin services & tests for the new rbac domain & providers

* Fix tests, bootstrap functions & services following rbac domain rework

* Update migration runner

* PR comments

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

* Remove useless console.log

* Fix sanitizeCondition bug

* Section builder rework

* Add test for the section-builder section & add jsdoc for the permission domain

* pr comments (without the migrations)

* fix fields-to-properties migration

* Add jsdoc for the sections-builder

* Moves createBoundAbstractDomain from permission domain to the engine service

* Remove debug logLevel for admin role test (e2e)

* Fix core-store

* Fix hooks & move business logic from i18n bootstrap to dedicated services

* add route get-non-localized-fields

* use write and read permission

* refacto

* add input validator

* add route doc

* handle ST

Co-authored-by: Pierre Noël <petersg83@gmail.com>
Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
2021-03-25 14:59:44 +01:00
Alexandre Bodin
3065d72a4b v3.5.4 2021-03-25 14:34:45 +01:00
soupette
0d897d31be Fix common fields
Signed-off-by: soupette <cyril.lpz@gmail.com>
2021-03-25 14:11:23 +01:00