Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1712,6 +1712,47 @@ Login button text
| String input. Default is **SAML**. | - Environment variable: ``MM_SAMLSETTINGS_LOGINBUTTONTEXT`` |
+---------------------------------------------------------------------------+-------------------------------------------------------------------+

config.json-only settings
^^^^^^^^^^^^^^^^^^^^^^^^^

The following SAML configuration settings are only available by editing the ``config.json`` file.

.. config:setting:: scoping-idp-provider-id
:displayname: Scoping IDP provider ID (SAML)
:systemconsole: N/A
:configjson: ScopingIDPProviderId
:environment: N/A
:description: Allows an authenticated user to skip the initial login page of their federated Azure AD server, and only require a password to log in.

Scoping IDP provider ID
~~~~~~~~~~~~~~~~~~~~~~~~

This setting isn't available in the System Console and can only be set in ``config.json``.

Allows an authenticated user to skip the initial login page of their federated Azure AD server, and only require a password to log in.

+---------------------------------------------------------------------------------------------+
| This feature's ``config.json`` setting is ``"ScopingIDPProviderId": ""`` with string input. |
+---------------------------------------------------------------------------------------------+

.. config:setting:: scoping-idp-provider-name
:displayname: Scoping IDP provider name (SAML)
:systemconsole: N/A
:configjson: ScopingIDPName
:environment: N/A
:description: Adds the name associated with a user's Scoping Identity Provider ID.

Scoping IDP provider name
~~~~~~~~~~~~~~~~~~~~~~~~~~

This setting isn't available in the System Console and can only be set in ``config.json``.

Adds the name associated with a user's Scoping Identity Provider ID.

+---------------------------------------------------------------------------------------+
| This feature's ``config.json`` setting is ``"ScopingIDPName": ""`` with string input. |
+---------------------------------------------------------------------------------------+

----

OAuth 2.0
Expand Down Expand Up @@ -1876,6 +1917,25 @@ GitLab OAuth 2.0 Token endpoint
| String input. | |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------------------------------------------------------------------+

.. config:setting:: oauth-gitlabscope
:displayname: GitLab scope (OAuth - GitLab)
:systemconsole: N/A
:configjson: .GitLabSettings.Scope
:environment: MM_GITLABSETTINGS_SCOPE
:description: Standard setting for OAuth to determine the scope of information shared with the OAuth client. Not currently supported by GitLab OAuth.

GitLab scope
''''''''''''

This setting isn't available in the System Console and can only be set in ``config.json``.

+---------------------------------------------------------------+-------------------------------------------------------------+
| Standard setting for OAuth to determine the scope of | - System Config path: N/A |
| information shared with the OAuth client. | - ``config.json`` setting: ``GitLabSettings`` > ``Scope`` |
| | - Environment variable: ``MM_GITLABSETTINGS_SCOPE`` |
| String input. Not currently supported by GitLab OAuth. | |
+---------------------------------------------------------------+-------------------------------------------------------------+

Google OAuth 2.0 settings
^^^^^^^^^^^^^^^^^^^^^^^^^

Expand Down Expand Up @@ -1980,6 +2040,25 @@ Google OAuth 2.0 Token endpoint
| String input. | - Environment variable: ``MM_GOOGLESETTINGS_TOKENENDPOINT`` |
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------+

.. config:setting:: oauth-googlescope
:displayname: Google scope (OAuth - Google)
:systemconsole: N/A
:configjson: .GoogleSettings.Scope
:environment: MM_GOOGLESETTINGS_SCOPE
:description: Standard setting for OAuth to determine the scope of information shared with the OAuth client. Default value is **profile email**.

Google scope
''''''''''''

This setting isn't available in the System Console and can only be set in ``config.json``.

+---------------------------------------------------------------+-------------------------------------------------------------+
| Standard setting for OAuth to determine the scope of | - System Config path: N/A |
| information shared with the OAuth client. | - ``config.json`` setting: ``GoogleSettings`` > ``Scope`` |
| | - Environment variable: ``MM_GOOGLESETTINGS_SCOPE`` |
| String input. Recommended setting is ``profile email``. | |
+---------------------------------------------------------------+-------------------------------------------------------------+

Entra ID OAuth 2.0 settings
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expand Down Expand Up @@ -2112,6 +2191,25 @@ Entra ID OAuth 2.0 Token endpoint
| String input. | - Environment variable: ``MM_OFFICE365SETTINGS_TOKENENDPOINT`` |
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------+

