7231 Commits

Author SHA1 Message Date
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
403e00ab42 Merge branch 'v5/main' into v5/replace-axios 2024-04-18 18:25:23 +03:00
Bassel Kanso
23718db2fc chore: fixing some tests 2024-04-18 18:20:38 +03:00
Simone
616346afcf
feat(main-nav): Main Nav refactoring, refactor the logo (#20135)
* feat(main-nav): replace DS NavBrand with admin NavBrand

* feat(main-nav): refactor navbrand code and test

* feat(main-nave): remove useless mock in unit test

* feat(main-nav): use padding prop
2024-04-18 17:02:50 +02:00
Mattias van den Belt
3786ed4fae
fix: remove double modal toggle for on delete RBAC role (#20000) 2024-04-17 21:34:45 +01: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
Convly
655449af8a v4.23.1 2024-04-17 15:08:57 +02:00
Bassel Kanso
b8988bc360 chore: remove logs 2024-04-17 10:12:20 +03:00
Bassel Kanso
7cf2162702 Merge branch 'v5/main' into v5/replace-axios 2024-04-17 09:26:51 +03:00
Bassel Kanso
7138f1a37c chore: creating tests for new fetchClient 2024-04-17 09:21:10 +03:00
markkaylor
80e532931b
chore: merge develop into v5/main (#20126) 2024-04-16 18:06:25 +02:00
Christian Capeans
b54d4d0617 fix: wrong mock 2024-04-16 12:44:15 +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
Christian
b429778d47
Merge branch 'v5/main' into chore/remove-js-cookie 2024-04-15 14:43:24 +02:00
markkaylor
6f96608a7c
chore(deps): bump @strapi/design-system from 1.16.0 to 1.18.0 (#20115) 2024-04-15 12:05:46 +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
Christian
20fecc8025
Merge pull request #20105 from strapi/fix/sso-can-read-prop
Use the right name in useRBAC
2024-04-12 16:45:32 +02:00
Christian Capeans
17f2c8845c fix: use right name in useRBAC 2024-04-12 16:40:17 +02: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
Christian
8b224c9917
Merge branch 'v5/main' into chore/remove-js-cookie 2024-04-12 10:44:16 +02:00
Christian
0d82832303
Merge pull request #20090 from strapi/fix/sso-login
Fix SSO Routes
2024-04-12 10:02:55 +02:00
Alexandre Bodin
2941309394 fix: typings 2024-04-11 17:47:55 +02:00
Christian Capeans
ee219fb8dc fix: switch order of auth routes for sso 2024-04-11 14:49:46 +02:00
Christian
c74b960214
Merge branch 'v5/main' into chore/refactor-link-button-to-v2 2024-04-11 10:05:06 +02:00
Alexandre Bodin
cff608ed92 v5.0.0-beta.3 2024-04-10 19:09:43 +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
Christian Capeans
e47cce9d55 fix: use forwardedAs instead of as prop 2024-04-10 11:03:07 +02:00
Christian Capeans
0269c018d2 fix: use forwardedAs instead of as prop 2024-04-10 11:02:05 +02:00
Christian Capeans
6bf0ee33b0 fix: link dependency coming from react-router-dom 2024-04-10 10:59:56 +02:00
Bassel Kanso
9e8dcb640e Merge branch 'v5/main' into v5/replace-axios 2024-04-09 15:07:12 +03:00
Bassel Kanso
7ca9df7f9d chore: error handling for fetch 2024-04-08 21:43:37 +03:00
Josh
f31eabd7d2
feat(admin): rbac middleware (#19949)
* feat: rbac middleware

* chore: make the entire function curried
2024-04-08 16:31:07 +01:00
Bassel Kanso
65df420943 chore: replacing axios with native fetch 2024-04-08 17:31:38 +03:00
Josh
e188aac623 Merge branch 'develop' into v5/main 2024-04-08 15:21:08 +01:00
DMehaffy
68c52dc267
Chore: Update vite and webpack-dev-middleware (#20037) 2024-04-05 08:10:26 +01:00
Alexandre Bodin
2fe3160287 Merge branch 'releases/4.22.1' into develop 2024-04-05 08:31:44 +02:00
Alexandre Bodin
009bd52a1a v4.22.1 2024-04-05 08:20:38 +02:00
Ben Irvin
188bce38eb
Merge branch 'v5/main' into fix/creating-api-tokens 2024-04-04 16:11:24 +02:00
Jamie Howard
66039c144d
(content-manager): ask for confirmation of d&p tab change (#19912)
* feat(content-manager): ask for confirmation of d&p tab change when form is modified

* fix(admin): controlled tabs

* chore(admin): types

* chore: update design-system to 1.17.0
2024-04-04 14:36:25 +01:00
Christian Capeans
316e5189a5 fix: adjust new links to link button component 2024-04-04 14:07:36 +02:00
Christian Capeans
9e9631fc92 chore: refactor link button components to use v2 2024-04-04 13:21:14 +02:00
Alexandre Bodin
bf35cde68f chore: update koa-body 2024-04-03 22:48:48 +02:00
Alexandre Bodin
ae6067744d chore: update koa libs 2024-04-03 20:43:34 +02:00
Alexandre BODIN
c9159be3ec
Merge pull request #19943 from strapi/v5/core
chore: internal core refactorings
2024-04-03 17:37:12 +02:00
Alexandre Bodin
13a7fe96d1 v5.0.0-beta.2 2024-04-03 17:35:15 +02:00
Bassel Kanso
f76e314f9e fix: making api tokens creation work 2024-04-03 16:38:44 +03:00
markkaylor
fe2c29fb5c
Merge pull request #20007 from strapi/releases/4.22.0
v4.22.0 - develop
2024-04-03 09:24:31 -04:00