295 Commits

Author SHA1 Message Date
Alexandre Bodin
792129f7b4 chore: make document service api more consistent 2024-04-24 18:15:02 +02:00
Mark Kaylor
e765f29187 fix(tests): update history api tests to created ids 2024-04-24 17:26:58 +02:00
Bassel Kanso
0ec9224844
Merge branch 'v5/main' into v5/remove-root-level-nested-params 2024-04-24 08:17:45 +03:00
markkaylor
bdaafbbb3c
chore(history): add api tests (#20157) 2024-04-23 10:50:47 +02:00
Bassel Kanso
ab542129d2 fix: removed root-level nested params
Co-authored-by: Jean-Sébastien Herbaux <Convly@users.noreply.github.com>
2024-04-22 15:03:33 +03:00
Marc Roig
b4e42e332d
feat: refactor test in transaction util (#20145)
* feat: refactor test in transaction util

* fix: remove dp tests

* fix: failing api test
2024-04-18 16:10:35 +02:00
Ben Irvin
a7cf7e50ee
fix: u&p service hashes password attributes 2024-04-18 15:58:46 +02:00
Ben Irvin
7237fd8ce0
fix(database): add prefixed alias to avoid join column name conflicts 2024-04-17 15:14:37 +02:00
Rémi de Juvigny
d23c1d5b0e
chore: remove history future flag (#20131) 2024-04-17 11:20:32 +02:00
markkaylor
80e532931b
chore: merge develop into v5/main (#20126) 2024-04-16 18:06:25 +02:00
Fernando Chávez
de4c825033
tests(content-releases): add API tests for Content Releases (#20048)
* tests(content-releases): add API tests for Content Releases

* apply marc comments

* test

* make each test case independent from each other

* test
2024-04-16 15:34:21 +02:00
Ben Irvin
18019758d6
enhancement!: create sends 201 status code 2024-04-15 14:03:47 +02:00
Jamie Howard
106357a17f
fix(api-test): number of draft relations (#20101)
* fix(api-test): number of draft relations

* chore: clean up
2024-04-12 16:05:28 +01:00
Marc Roig
01a203b446
feat: move rw to plugin (#19937)
* 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

* feat: move rw to plugin

* fix: build

* fix: start up

* chore: clean things up

* fix: peer dependencies

* chore(wip): refactor rw fe

* chore: re-add admin ui

* chore: fix tests & linter

* chore: re-implement drag layer

* fix: type

* feat: review-workflow middlewares

* chore: send params to CM endpoints

* fix: use layout options as well, let that have the final say, just incase

* feat: use doc id and locale for entity assignee and stage

* fix: api tests

* fix: cm updates when we update fields

* chore: cleanup edit-view e2e tests

* fix: build

* fix: useDocumentLayout for RW options

* test: fix fe tests

* fix: ts

* test(e2e): add review-workflow e2e tests

* chore: fix bad import for cli tests

* chore: delete old e2e data

* chore: import EVERYTHING for DTS

* chore: update dataset

* fix: e2e script

* fix: stage permissions

* chore: remove duplicate settings menu link

* fix: workflow middleware

* chore: change permission

* test(e2e): fix RW tests

* chore: ignore dynamic attributes in DTS

Co-Authored-By: Jean-Sébastien Herbaux <25851739+Convly@users.noreply.github.com>

* chore: make settings rw e2e run on EE only

* test(e2e): fix them all pls

* fix: admin stage transition uid name

* chore: fix firefox e2e ce tests

---------

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
Co-authored-by: Jean-Sébastien Herbaux <25851739+Convly@users.noreply.github.com>
2024-04-12 10:58:38 +02:00
Alexandre Bodin
fcf6fc7ba3 chore: separate doc & entries logic more 2024-04-11 17:48:05 +02:00
Simone
463b44b975
fix(content-releases): fix e2e test (#20094) 2024-04-11 17:10:52 +02:00
Marc Roig
450055e5af
release: 4.23.0 to develop (#20078)
* feat(releases): add release column to CM list view (#19926)

* draft: bulk release injection zone added

* chore: implement cm-api to strapi-app & description component renderer

* feat: bulk delete action

* Revert "draft: bulk release injection zone added"

This reverts commit 2d9e8872e847327888d988009fa16f91b5f1c777.

* feat: bulk unpublish action added

* feat: default bulk publish action

* fix: variable renaming

* fix: on close of modal updated and refetched list on publish action completion

* fix: removed IZ publish and unpublish modals, e2e tests added for default bulk actions

* tests: e2e updated for publish button disabled state

* fix: bug fixed on publishing with already published entries

* fix: e2e tests

* fix: reverted IZ components

* feat: bulk release action added

* update: check right permissions to show add to release button

* update: bulk actions modal updated to accept content(modalbody+modalfooter), publish action and release actions updated accordingly

* fix: types

* test: bulk release e2e test added

* fix: e2e test

* fix: test case timeout added, notification component updated to not saved message

* feat: inject release column in LV

* fix: minor changes

* fix: remove commented code

* fix: upgraded styled components to fix the error: defaultProps circularly references

* feat(content-releases): add to be released in column in list view

* fix: types and 0 releases entry

* fix: invalidate entries in release after bulk release or on deleting a release action

* tests: e2e tests added for release column

* tests: e2e updated to create new release and then add bulk release

* fix: minor changes, test fixed

* fix: delete release action invalite tag added back

* fix: e2e test

* apply josh feedback|

---------

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
Co-authored-by: Fernando Chavez <fernando.chavez@strapi.io>

* chore(deps): revert sharp to 0.32.6 (#20066)

* fix: fix boot issue when removing i18n from an app

* chore: get i18n service outside the for loop

* chore: remove empty spaces

* v4.23.0

---------

Co-authored-by: Madhuri Sandbhor <madhurisandbhor@gmail.com>
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
Co-authored-by: Fernando Chavez <fernando.chavez@strapi.io>
Co-authored-by: markkaylor <mark.kaylor@strapi.io>
Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
2024-04-10 17:08:53 +02:00
markkaylor
0a031cc777
feat(history): display new and unknown fields (#20039) 2024-04-10 14:51:10 +02:00
Josh
e188aac623 Merge branch 'develop' into v5/main 2024-04-08 15:21:08 +01: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
Alexandre BODIN
a806043f96 Merge branch 'v5/main' into v5/document-service-api 2024-04-08 11:22:28 +02:00
Bassel Kanso
04bbb9c618
Merge branch 'v5/main' into fix/creating-api-tokens 2024-04-08 11:07:49 +03:00
Alexandre Bodin
57ef329165 chore: make document service method take a single argument object 2024-04-05 11:34:40 +02:00
Ben Irvin
7c9a984c7b
tests(cli): use semver for both version tests 2024-04-05 10:55:36 +02:00
Ben Irvin
a8a195eacd
chore: move cli config to tests dir 2024-04-05 10:53:38 +02:00
Ben Irvin
5ab818b8ee
test: add e2e tests for CTB restarts from file changes 2024-04-04 18:55:24 +02:00
Ben Irvin
188bce38eb
Merge branch 'v5/main' into fix/creating-api-tokens 2024-04-04 16:11:24 +02:00
Christian Capeans
b017a1ae07 fix: version test to check for valid semver 2024-04-04 11:33:18 +02:00
Christian Capeans
2314bc3311 chore: remove unnecessary version test 2024-04-04 10:59:52 +02:00
Bassel Kanso
50becbb221 fix: running prettier 2024-04-03 16:53:41 +03:00
Bassel Kanso
f76e314f9e fix: making api tokens creation work 2024-04-03 16:38:44 +03:00
Alexandre Bodin
26a9719787 chore: apply feedbacks 2024-04-03 14:24:15 +02:00
Alexandre Bodin
eb61511884 chore: use strapi.service instead of strapi.admin.services 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
Alexandre Bodin
441d4a0584 fix: merge issue with graphql 2024-04-03 14:24:08 +02:00
Alexandre Bodin
7f1131651e fix: v4 test failing with apollo migration 2024-04-03 14:05:35 +02:00
Alexandre Bodin
9dfe475e63 chore: add tests 2024-04-03 13:12:36 +02:00
Ben Irvin
7b669622a6
chore: move cli-tests to tests/cli 2024-04-03 11:56:00 +02:00
Ben Irvin
4ccbba2098
chore: move remaining api-tests tests to tests/api 2024-04-02 17:40:02 +02:00
Alexandre Bodin
3ecec763b6 chore: fix format:check 2024-04-02 17:15:48 +02:00
Ben Irvin
bcc06e9054 fix: merge issue 2024-04-02 16:30:03 +02:00
Ben Irvin
3c88b6d447 fix: merge issue 2024-04-02 16:29:03 +02:00
Ben Irvin
b43be74170 fix: merge issue 2024-04-02 16:27:33 +02: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