994 Commits

Author SHA1 Message Date
Convly
4bc5b35e36 v5.0.0-beta.16 2024-06-24 23:02:36 +02:00
Alexandre BODIN
105cdbf182
Merge pull request #20609 from strapi/v5/fixes
fix: ui
2024-06-24 17:47:38 +02:00
Alexandre Bodin
48555c1304 fix: history empty state add back button 2024-06-24 16:23:43 +02:00
Convly
ccb2b38bb4 v5.0.0-beta.15 2024-06-24 10:22:34 +02:00
Alexandre Bodin
c64804aef8 fix: user creation with sso 2024-06-23 10:50:12 +02:00
Convly
b8b91d16eb chore: v5.0.0-beta.14 2024-06-21 10:28:28 +02:00
Marc-Roig
346110fac1
v5.0.0-beta.13 2024-06-20 09:27:20 +02:00
Alexandre Bodin
915ff6c0b2 chore: fix tests 2024-06-19 17:03:50 +02:00
Alexandre Bodin
e5ea1c3e60 fix: cm/i18n/admin rtk issues
fix: multiple loading issue in the CM
2024-06-19 15:51:53 +02:00
Convly
a91fff3ff8 v5.0.0-beta.12 2024-06-19 15:22:14 +02:00
Convly
cefa185d29 v5.0.0-beta.11 2024-06-18 15:12:41 +02:00
Fernando Chávez
5b211b3891
chore(content-releases): releases migration to v5 (#20259)
* 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

* chore(content-releases): v5 migration

* chore(content-releases): remove CMReleasesContainer

* fix(content-releases): singleType works with v5 changes and e2e tests enabled

* fix(content-releases): apply josh & marc comments

* apply comments

* fix(content-releases): tests

* fix(content-releases): create custom populate object for each content type to handle relations

* fix(content-releases): build problem

* fix(content-releases): editing lifecycles

* fix(content-releases): details view table columns

* feat: releases settings (#20354)

* feat: releases settings

* feat: test nulling default timezone

* chore: refactor tests

* fix: remove async from describe

* chore: OneOf type for response

* chore: move OneOf utility to types package

---------

Co-authored-by: Fernando Chavez <fernando.chavez@strapi.io>

* feat: content releases settings permissions (#20357)

* feat: releases settings

* feat: test nulling default timezone

* chore: refactor tests

* fix: remove async from describe

* feat: content releases settings permissions

* chore: test for unauthorized role

---------

Co-authored-by: Fernando Chavez <fernando.chavez@strapi.io>

* fix(content-releases): run settings api tests only on ee edition

* fix(content-releases): apply mark comments

* fix(content-releases): remove releases box when there are no releases related to the entry

* fix(content-releases): relation between actions and documents (#20424)

* fix(content-releases): refactor relation with entries

* fix(content-releases): refactor relation with entries

* fix(content-releases): lint & unit tests errors

* fix(content-releases): add migration for releases actions coming from v4

* fix(content-releases): apply multiple suggestions

* fix(content-releases): new test data for e2e tests

* fix(content-releases): fix test data

* fix(content-releases): handle edge cases

* fix(content-releases): apply marc suggestions

* fix(content-releases): add modified status on validation column

* fix(content-releases): fix releases menu button

* fix(content-releases): use documents middleware instead of db lifecycles

* fix(content-releases): invalidate releases tags on some content manager queries

* fix(content-releases): using contentType utils and make afterDeleteMany lifecycle async

* fix(content-releases): ui fixs

* fix(content-releases): removing not needed axios from releases plugin

* fix(content-releases): invalidate tags on release service

* fix(content-releases): fix dependencies

* feat(release-settings): remove navbar link release purchase page in CE (#20498)

---------

Co-authored-by: Marc Roig <marc.roig.campos@strapi.io>
Co-authored-by: Simone <startae14@gmail.com>
2024-06-13 11:12:38 +02:00
Marc-Roig
d4542f0dcc
v5.0.0-beta.10 2024-06-12 14:50:15 +02:00
Josh
11011e9804
chore: integrate beta.5 of the design-system (#20431)
* chore: refactor admin

* chore: refactor content-manager

* chore: refactor plugins

* chore: refactor content-releases

* chore: refactor CTB

* chore: refactor i18n

* chore: refactor user-permissions

* chore: refactor upload plugin

* chore: update deps

* chore: fix ci

* chore: design fixes

* chore: update import

Co-Authored-By: Simone <startae14@gmail.com>

* fix: guided home tour check color

* chore: update snapshots

* chore: update to beta.6

* chore: update import

Co-authored-by: Simone <startae14@gmail.com>

* chore: more fixes

* chore: fix import syntax

Co-authored-by: Simone <startae14@gmail.com>

* chore: fixes

* fix(upload): snapshot

---------

Co-authored-by: Simone <startae14@gmail.com>
Co-authored-by: Jamie Howard <jamie.howard@strapi.io>
2024-06-10 14:50:34 +01:00
markkaylor
fae4cffeda
Merge pull request #20439 from strapi/releases/5.0.0-beta.9
v5.0.0-beta.9
2024-06-05 16:27:24 +02:00
Mark Kaylor
0a5a7b9147 v5.0.0-beta.9 2024-06-05 16:16:34 +02:00
Jamie Howard
a2d8baf756
fix(i18n): incorrect warning message (#20436) 2024-06-05 15:05:06 +01:00
Rémi de Juvigny
f09eabe242
feat: customize localization label actions in history (#20407)
* fix: label actions on history relations

* feat: display custom label action

* chore: use cloneElement

* fix: globe icon showing on on non localized cts

* chore: add todo comment

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>

* fix: typo in translation

---------

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2024-06-03 04:37:37 -04:00
Convly
cffa227999 v5.0.0-beta.8 2024-05-22 17:53:58 +02:00
Josh
e98c3e2020
fix(admin): reset all redux toolkit cache on logout (#20318)
* fix(admin): reset all redux toolkit cache on logout

* chore: refactor API to use one createApi call from redux/toolkit

* chore: fix e2e suite

* chore: spelling error

Co-authored-by: Bassel Kanso <basselkanso82@gmail.com>

* chore: remove rogue import

---------

Co-authored-by: Bassel Kanso <basselkanso82@gmail.com>
2024-05-20 14:43:30 +01:00
Josh
5ff7024fc8
chore: update DS to 2.0.0-beta.4 (#20301) 2024-05-20 10:42:44 +01: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
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
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
ab41b2e7ac Merge branch 'v5/main' into v5/replace-axios 2024-05-06 21:48:47 +03: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
Josh
9ecb47b3f9 chore: some test fixes 2024-04-29 13:59:50 +01: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
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
4d66c3c521 chore: make packages build 2024-04-24 09:25:54 +03:00
Bassel Kanso
403e00ab42 Merge branch 'v5/main' into v5/replace-axios 2024-04-18 18:25:23 +03: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
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
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
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
Alexandre Bodin
cff608ed92 v5.0.0-beta.3 2024-04-10 19:09:43 +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