36133 Commits

Author SHA1 Message Date
Fernando Chavez
74e83dd1df remove unnecessary translation 2024-03-14 09:41:58 +01:00
Josh
0f4345f52f
chore!: refactor filters (#19739) 2024-03-14 08:00:17 +00:00
Simone
794f5522b5
chore: remove getFileExtension and replace it with its code where used (#19762)
* chore: remove getFileExtension and replace it with its code where used

* chore: create a getFileExtension util in upload with its test
2024-03-13 22:54:00 +01:00
Marc Roig
d9f9c0cd21
fix: correctly set new date (#19766) 2024-03-13 22:21:20 +01:00
Alexandre Bodin
a95285578b chore: database enhancements 2024-03-13 22:13:40 +01:00
Simone
d87468f098
chore: helper plugin remove difference util (#19757)
* chore: remove awaitToJs setHexOpacity wrapAxiosInstance

* chore: move difference util from helper-plugin to admin where it is used
2024-03-13 21:03:55 +01:00
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
markkaylor
78ea7925e0
chore(release): merge 4.20.5 into develop (#19760)
chore(release): merge 4.20.5 into develop
2024-03-13 16:07:11 +01:00
Mark Kaylor
7a2a86e65f v4.20.5 v4.20.5 2024-03-13 15:49:11 +01: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
Fernando Chavez
5cd7dce98d feat(content-releases): removing scheduling future flag for stable release 2024-03-13 13:57:54 +01:00
Marc Roig
364e8c4870
feat: migrate on dp enabling disabling (#19697) 2024-03-13 13:20:54 +01:00
Convly
c8836c003b chore: update upgrade test 2024-03-13 12:01:58 +01:00
Convly
a8e77a1506 feat: add support for react files in codemods 2024-03-13 11:56:07 +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
Fernando Chávez
298c6fc616
Merge pull request #19631 from strapi/feat/scheduling-with-multiple-instances
feat(content-releases): scheduling in multiple strapi instances
2024-03-13 09:51:29 +01: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
Derrick Mehaffy
d8a676a242 feat: Add keycloak native users-permissions provider 2024-03-12 08:40:34 -07:00
Convly
836a1eabf7 Merge branch 'v5/main' of github.com:strapi/strapi into v5/types/v2 2024-03-12 11:50:42 +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
Fernando Chavez
6a9b4d7de8 Merge branch 'develop' of github.com:strapi/strapi into feat/scheduling-with-multiple-instances 2024-03-12 10:21:58 +01:00
Fernando Chavez
0c7338a03d apply marks feedback 2024-03-12 10:21:52 +01:00
Jean-Sébastien Herbaux
3f5329a884
chore: add todo to use typeguard instead of casting
Co-authored-by: Ben Irvin <ben.irvin@strapi.io>
2024-03-12 09:57:59 +01:00
Jean-Sébastien Herbaux
ed2c5e7152
fix: use the correct Strapi type
Co-authored-by: Ben Irvin <ben.irvin@strapi.io>
2024-03-12 09:57:32 +01:00
Jean-Sébastien Herbaux
c6ec4ef645
chore: extract complex generic to its own type
Co-authored-by: Ben Irvin <ben.irvin@strapi.io>
2024-03-12 09:45:31 +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
Convly
77476c7c86 fix: lint 2024-03-11 13:55:50 +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
Convly
011d316a00 Merge branch 'v5/main' into v5/types/v2 2024-03-11 12:15:50 +01: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
markkaylor
a9d79bec77
fix(content-releases): exclude release content-types from graphql (#19703) 2024-03-08 14:39:10 +01:00
Alexandre Bodin
92e54aa49f chore: cleanups 2024-03-08 14:07:59 +01:00
Madhuri Sandbhor
7a700b4bbd
fix(content-releases): Limit min date selection to schedule a release (#19636)
* fix: min date considering selected timezone added for scheduling

* fix: e2e test updated for selecting always current date

* test: temp adding a small version of test to check its status

* fix: reverted some part of code to test the ci failure

* update: to setting time by 45 ahead of current clock

* fix: replaced concatenation symbol _ with & , as _ is also a part of timezone sometimes

* fix: escape character &
2024-03-08 13:59:12 +01:00
Alexandre Bodin
4b8513e6df chore: migration upload plugin 2024-03-08 10:59:36 +01:00