1189 Commits

Author SHA1 Message Date
Josh
9381bbbca6
fix(cm): nested components never have permission (#20291)
* fix(cm): nested components never have permission

* chore: memoize form inputs for complex forms

* fix(cm): performance regression where selectFromResult was running too often due to arguments
2024-05-09 15:41:07 +01: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
Marc-Roig
a86c75effa
v5.0.0-beta.7 2024-05-08 16:33:08 +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
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
markkaylor
17b4116f46
Merge pull request #20267 from strapi/fix/history-missing-relations
fix(history): adjust condition to display missing relations
2024-05-06 15:01:41 +02:00
Marc Roig
8e9b152292
fix: document service find many pagination (#20178) 2024-05-06 14:52:48 +02:00
Mark Kaylor
1d3baa5a5c fix(history): adjust condition to display missing relations 2024-05-06 14:22:06 +02:00
markkaylor
e60ec18292
chore(history): refactor restore and add tests for relations (#20179) 2024-05-06 10:54:07 +02:00
Madhuri Sandbhor
63d70071de
chore: moved cms components from DS to admin (#20242)
* chore: move all CMS components from DS to admin

* fix: eslint config

---------

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2024-05-06 09:29:44 +01:00
Bassel Kanso
d8bad8366e Merge branch 'v5/main' into v5/replace-axios 2024-05-02 18:07:32 +03:00
Marc-Roig
6c76c1b8c2
v5.0.0-beta.6 2024-05-02 16:01:39 +02:00
Bassel Kanso
6138ca5504 Merge branch 'v5/main' into v5/replace-axios 2024-05-02 16:22:04 +03:00
Rémi de Juvigny
f1dbaef309
chore: rename core packages (#20243)
* chore: remove plugin from cm package name

* chore: remove plugin from upload package name

* chore: remove plugin from email package name

* chore: remove plugin from ctb package name

* chore: remove plugin from i18n package name

* fix: plugin ids

* fix: v5 migratino

* fix: import order lint error
2024-05-02 09:07:50 -04:00
Rémi de Juvigny
66bc16965f
chore: run lint fix (#20246) 2024-05-02 08:28:14 -04:00
Bassel Kanso
0ca752ad99
Merge branch 'v5/main' into v5/replace-axios 2024-05-02 10:52:23 +03:00
Rémi de Juvigny
9d4475b11a
feat: show hidden fields in history frontend (#20201)
* chore: add configuration to history context

* feat: show fields that aren't in the layout in history

* chore: add renderLayout prop to ComponentInput

* feat: render remaining fields in components

* fix: types

* chore: refactor to composition api

* chore: move renderInput to children

* fix: repeatable components index

* fix: repeatable components toggling together

* chore: move ComponentLayout

* fix: generate temp keys for history values

* chore: delete ComponentLayout

* fix: components with no hidden fields

* fix: add comments

* chore: add comment
2024-04-30 11:53:27 -04: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
Bassel Kanso
6e4752e83e chore: fix lint issues 2024-04-29 10:14:25 +03:00
Bassel Kanso
fd55682955 Merge branch 'v5/main' into v5/replace-axios 2024-04-29 02:13:48 +03:00
Bassel Kanso
e3ea9f6402 chore: fixing some tests that are not rendering properly 2024-04-26 17:47:13 +03: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
2aa7d7fb41 v5.0.0-beta.5 2024-04-24 15:52:25 +02:00
Bassel Kanso
dfd5bbf8d6
Merge branch 'v5/main' into v5/replace-axios 2024-04-24 09:41:49 +03:00
Bassel Kanso
620bcfe40d fix: content-manager build 2024-04-24 08:20:56 +03: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
Rémi de Juvigny
7431ba9b38
fix: sanitize history versions data field (#20143)
* fix: sanitize history versions data field

* fix: ts cannot be named error
2024-04-22 08:03:52 -04: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
Bassel Kanso
403e00ab42 Merge branch 'v5/main' into v5/replace-axios 2024-04-18 18:25:23 +03:00
markkaylor
113a853206
fix: add render prop to use VersionInputRenderer (#20139) 2024-04-18 14:26:17 +02:00
Convly
eecdc83f34 Merge branch 'refs/heads/releases/5.0.0-beta.4' into v5/main 2024-04-17 15:53:17 +02:00
Convly
a9b61589c8 chore: update dependencies to 5.0.0-beta.4 2024-04-17 15:43:36 +02:00
Rémi de Juvigny
d23c1d5b0e
chore: remove history future flag (#20131) 2024-04-17 11:20:32 +02:00
markkaylor
b2d2f81797
feat: add confirmation modal when restoring history version (#20106)
Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com>
2024-04-17 10:13:36 +02:00
Bassel Kanso
7cf2162702 Merge branch 'v5/main' into v5/replace-axios 2024-04-17 09:26:51 +03:00
markkaylor
80e532931b
chore: merge develop into v5/main (#20126) 2024-04-16 18:06:25 +02:00
Rémi de Juvigny
abaeef8b3c
fix: history design details (#20122) 2024-04-16 08:04:19 -04:00
markkaylor
b4f819aae7
feat(history): restore version (#20102) 2024-04-16 09:18:33 +02:00
Bassel Kanso
1dd94812c4 Merge branch 'v5/main' into v5/replace-axios 2024-04-15 20:00:47 +03:00
Bassel Kanso
f41be330aa chore: remove axios from packages and edit some tests 2024-04-15 19:47:36 +03:00
Ben Irvin
18019758d6
enhancement!: create sends 201 status code 2024-04-15 14:03:47 +02:00
Rémi de Juvigny
63d7006f9e
enhancement: add history license check (#20099)
* enhancement: add history license check

* fix: add history to default license data
2024-04-12 13:07:16 -04:00
Josh
bc71a96d76
chore(pack-up): remove from monorepo (v5) (#20092)
* chore(pack-up): remove from repo

* chore: type fixes

* chore: add suggestions to tighten types

Co-authored-by: Ben Irvin <ben.irvin@strapi.io>

---------

Co-authored-by: Ben Irvin <ben.irvin@strapi.io>
2024-04-12 13:39:49 +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
cff608ed92 v5.0.0-beta.3 2024-04-10 19:09:43 +02:00