34102 Commits

Author SHA1 Message Date
Josh
357a9ee3cb
fix(cm): errors leaking from draft to published tab (#19747) 2024-03-13 16:37:17 +00:00
Alexandre BODIN
ec8a0ecb9b
Merge pull request #19728 from strapi/v5/entity-service
chore: deprecate entity-service and delegate to document service
2024-03-13 17:03:21 +01:00
Jamie Howard
48a688e1d7
fix(i18n): close modal after successful locale creation (#19755) 2024-03-13 15:58:44 +00:00
Simone
6bfab40815
chore: remove awaitToJs setHexOpacity wrapAxiosInstance (#19753) 2024-03-13 15:37:46 +01:00
Josh
19b15f2f55
fix(strapi): vite crashes because files can't be found (#19751)
* fix(strapi): vite crashes because files can't be found

* chore: update error element
2024-03-13 13:22:07 +00:00
Marc Roig
fc1ac2acd5
feat: disable dp by default (#19743) 2024-03-13 14:08:07 +01:00
Marc Roig
364e8c4870
feat: migrate on dp enabling disabling (#19697) 2024-03-13 13:20:54 +01:00
Jamie Howard
579615d5d6
fix(admin): wip allow empty list view configuration (#19695) 2024-03-13 10:48:49 +00:00
Josh
a8498df926
feat(cm): reimplement relations for draft & publish (#19642)
* feat(content-manager): Rework findAvailable and findExisting (#19597)

* feat(content-manager): wip rework findAvailable and findExisting

* chore(strapi): simplify relations controller

* feat(content-manager): entity Id based find available

* feat(content-manager): entity Id based find existing

* fix(content-manager): build issues

* chore(content-manager): cleanup

* fix(content-manager): relations controllers unit tests

* fix(content-manager): improve error handling

* fix(content-manager): simplify findExisting relations logic

* fix(content-manager): clean up types

* fix(content-manager): extend available relation API tests

* fix(content-manager): pr feedback

* feat(content-manager): cover find existing test cases

* feat(content-manager): test that we can only find available relations in the same locale

* fix: wip fix unit tests

* chore(content-manager): pr feedback

* fix(content-manager): use db layer to find relations

fix(content-manager): failing relations tests

* fix(content-manager): find relations test

* fix(content-manager): build issues

* fix(content-manager): return latest status of relations in findAvailable (#19681)

* fix(content-manager): return latest status of relations in findAvailable

* fix(content-manager): share logic for findAvailable and findExisting

* fix(admin): relation tests

* fix(content-manager): clean up types

* fix(content-manager): support status for find exisiting

* fix(content-manager): add status and locale filters to subQuery

* fix(content-manager): ts front and skip relations unit tests

* fix(content-manager): request specific status or get latest using document-metadata

* chore(content-manager): use interface

* fix(content-manager): tidy up target relation subquery

* fix(content-manager): tidy up and skip TS for build issues

* fix(content-manager): return status when requested

* chore(content-manager): dont re type entity service response

* fix(content-manager): use document metadata getManyAvailableStatus

* chore(content-manager): remove mapAsync

* feat: implement relations in the cm (#19702)

* Fix: Relating i18n and non-i18n content types (#19731)

* chore: re-enable e2e relation tests

* fix: return undefined

---------

Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
Co-authored-by: Jamie Howard <jamie.howard@strapi.io>
Co-authored-by: Marc-Roig <marc12info@gmail.com>
2024-03-13 10:25:47 +00:00
Alexandre Bodin
5ffb3c7100 chore: deprecate entity-service and delegate to document service 2024-03-12 21:02:33 +01:00
Marc Roig
020096d91b
Merge pull request #19671 from strapi/v5/disable-dp
* feat: disable dp

* feat: keep draftAndPublish flag to enable feature

* feat: type publish methods not enabled

* fix: unit tests

* feat: do not compute status on non D&P content types

* chore: refactor CM, CTB & i18n to accomodate option D&P (#19712)

* chore: re-implement option in ctb

* chore: refactor CM & i18n to accomodate option D&P

* test(unit): add test to ensure status is not in EditView header when we dont pass the prop

* chore: remove unused import

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

---------

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

* feat: relations no dp (#19682)

---------

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
2024-03-12 19:01:32 +01:00
Marc-Roig
d30c4a72e5
fix: async import 2024-03-12 18:37:00 +01:00
Marc-Roig
423134764d
Merge branch 'v5/main' into v5/disable-dp 2024-03-12 18:32:44 +01:00
Marc Roig
f7d9269c38
feat: relations no dp (#19682) 2024-03-12 18:20:17 +01:00
Marc Roig
fae62f5d32
fix: remove regex validation when validating locale (#19713)
---------

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2024-03-12 17:30:53 +01:00
Rémi de Juvigny
6ded4328d3
feat: add basic pagination to history frontend (#19729)
* feat: handle history version pagination params

* fix: ts build error

* chore: validate pagination params

* chore: pr feedback and test

* feat: show pagination ui

* fix: no history version selected

* chore: change default history page size to 20

* fix: don't redirect to old version

* fix: add comment
2024-03-12 10:53:02 +01:00
Josh
51e6287693
chore: refactor CM, CTB & i18n to accomodate option D&P (#19712)
* chore: re-implement option in ctb

* chore: refactor CM & i18n to accomodate option D&P

* test(unit): add test to ensure status is not in EditView header when we dont pass the prop

* chore: remove unused import

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

---------

Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
2024-03-11 15:16:41 +00:00
Alexandre BODIN
f4394eccff
Merge pull request #19733 from strapi/v5/i18n-cleanup-grapql
chore: cleanup i18n dead code
2024-03-11 16:12:36 +01:00
Alexandre Bodin
0f374b47b1 chore: cleanup i18n dead code 2024-03-11 15:05:27 +01:00
Josh
af3c6ff7bd
chore(helper-plugin): deprecate MORE components (#19718) 2024-03-11 12:00:00 +00:00
Ben Irvin
ab2af1e539
fix(core): use module uid for config namespace instead of dot notation 2024-03-11 12:28:46 +01:00
Josh
0031649552
chore!: remove aliases from webpack & force installing deps (#19716)
* chore!: remove aliases from webpack

* chore!: force installing the dependencies we require to be at project level
2024-03-11 11:27:30 +00:00
Alexandre BODIN
377d47860d
Merge pull request #19725 from strapi/v5/refactor-utils
chore: refactor utils
2024-03-11 09:01:38 +01:00
Alexandre Bodin
8d53207f8e chore: remove template configuration from utils 2024-03-09 13:08:41 +01:00
Alexandre BODIN
288332e352
Merge pull request #19685 from strapi/v5/graphql-schema-changes
chore: graphql v5 schema changes
2024-03-08 16:47:09 +01:00
Alexandre Bodin
92e54aa49f chore: cleanups 2024-03-08 14:07:59 +01:00
Alexandre Bodin
4b8513e6df chore: migration upload plugin 2024-03-08 10:59:36 +01:00
markkaylor
576ffbcdc9
feat(history): protect history page (#19689) 2024-03-08 09:33:44 +01:00
Alexandre Bodin
279eb4479d chore: migrate graphql plugin to v5 2024-03-07 21:12:36 +01:00
Josh
7e9e855598
fix: list-view delete action (#19711)
* fix: list-view delete action

* chore: better name `match`
2024-03-07 17:55:42 +00:00
Alexandre BODIN
6e2a4af322
Merge pull request #19700 from strapi/v5/i18n
chore: clean i18n code that is no longer necessary
2024-03-07 15:44:45 +01:00
Rémi de Juvigny
6408670a35
feat: handle history version pagination params (#19594)
* feat: handle history version pagination params

* fix: ts build error

* chore: validate pagination params

* chore: pr feedback and test
2024-03-07 14:43:37 +01:00
Marc
d1272049f2 Merge branch 'v5/main' into v5/disable-dp 2024-03-07 13:12:03 +01:00
Alexandre Bodin
7dc045da66 chore: clean i18n code that is no longer necessary 2024-03-07 11:39:42 +01:00
Josh
741baba5b5
chore(helper-plugin)!: remove useCollator, useFilter & useCallbackRef (#19680) 2024-03-06 16:46:08 +00:00
Josh
af9a903223
chore!: remove GenericInput (#19677)
* chore!: remove GenericInput

* fix: translation messages and incorrect values

* chore: pr amends
2024-03-06 15:36:41 +00:00
Bassel Kanso
555e45664e
Merge pull request #19694 from strapi/fix/audit-logs-contentType
Fix: audit logs content type
2024-03-06 15:51:27 +02:00
Bassel Kanso
67ccead200 fix: add plugin and globalId key to auditLogContentType 2024-03-06 13:33:06 +02:00
Marc
9c51bcfcc5 feat: do not compute status on non D&P content types 2024-03-06 10:38:09 +01:00
Rémi de Juvigny
2363945b79
feat: add history document action (#19683)
* feat: add history document action

* feat: only show when feature is enabled

* chore: rename file

* fix: useless scrollable bottom space

* chore: move feature flag check

* fix: document action tests

* chore: pr feedback

* fix: build

* fix: use the right icon
2024-03-06 10:28:34 +01:00
Rémi de Juvigny
d28dfbfc54
feat(cm): add content history under future flag (#19315)
feat(cm): add content history
2024-03-05 18:34:01 +01:00
Jamie Howard
6679b9c1d9
fix(content-manager): compute document status based on locale (#19653) 2024-03-05 15:51:53 +00:00
Mark Kaylor
a47d2a8c43 chore: use env var to enable future flag 2024-03-05 16:15:09 +01:00
Mark Kaylor
e924226e15 fix: remove component that no longer exists 2024-03-05 16:14:50 +01:00
Mark Kaylor
a66996c929 Merge branch 'v5/main' of github.com:strapi/strapi into v5/history 2024-03-05 16:05:05 +01:00
Josh
cbe7d7a488
chore(helper-plugin)!: remove page decorators (#19662)
* chore(helper-plugin): remove page decorators

* chore: fixes
2024-03-05 14:53:55 +00:00
Marc-Roig
beccc55fe0
fix: unit tests 2024-03-05 15:10:20 +01:00
Marc-Roig
c7631edaca
feat: type publish methods not enabled 2024-03-05 14:49:03 +01:00
Josh
04432e811a Merge branch 'develop' into v5/main 2024-03-05 10:25:15 +00:00
Josh
0c3bbf6175
chore(deps): update ds to 1.16.0 (#19678) 2024-03-05 10:17:26 +00:00