[MM-52869] Update and fix links in the system console (#23694)
* Updated privacy policy link * Removed broken link from fa language * Updated terms of use link * Updated pricing links * Updated self hosted billing links * Updated terms-of-use links * Updated privacy-policy links across the project * Updated pricing links in e2e tests * Updated cloud billing docs * Fixed upgrading mattermost server links * Updated ssl client certificate links * Updated configure session lenghts links * Updated configure site url links * Updated elasticsearch links * Update data retention policy links * Updated ldap links * advanced-permissions * Updated anchor ServiceSettings.ListenAddress * Updated anchor #SystemSettings.Forward80To443 * Updated link desktop managed resources * Updated elasticsearch links * Updated file content extraction links * Updated HA Cluster inks * Updated setup image proxy link * Updated push notification links * Update performance monitoring links * Help links * Updated about mattermost links * updated report a problem links * Updated download apps links * Updated mobile apps links * Update share messages links * Updated format messages links * Updated in product notices links * Updated multi factor auth links * Updated LDAP links * Updated setup saml links * Updated saml/ldap configuration links * Updated plugins URL * Updated plugin signing links * Updated webhook links * Updated slash commands links * Updated oauth2 links * Updated webhook links * Update enable oauth2 links * Updated personal access tokens list * Updated experimental links * Updated snap files * check-style * privacy/terms links in about modal
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
0904be43f8
Коммит
f3a9f166bb
@@ -145,7 +145,7 @@ exports[`components/integrations/AbstractCommand should match snapshot 1`] = `
|
||||
values={
|
||||
Object {
|
||||
"link": <ExternalLink
|
||||
href="https://developers.mattermost.com/integrate/admin-guide/admin-slash-commands/#built-in-commands"
|
||||
href="https://mattermost.com/pl/custom-slash-commands"
|
||||
location="abstract_command"
|
||||
>
|
||||
<Memo(MemoizedFormattedMessage)
|
||||
@@ -614,7 +614,7 @@ exports[`components/integrations/AbstractCommand should match snapshot, displays
|
||||
values={
|
||||
Object {
|
||||
"link": <ExternalLink
|
||||
href="https://developers.mattermost.com/integrate/admin-guide/admin-slash-commands/#built-in-commands"
|
||||
href="https://mattermost.com/pl/custom-slash-commands"
|
||||
location="abstract_command"
|
||||
>
|
||||
<Memo(MemoizedFormattedMessage)
|
||||
|
||||
@@ -285,7 +285,7 @@ exports[`components/integrations/AbstractOutgoingWebhook should match snapshot 1
|
||||
values={
|
||||
Object {
|
||||
"link": <ExternalLink
|
||||
href="https://docs.mattermost.com/configure/configuration-settings.html#session-lengths"
|
||||
href="https://mattermost.com/pl/configure-session-lengths"
|
||||
location="abstract_outgoing_webhook"
|
||||
>
|
||||
<Memo(MemoizedFormattedMessage)
|
||||
|
||||
@@ -7,7 +7,7 @@ import {FormattedMessage} from 'react-intl';
|
||||
import {Link} from 'react-router-dom';
|
||||
|
||||
import BackstageHeader from 'components/backstage/components/backstage_header';
|
||||
import Constants from 'utils/constants';
|
||||
import {Constants, DeveloperLinks} from 'utils/constants';
|
||||
import * as Utils from 'utils/utils';
|
||||
import FormError from 'components/form_error';
|
||||
import SpinnerButton from 'components/spinner_button';
|
||||
@@ -437,7 +437,7 @@ export default class AbstractCommand extends React.PureComponent {
|
||||
values={{
|
||||
link: (
|
||||
<ExternalLink
|
||||
href='https://developers.mattermost.com/integrate/admin-guide/admin-slash-commands/#built-in-commands'
|
||||
href={DeveloperLinks.CUSTOM_SLASH_COMMANDS}
|
||||
location='abstract_command'
|
||||
>
|
||||
<FormattedMessage
|
||||
|
||||
@@ -13,6 +13,7 @@ import ChannelSelect from 'components/channel_select';
|
||||
import FormError from 'components/form_error';
|
||||
import SpinnerButton from 'components/spinner_button';
|
||||
import ExternalLink from 'components/external_link';
|
||||
import {DocLinks} from 'utils/constants';
|
||||
|
||||
export default class AbstractOutgoingWebhook extends React.PureComponent {
|
||||
static propTypes = {
|
||||
@@ -477,7 +478,7 @@ export default class AbstractOutgoingWebhook extends React.PureComponent {
|
||||
values={{
|
||||
link: (
|
||||
<ExternalLink
|
||||
href='https://docs.mattermost.com/configure/configuration-settings.html#session-lengths'
|
||||
href={DocLinks.SESSION_LENGTHS}
|
||||
location='abstract_outgoing_webhook'
|
||||
>
|
||||
<FormattedMessage
|
||||
|
||||
@@ -19,7 +19,7 @@ import SpinnerButton from 'components/spinner_button';
|
||||
import FormError from 'components/form_error';
|
||||
|
||||
import {getHistory} from 'utils/browser_history';
|
||||
import {AcceptedProfileImageTypes, Constants, ValidationErrors} from 'utils/constants';
|
||||
import {AcceptedProfileImageTypes, Constants, DeveloperLinks, ValidationErrors} from 'utils/constants';
|
||||
import * as Utils from 'utils/utils';
|
||||
|
||||
import {Team} from '@mattermost/types/teams';
|
||||
@@ -635,7 +635,7 @@ export default class AddBot extends React.PureComponent<Props, State> {
|
||||
values={{
|
||||
link: (msg: React.ReactNode) => (
|
||||
<ExternalLink
|
||||
href='https://developers.mattermost.com/integrate/admin-guide/admin-personal-access-token/'
|
||||
href={DeveloperLinks.PERSONAL_ACCESS_TOKENS}
|
||||
location='add_bot'
|
||||
>
|
||||
{msg}
|
||||
|
||||
@@ -5,7 +5,7 @@ import React, {useEffect} from 'react';
|
||||
import {FormattedMessage} from 'react-intl';
|
||||
import {Link, useHistory} from 'react-router-dom';
|
||||
|
||||
import {Constants, ErrorPageTypes} from 'utils/constants';
|
||||
import {Constants, DeveloperLinks, ErrorPageTypes} from 'utils/constants';
|
||||
import {getSiteURL} from 'utils/url';
|
||||
|
||||
import {Team} from '@mattermost/types/teams';
|
||||
@@ -75,7 +75,7 @@ const ConfirmIntegration = ({team, location, commands, oauthApps, incomingHooks,
|
||||
values={{
|
||||
link: (msg: string) => (
|
||||
<ExternalLink
|
||||
href='https://developers.mattermost.com/integrate/admin-guide/admin-slash-commands/'
|
||||
href={DeveloperLinks.SETUP_CUSTOM_SLASH_COMMANDS}
|
||||
location='confirm_integration'
|
||||
>
|
||||
{msg}
|
||||
@@ -112,7 +112,7 @@ const ConfirmIntegration = ({team, location, commands, oauthApps, incomingHooks,
|
||||
values={{
|
||||
link: (msg: string) => (
|
||||
<ExternalLink
|
||||
href='https://developers.mattermost.com/integrate/admin-guide/admin-webhooks-incoming/'
|
||||
href={DeveloperLinks.SETUP_INCOMING_WEBHOOKS}
|
||||
location='confirm_integration'
|
||||
>
|
||||
{msg}
|
||||
@@ -149,7 +149,7 @@ const ConfirmIntegration = ({team, location, commands, oauthApps, incomingHooks,
|
||||
values={{
|
||||
link: (msg: string) => (
|
||||
<ExternalLink
|
||||
href='https://developers.mattermost.com/integrate/admin-guide/admin-webhooks-outgoing/'
|
||||
href={DeveloperLinks.SETUP_OUTGOING_WEBHOOKS}
|
||||
location='confirm_integration'
|
||||
>
|
||||
{msg}
|
||||
@@ -189,7 +189,7 @@ const ConfirmIntegration = ({team, location, commands, oauthApps, incomingHooks,
|
||||
values={{
|
||||
link: (msg: string) => (
|
||||
<ExternalLink
|
||||
href='https://developers.mattermost.com/integrate/admin-guide/admin-oauth2/'
|
||||
href={DeveloperLinks.SETUP_OAUTH2}
|
||||
location='confirm_integration'
|
||||
>
|
||||
{msg}
|
||||
|
||||
@@ -15,6 +15,7 @@ import {RelationOneToOne} from '@mattermost/types/utilities';
|
||||
import {Command} from '@mattermost/types/integrations';
|
||||
import InstalledCommand, {matchesFilter} from '../installed_command';
|
||||
import ExternalLink from 'components/external_link';
|
||||
import {DeveloperLinks} from 'utils/constants';
|
||||
|
||||
type Props = {
|
||||
team: Team;
|
||||
@@ -115,7 +116,7 @@ export default class InstalledCommands extends React.PureComponent<Props> {
|
||||
values={{
|
||||
buildYourOwn: (
|
||||
<ExternalLink
|
||||
href='https://developers.mattermost.com/integrate/admin-guide/admin-slash-commands/'
|
||||
href={DeveloperLinks.SETUP_CUSTOM_SLASH_COMMANDS}
|
||||
location='installed_commands'
|
||||
>
|
||||
<FormattedMessage
|
||||
|
||||
@@ -16,7 +16,7 @@ import {IDMappedObjects} from '@mattermost/types/utilities';
|
||||
import BackstageList from 'components/backstage/components/backstage_list';
|
||||
import FormattedMarkdownMessage from 'components/formatted_markdown_message';
|
||||
|
||||
import Constants from 'utils/constants';
|
||||
import {Constants, DeveloperLinks} from 'utils/constants';
|
||||
import * as Utils from 'utils/utils';
|
||||
import ExternalLink from 'components/external_link';
|
||||
|
||||
@@ -136,7 +136,7 @@ export default class InstalledIncomingWebhooks extends React.PureComponent<Props
|
||||
buildYourOwn: (
|
||||
<ExternalLink
|
||||
location='installed_incoming_webhooks'
|
||||
href='https://developers.mattermost.com/integrate/admin-guide/admin-webhooks-incoming/'
|
||||
href={DeveloperLinks.SETUP_INCOMING_WEBHOOKS}
|
||||
>
|
||||
<FormattedMessage
|
||||
id='installed_incoming_webhooks.help.buildYourOwn'
|
||||
|
||||
@@ -39,7 +39,7 @@ exports[`components/integrations/InstalledOAuthApps should match snapshot 1`] =
|
||||
/>
|
||||
</ExternalLink>,
|
||||
"oauthApplications": <ExternalLink
|
||||
href="https://developers.mattermost.com/integrate/admin-guide/admin-oauth2/"
|
||||
href="https://mattermost.com/pl/setup-oauth-2.0"
|
||||
location="installed_oauth_apps"
|
||||
>
|
||||
<Memo(MemoizedFormattedMessage)
|
||||
|
||||
@@ -13,6 +13,7 @@ import FormattedMarkdownMessage from 'components/formatted_markdown_message';
|
||||
import InstalledOAuthApp from '../installed_oauth_app';
|
||||
import {matchesFilter} from '../installed_oauth_app/installed_oauth_app';
|
||||
import ExternalLink from 'components/external_link';
|
||||
import {DeveloperLinks} from 'utils/constants';
|
||||
|
||||
type Props = {
|
||||
|
||||
@@ -145,7 +146,7 @@ export default class InstalledOAuthApps extends React.PureComponent<Props, State
|
||||
values={{
|
||||
oauthApplications: (
|
||||
<ExternalLink
|
||||
href='https://developers.mattermost.com/integrate/admin-guide/admin-oauth2/'
|
||||
href={DeveloperLinks.SETUP_OAUTH2}
|
||||
location='installed_oauth_apps'
|
||||
>
|
||||
<FormattedMessage
|
||||
|
||||
@@ -265,7 +265,7 @@ exports[`components/integrations/InstalledOutgoingWebhooks should match snapshot
|
||||
/>
|
||||
</ExternalLink>,
|
||||
"buildYourOwn": <ExternalLink
|
||||
href="https://developers.mattermost.com/integrate/admin-guide/admin-webhooks-outgoing/"
|
||||
href="https://mattermost.com/pl/setup-outgoing-webhooks"
|
||||
location="installed_outgoing_webhooks"
|
||||
>
|
||||
<Memo(MemoizedFormattedMessage)
|
||||
|
||||
@@ -5,7 +5,7 @@ import React from 'react';
|
||||
import {FormattedMessage} from 'react-intl';
|
||||
|
||||
import {localizeMessage} from 'utils/utils';
|
||||
import Constants from 'utils/constants';
|
||||
import {Constants, DeveloperLinks} from 'utils/constants';
|
||||
|
||||
import BackstageList from 'components/backstage/components/backstage_list';
|
||||
import InstalledOutgoingWebhook, {matchesFilter} from 'components/integrations/installed_outgoing_webhook';
|
||||
@@ -195,7 +195,7 @@ export default class InstalledOutgoingWebhooks extends React.PureComponent<Props
|
||||
values={{
|
||||
buildYourOwn: (
|
||||
<ExternalLink
|
||||
href='https://developers.mattermost.com/integrate/admin-guide/admin-webhooks-outgoing/'
|
||||
href={DeveloperLinks.SETUP_OUTGOING_WEBHOOKS}
|
||||
location='installed_outgoing_webhooks'
|
||||
>
|
||||
<FormattedMessage
|
||||
|
||||
Ссылка в новой задаче
Block a user