386 Commits

Author SHA1 Message Date
Alexandre Bodin
c9daf3573d chore: i18n defaults 2025-04-22 15:20:00 +02:00
Alexandre Bodin
0ffa0c9175 feat: ctb lifting 2025-04-22 15:20:00 +02:00
Ivan Malaniak
9a7418f343
enhancement: add missing Ukrainian translations for various plugins and components (#22150)
Co-authored-by: Bassel Kanso <basselkanso82@gmail.com>
2025-02-26 19:46:18 +02:00
markkaylor
8264ee2035
feat(preview): save and publish document (#22902)
Co-authored-by: Rémi de Juvigny <remi.dejuvigny@strapi.io>
2025-02-20 11:21:05 +01:00
markkaylor
aa5ec8f780
chore: swap Download icon for Earth icon (#22881) 2025-02-14 09:26:52 +01:00
Lucas Boilly
c22d1aa502
chore: remove icon for fields without i18n (#22774) 2025-01-31 09:58:54 -05:00
Alexandre Bodin
92055a7fb1 chore: use rollup
chore: fetch template only if name matches name convention

chore: linting

chore: fix tests

chore: fix npm scripts

test: try to fix test
2025-01-23 16:28:23 +01:00
Jamie Howard
76a9dc5ca6
fix(i18n): allow unique + un localized fields on i18n content types (#22634) 2025-01-17 09:08:59 +00:00
Marc Roig
0d4051ce87
fix: multiple requests locale (#22273)
* fix: multiple requests locale

* fix: actions request

* fix: properly load locales

* fix: add status to localizations

* fix: remove unused types

* fix: front tests

* fix: add validation fields into localizations

* fix: validatable attributes

* fix: select nested fields when populating localizations

* fix: uncomment localizations populate

* fix: document-metadata

* fix: empty populate

* fix: revert to original proposal

* fix: do not select document ids on components (#22330)

* fix: do not select document ids on components

* chore: unit test

* fix: metadata test

* fix: populate

* fix: default fields

* fix: show current locale when bulk publishing

* fix: create locale

* Update packages/core/content-manager/server/src/services/document-metadata.ts

Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>

---------

Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
2024-12-16 16:12:40 +01:00
Simone
c196a9d2b8
fix: hide the locale option in the Edit view dropdown if you don't have permission to read it (#22229)
* fix: hide the locale option in the edit view if you don't have permission

* fix: change the permission condition

* fix: show the option if you have read permission
2024-11-25 09:54:32 +01:00
Rémi de Juvigny
cd49060e03
chore: bump design system to 2.0.0-rc.12 (#22043)
* chore: bump design system dep

* fix: remove showBullet prop from Status components

* chore: snapshot updates
2024-11-04 04:00:05 -05:00
Marc Roig
6c6bd4fa9c
fix: do not display fill from locales if i18n no enabled (#21737)
* fix: do not display fill from locales if i18n no enabled

* chore: disable only if there is not i18n enabled
2024-10-10 09:24:52 +02:00
Lucas Boilly
cb0bd8df8c
fix: removed the unexpected capital letters (#21454)
* fix: Removed the unexpected capital letters

* fix: updated wording
2024-09-26 08:22:10 -04:00
Alexandre Bodin
2ee3865f9d fix: update schemas to have nullables where needed 2024-09-18 14:54:26 +02:00
Jamie Howard
8f7d829564
[Fix/i18n] Single type deletion and locale nav (#21295) 2024-09-17 12:15:28 +02:00
Fernando Chavez
f43c04128d fix(content-manager): fix locale option 2024-09-12 19:49:53 +02:00
Fernando Chavez
9c19fb8bb9 Merge branch 'v5/main' of github.com:strapi/strapi into fix/locale-picker-status 2024-09-12 19:26:15 +02:00
Bassel Kanso
f0f0dbfabc
fix: add status to removed fields when cleaning data (#21229) 2024-09-12 10:21:15 +03:00
Fernando Chavez
e5db813798 fix: change status on locale picker 2024-09-09 18:30:16 +02:00
Rémi de Juvigny
29afb2b983
fix: delete document actions labels (#21182)
* fix: delete document actions labels

* chore: remove log

* fix: e2e tests
2024-09-09 06:08:59 -04:00
Ben Irvin
fbbccd06ea
feat!: document service query param validation (#21034) 2024-09-02 14:03:26 +02:00
Fernando Chávez
b6d1e96eaf
Merge pull request #21009 from strapi/v5/fill-from-another-locale
feat(i18n): fill in from another locale
2024-08-30 14:27:56 +02:00
Fernando Chavez
7ff85247b3 disable button if there is no available locales 2024-08-30 10:49:53 +02:00
Fernando Chavez
335a219dae fix(content-manager): change color of draft tag 2024-08-29 14:28:01 +02:00
Fernando Chavez
5713e3cec4 Merge branch 'v5/main' of github.com:strapi/strapi into v5/fill-from-another-locale 2024-08-28 17:48:35 +02:00
Fernando Chavez
4927786f47 use recursive function to copy components & dynamic zones 2024-08-28 17:42:02 +02:00
Jamie Howard
69590e70d5
feat(i18n): add bulk unpublish locales edit view action (#21030)
* feat(i18n): add bulk unpublish locales edit view action

* fix(e2e): i18n bulk actions

* chore(e2e): skip for webkit

* chore: clean up

* fix(i18n): fixes and e2e test coverage for bulk locale unpublish

* fix(e2e): content manager edit view

* fix(content-manager): incorporate edit view notification fix

* chore(i18n): clean up
2024-08-27 12:04:59 +01:00
Fernando Chavez
795a4bdc8e Merge branch 'v5/main' of github.com:strapi/strapi into v5/fill-from-another-locale 2024-08-26 21:33:25 +02:00
Fernando Chavez
776a84aaac fix error with repeatable components 2024-08-26 21:33:18 +02:00
Madhuri Sandbhor
21263d2c2b
chore: bump DS 2.0.0-rc.9 (#20936)
* chore: bump DS RC-8

* chore: bump DS RC-9 and some ui fixes

* fix: main nav user icon style fixed, rich text nav icons fixed, publish action edit icon fixed

* chore: fix review's comments

* chore: update snapshot test

* chore: update snapshot

---------

Co-authored-by: Simone Taeggi <startae14@gmail.com>
2024-08-23 15:50:41 +02:00
Fernando Chavez
4bff2c01cc fix: multiple locale related issues 2024-08-21 14:27:42 +02:00
Fernando Chavez
5f649c2558 feat(i18n): fill in from another locale 2024-08-14 11:52:24 +02:00
Madhuri Sandbhor
9192781fb6
chore: bump DS rc-7 (#20860)
* chore: design system and icons bumped, grid item style adjusted

* fix: type error fixed

* fix: upload and users-permission tests fixed

* fix: tests fixed

* fix: add to dynamic zone button style updated

* fix: styling issues fixed for DZ component button and color picker

* fix: snapshot updated

* fix: fieldset border width removed, popover menu icon color updated

* fix: wysiwyg expand collapse button styles

* fix: ds deps bumped

* fix: editorlayout wrapper style fixed, panels actions style fixed

* fix: more button icon centered, man nav icons size fixed

* fix: help button style fixed

* fix: email settings button fixed
2024-07-31 14:22:27 +02:00
Fernando Chavez
3be8ed1f66 fix(content-manager): bulk actions modal don't force to use modal 2024-07-01 16:42:42 +02:00
Alexandre Bodin
48555c1304 fix: history empty state add back button 2024-06-24 16:23:43 +02:00
Alexandre Bodin
c64804aef8 fix: user creation with sso 2024-06-23 10:50:12 +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
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
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
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
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
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
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
6138ca5504 Merge branch 'v5/main' into v5/replace-axios 2024-05-02 16:22:04 +03:00