33755 Commits

Author SHA1 Message Date
Ben Irvin
01dfca22b2
chore: remove deprecated isSupportedImage 2024-01-18 11:50:21 +01:00
Josh
b9aef55175
fix(cm): create entries (#19254)
* test(e2e): add better e2e tests for EditView CM

* fix(cm): handle that the `id` might be `create`

* docs: update e2e content-type docs
2024-01-18 10:22:06 +00:00
Alexandre BODIN
12aac38584
Merge pull request #19243 from strapi/v5/fix-incaught-ts-issues
Fix uncaught ts issues
2024-01-18 09:59:31 +01:00
Alexandre Bodin
aacf182ae4 chore: use koa-body typings not koa-bodyparser 2024-01-17 16:53:52 +01:00
Alexandre Bodin
1ffeb510a8 chore(pack-up): fail on any typing issue 2024-01-17 16:27:59 +01:00
Josh
316470cdf8 Merge branch 'develop' into v5/main 2024-01-16 17:46:26 +00:00
Simone
334c95408a
fix(content-releases): align columns in the Release Details page (#19188)
* fix(content-releases): change the width of the table columns

* fix(content-releases): add width to the Status column

* fix lint error

* fix status column shifting
2024-01-16 17:28:40 +01:00
Alexandre Bodin
38298e9ebd Merge branch 'releases/4.17.1' into develop 2024-01-16 17:24:48 +01:00
Fernando Chávez
c9259c6680
fix(content-releases): add edit entry to details view (#19161)
Co-authored-by: Mark Kaylor <mark.kaylor@strapi.io>
2024-01-16 15:17:59 +01:00
Jean-Sébastien Herbaux
acf3e3bf8d
Merge pull request #19226 from strapi/cli-tests/add-template-and-seed-data 2024-01-16 15:07:35 +01:00
Ben Irvin
cff60542f3 feat: add gzip support to readDir 2024-01-16 14:51:03 +01:00
Ben Irvin
e6f04743d6 feat: add gzip support to utils 2024-01-16 14:33:05 +01:00
Alexandre BODIN
70627e74ca
Merge pull request #19223 from strapi/v5/content-manager-ts
Migrate EditSettingsView to ts
2024-01-16 14:25:38 +01:00
Ben Irvin
9a801db09a
chore: remove deprecation comment 2024-01-16 14:11:55 +01:00
markkaylor
0e9bc9835c
Merge pull request #19231 from strapi/chore/remove-prepublish-only
chore(content-releases): remove prepublishOnly script
2024-01-16 13:54:26 +01:00
Jean-Sébastien Herbaux
95203c9e1f
Merge pull request #19221 from strapi/cli-tests/github-ci 2024-01-16 13:53:29 +01:00
Ben Irvin
dbcbf9a7df
Merge branch 'v5/main' into cli-tests/add-template-and-seed-data 2024-01-16 12:51:06 +01:00
Ben Irvin
eaf06ba8bf chore: add seed data 2024-01-16 12:49:00 +01:00
Convly
0dd2111c2f enhancement: add a "skipped" message, rename to "CLI Tests" 2024-01-16 12:15:38 +01:00
Ben Irvin
4052ef6e8f
fix: respect autogenerate setting for JS projects 2024-01-16 12:10:23 +01:00
Mark Kaylor
2638d69791 chore(content-releases): remove prepublishOnly script 2024-01-16 11:56:36 +01:00
Alexandre Bodin
8f2c1c1fef v4.17.1 v4.17.1 2024-01-16 11:50:41 +01:00
Alexandre Bodin
37b3dbf893 chore: apply review feedbacks and add refactoring todo 2024-01-16 10:57:44 +01:00
Marc Roig
144002dc1f
Merge pull request #19060 from strapi/v5/rename-doc-service-to-engine
feat: rename document engine
2024-01-16 10:17:05 +01:00
Ben Irvin
4bb9f629dd chore: linting 2024-01-15 18:47:25 +01:00
Ben Irvin
d71c30a2ab feat: init schemas in template 2024-01-15 18:38:45 +01:00
Josh
fe983aff15 fix(cm): component edit view settings 2024-01-15 17:04:41 +00:00
markkaylor
2b10ca9b97
chore(content-releases): enforce license limits for pending releases (#19208) 2024-01-15 17:23:48 +01:00
Alexandre Bodin
a0d7ebc30f chore: migrate EditSettingsView to ts 2024-01-15 16:06:54 +00:00
Josh
687ad7e959
fix(cm): manage when we're creating entries derivatively in the CM (#19209)
* fix(cm): manage when we're creating entries derivatively in the CM

* fix(cm): pass valid get params to API

* fix(cm): single-types onPut call requires params

* fix(i18n): cm locale picker status badges
2024-01-15 15:51:07 +00:00
Alexandre Bodin
95cc6bc4df chore: move files to ts with errors 2024-01-15 15:41:25 +00:00
Christian
6cfcadfee1
fix: skip orphan links on import and transfer
* fix: show warning on foreign key constraint error
* fix: remove todo
* fix: improve error handling
* fix: typo
* fix: uncomment necessary code
* fix: move error message check to its corresponding function
* fix: move error message check to its corresponding function
* fix: add the onwarning function to the import command
* fix: add nested transactions to links transfer
2024-01-15 16:15:43 +01:00
Convly
326732dc89 feat: add GitHub CI skeleton for CLI tests 2024-01-15 15:07:54 +01:00
Jean-Sébastien Herbaux
cc6f20c027
Merge pull request #19213 from strapi/upgrade-tool/allow-pre-releases 2024-01-15 14:56:47 +01:00
Ben Irvin
13a2f8b246
feat: Upgrade to Apollo v4
* feat: update and make build work

BREAKING CHANGE: Update from 'apollo-server-koa' to '@apollo/server' and '@as-integrations/koa'

* chore: fix comments

* chore: upgrade graphql-upload package

* chore: fix for body type unknown

* chore: remove old comment

* chore: clean up error handling

* chore: fix comment

* fix: http status codes for input validation errors

* fix: remove unused import

* fix: remove accidental bodyparser

* fix: add new required header to tests

* chore: standardize directive key names to be kebab-case

* test: add some extra message validation

* chore: remove devdep for koa-cors typings

* fix: add unknown error name

* fix: yarn.lock

* fix: add typings

* fix: typings

* fix: typings again

* fix: remove unused imports

* chore: remove unused import

* chore: move playground check to a service

* fix: package imports and versions

* chore: fix yarn.lock

* chore: fix types

* chore: clean up koa typings

* chore: koa typing cleanup

* chore: cleanup koa typings

* chore: more koa type cleanup

* chore: revert missing imports

* chore: cleanup koa typings

* chore: update yarn.lock
2024-01-15 14:54:58 +01:00
Josh
cc1043c512
feat: update to react-router-dom@6 (#19184) 2024-01-15 11:13:36 +00:00
Convly
7ca6f2723a chore: fix lint issues (unnecessary else after return) 2024-01-15 12:07:22 +01:00
Alexandre BODIN
fb7bcb3f0d
Merge pull request #19214 from strapi/v5/content-manager-ts
chore: migration ListSettingsView to ts
2024-01-15 10:36:52 +01:00
Marc-Roig
83318fb940
chore: rename doc service 2024-01-15 10:30:24 +01:00
Marc-Roig
cb1114d267
Merge branch 'v5/main' into v5/rename-doc-service-to-engine 2024-01-15 10:15:11 +01:00
Alexandre Bodin
5ac12eccba chore: migration ListSettingsView to ts 2024-01-12 18:20:43 +01:00
Simone
37dd1e3ff2
fix(content-releases): handle the case we have an error with the Actions API (#19201) 2024-01-12 16:43:12 +01:00
Fernando Chávez
6afedafb5d
fix(content-releases): using lifecycle hooks for delete actions (#19178)
* fix(content-releases): using lifecycle hooks for delete actions when entries are deleted

* Update packages/core/content-releases/server/src/bootstrap.ts

Co-authored-by: markkaylor <mark.kaylor@strapi.io>

---------

Co-authored-by: markkaylor <mark.kaylor@strapi.io>
2024-01-12 16:24:30 +01:00
Fernando Chávez
3a85dd153e
fix(content-releases): dont allow update on a released release (#19165)
* fix(content-releases): dont allow update on a released release

* fix(content-releases): move logic to services

* fix(content-releases): check if release is published on update

* check if release is released when adding entries

* add test cases

* change tests names
2024-01-12 16:21:58 +01:00
Convly
71336319dd feat: update commands' types, add a hidden "to" command with a codemod target option 2024-01-12 15:31:45 +01:00
Convly
803724d019 enhancement: override the upgrader's codemods target if specified in the task options 2024-01-12 15:31:45 +01:00
Convly
0578c01f64 fix: update the codemods task with previous changes 2024-01-12 15:31:45 +01:00
Convly
e559f78f78 enhancement: skip range creation in the upgrader factory when the target is a valid semver 2024-01-12 15:31:45 +01:00
Convly
13c7fd1a41 feat: add a codemodsTarget (upgrader module) that can be sync to/desync from the original target 2024-01-12 15:31:45 +01:00
Convly
b6bf9f3896 chore: rename version utils and introduce an isValidSemVer helper 2024-01-12 15:31:45 +01:00