6870 Commits

Author SHA1 Message Date
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
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
Alexandre Bodin
25f085aafc Merge branch 'v5/main' into v5/core-split 2023-12-04 21:49:23 -08:00
Josh
f1dd5cc8ee
chore(content-manager): convert the editview to typescript (#18948) 2023-12-04 16:00:50 +00:00
Ben Irvin
c38881e08d
chore: update typescript to 5.3.2 (#18938) 2023-12-04 11:47:05 +01:00
Alexandre Bodin
b373446907 Merge branch 'v5/main' into v5/core-split 2023-12-01 10:29:58 +01:00
Alexandre Bodin
83daf0117c Merge branch 'develop' into v5/main 2023-12-01 10:29:48 +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
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
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
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
27aa897cbb Merge branch 'develop' into v5/main 2023-11-23 11:52:10 +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
Alexandre Bodin
37fcc99be4 Merge branch 'main' into v5/main 2023-11-22 17:28:51 +01:00
Alexandre Bodin
afe9e18254 v4.15.5-alpha.5 2023-11-21 20:35:37 +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
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
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
Josh
288794489a
chore(i18n): convert CMEditView components to TS (#18831) 2023-11-20 08:41:17 +00:00
Simone
f9fb2e7c49
feat(content-releases): Redirect to /content-releases/:releaseId onCreate and add header on details page (#18720)
* draft implementation details header

* implementation details ui with mock data

* fix unit tests

* fix fernando comments

* update pages structure

* first raw implementation store with rtk

* refactor(releases): redux toolkit query work

* rename releases page

* merge feature/content-releases

* test(releases): setup test harness for working with the admin app (#18817)

* test(releases): setup test harness for working with the admin app

* chore: remove file that shouldn't be here

* rename  releases page

* merge "content-releases/release-details-redirect-after-creation"

* test(releases): setup test harness for working with the admin app

* rename  releases page

* merge "content-releases/release-details-redirect-after-creation"

---------

Co-authored-by: Simone Taeggi <startae14@gmail.com>

* fix Fernando's review comments

---------

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2023-11-17 16:59:01 +01:00
Josh
a549feb253
chore: pretty codebase (#18835) 2023-11-17 14:48:05 +00:00
Josh
daaec91b04
chore(cm): convert js to jsx (#18834) 2023-11-17 14:36:26 +00:00
markkaylor
5ca75a1812
Merge branch 'main' into feature/content-releases 2023-11-17 15:23:29 +01:00
Josh
b1a1c48011
chore(documentation): convert js to jsx (#18832) 2023-11-17 13:41:50 +00:00
Ben Irvin
a96121ddeb
chore: Migrate CTB to typescript (#18155)
Co-authored-by: Bassel Kanso <basselkanso82@gmail.com>
Co-authored-by: Christian <christiancp100@gmail.com>
Co-authored-by: Jean-Sébastien Herbaux <Convly@users.noreply.github.com>
Co-authored-by: Christian <christian.capeans.perez@strapi.io>
Co-authored-by: Convly <jean-sebastien.herbaux@epitech.eu>
2023-11-17 10:27:09 +01:00
Marc Roig
728d614ca4
feat: Migrate @strapi/admin server to typescript (#18232)
Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2023-11-16 15:38:15 +00:00