From 34b1e29947037348f10555c14949c6e27bd3097c Mon Sep 17 00:00:00 2001 From: jeherve Date: Tue, 14 May 2024 13:39:25 +0000 Subject: [PATCH] SSO: switch from module codebase to Connection package, part 3 (#37153) * SSO: remove references to Jetpack class * Switch to modern display of notice and add missing i18n wrapping * Load SSO feature from the Connection package * Switch to Connection package for all SSO references * Deprecate all module classes and methods * Remove module test * Remove test reference too * Remove one more test directory (multisite) * Update Phan config * Move SSO callables to the Connection package See https://github.com/Automattic/jetpack/pull/37153/files#r1586113523 * Add deprecated class back Co-authored-by: sergeymitr * Remove deprecated private methods See https://github.com/Automattic/jetpack/pull/37153/files#r1586438953 Co-authored-by: sergeymitr * Remove private properties and methods See https://github.com/Automattic/jetpack/pull/37153#discussion_r1586480560 Co-authored-by: sergeymitr * Move user generation to Utils class See https://github.com/Automattic/jetpack/pull/37153#discussion_r1586525203 * Try fixing tests * Revert "Try fixing tests" This reverts commit 0ea30ae53034e025fa3e7938470991b65d254204. * Bump versions * Ensure the SSO module is used in tests * Add new SSO XML-RPC method * Jetpack Connection: Bump package version --------- Co-authored-by: sergeymitr Co-authored-by: Foteini Giannaropoulou Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/9080205827 Upstream-Ref: Automattic/jetpack@101ddb3d8f586fc258b77ec8b996c59f625638d2 --- docs/project.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/project.json b/docs/project.json index 1ce7971f4..17e9ff17f 100644 --- a/docs/project.json +++ b/docs/project.json @@ -1 +1 @@ -{"generatedAt":1715692473992,"hasCustomBabel":true,"hasCustomWebpack":true,"hasStaticDirs":true,"hasStorybookEslint":false,"refCount":1,"packageManager":{"type":"pnpm","version":"8.6.8"},"typescriptOptions":{"reactDocgen":"react-docgen-typescript"},"framework":{"name":"@storybook/react-webpack5","options":{}},"builder":"@storybook/builder-webpack5","renderer":"@storybook/react","storybookVersion":"8.0.9","storybookVersionSpecifier":"8.0.9","language":"typescript","storybookPackages":{"@storybook/blocks":{"version":"8.0.9"},"@storybook/components":{"version":"8.0.9"},"@storybook/manager-api":{"version":"8.0.9"},"@storybook/react":{"version":"8.0.9"},"@storybook/react-webpack5":{"version":"8.0.9"},"@storybook/source-loader":{"version":"8.0.9"},"@storybook/test-runner":{"version":"0.17.0"},"@storybook/theming":{"version":"8.0.9"},"storybook":{"version":"8.0.9"}},"addons":{"@storybook/addon-docs":{"version":"8.0.9"},"@storybook/addon-storysource":{"version":"8.0.9"},"@storybook/addon-a11y":{"version":"8.0.9"},"@storybook/addon-essentials":{"version":"8.0.9"},"storybook-addon-mock":{"version":"5.0.0"},"@storybook/addon-webpack5-compiler-babel":{"version":"3.0.3"}}} +{"generatedAt":1715693379358,"hasCustomBabel":true,"hasCustomWebpack":true,"hasStaticDirs":true,"hasStorybookEslint":false,"refCount":1,"packageManager":{"type":"pnpm","version":"8.6.8"},"typescriptOptions":{"reactDocgen":"react-docgen-typescript"},"framework":{"name":"@storybook/react-webpack5","options":{}},"builder":"@storybook/builder-webpack5","renderer":"@storybook/react","storybookVersion":"8.0.9","storybookVersionSpecifier":"8.0.9","language":"typescript","storybookPackages":{"@storybook/blocks":{"version":"8.0.9"},"@storybook/components":{"version":"8.0.9"},"@storybook/manager-api":{"version":"8.0.9"},"@storybook/react":{"version":"8.0.9"},"@storybook/react-webpack5":{"version":"8.0.9"},"@storybook/source-loader":{"version":"8.0.9"},"@storybook/test-runner":{"version":"0.17.0"},"@storybook/theming":{"version":"8.0.9"},"storybook":{"version":"8.0.9"}},"addons":{"@storybook/addon-docs":{"version":"8.0.9"},"@storybook/addon-storysource":{"version":"8.0.9"},"@storybook/addon-a11y":{"version":"8.0.9"},"@storybook/addon-essentials":{"version":"8.0.9"},"storybook-addon-mock":{"version":"5.0.0"},"@storybook/addon-webpack5-compiler-babel":{"version":"3.0.3"}}}