14487 Commits

Author SHA1 Message Date
markkaylor
782d2acf66
fix(history): save status on version create (#19737) 2024-03-15 11:58:54 +01:00
Alexandre Bodin
45c1c52b0b fix: draftAndPublish default to false 2024-03-15 11:10:44 +01:00
Ben Irvin
fc9cfcfff7
fix: reserve attribute name 'locale' in CTB 2024-03-15 10:42:49 +01:00
Fernando Chavez
ac00451e43 fix errors 2024-03-14 16:39:15 +01:00
Fernando Chavez
3523c1f7cf create custom error for release actions 2024-03-14 16:16:00 +01:00
Simone
85f4bdc214
chore: helper-plugin remove prefixFileUrlWithBackendUrl (#19764)
* chore: remove prefixFileUrlWithBackendUrl from the helper plugin

* chore: move the prefixFileUrlWithBackend in an util inside the admin

* chore: remove commented code
2024-03-14 15:26:13 +01:00
Simone
400683a72c
chore: remove request and once from the helper plugin utils (#19775)
* chore: remove request and once from the helper plugin utils

* chore: fix migration guide typo
2024-03-14 14:58:56 +01:00
Fernando Chavez
9403426835 feat(content-releases): new create many release actions endpoint 2024-03-14 14:45:35 +01:00
Marc Roig
cdef1de0b1
chore: mark doc service as beta (#19767)
* chore: mark doc service as beta

* Update packages/core/types/src/index.ts

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>

---------

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2024-03-14 12:10:17 +01:00
Simone
11079442a1
chore: remove pxToRem and replace it with the returning value of the function (#19771)
* chore: remove pxToRem from the helper plugin utils

* chore: fix prettier errors
2024-03-14 11:18:35 +01:00
Alexandre BODIN
5dca68fa39
Merge pull request #19770 from strapi/v5/database-enh
chore: database enhancements
2024-03-14 10:49:10 +01:00
Fernando Chávez
676c9d44c8
Merge pull request #19754 from strapi/feat/scheduling-stable
feat(content-releases): removing scheduling future flag for stable release
2024-03-14 10:04:11 +01:00
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
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 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
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
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
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
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
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