Skip to content

Commit d1871bf

Browse files
Merge pull request #1 from mattermost/master
Update to jt365 fork
2 parents eee82fa + 7eaf590 commit d1871bf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+1861
-401
lines changed

source/administration/bulk-export-data.rst

Lines changed: 204 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,20 @@ Bulk export data
22
=================
33
At this time, the export supports attributes of the objects listed below. All Mattermost Bulk Export data files will begin with a `Version` object as the first line of the file. This indicates the version of the Mattermost Bulk Import file format with which the exported data is compatible.
44

5-
Configuration for exporting specific areas of the server, exporting additional types of posts, reactions, file attachments, webhooks and bot messages are not yet supported. Deleted objects are also not yet supported.
5+
You can export the following data types:
6+
7+
- Teams
8+
- Channels (Public & Private)
9+
- Users
10+
- Users' Team memberships
11+
- Users' Channel memberships
12+
- Users' notification preferences
13+
- Posts (regular, non-reply posts)
14+
- Posts' Replies
15+
- Posts' Reactions
16+
- Custom Emoji
17+
18+
Configuration for exporting specific areas of the server, exporting additional types of posts, permissions schemes, file attachments, webhooks and bot messages are not yet supported. Deleted objects are also not yet supported.
619

720
For requests to add additional attributes or objects to our exporter, please add a feature request on our `feature idea forum <https://mattermost.uservoice.com/forums/306457-general>`_.
821

@@ -200,11 +213,88 @@ User object
200213
<td valign="middle">array</td>
201214
<td>The teams which the user is member of. Is an array of <b>UserTeamMembership</b> objects.</td>
202215
</tr>
216+
<tr class="row-odd">
217+
<td valign="middle">notify_props</td>
218+
<td valign="middle">object</td>
219+
<td>The user’s notify preferences, as defined by the <b>UserNotifyProps</b> object.</td>
220+
</tr>
203221
</table>
204-
205-
222+
223+
UserNotifyProps object
224+
----------------------
225+
This object is a member of the User object.
226+
227+
.. raw:: html
228+
229+
<table width="100%" border="1" cellpadding="5px" style="margin-bottom:20px;">
230+
<tr class="row-odd">
231+
<th class="head">Field name</th>
232+
<th class="head">Type</th>
233+
<th class="head">Description</th>
234+
</tr>
235+
<tr class="row-odd">
236+
<td valign="middle">desktop</td>
237+
<td valign="middle">string</td>
238+
<td>Preference for sending desktop notifications. Will be one of the following values:<br>
239+
<kbd>"all"</kbd> - For all activity.<br>
240+
<kbd>"mention"</kbd> - Only for mentions.<br>
241+
<kbd>"none"</kbd> - Never.</td>
242+
</tr>
243+
<tr class="row-odd">
244+
<td valign="middle">desktop_sound</td>
245+
<td valign="middle">string</td>
246+
<td>Preference for whether desktop notification sound is played. Will be one of the following values:<br>
247+
<kbd>"true"</kbd> - Sound is played.<br>
248+
<kbd>"false"</kbd> - Sound is not played.</td>
249+
</tr>
250+
<tr class="row-odd">
251+
<td valign="middle">email</td>
252+
<td valign="middle">string</td>
253+
<td>Preference for email notifications. Will be one of the following values:<br>
254+
<kbd>"true"</kbd> - Email notifications are sent immediately.<br>
255+
<kbd>"false"</kbd> - Email notifications are not sent.</td>
256+
</tr>
257+
<tr class="row-odd">
258+
<td valign="middle">mobile</td>
259+
<td valign="middle">string</td>
260+
<td>Preference for sending mobile push notifications. Will be one of the following values:<br>
261+
<kbd>"all"</kbd> - For all activity.<br>
262+
<kbd>"mention"</kbd> - Only for mentions.<br>
263+
<kbd>"none"</kbd> - Never.</td>
264+
</tr>
265+
<tr class="row-odd">
266+
<td valign="middle">mobile_push_status</td>
267+
<td valign="middle">string</td>
268+
<td>Preference for when push notifications are triggered. Will be one of the following values:<br>
269+
<kbd>"online"</kbd> - When online, away or offline.<br>
270+
<kbd>"away"</kbd> - When away or offline.<br>
271+
<kbd>"offline"</kbd> - When offline.</td>
272+
</tr>
273+
<tr class="row-odd">
274+
<td valign="middle">channel</td>
275+
<td valign="middle">string</td>
276+
<td>Preference for whether @all, @channel and @here trigger mentions. Will be one of the following values:<br>
277+
<kbd>"true"</kbd> - Mentions are triggered.<br>
278+
<kbd>"false"</kbd> - Mentions are not triggered.</td>
279+
</tr>
280+
<tr class="row-odd">
281+
<td valign="middle">comments</td>
282+
<td valign="middle">string</td>
283+
<td>Preference for reply mention notifications. Will be one of the following values:<br>
284+
<kbd>"any"</kbd> - Trigger notifications on messages in reply threads that the user starts or participates in.<br>
285+
<kbd>"root"</kbd> - Trigger notifications on messages in threads that the user starts.<br>
286+
<kbd>"never"</kbd> - Do not trigger notifications on messages in reply threads unless the user is mentioned.</td>
287+
</tr>
288+
<tr class="row-odd">
289+
<td valign="middle">mention_keys</td>
290+
<td valign="middle">string</td>
291+
<td>Preference for custom non-case sensitive words that trigger mentions. Words are separated by commas.</td>
292+
</tr>
293+
</table>
294+
295+
206296
UserTeamMembership object
207-
----------------------------
297+
-------------------------
208298
.. raw:: html
209299

