33380 Commits

Author SHA1 Message Date
Alexandre Bodin
9628e9d90f chore: remove ee direct imports 2023-11-24 09:33:00 +01:00
Alexandre Bodin
9f51230057 fix(content-type-builder): typings 2023-11-23 17:08:55 +01:00
Alexandre Bodin
27aa897cbb Merge branch 'develop' into v5/main 2023-11-23 11:52:10 +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
946f08c2e5 Merge branch 'main' into develop 2023-11-22 17:34:59 +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
JonathanHallen1991
4aea55bf4a
Add English (Norway) en-NO locale (#18828) 2023-11-22 09:08:55 +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
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
Josh
a1c8cbb8a8
chore(i18n): convert CM List view components to TS (#18838) 2023-11-20 09:38:50 +00:00
Josh
306b218011
chore(examples): remove the generated types (#18845)
* chore(examples): remove the generated types

* chore(tooling): explicitly add generated types to root gitignore
2023-11-20 09:26:53 +00:00
Josh
288794489a
chore(i18n): convert CMEditView components to TS (#18831) 2023-11-20 08:41:17 +00:00
Josh
695d94a247
chore(deps): update storybook (#18839) 2023-11-17 20:45:10 +00: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
Josh
b1a1c48011
chore(documentation): convert js to jsx (#18832) 2023-11-17 13:41:50 +00:00
Ben Irvin
d30e85155f
fix: Attribute.JSON type matches RFC 4627 (#18683) 2023-11-17 10:55:57 +01: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
Josh
07a11c7abd
chore(u&p): convert js to jsx (#18819) 2023-11-16 14:25:35 +00:00
Josh
e04af2df77
chore(i18n): convert settings as associated components to TS (#18809)
* chore(i18n): rename getTrads to getTranslations

* chore(i18n): convert settings as associated components to TS

* chore: remove utils index file

* chore(admin): remove unused directive
2023-11-16 14:11:34 +00:00
Josh
0f89dca460
chore(upload): convert JS to JSX (#18818) 2023-11-16 14:10:16 +00:00
Josh
6dc2847fee
test(pack-up): add ENV to allow immutable installs in yarn 4 (#18814)
* test(pack-up): add ENV to allow immutable installs in yarn 4

* Revert "test(pack-up): add ENV to allow immutable installs in yarn 4"

This reverts commit 375c8949a015969797db41572c043c15d4b9f023.

* chore: go back to yarn4

* Revert "chore: go back to yarn4"

This reverts commit 1c17a48ccacba1d1a40f28191119b2d446955b16.

* chore: add env

* chore: pass it directly to exec

* Revert "chore: pass it directly to exec"

This reverts commit 36a2b7cb96e1607a312ab69faa8dc9c370c4d219.
2023-11-16 13:51:08 +00:00
Josh
aba24cb6e0
chore(actions): run checks workflow on develop branches (#18815) 2023-11-16 10:16:33 +00:00
Alexandre Bodin
56ac2e8cd6 Merge branch 'main' into develop 2023-11-16 09:43:19 +01:00
Alexandre BODIN
50ae047484
Merge pull request #18794 from strapi/chore/flaky-tests 2023-11-16 09:42:56 +01:00
Alexandre Bodin
a348983e41 chore: update tests & setup to decrease flakiness
fix(users-permission): flaky test skip notification timeout

wrap in waitFor

Try run in band

whatever
2023-11-15 19:31:42 +01:00
Sébastien Vanvelthem
5157894bd5
chore(yarn): update to yarn 4.0.1 (#18749) 2023-11-15 15:43:32 +00:00
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
DMehaffy
5f7b639ca0
Merge pull request #18640 from strapi/actions/changeFreeze
chore(repo): Add Change Freeze workflow
2023-11-15 07:20:02 -07:00
Marc Roig
57207c54ae
Merge pull request #18303 from strapi/v5/document_id 2023-11-15 13:44:21 +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
Marc-Roig
e204f16a71
fix: strapi search api tests 2023-11-14 19:10:46 +01:00
Marc-Roig
54bac609ca
fix: content manager search api test 2023-11-14 18:56:03 +01:00
Alexandre Bodin
5e4d5342ff Merge branch 'develop' into chore/i18n-ts 2023-11-14 17:58:51 +01:00