update setup
This commit is contained in:
1 parent
39ae948f24
commit
93780a9702
10 files changed
+259
-248
No files matched your search
@@ -2,31 +2,29 @@ import "./KcApp.css";
|
|||||||
import { lazy, Suspense } from "react";
|
import { lazy, Suspense } from "react";
|
||||||
import type { KcContext } from "./kcContext";
|
import type { KcContext } from "./kcContext";
|
||||||
import { useI18n } from "./i18n";
|
import { useI18n } from "./i18n";
|
||||||
import Fallback, { defaultKcProps, type KcProps, type PageProps } from "keycloakify";
|
import Fallback, { type PageProps } from "keycloakify";
|
||||||
import Template from "./Template";
|
|
||||||
import DefaultTemplate from "keycloakify/lib/Template";
|
const Template = lazy(() => import("./Template"));
|
||||||
|
const DefaultTemplate = lazy(() => import("keycloakify/Template"));
|
||||||
|
|
||||||
// You can uncomment this to see the values passed by the main app before redirecting.
|
// You can uncomment this to see the values passed by the main app before redirecting.
|
||||||
//import { foo, bar } from "./valuesTransferredOverUrl";
|
//import { foo, bar } from "./valuesTransferredOverUrl";
|
||||||
//console.log(`Values passed by the main app in the URL parameter:`, { foo, bar });
|
//console.log(`Values passed by the main app in the URL parameter:`, { foo, bar });
|
||||||
|
|
||||||
const Login = lazy(()=> import("./pages/Login"));
|
const Login = lazy(() => import("./pages/Login"));
|
||||||
// If you can, favor register-user-profile.ftl over register.ftl, see: https://docs.keycloakify.dev/realtime-input-validation
|
// If you can, favor register-user-profile.ftl over register.ftl, see: https://docs.keycloakify.dev/realtime-input-validation
|
||||||
const Register = lazy(() => import("./pages/Register"));
|
const Register = lazy(() => import("./pages/Register"));
|
||||||
const RegisterUserProfile = lazy(() => import("./pages/RegisterUserProfile"));
|
const RegisterUserProfile = lazy(() => import("./pages/RegisterUserProfile"));
|
||||||
const Terms = lazy(() => import("./pages/Terms"));
|
const Terms = lazy(() => import("./pages/Terms"));
|
||||||
const MyExtraPage1 = lazy(() => import("./pages/MyExtraPage1"));
|
const MyExtraPage1 = lazy(() => import("./pages/MyExtraPage1"));
|
||||||
const MyExtraPage2 = lazy(() => import("./pages/MyExtraPage2"));
|
const MyExtraPage2 = lazy(() => import("./pages/MyExtraPage2"));
|
||||||
const Info = lazy(()=> import("keycloakify/lib/pages/Info"));
|
const Info = lazy(() => import("keycloakify/pages/Info"));
|
||||||
|
|
||||||
// This is like editing the theme.properties
|
// This is like adding classes to theme.properties
|
||||||
// https://github.com/keycloak/keycloak/blob/11.0.3/themes/src/main/resources/theme/keycloak/login/theme.properties
|
// https://github.com/keycloak/keycloak/blob/11.0.3/themes/src/main/resources/theme/keycloak/login/theme.properties
|
||||||
const kcProps: KcProps = {
|
const classes: PageProps<any, any>["classes"] = {
|
||||||
...defaultKcProps,
|
|
||||||
// NOTE: The classes are defined in ./KcApp.css
|
// NOTE: The classes are defined in ./KcApp.css
|
||||||
// You can add your classes alongside thoses that are present in the default Keycloak theme...
|
"kcHtmlClass": "my-root-class",
|
||||||
"kcHtmlClass": [...defaultKcProps.kcHtmlClass, "my-root-class"],
|
|
||||||
// ...or overwrite
|
|
||||||
"kcHeaderWrapperClass": "my-color my-font"
|
"kcHeaderWrapperClass": "my-color my-font"
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -47,29 +45,19 @@ export default function App(props: { kcContext: KcContext; }) {
|
|||||||
* i18n.msg("foo") === <span>foo in English</span>
|
* i18n.msg("foo") === <span>foo in English</span>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const pageProps: Omit<PageProps<any, typeof i18n>, "kcContext"> = {
|
|
||||||
i18n,
|
|
||||||
// Here we have overloaded the default template, however you could use the default one with:
|
|
||||||
//Template: DefaultTemplate,
|
|
||||||
Template,
|
|
||||||
// Wether or not we should download the CSS and JS resources that comes with the default Keycloak theme.
|
|
||||||
doFetchDefaultThemeResources: true,
|
|
||||||
...kcProps,
|
|
||||||
};
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Suspense>
|
<Suspense>
|
||||||
{(() => {
|
{(() => {
|
||||||
switch (kcContext.pageId) {
|
switch (kcContext.pageId) {
|
||||||
case "login.ftl": return <Login {...{ kcContext, ...pageProps }} />;
|
case "login.ftl": return <Login {...{ kcContext, i18n, Template, classes, "doUseDefaultCss": true }} />;
|
||||||
case "register.ftl": return <Register {...{ kcContext, ...pageProps }} />;
|
case "register.ftl": return <Register {...{ kcContext, i18n, Template, classes, "doUseDefaultCss": true }} />;
|
||||||
case "register-user-profile.ftl": return <RegisterUserProfile {...{ kcContext, ...pageProps }} />
|
case "register-user-profile.ftl": return <RegisterUserProfile {...{ kcContext, i18n, Template, classes, "doUseDefaultCss": true }} />
|
||||||
case "terms.ftl": return <Terms {...{ kcContext, ...pageProps }} />;
|
case "terms.ftl": return <Terms {...{ kcContext, i18n, Template, classes, "doUseDefaultCss": true }} />;
|
||||||
case "my-extra-page-1.ftl": return <MyExtraPage1 {...{ kcContext, ...pageProps }} />;
|
case "my-extra-page-1.ftl": return <MyExtraPage1 {...{ kcContext, i18n, Template, classes, "doUseDefaultCss": true }} />;
|
||||||
case "my-extra-page-2.ftl": return <MyExtraPage2 {...{ kcContext, ...pageProps }} />;
|
case "my-extra-page-2.ftl": return <MyExtraPage2 {...{ kcContext, i18n, Template, classes, "doUseDefaultCss": true }} />;
|
||||||
// We choose to use the default Template for the Info page and to download the theme resources.
|
// We choose to use the default Template for the Info page and to download the theme resources.
|
||||||
case "info.ftl": return <Info {...{ kcContext, ...pageProps}} Template={DefaultTemplate} doFetchDefaultThemeResources={true} />;
|
case "info.ftl": return <Info {...{ kcContext, i18n, "Template": DefaultTemplate, classes, "doUseDefaultCss": true }} />;
|
||||||
default: return <Fallback {...{ kcContext, ...pageProps }} />;
|
default: return <Fallback {...{ kcContext, i18n, "Template": DefaultTemplate, classes, "doUseDefaultCss": true }} />;
|
||||||
}
|
}
|
||||||
})()}
|
})()}
|
||||||
</Suspense>
|
</Suspense>
|
||||||
|
|||||||
@@ -1,13 +1,9 @@
|
|||||||
// Copy pasted from: https://github.com/InseeFrLab/keycloakify/blob/main/src/lib/components/shared/Template.tsx
|
// Copy pasted from: https://github.com/InseeFrLab/keycloakify/blob/main/src/Template.tsx
|
||||||
|
import { assert } from "keycloakify/tools/assert";
|
||||||
// You can replace all relative imports by cherry picking files from the keycloakify module.
|
import { clsx } from "keycloakify/tools/clsx";
|
||||||
// For example, the following import:
|
import { usePrepareTemplate } from "keycloakify/lib/usePrepareTemplate";
|
||||||
// import { assert } from "./tools/assert";
|
import { type TemplateProps, defaultTemplateClasses } from "keycloakify/TemplateProps";
|
||||||
// becomes:
|
import { useGetClassName } from "keycloakify/lib/useGetClassName";
|
||||||
import { assert } from "keycloakify/lib/tools/assert";
|
|
||||||
import { clsx } from "keycloakify/lib/tools/clsx";
|
|
||||||
import type { TemplateProps } from "keycloakify/lib/KcProps";
|
|
||||||
import { usePrepareTemplate } from "keycloakify/lib/Template";
|
|
||||||
import type { KcContext } from "./kcContext";
|
import type { KcContext } from "./kcContext";
|
||||||
import type { I18n } from "./i18n";
|
import type { I18n } from "./i18n";
|
||||||
|
|
||||||
@@ -24,24 +20,29 @@ export default function Template(props: TemplateProps<KcContext, I18n>) {
|
|||||||
infoNode = null,
|
infoNode = null,
|
||||||
kcContext,
|
kcContext,
|
||||||
i18n,
|
i18n,
|
||||||
doFetchDefaultThemeResources,
|
doUseDefaultCss,
|
||||||
stylesCommon,
|
classes
|
||||||
styles,
|
|
||||||
scripts,
|
|
||||||
kcHtmlClass
|
|
||||||
} = props;
|
} = props;
|
||||||
|
|
||||||
|
const { getClassName } = useGetClassName({
|
||||||
|
"defaultClasses": !doUseDefaultCss ? undefined : defaultTemplateClasses,
|
||||||
|
classes
|
||||||
|
});
|
||||||
|
|
||||||
const { msg, changeLocale, labelBySupportedLanguageTag, currentLanguageTag } = i18n;
|
const { msg, changeLocale, labelBySupportedLanguageTag, currentLanguageTag } = i18n;
|
||||||
|
|
||||||
const { realm, locale, auth, url, message, isAppInitiatedAction } = kcContext;
|
const { realm, locale, auth, url, message, isAppInitiatedAction } = kcContext;
|
||||||
|
|
||||||
const { isReady } = usePrepareTemplate({
|
const { isReady } = usePrepareTemplate({
|
||||||
doFetchDefaultThemeResources,
|
"doFetchDefaultThemeResources": doUseDefaultCss,
|
||||||
stylesCommon,
|
|
||||||
styles,
|
|
||||||
scripts,
|
|
||||||
url,
|
url,
|
||||||
kcHtmlClass
|
"stylesCommon": [
|
||||||
|
"node_modules/patternfly/dist/css/patternfly.min.css",
|
||||||
|
"node_modules/patternfly/dist/css/patternfly-additions.min.css",
|
||||||
|
"lib/zocial/zocial.css"
|
||||||
|
],
|
||||||
|
"styles": ["css/login.css"],
|
||||||
|
"htmlClassName": getClassName("kcHtmlClass")
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!isReady) {
|
if (!isReady) {
|
||||||
@@ -49,18 +50,18 @@ export default function Template(props: TemplateProps<KcContext, I18n>) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={clsx(props.kcLoginClass)}>
|
<div className={getClassName("kcLoginClass")}>
|
||||||
<div id="kc-header" className={clsx(props.kcHeaderClass)}>
|
<div id="kc-header" className={getClassName("kcHeaderClass")}>
|
||||||
<div id="kc-header-wrapper" className={clsx(props.kcHeaderWrapperClass)}>
|
<div id="kc-header-wrapper" className={getClassName("kcHeaderWrapperClass")}>
|
||||||
{msg("loginTitleHtml", realm.displayNameHtml)}
|
{msg("loginTitleHtml", realm.displayNameHtml)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className={clsx(props.kcFormCardClass, displayWide && props.kcFormCardAccountClass)}>
|
<div className={clsx(getClassName("kcFormCardClass"), displayWide && getClassName("kcFormCardAccountClass"))}>
|
||||||
<header className={clsx(props.kcFormHeaderClass)}>
|
<header className={getClassName("kcFormHeaderClass")}>
|
||||||
{realm.internationalizationEnabled && (assert(locale !== undefined), true) && locale.supported.length > 1 && (
|
{realm.internationalizationEnabled && (assert(locale !== undefined), true) && locale.supported.length > 1 && (
|
||||||
<div id="kc-locale">
|
<div id="kc-locale">
|
||||||
<div id="kc-locale-wrapper" className={clsx(props.kcLocaleWrapperClass)}>
|
<div id="kc-locale-wrapper" className={getClassName("kcLocaleWrapperClass")}>
|
||||||
<div className="kc-dropdown" id="kc-locale-dropdown">
|
<div className="kc-dropdown" id="kc-locale-dropdown">
|
||||||
{/* eslint-disable-next-line jsx-a11y/anchor-is-valid */}
|
{/* eslint-disable-next-line jsx-a11y/anchor-is-valid */}
|
||||||
<a href="#" id="kc-current-locale-link">
|
<a href="#" id="kc-current-locale-link">
|
||||||
@@ -82,8 +83,8 @@ export default function Template(props: TemplateProps<KcContext, I18n>) {
|
|||||||
)}
|
)}
|
||||||
{!(auth !== undefined && auth.showUsername && !auth.showResetCredentials) ? (
|
{!(auth !== undefined && auth.showUsername && !auth.showResetCredentials) ? (
|
||||||
displayRequiredFields ? (
|
displayRequiredFields ? (
|
||||||
<div className={clsx(props.kcContentWrapperClass)}>
|
<div className={getClassName("kcContentWrapperClass")}>
|
||||||
<div className={clsx(props.kcLabelWrapperClass, "subtitle")}>
|
<div className={clsx(getClassName("kcLabelWrapperClass"), "subtitle")}>
|
||||||
<span className="subtitle">
|
<span className="subtitle">
|
||||||
<span className="required">*</span>
|
<span className="required">*</span>
|
||||||
{msg("requiredFields")}
|
{msg("requiredFields")}
|
||||||
@@ -97,20 +98,20 @@ export default function Template(props: TemplateProps<KcContext, I18n>) {
|
|||||||
<h1 id="kc-page-title">{headerNode}</h1>
|
<h1 id="kc-page-title">{headerNode}</h1>
|
||||||
)
|
)
|
||||||
) : displayRequiredFields ? (
|
) : displayRequiredFields ? (
|
||||||
<div className={clsx(props.kcContentWrapperClass)}>
|
<div className={getClassName("kcContentWrapperClass")}>
|
||||||
<div className={clsx(props.kcLabelWrapperClass, "subtitle")}>
|
<div className={clsx(getClassName("kcLabelWrapperClass"), "subtitle")}>
|
||||||
<span className="subtitle">
|
<span className="subtitle">
|
||||||
<span className="required">*</span> {msg("requiredFields")}
|
<span className="required">*</span> {msg("requiredFields")}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div className="col-md-10">
|
<div className="col-md-10">
|
||||||
{showUsernameNode}
|
{showUsernameNode}
|
||||||
<div className={clsx(props.kcFormGroupClass)}>
|
<div className={getClassName("kcFormGroupClass")}>
|
||||||
<div id="kc-username">
|
<div id="kc-username">
|
||||||
<label id="kc-attempted-username">{auth?.attemptedUsername}</label>
|
<label id="kc-attempted-username">{auth?.attemptedUsername}</label>
|
||||||
<a id="reset-login" href={url.loginRestartFlowUrl}>
|
<a id="reset-login" href={url.loginRestartFlowUrl}>
|
||||||
<div className="kc-login-tooltip">
|
<div className="kc-login-tooltip">
|
||||||
<i className={clsx(props.kcResetFlowIcon)}></i>
|
<i className={getClassName("kcResetFlowIcon")}></i>
|
||||||
<span className="kc-tooltip-text">{msg("restartLoginTooltip")}</span>
|
<span className="kc-tooltip-text">{msg("restartLoginTooltip")}</span>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
@@ -121,12 +122,12 @@ export default function Template(props: TemplateProps<KcContext, I18n>) {
|
|||||||
) : (
|
) : (
|
||||||
<>
|
<>
|
||||||
{showUsernameNode}
|
{showUsernameNode}
|
||||||
<div className={clsx(props.kcFormGroupClass)}>
|
<div className={getClassName("kcFormGroupClass")}>
|
||||||
<div id="kc-username">
|
<div id="kc-username">
|
||||||
<label id="kc-attempted-username">{auth?.attemptedUsername}</label>
|
<label id="kc-attempted-username">{auth?.attemptedUsername}</label>
|
||||||
<a id="reset-login" href={url.loginRestartFlowUrl}>
|
<a id="reset-login" href={url.loginRestartFlowUrl}>
|
||||||
<div className="kc-login-tooltip">
|
<div className="kc-login-tooltip">
|
||||||
<i className={clsx(props.kcResetFlowIcon)}></i>
|
<i className={getClassName("kcResetFlowIcon")}></i>
|
||||||
<span className="kc-tooltip-text">{msg("restartLoginTooltip")}</span>
|
<span className="kc-tooltip-text">{msg("restartLoginTooltip")}</span>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
@@ -140,10 +141,10 @@ export default function Template(props: TemplateProps<KcContext, I18n>) {
|
|||||||
{/* App-initiated actions should not see warning messages about the need to complete the action during login. */}
|
{/* App-initiated actions should not see warning messages about the need to complete the action during login. */}
|
||||||
{displayMessage && message !== undefined && (message.type !== "warning" || !isAppInitiatedAction) && (
|
{displayMessage && message !== undefined && (message.type !== "warning" || !isAppInitiatedAction) && (
|
||||||
<div className={clsx("alert", `alert-${message.type}`)}>
|
<div className={clsx("alert", `alert-${message.type}`)}>
|
||||||
{message.type === "success" && <span className={clsx(props.kcFeedbackSuccessIcon)}></span>}
|
{message.type === "success" && <span className={getClassName("kcFeedbackSuccessIcon")}></span>}
|
||||||
{message.type === "warning" && <span className={clsx(props.kcFeedbackWarningIcon)}></span>}
|
{message.type === "warning" && <span className={getClassName("kcFeedbackWarningIcon")}></span>}
|
||||||
{message.type === "error" && <span className={clsx(props.kcFeedbackErrorIcon)}></span>}
|
{message.type === "error" && <span className={getClassName("kcFeedbackErrorIcon")}></span>}
|
||||||
{message.type === "info" && <span className={clsx(props.kcFeedbackInfoIcon)}></span>}
|
{message.type === "info" && <span className={getClassName("kcFeedbackInfoIcon")}></span>}
|
||||||
<span
|
<span
|
||||||
className="kc-feedback-text"
|
className="kc-feedback-text"
|
||||||
dangerouslySetInnerHTML={{
|
dangerouslySetInnerHTML={{
|
||||||
@@ -158,16 +159,24 @@ export default function Template(props: TemplateProps<KcContext, I18n>) {
|
|||||||
id="kc-select-try-another-way-form"
|
id="kc-select-try-another-way-form"
|
||||||
action={url.loginAction}
|
action={url.loginAction}
|
||||||
method="post"
|
method="post"
|
||||||
className={clsx(displayWide && props.kcContentWrapperClass)}
|
className={clsx(displayWide && getClassName("kcContentWrapperClass"))}
|
||||||
>
|
>
|
||||||
<div className={clsx(displayWide && [props.kcFormSocialAccountContentClass, props.kcFormSocialAccountClass])}>
|
<div
|
||||||
<div className={clsx(props.kcFormGroupClass)}>
|
className={clsx(
|
||||||
|
displayWide && [getClassName("kcFormSocialAccountContentClass"), getClassName("kcFormSocialAccountClass")]
|
||||||
|
)}
|
||||||
|
>
|
||||||
|
<div className={getClassName("kcFormGroupClass")}>
|
||||||
<input type="hidden" name="tryAnotherWay" value="on" />
|
<input type="hidden" name="tryAnotherWay" value="on" />
|
||||||
{/* eslint-disable-next-line jsx-a11y/anchor-is-valid */}
|
{/* eslint-disable-next-line jsx-a11y/anchor-is-valid */}
|
||||||
<a href="#" id="try-another-way" onClick={() => {
|
<a
|
||||||
|
href="#"
|
||||||
|
id="try-another-way"
|
||||||
|
onClick={() => {
|
||||||
document.forms["kc-select-try-another-way-form" as never].submit();
|
document.forms["kc-select-try-another-way-form" as never].submit();
|
||||||
return false;
|
return false;
|
||||||
}}>
|
}}
|
||||||
|
>
|
||||||
{msg("doTryAnotherWay")}
|
{msg("doTryAnotherWay")}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
@@ -175,8 +184,8 @@ export default function Template(props: TemplateProps<KcContext, I18n>) {
|
|||||||
</form>
|
</form>
|
||||||
)}
|
)}
|
||||||
{displayInfo && (
|
{displayInfo && (
|
||||||
<div id="kc-info" className={clsx(props.kcSignUpClass)}>
|
<div id="kc-info" className={getClassName("kcSignUpClass")}>
|
||||||
<div id="kc-info-wrapper" className={clsx(props.kcInfoAreaWrapperClass)}>
|
<div id="kc-info-wrapper" className={getClassName("kcInfoAreaWrapperClass")}>
|
||||||
{infoNode}
|
{infoNode}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
+12
-20
@@ -1,32 +1,24 @@
|
|||||||
import { useI18n as useI18nBase } from "keycloakify";
|
import { createUseI18n } from "keycloakify";
|
||||||
|
|
||||||
type Props = Omit<Parameters<typeof useI18nBase>[0], "extraMessages">;
|
export const { useI18n } = createUseI18n({
|
||||||
|
|
||||||
export function useI18n(props: Props) {
|
|
||||||
const { kcContext } = props;
|
|
||||||
return useI18nBase({
|
|
||||||
kcContext,
|
|
||||||
// NOTE: Here you can override the default i18n messages
|
// NOTE: Here you can override the default i18n messages
|
||||||
// or define new ones that, for example, you would have
|
// or define new ones that, for example, you would have
|
||||||
// defined in the Keycloak admin UI for UserProfile
|
// defined in the Keycloak admin UI for UserProfile
|
||||||
// https://user-images.githubusercontent.com/6702424/182050652-522b6fe6-8ee5-49df-aca3-dba2d33f24a5.png
|
// https://user-images.githubusercontent.com/6702424/182050652-522b6fe6-8ee5-49df-aca3-dba2d33f24a5.png
|
||||||
"extraMessages": {
|
en: {
|
||||||
"en": {
|
alphanumericalCharsOnly: "Only alphanumerical characters",
|
||||||
"alphanumericalCharsOnly": "Only alphanumerical characters",
|
gender: "Gender",
|
||||||
"gender": "Gender",
|
|
||||||
// Here we overwrite the default english value for the message "doForgotPassword"
|
// Here we overwrite the default english value for the message "doForgotPassword"
|
||||||
// that is "Forgot Password?" see: https://github.com/InseeFrLab/keycloakify/blob/f0ae5ea908e0aa42391af323b6d5e2fd371af851/src/lib/i18n/generated_messages/18.0.1/login/en.ts#L17
|
// that is "Forgot Password?" see: https://github.com/InseeFrLab/keycloakify/blob/f0ae5ea908e0aa42391af323b6d5e2fd371af851/src/lib/i18n/generated_messages/18.0.1/login/en.ts#L17
|
||||||
"doForgotPassword": "I forgot my password",
|
doForgotPassword: "I forgot my password",
|
||||||
},
|
},
|
||||||
"fr": {
|
fr: {
|
||||||
/* spell-checker: disable */
|
/* spell-checker: disable */
|
||||||
"alphanumericalCharsOnly": "Caractère alphanumérique uniquement",
|
alphanumericalCharsOnly: "Caractère alphanumérique uniquement",
|
||||||
"gender": "Genre",
|
gender: "Genre",
|
||||||
"doForgotPassword": "J'ai oublié mon mot de passe"
|
doForgotPassword: "J'ai oublié mon mot de passe"
|
||||||
/* spell-checker: enable */
|
/* spell-checker: enable */
|
||||||
},
|
}
|
||||||
},
|
});
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
export type I18n = NonNullable<ReturnType<typeof useI18n>>;
|
export type I18n = NonNullable<ReturnType<typeof useI18n>>;
|
||||||
Loaded 3 of 10 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user