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
Josh
695d94a247
chore(deps): update storybook ( #18839 )
2023-11-17 20:45:10 +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
Christian
3ba8a83b4a
fix(ctb): protect undefined values on SelectComponents ( #18808 )
...
* fix: protect undefined values on SelectComponents
* fix: if value is undefined set number to 0
2023-11-17 11:16:04 +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
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
markkaylor
cbe36a5ce3
feat(content-releases): add create release-action endpoint ( #18739 )
2023-11-16 11:37:14 +01:00
Alexandre Bodin
56ac2e8cd6
Merge branch 'main' into develop
2023-11-16 09:43:19 +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
Fernando Chávez
c2480eb264
chore(content-releases): add permissions to content releases plugin ( #18715 )
...
* chore(content-releases): add permissions to content releases plugin
* fix(content-releases): fix permissions on tests
* chore(content-releases): add test case for create release
* chore(content-releases): move permissions to register
* chore(content-releases): permissions registered test
* chore(content-releases): stop mocking CheckPagePermission and instead export ProtectedReleasesPage
* chore(content-releases): bump content-releases version
* chore(content-releases): remove unused const
2023-11-15 17:18:07 +01:00
Alexandre Bodin
6a4fcc93af
v4.15.5-alpha.4
2023-11-15 16:37:41 +01:00
Alexandre BODIN
50a99072ab
Merge pull request #18775 from strapi/fix/ts-generation
2023-11-15 16:35:16 +01: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
Alexandre Bodin
85efb4bfa3
v4.15.5-alpha.3
2023-11-15 14:37:17 +01:00
Josh
2519224956
fix(admin): windows files paths do not make for module paths ( #18797 )
2023-11-15 13:03:15 +00: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
Alexandre Bodin
5e4d5342ff
Merge branch 'develop' into chore/i18n-ts
2023-11-14 17:58:51 +01:00
Alexandre Bodin
180e3acca9
v4.15.5-alpha.2
2023-11-14 17:24:18 +01:00
Alexandre BODIN
121dd75c21
Merge pull request #18789 from strapi/fix/profile-page
2023-11-14 17:21:54 +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
Ben Irvin
b185fd1777
Merge branch 'releases/4.15.5' into fix/ts-generation
2023-11-14 16:57:16 +01:00
Ben Irvin
daa0b19179
fix: build webpackwatcher before loading strapi instance
2023-11-14 16:56:43 +01:00
Marc-Roig
b99bb9a2a0
fix: revert webpack bundle analyzer dependency version
2023-11-14 16:42:26 +01:00
Ben Irvin
82ef97a8d4
chore: replace fs-extra
2023-11-14 16:40:55 +01:00