mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 20:54:59 +08:00
Merge pull request #6365 from psrpinto/fix/naming
This commit is contained in:
commit
c7c29f2119
@ -248,7 +248,7 @@ export default class AddThreepid {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Takes a phone number verification code as entered by the user and validates
|
* Takes a phone number verification code as entered by the user and validates
|
||||||
* it with the ID server, then if successful, adds the phone number.
|
* it with the identity server, then if successful, adds the phone number.
|
||||||
* @param {string} msisdnToken phone number verification code as entered by the user
|
* @param {string} msisdnToken phone number verification code as entered by the user
|
||||||
* @return {Promise} Resolves if the phone number was added. Rejects with an object
|
* @return {Promise} Resolves if the phone number was added. Rejects with an object
|
||||||
* with a "message" property which contains a human-readable message detailing why
|
* with a "message" property which contains a human-readable message detailing why
|
||||||
|
@ -127,7 +127,7 @@ export default class IdentityAuthClient {
|
|||||||
await this._matrixClient.getIdentityAccount(token);
|
await this._matrixClient.getIdentityAccount(token);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
if (e.errcode === "M_TERMS_NOT_SIGNED") {
|
if (e.errcode === "M_TERMS_NOT_SIGNED") {
|
||||||
console.log("Identity Server requires new terms to be agreed to");
|
console.log("Identity server requires new terms to be agreed to");
|
||||||
await startTermsFlow([new Service(
|
await startTermsFlow([new Service(
|
||||||
SERVICE_TYPES.IS,
|
SERVICE_TYPES.IS,
|
||||||
identityServerUrl,
|
identityServerUrl,
|
||||||
|
@ -54,7 +54,7 @@ export default class InteractiveAuthComponent extends React.Component {
|
|||||||
// * emailSid {string} If email auth was performed, the sid of
|
// * emailSid {string} If email auth was performed, the sid of
|
||||||
// the auth session.
|
// the auth session.
|
||||||
// * clientSecret {string} The client secret used in auth
|
// * clientSecret {string} The client secret used in auth
|
||||||
// sessions with the ID server.
|
// sessions with the identity server.
|
||||||
onAuthFinished: PropTypes.func.isRequired,
|
onAuthFinished: PropTypes.func.isRequired,
|
||||||
|
|
||||||
// Inputs provided by the user to the auth process
|
// Inputs provided by the user to the auth process
|
||||||
|
@ -561,7 +561,7 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
|
|||||||
switch (payload.action) {
|
switch (payload.action) {
|
||||||
case 'MatrixActions.accountData':
|
case 'MatrixActions.accountData':
|
||||||
// XXX: This is a collection of several hacks to solve a minor problem. We want to
|
// XXX: This is a collection of several hacks to solve a minor problem. We want to
|
||||||
// update our local state when the ID server changes, but don't want to put that in
|
// update our local state when the identity server changes, but don't want to put that in
|
||||||
// the js-sdk as we'd be then dictating how all consumers need to behave. However,
|
// the js-sdk as we'd be then dictating how all consumers need to behave. However,
|
||||||
// this component is already bloated and we probably don't want this tiny logic in
|
// this component is already bloated and we probably don't want this tiny logic in
|
||||||
// here, but there's no better place in the react-sdk for it. Additionally, we're
|
// here, but there's no better place in the react-sdk for it. Additionally, we're
|
||||||
|
@ -41,7 +41,7 @@ import CaptchaForm from "./CaptchaForm";
|
|||||||
* one HS whilst beign a guest on another).
|
* one HS whilst beign a guest on another).
|
||||||
* loginType: the login type of the auth stage being attempted
|
* loginType: the login type of the auth stage being attempted
|
||||||
* authSessionId: session id from the server
|
* authSessionId: session id from the server
|
||||||
* clientSecret: The client secret in use for ID server auth sessions
|
* clientSecret: The client secret in use for identity server auth sessions
|
||||||
* stageParams: params from the server for the stage being attempted
|
* stageParams: params from the server for the stage being attempted
|
||||||
* errorText: error message from a previous attempt to authenticate
|
* errorText: error message from a previous attempt to authenticate
|
||||||
* submitAuthDict: a function which will be called with the new auth dict
|
* submitAuthDict: a function which will be called with the new auth dict
|
||||||
@ -54,8 +54,8 @@ import CaptchaForm from "./CaptchaForm";
|
|||||||
* Defined keys for stages are:
|
* Defined keys for stages are:
|
||||||
* m.login.email.identity:
|
* m.login.email.identity:
|
||||||
* * emailSid: string representing the sid of the active
|
* * emailSid: string representing the sid of the active
|
||||||
* verification session from the ID server, or
|
* verification session from the identity server,
|
||||||
* null if no session is active.
|
* or null if no session is active.
|
||||||
* fail: a function which should be called with an error object if an
|
* fail: a function which should be called with an error object if an
|
||||||
* error occurred during the auth stage. This will cause the auth
|
* error occurred during the auth stage. This will cause the auth
|
||||||
* session to be failed and the process to go back to the start.
|
* session to be failed and the process to go back to the start.
|
||||||
|
@ -46,7 +46,7 @@ export default class IntegrationsImpossibleDialog extends React.Component {
|
|||||||
<div className='mx_IntegrationsImpossibleDialog_content'>
|
<div className='mx_IntegrationsImpossibleDialog_content'>
|
||||||
<p>
|
<p>
|
||||||
{_t(
|
{_t(
|
||||||
"Your %(brand)s doesn't allow you to use an Integration Manager to do this. " +
|
"Your %(brand)s doesn't allow you to use an integration manager to do this. " +
|
||||||
"Please contact an admin.",
|
"Please contact an admin.",
|
||||||
{ brand },
|
{ brand },
|
||||||
)}
|
)}
|
||||||
|
@ -90,9 +90,9 @@ export default class TermsDialog extends React.PureComponent<ITermsDialogProps,
|
|||||||
private nameForServiceType(serviceType: SERVICE_TYPES, host: string): JSX.Element {
|
private nameForServiceType(serviceType: SERVICE_TYPES, host: string): JSX.Element {
|
||||||
switch (serviceType) {
|
switch (serviceType) {
|
||||||
case SERVICE_TYPES.IS:
|
case SERVICE_TYPES.IS:
|
||||||
return <div>{_t("Identity Server")}<br />({host})</div>;
|
return <div>{_t("Identity server")}<br />({host})</div>;
|
||||||
case SERVICE_TYPES.IM:
|
case SERVICE_TYPES.IM:
|
||||||
return <div>{_t("Integration Manager")}<br />({host})</div>;
|
return <div>{_t("Integration manager")}<br />({host})</div>;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -114,7 +114,7 @@ export default class AppPermission extends React.Component {
|
|||||||
|
|
||||||
// Due to i18n limitations, we can't dedupe the code for variables in these two messages.
|
// Due to i18n limitations, we can't dedupe the code for variables in these two messages.
|
||||||
const warning = this.state.isWrapped
|
const warning = this.state.isWrapped
|
||||||
? _t("Using this widget may share data <helpIcon /> with %(widgetDomain)s & your Integration Manager.",
|
? _t("Using this widget may share data <helpIcon /> with %(widgetDomain)s & your integration manager.",
|
||||||
{ widgetDomain: this.state.widgetDomain }, { helpIcon: () => warningTooltip })
|
{ widgetDomain: this.state.widgetDomain }, { helpIcon: () => warningTooltip })
|
||||||
: _t("Using this widget may share data <helpIcon /> with %(widgetDomain)s.",
|
: _t("Using this widget may share data <helpIcon /> with %(widgetDomain)s.",
|
||||||
{ widgetDomain: this.state.widgetDomain }, { helpIcon: () => warningTooltip });
|
{ widgetDomain: this.state.widgetDomain }, { helpIcon: () => warningTooltip });
|
||||||
|
@ -224,7 +224,7 @@ export default class Stickerpicker extends React.PureComponent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_getStickerpickerContent() {
|
_getStickerpickerContent() {
|
||||||
// Handle Integration Manager errors
|
// Handle integration manager errors
|
||||||
if (this.state._imError) {
|
if (this.state._imError) {
|
||||||
return this._errorStickerpickerContent();
|
return this._errorStickerpickerContent();
|
||||||
}
|
}
|
||||||
|
@ -44,7 +44,7 @@ const REACHABILITY_TIMEOUT = 10000; // ms
|
|||||||
async function checkIdentityServerUrl(u) {
|
async function checkIdentityServerUrl(u) {
|
||||||
const parsedUrl = url.parse(u);
|
const parsedUrl = url.parse(u);
|
||||||
|
|
||||||
if (parsedUrl.protocol !== 'https:') return _t("Identity Server URL must be HTTPS");
|
if (parsedUrl.protocol !== 'https:') return _t("Identity server URL must be HTTPS");
|
||||||
|
|
||||||
// XXX: duplicated logic from js-sdk but it's quite tied up in the validation logic in the
|
// XXX: duplicated logic from js-sdk but it's quite tied up in the validation logic in the
|
||||||
// js-sdk so probably as easy to duplicate it than to separate it out so we can reuse it
|
// js-sdk so probably as easy to duplicate it than to separate it out so we can reuse it
|
||||||
@ -53,17 +53,17 @@ async function checkIdentityServerUrl(u) {
|
|||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
return null;
|
return null;
|
||||||
} else if (response.status < 200 || response.status >= 300) {
|
} else if (response.status < 200 || response.status >= 300) {
|
||||||
return _t("Not a valid Identity Server (status code %(code)s)", { code: response.status });
|
return _t("Not a valid identity server (status code %(code)s)", { code: response.status });
|
||||||
} else {
|
} else {
|
||||||
return _t("Could not connect to Identity Server");
|
return _t("Could not connect to identity server");
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
return _t("Could not connect to Identity Server");
|
return _t("Could not connect to identity server");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
interface IProps {
|
interface IProps {
|
||||||
// Whether or not the ID server is missing terms. This affects the text
|
// Whether or not the identity server is missing terms. This affects the text
|
||||||
// shown to the user.
|
// shown to the user.
|
||||||
missingTerms: boolean;
|
missingTerms: boolean;
|
||||||
}
|
}
|
||||||
@ -87,7 +87,7 @@ export default class SetIdServer extends React.Component<IProps, IState> {
|
|||||||
|
|
||||||
let defaultIdServer = '';
|
let defaultIdServer = '';
|
||||||
if (!MatrixClientPeg.get().getIdentityServerUrl() && getDefaultIdentityServerUrl()) {
|
if (!MatrixClientPeg.get().getIdentityServerUrl() && getDefaultIdentityServerUrl()) {
|
||||||
// If no ID server is configured but there's one in the config, prepopulate
|
// If no identity server is configured but there's one in the config, prepopulate
|
||||||
// the field to help the user.
|
// the field to help the user.
|
||||||
defaultIdServer = abbreviateUrl(getDefaultIdentityServerUrl());
|
defaultIdServer = abbreviateUrl(getDefaultIdentityServerUrl());
|
||||||
}
|
}
|
||||||
@ -112,7 +112,7 @@ export default class SetIdServer extends React.Component<IProps, IState> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private onAction = (payload: ActionPayload) => {
|
private onAction = (payload: ActionPayload) => {
|
||||||
// We react to changes in the ID server in the event the user is staring at this form
|
// We react to changes in the identity server in the event the user is staring at this form
|
||||||
// when changing their identity server on another device.
|
// when changing their identity server on another device.
|
||||||
if (payload.action !== "id_server_changed") return;
|
if (payload.action !== "id_server_changed") return;
|
||||||
|
|
||||||
@ -356,7 +356,7 @@ export default class SetIdServer extends React.Component<IProps, IState> {
|
|||||||
let sectionTitle;
|
let sectionTitle;
|
||||||
let bodyText;
|
let bodyText;
|
||||||
if (idServerUrl) {
|
if (idServerUrl) {
|
||||||
sectionTitle = _t("Identity Server (%(server)s)", { server: abbreviateUrl(idServerUrl) });
|
sectionTitle = _t("Identity server (%(server)s)", { server: abbreviateUrl(idServerUrl) });
|
||||||
bodyText = _t(
|
bodyText = _t(
|
||||||
"You are currently using <server></server> to discover and be discoverable by " +
|
"You are currently using <server></server> to discover and be discoverable by " +
|
||||||
"existing contacts you know. You can change your identity server below.",
|
"existing contacts you know. You can change your identity server below.",
|
||||||
@ -371,7 +371,7 @@ export default class SetIdServer extends React.Component<IProps, IState> {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
sectionTitle = _t("Identity Server");
|
sectionTitle = _t("Identity server");
|
||||||
bodyText = _t(
|
bodyText = _t(
|
||||||
"You are not currently using an identity server. " +
|
"You are not currently using an identity server. " +
|
||||||
"To discover and be discoverable by existing contacts you know, " +
|
"To discover and be discoverable by existing contacts you know, " +
|
||||||
|
@ -65,13 +65,13 @@ export default class SetIntegrationManager extends React.Component<IProps, IStat
|
|||||||
if (currentManager) {
|
if (currentManager) {
|
||||||
managerName = `(${currentManager.name})`;
|
managerName = `(${currentManager.name})`;
|
||||||
bodyText = _t(
|
bodyText = _t(
|
||||||
"Use an Integration Manager <b>(%(serverName)s)</b> to manage bots, widgets, " +
|
"Use an integration manager <b>(%(serverName)s)</b> to manage bots, widgets, " +
|
||||||
"and sticker packs.",
|
"and sticker packs.",
|
||||||
{ serverName: currentManager.name },
|
{ serverName: currentManager.name },
|
||||||
{ b: sub => <b>{sub}</b> },
|
{ b: sub => <b>{sub}</b> },
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
bodyText = _t("Use an Integration Manager to manage bots, widgets, and sticker packs.");
|
bodyText = _t("Use an integration manager to manage bots, widgets, and sticker packs.");
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
@ -86,7 +86,7 @@ export default class SetIntegrationManager extends React.Component<IProps, IStat
|
|||||||
<br />
|
<br />
|
||||||
<br />
|
<br />
|
||||||
{_t(
|
{_t(
|
||||||
"Integration Managers receive configuration data, and can modify widgets, " +
|
"Integration managers receive configuration data, and can modify widgets, " +
|
||||||
"send room invites, and set power levels on your behalf.",
|
"send room invites, and set power levels on your behalf.",
|
||||||
)}
|
)}
|
||||||
</span>
|
</span>
|
||||||
|
@ -364,7 +364,7 @@ export default class GeneralUserSettingsTab extends React.Component {
|
|||||||
onFinished={this.state.requiredPolicyInfo.resolve}
|
onFinished={this.state.requiredPolicyInfo.resolve}
|
||||||
introElement={intro}
|
introElement={intro}
|
||||||
/>
|
/>
|
||||||
{ /* has its own heading as it includes the current ID server */ }
|
{ /* has its own heading as it includes the current identity server */ }
|
||||||
<SetIdServer missingTerms={true} />
|
<SetIdServer missingTerms={true} />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
@ -387,7 +387,7 @@ export default class GeneralUserSettingsTab extends React.Component {
|
|||||||
return (
|
return (
|
||||||
<div className="mx_SettingsTab_section">
|
<div className="mx_SettingsTab_section">
|
||||||
{threepidSection}
|
{threepidSection}
|
||||||
{ /* has its own heading as it includes the current ID server */ }
|
{ /* has its own heading as it includes the current identity server */ }
|
||||||
<SetIdServer />
|
<SetIdServer />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
@ -290,7 +290,7 @@ export default class HelpUserSettingsTab extends React.Component<IProps, IState>
|
|||||||
<span className='mx_SettingsTab_subheading'>{_t("Advanced")}</span>
|
<span className='mx_SettingsTab_subheading'>{_t("Advanced")}</span>
|
||||||
<div className='mx_SettingsTab_subsectionText'>
|
<div className='mx_SettingsTab_subsectionText'>
|
||||||
{_t("Homeserver is")} <code>{MatrixClientPeg.get().getHomeserverUrl()}</code><br />
|
{_t("Homeserver is")} <code>{MatrixClientPeg.get().getHomeserverUrl()}</code><br />
|
||||||
{_t("Identity Server is")} <code>{MatrixClientPeg.get().getIdentityServerUrl()}</code><br />
|
{_t("Identity server is")} <code>{MatrixClientPeg.get().getIdentityServerUrl()}</code><br />
|
||||||
<br />
|
<br />
|
||||||
<details>
|
<details>
|
||||||
<summary>{_t("Access Token")}</summary><br />
|
<summary>{_t("Access Token")}</summary><br />
|
||||||
|
@ -1202,9 +1202,9 @@
|
|||||||
"Secret storage:": "Secret storage:",
|
"Secret storage:": "Secret storage:",
|
||||||
"ready": "ready",
|
"ready": "ready",
|
||||||
"not ready": "not ready",
|
"not ready": "not ready",
|
||||||
"Identity Server URL must be HTTPS": "Identity Server URL must be HTTPS",
|
"Identity server URL must be HTTPS": "Identity server URL must be HTTPS",
|
||||||
"Not a valid Identity Server (status code %(code)s)": "Not a valid Identity Server (status code %(code)s)",
|
"Not a valid identity server (status code %(code)s)": "Not a valid identity server (status code %(code)s)",
|
||||||
"Could not connect to Identity Server": "Could not connect to Identity Server",
|
"Could not connect to identity server": "Could not connect to identity server",
|
||||||
"Checking server": "Checking server",
|
"Checking server": "Checking server",
|
||||||
"Change identity server": "Change identity server",
|
"Change identity server": "Change identity server",
|
||||||
"Disconnect from the identity server <current /> and connect to <new /> instead?": "Disconnect from the identity server <current /> and connect to <new /> instead?",
|
"Disconnect from the identity server <current /> and connect to <new /> instead?": "Disconnect from the identity server <current /> and connect to <new /> instead?",
|
||||||
@ -1221,20 +1221,20 @@
|
|||||||
"Disconnect anyway": "Disconnect anyway",
|
"Disconnect anyway": "Disconnect anyway",
|
||||||
"You are still <b>sharing your personal data</b> on the identity server <idserver />.": "You are still <b>sharing your personal data</b> on the identity server <idserver />.",
|
"You are still <b>sharing your personal data</b> on the identity server <idserver />.": "You are still <b>sharing your personal data</b> on the identity server <idserver />.",
|
||||||
"We recommend that you remove your email addresses and phone numbers from the identity server before disconnecting.": "We recommend that you remove your email addresses and phone numbers from the identity server before disconnecting.",
|
"We recommend that you remove your email addresses and phone numbers from the identity server before disconnecting.": "We recommend that you remove your email addresses and phone numbers from the identity server before disconnecting.",
|
||||||
"Identity Server (%(server)s)": "Identity Server (%(server)s)",
|
"Identity server (%(server)s)": "Identity server (%(server)s)",
|
||||||
"You are currently using <server></server> to discover and be discoverable by existing contacts you know. You can change your identity server below.": "You are currently using <server></server> to discover and be discoverable by existing contacts you know. You can change your identity server below.",
|
"You are currently using <server></server> to discover and be discoverable by existing contacts you know. You can change your identity server below.": "You are currently using <server></server> to discover and be discoverable by existing contacts you know. You can change your identity server below.",
|
||||||
"If you don't want to use <server /> to discover and be discoverable by existing contacts you know, enter another identity server below.": "If you don't want to use <server /> to discover and be discoverable by existing contacts you know, enter another identity server below.",
|
"If you don't want to use <server /> to discover and be discoverable by existing contacts you know, enter another identity server below.": "If you don't want to use <server /> to discover and be discoverable by existing contacts you know, enter another identity server below.",
|
||||||
"Identity Server": "Identity Server",
|
"Identity server": "Identity server",
|
||||||
"You are not currently using an identity server. To discover and be discoverable by existing contacts you know, add one below.": "You are not currently using an identity server. To discover and be discoverable by existing contacts you know, add one below.",
|
"You are not currently using an identity server. To discover and be discoverable by existing contacts you know, add one below.": "You are not currently using an identity server. To discover and be discoverable by existing contacts you know, add one below.",
|
||||||
"Disconnecting from your identity server will mean you won't be discoverable by other users and you won't be able to invite others by email or phone.": "Disconnecting from your identity server will mean you won't be discoverable by other users and you won't be able to invite others by email or phone.",
|
"Disconnecting from your identity server will mean you won't be discoverable by other users and you won't be able to invite others by email or phone.": "Disconnecting from your identity server will mean you won't be discoverable by other users and you won't be able to invite others by email or phone.",
|
||||||
"Using an identity server is optional. If you choose not to use an identity server, you won't be discoverable by other users and you won't be able to invite others by email or phone.": "Using an identity server is optional. If you choose not to use an identity server, you won't be discoverable by other users and you won't be able to invite others by email or phone.",
|
"Using an identity server is optional. If you choose not to use an identity server, you won't be discoverable by other users and you won't be able to invite others by email or phone.": "Using an identity server is optional. If you choose not to use an identity server, you won't be discoverable by other users and you won't be able to invite others by email or phone.",
|
||||||
"Do not use an identity server": "Do not use an identity server",
|
"Do not use an identity server": "Do not use an identity server",
|
||||||
"Enter a new identity server": "Enter a new identity server",
|
"Enter a new identity server": "Enter a new identity server",
|
||||||
"Change": "Change",
|
"Change": "Change",
|
||||||
"Use an Integration Manager <b>(%(serverName)s)</b> to manage bots, widgets, and sticker packs.": "Use an Integration Manager <b>(%(serverName)s)</b> to manage bots, widgets, and sticker packs.",
|
"Use an integration manager <b>(%(serverName)s)</b> to manage bots, widgets, and sticker packs.": "Use an integration manager <b>(%(serverName)s)</b> to manage bots, widgets, and sticker packs.",
|
||||||
"Use an Integration Manager to manage bots, widgets, and sticker packs.": "Use an Integration Manager to manage bots, widgets, and sticker packs.",
|
"Use an integration manager to manage bots, widgets, and sticker packs.": "Use an integration manager to manage bots, widgets, and sticker packs.",
|
||||||
"Manage integrations": "Manage integrations",
|
"Manage integrations": "Manage integrations",
|
||||||
"Integration Managers receive configuration data, and can modify widgets, send room invites, and set power levels on your behalf.": "Integration Managers receive configuration data, and can modify widgets, send room invites, and set power levels on your behalf.",
|
"Integration managers receive configuration data, and can modify widgets, send room invites, and set power levels on your behalf.": "Integration managers receive configuration data, and can modify widgets, send room invites, and set power levels on your behalf.",
|
||||||
"Add": "Add",
|
"Add": "Add",
|
||||||
"Error encountered (%(errorDetail)s).": "Error encountered (%(errorDetail)s).",
|
"Error encountered (%(errorDetail)s).": "Error encountered (%(errorDetail)s).",
|
||||||
"Checking for an update...": "Checking for an update...",
|
"Checking for an update...": "Checking for an update...",
|
||||||
@ -1288,7 +1288,7 @@
|
|||||||
"%(brand)s version:": "%(brand)s version:",
|
"%(brand)s version:": "%(brand)s version:",
|
||||||
"olm version:": "olm version:",
|
"olm version:": "olm version:",
|
||||||
"Homeserver is": "Homeserver is",
|
"Homeserver is": "Homeserver is",
|
||||||
"Identity Server is": "Identity Server is",
|
"Identity server is": "Identity server is",
|
||||||
"Access Token": "Access Token",
|
"Access Token": "Access Token",
|
||||||
"Your access token gives full access to your account. Do not share it with anyone.": "Your access token gives full access to your account. Do not share it with anyone.",
|
"Your access token gives full access to your account. Do not share it with anyone.": "Your access token gives full access to your account. Do not share it with anyone.",
|
||||||
"Copy": "Copy",
|
"Copy": "Copy",
|
||||||
@ -1967,7 +1967,7 @@
|
|||||||
"%(brand)s URL": "%(brand)s URL",
|
"%(brand)s URL": "%(brand)s URL",
|
||||||
"Room ID": "Room ID",
|
"Room ID": "Room ID",
|
||||||
"Widget ID": "Widget ID",
|
"Widget ID": "Widget ID",
|
||||||
"Using this widget may share data <helpIcon /> with %(widgetDomain)s & your Integration Manager.": "Using this widget may share data <helpIcon /> with %(widgetDomain)s & your Integration Manager.",
|
"Using this widget may share data <helpIcon /> with %(widgetDomain)s & your integration manager.": "Using this widget may share data <helpIcon /> with %(widgetDomain)s & your integration manager.",
|
||||||
"Using this widget may share data <helpIcon /> with %(widgetDomain)s.": "Using this widget may share data <helpIcon /> with %(widgetDomain)s.",
|
"Using this widget may share data <helpIcon /> with %(widgetDomain)s.": "Using this widget may share data <helpIcon /> with %(widgetDomain)s.",
|
||||||
"Widgets do not use message encryption.": "Widgets do not use message encryption.",
|
"Widgets do not use message encryption.": "Widgets do not use message encryption.",
|
||||||
"Widget added by": "Widget added by",
|
"Widget added by": "Widget added by",
|
||||||
@ -2285,7 +2285,7 @@
|
|||||||
"Integrations are disabled": "Integrations are disabled",
|
"Integrations are disabled": "Integrations are disabled",
|
||||||
"Enable 'Manage Integrations' in Settings to do this.": "Enable 'Manage Integrations' in Settings to do this.",
|
"Enable 'Manage Integrations' in Settings to do this.": "Enable 'Manage Integrations' in Settings to do this.",
|
||||||
"Integrations not allowed": "Integrations not allowed",
|
"Integrations not allowed": "Integrations not allowed",
|
||||||
"Your %(brand)s doesn't allow you to use an Integration Manager to do this. Please contact an admin.": "Your %(brand)s doesn't allow you to use an Integration Manager to do this. Please contact an admin.",
|
"Your %(brand)s doesn't allow you to use an integration manager to do this. Please contact an admin.": "Your %(brand)s doesn't allow you to use an integration manager to do this. Please contact an admin.",
|
||||||
"To continue, use Single Sign On to prove your identity.": "To continue, use Single Sign On to prove your identity.",
|
"To continue, use Single Sign On to prove your identity.": "To continue, use Single Sign On to prove your identity.",
|
||||||
"Confirm to continue": "Confirm to continue",
|
"Confirm to continue": "Confirm to continue",
|
||||||
"Click the button below to confirm your identity.": "Click the button below to confirm your identity.",
|
"Click the button below to confirm your identity.": "Click the button below to confirm your identity.",
|
||||||
@ -2440,7 +2440,7 @@
|
|||||||
"Missing session data": "Missing session data",
|
"Missing session data": "Missing session data",
|
||||||
"Some session data, including encrypted message keys, is missing. Sign out and sign in to fix this, restoring keys from backup.": "Some session data, including encrypted message keys, is missing. Sign out and sign in to fix this, restoring keys from backup.",
|
"Some session data, including encrypted message keys, is missing. Sign out and sign in to fix this, restoring keys from backup.": "Some session data, including encrypted message keys, is missing. Sign out and sign in to fix this, restoring keys from backup.",
|
||||||
"Your browser likely removed this data when running low on disk space.": "Your browser likely removed this data when running low on disk space.",
|
"Your browser likely removed this data when running low on disk space.": "Your browser likely removed this data when running low on disk space.",
|
||||||
"Integration Manager": "Integration Manager",
|
"Integration manager": "Integration manager",
|
||||||
"Find others by phone or email": "Find others by phone or email",
|
"Find others by phone or email": "Find others by phone or email",
|
||||||
"Be found by phone or email": "Be found by phone or email",
|
"Be found by phone or email": "Be found by phone or email",
|
||||||
"Use bots, bridges, widgets and sticker packs": "Use bots, bridges, widgets and sticker packs",
|
"Use bots, bridges, widgets and sticker packs": "Use bots, bridges, widgets and sticker packs",
|
||||||
|
@ -812,7 +812,7 @@ export const SETTINGS: {[setting: string]: ISetting} = {
|
|||||||
[UIFeature.IdentityServer]: {
|
[UIFeature.IdentityServer]: {
|
||||||
supportedLevels: LEVELS_UI_FEATURE,
|
supportedLevels: LEVELS_UI_FEATURE,
|
||||||
default: true,
|
default: true,
|
||||||
// Identity Server (Discovery) Settings make no sense if 3PIDs in general are hidden
|
// Identity server (discovery) settings make no sense if 3PIDs in general are hidden
|
||||||
controller: new UIFeatureController(UIFeature.ThirdPartyID),
|
controller: new UIFeatureController(UIFeature.ThirdPartyID),
|
||||||
},
|
},
|
||||||
[UIFeature.ThirdPartyID]: {
|
[UIFeature.ThirdPartyID]: {
|
||||||
|
@ -407,7 +407,7 @@ export default class WidgetUtils {
|
|||||||
"integration_manager_" + (new Date().getTime()),
|
"integration_manager_" + (new Date().getTime()),
|
||||||
WidgetType.INTEGRATION_MANAGER,
|
WidgetType.INTEGRATION_MANAGER,
|
||||||
uiUrl,
|
uiUrl,
|
||||||
"Integration Manager: " + name,
|
"Integration manager: " + name,
|
||||||
{ "api_url": apiUrl },
|
{ "api_url": apiUrl },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -572,11 +572,11 @@ uploads_path: "{{SYNAPSE_ROOT}}uploads"
|
|||||||
## Captcha ##
|
## Captcha ##
|
||||||
# See docs/CAPTCHA_SETUP for full details of configuring this.
|
# See docs/CAPTCHA_SETUP for full details of configuring this.
|
||||||
|
|
||||||
# This Home Server's ReCAPTCHA public key.
|
# This homeserver's ReCAPTCHA public key.
|
||||||
#
|
#
|
||||||
#recaptcha_public_key: "YOUR_PUBLIC_KEY"
|
#recaptcha_public_key: "YOUR_PUBLIC_KEY"
|
||||||
|
|
||||||
# This Home Server's ReCAPTCHA private key.
|
# This homeserver's ReCAPTCHA private key.
|
||||||
#
|
#
|
||||||
#recaptcha_private_key: "YOUR_PRIVATE_KEY"
|
#recaptcha_private_key: "YOUR_PRIVATE_KEY"
|
||||||
|
|
||||||
@ -685,7 +685,7 @@ registration_shared_secret: "{{REGISTRATION_SHARED_SECRET}}"
|
|||||||
# The list of identity servers trusted to verify third party
|
# The list of identity servers trusted to verify third party
|
||||||
# identifiers by this server.
|
# identifiers by this server.
|
||||||
#
|
#
|
||||||
# Also defines the ID server which will be called when an account is
|
# Also defines the identity server which will be called when an account is
|
||||||
# deactivated (one will be picked arbitrarily).
|
# deactivated (one will be picked arbitrarily).
|
||||||
#
|
#
|
||||||
#trusted_third_party_id_servers:
|
#trusted_third_party_id_servers:
|
||||||
@ -889,7 +889,7 @@ email:
|
|||||||
smtp_user: "exampleusername"
|
smtp_user: "exampleusername"
|
||||||
smtp_pass: "examplepassword"
|
smtp_pass: "examplepassword"
|
||||||
require_transport_security: False
|
require_transport_security: False
|
||||||
notif_from: "Your Friendly %(app)s Home Server <noreply@example.com>"
|
notif_from: "Your Friendly %(app)s homeserver <noreply@example.com>"
|
||||||
app_name: Matrix
|
app_name: Matrix
|
||||||
# if template_dir is unset, uses the example templates that are part of
|
# if template_dir is unset, uses the example templates that are part of
|
||||||
# the Synapse distribution.
|
# the Synapse distribution.
|
||||||
|
Loading…
Reference in New Issue
Block a user