33278 Commits

Author SHA1 Message Date
Rémi de Juvigny
01d1504beb
chore(blocks): refactor useBlocksStore (#18776)
* 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
2023-11-15 15:54:20 +01:00
Jamie Howard
08920be519
Convert CM to TS (#18669)
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2023-11-15 11:08:04 +00:00
Rémi de Juvigny
b65598b108 Merge remote-tracking branch 'origin/main' into develop 2023-11-15 10:54:01 +01:00
Christian
50a6ed6e3b
Merge pull request #18733 from strapi/fix/aws-mandatory-credentials 2023-11-15 10:23:42 +01:00
Alexandre BODIN
7fd7a2afa2
Merge pull request #18735 from strapi/chore/i18n-ts 2023-11-15 09:45:43 +01:00
Christian Capeans
4fd7e040ef fix: failing test 2023-11-15 09:42:59 +01:00
Alexandre Bodin
5e4d5342ff Merge branch 'develop' into chore/i18n-ts 2023-11-14 17:58:51 +01:00
Rémi de Juvigny
8ec354cd1d
chore(blocks): manage editor disabled state in context (#18732)
* 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

* manage editor disabled state in context

* fix disabled style and radius
2023-11-14 16:59:52 +01:00
Rémi de Juvigny
c913c6cd98
chore(blocks): refactor file structure and set up context (#18730)
* 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

* josh feedback
2023-11-14 15:02:35 +01:00
Gustav Hansen
a0467bad00
Merge pull request #18086 from hide-me/patch-1
Update ru.json from en.json
2023-11-14 10:59:19 +00:00
Paul
6faf1019ea Update ru.json from en.json 2023-11-14 10:33:44 +00:00
Christian Capeans
e52ced96a5 fix: add only credentials object when credentials are present 2023-11-14 10:03:47 +01:00
Christian Capeans
af5a6e37b2 fix: add only credentials object when credentials are present 2023-11-13 19:54:47 +01:00
Josh
175b72af9d
fix(admin): admin build errors (#18764)
* fix(admin): import & pass user customisations for admin panel

* fix(admin): modules should be resolved with module paths not system paths

* fix(admin): ensure webpack config is a type of function before calling, warn otherwise

* fix: convert the pluginPath to a system path before trying to resolve relative

* chore: update documentation
2023-11-13 10:21:24 +00:00
Josh
add566491a
chore(deps): update axios to 1.6.0 (#18768)
due to https://github.com/advisories/GHSA-wf5p-g6vw-rhxx
2023-11-13 10:16:09 +00:00
Josh
c3d7a8a3e7
Merge pull request #18751 from strapi/releases/4.15.4
Release 4.15.3 & 4.15.4
2023-11-13 08:55:21 +00:00
Marc Roig
f947debf17
Merge pull request #18674 from itsMaadh/main 2023-11-13 09:41:11 +01:00
Alexandre Bodin
416657afd5 Merge branch 'main' into releases/4.15.4 2023-11-12 11:09:55 +01:00
Alexandre Bodin
da634b0951 v4.15.4 v4.15.4 2023-11-11 12:17:57 +01:00
Alexandre Bodin
458516e434 v4.15.3 v4.15.3 2023-11-11 12:03:41 +01:00
Alexandre Bodin
f97b1b0733 fix: invalid deps 2023-11-11 11:29:29 +01:00
Alexandre Bodin
81425b4b98 fix: make peer dep less strict for npm 2023-11-11 11:03:59 +01:00
Alexandre Bodin
5a804de414 chore(plugins/i18n): migrate to basic ts 2023-11-10 18:27:09 +01:00
Christian
d87a9b3b6b
Update packages/providers/upload-aws-s3/src/__tests__/utils.test.ts
Co-authored-by: Ben Irvin <ben@innerdvations.com>
2023-11-10 11:36:41 +01:00
Christian Capeans
e8b0ff5fe2 fix: typo 2023-11-10 11:32:17 +01:00
Christian Capeans
1d64d58bb8 fix: make aws credentials optional 2023-11-10 11:28:32 +01:00
Maadh
b29f9fa1ad fix: test update for iso-locales 2023-11-09 23:32:40 +00:00
Alexandre BODIN
d999ad0b00
Merge pull request #18709 from strapi/releases/4.15.2
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
Co-authored-by: Marc Roig <marc12info@gmail.com>
Co-authored-by: Mark Kaylor <mark.kaylor@strapi.io>
2023-11-09 16:56:46 +01:00
Alexandre Bodin
154796c047 Fix package.json versions 2023-11-08 19:50:39 +01:00
Alexandre Bodin
cf5979d1fd Merge branch 'main' into releases/4.15.2 2023-11-08 19:31:57 +01:00
Alexandre BODIN
5c5ae949bf
chore(graphql): migration to basic ts (#18696) 2023-11-08 18:21:41 +01:00
Alexandre Bodin
73f10819d7 Update lock & pkg v4.15.2 2023-11-08 17:40:54 +01:00
Josh
6129ef3c6c
chore: update design-system 1.13.1 (#18704) 2023-11-08 16:21:15 +00:00
Mark Kaylor
3f510d0338 chore: publish 4.15.2 2023-11-08 17:04:13 +01:00
Mark Kaylor
bb51089333 v4.15.2 2023-11-08 16:27:10 +01:00
markkaylor
f413c08916
fix: add missing prepublish script (#18700) 2023-11-08 15:38:32 +01:00
Rémi de Juvigny
4abe743fdf
chore: convert blocks editor to typescript (#18671)
* chore: add precise types to blocks attribute

* Add BlockNode type util

* wip

* chore: convert blocks editor to typescript

* use import type when possible

* migrate missing tests

* remove commented code

* apply alex feedback

* add BlocksInlineNode export

* add more precise descendant type

* move slate override to its own file

* move slate type definitions to custom.d.ts

* josh feedback

* more thorough isBlockList type guard

* madhuri feedback

* improve type organization

* typescript error workaround
2023-11-08 14:29:45 +01:00
Mark Kaylor
0ca0dff7b4 Merge remote-tracking branch 'origin/releases/4.15.2' into releases/4.15.3 2023-11-08 14:13:14 +01:00
Maxime Castres
000fd5a3bf
fix(admin): website link containing a typo (#18694) 2023-11-08 08:50:57 +00:00
Rémi de Juvigny
22ffc8b6b7
chore: add precise types to blocks attribute (#18626)
* chore: add precise types to blocks attribute

* Add BlockNode type util

* apply alex feedback

* add BlocksInlineNode export
2023-11-07 13:48:02 +01:00
Josh
ca1ec5aecf
refactor(admin): add watch-admin flag (#18688) 2023-11-07 11:35:40 +01:00
Christian
02973d45cb
Fix: Update AWS (aws-sdk) from deprecated V2 to V3 (#18557) 2023-11-06 16:43:35 +01:00
Ben Irvin
87431e44c3
feat: allow passing http serverOptions from config (#18591) 2023-11-06 15:31:17 +01:00
Ben Irvin
84033819f8
Fix: GraphQL validates repeatable component attributes correctly (#18647) 2023-11-06 15:01:59 +01:00
Alexandre BODIN
03194ce5a3
fix(admin): use appropriate loader between jsx and tsx (#18670) 2023-11-06 11:58:55 +01:00
Gustav Hansen
477ea8ee80
chore(admin): convert useSettingsMenu to TS (#18616)
* chore(admin): move constants into global constants

* chore(admin): convert useSettingsMenu to TS
2023-11-05 13:45:37 +00:00
Maadh
761bbe93ac
Update iso-locales.json
Added Dhivehi (Maldives) to the iso-locales.json
2023-11-04 15:46:00 +00:00
Josh
e741a4a0c0
fix: import Document directly & add ignorePrompts CLI flag (#18668) 2023-11-03 17:06:51 +01:00
Alexandre BODIN
805908ba2b
fix(admin): close webpack watch on reload (#18667) 2023-11-03 16:28:46 +01:00
Josh
0e69461383
fix(admin): build pipeline & deps (#18658) 2023-11-03 15:56:03 +01:00