2392 Commits

Author SHA1 Message Date
Pierre Noël
e553467d55 refacto
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-09-22 17:39:41 +02:00
Pierre Noël
74a85c1127 Add migration d&p 2020-09-22 17:39:40 +02:00
soupette
296d26c46b Update CM trads
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-09-22 17:39:39 +02:00
soupette
3a21b38c50 Change confirm trad for popupwarning
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-09-22 17:39:38 +02:00
soupette
565b932a9e Add confirmation when disabling the D&P feature on a ct.
Clean trads

Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-09-22 17:39:37 +02:00
soupette
c4b9bf45ee Fix PR feedback
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-09-22 17:39:37 +02:00
soupette
97242b3ebc Fix wrong css property
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-09-22 17:39:36 +02:00
soupette
e6cd132b6d Fix select background
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-09-22 17:39:36 +02:00
soupette
d08a392bb2 Created custom modal warning
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-09-22 17:39:35 +02:00
soupette
1fb475e7a9 Clean popupwarning
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-09-22 17:39:35 +02:00
soupette
cc00789a66 Fix perfs
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-09-22 17:39:34 +02:00
soupette
5a6d9a89b8 Created utility to get draft relations
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-09-22 17:39:34 +02:00
soupette
28bc1959c4 Fix read only mode
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-09-22 17:39:33 +02:00
soupette
76c662d4e7 Design relations for D&P
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-09-22 17:39:33 +02:00
soupette
d3082807d1 Add dnd relation state
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-09-22 17:39:32 +02:00
soupette
bb4cea6019 Clean code
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-09-22 17:39:32 +02:00
soupette
bea6dada63 Add published_at field
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-09-22 17:39:31 +02:00
soupette
fa89ec8f35 Clean trads
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-09-22 17:39:30 +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
soupette
efa547aa31 Fix validations
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-09-22 17:39:28 +02:00
soupette
597c4ec374 Fix publish/unpublish
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-09-22 17:39:27 +02:00
soupette
307bcf9a08 Fix multiple api calls
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-09-22 17:39:27 +02:00
soupette
31ad694a7e Fix delete entry
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-09-22 17:39:26 +02:00
soupette
5abab1d9c5 Fix feedback settings view
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-09-22 17:39:26 +02:00
Pierre Noël
38216554d5 Draft publish/remove some validators for drafts (#7537)
* remove required + minLength validator for drafts

Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-09-22 17:39:24 +02:00
Convly
d5faafb046 Refactor e2e tests
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-09-22 17:39:23 +02:00
Convly
0c37f64182 Add e2e test for unpublish
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-09-22 17:39:23 +02:00
Convly
36668fa173 Add ability to unpublish a content
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-09-22 17:39:23 +02:00
HichamELBSI
663a23ca02 Fix after PR review
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-09-22 17:39:22 +02:00
HichamELBSI
f08db7bfdd Entry state in list
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-09-22 17:39:22 +02:00
HichamELBSI
1ef85be0e9 Information Card
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-09-22 17:39:21 +02:00
HichamELBSI
f8236cea39 Unpublish an entry
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-09-22 17:39:21 +02:00
HichamELBSI
14863821af Save a draft
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-09-22 17:39:20 +02:00
HichamELBSI
23ede00fa8 Publish a draft
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-09-22 17:39:20 +02:00
Jean-Sébastien Herbaux
ca963a6f90 [D&P] Publish a draft (#7532)
* Add publish a draft capability.

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-09-22 17:39:19 +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
Convly
72aaa16d3d Rename fieldsGranularity to fieldsRestriction, various bug fixes
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-09-22 17:39:14 +02:00
Convly
310a0d16f3 Add Publish permission & action
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-09-22 17:39:14 +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
dependabot[bot]
16a7be23de
Bump markdown-it from 11.0.0 to 11.0.1 (#7983)
Bumps [markdown-it](https://github.com/markdown-it/markdown-it) from 11.0.0 to 11.0.1.
- [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/11.0.0...11.0.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-22 13:24:38 +02:00
Convly
736a580001 v3.1.5 2020-09-16 15:26:12 +02:00
GreenRobot
4220052310
add some russian translations for DynamicZone component (#7748) 2020-09-14 09:32:09 +02:00
cyril lopez
5364191ea1
Fixes #7232 (#7715)
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-09-03 16:21:10 +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
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
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
cyril lopez
8bf691cb73
Merge branch 'master' into fix/decimal-input 2020-08-26 10:20:15 +02:00
soupette
3b0555b290 Fixes #7455
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-08-25 10:36:30 +02:00
HichamELBSI
a3e11f1362 Fix decimal on content manager's inputs
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-08-25 09:25:17 +02:00