210300
<table width="100%" border="1" cellpadding="5px" style="margin-bottom:20px;">
@@ -244,6 +334,60 @@ UserChannelMembership object
244334
<td valign="middle">roles</td>
245335
<td valign="middle">string</td>
246336
<td>The roles the user has within this channel. </td>
337+
</tr>
338+
<tr class="row-odd">
339+
<td valign="middle">notify_props</td>
340+
<td valign="middle">object</td>
341+
<td>The notify preferences for this user in this channelas defined by the <b>ChannelNotifyProps</b> object.</td>
342+
</tr>
343+
<tr class="row-odd">
344+
<td valign="middle">favorite</td>
345+
<td valign="middle">boolean</td>
346+
<td>Whether the channel is marked as a favorite for this user. Will be one of the following values<br>
347+
<kbd>"true"</kbd> - Yes.<br>
348+
<kbd>"false"</kbd> - No.</td>
349+
</td>
350+
</tr>
351+
</table>
352+
353+
ChannelNotifyProps object
354+
~~~~~~~~~~~~~~~~~~~~~~~~~
355+
356+
This object is a member of the ChannelMembership object.
357+
358+
.. raw:: html
359+
360+
<table width="100%" border="1" cellpadding="5px" style="margin-bottom:20px;">
361+
<tr class="row-odd">
362+
<th class="head">Field name</th>
363+
<th class="head">Type</th>
364+
<th class="head">Description</th>
365+
</tr>
366+
<tr class="row-odd">
367+
<td valign="middle">desktop</td>
368+
<td valign="middle">string</td>
369+
<td>Preference for sending desktop notifications. Will be one of the following values:<br>
370+
<kbd>"default"</kbd> - Global default.<br>
371+
<kbd>"all"</kbd> - For all activity.<br>
372+
<kbd>"mention"</kbd> - Only for mentions.<br>
373+
<kbd>"none"</kbd> - Never.</td>
374+
</tr>
375+
<tr class="row-odd">
376+
<td valign="middle">mobile</td>
377+
<td valign="middle">string</td>
378+
<td>Preference for sending mobile notifications. Will be one of the following values:<br>
379+
<kbd>"default"</kbd> - Global default.<br>
380+
<kbd>"all"</kbd> - For all activity.<br>
381+
<kbd>"mention"</kbd> - Only for mentions.<br>
382+
<kbd>"none"</kbd> - Never.</td>
383+
</tr>
384+
<tr class="row-odd">
385+
<td valign="middle">mark_unread</td>
386+
<td valign="middle">string</td>
387+
<td>Preference for marking channel as unread. Will be one of the following values:<br>
388+
<kbd>"all"</kbd> - For all unread messages.<br>
389+
<kbd>"mention"</kbd> - Only for mentions.
390+
</td>
247391
</tr>
248392
</table>
249393

@@ -282,6 +426,10 @@ Post object
282426
<td valign="middle">int</td>
283427
<td>The timestamp for the post, in milliseconds since the Unix epoch.</td>
284428
</tr>
429+
<tr class="row-odd">
430+
<td valign="middle">reactions</td>
431+
<td valign="middle">array</td>
432+
<td>The emoji reactions to this post. Will be an array of Reaction objects.</td>
285433
</table>
286434

287435
Reply object
@@ -310,3 +458,55 @@ Reply object
310458
<td>The timestamp for the reply, in milliseconds since the Unix epoch.</td>
311459
</tr>
312460
</table>
461+
462+
Reaction object
463+
---------------
464+
465+
This object is a member of the Post object.
466+
467+
.. raw:: html
468+
469+
<table width="100%" border="1" cellpadding="5px" style="margin-bottom:20px;">
470+
<tr class="row-odd">
471+
<th class="head">Field name</th>
472+
<th class="head">Type</th>
473+
<th class="head">Description</th>
474+
</tr>
475+
<tr class="row-odd">
476+
<td valign="middle">user</td>
477+
<td valign="middle">string</td>
478+
<td>The username of the user for this reply.</td>
479+
</tr>
480+
<tr class="row-odd">
481+
<td valign="middle">emoji_name</td>
482+
<td valign="middle">string</td>
483+
<td>The emoji of the reaction.</td>
484+
</tr>
485+
<tr class="row-odd">
486+
<td valign="middle">create_at</td>
487+
<td valign="middle">int</td>
488+
<td>The timestamp for the reply, in milliseconds since the Unix epoch.</td>
489+
</tr>
490+
</table>
491+
492+
Emoji object
493+
------------
494+
.. raw:: html
495+
496+
<table width="100%" border="1" cellpadding="5px" style="margin-bottom:20px;">
497+
<tr class="row-odd">
498+
<th class="head">Field name</th>
499+
<th class="head">Type</th>
500+
<th class="head">Description</th>
501+
</tr>
502+
<tr class="row-odd">
503+
<td valign="middle">name</td>
504+
<td valign="middle">string</td>
505+
<td>The emoji name.</td>
506+
</tr>
507+
<tr class="row-odd">
508+
<td valign="middle">image</td>
509+
<td valign="middle">string</td>
510+
<td>The path (either absolute or relative to the current working directory) to the image file for this emoji.</td>
511+
</tr>
512+
</table>

0 commit comments

Comments
 (0)