14487 Commits

Author SHA1 Message Date
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
Christian Capeans
80a93a64a6 fix: mocking less and lint 2024-04-02 17:33:48 +02:00
Ben Irvin
fb8f73bd7d Merge branch 'v5/main' into chore/merge-develop-v5 2024-04-02 16:35:25 +02:00
Ben Irvin
2ef71bdf4c Merge branch 'develop' into v5/main 2024-04-02 16:25:24 +02:00
Alexandre BODIN
bfe081a8d6
Merge pull request #19970 from strapi/fix/issue-19532
fix issue #19532
2024-04-02 16:15:39 +02:00
Christian Capeans
5007d86bd1 fix: create webhooks on an empty list page 2024-04-02 15:31:03 +02:00
Ben Irvin
22e081027f
fix(docs): fix comment that breaks docs build 2024-04-02 15:25:27 +02:00
Convly
55b3e22623 feat: replace default typedoc theme with github-wiki, add markdown plugin, and remove old README.md 2024-04-02 14:29:55 +02:00
Ben Irvin
cf82c830d8
test: restructure test dirs 2024-04-02 11:19:43 +02:00
Josh
56f8262f9d Merge branch 'v5/main' of github.com:strapi/strapi into v5/main 2024-04-02 10:12:18 +01:00
Josh
660b779c4c Merge branch 'develop' into v5/main 2024-04-02 10:11:20 +01:00
Madhuri Sandbhor
a0da7e73e1
fix: dont close modal on error (#19946) 2024-04-02 11:08:26 +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
Christian Capeans
bd9e1a92ae chore: remove js-cookie dependency 2024-04-02 10:28:07 +02:00
Mattias van den Belt
21128ddc87
fix(admin): move NotFoundPage into authenticated admin panel routes (#19968) 2024-04-02 09:14:21 +01:00
Alexandre Bodin
48671c244d fix: fix issue #19532 2024-03-29 20:22:22 +01:00
Ben Irvin
b003dee48e
chore: upgrade prettier to 3.2.5 2024-03-29 14:39:52 +01:00
Madhuri Sandbhor
c9afae39a5
fix(releases): Scheduling info capitalization (#19945)
* fix: first letter casing

* fix: upgraded styled components to fix the error: defaultProps circularly references

* update: @types/styled-components upgraded to 5.1.32

* fix: minor change
2024-03-28 14:29:40 +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
bebdee5fad
fix: clean document service relation transforms (#19859) 2024-03-28 08:51:53 +01:00
Alexandre BODIN
b862056abd
Merge pull request #19917 from strapi/v5/validator
chore: init zod usage
2024-03-27 21:30:45 +01: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
Ben Irvin
99d624cdea
chore: upgrade rimraf to 5.0.5 2024-03-27 15:21:38 +01:00
DMehaffy
2e80eaf43a
fix(cm): Creating a new locale doesn't pre-fill the non-internationalized fields (#18773) 2024-03-27 11:53:43 +00: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
Alexandre BODIN
e78841e51a
Merge pull request #19931 from strapi/v5/facades
chore: cleanup public interface of strapi/strapi
2024-03-27 10:22:09 +01:00
Marc Roig
ae6b92318c
fix: sanitize file name when uploading image (#19913) 2024-03-27 09:47:35 +01:00
Simone
a4bd82ce45
fix(content-releases): fix flaky FE unit tests (#19927)
* fix(content-releases): fix flaky unit tests

* fix(content-releases): change Permission mock

* fix(content-releases): change CheckPermissions mock for all the CR unit tests
2024-03-27 08:21:40 +00:00
Alexandre Bodin
6a0886d6e0 chore: init facades & cleanup public interface of strapi/strapi 2024-03-26 21:18:33 +01:00
Marian Šimeček
83da60fad7 update sharp package 2024-03-26 18:27:15 +01:00
Madhuri Sandbhor
dd543b13a3
Feat(releases): Bulk Release (#19891)
* 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

---------

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2024-03-26 14:30:44 +01:00
Alexandre BODIN
c7385f2e9d
Merge pull request #19921 from strapi/dep/updateKoaCors
chore(deps): bump @koa/cors from 3.4.3 to 5.0.0
2024-03-26 13:47:25 +01:00
Marc Roig
343968041b
fix: relations lazy loading (#19932) 2024-03-26 13:44:21 +01:00
DMehaffy
63c0d83097
chore(deps): bump sanitize-html (and types) from 2.11.0 to 2.13.0 (#19922)
fixes https://www.npmjs.com/advisories/1096639
2024-03-26 07:55:55 +00:00
Derrick Mehaffy
9ffea33d6d chore(deps): bump @koa/cors from 3.4.3 to 5.0.0
fixes https://www.npmjs.com/advisories/1095223
2024-03-25 13:45:37 -07:00
Alexandre Bodin
8399dcd71b chore: refactor api registry 2024-03-25 21:38:17 +01:00
Alexandre Bodin
08b52e8741 chore: init zod usage 2024-03-25 21:01:38 +01:00
Ben Irvin
fd7c075839
enhancement(database)!: shorten db identifies and add internal migration 2024-03-25 18:02:30 +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
Simone
1e46ca9254
fix(admin): show purchase pages also with Cloud plans and change message (#19855) 2024-03-25 13:59:41 +01:00
Alexandre BODIN
5f5cb554de
Merge pull request #19906 from strapi/v5/traverse-get-model
chore: remove strapi global from traversal utils
2024-03-25 10:44:06 +01:00
Fernando Chávez
e037d5fc8a
Merge pull request #19865 from strapi/fix/releases-timezones
fix(content-releases): fix creation of utc time based when sending to back
2024-03-25 10:32:07 +01:00
Alexandre Bodin
fed8ac1cb7 chore: remove usage of strapi global in traverse 2024-03-25 08:52:10 +01:00
Alexandre Bodin
78d30d2e60 chore: reintegrate policy logic into core 2024-03-25 08:51:43 +01:00
Christian
10659c5ef9
Merge pull request #19870 from strapi/fix/dts-fk-constraint
Solve foreign key error on push transfers
2024-03-22 12:02:10 +01:00
Christian
aa9875d3f0
Merge branch 'develop' into fix/dts-fk-constraint 2024-03-22 11:18:05 +01:00