1551 Commits

Author SHA1 Message Date
Alexandre BODIN
1b654d7f4f
Merge pull request #18927 from strapi/v5/core-split 2023-12-11 07:29:25 -08:00
Josh
626dc81cda Merge branch 'develop' into v5/main 2023-12-08 16:31:21 +00:00
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
f1dd5cc8ee
chore(content-manager): convert the editview to typescript (#18948) 2023-12-04 16:00:50 +00:00
Alexandre Bodin
a4814d75e4 chore(core): split strapi/strapi & strapi/core 2023-11-30 12:18:04 +01:00
Alexandre Bodin
9628e9d90f chore: remove ee direct imports 2023-11-24 09:33:00 +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
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
a549feb253
chore: pretty codebase (#18835) 2023-11-17 14:48:05 +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
Marc-Roig
8aca4eae6a
Merge branch 'main' into v5/main 2023-11-09 12:13:13 +01:00
Gustav Hansen
477ea8ee80
chore(admin): convert useSettingsMenu to TS (#18616)
* chore(admin): move constants into global constants

* chore(admin): convert useSettingsMenu to TS
2023-11-05 13:45:37 +00:00
Alexandre BODIN
ae792fb42c
Release 4.15.1 (#18646)
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
Co-authored-by: Marc Roig <marc12info@gmail.com>
2023-11-03 08:37:53 +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
4ef442cc49
chore: pack-up all admin packages (#18622)
* chore: pack-up all admin packages

* chore: remove implicit deps

* chore: fix test
2023-10-31 15:38:51 +00:00
Gustav Hansen
1c1e34d14f
chore(admin): convert useSettingsForm to TS (#18608) 2023-10-31 09:22:45 +00:00
Gustav Hansen
7e3d934824
chore(admin): move constants into global constants (#18609) 2023-10-31 08:18:19 +00:00
Josh
116339ad86
refactor: admin build pipeline (#18539)
* chore(admin): refactor admin develop/build pipeline

chore: remove `webpackChunkName` comments

chore: reuse admin tsconfig where possible

chore: add .strapi to gitignore

chore(admin): pack-up

feat(admin): inject commands into strapi from admin for building

feat(admin): move watch command to admin

chore: keep backward compat API available

Update packages/core/admin/_internal/cli/index.ts

docs(admin): document the build & develop process and pipeline

test(admin): fix StrapiApp tests

chore: fix build

* Update skipped_tests.yml

* test(e2e): fix e2e setup

feat: add dependency installation

fix: mjs webpack resolution

* chore: fix server exports

* fix: typescript project type generation

* fix: development watch mode

* fix: connect to hot middleware – anywhere

* Update packages/core/admin/_internal/node/core/monorepo.ts

Co-authored-by: Marc Roig <marc12info@gmail.com>

* fix(admin): theme toggle type export

* chore: fixes

* chore: pr amends

Co-Authored-By: Ben Irvin <ben@innerdvations.com>

---------

Co-authored-by: Marc Roig <marc12info@gmail.com>
Co-authored-by: Ben Irvin <ben@innerdvations.com>
2023-10-30 11:36:16 +00:00
Josh
dffc31a9b2
chore(admin): convert HomePage, Admin & InstalledPluginPage to TS (#18568)
* chore(admin): convert HomePage to TS

* chore(admin): convert pages/Admin to TS

* chore(admin): convert InstalledPluginsPage to TS
2023-10-25 17:08:16 +01:00
Alexandre Bodin
0b5590b0eb chore(core/strapi): extend container in strapi class 2023-10-24 17:18:59 +01:00
Gustav Hansen
374327cc6a
chore(admin): convert core utils to TS (#18551) 2023-10-24 14:52:18 +01:00
Gustav Hansen
68b676d9e1 chore(admin): convert App to TS 2023-10-24 12:19:17 +02:00
Mark Kaylor
2c8028e0a8 Merge branch 'main' of github.com:strapi/strapi into releases/4.14.5 2023-10-18 17:15:57 +02:00
Ben Irvin
a824b06b11
Merge pull request #18436 from strapi/chore/pack-up-strapi-core 2023-10-17 14:08:41 +02:00
Gustav Hansen
75c4f9b49d
chore(admin): convert layouts to TS (#18456)
* chore(admin): convert layouts to TS

* chore(admin): update snapshot tests
2023-10-17 11:10:47 +01:00
Alexandre BODIN
96399072a3
Merge branch 'main' into chore/pack-up-strapi-core 2023-10-17 11:49:00 +02:00
Josh
255e71f513 chore: fix failing tests 2023-10-17 09:19:06 +01:00
Josh
be1eaed5d7 chore: remove direct imports to reselect 2023-10-17 09:19:06 +01:00
Josh
04436917c7 refactor: remove calls to redux 2023-10-17 09:19:06 +01:00
Alexandre Bodin
477ebe1b30 chore(@strapi/strapi): build strapi core with pack-up 2023-10-16 09:19:56 +02:00
Josh
85d322c3e9
test(frontend): fix act warnings _everywhere_ (#18381)
* test(content-manager): fix wysiwyg by silencing the warnings

* test(admin): add a harness – finally

* chore: remove prop-types as dep of helper-plugin

* test(content-manager): fix console errors in EditSettingsView

* test(content-manager): fix ListViewSettings

* test: fix useAdminRolePermissions

* chore: convert more tests

* test: more fe tests

* test: more fe tests

* test(ctb): fix tests

* chore: throw error in env

* chore: fix act finals

* chore: remove resetHandlers and use once

* chore: throw all the time for warnings and errors
2023-10-11 12:26:02 +01:00
Gustav Hansen
9c685d90f5 chore(admin): convert useLicenseLimitNotification to TS 2023-10-05 15:31:38 +02:00
Josh
7016a1b045
chore: initialise ts admin (#18282)
* chore: initialise ts admin

* chore: set JSX to automatic

finally found it

* chore: set DTS true for the whole workflow to produce types for the helper-plugin

* chore(helper-plugin): fix the circular dependencies and calls for react
2023-10-05 08:39:49 +01:00
Simone
24fa848ba3
Add new Blocks rich text editor (alpha) (#18166)
Co-authored-by: Madhuri Sandbhor <madhurisandbhor@gmail.com>
Co-authored-by: markkaylor <mark.kaylor@strapi.io>
Co-authored-by: Rémi de Juvigny <remi.dejuvigny@strapi.io>
Co-authored-by: Madhuri Sandbhor <madhuri.sandbhor@strapi.io>
2023-09-26 17:21:44 +02:00
Gustav Hansen
fc86e60e00 Merge branch 'main' into feature/rw-stage-rbac 2023-09-25 12:16:34 +02:00
Alexandre Bodin
bac1fb9210 Fix tests & make router config optional 2023-09-15 18:37:02 +02:00
Alexandre Bodin
efc1c40f22 Apply review comments 2023-09-15 11:09:37 +02:00
Alexandre Bodin
ccec6c9fc3 Merge branch 'main' into chore/ts-strapi 2023-09-15 10:53:49 +02:00
markkaylor
917a40b555
refactor(helper-plugin): migrate to TS (#17746)
Co-authored-by: Fernando Chávez <fc9chavez@gmail.com>
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
Co-authored-by: markkaylor <mark.kaylor@strapi.io>
Co-authored-by: Mark Kaylor <mark.kaylor@strapi.io>
Co-authored-by: Madhuri Sandbhor <madhurisandbhor@gmail.com>
Co-authored-by: Jackson Hammond <malts18@gmail.com>
Co-authored-by: yurimutti <muttiyuri@gmail.com>
Co-authored-by: Fernando Chávez <fernando.chavez@strapi.io>
Co-authored-by: GJunior <samaritanojr006@gmail.com>
Co-authored-by: Milan K <57148574+mkcy3@users.noreply.github.com>
Co-authored-by: Rémi de Juvigny <remi.dejuvigny@strapi.io>
Co-authored-by: boris.shulyak <borysshulyak@gmail.com>
Co-authored-by: Alec Winter <34278963+nolliebigspin@users.noreply.github.com>
Co-authored-by: Boris Shulyak <55171497+BorysShulyak@users.noreply.github.com>
Co-authored-by: 0xATHERIS <ath3ris@proton.me>
Co-authored-by: Andrew <112592168+fletch-r@users.noreply.github.com>
Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com>
Co-authored-by: Dallas Clark <542948+dallasclark@users.noreply.github.com>
Co-authored-by: Okorare Tega <contact@tegacreatives.com>
Co-authored-by: Júlíus Guðni <julius@extis.one>
Co-authored-by: Simone <startae14@gmail.com>
2023-09-15 10:08:21 +02:00
Jamie Howard
8145855e7a
Merge pull request #18043 from strapi/feature/migration-into-rw-rbac 2023-09-14 11:50:22 +01:00
Gustav Hansen
e9e93b0eb9 fix(review-workflows): improve stage action alignment 2023-09-13 12:05:32 +02:00
Jamie Howard
8298ef2f9b chore(ee): cleanup migration file 2023-09-13 10:32:52 +01:00
Gustav Hansen
3f47fb9e30
Merge pull request #17981 from strapi/fix/rw-stage-rbac-apply-button-color
fix(review-workflows): update confirm button styles for apply all action
2023-09-13 10:16:45 +02:00
Jamie Howard
e53cb36ee2 feature(ee): migrate stages into RBAC versions 2023-09-12 15:40:23 +01:00
Gustav Hansen
1b6a57d366 fix(review-workflows): make apply to all stages an iconbutton 2023-09-12 14:10:43 +02:00
Gustav Hansen
b6e0798993 Merge branch 'main' into feature/rw-stage-rbac-merge-09-12 2023-09-12 13:47:07 +02:00