1413 Commits

Author SHA1 Message Date
Fernando Chávez
4af8963f68
feat(content-releases): add publish webhook (#19515)
* feat(content-releases): add publish webhook

* apply Marks feedback
2024-02-20 14:38:27 +01:00
Aurélien Georget
cb9253fb6c fix: fix EE tests 2024-02-19 18:43:03 +01:00
Aurélien Georget
16eabd438b Run prettier 2024-02-19 16:17:10 +01:00
Aurélien Georget
124cc09a8d Move busines logic to EE folder and override default CE functions 2024-02-19 14:41:20 +01:00
Aurélien Georget
e0793559dc Move getSSOProvidersList to EE folder 2024-02-16 18:31:43 +01:00
Aurélien Georget
bbd10939f2 Send usage data for Audit Logs and optimize SSO events 2024-02-13 17:06:56 +01:00
Aurélien Georget
12e45f7102 Send SSO usage only at server start 2024-02-13 16:53:30 +01:00
Aurélien Georget
499d0fe8e2 Attach properties to event 2024-02-13 13:12:22 +01:00
Aurélien Georget
8ae35bb28e Add telemetry about SSO usage 2024-02-13 12:18:01 +01:00
Josh
28ff8c22bc
fix(review-workflows): pass data not body (#19447)
resolves #19340
2024-02-07 14:26:36 +00: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
Ben Irvin
44f19b3d2f
chore: fixes for flaky tests 2024-02-02 10:49:02 +01:00
Fernando Chávez
133e750907
fix(admin): append query params to audit logs request (#19265) 2024-01-19 09:29:19 +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
c95839be4f chore(admin): Fix PR feedback (round 2) 2023-12-14 09:43:28 +01:00
HichamELBSI
341ae4df62 chore(admin): Fix PR feedback (round 1) 2023-12-13 11:49:07 +01:00
HichamELBSI
24106a1c69 chore(admin): convert auditLogs page to TS 2023-12-13 11:49:05 +01:00
Josh
240feaeb04
refactor(admin): remove some contexts and use redux instead (#19040)
* refactor(admin): move to use slice over reducer

* refactor(admin): theme into redux

* refactor(admin): remove Admin context

* chore: move api tokens context to its edit view

* chore: move injection zones up to appropriate folders

we never use shared anyway.

* chore: move Configuration to single feature file

* refactor(admin): move language to redux

* chore: add tests for redux slice
2023-12-13 10:04:43 +00: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
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
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
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
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