Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(content-releases): releases migration to v5 #20259

Open
wants to merge 36 commits into
base: v5/main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
a2e14b4
chore: migrate bulk publish & unpublish to v5
Feranchz Apr 23, 2024
5693666
chore: change findLocales type to accept arrays
Feranchz Apr 24, 2024
6357df1
Merge branch 'v5/main' of github.com:strapi/strapi into v5/bulk-publi…
Feranchz Apr 24, 2024
df2d2f0
chore: fix lint error
Feranchz Apr 24, 2024
a63f691
Merge branch 'v5/main' of github.com:strapi/strapi into v5/bulk-publi…
Feranchz Apr 25, 2024
b1574bc
chore: migrate bulkDelete to v5 (#20161)
Feranchz Apr 25, 2024
a50e1df
enhancement: migrate countManyDraftRelations to v5
Feranchz Apr 26, 2024
a241141
Merge branch 'v5/bulk-publish-unpublish' of github.com:strapi/strapi …
Feranchz Apr 26, 2024
49a3dbb
Merge branch 'v5/main' of github.com:strapi/strapi into v5/bulk-publi…
Feranchz Apr 26, 2024
399b3ec
Merge branch 'v5/main' of github.com:strapi/strapi into v5/bulk-publi…
Feranchz May 2, 2024
f9c83d4
chore(content-releases): v5 migration
Feranchz May 3, 2024
1eabcf6
Merge branch 'v5/main' of github.com:strapi/strapi into v5/releases
Feranchz May 3, 2024
bdd44ba
Merge branch 'v5/main' of github.com:strapi/strapi into v5/releases
Feranchz May 3, 2024
45ed075
chore(content-releases): remove CMReleasesContainer
Feranchz May 3, 2024
fa30bb3
Merge branch 'v5/main' of github.com:strapi/strapi into v5/bulk-publi…
Feranchz May 3, 2024
3a6b0d1
Merge branch 'v5/main' of github.com:strapi/strapi into v5/releases
Feranchz May 3, 2024
024a4b2
Merge branch 'v5/bulk-publish-unpublish' of github.com:strapi/strapi …
Feranchz May 3, 2024
4d4f7f4
fix(content-releases): singleType works with v5 changes and e2e tests…
Feranchz May 6, 2024
20b7e22
Merge branch 'v5/main' of github.com:strapi/strapi into v5/releases
Feranchz May 13, 2024
65cc870
fix(content-releases): apply josh & marc comments
Feranchz May 27, 2024
85e51ec
Merge branch 'v5/main' of github.com:strapi/strapi into v5/releases
Feranchz May 27, 2024
4fd914b
apply comments
Feranchz May 27, 2024
344ff4f
fix(content-releases): tests
Feranchz May 28, 2024
b63f107
fix(content-releases): create custom populate object for each content…
Feranchz May 28, 2024
11ca2c6
fix(content-releases): build problem
Feranchz May 29, 2024
0c3d024
fix(content-releases): editing lifecycles
Feranchz May 29, 2024
c8575f2
Merge branch 'v5/main' of github.com:strapi/strapi into v5/releases
Feranchz May 29, 2024
8f7303f
fix(content-releases): details view table columns
Feranchz May 29, 2024
8f351c8
Merge branch 'v5/main' of github.com:strapi/strapi into v5/releases
Feranchz May 29, 2024
602c470
feat: releases settings (#20354)
Marc-Roig May 29, 2024
7afdc9b
feat: content releases settings permissions (#20357)
Marc-Roig May 29, 2024
c9e680c
fix(content-releases): run settings api tests only on ee edition
Feranchz May 30, 2024
d0f8ded
Merge branch 'v5/main' of github.com:strapi/strapi into v5/releases
Feranchz May 30, 2024
90ed6e8
fix(content-releases): apply mark comments
Feranchz May 30, 2024
5a7579f
fix(content-releases): remove releases box when there are no releases…
Feranchz May 30, 2024
5a73759
Merge branch 'v5/main' of github.com:strapi/strapi into v5/releases
Feranchz Jun 6, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/core/admin/admin/src/utils/getFetchClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class FetchError extends Error {
public name: string;
public message: string;
public response?: ErrorResponse;
public code?: number;
public code?: number | string;
public status?: number;

constructor(message: string, response?: ErrorResponse) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ export default {
return ctx.forbidden();
}

const entities = await documentManager.findMany(
const documents = await documentManager.findMany(
{
filters: {
documentId: ids,
Expand All @@ -698,7 +698,7 @@ export default {
model
);

if (!entities) {
if (!documents) {
return ctx.notFound();
}

Expand Down