A logo that showed on a site's login screen shows on the new screens: any picture Site settings holds, an SVG included, as <img>; svgLogo: false refuses SVG (off by default); the list of allowed types is gone. The look at the file only avoids a broken picture: a file that is gone (404 / 410) or is no picture gives the name; anything else (no answer, a redirect, another status, over 512 KB) believes the upload. Redirects are still never followed by the server, and the body is read with the 512 KB cap. A test checks twelve kinds of logo that 1.17.0 shows. No plate stays the default. Docs, skills, changelog draft. Co-Authored-By: Claude Fable 5.2 <[email protected]>
19 lines
514 B
TypeScript
19 lines
514 B
TypeScript
export {
|
|
ADMIN_LANGUAGE_PATH,
|
|
checkLogoFile,
|
|
fitLogo,
|
|
isSvgUpload,
|
|
LANGUAGE_NAMES,
|
|
languageLinks,
|
|
loadSignInBrand,
|
|
SIGN_IN_LOGO_BOX,
|
|
SIGN_IN_LOOK,
|
|
SIGN_IN_NAME_MAX,
|
|
signInLogo,
|
|
signInName,
|
|
signInProviderActive,
|
|
} from './brand.js'
|
|
export type { LanguageLink, LogoCheck, SignInBrand, SignInLogo, SignInLookProps } from './brand.js'
|
|
export { isHexColour, SIGN_IN_STYLE_ID, signInCss } from './css.js'
|
|
export { adminPathFromReferer, buildAdminLanguageEndpoint } from './languageEndpoint.js'
|