.. config:setting:: oauth-entra-id-scope
:displayname: Entra ID scope (OAuth - Entra ID)
:systemconsole: N/A
:configjson: .Office365Settings.Scope
:environment: MM_OFFICE365SETTINGS_SCOPE
:description: Standard setting for OAuth to determine the scope of information shared with the OAuth client. Recommended setting is **User.Read**.

Entra ID scope
''''''''''''''

This setting isn't available in the System Console and can only be set in ``config.json``.

+---------------------------------------------------------------+---------------------------------------------------------------+
| Standard setting for OAuth to determine the scope of | - System Config path: N/A |
| information shared with the OAuth client. | - ``config.json`` setting: ``Office365Settings`` > ``Scope`` |
| | - Environment variable: ``MM_OFFICE365SETTINGS_SCOPE`` |
| String input. Recommended setting is ``User.Read``. | |
+---------------------------------------------------------------+---------------------------------------------------------------+

----

OpenID Connect
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,25 @@ The SMTP server port that will receive your Global Relay EML file when a `custom
| This feature's ``config.json`` setting is ``".MessageExportSettings.GlobalRelaySettings.CustomSMTPPort": "25"`` with string input. |
+------------------------------------------------------------------------------------------------------------------------------------+

.. config:setting:: global-relay-smtp-server-timeout
:displayname: Global Relay SMTP server timeout (Compliance Export - Global Relay EML)
:systemconsole: N/A
:configjson: .MessageExportSettings.GlobalRelaySettings.SMTPServerTimeout
:environment: MM_MESSAGEEXPORTSETTINGS_GLOBALRELAYSETTINGS_SMTPSERVERTIMEOUT
:description: The number of seconds that can elapse before the connection attempt to the SMTP server is abandoned. Default is **1800** seconds.

Global Relay SMTP server timeout
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This setting isn't available in the System Console and can only be set in ``config.json``.

+---------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+
| The number of seconds that can elapse before the connection | - System Config path: N/A |
| attempt to the SMTP server is abandoned. | - ``config.json`` setting: ``MessageExportSettings.GlobalRelaySettings.SMTPServerTimeout`` > ``1800`` |
| | - Environment variable: ``MM_MESSAGEEXPORTSETTINGS_GLOBALRELAYSETTINGS_SMTPSERVERTIMEOUT`` |
| Numeric value. Default is **1800** seconds. | |
+---------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+

.. config:setting:: message-export-batch-size
:displayname: Message export batch size (Compliance Export)
:systemconsole: N/A
Expand All @@ -315,6 +334,49 @@ Determines how many new posts are batched together to a compliance export file.
| This feature's ``config.json`` setting is ``"BatchSize": 10000`` with numerical input. |
+---------------------------------------------------------------------------------------------+

.. config:setting:: export-from-timestamp
:displayname: Export from timestamp (Compliance Export)
:systemconsole: N/A
:configjson: .MessageExportSettings.ExportFromTimestamp
:environment: MM_MESSAGEEXPORTSETTINGS_EXPORTFROMTIMESTAMP
:description: Set the Unix timestamp (seconds since epoch, UTC) to export data from. Default is **0**.

Export from timestamp
~~~~~~~~~~~~~~~~~~~~~

.. include:: ../../_static/badges/ent-plus.rst
:start-after: :nosearch:

This setting isn't available in the System Console and can only be set in ``config.json``.

+---------------------------------------------------------------+--------------------------------------------------------------------------------------------+
| Set the Unix timestamp (seconds since epoch, UTC) to export | - System Config path: N/A |
| data from. | - ``config.json`` setting: ``MessageExportSettings.ExportFromTimestamp`` > ``0`` |
| | - Environment variable: ``MM_MESSAGEEXPORTSETTINGS_EXPORTFROMTIMESTAMP`` |
| Numeric value. Default is **0**. | |
+---------------------------------------------------------------+--------------------------------------------------------------------------------------------+

.. config:setting:: file-location
:displayname: File location (Compliance Export)
:systemconsole: N/A
:configjson: FileLocation
:environment: N/A
:description: Set the file location of the compliance exports. Default value is **export**.

File location
~~~~~~~~~~~~~

.. include:: ../../_static/badges/ent-plus.rst
:start-after: :nosearch:

This setting isn't available in the System Console and can only be set in ``config.json``.

Set the file location of the compliance exports. By default, they are written to the ``exports`` subdirectory of the configured :ref:`Local Storage directory <administration-guide/configure/environment-configuration-settings:local storage directory>`.

+-------------------------------------------------------------------------------------------+
| This feature's ``config.json`` setting is ``"FileLocation": "export"`` with string input. |
+-------------------------------------------------------------------------------------------+

Run compliance export job now
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,30 +32,54 @@ Bleve settings

*Bleve search has been deprecated from Mattermost v11.0. We recommend using Elasticsearch or OpenSearch for enterprise search capabilities.*

.. config:setting:: enable-bleve-indexing
:displayname: Enable Bleve indexing (Deprecated)
:systemconsole: N/A
:configjson: EnableIndexing
:environment: N/A

- **true**: The indexing of new posts occurs automatically.
- **false**: **(Default)** The indexing of new posts does not occur automatically.

Enable Bleve indexing
~~~~~~~~~~~~~~~~~~~~~

*Deprecated from Mattermost v11.0*
*Deprecated in Mattermost v11.0*

This setting was available in the System Console by going to **Experimental > Bleve**, or by editing the ``config.json`` file.

Bleve search was deprecated in favor of database search and Elasticsearch. Use database search (default) or configure Elasticsearch for large deployments.

**True**: The indexing of new posts occurs automatically.

**False**: The indexing of new posts does not occur automatically.

This setting is no longer functional.

+------------------------------------------------------------------------------------------------------------+
| This feature's ``config.json`` setting is ``"EnableIndexing": false`` with options ``true`` and ``false``. |
+------------------------------------------------------------------------------------------------------------+

.. config:setting:: index-directory
:displayname: Index directory (Deprecated)
:systemconsole: N/A
:configjson: IndexDir
:environment: N/A
:description: Directory path to use for storing bleve indexes.

Index directory
~~~~~~~~~~~~~~~

*Deprecated from Mattermost v11.0*
*Deprecated in Mattermost v11.0*

This setting was available in the System Console by going to **Experimental > Bleve**, or by editing the ``config.json`` file.

Bleve search was deprecated in favor of database search and Elasticsearch. Use database search (default) or configure Elasticsearch for large deployments.

Directory path to use for storing bleve indexes.

This setting is no longer functional.

+-----------------------------------------------------------------------------------------------------------+
| This feature's ``config.json`` setting is ``"IndexDir": ""`` with string input. |
+-----------------------------------------------------------------------------------------------------------+
Expand All @@ -71,41 +95,57 @@ Purge indexes
Select **Purge Index** to remove the contents of the Bleve index directory. Search results may be incomplete until a bulk index of the existing database is rebuilt.

.. config:setting:: enable-bleve-indexingsearch
:displayname: Enable Bleve for search queries (Experimental)
:systemconsole: Experimental > Bleve
:displayname: Enable Bleve for search queries (Deprecated)
:systemconsole: N/A
:configjson: EnableSearching
:environment: N/A

- **true**: Search queries will use bleve search.
- **false**: **(Default)** Search queries will not use bleve search.


Enable Bleve for search queries
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

*Deprecated from Mattermost v11.0*
*Deprecated in Mattermost v11.0*

This setting was available in the System Console by going to **Experimental > Bleve**, or by editing the ``config.json`` file.

Bleve search was deprecated in favor of database search and Elasticsearch. Use database search (default) or configure Elasticsearch for large deployments.

**True**: Search queries will use bleve search.

**False**: Search queries will not use bleve search.

This setting is no longer functional.

+--------------------------------------------------------------------------------------------------------------+
| This feature's ``config.json`` setting is ``"EnableSearching": false`` with options ``true`` and ``false``. |
+--------------------------------------------------------------------------------------------------------------+

.. config:setting:: enable-bleve-indexingautocomplete
:displayname: Enable Bleve for autocomplete queries (Deprecated)
:systemconsole: N/A
:configjson: EnableAutocomplete
:environment: N/A

- **true**: Autocomplete queries will use bleve search.
- **false**: **(Default)** Autocomplete queries will not use bleve search.

Enable Bleve for autocomplete queries
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

*Deprecated from Mattermost v11.0*
*Deprecated in Mattermost v11.0*

This setting was available in the System Console by going to **Experimental > Bleve**, or by editing the ``config.json`` file.

Bleve search was deprecated in favor of database search and Elasticsearch. Use database search (default) or configure Elasticsearch for large deployments.

**True**: Autocomplete queries will use bleve search.

**False**: Autocomplete queries will not use bleve search.

This setting is no longer functional.

+-----------------------------------------------------------------------------------------------------------------+
| This feature's ``config.json`` setting is ``"EnableAutocomplete": false`` with options ``true`` and ``false``. |
+-----------------------------------------------------------------------------------------------------------------+
Expand Down
Loading