33914 Commits

Author SHA1 Message Date
Convly
d74bbdbd7f fix: add support for relation reordering APIs and objects 2023-12-08 11:13:08 +01:00
markkaylor
6eaefa820c
feat(content-releases): list releases with content type entry (#18999) 2023-12-08 10:44:49 +01:00
Convly
299d0804d7 chore: fix lint issue 2023-12-08 09:32:54 +01:00
Fernando Chávez
35f56a0444
feat(core): add feature flags (#18871)
Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2023-12-08 09:19:31 +01:00
Convly
a82ae60e6a feat: install dependencies during the upgrade process 2023-12-08 09:16:16 +01:00
Convly
77d33f18e0 feat: upgrade the strapi dependencies in project's package.json
Co-authored-by: Ben Irvin <ben@innerdvations.com>
2023-12-08 09:10:25 +01:00
Alexandre Bodin
f0bbaa2bc9 chore: fix pkg json to make them yalc compat 2023-12-07 18:27:34 -08:00
Jamie Howard
40ef34cbcd
(content-manager): types for component service (#18869) 2023-12-07 11:58:14 +00:00
markkaylor
7ff846c468
feat(content-releases): add findManyForContentTypeEntry (#18976) 2023-12-07 10:28:45 +01:00
ELABBASSI Hicham
09496b2288
Merge pull request #18984 from strapi/chore/convert-review-workflows-page
chore(admin): convert review workflows page to TS
2023-12-07 09:42:24 +01:00
Fernando Chávez
1cab7003f9
feat(content-releases): publish a release (#18973)
* feat(content-releases): publish a release

* feat(content-releases): publish is enabled if you have releases publish permissions

* chore(content-releases): Mark's feedback

* Update packages/core/content-releases/server/src/services/release.ts

Co-authored-by: markkaylor <mark.kaylor@strapi.io>

---------

Co-authored-by: markkaylor <mark.kaylor@strapi.io>
2023-12-07 09:35:57 +01:00
Josh
8248335ad3 fix: use empty string for default id so we don't try to stringify undefined 2023-12-06 22:41:51 +01:00
Josh
a7b1360f24 fix(cm): export some types for building 2023-12-06 22:41:51 +01:00
HichamELBSI
59a6b3828b chore(admin): convert review workflows page to TS (fix feedback) 2023-12-06 22:41:51 +01:00
HichamELBSI
31c6013e13 chore(admin): convert review workflows page to TS 2023-12-06 22:41:51 +01:00
Convly
997b3498fc chore: remove debug comments 2023-12-06 18:14:23 +01:00
Convly
6896b1dc9b chore: format code (prettier) 2023-12-06 18:14:17 +01:00
Convly
1b089e5804 feat: upgrade tool refactor for updated specs (v5) 2023-12-06 18:10:23 +01:00
Josh
ac7ce4ebf2
chore(content-manager): convert cm app shell to TS (#18985) 2023-12-06 16:51:55 +00:00
Josh
e85a23d937
fix(permissions): circular dependency (#18986)
* fix(permissions): circular dependency

* Apply suggestions from code review

Co-authored-by: Ben Irvin <ben@innerdvations.com>

* Apply suggestions from code review

Co-authored-by: Jean-Sébastien Herbaux <jean-sebastien.herbaux@epitech.eu>

---------

Co-authored-by: Ben Irvin <ben@innerdvations.com>
Co-authored-by: Jean-Sébastien Herbaux <jean-sebastien.herbaux@epitech.eu>
2023-12-06 08:47:11 +00:00
Bassel Kanso
8e2421b559
Merge pull request #18966 from strapi/fix/deep-populate-dynamiczone
fix deep query populate issue on dynamic zone
2023-12-05 19:57:16 +02:00
Josh
295178369f
chore(cm): convert recursive layouts to TS (#18983) 2023-12-05 16:03:14 +00:00
Josh
327b3dcd83
fix(content-manager): add memoization to params object to stop recursion (#18982) 2023-12-05 15:29:09 +00:00
markkaylor
f803c8a5b6
feat(content-releases): add delete release action endpoint (#18943) 2023-12-05 11:00:29 +01:00
Jen Tak
5fc763775e
Register logger middleware before errors middleware (#16921)
In the examples and project templates the "errors" middleware which turn
thrown errors into HTTP responses is registered before the "logger"
middleware. This causes any errors thrown in controllers to pierce
through the logger middleware resulting in these requests not being
logged.

Eg. when a controller throws a ValidationError the resulting HTTP 400
request is not logged at all.

Change the order of middleware registration so that the logger is
'above' the errors middleware and has a chance to log *all* requests.

Co-authored-by: DMehaffy <derrickmehaffy@gmail.com>
2023-12-05 09:28:41 +01:00
Alexandre Bodin
25f085aafc Merge branch 'v5/main' into v5/core-split 2023-12-04 21:49:23 -08:00
Josh
f1dd5cc8ee
chore(content-manager): convert the editview to typescript (#18948) 2023-12-04 16:00:50 +00:00
Ben Irvin
24dabd281e
chore: update knex to 3.0.1 (#18936) 2023-12-04 16:17:10 +01:00
markkaylor
76f8b2fb15
feat(content-releases): add endpoint to update a release action (#18946) 2023-12-04 14:14:00 +01:00
Simone
b4936e04a9
feat(content-releases): Edit Release (#18956)
* first draft implementation edit release

* add dialog unit test

* add permission to the edit button

* add permissions type and remove old unit test

* add createAction to the PermissionMap

* fix type errors

* fix unit test

* fix lint error

* fix review comments

* change state naming

* change dialog to modal
2023-12-04 13:58:29 +01:00
Ben Irvin
c38881e08d
chore: update typescript to 5.3.2 (#18938) 2023-12-04 11:47:05 +01:00
Fernando Chávez
9b4c03b10b
chore(content-releases): Add entries to content-releases' actions (#18918)
* chore(content-releases): add entries to content releases actions

* chore(content-releases): add entries relation to findMany content-release's actions

* chore(content-releases): improve findOne with actions code

* chore(Content-releases): remi feedback

* chore(content-releases): fix getReleaseActions response type

* chore(content-releases): change findOne and findActions endpoints

* chore(content-releases): fix error in release's tests

* chore(content-releases): use queryBuilder from strapi.db

* chore(content-releases): use queryBuilder from strapi.db
2023-12-04 10:10:51 +01:00
Alexandre Bodin
f7ee47fc7f chore: add yalc 2023-12-01 18:36:41 +01:00
Josh
865fdcc5d9
chore(workflows): update unit_front to use node 20 (#18962) 2023-12-01 17:25:35 +00:00
Bassel Kanso
d58362aec0 fix deep query populate issue on dynamic zone 2023-12-01 12:43:12 +02:00
Alexandre Bodin
efd534b8a8 chore: use yalc to run e2e tsts 2023-12-01 11:30:16 +01:00
Alexandre Bodin
b373446907 Merge branch 'v5/main' into v5/core-split 2023-12-01 10:29:58 +01:00
Alexandre Bodin
83daf0117c Merge branch 'develop' into v5/main 2023-12-01 10:29:48 +01:00
markkaylor
4f6722c6d4
feat(content-releases): add create release action to cm edit view (#18905) 2023-12-01 09:27:16 +01:00
dependabot[bot]
63eaab0923
chore(deps): bump @adobe/css-tools from 4.3.1 to 4.3.2 (#18961) 2023-12-01 07:23:04 +00:00
Josh
3301d58a39
chore(deps): update DS to 1.13.2 (#18959)
* chore(deps): update DS to 1.13.2

* chore: update snapshots
2023-11-30 16:37:04 +00:00
Alexandre Bodin
61cd845498 Merge branch 'v5/main' into v5/core-split 2023-11-30 16:51:18 +01:00
Alexandre Bodin
e0de993d4a Merge branch 'develop' into v5/main 2023-11-30 16:42:36 +01:00
Alexandre Bodin
6b35da10af Merge branch 'main' into develop 2023-11-30 16:32:56 +01:00
Josh
d5f620ac3b
Merge pull request #18947 from strapi/releases/4.15.5
Releases/4.15.5
2023-11-30 15:19:08 +00:00
Mark Kaylor
f486f51567 fix: update frontend snapshots after downgrade 2023-11-30 15:56:13 +01:00
Mark Kaylor
675d60f265 fix: downgrade @strapi/icons to match main 1.13.0 2023-11-30 14:16:07 +01:00
Josh
dfec2ca3fc
chore(i18n): convert middlewares to TS (#18957) 2023-11-30 11:58:42 +00:00
Simone
8145b7becc
feat(content-releases): Releases list page UI implementation (#18884)
* first draft implementation Releases page

* fix some comments

* refactor releases page and its logic

* add a more readable comment

* fix rtk transformResponse return type

* add unit test changing tab

* add unit test with mixed content

* fix type response error

* remove log

* fix review comments

* fix review comments

* reduce releases page unit test code

* test AddReleaseDialog

* remove useless mocked data and fix comments syntax

* refactor releases filters

* remove empty line

* add TODO
2023-11-30 12:22:27 +01:00
Alexandre Bodin
a4814d75e4 chore(core): split strapi/strapi & strapi/core 2023-11-30 12:18:04 +01:00