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
|
1fcbb15143
|
Remove tooltip for delete event
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-09-22 17:39:31 +02:00 |
|
soupette
|
0528ab9c19
|
Fix snapshots
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-09-22 17:39:30 +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
|
7a17ae25e2
|
Add publish webhook events
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-09-22 17:39:29 +02:00 |
|
soupette
|
a5ff026568
|
Remove models
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-09-22 17:39:28 +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 |
|
soupette
|
1bf63ef388
|
Fix role creation and edition
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-09-22 17:39:25 +02:00 |
|
soupette
|
6e3d924d7a
|
Fix webhooks
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-09-22 17:39:25 +02:00 |
|
soupette
|
ae1fcdecf3
|
Fix admin roles bugs. Wrong redirection after creating a role, reset and submit logic
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-09-22 17:39:24 +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 |
|
HichamELBSI
|
941b381ffb
|
Add publish permission
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
|
2020-09-22 17:39:19 +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
|
2124f2c282
|
use set instead of merge to add conditions on author permissions
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
|
2020-09-22 17:39:18 +02:00 |
|
Convly
|
a5df905e00
|
Fix pr comments
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
|
2020-09-22 17:39:17 +02:00 |
|
Convly
|
a559047e77
|
Fix e2e and unit tests
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
|
2020-09-22 17:39:17 +02:00 |
|
Convly
|
28beaaa932
|
Refactor validators and add better messages
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
|
2020-09-22 17:39:16 +02:00 |
|
Convly
|
df5dc17c75
|
Refactor cleanPermissionFields method
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
|
2020-09-22 17:39:16 +02:00 |
|
Convly
|
dfc852c350
|
Fix tests
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
|
2020-09-22 17:39:15 +02:00 |
|
Convly
|
f19bccc094
|
Add publish permission by default for editor and removes it from the authors
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
|
2020-09-22 17:39:15 +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 |
|
Alexandre Bodin
|
38d896f0ea
|
Fix schema handler set disgarding falsy values
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
|
2020-09-22 17:39:13 +02:00 |
|
soupette
|
f12a696824
|
Enable draft and publish by default
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-09-22 17:39:13 +02:00 |
|
soupette
|
4d61448ab4
|
Fix PR feedback
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-09-22 17:39:12 +02:00 |
|
soupette
|
7ec435b36e
|
Add draft/publish to CLI
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-09-22 17:39:12 +02:00 |
|
soupette
|
3b3ea84685
|
Fix trads
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-09-22 17:39:11 +02:00 |
|
soupette
|
126a612eee
|
Add draftAndPublish to generate-model and generate-api and update unit tests
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-09-22 17:39:11 +02:00 |
|
soupette
|
3aeafa8b54
|
Add draftAndPublish option to ct for create and update
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-09-22 17:39:10 +02:00 |
|
soupette
|
4b207e6cc0
|
Add D&P key to all models. Change UI modal divider
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-09-22 17:39:10 +02:00 |
|