Skip to content

Commit 68d7777

Browse files
cwarnermmamyblaisjustinegeffenwiersgallak
authored
V5.38 documentation (#4914)
* Update conf.py * Update open-source-components.rst * Update release-lifecycle.rst * Reliable Websockets: default to true Documentation for: mattermost/mattermost#17890 Updated: - Set Up, Manage, Onboard, and Comply > Set Up Mattermost > Self-Managed Deployments > Configuration Settings > Experimental Settings only in config.json > Enable Reliable Websockets - Updated the default value of the config setting to ``true`` * PR didn't follow internal processes for submission * Re-added file deleted in error * Re-added the correct file that was deleted in error * MM-36779 - Add ChimeraOAuthProxyURL config option (#4928) * MM-36779 - Add ChimeraOAuthProxyURL config option Documentation for: mattermost/mattermost#17888 Updated: - Set Up, Manage, Onboard, and Comply > Set Up Mattermost > Self-Managed Deployments > Configuration Settings > Plugins (Beta) - Added the Chimera OAuth Proxy URL configuration setting * Added ChimeraOAuthProxyUrl to Telemetry * added note about the setting being available only via config.json * Update source/configure/configuration-settings.rst Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com> * Update source/configure/configuration-settings.rst Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com> Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com> * Reliable Websockets: default to true (#4918) Documentation for: mattermost/mattermost#17890 Updated: - Set Up, Manage, Onboard, and Comply > Set Up Mattermost > Self-Managed Deployments > Configuration Settings > Experimental Settings only in config.json > Enable Reliable Websockets - Updated the default value of the config setting to ``true`` * Added functionality to archive/unarchive teams from system console (#4927) * Added functionality to archive/unarchive teams from system console Documentation for: mattermost/mattermost-webapp#8129 Updated: - Set Up, Manage, Onboard, and Comply > Manage Mattermost > Self-Managed Deployments > Managing Team and Channel Members (E20) > Team Profile - Updated section to include details on how to archive/unarchive the team * Added archive/unarchive updates to Cloud-specific page * Updated LHS - Moved self-managed topic from all instances to self-managed - Added Cloud-specific topic * added mmctl equivalent for team restore * added mmctl equivalent for team restore (self-managed) * Update source/manage/cloud-team-and-channel.rst Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com> * Update source/manage/team-channel-members.rst Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com> * Update data-retention-policy.rst (#4937) * Update data-retention-policy.rst Adding docs for custom data retention policies. * Update data-retention-policy.rst * Update source/comply/data-retention-policy.rst Co-authored-by: Carrie Warner (Mattermost) <74422101+cwarnermm@users.noreply.github.com> * Update source/comply/data-retention-policy.rst Co-authored-by: Carrie Warner (Mattermost) <74422101+cwarnermm@users.noreply.github.com> * Update source/comply/data-retention-policy.rst Co-authored-by: Carrie Warner (Mattermost) <74422101+cwarnermm@users.noreply.github.com> * Update source/comply/data-retention-policy.rst Co-authored-by: Carrie Warner (Mattermost) <74422101+cwarnermm@users.noreply.github.com> * Update source/comply/data-retention-policy.rst Co-authored-by: Carrie Warner (Mattermost) <74422101+cwarnermm@users.noreply.github.com> * Update source/comply/data-retention-policy.rst Co-authored-by: Carrie Warner (Mattermost) <74422101+cwarnermm@users.noreply.github.com> * Update source/comply/data-retention-policy.rst Co-authored-by: Carrie Warner (Mattermost) <74422101+cwarnermm@users.noreply.github.com> * Update source/comply/data-retention-policy.rst Co-authored-by: Carrie Warner (Mattermost) <74422101+cwarnermm@users.noreply.github.com> * Update source/comply/data-retention-policy.rst Co-authored-by: Carrie Warner (Mattermost) <74422101+cwarnermm@users.noreply.github.com> * Update source/comply/data-retention-policy.rst Co-authored-by: Carrie Warner (Mattermost) <74422101+cwarnermm@users.noreply.github.com> * Update source/comply/data-retention-policy.rst Co-authored-by: Carrie Warner (Mattermost) <74422101+cwarnermm@users.noreply.github.com> * Update source/comply/data-retention-policy.rst Co-authored-by: Carrie Warner (Mattermost) <74422101+cwarnermm@users.noreply.github.com> * Update source/comply/data-retention-policy.rst Co-authored-by: Carrie Warner (Mattermost) <74422101+cwarnermm@users.noreply.github.com> * Update data-retention-policy.rst * Update data-retention-policy.rst * Update source/comply/data-retention-policy.rst Co-authored-by: Carrie Warner (Mattermost) <74422101+cwarnermm@users.noreply.github.com> * Update source/comply/data-retention-policy.rst Co-authored-by: Carrie Warner (Mattermost) <74422101+cwarnermm@users.noreply.github.com> * Update source/comply/data-retention-policy.rst Co-authored-by: Carrie Warner (Mattermost) <74422101+cwarnermm@users.noreply.github.com> * Update source/comply/data-retention-policy.rst Co-authored-by: Carrie Warner (Mattermost) <74422101+cwarnermm@users.noreply.github.com> Co-authored-by: Carrie Warner (Mattermost) <74422101+cwarnermm@users.noreply.github.com> * Update important-upgrade-notes.rst (#4811) * Update important-upgrade-notes.rst * Update important-upgrade-notes.rst * Update important-upgrade-notes.rst * Fix typos * MM-36547 Renamed 'Mute Channel' and 'Edit Channel Header' menus (#4941) Documentation for: mattermost/mattermost-webapp#8313 Updated: - Messaging > Manage Teams, Channels, and Members > Managing Channels > Creating a Direct or Group Message - Updated section to include mute, unmute, and edit header options for group and direct messages * MM-35722: CRT, post click open thread (#4942) Documentation for: mattermost/mattermost-webapp#8342 Updated: - Messages > Work with Messages > Organizing Conversations using Collapsed Reply Threads (Beta) > Start or Reply to Threads - Updated Tip bullet point #1 to clarify that uses can click anywhere in a message in the center pane to view it/reply to it * MM-35470 Disable config watching logic (#4951) * MM-35470 Disable config watching logic Documentation for: mattermost/mattermost#17913 Updated: - Set Up, Manage, Onboard, and Comply > Set Up Mattermost > Self-Managed Deployments > Configuration Settings - Updated introductory content to remove < v5.12 legacy note and add config watcher note and link to mmctl command * Update source/configure/configuration-settings.rst Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com> * v5.38.0 Changelog (#4810) * Update self-managed-changelog.md * Update self-managed-changelog.md * Update self-managed-changelog.md * Update self-managed-changelog.md * Update self-managed-changelog.md * Update self-managed-changelog.md * Update self-managed-changelog.md * Apply suggestions from code review Co-authored-by: Carrie Warner (Mattermost) <74422101+cwarnermm@users.noreply.github.com> * Update self-managed-changelog.md * Update self-managed-changelog.md * Update self-managed-changelog.md Co-authored-by: Carrie Warner (Mattermost) <74422101+cwarnermm@users.noreply.github.com> Co-authored-by: Amy Blais <29708087+amyblais@users.noreply.github.com> Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com> Co-authored-by: Katie Wiersgalla <39744472+wiersgallak@users.noreply.github.com>
1 parent 74abb1a commit 68d7777

13 files changed

+266
-44
lines changed

source/comply/data-retention-policy.rst

Lines changed: 32 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,40 @@ Data Retention Policy (E20)
55

66
By default, Mattermost stores all message history providing an unlimited search history to admins and end users.
77

8-
In Mattermost Enterprise E20, you can set a custom policy to manage how long messages and file uploads are kept in Mattermost channels and direct messages.
8+
In Mattermost Enterprise E20, you can set a global retention policy as well as custom retention policies to manage how long messages and file uploads are kept in Mattermost channels and Direct Messages
99

1010
.. warning::
11-
Once a message or a file is deleted, the action is irreversible. Please use caution when setting up a custom data retention policy.
11+
Once a message or a file is deleted, the action is irreversible. Please use caution when setting up global or custom data retention policies.
1212

13-
Configuring a Data Retention Policy
14-
------------------------------------
13+
Configuring a Global Data Retention Policy
14+
-------------------------------------------
1515

16-
To set a custom data retention policy:
16+
To set a global data retention policy in Mattermost v5.38 and later:
1717

18-
1. Go to **System Console > Compliance > Data Retention Policy**.
19-
2. Select a **Message Retention** option. When a time is specified, messages, including file attachments, older than the duration you set will be deleted at the specified time. The minimum retention period is one day.
20-
3. Select a **File Retention** option. When a time is specified uploaded files which are older than the duration you set will be deleted from your file storage system (either from your local disk or your Amazon S3 service as specified in **System Console > Environment > File Storage** at the specified time. The minimum retention period is one day.
21-
4. Set the start time of the daily scheduled data retention job. Choose a time when fewer people are using your system. Must be a 24-hour time stamp in the form HH:MM.
18+
1. Go to **System Console > Compliance > Data Retention Policies**.
19+
2. Select **Edit** from the menu located to the right of the **Global retention policy** table.
20+
3. Specify a global retention policy for channel messages and Direct Messages by selecting a **Channel & direct message retention** option from the dropdown, then set how long to keep those messages. When a time is set, messages and file attachments older than the duration you set will be deleted. The minimum retention period is one day.
21+
4. Select a **File retention** option from the dropdown. Set the number of days or ears to keep files. When a time is set, uploaded files which are older than the duration you set will be deleted from your file storage system (either from your local disk or your Amazon S3 service as specified in **System Console > Environment > File Storage**. The minimum retention period is one day. The global file policy deletes all files regardless of whether they're in a direct message, private, or public channel.
22+
5. Under the **Policy log** section, select **Edit** to specify the start time of the daily scheduled data retention job. Choose a time when fewer people are using your system.
2223

23-
Save the settings and restart your server. Messages and files older than the duration you set will be deleted at the specified server time, if applicable.
24+
Select **Save**. Messages and files older than the duration you set will be deleted at the specified server time, as applicable.
2425

26+
Configuring a Custom Data Retention Policy
27+
-------------------------------------------
28+
29+
To set a custom data retention policy in Mattermost v5.38 and later:
30+
31+
1. Go to **System Console > Compliance > Data Retention Policies**.
32+
2. Select **Add policy** to the right of the **Custom retention policies** table.
33+
3. Specify a name for your policy.
34+
4. Specify a custom retention policy for channel and Direct Messages by selecting a **Channel & direct message retention** option from the dropdown, then set how long to keep uploaded files. When a time is set, messages and file attachments older than the duration you set will be deleted. The minimum retention period is one day.
35+
5. Assign teams and channels to this policy by selecting **Add teams** and searching for a specific team, or by selecting **Add channels** and searching for a specific channel. If only teams are specified, all channels for selected teams will be included in the a policy.
36+
6. Under the **Policy log** section, select **Edit** to specify the start time of the daily scheduled data retention job. Choose a time when fewer people are using your system. If a time is already set for a global retention policy, then the same time applies to custom data retention policies.
37+
38+
Save the settings. Messages and files older than the duration you set will be deleted at the specified server time, as applicable.
39+
40+
Running a Deletion Job Manually
41+
--------------------------------
2542
You can also run the deletion job manually at any time by selecting **Run Deletion Job Now** in **System Console > Compliance > Data Retention Policy**.
2643

2744
.. note::
@@ -33,12 +50,14 @@ Frequently Asked Questions (FAQs)
3350
What happens when a message is deleted?
3451
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3552

36-
The message is removed from the Mattermost user interface and deleted from the ``Posts`` table. The message is no longer searchable and cannot be retrieved in pinned posts or saved posts lists.
53+
The message is removed from the Mattermost user interface and deleted from the ``Posts`` table. The message is no longer searchable and cannot be retrieved in pinned posts or saved posts lists.
3754

3855
Replies that did not exceed the message duration are still displayed in the user interface. However, further replies are no longer possible.
3956

40-
What happens when a file is deleted?
41-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
57+
If there was a file attached to the message, it will be removed from the user interface only.
58+
59+
What happens when a file is deleted by the file retention policy?
60+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4261

4362
The file attachment is removed from the Mattermost user interface, deleted from the ``FileInfo`` table, and from your local disk or Amazon S3 service as specified in **System Console > Environment > File Storage**.
4463

@@ -59,14 +78,6 @@ Why do I see ``Pending`` in the deletion job table with no details?
5978

6079
This usually means another data retention job is in progress. You can verify this in the deletion job table in **System Console > Compliance > Data Retention Policy**.
6180

62-
If no jobs are in progress and the job has stayed ``Pending`` for more than 2 minutes, then you may not have restarted your server after enabling the data retention policy. Restart your server and try again.
63-
64-
How do I set a custom policy per team or channel?
65-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
66-
67-
Setting custom policies for each team and channel are in the roadmap but not yet supported.
68-
69-
If you are interested in this feature, consider upvoting the `existing feature proposal <https://mattermost.uservoice.com/forums/306457-general/suggestions/31731844-ee-data-retention-policy-for-individual-teams-and>`__ and share your feedback in the comments.
7081

7182
How is data retention handled in the mobile apps?
7283
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,9 +340,9 @@ def setup(app):
340340
# built documents.
341341
#
342342
# The short X.Y version.
343-
# version = '5.37'
343+
# version = '5.38'
344344
# The full version, including alpha/beta/rc tags.
345-
# release = '5.37'
345+
# release = '5.38'
346346

347347
# The language for content autogenerated by Sphinx. Refer to documentation
348348
# for a list of supported languages.

source/configure/configuration-settings.rst

Lines changed: 27 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
Configuration Settings
22
======================
33

4-
.. note::
5-
The order of the configuration settings below are reflective of a reorganization of the System Console in version 5.12 released on June 16th, 2019. To view the configuration settings based on the organization of the System Console in versions prior to version 5.12, please see `this documentation <https://docs.mattermost.com/administration/prev-config-settings.html>`_ instead.
6-
74
Mattermost configuration settings are maintained in the ``config.json`` configuration file, located in the ``mattermost/config`` directory. You can modify the configuration file using the System Console, or by using a text editor to modify it directly.
85

9-
Mattermost must have write permissions to ``config.json``, otherwise changes made in the System Console will have no effect.
6+
.. important::
7+
8+
Mattermost must have write permissions to ``config.json``, otherwise changes made in the System Console will have no effect.
9+
10+
On new installations from v5.14, the ``default.json`` file used to create the initial ``config.json`` has been removed from the binary and replaced with a build step that generates a fresh ``config.json``. This is to ensure the initial configuration file has all the correct defaults provided in the server code. Existing ``config.json`` files are not affected by this change.
1011

11-
On new installations starting from v5.14, the ``default.json`` file used to create the initial ``config.json`` has been removed from the binary and replaced with a build step that generates a fresh ``config.json``. This is to ensure the initial configuration file has all the correct defaults provided in the server code. Existing ``config.json`` files are not affected by this change.
12+
From Mattermost v5.38 (released August 16, 2021), the “config watcher” (the mechanism that automatically reloads the ``config.json`` file) has been deprecated in favor of the mmctl command `mmctl config reload <https://docs.mattermost.com/manage/mmctl-command-line-tool.html#mmctl-config-reload>`__ that must be run to apply configuration changes after they're made. This change will improve configuration performance and robustness.
1213

1314
Configuration in Database
1415
--------------------------
@@ -1274,7 +1275,7 @@ Where:
12741275
- Advanced logging supports hot-reloading of logger configuration.
12751276

12761277
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1277-
| This feature’s ``config.json`` setting is ``LogSettings.AdvancedLoggingConfig`` which can contain a filespec to another config file, a database DSN, or JSON. |
1278+
| This feature’s ``config.json`` setting is ``LogSettings.AdvancedLoggingConfig`` which can contain a filespec to another config file, a database DSN, or JSON. |
12781279
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
12791280

12801281
Options outlined in `this text file <https://github.com/mattermost/docs/files/5066579/Log.Settings.Options.txt>`__ are described in the following table.
@@ -1380,7 +1381,7 @@ Options outlined in `this text file <https://github.com/mattermost/docs/files/50
13801381
.. Note::
13811382
Filenames for ``AdvancedLoggingConfig`` can contain an absolute filename, a relative filename, or embedded JSON.
13821383

1383-
See the :download:`Advanced Logging Options Sample JSON ZIP file <../samples/advanced-logging-options-sample-json.zip>` for a sample configuration file.
1384+
See the :download:`Advanced Logging Options Sample JSON ZIP file <../samples/advanced-logging-options-sample-json.zip>` for a sample configuration file.
13841385

13851386
Standard Logging
13861387
~~~~~~~~~~~~~~~~
@@ -1436,7 +1437,7 @@ Changes to this setting require a server restart before taking effect.
14361437
Colorize plain text console logs
14371438
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14381439

1439-
This setting can only be changed from ``config.json`` file, it cannot be changed from the System Console user interface.
1440+
This setting can only be changed from ``config.json`` file, it cannot be changed from the System Console user interface.
14401441

14411442
**True**: When logged events are output to the console as plain text, colorize log levels details.
14421443

@@ -3834,9 +3835,22 @@ Signature Public Key Files
38343835

38353836
In addition to the Mattermost plugin signing key built into the server, each public key specified here is trusted to validate plugin signatures.
38363837

3837-
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
3838-
| This feature's ``config.json`` setting is ``"SignaturePublicKeyFiles": {}`` with with string array input consisting of contents that are relative or absolute paths to signature files. |
3839-
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
3838+
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
3839+
| This feature's ``config.json`` setting is ``"SignaturePublicKeyFiles": {}`` with string array input consisting of contents that are relative or absolute paths to signature files. |
3840+
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
3841+
3842+
Chimera OAuth Proxy URL
3843+
^^^^^^^^^^^^^^^^^^^^^^^
3844+
3845+
Specify the `Chimera <https://github.com/mattermost/chimera>`__ URL used by Mattermost plugins to connect with pre-created OAuth applications.
3846+
3847+
+-------------------------------------------------------------------------------------------------------------------------+
3848+
| This feature's ``config.json`` setting is ``"ChimeraOAuthProxyUrl": {}`` with string input. |
3849+
+-------------------------------------------------------------------------------------------------------------------------+
3850+
3851+
.. note::
3852+
3853+
This setting isn't available in the System Console and can only be set in ``config.json``.
38403854

38413855
Autolink
38423856
~~~~~~~~
@@ -5186,7 +5200,7 @@ Replica Lag Settings
51865200
Specifies a connection string and user-defined SQL queries on the database to measure replica lag for a single replica instance. These settings monitor absolute lag based on binlog distance/transaction queue length, and the time taken for the replica to catch up.
51875201

51885202
+-------------------------------------------------------------------------------------------------------+
5189-
| This feature’s ``config.json`` setting is ``"ReplicaLagSettings": []`` with string array input. |
5203+
| This feature’s ``config.json`` setting is ``"ReplicaLagSettings": []`` with string array input. |
51905204
+-------------------------------------------------------------------------------------------------------+
51915205

51925206
String array input consists of:
@@ -5412,7 +5426,7 @@ Enable Reliable Websockets
54125426
Enable this setting to make websocket messages more reliable by buffering messages during a connection loss and then re-transmitting all unsent messages when the connection is revived.
54135427
54145428
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
5415-
| This feature's ``config.json`` setting is ``"EnableReliableWebsockets": false`` with options ``true`` and ``false``. |
5429+
| This feature's ``config.json`` setting is ``"EnableReliableWebsockets": true`` with options ``true`` and ``false``. |
54165430
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
54175431
54185432
Remote Clusters

source/guides/setup-onboard-manage-comply.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ Cloud Workspaces
127127
:maxdepth: 1
128128
:glob:
129129

130+
/manage/cloud-team-channel.rst
130131
/manage/cloud-billing.rst
131132
/manage/cloud-reporting.rst
132133
/manage/cloud-user-satisfaction-surveys.rst
@@ -159,4 +160,4 @@ Cloud Workspaces
159160
/comply/cloud-compliance-and-oversight.rst
160161
/comply/cloud-compliance-export.rst
161162
/comply/cloud-data-retention-policy.rst
162-
/comply/cloud-custom-terms-of-service.rst
163+
/comply/cloud-custom-terms-of-service.rst

0 commit comments

Comments
 (0)