markkaylor
f75e3c6d67
chore(audit-logs): migrate audit logs to v5 ( #20251 )
2024-05-27 09:30:23 +02:00
Bassel Kanso
a31bbe7211
Merge branch 'v5/main' into v5/remove-root-level-nested-params
2024-05-22 13:13:56 +03:00
Ben Irvin
5277eaf60c
fix(ctb): validate pluralName and collectionName correctly ( #20347 )
2024-05-22 09:59:58 +02:00
Josh
5ff7024fc8
chore: update DS to 2.0.0-beta.4 ( #20301 )
2024-05-20 10:42:44 +01:00
Ben Irvin
48a7b1e909
chore: sync e2e tests with v5 branch ( #20334 )
2024-05-20 11:15:57 +02:00
Ben Irvin
7d9787cb7c
chore(test): change utils to .ts ( #20333 )
2024-05-20 11:15:33 +02:00
Bassel Kanso
58ab115ac3
fix: update and remove tests that are using deprectated populate api for DZ
2024-05-20 11:27:56 +03:00
Josh
a3960e1ee5
chore: update react&react-dom to 18.3 ( #20316 )
...
* chore: update react&react-dom to 18.3
* chore: TS fix
* chore: update testing packages
* chore: fix lint
2024-05-17 16:00:38 +01:00
Jamie Howard
8c5105d949
Publish multiple locales ( #20258 )
...
* fix: date comparison
* feat(core): document service publish multiple locales (#20046 )
* feat(core): document service (un)publish multiple locales
* fix(core): cleanup locale param types
* feat(content-manager): wip - multiple locale support
* Count draft relations across locales (#20116 )
* feat(content-manager): publish multiple locales from CM route
* feat(core): multiple locales in document service discard draft
* feat(content-manager): use bulkpublish for locale publish
* feat(content-manager): use query from bulkpublish locales
* feat(content-manager): publishMany
* feat(content-manager): api test for bulk locale + document publish
* chore(content-manager): fix for build
* fix(core): avoid * in locale data
* chore(content-manager): pr amends and validation improvement
* feat(content-manager): use transaction in document manager publish many
* feat(core): throw when a non string locale is provided and not supported
* fix(core): doc service find many
* chore: clean up
* feat(content-manager): Select fields that require validation in availablelocales (#20156 )
* feat(content-manager): wip - select more fields in availablelocales
* feat(content-manager): wip available locales using entity traversal
* feat(content-manager): wip test available locales returns fields with validation
* feat(content-manager): test available locales returns fields with validation
* fix(content-manager): ensure sensitive info not exposed in available statuses
* fix(content-manager): sanitize document metadata available status
* fix(content-manager): sanitize document metadata available status at controller level
* fix(content-manager): populate only for validatable fields
* chore: clean up
* chore: clean up
* chore: clean up
* fix(content-manager): build issues
* fix(content-manager): allow null locales
* fix(content-manager): history service (#20185 )
* fix(content-manager): history service
* chore(content-manager): clean up
* fix: pr feedback
* chore: update actions deps
* chore: update utility deps
* chore: upgrade sentry
* chore: upgrade graphql-tools
* fix: http-errors ugprade
* chore: add fs-extra types where needed
* docs(typescript): type system cheat sheet
* chore!: remove deprecated verbose option from ts:generate-types
* chore: clean up
fix(content-manager) correctly count bulk publish results
* fix(content-manager): pr feedback and test improvements
* feat(i18n): bulk locale publish modal in CM edit view (#20069 )
* feat(i18n): wip bulk locale publish modal
* fix(i18n): wip - fe bulk locale publish
* feat(content-manager): multi locale publish, integrate with backend and add basic e2e test
* feat(i18n): wip - display validation errors in bulk locale modal
* chore: clean up
* chore(i18n): design system changes
* feat(i18n): display correct status after publish and clean up error messaging
* feat(i18n): access onclose from modal body
* fix(i18n): selected locale change
* fix(i18n): locale table state
* fix(i18n): edit view e2e test
* chore(content-manager): validation tweak wip
* feat(i18n): cover validation cases in i18n e2e tests
* chore: clean up
* fix(i18n): edit view more document actions disabled state
* chore: feedback
* fix(i18n): send all params to publish many
* fix(i18n): place bulk locale publish 3rd in array
* fix(content-manager): validation error extraction
* fix(content-manager): pr feedback
* fix: build
* chore(content-manager): simplify exports
* chore(i18n): revert package
---------
Co-authored-by: Alexandre Bodin <bodin.alex@gmail.com>
Co-authored-by: Jean-Sébastien Herbaux <jean-sebastien.herbaux@epitech.eu>
Co-authored-by: Ben Irvin <ben.irvin@strapi.io>
* fix(i18n): disable publish button after bulk locale publish
* fix(content-manager): ce e2e fix
* chore: typography
* fix(i18n): e2e edit view test
* fix: wip date comparison
* fix: wip date comparison
* fix(content-manager): simplify date comparison
* fix: clean up metadata api test
* chore: update api tests
* fix: draft versions must be ahead of published to be considered modified
* fix: published modified calculation
* fix: clean up
* fix: simplify draft and publish comparison
* chore: clean up
* fix: flaky fe tests
* fix: pr feedback
* fix(i18n): error message extraction in bulk locale modal
* chore: remove old publish action
* chore: pr feedback
* chore: refactor error types & validation messages
* chore: use anchor link for locale changes
* chore: fix releases
* fix: clean up
* chore: snapshot
---------
Co-authored-by: Marc-Roig <marc12info@gmail.com>
Co-authored-by: Alexandre Bodin <bodin.alex@gmail.com>
Co-authored-by: Jean-Sébastien Herbaux <jean-sebastien.herbaux@epitech.eu>
Co-authored-by: Ben Irvin <ben.irvin@strapi.io>
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2024-05-10 18:20:35 +01:00
Marc Roig
521cd3f8cd
fix: improve CM modified date comparison ( #19898 )
...
* fix: date comparison
* fix(content-manager): simplify date comparison
* fix: clean up metadata api test
* fix: draft versions must be ahead of published to be considered modified
* fix: published modified calculation
* fix: clean up
* fix: simplify draft and publish comparison
* chore: clean up
* fix: flaky fe tests
* fix: pr feedback
---------
Co-authored-by: Jamie Howard <jamie.howard@strapi.io>
2024-05-09 19:19:18 +02:00
Madhuri Sandbhor
e1b9d9adee
enhancement(CM): bulk delete and unpublish migration to v5 ( #20235 )
...
* fix: added bulk actions
* chore: migrate bulk publish & unpublish to v5
* chore: change findLocales type to accept arrays
* chore: fix lint error
* chore: migrate bulkDelete to v5 (#20161 )
* chore: migrate bulkDelete to v5
* chore: change findLocales type to accept strings array
* fix: docs prettier styles
* chore: remove console.log
* enhancement: migrate countManyDraftRelations to v5
* feat: bulk delete with locale selection option
* fix: bulk unpublish working without locale support
* test: e2e tests updated
* fix: documents api change, deleteMany tags updated, test skipped
* chore: renaming
* test: reverting e2e tests for delete action changes
* fix: reverting publish action changes
* fix: hide add to release as its not ready to be migrated
* fix: error message updated
* fix: tests updated for useDocumentAction
* fix: updated request params
* fix: reverting wrong commit message
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
* fix: comments updated
* chore: renaming
* chore: add type to bulk action actions (#20256 )
* chore: actionType renamed to just type
* fix: dont show unpublish button on contentTypes without draft and publish
* fix: set a fixed width for FieldActionWrapper on UID input
---------
Co-authored-by: Fernando Chavez <fernando.chavez@strapi.io>
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2024-05-09 12:35:48 +02:00
Bassel Kanso
3bc72930fa
Merge branch 'v5/main' into v5/replace-axios
2024-05-08 12:00:18 +03:00
Fernando Chávez
3fdf1a575b
enhancement: migrate bulk publish & unpublish to v5 ( #20184 )
...
* chore: migrate bulk publish & unpublish to v5
* chore: change findLocales type to accept arrays
* chore: fix lint error
* chore: migrate bulkDelete to v5 (#20161 )
* chore: migrate bulkDelete to v5
* chore: change findLocales type to accept strings array
* fix: docs prettier styles
* chore: remove console.log
* enhancement: migrate countManyDraftRelations to v5
* only publish not published entries
* use strapi query directly on bulkPublish
* fix api tests for bulk publish
* apply jamie feedback
2024-05-07 16:58:56 +02:00
Josh
b7c62568a8
chore!: update styled-components to 6 & update DS to 2.0.0-beta.3 ( #20260 )
...
* chore: update styled-components to 6
* chore: update admin
* chore: update CM
* chore: update ctb
* chore: update other plugin packages
* chore: update content-releases
* chore: update user-permissions
* chore: update upload
* chore: update fields to be dot notation
* chore: update tests
* chore: update yarn.lock
* chore: update snapshots
* chore: update deps
* chore: update snapshots
* fix: left menu
* test: add label prop to NavLink test
* chore: PR tweaks
2024-05-07 14:01:26 +01:00
Ben Irvin
7a6d9a2b0e
enhancement!: validate input in content API create and update controllers
...
Co-authored-by: Jean-Sébastien Herbaux <Convly@users.noreply.github.com>
2024-05-07 11:22:22 +02:00
Bassel Kanso
0e5c0a66e7
Merge branch 'v5/main' into v5/remove-root-level-nested-params
2024-05-06 23:15:32 +03:00
Bassel Kanso
ab41b2e7ac
Merge branch 'v5/main' into v5/replace-axios
2024-05-06 21:48:47 +03:00
Marc Roig
8e9b152292
fix: document service find many pagination ( #20178 )
2024-05-06 14:52:48 +02:00
Marc Roig
01187db536
feat: discard drafts when enabling draft and publish on ct ( #20257 )
...
* feat: discard drafts when enabling draft and publish on ct
* fix: migration tests
2024-05-06 11:42:41 +02:00
markkaylor
e60ec18292
chore(history): refactor restore and add tests for relations ( #20179 )
2024-05-06 10:54:07 +02:00
Marc Roig
823c409265
feat: run rbac api tests ( #20252 )
...
* feat: run rbac condition tests
* fix: omit documentId when creating an article
2024-05-03 14:15:21 +02:00
Marc Roig
23fa63efeb
feat: webhooks ( #20129 )
...
* feat: webhooks
* feat: ignore entry.publish findOne
* chore: type entry
* feat: refactor publication methods to not trigger entry.delete webhook (#20136 )
* feat: refactor publication methods
* fix: remove unnecessary chain op in db query
* feat: emit document. as webhook
* feat: register legacy events
* feat: only trigger entry webhooks
* feat: rename webhook to event
* feat: event manager
* fix: repository
* feat: webhook tests
* fix: api tests
* fix: non localized fields api test
* fix: refactor event hub
* fix: eventhub type
* fix: event hub unit test
* fix: remove all subscribers
* fix: webhook api test
2024-05-03 11:41:42 +02:00
Marc Roig
43f3d25660
feat: draft and publish api tests ( #20150 )
...
* feat: refactor test in transaction util
* fix: remove dp tests
* fix: failing api test
* feat: test structure
* feat: update doc service api tests
* fix: test invalid locale param
2024-05-03 09:17:16 +02:00
Marc Roig
ca6c7c80ec
release: 4.24.1 to develop ( #20248 )
...
* fix(admin): if were in EE mode wait for the EE routes to be loaded before rendering (#20238 )
* fix: issue 20138 (#20240 )
* v4.24.1
---------
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
2024-05-02 17:14:54 +02:00
Bassel Kanso
0ca752ad99
Merge branch 'v5/main' into v5/replace-axios
2024-05-02 10:52:23 +03:00
Bassel Kanso
d696828dfe
chore: fix transfer token e2e test
2024-05-02 01:43:39 +03:00
markkaylor
4a26739ee0
fix(history): handle sanitization when fetching versions ( #20212 )
...
Co-authored-by: Rémi de Juvigny <remi.dejuvigny@strapi.io>
2024-04-30 11:33:06 +02:00
Josh
5d000fb33c
chore: upgrade to DS 2.0.0-beta.2 ( #20151 )
2024-04-25 16:17:23 +01:00
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