33 Commits

Author SHA1 Message Date
markkaylor
7b7a51fc89
fix(webhooks): ensure id sent to client is always a string (#20377) 2024-05-29 10:59:20 +02:00
Rémi de Juvigny
63d7006f9e
enhancement: add history license check (#20099)
* enhancement: add history license check

* fix: add history to default license data
2024-04-12 13:07:16 -04:00
Josh
94f313a12e
chore: move CM admin to own package (#19929)
* chore: initiate moving CM to own package

* chore: refactor to handle routes

* chore: init review-workflows-package

* chore: fix build

* chore: refactor review-workflows fe

* chore: fix unit suite

* chore: spelling mistake

Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>

---------

Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
2024-03-28 13:26:44 +00:00
Christian Capeans
8cb962b8dd Merge branch 'v5/main' of github.com:strapi/strapi into v5/types/v2 2024-03-18 11:11:46 +01:00
Josh
0f4345f52f
chore!: refactor filters (#19739) 2024-03-14 08:00:17 +00:00
Convly
8c6c0f1020 Merge branch 'v5/main' into v5/types/v2 2024-03-06 15:22:08 +01:00
Convly
5167af6c73 chore: fix build following latest TS type system changes 2024-03-01 14:41:47 +01:00
Ben Irvin
d10040847b
fix: api and transfer token lifespan select lists work with all durations 2024-02-29 14:32:37 +01:00
Josh
04fae4025e
fix(review-workflows): cannot create or update workflow & data doesn't invalidate correctly (#19440)
* fix(review-workflows): cannot create or update workflow & data doesn't invalidate correctly

resolves #19439

* Update packages/core/admin/ee/admin/src/services/reviewWorkflows.ts
2024-02-07 12:53:50 +00:00
Simone
cae3a5a17d
chore(content-releases): show Banner reached limit max releases (#19276)
* chore(content-releases): add alert reached max limit pending releases

* chore(content-releases): use max pending releases number from config

* chore(content-releases): change limits string content

* chore(content-releases): unit test to check the limit banner

* chore(content-releases): fix ts error

* chore(content-releases): fix review comments

* chore(content-releases): refactor the solution to use useLicenseLimits

* chore(content-releases): fix review comments

* chore(content-releases): fix type error

* chore(content-releases): fix HeaderLayout wrong height because of subtitle empty on loading

* chore(content-releases): remove ReleaseLayout component

* chore(content-releases): remove useless translation

---------

Co-authored-by: Fernando Chavez <fernando.chavez@strapi.io>
2024-01-30 12:03:33 +01:00
Josh
22f3123e94
refactor(admin): add auth provider & move to use redux-toolkit-query (#19062)
* feat(admin): add Auth feature

* refactor: authentication to use redux-toolkit

* chore(admin): convert admin data-fetching to use redux-toolkit-query

* chore: add docs

* fix: default logo would not show on login page

* fix: app flashes on logout

* fix: logout should work across browsers
2024-01-02 17:01:58 +00:00
HichamELBSI
24106a1c69 chore(admin): convert auditLogs page to TS 2023-12-13 11:49:05 +01:00
Josh
d23325640d
chore(cm): convert list-view to TS (#19016)
* chore(cm): convert list-view to TS

* chore: fix broken tests

* chore: remove separate recursive paths and unify
2023-12-11 18:51:25 +00: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
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
6b35da10af Merge branch 'main' into develop 2023-11-30 16:32:56 +01:00
Gustav Hansen
c9130a2ea3
chore(admin): convert token components to TS (#18907) 2023-11-27 21:08:40 +00: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
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
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
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
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
Rémi de Juvigny
ae4ceab052 add types and comment 2023-11-14 15:22:12 +01:00
Josh
d482633e77
refactor(admin): auth pages to TS (#18635)
* refactor(admin): auth pages to TS

* fix: fix error message displays

* chore: remove generic

* chore: remove unnecessary test files

* chore: add tests

* fix: reset-password errors
2023-11-02 14:31:43 +00:00
Josh
14ef2b7c24
chore(admin): convert ProfilePage and re-use server driven types (#18593)
* chore(admin): convert ProfilePage and re-use server driven types

* chore: fix tests

* chore: fix double export from types

* fix: type isSSOLocked endpoint
2023-10-30 12:17:27 +00:00
Sora Morimoto
a8cb502824
chore(deps): update yarn to v4.0.0 (#18530)
* Update Yarn to v4.0.0

Signed-off-by: Sora Morimoto <sora@morimoto.io>

* `yarn format`

Signed-off-by: Sora Morimoto <sora@morimoto.io>

---------

Signed-off-by: Sora Morimoto <sora@morimoto.io>
2023-10-24 12:43:07 +01:00
Gustav Hansen
34a498b183 chore(admin): convert useContentTypes to TS 2023-10-23 13:07:18 +02:00
Gustav Hansen
5dc153dcb7 chore(admin): convert utils to TS
Co-authored-by: Josh Ellis <josh.ellis@strapi.io>
2023-10-19 13:58:54 +01:00
Alexandre Bodin
d7d7fd6da5 Merge branch 'main' into chore/pack-up-strapi-core 2023-10-17 09:45:17 +02:00
Gustav Hansen
92c8a1b444 chore: convert useAdminRolePermissions to TS 2023-10-13 16:36:25 +02:00
Gustav Hansen
8c39791a2b chore: convert useAdminUsers to TS 2023-10-11 13:29:16 +02:00
Gustav Hansen
fb3a0b8248
chore(admin): convert useAdminRoles to TS (#18336)
Co-authored-by: Josh Ellis <josh.ellis@strapi.io>
2023-10-09 16:41:12 +01:00