36133 Commits

Author SHA1 Message Date
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
Convly
b8a12ac27d enhancement: match any semver (instead of x.x.x only) for strapi deps in the project module 2024-01-12 15:31:45 +01:00
Convly
f1a604dde8 feat: add findVersion(version) helper to the npm package module 2024-01-12 15:31:45 +01:00
Convly
d667638e68 fix: update codemod-runner.test.ts to accommodate latest changes 2024-01-12 14:52:55 +01:00
Convly
5e819945cb chore: improve logging and comments in Codemod Runner 2024-01-12 14:41:13 +01:00
Christian
a75a6b909e
Merge branch 'develop' into Upload-AWS-S3-docs-hotfix 2024-01-12 13:55:17 +01:00
markkaylor
0c6eab7116
Merge pull request #19211 from strapi/fix/publish-scripts
fix(scripts): add skip cache flag
2024-01-12 13:22:07 +01:00
markkaylor
28330b04f5
fix(content-releases): delete release-actions depending on changes to… (#19185) 2024-01-12 13:21:22 +01:00
Mark Kaylor
40dc25729e fix(scripts): add skip cache flag 2024-01-12 12:48:45 +01:00
Marc Roig
d39441e3c2
Merge pull request #19058 from strapi/v5/extend-locale-attr-to-all-ct
feat: extend i18n attributes to every content type
2024-01-12 11:22:53 +01:00
Jean-Sébastien Herbaux
8eae032d55
Merge pull request #19170 from strapi/cli-tests/seed-capabilities 2024-01-12 11:12:35 +01:00
Convly
5398caeb76 Merge branch 'v5/main' of github.com:strapi/strapi into cli-tests/seed-capabilities 2024-01-12 10:33:44 +01:00
Convly
7f8f350d73 chore: add comments & todo 2024-01-12 10:33:25 +01:00
Marc-Roig
03f38a5baf
fix: release all content types as now d&p is always enabled 2024-01-12 09:57:16 +01:00
Marc Roig
218cb1b2d1
Merge branch 'v5/main' into v5/extend-locale-attr-to-all-ct 2024-01-11 18:07:58 +01:00
Josh
e1ede8c55a
feat(strapi): add experimental pluginlink command to CLI (#19143)
* feat(strapi): add plugin:link-watch command to CLI

* chore: skip assertion of strapi project if its the plugin:init command

* fix: add yalc

* fix: add yalc files/folders to ignore list to avoid restarting strapi when using

* chore: don't use run-action on plugin:init

* chore: add yarn dlx command to yarn suggestion
2024-01-11 16:00:54 +00:00
Josh
d402c40cae Merge branch 'develop' into v5/main 2024-01-11 15:52:47 +00:00
Marc Roig
74fdc42f98
Merge branch 'v5/main' into v5/extend-locale-attr-to-all-ct 2024-01-11 16:28:44 +01:00
Marc Roig
55d101ec70
Merge pull request #19191 from strapi/v5/ignore-locale-parameters
feat: ignore locale parameter on non localized content types
2024-01-11 16:10:34 +01:00
Josh
a3690b16a3
feat: add vite (#18697)
* feat: add vite

* fix: CheckPagePermissions was buggy

* fix: vite CJS warning & double print of experimental message

* chore: move to use plugins-workspace folder

* chore: update deps

---------

Co-authored-by: Paul <45032974+hide-me@users.noreply.github.com>
2024-01-11 14:14:25 +00:00
markkaylor
4b33c7a01b
Merge pull request #19198 from strapi/fix/release-action-menu-styles
fix(content-releases): fix ReleaseActionMenu styles
2024-01-11 11:51:38 +01:00
Sébastien Vanvelthem
d9649a4764
ci(perf): update yarn-nm-install action (#18747) 2024-01-11 09:42:47 +00:00
Josh
c626c4234c
chore: update contribution guide to reflect new git process (#19196) 2024-01-11 08:57:03 +00:00
Mark Kaylor
be43aa4d97 fix(content-releases): fix ReleaseActionMenu styles 2024-01-11 09:45:03 +01:00
Josh
eddf037976
chore(admin): data-transfer should be dev dep & peer dep loose (#19192) 2024-01-11 08:02:21 +00:00
Josh
55ed5ffec2 Merge branch 'v5/main' of github.com:strapi/strapi into v5/main 2024-01-10 15:59:01 +00:00