7124 Commits

Author SHA1 Message Date
Rémi de Juvigny
66bc16965f
chore: run lint fix (#20246) 2024-05-02 08:28:14 -04:00
Simone
53cf1f19cc
feat(main-nav): Main Nav refactoring, add the Home icon (#20176)
* feat(main-nav): replace DS NavLink with admin NavLink

* feat(main-nav): change icon type

* feat(main-nav): fix prettier errors

* feat(main-nav): refactor navlink code and add more test cases

* feat(main-nav): minor fixes

* feat(main-nav): fix ui errors

* feat(main-nav): fix merge issues

* feat(main-nav): fix unit test and types

* feat(main-nav): change offset values
2024-04-29 15:37:57 +02:00
Alexandre Bodin
3e1be288b8 chore: add fs-extra types where needed 2024-04-26 11:15:51 +02:00
Alexandre Bodin
89b8013624 chore: update utility deps 2024-04-26 09:32:10 +02:00
Josh
5d000fb33c
chore: upgrade to DS 2.0.0-beta.2 (#20151) 2024-04-25 16:17:23 +01:00
Mark Kaylor
2aa7d7fb41 v5.0.0-beta.5 2024-04-24 15:52:25 +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
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
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
Christian
b429778d47
Merge branch 'v5/main' into chore/remove-js-cookie 2024-04-15 14:43:24 +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
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
Josh
f31eabd7d2
feat(admin): rbac middleware (#19949)
* feat: rbac middleware

* chore: make the entire function curried
2024-04-08 16:31:07 +01: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
Mark Kaylor
45fb7bc16d v4.22.0 2024-04-03 09:06:13 -04:00
Alexandre Bodin
55ae34e5dc chore: introduce providers to simplify main class 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
Christian
a36def2419
Merge pull request #19989 from strapi/fix/create-webhook-button
fix: create webhooks on an empty list page
2024-04-03 11:21:35 +02:00
Christian Capeans
e510c18a42 fix: remove unnecessary condition 2024-04-03 10:20:05 +02:00
Josh
1fac05ede6
fix(admin): force an absolute URL if the BACKEND_URL is relative (#19950)
* fix(admin): force an absolute URL if the BACKEND_URL is relative

resolves #18175

* chore: add test for protocol relative url
2024-04-02 16:55:14 +01:00