79 Commits

Author SHA1 Message Date
Bassel Kanso
dfd5bbf8d6
Merge branch 'v5/main' into v5/replace-axios 2024-04-24 09:41:49 +03:00
Bassel Kanso
620bcfe40d fix: content-manager build 2024-04-24 08:20:56 +03:00
markkaylor
bdaafbbb3c
chore(history): add api tests (#20157) 2024-04-23 10:50:47 +02:00
Bassel Kanso
403e00ab42 Merge branch 'v5/main' into v5/replace-axios 2024-04-18 18:25:23 +03:00
markkaylor
113a853206
fix: add render prop to use VersionInputRenderer (#20139) 2024-04-18 14:26:17 +02:00
Rémi de Juvigny
d23c1d5b0e
chore: remove history future flag (#20131) 2024-04-17 11:20:32 +02:00
markkaylor
b2d2f81797
feat: add confirmation modal when restoring history version (#20106)
Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com>
2024-04-17 10:13:36 +02:00
Bassel Kanso
7cf2162702 Merge branch 'v5/main' into v5/replace-axios 2024-04-17 09:26:51 +03:00
Rémi de Juvigny
abaeef8b3c
fix: history design details (#20122) 2024-04-16 08:04:19 -04:00
markkaylor
b4f819aae7
feat(history): restore version (#20102) 2024-04-16 09:18:33 +02:00
Bassel Kanso
1dd94812c4 Merge branch 'v5/main' into v5/replace-axios 2024-04-15 20:00:47 +03:00
Bassel Kanso
f41be330aa chore: remove axios from packages and edit some tests 2024-04-15 19:47:36 +03:00
Rémi de Juvigny
63d7006f9e
enhancement: add history license check (#20099)
* enhancement: add history license check

* fix: add history to default license data
2024-04-12 13:07:16 -04:00
Marc Roig
01a203b446
feat: move rw to plugin (#19937)
* chore: initiate moving CM to own package

* chore: refactor to handle routes

* chore: init review-workflows-package

* chore: fix build

* chore: refactor review-workflows fe

* chore: fix unit suite

* feat: move rw to plugin

* fix: build

* fix: start up

* chore: clean things up

* fix: peer dependencies

* chore(wip): refactor rw fe

* chore: re-add admin ui

* chore: fix tests & linter

* chore: re-implement drag layer

* fix: type

* feat: review-workflow middlewares

* chore: send params to CM endpoints

* fix: use layout options as well, let that have the final say, just incase

* feat: use doc id and locale for entity assignee and stage

* fix: api tests

* fix: cm updates when we update fields

* chore: cleanup edit-view e2e tests

* fix: build

* fix: useDocumentLayout for RW options

* test: fix fe tests

* fix: ts

* test(e2e): add review-workflow e2e tests

* chore: fix bad import for cli tests

* chore: delete old e2e data

* chore: import EVERYTHING for DTS

* chore: update dataset

* fix: e2e script

* fix: stage permissions

* chore: remove duplicate settings menu link

* fix: workflow middleware

* chore: change permission

* test(e2e): fix RW tests

* chore: ignore dynamic attributes in DTS

Co-Authored-By: Jean-Sébastien Herbaux <25851739+Convly@users.noreply.github.com>

* chore: make settings rw e2e run on EE only

* test(e2e): fix them all pls

* fix: admin stage transition uid name

* chore: fix firefox e2e ce tests

---------

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
Co-authored-by: Jean-Sébastien Herbaux <25851739+Convly@users.noreply.github.com>
2024-04-12 10:58:38 +02:00
markkaylor
a1b6aeee27
fix(history): update relations display (#20081) 2024-04-10 17:27:04 +02:00
markkaylor
0a031cc777
feat(history): display new and unknown fields (#20039) 2024-04-10 14:51:10 +02:00
Bassel Kanso
9e8dcb640e Merge branch 'v5/main' into v5/replace-axios 2024-04-09 15:07:12 +03:00
Bassel Kanso
7ca9df7f9d chore: error handling for fetch 2024-04-08 21:43:37 +03:00
Josh
f31eabd7d2
feat(admin): rbac middleware (#19949)
* feat: rbac middleware

* chore: make the entire function curried
2024-04-08 16:31:07 +01:00
Bassel Kanso
65df420943 chore: replacing axios with native fetch 2024-04-08 17:31:38 +03:00
Rémi de Juvigny
30dc322a9b
enhancement: display relations on history page (#20054)
* feat: add relation data to history versions response

* fix: restore unknown attributes

* fix: admin test ts errors

* chore: mark feedback

* feat: show missing relations/assets banner

* enhancement: display relation input in history

* fix: bg color, non sticky header, bottom padding

* chore: use RelationResult type

* fix: relations empty view

* chore: add useField generic type
2024-04-08 08:20:14 -04:00
Rémi de Juvigny
163e91acfe
enhancement: add relation data to history versions response (#20035)
* feat: add relation data to history versions response

* fix: restore unknown attributes

* fix: admin test ts errors

* chore: mark feedback
2024-04-04 17:31:51 -04:00
Jamie Howard
66039c144d
(content-manager): ask for confirmation of d&p tab change (#19912)
* feat(content-manager): ask for confirmation of d&p tab change when form is modified

* fix(admin): controlled tabs

* chore(admin): types

* chore: update design-system to 1.17.0
2024-04-04 14:36:25 +01:00
markkaylor
971168147b
chore(history): simplify the meta object (#19990) 2024-04-02 13:49:09 -04:00
Josh
56f8262f9d Merge branch 'v5/main' of github.com:strapi/strapi into v5/main 2024-04-02 10:12:18 +01:00
Josh
660b779c4c Merge branch 'develop' into v5/main 2024-04-02 10:11:20 +01:00
Jamie Howard
43b9e91c67
feat(i18n): non localized fields (#19720)
* feat(i18n): wip non localized fields

* feat(i18n): use document service middleware for non localized fields

* feat(i18n): support component data in non localized sync

* chore(i18n): cleanup and fix unit tests

* fix(i18n): reintroduce permissions sync

* test(i18n): api test for non localized fields

* feat(i18n): add earth icon to symbolise localised fields (#19774)

* test(i18n): cover publish, unpublish, update and create in api tests

* feat(i18n): ensure non localized fields are populated

* fix(i18n): get right id

* fix(content-manager): doc metadata in non d&p cases

* fix(conent-manager): i18n detection

* fix: pr feedback

* fix(i18n): handle non localized components

* feat(i18n): sync non localized components

* fix(i18n): wip unit test

* feat(i18n): handle relations within non localized components

* feat(i18n): reintroduce FE and fix for repeatables

* chore: lockfile

* chore(i18n): cleanup

* chore(i18n): cleanup

* feat(i18n): match relation locales to source entry during transformation

* fix(i18n): unit tests

* fix(i18n): getNonLocalizedAttributes

* chore(i18n): fix unit tests

* chore(i18n): pr feedback

* chore(i18n): pr feedback

* fix(i18n): unit tests

---------

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2024-04-02 10:08:10 +01:00
Ben Irvin
b003dee48e
chore: upgrade prettier to 3.2.5 2024-03-29 14:39:52 +01:00
Josh
94f313a12e
chore: move CM admin to own package (#19929)
* chore: initiate moving CM to own package

* chore: refactor to handle routes

* chore: init review-workflows-package

* chore: fix build

* chore: refactor review-workflows fe

* chore: fix unit suite

* chore: spelling mistake

Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>

---------

Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
2024-03-28 13:26:44 +00:00