2499 Commits

Author SHA1 Message Date
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
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
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
Convly
4de25b889b fix: remove actual values from the validate callback errors 2024-04-11 14:39:28 +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
Simone
6a87b376f5
fix(i18n): Add some space to show the Locale values in the CM (#20059)
* fix(i18n): add some width to the locale column

* fix(i18n): remove useless width
2024-04-10 11:15:52 +02:00
Bassel Kanso
9e8dcb640e Merge branch 'v5/main' into v5/replace-axios 2024-04-09 15:07:12 +03:00
Simone
4dbfc9c022
Hide Locale column and grouping option when i18n plugin is not installed (#19358)
* fix(content-releases): create an hook to check if the i18n plugin is installed

* fix(content-releases): refactor code to use StrapiApp getPlugin

* fix(content-releases): hide locale if i18n is not installed

* fix(content-releases): move the createHook in the content-release plugin
2024-04-08 21:43:09 +02: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
Alexandre BODIN
8dc428d4d4
Merge pull request #20017 from strapi/v5/document-service-api
Improvement to the doc service API
2024-04-08 15:02:54 +02:00
Convly
b2690ca50e fix: update validation for custom U&P OAuth callbacks 2024-04-08 14:58:51 +02:00
Convly
feeeef6cf9 fix: make the default callback validation stricter 2024-04-08 14:48:42 +02:00
Marc Roig
bad7fc83ed
fix: prevent empty body when cloning (#20047) 2024-04-05 16:32:40 +02:00
Alexandre Bodin
57ef329165 chore: make document service method take a single argument object 2024-04-05 11:34:40 +02:00
Alexandre Bodin
544d55dc42 chore: simplify components api in doc service and fix some typings 2024-04-05 11:34:10 +02:00
Convly
e762295cbe enhancement: add validation for custom U&P OAuth callbacks 2024-04-05 09:12:04 +02:00
Alexandre Bodin
009bd52a1a v4.22.1 2024-04-05 08:20:38 +02:00
Christian
14a2f428ae
Merge pull request #20030 from strapi/chore/refactor-link-to-v2
Refactor Link to v2
2024-04-04 18:26:28 +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
4c685c92ca chore: refactor link component to use v2 2024-04-04 14:21:04 +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
Josh
bd26c78261
fix(i18n): remove strapi dep to fix circular deps (#20011) 2024-04-03 14:56:47 +01:00
Mark Kaylor
45fb7bc16d v4.22.0 2024-04-03 09:06:13 -04:00
Alexandre Bodin
c224439564 fix: middleware type 2024-04-03 14:24:40 +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
Jamie Howard
43b9e91c67
feat(i18n): non localized fields (#19720)
* feat(i18n): wip non localized fields

* feat(i18n): use document service middleware for non localized fields

* feat(i18n): support component data in non localized sync

* chore(i18n): cleanup and fix unit tests

* fix(i18n): reintroduce permissions sync

* test(i18n): api test for non localized fields

* feat(i18n): add earth icon to symbolise localised fields (#19774)

* test(i18n): cover publish, unpublish, update and create in api tests

* feat(i18n): ensure non localized fields are populated

* fix(i18n): get right id

* fix(content-manager): doc metadata in non d&p cases

* fix(conent-manager): i18n detection

* fix: pr feedback

* fix(i18n): handle non localized components

* feat(i18n): sync non localized components

* fix(i18n): wip unit test

* feat(i18n): handle relations within non localized components

* feat(i18n): reintroduce FE and fix for repeatables

* chore: lockfile

* chore(i18n): cleanup

* chore(i18n): cleanup

* feat(i18n): match relation locales to source entry during transformation

* fix(i18n): unit tests

* fix(i18n): getNonLocalizedAttributes

* chore(i18n): fix unit tests

* chore(i18n): pr feedback

* chore(i18n): pr feedback

* fix(i18n): unit tests

---------

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2024-04-02 10:08:10 +01:00
Ben Irvin
b003dee48e
chore: upgrade prettier to 3.2.5 2024-03-29 14:39:52 +01:00
Josh
94f313a12e
chore: move CM admin to own package (#19929)
* 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

* chore: spelling mistake

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

---------

Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
2024-03-28 13:26:44 +00:00
Marc-Roig
a45a0cfabf chore: release 5.0.0-beta.1
Co-Authored-By: Marc Roig <20578351+Marc-Roig@users.noreply.github.com>
2024-03-27 16:22:20 +00:00
Josh
a9dd166449 chore(deps): allow pre-releases in deps (#19938) 2024-03-27 16:21:24 +00:00
Josh
c2b8fac531 chore(deps): fix peer-deps to be 5 upwards (#19935) 2024-03-27 16:21:24 +00:00
Convly
734763e575 Merge branch 'releases/4.21.1' into develop 2024-03-27 16:58:10 +01:00
Convly
32d9b66e63 v4.21.1 2024-03-27 16:53:59 +01:00
Christian
8af582bab7
chore(admin): remove react-helmet (#19923)
* chore: remove react-helmet

* chore: lint fixes

---------

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2024-03-27 10:02:40 +00:00
Binar omer
4fa6d95abe
fix:issue on do not validate locale if not creating for all locales (#19799)
* fix:issue on do not validate locale if not creating for all locales

* Update register.ts

* run prettier

* change the syntax to handle more cases
2024-03-27 09:27:02 +01:00
Alexandre BODIN
9bff6e6b8e
Merge pull request #19168 from ekreative/graphql-get
fix(plugin-graphql): allow to use GET queries for graphql
2024-03-26 18:44:12 +01:00
Alexandre BODIN
7bed21c117
Merge pull request #19920 from strapi/v5/api-registry
chore: refactor api registry
2024-03-26 16:06:00 +01:00
Alexandre Bodin
8399dcd71b chore: refactor api registry 2024-03-25 21:38:17 +01:00
Alexandre Bodin
198c650550 chore: allow graphql get request with authentication 2024-03-25 18:48:08 +01:00
Alexandre Bodin
3f6a8109ea chore: introduce query-params service to remove strapi.global dep in utils 2024-03-25 14:03:32 +01:00