33393 Commits

Author SHA1 Message Date
Leah Weisz
1dbb4b62d9 feat(app-generator): create plugins file when init strapi 2024-01-09 17:36:35 +01:00
Jamie Howard
40ef34cbcd
(content-manager): types for component service (#18869) 2023-12-07 11:58:14 +00:00
ELABBASSI Hicham
09496b2288
Merge pull request #18984 from strapi/chore/convert-review-workflows-page
chore(admin): convert review workflows page to TS
2023-12-07 09:42:24 +01:00
Josh
8248335ad3 fix: use empty string for default id so we don't try to stringify undefined 2023-12-06 22:41:51 +01:00
Josh
a7b1360f24 fix(cm): export some types for building 2023-12-06 22:41:51 +01:00
HichamELBSI
59a6b3828b chore(admin): convert review workflows page to TS (fix feedback) 2023-12-06 22:41:51 +01:00
HichamELBSI
31c6013e13 chore(admin): convert review workflows page to TS 2023-12-06 22:41:51 +01:00
Josh
ac7ce4ebf2
chore(content-manager): convert cm app shell to TS (#18985) 2023-12-06 16:51:55 +00:00
Josh
e85a23d937
fix(permissions): circular dependency (#18986)
* fix(permissions): circular dependency

* Apply suggestions from code review

Co-authored-by: Ben Irvin <ben@innerdvations.com>

* Apply suggestions from code review

Co-authored-by: Jean-Sébastien Herbaux <jean-sebastien.herbaux@epitech.eu>

---------

Co-authored-by: Ben Irvin <ben@innerdvations.com>
Co-authored-by: Jean-Sébastien Herbaux <jean-sebastien.herbaux@epitech.eu>
2023-12-06 08:47:11 +00:00
Josh
295178369f
chore(cm): convert recursive layouts to TS (#18983) 2023-12-05 16:03:14 +00:00
Josh
327b3dcd83
fix(content-manager): add memoization to params object to stop recursion (#18982) 2023-12-05 15:29:09 +00:00
Josh
f1dd5cc8ee
chore(content-manager): convert the editview to typescript (#18948) 2023-12-04 16:00:50 +00:00
Josh
865fdcc5d9
chore(workflows): update unit_front to use node 20 (#18962) 2023-12-01 17:25:35 +00:00
dependabot[bot]
63eaab0923
chore(deps): bump @adobe/css-tools from 4.3.1 to 4.3.2 (#18961) 2023-12-01 07:23:04 +00:00
Josh
3301d58a39
chore(deps): update DS to 1.13.2 (#18959)
* chore(deps): update DS to 1.13.2

* chore: update snapshots
2023-11-30 16:37:04 +00:00
Alexandre Bodin
6b35da10af Merge branch 'main' into develop 2023-11-30 16:32:56 +01:00
Josh
d5f620ac3b
Merge pull request #18947 from strapi/releases/4.15.5
Releases/4.15.5
2023-11-30 15:19:08 +00:00
Mark Kaylor
f486f51567 fix: update frontend snapshots after downgrade 2023-11-30 15:56:13 +01:00
Mark Kaylor
675d60f265 fix: downgrade @strapi/icons to match main 1.13.0 2023-11-30 14:16:07 +01:00
Josh
dfec2ca3fc
chore(i18n): convert middlewares to TS (#18957) 2023-11-30 11:58:42 +00:00
Mark Kaylor
b6dda1f6ae chore: update frontend snapshots 2023-11-30 12:07:39 +01:00
Mark Kaylor
97e854e902 Merge branch 'main' of github.com:strapi/strapi into releases/4.15.5 2023-11-30 11:08:02 +01:00
Mark Kaylor
dc96169c3f v4.15.5 v4.15.5 2023-11-29 16:42:28 +01:00
Rémi de Juvigny
2611986c0d
fix(blocks): handle enter key on image (#18901)
* fix(blocks): handle enter key on image

* reuse mock schema image

* show image block focus

* remove created paragraph

* remove unused utils

* fix delete image when it's the only block

* fix images taller than needed
2023-11-29 16:23:21 +01:00
Rémi de Juvigny
a8393a3381
feat(blocks): add markdown snippets (#18922)
* wip

* handle snippets

* handle multiple snippets

* add snippet for image block

* add + snippet for list

* mark feedback

* add code block snippet
2023-11-29 14:14:47 +01:00
Rémi de Juvigny
adbd820884
feat(blocks): make it easier to exit code blocks (#18894)
* handle double enter on code blocks

* rename code translations

* allow forced line breaks

* mark feedback

* don't add paragraph when converting to code block
2023-11-29 11:19:25 +01:00
Alexandre BODIN
76a7b8a5b5
Merge pull request #18745 from belgattitude/yarn-dedupe-deps 2023-11-28 15:56:20 +01:00
Alexandre Bodin
74605c3f6c update lockfile 2023-11-28 15:37:02 +01:00
Sébastien Vanvelthem
520c59aa2c chore(lock): deduplicate dependencies
Co-Authored-By: Sébastien Vanvelthem <belgattitude@users.noreply.github.com>
2023-11-28 15:36:30 +01:00
Josh
b7d336700e
chore(cm): convert crudReducer to TS (#18879)
Update packages/core/admin/admin/src/content-manager/components/CollectionTypeFormWrapper/index.jsx
2023-11-28 09:01:48 +00:00
Gustav Hansen
c9130a2ea3
chore(admin): convert token components to TS (#18907) 2023-11-27 21:08:40 +00:00
Alexandre BODIN
9e5de363e3
Merge pull request #18916 from strapi/docs/aws-v3-update 2023-11-27 17:38:06 +01:00
Christian
e8beb0977f
Merge branch 'releases/4.15.5' into docs/aws-v3-update 2023-11-27 17:15:05 +01:00
Christian
ee776447bc
Update packages/providers/upload-aws-s3/README.md
Co-authored-by: Ben Irvin <ben@innerdvations.com>
2023-11-27 16:57:58 +01:00
Christian
33193ce8b2
Update packages/providers/upload-aws-s3/README.md
Co-authored-by: Ben Irvin <ben@innerdvations.com>
2023-11-27 16:57:46 +01:00
Christian
2781bf02bd
Update packages/providers/upload-aws-s3/README.md
Co-authored-by: Ben Irvin <ben@innerdvations.com>
2023-11-27 16:57:26 +01:00
Christian Capeans
52e9a48a8f chore: add documentation for old s3 urls 2023-11-27 16:25:40 +01:00
markkaylor
4d35516709
Merge pull request #18580 from ciriousjoker/fix-localization-response 2023-11-27 12:07:29 +01:00
Rémi de Juvigny
87b413c0c2
chore(blocks): handle block conversion logic in the blocks store (#18840)
* chore: manage block conversion logic in blocks store

* fix heading conversion when inside list

* make handleConvert optional

* add comments to conversions file

* extract getAttributesToClear

* extract baseHandleConvert
2023-11-27 09:57:35 +01:00
Gustav Hansen
b1a2b217c4
Merge pull request #18885 from strapi/chore/transfer-tokens-ts-2
chore(admin): convert transfer tokens to TS
2023-11-24 16:46:02 +01:00
Gustav Hansen
daf387268b chore(admin): convert transfer tokens to TS
Co-authored-by: Josh Ellis <josh.ellis@strapi.io>
2023-11-24 13:18:11 +01:00
Rémi de Juvigny
8811cfafd2
fix(blocks): add modifiers to test provider (#18898) 2023-11-23 18:14:54 +01:00
Rémi de Juvigny
e19c0efd68
chore(blocks): pass modifiers via useBlocksEditorContext (#18802)
* move toolbar up one directory

* rename BlocksInput to BlocksContent

* rename BlocksEditor to BlocksInput

* rename parent dir to BlocksInput

* extract BlocksEditor component out of BlocksInput

* pass editor via useBlocksEditorContext hook

* rename Toolbar file to BlocksToolbar

* update test names

* assemble blocks store in context

* add basic unit tests for each block type

* test individual block logic

* simplify wrapper code

* delete useBlocksStore

* rename dir to Blocks

* fix build error

* use type guard for Link element

* pass modifiers via useBlocksEditorContext

* remove useBlocksStore
2023-11-23 17:10:59 +01:00
Jamie Howard
52321fa7ad
(content-manager): types for field sizes service (#18888) 2023-11-23 12:45:10 +00:00
Josh
eb7b88426d
fix(pack-up): ensure we pass the tsconfig file name, not a path to it (#18875)
* fix(pack-up): ensure we pass the tsconfig file name, not a path to it

fix(admin): annotate return type on createBuildContext

fix(admin): ensure shared is a the base folder not importing from server

chore(pack-up): PRINT MOREEEE

fix(ctb): export required type

chore: refactor tsconfigs

* chore: pr amends
2023-11-23 09:16:25 +00:00
Jamie Howard
c6501d8941
fix(type): export JSONObject (#18870) 2023-11-23 09:54:03 +01:00
Alexandre Bodin
946f08c2e5 Merge branch 'main' into develop 2023-11-22 17:34:59 +01:00
Marc Roig
c970d7027e
Merge pull request #18860 from strapi/ts/content-manager-entity-manager
feat: type content manger entity manager service
2023-11-22 15:22:15 +01:00
Josh
e47841a710
chore(i18n): convert CM hooks to TS (#18861) 2023-11-22 11:36:57 +00:00
Jamie Howard
fc0ebf30f1
[content-manager] types for policies (#18846) 2023-11-22 09:45:34 +00:00