36133 Commits

Author SHA1 Message Date
markkaylor
6d344f9e2b
Merge branch 'main' into feature/content-releases 2023-11-23 11:16:32 +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
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
afe9e18254 v4.15.5-alpha.5 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
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
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
b77b41cda4
fix(providers): aws credentials (#18812) 2023-11-17 11:17:25 +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
josephemswiler
d77b6ba209 chore(deps): bump graphql-upload to 15.0.2 2023-11-16 14:30:59 -06: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
markkaylor
dda47a7a76
chore(docs): initialize contributor docs for content releases (#18777) 2023-11-16 15:22:02 +01: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
markkaylor
cbe36a5ce3
feat(content-releases): add create release-action endpoint (#18739) 2023-11-16 11:37:14 +01: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
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
Sébastien Vanvelthem
5157894bd5
chore(yarn): update to yarn 4.0.1 (#18749) 2023-11-15 15:43:32 +00:00