1189 Commits

Author SHA1 Message Date
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
Alexandre BODIN
8dc428d4d4
Merge pull request #20017 from strapi/v5/document-service-api
Improvement to the doc service API
2024-04-08 15:02:54 +02: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
Alexandre BODIN
a806043f96 Merge branch 'v5/main' into v5/document-service-api 2024-04-08 11:22:28 +02:00
Alexandre Bodin
2b548ef558 chore: create updateEntry 2024-04-05 14:08:18 +02:00
Josh
b86306c946
chore(cm): fix peer-deps (#20049) 2024-04-05 12:48:13 +01:00
Alexandre Bodin
5e5bcf8c8f chore: improve middleware api 2024-04-05 11:34:41 +02:00
Alexandre Bodin
57ef329165 chore: make document service method take a single argument object 2024-04-05 11:34:40 +02:00
Alexandre Bodin
544d55dc42 chore: simplify components api in doc service and fix some typings 2024-04-05 11:34:10 +02: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
Alexandre Bodin
bf35cde68f chore: update koa-body 2024-04-03 22:48:48 +02:00
Alexandre Bodin
ae6067744d chore: update koa libs 2024-04-03 20:43:34 +02:00
Alexandre BODIN
c9159be3ec
Merge pull request #19943 from strapi/v5/core
chore: internal core refactorings
2024-04-03 17:37:12 +02:00
Alexandre Bodin
13a7fe96d1 v5.0.0-beta.2 2024-04-03 17:35:15 +02:00
Alexandre Bodin
c224439564 fix: middleware type 2024-04-03 14:24:40 +02:00
Alexandre Bodin
26a9719787 chore: apply feedbacks 2024-04-03 14:24:15 +02:00
Alexandre Bodin
55ae34e5dc chore: introduce providers to simplify main class 2024-04-03 14:24:15 +02:00
Alexandre Bodin
daf629fd13 chore: remove loadedStrapi and init everything but admin in constructor 2024-04-03 14:24:15 +02:00
markkaylor
971168147b
chore(history): simplify the meta object (#19990) 2024-04-02 13:49:09 -04:00
Ben Irvin
2ef71bdf4c Merge branch 'develop' into v5/main 2024-04-02 16:25:24 +02:00
Ben Irvin
cf82c830d8
test: restructure test dirs 2024-04-02 11:19:43 +02: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
Marc-Roig
a45a0cfabf chore: release 5.0.0-beta.1
Co-Authored-By: Marc Roig <20578351+Marc-Roig@users.noreply.github.com>
2024-03-27 16:22:20 +00:00
Convly
734763e575 Merge branch 'releases/4.21.1' into develop 2024-03-27 16:58:10 +01:00
Convly
32d9b66e63 v4.21.1 2024-03-27 16:53:59 +01:00
Marc Roig
343968041b
fix: relations lazy loading (#19932) 2024-03-26 13:44:21 +01:00
Alexandre Bodin
3f6a8109ea chore: introduce query-params service to remove strapi.global dep in utils 2024-03-25 14:03:32 +01:00
Alexandre Bodin
fed8ac1cb7 chore: remove usage of strapi global in traverse 2024-03-25 08:52:10 +01:00
markkaylor
c184e9d81f
fix(history): update type (#19878) 2024-03-21 17:02:13 +01:00
markkaylor
1c2f2708ff
feat(history): diff schemas to get unknown attributes (#19849) 2024-03-21 15:20:57 +01:00
Alexandre Bodin
f8ef062eb5 Merge branch 'releases/5.0.0-beta.0' into v5/main 2024-03-20 16:05:47 +01:00
Alexandre Bodin
4b2e592f77 v5.0.0-beta.0 2024-03-20 16:00:06 +01:00
Alexandre Bodin
894c8f40f3 v5.0.0-alpha.5 2024-03-20 15:54:53 +01:00
Alexandre Bodin
d536f44a9a v5.0.0-alpha.4 2024-03-20 15:44:45 +01:00
Alexandre Bodin
24b9de6705 Merge branch 'releases/v5-beta' into v5/main 2024-03-20 15:19:07 +01:00
Marc Roig
024626cf43
Releases/4.21.0 (#19854) 2024-03-20 15:12:40 +01:00
Alexandre Bodin
1c6cf2ae9f v5.0.0-alpha.3 2024-03-20 15:08:03 +01:00
Convly
670c292117 Merge branch 'v5/main' of github.com:strapi/strapi into v5/types/v2 2024-03-20 14:22:44 +01:00
Alexandre Bodin
de9951b5bd Merge branch 'releases/v5-beta' into v5/main 2024-03-20 13:02:25 +01:00
Convly
d671c5698d Merge branch 'v5/main' of github.com:strapi/strapi into v5/types/v2 2024-03-20 08:51:37 +01:00