14487 Commits

Author SHA1 Message Date
markkaylor
4f6722c6d4
feat(content-releases): add create release action to cm edit view (#18905) 2023-12-01 09:27:16 +01: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
61cd845498 Merge branch 'v5/main' into v5/core-split 2023-11-30 16:51:18 +01:00
Alexandre Bodin
e0de993d4a Merge branch 'develop' into v5/main 2023-11-30 16:42:36 +01:00
Alexandre Bodin
6b35da10af Merge branch 'main' into develop 2023-11-30 16:32:56 +01: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
Simone
8145b7becc
feat(content-releases): Releases list page UI implementation (#18884)
* first draft implementation Releases page

* fix some comments

* refactor releases page and its logic

* add a more readable comment

* fix rtk transformResponse return type

* add unit test changing tab

* add unit test with mixed content

* fix type response error

* remove log

* fix review comments

* fix review comments

* reduce releases page unit test code

* test AddReleaseDialog

* remove useless mocked data and fix comments syntax

* refactor releases filters

* remove empty line

* add TODO
2023-11-30 12:22:27 +01:00
Alexandre Bodin
a4814d75e4 chore(core): split strapi/strapi & strapi/core 2023-11-30 12:18:04 +01: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 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
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
Marc Roig
d4d47227a6
feat: Initialize Document Service (#18558)
Co-authored-by: Ben Irvin <ben@innerdvations.com>
2023-11-28 12:01:27 +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
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
Ben Irvin
498ecc1a26
feat: strapi.log default level 'info' (#18904) 2023-11-24 14:35:15 +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
Alexandre Bodin
9628e9d90f chore: remove ee direct imports 2023-11-24 09:33:00 +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
Alexandre Bodin
9f51230057 fix(content-type-builder): typings 2023-11-23 17:08:55 +01:00
Jamie Howard
52321fa7ad
(content-manager): types for field sizes service (#18888) 2023-11-23 12:45:10 +00:00
Alexandre Bodin
27aa897cbb Merge branch 'develop' into v5/main 2023-11-23 11:52:10 +01:00
markkaylor
9f5e68ce57
chore(content-releases): refactor rtk with type contracts (#18867) 2023-11-23 11:15:29 +01:00
Convly
fc55046abe Use a case insensitive lookup for admin.user.findOneByEmail 2023-11-23 10:54:39 +01: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
37fcc99be4 Merge branch 'main' into v5/main 2023-11-22 17:28:51 +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
Ben Irvin
668e382e40
chore: use strapi.fetch instead of http/https for requests (#18510)
fix: replace http/https with fetch api
2023-11-22 09:16:47 +01:00
Ben Irvin
2ac2ae5867
feat: Use fetch api for strapi.fetch (#18508) 2023-11-22 09:10:29 +01:00
Alexandre Bodin
afe9e18254 v4.15.5-alpha.5 2023-11-21 20:35:37 +01:00
Alexandre Bodin
ed636a7ccf Merge branch 'main' into develop 2023-11-21 20:21:43 +01:00
Gustav Hansen
03cf61f09a
chore(admin): convert API Token settings page to TS (#18680)
* chore(admin): convert API Token settings page to TS

Co-Authored-By: Gustav Hansen <gu@stav.dev>

* chore(admin): cleanup api token contracts (#18862)

---------

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
2023-11-21 17:12:49 +00:00
Jamie Howard
f12eec5845 fix(content-manager): ts test error 2023-11-21 16:04:58 +00:00
Jamie Howard
e56518ca06
[Content Manager]- types for routing middleware (#18823) 2023-11-21 15:43:26 +00:00
Rémi de Juvigny
0489201941
chore(blocks): miscellaneous improvements (#18854)
* extend BaseBlock type

* use ! on handleEnterKey tests

* fix link duplicate tests

* remove outdated comment

* move withImages to plugin folder

* rename some tests
2023-11-21 14:29:50 +01:00
Fernando Chávez
1efe5dcdd1
feature(content-releases): Add update release service/endpoint (#18829)
* feature(content-releases): Add update release service/endpoint

* chore(Content-releases): create update release contract

* chore(content-releases): Add right type to params id
2023-11-21 13:06:24 +01:00
Josh
86f98b66fe
chore(admin): convert settings pages (#18820)
* chore(wip): convert settings pages

* chore: add api-tokens contract

* fix: types

* chore: convert webhooks page (#18682)

* chore: convert webhooks

* fix: configurations provider

* chore: add all contracts

* chore(admin): add workflow contracts (#18707)

* chore(admin): add audit-logs contracts (#18708)

* chore: convert users page to TS (#18710)

* chore(admin): convert Roles Settings (#18774)

* chore(admin): fix types from merge

* chore(admin): convert Single Sign On settings page to TS and refactoring

* chore: pretty

---------

Co-authored-by: HichamELBSI <elabbassih@gmail.com>
2023-11-21 11:40:51 +00:00
Marc-Roig
153a3d8aec
feat: type entity manager service 2023-11-21 12:13:25 +01:00
markkaylor
30e8a6321d
feat(content-releases): add findOne endpoint (#18821) 2023-11-21 09:18:12 +01:00
Josh
288794489a
chore(i18n): convert CMEditView components to TS (#18831) 2023-11-20 08:41:17 +00:00