36133 Commits

Author SHA1 Message Date
Josh
dffc31a9b2
chore(admin): convert HomePage, Admin & InstalledPluginPage to TS (#18568)
* chore(admin): convert HomePage to TS

* chore(admin): convert pages/Admin to TS

* chore(admin): convert InstalledPluginsPage to TS
2023-10-25 17:08:16 +01:00
Josh
579dcdb39b Merge branch 'main' into v5/main 2023-10-25 16:46:47 +01:00
Marc Roig
ea26b0dc3f
Merge pull request #18475 from strapi/ts/replace-util 2023-10-25 16:23:34 +02:00
Maxime Castres
285944d4bb
feat(cloud): add strapi cloud plugin to CMS for marketing (#18209)
* Add: Strapi Plugin Cloud

* Update: first review changes

* Update: remove versioning check + add eslint

* Update: register the plugin only on development

* Update: add cloud plugin by default in package.json

* Update: make the plugin installed by default

* Update: convert plugin in typescript

* Update: package.json file

* chore: setup the project like color-picker

* chore: fix TS issue

* Add: fix utm params

* Fix: lint issue with Link compo

* chore: fix issue with strapi.name in pkg.json

* chore: fix build scripts

---------

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2023-10-25 15:13:53 +01:00
Josh
8735d4f8a9
chore(admin): convert useInjectReducer, core/apis & StrapiApp to TS (#18554)
* chore(admin): convert useInjectReducer to TS

* chore(admin): convert core apis

* chore(admin): convert StrapiApp

* chore: fix test
2023-10-25 14:49:22 +01:00
Marc-Roig
38a477742e
fix: comment out code 2023-10-25 15:36:27 +02:00
Marc-Roig
6e44e1e68d
v4.15.0 v4.15.0 2023-10-25 15:06:00 +02:00
Marc-Roig
1c15eeb66f
fix: add clean command to strapi strapi 2023-10-25 14:38:03 +02:00
Ben Irvin
06f98c5f74
Merge pull request #17885 from PatrickJira/patch-1 2023-10-25 13:08:10 +02:00
Ben Irvin
0f699b555f
Merge pull request #18561 from strapi/v5/fix-react-resolutions 2023-10-25 12:48:11 +02:00
Ben Irvin
38da416210
Merge branch 'main' into patch-1 2023-10-25 12:05:11 +02:00
Marc-Roig
a65cb5fa0f
fix: add react resolutions into root package json 2023-10-25 11:34:24 +02:00
Marc-Roig
ffbfd2e355
Merge branch 'v5/main' into v5/document_id 2023-10-25 11:16:14 +02:00
Marc Roig
3864f69414
Merge pull request #18559 from strapi/v5/fix-after-sync-hook 2023-10-25 11:15:53 +02:00
Marc-Roig
9db1670aa3
fix: re add deleted afterSync hook 2023-10-25 10:55:03 +02:00
Gustav Hansen
1f6fb6872c
Merge pull request #18460 from strapi/dependabot/npm_and_yarn/babel/traverse-7.23.2
chore(deps): bump @babel/traverse from 7.17.9 to 7.23.2
2023-10-25 10:10:19 +02:00
dependabot[bot]
c3779782c4
chore(deps): bump @babel/traverse from 7.17.9 to 7.23.2
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.17.9 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-25 07:46:54 +00:00
Josh
48867929ad
chore(admin): convert marketplace (#18548) 2023-10-25 08:45:09 +01:00
Marc-Roig
4f8a8b564a
Merge branch 'v5/main' into v5/document_id 2023-10-25 09:28:39 +02:00
Alexandre BODIN
5ae0dc40cd feat!(content-manager): remove the ability to disable draft&publish (#18488)
* feat!: remove draft and publish triggering

* chore: update snapshots and tests

* test: adapt tests
2023-10-24 17:18:59 +01:00
Alexandre Bodin
df37b096ba chore(core/strapi): simplify loader and registries 2023-10-24 17:18:59 +01:00
Alexandre Bodin
0b5590b0eb chore(core/strapi): extend container in strapi class 2023-10-24 17:18:59 +01:00
Alexandre Bodin
aa378a1671 chore(core/strapi): move components into their own registry 2023-10-24 17:18:59 +01:00
Alexandre Bodin
a3dbc65c42 chore(core/strapi): remove postinstall 2023-10-24 17:18:59 +01:00
Alexandre Bodin
1ccc22fb6d chore(core/database): update test 2023-10-24 17:18:59 +01:00
Alexandre Bodin
dc73e9580f docs(core/database): add documentation & diagram 2023-10-24 17:18:59 +01:00
Alexandre Bodin
f0c3683482 feat(database): add internal migrations 2023-10-24 17:18:59 +01:00
Josh
b056d717df chore(tooling): add commitlint (#18402)
resolves #16645
2023-10-24 17:18:59 +01:00
Gustav Hansen
374327cc6a
chore(admin): convert core utils to TS (#18551) 2023-10-24 14:52:18 +01:00
dependabot[bot]
6d4aa21c4a
chore(deps): bump esbuild-register from 3.4.2 to 3.5.0 (#18344)
Bumps esbuild-register from 3.4.2 to 3.5.0.

---
updated-dependencies:
- dependency-name: esbuild-register
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-24 13:24:31 +01:00
Sora Morimoto
a8cb502824
chore(deps): update yarn to v4.0.0 (#18530)
* Update Yarn to v4.0.0

Signed-off-by: Sora Morimoto <sora@morimoto.io>

* `yarn format`

Signed-off-by: Sora Morimoto <sora@morimoto.io>

---------

Signed-off-by: Sora Morimoto <sora@morimoto.io>
2023-10-24 12:43:07 +01:00
Gustav Hansen
73ccf90b25
Merge pull request #18487 from strapi/chore/app-ts
chore(admin): convert App to TS
2023-10-24 12:50:02 +02:00
Gustav Hansen
3befaebe99 chore(admin): dissolve app.js entry 2023-10-24 12:19:17 +02:00
Gustav Hansen
68b676d9e1 chore(admin): convert App to TS 2023-10-24 12:19:17 +02:00
Rémi de Juvigny
4553cf9db2
fix(ctb): update attribute picker spacings (#18509)
* Fix attribute picker grid spacing

* Change CTB attribute options order

* Update snapshots

* Add comment
2023-10-24 11:47:48 +02:00
Gustav Hansen
72d7b2a214
Merge pull request #18534 from strapi/chore/useInjectionZone-ts
chore(admin): convert useInjectionZone to TS
2023-10-24 11:44:43 +02:00
Gustav Hansen
ced8d7b762 core(admin): add manual mock for useInjectionZone 2023-10-24 11:23:20 +02:00
Gustav Hansen
814d042b40 chore(admin): convert InjectionZone to TS 2023-10-24 11:23:18 +02:00
Gustav Hansen
b6d996c75d chore(admin): convert useInjectionZone to TS 2023-10-24 11:22:23 +02:00
Maxime Castres
dfc4d17eb4
feat(admin): add promoting EE features in CE projects by default (#18179)
* Add: promoting EE features in CE projects by default

* Add: pages

* Update: first review modifications

* Update: integrate locked features pages

* Update: rename pages + update links to the website

* Update: append config to default files

* Update: implement flags logic

* Update: implement promoteEnterpriseFeatures flag

* Update: revamp variable + add doc

* Update: add documentation

* Delete: ContentTypes.d.ts file
2023-10-23 17:20:59 +01:00
Madhuri Sandbhor
cfd8d171ac
feat(blocks): add stable release badge (#18484)
* feat: added stable release badge

* refactor: NewBadge component added

* fix: removed comments for blocks stable release

---------

Co-authored-by: Rémi de Juvigny <remi.dejuvigny@strapi.io>
2023-10-23 17:23:48 +02:00
Rémi de Juvigny
aad59f0299
chore(deps): update design-system to 1.13.0 (#18538) 2023-10-23 16:43:26 +02:00
Simone
c3ed61e2a8
fix(blocks): fix weird behaviour when try to delete content inside a list (dropdown option empty) (#18521)
* handle delete on lists

* remove schema changes

* remove console log

* check if focus is at the beginning of a line

* remove unused component

* fix lift node issue

* fix setNodes on empty list item

* fix issue on list items

* fix modifiers weird behaviour

* check focus at beginning of a child element

* fix weird behaviour

* add unit test

* add unit tests
2023-10-23 16:14:27 +02:00
Gustav Hansen
24d524e6ae
Merge pull request #18536 from strapi/chore/useContentTypes-ts
chore(admin): convert useContentTypes to TS
2023-10-23 14:05:29 +02:00
Rémi de Juvigny
80f07cb16a
fix(blocks): prevent creating images inside a list (#18496)
* Fix converting list items to images

* Remove unused import

* Add media library test

* Update packages/core/admin/admin/src/content-manager/components/BlocksEditor/Toolbar/index.js

Co-authored-by: Madhuri Sandbhor <madhurisandbhor@gmail.com>

* Extract mock image variable

---------

Co-authored-by: Madhuri Sandbhor <madhurisandbhor@gmail.com>
2023-10-23 13:51:50 +02:00
Gustav Hansen
34a498b183 chore(admin): convert useContentTypes to TS 2023-10-23 13:07:18 +02:00
Madhuri Sandbhor
79065ed330
fix(blocks): Select without border and disable styles (#18492)
* fix: select without border and disable styles

* fix: changes for disable style

* style: optimization

* style: divider added after the select DD
2023-10-23 12:50:47 +02:00
Gustav Hansen
588add7a0b
Merge pull request #18533 from strapi/chore/language-provider-mock-ts
chore(admin): move LanguageProvider mock file to TS
2023-10-23 11:54:53 +02:00
Gustav Hansen
34eb88a04c chore(admin): convert LanguageProvider mock file to TS 2023-10-23 10:17:02 +02:00
Rémi de Juvigny
fe057a59ea
feature(admin): sync theme with system theme (#18502)
* Sync with system theme feature

* Use newer SingleSelect component

* Remove log

* Feedback fixes
2023-10-23 09:28:51 +02:00