Compare commits

...

7 Commits

Author SHA1 Message Date
Gleidson Daniel Silva 4dfc9c70f3
[FIX] Keyboard not showing all emojis or showing cut emojis (#4919)
* fix the logic based on window width and make the keyboard dynamic

* fix var naming and math

* fix alignment of emojis

* add comment

* wip
2023-03-09 17:17:20 -03:00
Piyush Gupta 513e8ee636
[FIX] Increase border radius on MessageAvatar as small (#4837)
* fixed border radius of 4 on avatar

* fixed lint

* Update tests

---------

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2023-03-08 15:34:39 -03:00
Mister-H aa57237004
[FIX] Order of quoted message done according to desktop version (#4739)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2023-03-08 11:20:01 -03:00
Diego Mello 58391964cb
[FIX] Message not rendering E2EE data if md exists (#4951) 2023-03-07 10:57:57 -03:00
Diego Mello 412f62eb2a
Chore: Update Detox to 20.1.2 (#4866) 2023-03-07 09:28:51 -03:00
Reinaldo Neto 4526b7f871
[FIX] UGC Rules Text align (#4934) 2023-03-02 16:04:52 -03:00
Diego Mello 27efa89dac
Bump version to 4.37.0 (#4938) 2023-03-02 13:22:40 -03:00
98 changed files with 2403 additions and 4974 deletions

View File

@ -1,6 +1,9 @@
defaults: &defaults
working_directory: ~/repo
orbs:
android: circleci/android@2.1.2
macos: &macos
macos:
xcode: "14.2.0"
@ -327,6 +330,14 @@ commands:
working_directory: ios
- save_cache: *save-gems-cache
create-e2e-account-file:
description: "Create e2e account file"
steps:
- run:
command: |
echo $E2E_ACCOUNT | base64 --decode > ./e2e_account.ts
working_directory: e2e
version: 2.1
# EXECUTORS
@ -438,6 +449,94 @@ jobs:
- upload-to-google-play-beta:
official: true
e2e-build-android:
<<: *defaults
executor:
name: android/android-machine
resource-class: xlarge
tag: 2022.12.1
environment:
<<: *android-env
steps:
- checkout
- restore_cache: *restore-npm-cache-linux
- run: *install-npm-modules
- save_cache: *save-npm-cache-linux
- restore_cache: *restore-gradle-cache
- run:
name: Configure Gradle
command: |
echo -e "" > ./gradle.properties
# echo -e "android.enableAapt2=false" >> ./gradle.properties
echo -e "android.useAndroidX=true" >> ./gradle.properties
echo -e "android.enableJetifier=true" >> ./gradle.properties
echo -e "newArchEnabled=false" >> ./gradle.properties
echo -e "FLIPPER_VERSION=0.125.0" >> ./gradle.properties
echo -e "VERSIONCODE=$CIRCLE_BUILD_NUM" >> ./gradle.properties
echo -e "APPLICATION_ID=chat.rocket.reactnative" >> ./gradle.properties
echo -e "BugsnagAPIKey=$BUGSNAG_KEY" >> ./gradle.properties
echo $KEYSTORE_EXPERIMENTAL_BASE64 | base64 --decode > ./app/$KEYSTORE_EXPERIMENTAL
echo -e "KEYSTORE=$KEYSTORE_EXPERIMENTAL" >> ./gradle.properties
echo -e "KEYSTORE_PASSWORD=$KEYSTORE_EXPERIMENTAL_PASSWORD" >> ./gradle.properties
echo -e "KEY_ALIAS=$KEYSTORE_EXPERIMENTAL_ALIAS" >> ./gradle.properties
echo -e "KEY_PASSWORD=$KEYSTORE_EXPERIMENTAL_PASSWORD" >> ./gradle.properties
working_directory: android
- run:
name: Build Android
command: |
echo "RUNNING_E2E_TESTS=true" > ./.env
yarn e2e:android-build
- save_cache: *save-gradle-cache
- store_artifacts:
path: android/app/build/outputs/apk/experimentalPlay/release/app-experimental-play-release.apk
- store_artifacts:
path: android/app/build/outputs/apk/androidTest/experimentalPlay/release/app-experimental-play-release-androidTest.apk
- persist_to_workspace:
root: /home/circleci/repo
paths:
- android/app/build/outputs/apk/
e2e-test-android:
<<: *defaults
executor:
name: android/android-machine
resource-class: xlarge
tag: 2022.12.1
parallelism: 4
steps:
- checkout
- attach_workspace:
at: /home/circleci/repo
- restore_cache: *restore-npm-cache-linux
- run: *install-npm-modules
- save_cache: *save-npm-cache-linux
- run: mkdir ~/junit
- create-e2e-account-file
- android/create-avd:
avd-name: Pixel_API_31_AOSP
install: true
system-image: system-images;android-31;default;x86_64
- run:
name: Setup emulator
command: |
echo "hw.lcd.density = 440" >> ~/.android/avd/Pixel_API_31_AOSP.avd/config.ini
echo "hw.lcd.height = 2280" >> ~/.android/avd/Pixel_API_31_AOSP.avd/config.ini
echo "hw.lcd.width = 1080" >> ~/.android/avd/Pixel_API_31_AOSP.avd/config.ini
- run:
name: Run Detox Tests
command: |
TEST=$(circleci tests glob "e2e/tests/**/*.ts" | circleci tests split --split-by=timings)
yarn e2e:android-test $TEST
- store_artifacts:
path: artifacts
- run:
command: cp junit.xml ~/junit/
when: always
- store_test_results:
path: ~/junit
- store_artifacts:
path: ~/junit
# iOS builds
ios-build-experimental:
executor: mac-env
@ -461,11 +560,89 @@ jobs:
- upload-to-testflight:
official: true
e2e-build-ios:
executor: mac-env
steps:
- checkout
- restore_cache: *restore-gems-cache
- restore_cache: *restore-npm-cache-mac
- run: *install-npm-modules
- run: *update-fastlane-ios
- save_cache: *save-npm-cache-mac
- save_cache: *save-gems-cache
- manage-pods
- run:
name: Configure Detox
command: |
brew tap wix/brew
brew install applesimutils
- run:
name: Build
command: |
/usr/libexec/PlistBuddy -c "Set :bugsnag:apiKey $BUGSNAG_KEY" ./ios/RocketChatRN/Info.plist
/usr/libexec/PlistBuddy -c "Set :bugsnag:apiKey $BUGSNAG_KEY" ./ios/ShareRocketChatRN/Info.plist
yarn detox clean-framework-cache && yarn detox build-framework-cache
echo "RUNNING_E2E_TESTS=true" > ./.env
yarn e2e:ios-build
- persist_to_workspace:
root: /Users/distiller/project
paths:
- ios/build/Build/Products/Release-iphonesimulator/Rocket.Chat Experimental.app
e2e-test-ios:
executor: mac-env
parallelism: 5
steps:
- checkout
- attach_workspace:
at: /Users/distiller/project
- restore_cache: *restore-npm-cache-mac
- run: *install-npm-modules
- save_cache: *save-npm-cache-mac
- run: mkdir ~/junit
- run:
name: Configure Detox
command: |
brew tap wix/brew
brew install applesimutils
yarn detox clean-framework-cache && yarn detox build-framework-cache
- create-e2e-account-file
- run:
name: Run tests
command: |
TEST=$(circleci tests glob "e2e/tests/**/*.ts" | circleci tests split --split-by=timings)
yarn e2e:ios-test $TEST
- store_artifacts:
path: artifacts
- run:
command: cp junit.xml ~/junit/
when: always
- store_test_results:
path: ~/junit
- store_artifacts:
path: ~/junit
workflows:
build-and-test:
jobs:
- lint-testunit
# E2E tests
- e2e-hold:
type: approval
- e2e-build-ios:
requires:
- e2e-hold
- e2e-test-ios:
requires:
- e2e-build-ios
- e2e-build-android:
requires:
- e2e-hold
- e2e-test-android:
requires:
- e2e-build-android
# iOS Experimental
- ios-hold-build-experimental:
type: approval

91
.detoxrc.js Normal file
View File

@ -0,0 +1,91 @@
/** @type {Detox.DetoxConfig} */
module.exports = {
testRunner: {
args: {
$0: 'jest',
config: 'e2e/jest.config.js'
},
retries: process.env.CI ? 3 : 0
},
artifacts: {
plugins: {
screenshot: 'failing',
video: 'failing',
uiHierarchy: 'enabled'
}
},
apps: {
'ios.debug': {
type: 'ios.app',
binaryPath: 'ios/build/Build/Products/Debug-iphonesimulator/Rocket.Chat Experimental.app',
build:
'xcodebuild -workspace ios/RocketChatRN.xcworkspace -scheme RocketChatRN -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build'
},
'ios.release': {
type: 'ios.app',
binaryPath: 'ios/build/Build/Products/Release-iphonesimulator/Rocket.Chat Experimental.app',
build:
'xcodebuild -workspace ios/RocketChatRN.xcworkspace -scheme RocketChatRN -configuration Release -sdk iphonesimulator -derivedDataPath ios/build'
},
'android.debug': {
type: 'android.apk',
binaryPath: 'android/app/build/outputs/apk/experimentalPlay/debug/app-experimental-play-debug.apk',
build:
'cd android ; ./gradlew assembleExperimentalPlayDebug assembleExperimentalPlayDebugAndroidTest -DtestBuildType=debug ; cd -',
reversePorts: [8081]
},
'android.release': {
type: 'android.apk',
binaryPath: 'android/app/build/outputs/apk/experimentalPlay/release/app-experimental-play-release.apk',
build:
'cd android ; ./gradlew assembleExperimentalPlayRelease assembleExperimentalPlayReleaseAndroidTest -DtestBuildType=release ; cd -'
}
},
devices: {
simulator: {
type: 'ios.simulator',
device: {
type: 'iPhone 14'
}
},
attached: {
type: 'android.attached',
device: {
adbName: '.*'
}
},
emulator: {
type: 'android.emulator',
device: {
avdName: 'Pixel_API_31_AOSP'
},
headless: process.env.CI ? true : false
}
},
configurations: {
'ios.sim.debug': {
device: 'simulator',
app: 'ios.debug'
},
'ios.sim.release': {
device: 'simulator',
app: 'ios.release'
},
'android.att.debug': {
device: 'attached',
app: 'android.debug'
},
'android.att.release': {
device: 'attached',
app: 'android.release'
},
'android.emu.debug': {
device: 'emulator',
app: 'android.debug'
},
'android.emu.release': {
device: 'emulator',
app: 'android.release'
}
}
};

2
.env Normal file
View File

@ -0,0 +1,2 @@
# DON'T COMMIT THIS FILE
RUNNING_E2E_TESTS=

View File

@ -240,19 +240,8 @@ module.exports = {
},
{
files: ['e2e/**'],
globals: {
by: true,
detox: true,
device: true,
element: true,
waitFor: true
},
rules: {
'import/no-extraneous-dependencies': 0,
'no-await-in-loop': 0,
'no-restricted-syntax': 0,
// TODO: remove this rule when update Detox to 20 and test if the namespace Detox is available
'no-undef': 1
'no-await-in-loop': 0
}
}
]

1
.gitignore vendored
View File

@ -67,5 +67,6 @@ e2e/docker/rc_test_env/docker-compose.yml
e2e/docker/data/db
e2e/e2e_account.js
e2e/e2e_account.ts
junit.xml
*.p8

File diff suppressed because one or more lines are too long

View File

@ -147,7 +147,7 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode VERSIONCODE as Integer
versionName "4.36.0"
versionName "4.37.0"
vectorDrawables.useSupportLibrary = true
if (!isFoss) {
manifestPlaceholders = [BugsnagAPIKey: BugsnagAPIKey as String]
@ -250,6 +250,7 @@ android {
release {
minifyEnabled enableProguardInReleaseBuilds
setProguardFiles([getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'])
proguardFile "${rootProject.projectDir}/../node_modules/detox/android/detox/proguard-rules-app.pro"
signingConfig signingConfigs.release
if (!isFoss) {
firebaseCrashlytics {
@ -268,6 +269,11 @@ android {
// pickFirst '**/x86_64/libc++_shared.so'
// }
// FIXME: Remove when we update RN
packagingOptions {
pickFirst '**/*.so'
}
// applicationVariants are e.g. debug, release
flavorDimensions "app", "type"
@ -280,10 +286,6 @@ android {
dimension = "app"
buildConfigField "boolean", "IS_OFFICIAL", "false"
}
e2e {
dimension = "app"
buildConfigField "boolean", "IS_OFFICIAL", "false"
}
foss {
dimension = "type"
buildConfigField "boolean", "FDROID_BUILD", "true"
@ -311,16 +313,6 @@ android {
java.srcDirs = ['src/main/java', 'src/play/java']
manifest.srcFile 'src/play/AndroidManifest.xml'
}
e2ePlayDebug {
java.srcDirs = ['src/main/java', 'src/play/java']
res.srcDirs = ['src/experimental/res']
manifest.srcFile 'src/play/AndroidManifest.xml'
}
e2ePlayRelease {
java.srcDirs = ['src/main/java', 'src/play/java']
res.srcDirs = ['src/experimental/res']
manifest.srcFile 'src/play/AndroidManifest.xml'
}
}
applicationVariants.all { variant ->
@ -385,8 +377,9 @@ dependencies {
implementation "com.github.bumptech.glide:glide:4.9.0"
annotationProcessor "com.github.bumptech.glide:compiler:4.9.0"
implementation "com.tencent:mmkv-static:1.2.10"
androidTestImplementation('com.wix:detox:+') { transitive = true }
androidTestImplementation 'junit:junit:4.12'
androidTestImplementation('com.wix:detox:+')
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'com.facebook.soloader:soloader:0.10.4'
}
if (isNewArchitectureEnabled()) {

View File

@ -18,7 +18,7 @@ public class DetoxTest {
@Rule
// Replace 'MainActivity' with the value of android:name entry in
// <activity> in AndroidManifest.xml
public ActivityTestRule<MainActivity> mActivityRule = new ActivityTestRule<>(MainActivity.class, false, false);
public ActivityTestRule<chat.rocket.reactnative.MainActivity> mActivityRule = new ActivityTestRule<>(chat.rocket.reactnative.MainActivity.class, false, false);
@Test
public void runDetoxTests() {

View File

@ -1,10 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<network-security-config xmlns:tools="http://schemas.android.com/tools">
<base-config cleartextTrafficPermitted="true">
<trust-anchors>
<certificates src="system" />
<certificates src="user"
tools:ignore="AcceptsUserCertificates" />
</trust-anchors>
</base-config>
</network-security-config>

View File

@ -7,4 +7,8 @@
tools:ignore="AcceptsUserCertificates" />
</trust-anchors>
</base-config>
<domain-config cleartextTrafficPermitted="true">
<domain includeSubdomains="true">10.0.2.2</domain>
<domain includeSubdomains="true">localhost</domain>
</domain-config>
</network-security-config>

View File

@ -1,9 +1,5 @@
import org.apache.tools.ant.taskdefs.condition.Os
def safeExtGet(prop, fallback) {
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
}
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
def taskRequests = getGradle().getStartParameter().getTaskRequests().toString().toLowerCase()
@ -75,5 +71,38 @@ allprojects {
google()
maven { url 'https://maven.google.com' }
maven { url 'https://www.jitpack.io' }
// https://stackoverflow.com/a/74333788/5447468
// TODO: remove once we update RN
exclusiveContent {
// We get React Native's Android binaries exclusively through npm,
// from a local Maven repo inside node_modules/react-native/.
// (The use of exclusiveContent prevents looking elsewhere like Maven Central
// and potentially getting a wrong version.)
filter {
includeGroup "com.facebook.react"
}
forRepository {
maven {
// NOTE: if you are in a monorepo, you may have "$rootDir/../../../node_modules/react-native/android"
url "$rootDir/../node_modules/react-native/android"
}
}
}
}
}
subprojects { subproject ->
afterEvaluate {
if (!project.name.equalsIgnoreCase("app") && project.hasProperty("android")) {
android {
compileSdkVersion 31
buildToolsVersion "31.0.0"
defaultConfig {
minSdkVersion 23
targetSdkVersion 31
}
}
}
}
}

View File

@ -1,34 +1,31 @@
import React from 'react';
import { useWindowDimensions } from 'react-native';
import { FlatList } from 'react-native-gesture-handler';
import { EMOJI_BUTTON_SIZE } from './styles';
import scrollPersistTaps from '../../lib/methods/helpers/scrollPersistTaps';
import { IEmoji } from '../../definitions/IEmoji';
import scrollPersistTaps from '../../lib/methods/helpers/scrollPersistTaps';
import { PressableEmoji } from './PressableEmoji';
import { EMOJI_BUTTON_SIZE } from './styles';
interface IEmojiCategoryProps {
emojis: IEmoji[];
onEmojiSelected: (emoji: IEmoji) => void;
tabLabel?: string; // needed for react-native-scrollable-tab-view only
parentWidth: number;
}
const EmojiCategory = ({ onEmojiSelected, emojis }: IEmojiCategoryProps): React.ReactElement | null => {
const { width } = useWindowDimensions();
const numColumns = Math.trunc(width / EMOJI_BUTTON_SIZE);
const marginHorizontal = (width % EMOJI_BUTTON_SIZE) / 2;
const renderItem = ({ item }: { item: IEmoji }) => <PressableEmoji emoji={item} onPress={onEmojiSelected} />;
if (!width) {
const EmojiCategory = ({ onEmojiSelected, emojis, parentWidth }: IEmojiCategoryProps): React.ReactElement | null => {
if (!parentWidth) {
return null;
}
const numColumns = Math.trunc(parentWidth / EMOJI_BUTTON_SIZE);
const marginHorizontal = (parentWidth % EMOJI_BUTTON_SIZE) / 2;
const renderItem = ({ item }: { item: IEmoji }) => <PressableEmoji emoji={item} onPress={onEmojiSelected} />;
return (
<FlatList
// needed to update the numColumns when the width changes
key={`emoji-category-${width}`}
key={`emoji-category-${parentWidth}`}
keyExtractor={item => (typeof item === 'string' ? item : item.name)}
data={emojis}
renderItem={renderItem}

View File

@ -1,4 +1,4 @@
import React from 'react';
import React, { useState } from 'react';
import { View } from 'react-native';
import ScrollableTabView from 'react-native-scrollable-tab-view';
@ -20,6 +20,8 @@ const EmojiPicker = ({
searchedEmojis = []
}: IEmojiPickerProps): React.ReactElement | null => {
const { colors } = useTheme();
const [parentWidth, setParentWidth] = useState(0);
const { frequentlyUsed, loaded } = useFrequentlyUsedEmoji();
const allCustomEmojis: ICustomEmojis = useAppSelector(
@ -50,7 +52,14 @@ const EmojiPicker = ({
if (!emojis.length) {
return null;
}
return <EmojiCategory emojis={emojis} onEmojiSelected={(emoji: IEmoji) => handleEmojiSelect(emoji)} tabLabel={label} />;
return (
<EmojiCategory
parentWidth={parentWidth}
emojis={emojis}
onEmojiSelected={(emoji: IEmoji) => handleEmojiSelect(emoji)}
tabLabel={label}
/>
);
};
if (!loaded) {
@ -58,9 +67,13 @@ const EmojiPicker = ({
}
return (
<View style={styles.emojiPickerContainer}>
<View style={styles.emojiPickerContainer} onLayout={e => setParentWidth(e.nativeEvent.layout.width)}>
{searching ? (
<EmojiCategory emojis={searchedEmojis} onEmojiSelected={(emoji: IEmoji) => handleEmojiSelect(emoji)} />
<EmojiCategory
emojis={searchedEmojis}
onEmojiSelected={(emoji: IEmoji) => handleEmojiSelect(emoji)}
parentWidth={parentWidth}
/>
) : (
<ScrollableTabView
renderTabBar={() => <TabBar />}

View File

@ -16,11 +16,13 @@ const styles = StyleSheet.create({
},
bottomContainerText: {
...sharedStyles.textRegular,
fontSize: 13
fontSize: 13,
textAlign: 'center'
},
bottomContainerTextBold: {
...sharedStyles.textSemibold,
fontSize: 13
fontSize: 13,
textAlign: 'center'
}
});

View File

@ -53,7 +53,7 @@ const Content = React.memo(
content = (
<Markdown
msg={props.msg}
md={props.md}
md={props.type !== 'e2e' ? props.md : undefined}
getCustomEmoji={props.getCustomEmoji}
enableMessageParser={user.enableMessageParserEarlyAdoption}
username={user.username}

View File

@ -18,7 +18,7 @@ const MessageAvatar = React.memo(({ isHeader, avatar, author, small, navToRoomIn
style={small ? styles.avatarSmall : styles.avatar}
text={avatar ? '' : author.username}
size={small ? 20 : 36}
borderRadius={small ? 2 : 4}
borderRadius={4}
onPress={author._id === user.id ? undefined : () => navToRoomInfo(navParam)}
getCustomEmoji={getCustomEmoji}
avatar={avatar}

View File

@ -247,6 +247,8 @@ const Reply = React.memo(
>
<View style={styles.attachmentContainer}>
<Title attachment={attachment} timeFormat={timeFormat} theme={theme} />
<Description attachment={attachment} getCustomEmoji={getCustomEmoji} theme={theme} />
<UrlImage image={attachment.thumb_url} />
<Attachments
attachments={attachment.attachments}
getCustomEmoji={getCustomEmoji}
@ -255,8 +257,6 @@ const Reply = React.memo(
isReply
id={messageId}
/>
<UrlImage image={attachment.thumb_url} />
<Description attachment={attachment} getCustomEmoji={getCustomEmoji} theme={theme} />
<Fields attachment={attachment} getCustomEmoji={getCustomEmoji} theme={theme} />
{loading ? (
<View style={[styles.backdrop]}>

View File

@ -12,3 +12,6 @@ declare module 'react-native-restart';
declare module 'react-native-jitsi-meet';
declare module 'rn-root-view';
declare module 'react-native-math-view';
declare module '@env' {
export const RUNNING_E2E_TESTS: string;
}

View File

@ -1,5 +1,7 @@
import { Alert, Linking } from 'react-native';
import AsyncStorage from '@react-native-async-storage/async-storage';
// eslint-disable-next-line import/no-unresolved
import { RUNNING_E2E_TESTS } from '@env';
import I18n from '../../../i18n';
import { isFDroidBuild, STORE_REVIEW_LINK } from '../../constants';
@ -86,7 +88,9 @@ class ReviewApp {
positiveEventCount = 0;
pushPositiveEvent = () => {
if (!isFDroidBuild) {
if (isFDroidBuild || RUNNING_E2E_TESTS === 'true') {
return;
}
if (this.positiveEventCount >= numberOfPositiveEvent) {
return;
}
@ -94,7 +98,6 @@ class ReviewApp {
if (this.positiveEventCount === numberOfPositiveEvent) {
tryReview();
}
}
};
}

View File

@ -243,7 +243,7 @@ class DirectoryView extends React.Component<IDirectoryViewProps, IDirectoryViewS
title: item.name as string,
onPress: () => this.onPressItem(item),
baseUrl,
testID: `directory-view-item-${item.name}`.toLowerCase(),
testID: `directory-view-item-${item.name}`,
style,
user,
theme,

View File

@ -655,7 +655,6 @@ class RoomInfoEditView extends React.Component<IRoomInfoEditViewProps, IRoomInfo
label={I18n.t('Password')}
value={joinCode}
onChangeText={value => this.setState({ joinCode: value })}
onSubmitEditing={this.submit}
secureTextEntry
testID='room-info-edit-view-password'
/>

View File

@ -1197,6 +1197,11 @@ class RoomView extends React.Component<IRoomViewProps, IRoomViewState> {
if ('id' in item && item.t === E2E_MESSAGE_TYPE && item.e2e !== E2E_STATUS.DONE) {
name = I18n.t('Encrypted_message');
}
if (!jumpToMessageId) {
setTimeout(() => {
sendLoadingEvent({ visible: false });
}, 300);
}
return navigation.push('RoomView', {
rid: this.rid,
tmid: item.tmid,

View File

@ -1,16 +1,11 @@
import React from 'react';
import { StyleSheet, Text, View } from 'react-native';
import { createImageProgress } from 'react-native-image-progress';
import * as Progress from 'react-native-progress';
import { StyleSheet, View } from 'react-native';
import FastImage from 'react-native-fast-image';
import sharedStyles from '../Styles';
import { themes } from '../../lib/constants';
import { isTablet } from '../../lib/methods/helpers';
import { TSupportedThemes } from '../../theme';
const ImageProgress = createImageProgress(FastImage);
const SIZE = 96;
const MARGIN_TOP = isTablet ? 0 : 64;
const BORDER_RADIUS = 8;
@ -27,50 +22,20 @@ const styles = StyleSheet.create({
width: SIZE,
height: SIZE,
borderRadius: BORDER_RADIUS
},
fallback: {
width: SIZE,
height: SIZE,
borderRadius: BORDER_RADIUS,
alignItems: 'center',
justifyContent: 'center'
},
initial: {
...sharedStyles.textBold,
fontSize: 42
}
});
const getInitial = (url: string) => url && url.replace(/http(s?):\/\//, '').slice(0, 1);
interface IFallback {
theme: TSupportedThemes;
initial: string;
}
const Fallback = ({ theme, initial }: IFallback) => (
<View style={[styles.container, styles.fallback, { backgroundColor: themes[theme].dangerColor }]}>
<Text style={[styles.initial, { color: themes[theme].buttonText }]}>{initial}</Text>
</View>
);
interface IServerAvatar {
theme: TSupportedThemes;
url: string;
image: string;
}
// TODO: missing skeleton
const ServerAvatar = React.memo(({ theme, url, image }: IServerAvatar) => (
<View style={styles.container}>
{image && (
<ImageProgress
style={[styles.image, { borderColor: themes[theme].borderColor }]}
source={{ uri: `${url}/${image}` }}
resizeMode={FastImage.resizeMode.cover}
indicator={Progress.Pie}
indicatorProps={{
color: themes[theme].actionTintColor
}}
renderError={() => <Fallback theme={theme} initial={getInitial(url)} />}
/>
<FastImage style={[styles.image, { borderColor: themes[theme].borderColor }]} source={{ uri: `${url}/${image}` }} />
)}
</View>
));

View File

@ -3,7 +3,8 @@ module.exports = {
plugins: [
['@babel/plugin-proposal-decorators', { legacy: true }],
'react-native-reanimated/plugin',
'@babel/plugin-transform-named-capturing-groups-regex'
'@babel/plugin-transform-named-capturing-groups-regex',
['module:react-native-dotenv']
],
env: {
production: {

View File

@ -1,8 +0,0 @@
{
"timeout": 300000,
"recursive": true,
"bail": true,
"require": ["ts-node/register"],
"file": "e2e/tests/init.ts",
"extension": ["ts"]
}

View File

@ -1,84 +1,69 @@
# E2E Testing
## Overview and folder structure
## Contents
WIP: End-to-end tests are a work in progress and they're going to change.
1. [Prepare test environment](##-1.-Prepare-test-environment)
2. [Prepare test data](##-2.-Prepare-test-data)
3. [Running tests](##-3.-Running-tests)
4. [FAQ](##-FAQ)
```
|-- e2e
|-- helpers
|-- tests
|-- data.ts
|-- e2e_account.ts
```
### 1. Prepare test environment
- `e2e/helpers`
- This folder contains a few functions to setup and help write tests.
- `e2e/tests`
- This folder contains the actual test files
- It's currently split into `assorted`, `onboarding`, `room`, and `team` folders
- There's not a clear convention on where a test should be placed yet, but the folders above exist to try to separate them into features
- Keep every test file truly idempotent
- Each file can only impact on the tests written inside of it
- They should not impact on other files, so pay attention on the data you use
- `data.ts`
- Contains seeds to common test data, like server url, public channels, etc
- Currently we point to https://mobile.rocket.chat as main server
- Pointing to a local server is not recommended yet, as you would need to create a few public channels and change some permissions
- Ideally we should point to a docker or even a mocked server, but that's tbd
- Try not to add new data there. Use random values instead.
- It's hard to keep track of where each value is used
- `e2e_account.ts`
- Contains user and password with correct permissions on main server
- Check `e2e_account.example.ts` for structure
- It needs to be added manually on local (it's already set on CI)
- Ask Diego Mello for credentials
#### 1.1. A Rocket.Chat server
## Shared config
- Change `.env` to `RUNNING_E2E_TESTS=true`
- You can also `RUNNING_E2E_TESTS=true yarn start reset-cache`, but it's easier to change the file as long as you don't commit it
Either
## Setup and run iOS
* Install Rocket.Chat meteor app by following this [guide](https://developer.rocket.chat/rocket.chat/rocket-chat-environment-setup).
- Install applesimutils
```
brew tap wix/brew
brew install applesimutils
```
Or
### Run on debug mode
- Build the app with `yarn e2e:ios-build-debug`
- Test the app with `yarn e2e:ios-test-debug`
* Use the local Docker environment available in this folder. You can start the environment using `./e2e/docker/controlRCDemoEnv.sh startandwait`, or you can use the packaged start & run script (see step 3). Either way, you'll need [Docker](https://docs.docker.com/engine/install/) and [Docker Compose](https://docs.docker.com/compose/install/).
### Run on release mode
- Build the app with `yarn e2e:ios-build`
- Test the app with `yarn e2e:ios-test`
#### 1.2. Set up detox
## Setup and run Android
* Install dependencies by following this [guide](https://github.com/wix/Detox/blob/master/docs/Introduction.GettingStarted.md#step-1-install-dependencies) (only Step 1).
- Create AVD
- It's important to create the same emulator as on CI. Read more: https://wix.github.io/Detox/docs/guide/android-dev-env
```
sh ./scripts/create-avd.sh
```
### 2. Prepare test data
### Run on debug mode
- Build the app with `yarn e2e:android-build-debug`
- Test the app with `yarn e2e:android-test-debug`
* If you're running your own Rocket.Chat server, ensure it's started (e.g. `meteor npm start` in the server project directory).
* Edit `e2e/data.ts`:
* Set the `server` to the address of the server under test
* Create a file called `e2e_account.ts`, in the same folder as `data.ts`. Set the `adminUser` and `adminPassword` to an admin user on that environment (or a user with at least `create-user` and `create-c` permissions). The example of how to create this file is on `e2e/e2e_account.example.ts`
* Working example configs exist in `./e2e/data/`. Setting `FORCE_DEFAULT_DOCKER_DATA` to `1` in the `runTestsInDocker.sh` script will use the example config automatically
### 3. Running tests
#### 3.1. iOS
* Build app with detox: `detox build -c ios.sim.release`
* Open Simulator which is used in tests (check in package.json under detox section) from Xcode and make sure that software keyboard is being displayed. To toggle keyboard press `cmd+K`.
* Run tests: `detox test -c ios.sim.release`, or, if choosing Docker you can run the packaged environment & runner (`./e2e/docker/runTestsInDocker.sh`) which will start the Docker infrastructure, run the tests and tear it down again once done.
#### 3.2. Android
* Build app with detox: `detox build -c android.emu.debug`
* Run: `react-native start`
* Run Android emulator with name `ANDROID_API_28` via Android studio or `cd /Users/USERNAME/Library/Android/sdk/emulator/ && ./emulator -avd ANDROID_API_28`
Note: if you need to run tests on different Android emulator then simply change emulator name in ./package.json detox configurations
* Run tests: `detox test -c android.emu.debug`
#### 3.3 Running a subset of tests
Tests have been grouped into subfolders. You can choose to run just one group of tests by running, for example:
`detox test ./e2e/tests/onboarding -c ios.sim.release`
To do the same with the Docker runner:
`./e2e/docker/runTestsInDocker.sh onboarding`
### 4. FAQ
#### 4.1. Detox build fails
* Delete `node_modules`, `ios/build`, `android/build`:
`rm -rf node_modules && rm -rf ios/build && rm -rf android/build`
* Install packages: `yarn install`
* Kill metro bundler server by closing terminal or with following command: `lsof -ti:8081 | xargs kill`
* Clear metro bundler cache: `watchman watch-del-all && rm -rf $TMPDIR/react-native-packager-cache-* && rm -rf $TMPDIR/metro-bundler-cache-*`
* Make sure you have all required [environment](##-1.-Prepare-test-environment).
* Now try building again with `detox build` (with specific configuration).
#### 4.2. Detox iOS test run fails
* Check if your meteor app is running by opening `localhost:3000` in browser.
* Make sure software keyboard is displayed in simulator when focusing some input. To enable keyboard press `cmd+K`.
* Make sure you have prepared all [test data](##-2.-Prepare-test-data).
* Sometimes detox e2e tests fail for no reason so all you can do is simply re-run again.
### 5. Todo
* TOTP test
* Push notifications
* Deep linking
* Intermittent connectivity
### Run on release mode
- Build the app with `yarn e2e:android-build`
- Test the app with `yarn e2e:android-test`

View File

@ -1,7 +1,7 @@
/* eslint-disable import/extensions, import/no-unresolved */
import random from './helpers/random';
// @ts-ignore
// eslint-disable-next-line import/no-unresolved, import/extensions
import account from './e2e_account';
import random from './helpers/random';
export interface IUser {
username: string;
@ -11,40 +11,12 @@ export interface IUser {
export type TData = typeof data;
export type TDataKeys = keyof TData;
export type TDataUsers = keyof typeof data.users;
export type TDataChannels = keyof typeof data.channels;
export type TUserRegularChannels = keyof typeof data.userRegularChannels;
export type TDataGroups = keyof typeof data.groups;
export type TDataTeams = keyof typeof data.teams;
const value: string = random(20);
const data = {
server: 'https://mobile.rocket.chat',
...account,
alternateServer: 'https://stable.rocket.chat',
users: {
regular: {
username: `userone${value}`,
password: '123',
email: `mobile+regular${value}@rocket.chat`
},
alternate: {
username: `usertwo${value}`,
password: '123',
email: `mobile+alternate${value}@rocket.chat`,
totpSecret: 'NA4GOMZGHBQSK6KEFRVT62DMGJJGSYZJFZIHO3ZOGVXWCYZ6MMZQ'
},
profileChanges: {
username: `userthree${value}`,
password: '123',
email: `mobile+profileChanges${value}@rocket.chat`
},
existing: {
username: `existinguser${value}`,
password: '123',
email: `mobile+existing${value}@rocket.chat`
}
},
...account,
channels: {
detoxpublic: {
name: 'detox-public'
@ -54,48 +26,15 @@ const data = {
joinCode: '123'
}
},
userRegularChannels: {
detoxpublic: {
name: `detox-public-${value}`
randomUser: (): { username: string; name: string; password: string; email: string } => {
const randomVal = random();
return {
username: `user${randomVal}`,
name: `user${randomVal}`, // FIXME: apply a different name
password: `password${randomVal}`,
email: `mobile+${randomVal}@rocket.chat`
};
}
},
groups: {
private: {
name: `detox-private-${value}`
},
alternate: {
name: `detox-alternate-${value}`
},
alternate2: {
name: `detox-alternate2-${value}`
}
},
teams: {
private: {
name: `detox-team-${value}`
}
},
registeringUser: {
username: `newuser${value}`,
password: `password${value}`,
email: `mobile+registering${value}@rocket.chat`
},
registeringUser2: {
username: `newusertwo${value}`,
password: `passwordtwo${value}`,
email: `mobile+registeringtwo${value}@rocket.chat`
},
registeringUser3: {
username: `newuserthree${value}`,
password: `passwordthree${value}`,
email: `mobile+registeringthree${value}@rocket.chat`
},
registeringUser4: {
username: `newuserfour${value}`,
password: `passwordfour${value}`,
email: `mobile+registeringfour${value}@rocket.chat`
},
random: value
};
export default data;

View File

@ -1,96 +0,0 @@
/* eslint-disable import/extensions, import/no-unresolved */
// @ts-ignore
import random from './helpers/random';
// @ts-ignore
import account from './e2e_account';
export interface IUser {
username: string;
password: string;
email: string;
}
export type TData = typeof data;
export type TDataKeys = keyof TData;
export type TDataUsers = keyof typeof data.users;
export type TDataChannels = keyof typeof data.channels;
export type TUserRegularChannels = keyof typeof data.userRegularChannels;
export type TDataGroups = keyof typeof data.groups;
export type TDataTeams = keyof typeof data.teams;
const value = random(20);
const data = {
server: 'https://mobile.rocket.chat',
...account,
alternateServer: 'https://stable.rocket.chat',
users: {
regular: {
username: `userone${value}`,
password: '123',
email: `mobile+regular${value}@rocket.chat`
},
alternate: {
username: `usertwo${value}`,
password: '123',
email: `mobile+alternate${value}@rocket.chat`,
totpSecret: 'NA4GOMZGHBQSK6KEFRVT62DMGJJGSYZJFZIHO3ZOGVXWCYZ6MMZQ'
},
profileChanges: {
username: `userthree${value}`,
password: '123',
email: `mobile+profileChanges${value}@rocket.chat`
},
existing: {
username: `existinguser${value}`,
password: '123',
email: `mobile+existing${value}@rocket.chat`
}
},
channels: {
detoxpublic: {
name: 'detox-public'
},
detoxpublicprotected: {
name: 'detox-public-protected',
joinCode: '123'
}
},
userRegularChannels: {
detoxpublic: {
name: `detox-public-${value}`
}
},
groups: {
private: {
name: `detox-private-${value}`
}
},
teams: {
private: {
name: `detox-team-${value}`
}
},
registeringUser: {
username: `newuser${value}`,
password: `password${value}`,
email: `mobile+registering${value}@rocket.chat`
},
registeringUser2: {
username: `newusertwo${value}`,
password: `passwordtwo${value}`,
email: `mobile+registeringtwo${value}@rocket.chat`
},
registeringUser3: {
username: `newuserthree${value}`,
password: `passwordthree${value}`,
email: `mobile+registeringthree${value}@rocket.chat`
},
registeringUser4: {
username: `newuserfour${value}`,
password: `passwordfour${value}`,
email: `mobile+registeringfour${value}@rocket.chat`
},
random: value
};
export default data;

View File

@ -1,101 +0,0 @@
/* eslint-disable import/extensions, import/no-unresolved */
// @ts-ignore
import random from './helpers/random';
export interface IUser {
username: string;
password: string;
email: string;
}
export type TData = typeof data;
export type TDataKeys = keyof TData;
export type TDataUsers = keyof typeof data.users;
export type TDataChannels = keyof typeof data.channels;
export type TUserRegularChannels = keyof typeof data.userRegularChannels;
export type TDataGroups = keyof typeof data.groups;
export type TDataTeams = keyof typeof data.teams;
const value = random(20);
const data = {
server: 'http://localhost:3000',
adminUser: 'admin',
adminPassword: 'password',
alternateServer: 'https://stable.rocket.chat',
users: {
regular: {
username: `userone${value}`,
password: '123',
email: `mobile+regular${value}@rocket.chat`
},
alternate: {
username: `usertwo${value}`,
password: '123',
email: `mobile+alternate${value}@rocket.chat`,
totpSecret: 'NA4GOMZGHBQSK6KEFRVT62DMGJJGSYZJFZIHO3ZOGVXWCYZ6MMZQ'
},
profileChanges: {
username: `userthree${value}`,
password: '123',
email: `mobile+profileChanges${value}@rocket.chat`
},
existing: {
username: `existinguser${value}`,
password: '123',
email: `mobile+existing${value}@rocket.chat`
}
},
channels: {
detoxpublic: {
name: 'detox-public'
},
detoxpublicprotected: {
name: 'detox-public-protected',
joinCode: '123'
}
},
userRegularChannels: {
detoxpublic: {
name: `detox-public-${value}`
}
},
groups: {
private: {
name: `detox-private-${value}`
},
alternate: {
name: `detox-alternate-${value}`
},
alternate2: {
name: `detox-alternate2-${value}`
}
},
teams: {
private: {
name: `detox-team-${value}`
}
},
registeringUser: {
username: `newuser${value}`,
password: `password${value}`,
email: `mobile+registering${value}@rocket.chat`
},
registeringUser2: {
username: `newusertwo${value}`,
password: `passwordtwo${value}`,
email: `mobile+registeringtwo${value}@rocket.chat`
},
registeringUser3: {
username: `newuserthree${value}`,
password: `passwordthree${value}`,
email: `mobile+registeringthree${value}@rocket.chat`
},
registeringUser4: {
username: `newuserfour${value}`,
password: `passwordfour${value}`,
email: `mobile+registeringfour${value}@rocket.chat`
},
random: value
};
export default data;

View File

@ -1,70 +0,0 @@
#!/bin/bash
SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
PAUSE_ON_FAIL_FOR_DEBUG=0
COMMAND="start"
if [ "$1" != "" ]; then
if [[ "$1" =~ ^(start|startandwait|stop)$ ]]; then
COMMAND=$1
else
echo "Invalid command. Must be one of: start,stop"
exit 1
fi
fi
WAIT=0
if [ "$COMMAND" == "startandwait" ]; then
COMMAND="start"
WAIT=1
fi
COMPOSEPATH="$SCRIPTPATH/rc_test_env"
export DATAROOT="$SCRIPTPATH"
if [ "$COMMAND" == "start" ]; then
echo "Fetching infrastructure config from GitHub"
COMPOSEURL=https://raw.githubusercontent.com/RocketChat/Rocket.Chat/develop/docker-compose.yml
COMPOSEFILE="$COMPOSEPATH/docker-compose.yml"
curl -s "$COMPOSEURL" -o "$COMPOSEFILE"
echo "Starting infrastructure"
(
if [ -d "$SCRIPTPATH/data/db" ]; then rm -rf "$SCRIPTPATH/data/db"; fi
cd "$COMPOSEPATH"
docker-compose up -d
)
if [ $WAIT == 1 ]; then
echo "Waiting for RocketChat to be ready"
ATTEMPT_NUMBER=0
MAX_ATTEMPTS=60
while [ $ATTEMPT_NUMBER -lt $MAX_ATTEMPTS ]; do # https://stackoverflow.com/a/21189312/399007
ATTEMPT_NUMBER=$((ATTEMPT_NUMBER + 1 ))
echo "Checking if servers are ready (attempt $ATTEMPT_NUMBER of $MAX_ATTEMPTS)"
LOGS=$(docker logs rc_test_env_rocketchat_1 2> /dev/null)
if grep -q 'SERVER RUNNING' <<< $LOGS ; then
echo "RocketChat is ready!"
break
else
if [ $ATTEMPT_NUMBER == $MAX_ATTEMPTS ]; then
echo "RocketChat failed to start"
if [ $PAUSE_ON_FAIL_FOR_DEBUG == 1 ]; then
read -n 1 -s -r -p "Press any key to tear down infrastructure." && echo
fi
docker-compose down --volumes
exit 1
fi
fi
sleep 4
done
fi
fi
if [ "$COMMAND" == "stop" ]; then
(
cd "$COMPOSEPATH"
docker-compose down --volumes
)
fi

View File

@ -1,11 +0,0 @@
rs.initiate({
_id: 'rs0',
members: [ { _id: 0, host: 'localhost:27017' } ]})
var masterness = db.isMaster().ismaster
print("MongoDB Master initial state: " + masterness)
while(db.isMaster().ismaster==false) {
print("Waiting for MongoDB election")
sleep(1000)
}
print("Election complete! Ready for data imports.")

View File

@ -1 +0,0 @@
db.getCollection("migrations").insert({"_id":"control","locked":false,"version":NumberInt(188),"buildAt":"2020-05-11T19:06:54.422Z","lockedAt":new Date(1591734393789)});

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
db.getCollection("rocketchat_avatars.files").insert({"_id":"MKBNfes8gxMXWJ92Q","length":NumberInt(15150),"chunkSize":NumberInt(261120),"uploadDate":new Date(1584022383269),"filename":"MKBNfes8gxMXWJ92Q","md5":"c9b8c0bcfb357aad6776c79e01cfe337","contentType":"image/png"});

View File

@ -1 +0,0 @@
db.getCollection("rocketchat_avatars").insert({"_id":"MKBNfes8gxMXWJ92Q","userId":"rocket.cat","type":"image/png","size":NumberInt(15150),"store":"GridFS:Avatars","_updatedAt":new Date(1584022383071),"instanceId":"DazcJz4ePrpaT9fhB","name":"rocket.cat","complete":true,"etag":"epCf7uvbjuLqxn5ug","path":"/ufs/GridFS:Avatars/MKBNfes8gxMXWJ92Q/undefined","progress":NumberInt(1),"token":"b8AB381B99","uploadedAt":new Date(1584022383291),"uploading":false,"url":"http://localhost:3000/ufs/GridFS:Avatars/MKBNfes8gxMXWJ92Q/undefined"});

View File

@ -1 +0,0 @@
db.getCollection("rocketchat_custom_user_status").insert({"_id":"y7RDq6exjSuqdxvgT","name":"Pensive","statusType":"busy","_updatedAt":new Date(1589466480022)});

View File

@ -1,2 +0,0 @@
db.getCollection("rocketchat_federation_keys").insert({"_id":"HR8NWWXvRYsNCuAj2","type":"private","key":"-----BEGIN PRIVATE KEY-----MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQC9Ke0tvSqzbs+UlI/tFdME1SS5J30oYQB6vKZYiC7Wjbfg5dOnMB+l3kKwAtKHQw2nfZynNgnVzuksyvn+c7mw6Wnd+HM9EUYIhtBMsaonBDL0seMgo1dX2qGq2DyU46QhBmnT1NJTze966leYQK2csUoxsW3/A+kqVse1vaGtTD9e76rqhlICXBfYMkHfWWwfWjwq1yvk7AJ1p622ukTaJkQruCDn84sMQZB+rHEfD/e6Ggdr/+6BPhMNbN17jrvW1lolG4lNrNXBGH85Pn74ao79XWTPpgn75KV1ClBkSbdq/kn+rolKX5NLjg7LRwRBIlj7rqBEh+VzGsURu6IxAgMBAAECggEAUyuvA9BLiQ8sp8hWK8jPui0480vAhNN5kX2GqiBeb6lp8rE6SSUolRZPPfJPvHcn9r+M9BwXYPGTpkUse8tIFtfZ22XUzUHeB/u2dDIdfQAko1/fXEdVLOSM9oASyuf4DykxuJi3TW+bXvDQSLoPW3i8BXNcyKZgi2QSdP8Gqhm9KrUjMays9DlU7Wna8RonVz5YP4MRhDalbGT4vX17rxTDCaN/dKHsCPRZbfBzvR4QJ6sxMhMefzH7qPiBY+p2lFt4Wr/JtZiOzbRqHi2QMoTmEjSwmIeU9ClQECUq3JJSPM7FH+1Yy+9iCQGTG4VAiwFAShjRJQG7dlGPNpdcwQKBgQDtErmAZIS12KPBfC7tIZ3QUi6ed6jSL4yCd7+8iL4Awbd8b98Z0XZPh2Nl55dR6RGhDBDen8fXKaoTA+aosuzt40KrXqXMAxEBI8Uu6BijpWdvtyhdUjLCGspQQCkZcI2TAO0DFzYwZl1Nk38ep8JF+s2vHdq92oltY1WBOv0V6QKBgQDMRAkNfcodAyakmvpK5dOgsXIE+MuaAqEPZrXMUtgfju+Z18+HkiVX7FARbWhRJzY8Zw5riK/hqR0V6SF5JPVmp9+nk7h7mQles0bJ23hDiTJK13wWXD+NZF2O3IGFr83ixHJvlDqxYmCEUGQwvocmfB4setaZ0oJzDOjeTuPVCQKBgQDkbXVV1ATXXs2ygeCJVinEb1tCD5QYKf6eO5oApFVHT2BnwzdZniz8RjytFPAF2afF4GVkzNn2ZMveFJUsmXKXaLF1g/YG1DGPQpMdNj9/dsFqsDVxbeFAjCXCG4A+ZefT7EFzB+uLySY/uE31ELmtShLjl8WLx0VBpEPgCCGR+QKBgQCcA7sGWvVsg2OYheZ2HmQtcFquAXlBAJETuldQ4FXChOHslzEjUzTCmvPs26u5kEGUkQIqkBQGP6y/d3jhlqD472+cBu/5N0I42qVOuBp7Oub20u8sBPllfSsYWsNy4HxYn8LoBkduBL3DUcO0l1GSy2ogfxI6GtcYGNwkMA1EQQKBgH515MrbH+CQQarDtc21V7fCXtq95RO10dUt5dXIV0XYaOUkun3JQ4MQ3n0cprZe1DX/pSoMR3sb7jMt8LGMl71TxNWSubIEpYvXxHxPfPX2ZZ2Epxd+yOd3qLCoTrN3f2t0Xb9g3RiYESM5D/XT6ahFZDeTl/vhK4w0dgrjOMPR-----END PRIVATE KEY-----","_updatedAt":new Date(1584022372590)});
db.getCollection("rocketchat_federation_keys").insert({"_id":"Kbs7RovpL87fynDH3","type":"public","key":"-----BEGIN PUBLIC KEY-----MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvSntLb0qs27PlJSP7RXTBNUkuSd9KGEAerymWIgu1o234OXTpzAfpd5CsALSh0MNp32cpzYJ1c7pLMr5/nO5sOlp3fhzPRFGCIbQTLGqJwQy9LHjIKNXV9qhqtg8lOOkIQZp09TSU83veupXmECtnLFKMbFt/wPpKlbHtb2hrUw/Xu+q6oZSAlwX2DJB31lsH1o8Ktcr5OwCdaettrpE2iZEK7gg5/OLDEGQfqxxHw/3uhoHa//ugT4TDWzde4671tZaJRuJTazVwRh/OT5++GqO/V1kz6YJ++SldQpQZEm3av5J/q6JSl+TS44Oy0cEQSJY+66gRIflcxrFEbuiMQIDAQAB-----END PUBLIC KEY-----","_updatedAt":new Date(1584022372598)});

View File

@ -1,7 +0,0 @@
db.getCollection("rocketchat_livechat_office_hour").insert({"_id":"25cEkE4HYJepqYdSQ","day":"Saturday","start":"08:00","finish":"20:00","code":NumberInt(6),"open":false,"_updatedAt":new Date(1584022357707)});
db.getCollection("rocketchat_livechat_office_hour").insert({"_id":"CQAfqmpYCv6WC7MTQ","day":"Tuesday","start":"08:00","finish":"20:00","code":NumberInt(2),"open":true,"_updatedAt":new Date(1584022357689)});
db.getCollection("rocketchat_livechat_office_hour").insert({"_id":"GBNmEQYQGDEX9tQ4j","day":"Sunday","start":"08:00","finish":"20:00","code":NumberInt(0),"open":false,"_updatedAt":new Date(1584022357710)});
db.getCollection("rocketchat_livechat_office_hour").insert({"_id":"TYvTiTSorTPKiH8mF","day":"Wednesday","start":"08:00","finish":"20:00","code":NumberInt(3),"open":true,"_updatedAt":new Date(1584022357697)});
db.getCollection("rocketchat_livechat_office_hour").insert({"_id":"WeLuoHz3Kz8figd9M","day":"Thursday","start":"08:00","finish":"20:00","code":NumberInt(4),"open":true,"_updatedAt":new Date(1584022357698)});
db.getCollection("rocketchat_livechat_office_hour").insert({"_id":"e9t67H2WnZvpiSJQd","day":"Monday","start":"08:00","finish":"20:00","code":NumberInt(1),"open":true,"_updatedAt":new Date(1584022357676)});
db.getCollection("rocketchat_livechat_office_hour").insert({"_id":"rzLMR3aBY3oyBexHf","day":"Friday","start":"08:00","finish":"20:00","code":NumberInt(5),"open":true,"_updatedAt":new Date(1584022357702)});

View File

@ -1,336 +0,0 @@
db.getCollection("rocketchat_message").insert({"_id":"25g4bk7cQTqeyW9xX","alias":"","msg":"269","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:44.857Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:44.877Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"269"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"27T4qRvruK3gEjecs","alias":"","msg":"65","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:26.854Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:26.877Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"65"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"28TThiTu5Zg8wQY9v","alias":"","msg":"140","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:56.012Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:56.077Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"140"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"2DgDaqyxjmY4svGae","alias":"","msg":"6","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:06.180Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:06.216Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"6"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"2SFwgauKjRMRR7xAw","alias":"","msg":"69","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:28.291Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:28.313Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"69"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"3G7XJ6EEy3vQdBQeh","alias":"","msg":"14","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:09.074Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:09.095Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"14"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"3T5juo5b4Co7uApwW","alias":"","msg":"277","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:47.697Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:47.749Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"277"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"3bMfuSmJ3iunG2kWG","alias":"","msg":"156","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:02.432Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:02.450Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"156"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"4AcYis8t69TC9hxJp","alias":"","msg":"7","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:06.556Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:06.581Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"7"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"4FiDijAfM3ANmQrkz","alias":"","msg":"141","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:56.415Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:56.436Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"141"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"4S9c9YvEogNtfNH4c","alias":"","msg":"119","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:46.073Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:46.091Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"119"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"4SzoQmu5hrY4a3M33","alias":"","msg":"252","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:38.832Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:38.859Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"252"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"4fmsF37sxqF3LaKg8","alias":"","msg":"158","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:03.277Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:03.310Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"158"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"4jZn8QgT2zggqpbtK","alias":"","msg":"230","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:30.893Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:30.929Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"230"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"4mGv8Pz8o4CDdN2oC","alias":"","msg":"264","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:43.105Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:43.131Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"264"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"5JuWjrs4ZgYa3CXxk","alias":"","msg":"49","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:21.227Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:21.244Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"49"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"5W9TAvaKJQfoFnftA","alias":"","msg":"37","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:17.145Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:17.159Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"37"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"5bqiprtBR4RAxWAcL","alias":"","msg":"43","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:19.185Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:19.198Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"43"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"5nCCCn7KHyca899Lj","rid":"5iyMRT843rNn4wwHv","tmid":"NAXDFHoxA44rsyujh","msg":"23","ts":new Date("2021-06-14T21:27:07.177Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"_updatedAt":new Date("2021-06-14T21:27:07.273Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"23"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"6HicGvqNRy6dsDehP","alias":"","msg":"240","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:34.481Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:34.519Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"240"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"6oNMwTjCXmcXTWeLj","alias":"","msg":"279","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:48.701Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:48.797Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"279"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"6tHmYHoJAZqKSP7uw","alias":"","msg":"176","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:10.472Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:10.490Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"176"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"7QNXvEFxMPLDtemuA","alias":"","msg":"223","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:28.287Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:28.311Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"223"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"7f3WTwk9pZkbjDrZG","alias":"","msg":"52","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:22.277Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:22.290Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"52"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"7gkmpM68YanWe3JP2","alias":"","msg":"287","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:51.637Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:51.660Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"287"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"7mSpBnb8Bdt2aZoWL","rid":"5iyMRT843rNn4wwHv","tmid":"NAXDFHoxA44rsyujh","msg":"19","ts":new Date("2021-06-14T21:27:02.653Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"_updatedAt":new Date("2021-06-14T21:27:02.754Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"19"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"7r8wpE8yzyiZEgpcw","alias":"","msg":"28","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:14.018Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:14.042Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"28"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"8KnWQxmRM5NGYt97J","alias":"","msg":"33","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:15.789Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:15.808Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"33"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"8vPWvDmtXEzEFwg4d","alias":"","msg":"96","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:37.960Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:37.980Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"96"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"9DR7WEyTEAR6ExK4n","alias":"","msg":"19","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:10.849Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:10.868Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"19"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"9FSFRTmi68FXt8xdT","alias":"","msg":"185","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:14.428Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:14.457Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"185"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"9Nc4sS2DozyAiH8is","alias":"","msg":"13","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:08.724Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:08.740Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"13"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"9R36G3Pe8yhFxWzar","alias":"","msg":"3","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:25:53.009Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:25:53.045Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"3"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"9S5QEDoXxXZbf9Fsw","rid":"5iyMRT843rNn4wwHv","tmid":"NAXDFHoxA44rsyujh","msg":"15","ts":new Date("2021-06-14T21:26:57.249Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"_updatedAt":new Date("2021-06-14T21:26:57.352Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"15"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"9TXDBQRA375tcDAJG","alias":"","msg":"108","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:42.213Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:42.225Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"108"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"9WvB32ZFdk7v7yrNb","alias":"","msg":"53","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:22.619Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:22.646Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"53"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"9x8puw8kLeqXxajNW","alias":"","msg":"293","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:53.759Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:53.787Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"293"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"9xfhY2uCdwbGALd49","alias":"","msg":"91","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:36.152Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:36.169Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"91"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"AmnEoreNR26FcXbnh","alias":"","msg":"130","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:51.034Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:51.171Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"130"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"ApW3E6fzGtuQLfvSX","alias":"","msg":"282","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:49.845Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:49.862Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"282"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"AqMwxaxRzT5neeEfe","alias":"","msg":"187","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:15.298Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:15.331Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"187"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"BE8zexooqkDwuKcu4","alias":"","msg":"56","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:23.666Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:23.691Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"56"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"BFMr3FJ9NNLP5wESf","rid":"5iyMRT843rNn4wwHv","tmid":"NAXDFHoxA44rsyujh","msg":"27","ts":new Date("2021-06-14T21:27:11.827Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"_updatedAt":new Date("2021-06-14T21:27:11.887Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"27"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"BXRu9xh39qwHnEXka","alias":"","msg":"94","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:37.229Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:37.275Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"94"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"Bs8ReZaE4SiwXH49J","alias":"","msg":"300","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:56.256Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:56.274Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"300"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"Bsb2nDT8oPwFvj9gN","alias":"","msg":"217","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:26.154Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:26.179Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"217"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"BvrzmaZKFccyhkrf3","alias":"","msg":"296","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:54.842Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:54.879Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"296"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"C89pRcerYNnApXwKZ","rid":"GFR2xxircSsyJxx9F","msg":"http://localhost:3000/group/jumping-thread?msg=rMbGKvG834q8EeNGs Go to a thread from another room","ts":new Date("2021-06-14T21:28:09.973Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"_updatedAt":new Date("2021-06-14T21:28:10.019Z"),"attachments":[{"text":"Go to jumping-thread's thread","author_name":"admin","author_icon":"/avatar/admin","message_link":"http://localhost:3000/group/jumping-thread?msg=rMbGKvG834q8EeNGs","attachments":[],"ts":new Date("2021-06-14T21:26:48.151Z")}],"urls":[{"url":"http://localhost:3000/group/jumping-thread?msg=rMbGKvG834q8EeNGs","ignoreParse":true}],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"LINK","value":{"src":{"type":"PLAIN_TEXT","value":"http://localhost:3000/group/jumping-thread?msg=rMbGKvG834q8EeNGs"},"label":{"type":"PLAIN_TEXT","value":"http://localhost:3000/group/jumping-thread?msg=rMbGKvG834q8EeNGs"}}},{"type":"PLAIN_TEXT","value":" Go to a thread from another room"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"CRefYtg5f6n2oZhJx","alias":"","msg":"274","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:46.586Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:46.637Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"274"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"CpMDo5fbb9Np54Xr7","rid":"5iyMRT843rNn4wwHv","tmid":"NAXDFHoxA44rsyujh","msg":"30","ts":new Date("2021-06-14T21:27:14.710Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"_updatedAt":new Date("2021-06-14T21:27:14.781Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"30"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"CwHLm3reBwwttySP4","alias":"","msg":"117","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:45.367Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:45.387Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"117"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"D7kQQ9vtmq7LfJdFk","rid":"5iyMRT843rNn4wwHv","tmid":"NAXDFHoxA44rsyujh","msg":"18","ts":new Date("2021-06-14T21:27:01.154Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"_updatedAt":new Date("2021-06-14T21:27:01.218Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"18"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"DR2ZakcJvyi3BTJLR","alias":"","msg":"54","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:22.975Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:22.992Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"54"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"DRAftv7fhYwBSF98P","alias":"","msg":"24","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:12.620Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:12.640Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"24"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"DuShMW4P9kiXnzMr4","alias":"","msg":"239","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:34.091Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:34.112Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"239"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"DvKX5qbzg8CWE3oNC","alias":"","msg":"1","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:24:50.182Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:24:50.225Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"1"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"DyAyQRLtPHqKwRYZb","alias":"","msg":"235","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:32.703Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:32.719Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"235"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"E5ntzuwrjmcGiyQFd","alias":"","msg":"299","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:55.903Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:55.925Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"299"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"EamwALjFX46fhnDC6","alias":"","msg":"268","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:44.506Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:44.520Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"268"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"EiMDrXBS86EqZGZhs","alias":"","msg":"234","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:32.356Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:32.376Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"234"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"EvEcMv66r75xb8FjX","alias":"","msg":"266","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:43.803Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:43.823Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"266"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"FAzwPcfoLftoNXBLQ","alias":"","msg":"257","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:40.641Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:40.661Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"257"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"FHdJd7cStGBRp6cRv","alias":"","msg":"215","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:25.459Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:25.478Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"215"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"FKR35Rpc8zFnMAmSg","alias":"","msg":"160","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:04.127Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:04.167Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"160"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"FKT9KKE4u8gW2jpSL","alias":"","msg":"281","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:49.486Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:49.509Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"281"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"FLtBpqa6bPBqSYPMA","alias":"","msg":"100","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:39.373Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:39.392Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"100"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"FcTYu6fzMbb28M75G","rid":"5iyMRT843rNn4wwHv","tmid":"NAXDFHoxA44rsyujh","msg":"24","ts":new Date("2021-06-14T21:27:08.255Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"_updatedAt":new Date("2021-06-14T21:27:08.360Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"24"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"FhcwPfvAtFQ5D8MYQ","alias":"","msg":"22","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:11.904Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:11.922Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"22"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"G7zgSoyJuWhax8P3x","alias":"","msg":"95","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:37.608Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:37.628Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"95"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"GBzrEAwBbEPPXD3M9","alias":"","msg":"74","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:30.074Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:30.091Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"74"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"GEWmTKitDazAuaz6h","alias":"","msg":"86","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:34.353Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:34.369Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"86"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"GJ4jWiCxgcJMapHTY","alias":"","msg":"61","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:25.432Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:25.457Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"61"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"GKHJ9YE9P7CcpdzPZ","alias":"","msg":"213","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:24.750Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:24.766Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"213"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"GXBzQmJ8FcBoC3gtP","alias":"","msg":"137","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:54.514Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:54.776Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"137"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"GmEYWjr2Cxg59Cdy6","alias":"","msg":"275","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:46.972Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:46.993Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"275"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"GswMnTC73YmpAopoB","alias":"","msg":"165","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:06.067Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:06.088Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"165"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"H2Y7vC4CYLZHzrQCQ","alias":"","msg":"265","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:43.461Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:43.476Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"265"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"H2qrRsJ7B5iQb3nYa","alias":"","msg":"189","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:16.042Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:16.082Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"189"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"HEjouKohtxTSr4vYE","alias":"","msg":"232","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:31.648Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:31.668Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"232"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"HMe5BrNi5PYH4ydur","rid":"5iyMRT843rNn4wwHv","tmid":"NAXDFHoxA44rsyujh","msg":"11","ts":new Date("2021-06-14T21:26:54.204Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"_updatedAt":new Date("2021-06-14T21:26:54.376Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"11"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"HP2vqtXk7H2kgopxM","alias":"","msg":"237","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:33.393Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:33.408Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"237"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"HZDTBZWzTtZG2wPYj","alias":"","msg":"162","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:04.922Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:05.009Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"162"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"HkveojpNbg6rkWrqJ","alias":"","msg":"284","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:50.555Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:50.573Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"284"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"HnZLZeDDsgF858kRx","rid":"5iyMRT843rNn4wwHv","tmid":"NAXDFHoxA44rsyujh","msg":"9","ts":new Date("2021-06-14T21:26:52.386Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"_updatedAt":new Date("2021-06-14T21:26:52.531Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"9"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"Hyt6k5bYadfc9sKJW","alias":"","msg":"89","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:35.380Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:35.400Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"89"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"J49cDnpaGPvuzf5s6","alias":"","msg":"124","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:47.930Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:47.947Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"124"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"J5ae5apoN8LZFyXiW","alias":"","msg":"199","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:19.666Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:19.685Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"199"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"J8jTENXHvWn4DCgcq","alias":"","msg":"88","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:35.036Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:35.050Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"88"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"JTQ4hu7SXXW24gRG9","alias":"","msg":"283","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:50.193Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:50.223Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"283"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"JZsxce8XjmNihE7AY","alias":"","msg":"168","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:07.339Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:07.432Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"168"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"K3twE3RhK3bskvP88","alias":"","msg":"258","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:40.989Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:41.008Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"258"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"K5tSCpctfdcB3Po9S","alias":"","msg":"63","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:26.138Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:26.168Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"63"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"KAZ24unKt2SzLiTwn","alias":"","msg":"34","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:16.140Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:16.160Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"34"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"KCGD75Dzg9sneF3yo","alias":"","msg":"29","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:14.372Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:14.395Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"29"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"KH2djT7TBQfnZtXzf","rid":"5iyMRT843rNn4wwHv","msg":"thread 2","ts":new Date("2021-06-14T21:26:44.015Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"_updatedAt":new Date("2021-06-14T21:26:44.085Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"thread 2"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"KZzFpygiB2sWXp7hd","alias":"","msg":"188","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:15.676Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:15.702Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"188"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"KuqHjst7QmS4s8qYX","alias":"","msg":"15","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:09.425Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:09.445Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"15"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"L2S3YC4AfW4SQaybC","alias":"","msg":"196","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:18.574Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:18.597Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"196"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"L4GFcEyoia8E9kkLb","alias":"","msg":"253","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:39.187Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:39.204Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"253"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"L8K2rLSpBbN3QQrXq","alias":"","msg":"38","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:17.484Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:17.498Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"38"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"LH6qPBWWfhotNdvW6","alias":"","msg":"194","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:17.860Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:17.886Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"194"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"LJudSHZjgvj3PYwPW","alias":"","msg":"229","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:30.535Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:30.556Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"229"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"LLQXCB4WnyHNwJRK4","alias":"","msg":"145","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:58.133Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:58.159Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"145"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"LLiby3sDRkQNKjG5w","alias":"","msg":"198","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:19.306Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:19.332Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"198"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"LQKgYipeHNG9wERPP","alias":"","msg":"2","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:25:52.639Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:25:52.672Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"2"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"Lnpro7sThoN89jGbo","alias":"","msg":"8","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:06.915Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:06.936Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"8"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"LwAqBPzLDJmaRnSmr","alias":"","msg":"139","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:55.592Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:55.656Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"139"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"M6xT2Lxh7tFvARmRS","alias":"","msg":"236","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:33.048Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:33.064Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"236"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"MMYNkEdFcb42hwrob","alias":"","msg":"102","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:40.065Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:40.081Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"102"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"MbgeBDDrSfztwgFT3","rid":"5iyMRT843rNn4wwHv","tmid":"NAXDFHoxA44rsyujh","msg":"10","ts":new Date("2021-06-14T21:26:53.404Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"_updatedAt":new Date("2021-06-14T21:26:53.517Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"10"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"Mg4dY3XbRuokCL4mA","alias":"","msg":"111","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:43.254Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:43.282Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"111"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"Mmxr3AgSkc9ZeCqfc","alias":"","msg":"180","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:12.402Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:12.438Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"180"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"MzTnyD7bHLQpDaDkt","alias":"","msg":"90","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:35.784Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:35.818Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"90"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"N6ADgwTr3cAkfAYr6","alias":"","msg":"173","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:09.323Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:09.397Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"173"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"NAXDFHoxA44rsyujh","rid":"5iyMRT843rNn4wwHv","msg":"thread 1","ts":new Date("2021-06-14T21:26:41.349Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"_updatedAt":new Date("2021-06-14T21:27:14.845Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"thread 1"}]}],"replies":["nM6vXyDLGGzSPsLNy"],"tcount":30,"tlm":new Date("2021-06-14T21:27:14.710Z")});
db.getCollection("rocketchat_message").insert({"_id":"NopPvF5ocTcK9YWyY","alias":"","msg":"97","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:38.310Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:38.334Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"97"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"NqRvSpT6vWpaMyenq","alias":"","msg":"276","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:47.330Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:47.347Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"276"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"PAz8BppytThsiyaSv","alias":"","msg":"116","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:45.010Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:45.034Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"116"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"Pi8mzMSsneD9Bku9d","alias":"","msg":"218","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:26.512Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:26.535Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"218"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"Px7brmeNGnYiDZN48","alias":"","msg":"167","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:06.866Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:06.899Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"167"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"Q9JZLA5uaiwvknQFL","alias":"","msg":"151","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:00.560Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:00.584Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"151"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"Q9LHyGvCWj8TT26jj","alias":"","msg":"193","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:17.502Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:17.528Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"193"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"Q9NgS9QRojajftfj6","alias":"","msg":"120","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:46.422Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:46.442Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"120"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"QEp4mdsvN7tATTTif","alias":"","msg":"105","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:41.105Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:41.123Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"105"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"QZncZeyQk4ach7TyF","alias":"","msg":"55","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:23.324Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:23.339Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"55"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"R7iDtoqMcP8iH9AZi","rid":"5iyMRT843rNn4wwHv","msg":"http://localhost:3000/group/jumping-thread?msg=wXb2eMCF5em722dSG Go to quoted","ts":new Date("2021-06-14T21:27:34.440Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"_updatedAt":new Date("2021-06-14T21:27:34.517Z"),"attachments":[{"text":"quoted","author_name":"admin","author_icon":"/avatar/admin","message_link":"http://localhost:3000/group/jumping-thread?msg=wXb2eMCF5em722dSG","attachments":[],"ts":new Date("2021-06-14T21:26:48.151Z")}],"urls":[{"url":"http://localhost:3000/group/jumping-thread?msg=5iyMRT843rNn4wwHv","ignoreParse":true}],"mentions":[],"channels":[]});
db.getCollection("rocketchat_message").insert({"_id":"REFdN433cQ4knn4hY","alias":"","msg":"99","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:39.014Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:39.034Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"99"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"RKHTvjSKiGAPRRZfc","alias":"","msg":"251","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:38.455Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:38.495Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"251"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"RSEww3hBWuHhCkeeR","alias":"","msg":"211","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:24.027Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:24.064Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"211"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"RSJ2S4QoYYKTqcebb","alias":"","msg":"79","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:31.818Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:31.846Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"79"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"RWqSS9eFRtsW8kAxv","alias":"","msg":"260","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:41.693Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:41.717Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"260"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"RZ9tvpoxLm4chpayJ","alias":"","msg":"51","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:21.922Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:21.944Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"51"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"RcBwAoQHPodNp5urE","alias":"","msg":"16","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:09.778Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:09.797Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"16"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"Rj5xni8Hj9RazWE3L","alias":"","msg":"87","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:34.695Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:34.711Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"87"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"S7KPMtHTniMLbnMRw","alias":"","msg":"220","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:27.214Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:27.239Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"220"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"S7pzSFnpoEi5Fc52S","alias":"","msg":"195","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:18.218Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:18.244Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"195"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"S8ZtZfXYdgHnbGDeh","alias":"","msg":"132","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:52.135Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:52.224Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"132"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"SAn6je34GPkDiyNEh","alias":"","msg":"221","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:27.574Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:27.601Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"221"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"SLEJ4mvSD3xh7Gaby","alias":"","msg":"224","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:28.711Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:28.736Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"224"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"SQM5sg8wKFyuiFp6N","rid":"5iyMRT843rNn4wwHv","tmid":"NAXDFHoxA44rsyujh","msg":"16","ts":new Date("2021-06-14T21:26:58.848Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"_updatedAt":new Date("2021-06-14T21:26:58.998Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"16"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"SXzXF6bN4g3soN7nv","alias":"","msg":"183","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:13.641Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:13.663Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"183"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"ScCeKQunf9XP85PvK","alias":"","msg":"226","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:29.429Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:29.453Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"226"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"Sh8HLTpuRhE9bxd6w","alias":"","msg":"127","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:49.417Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:49.526Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"127"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"Sj74bsHaXr7RKdf3g","alias":"","msg":"206","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:22.236Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:22.259Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"206"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"SpDjvPCCuhDKwqRjb","alias":"","msg":"186","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:14.868Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:14.949Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"186"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"TChAZirf4q3ZwgsAp","alias":"","msg":"84","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:33.613Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:33.665Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"84"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"TFA29pKXYWkNYPfF3","alias":"","msg":"177","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:10.883Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:11.172Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"177"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"TPyLu2TTXuLBM4Kmc","alias":"","msg":"154","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:01.709Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:01.728Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"154"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"TXcETF7ftNrki3ALu","alias":"","msg":"201","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:20.446Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:20.478Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"201"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"W2gRc5ajwmYrYYiBq","alias":"","msg":"290","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:52.687Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:52.715Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"290"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"W5wrodggp3Hwe2urC","alias":"","msg":"164","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:05.709Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:05.729Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"164"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"W6JAFqquRcwbTZqBS","alias":"","msg":"228","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:30.167Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:30.196Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"228"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"WDZP2fFGfQNB9pLBt","alias":"","msg":"171","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:08.525Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:08.585Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"171"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"WNjmDuKBtvdTk2sPo","alias":"","msg":"126","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:48.839Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:48.992Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"126"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"WW3jiRvwAZiAvFa8a","alias":"","msg":"64","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:26.499Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:26.518Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"64"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"WgjPSsi6ZJhgGZ9Yy","alias":"","msg":"294","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:54.118Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:54.138Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"294"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"Wu6Q4rKfhqWgxqTwe","alias":"","msg":"85","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:34.009Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:34.028Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"85"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"X3d6dRXShATdWTAZQ","alias":"","msg":"216","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:25.808Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:25.826Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"216"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"X49ws5jXcMpaq7ywA","alias":"","msg":"238","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:33.738Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:33.759Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"238"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"XF32syPxCRi36aejC","alias":"","msg":"125","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:48.340Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:48.433Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"125"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"Xvkhsa6ysfMZkehLF","alias":"","msg":"248","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:37.356Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:37.374Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"248"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"Y8XHkq3WpexeY7Brw","alias":"","msg":"77","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:31.125Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:31.144Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"77"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"YEn2SpZ6QgeGjurvd","alias":"","msg":"208","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:22.955Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:22.973Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"208"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"YGkkNtQbXe9JbwnXn","alias":"","msg":"110","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:42.894Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:42.921Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"110"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"Ymg9aMZH5u8cPQdye","alias":"","msg":"138","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:55.162Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:55.238Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"138"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"YuHwpNgMRje5MsQJG","alias":"","msg":"47","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:20.543Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:20.557Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"47"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"Z7fqoZYFgA7TnNomA","alias":"","msg":"179","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:11.977Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:12.063Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"179"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"Z9E3BZWejTKiSvaKE","alias":"","msg":"107","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:41.868Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:41.886Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"107"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"ZFuEA3XmwGu3PAzv9","alias":"","msg":"20","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:11.198Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:11.217Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"20"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"ZHpwo4dzEjJS4sSmG","alias":"","msg":"25","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:12.970Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:12.988Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"25"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"ZJQe834wHqGsHqoYL","alias":"","msg":"209","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:23.306Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:23.327Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"209"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"ZKSaW8vspoojf6bM2","alias":"","msg":"181","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:12.827Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:12.896Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"181"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"ZP8duwLKiLaGaaW5J","alias":"","msg":"60","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:25.068Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:25.095Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"60"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"Zaoa684RSi7Rs7Rid","alias":"","msg":"192","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:17.144Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:17.170Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"192"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"ZgGv86jmZ2zFT2bHE","alias":"","msg":"76","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:30.767Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:30.799Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"76"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"ZgWXaPAjiYxNzCyYC","alias":"","msg":"203","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:21.193Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:21.209Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"203"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"Zhq9AmbzgGFiWJDyd","alias":"","msg":"256","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:40.251Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:40.302Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"256"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"Zpscdpv4Mf99uczkH","alias":"","msg":"66","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:27.214Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:27.238Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"66"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"ZsRjyeDqxgQSXsb5G","alias":"","msg":"159","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:03.702Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:03.778Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"159"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"ZzTWmQnPiHLCArw7s","alias":"","msg":"26","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:13.315Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:13.336Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"26"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"a82cWhkFEeCXEMxmP","alias":"","msg":"35","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:16.466Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:16.481Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"35"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"aFMhY68mGFMPD5eHM","alias":"","msg":"135","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:53.554Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:53.698Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"135"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"aqXfs7SvG4knixCE3","alias":"","msg":"259","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:41.335Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:41.353Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"259"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"asNxLidHfTi7E3rri","rid":"GFR2xxircSsyJxx9F","msg":"[ ](http://localhost:3000/group/jumping?msg=DvKX5qbzg8CWE3oNC) Quote first message","ts":new Date("2021-06-14T21:28:50.477Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"_updatedAt":new Date("2021-06-14T21:28:50.537Z"),"attachments":[{"text":"1","author_name":"admin","author_icon":"/avatar/admin","message_link":"http://localhost:3000/group/jumping?msg=DvKX5qbzg8CWE3oNC","attachments":[],"ts":new Date("2021-06-14T21:24:50.182Z")}],"urls":[{"url":"http://localhost:3000/group/jumping?msg=DvKX5qbzg8CWE3oNC","ignoreParse":true}],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"LINK","value":{"src":{"type":"PLAIN_TEXT","value":"http://localhost:3000/group/jumping?msg=DvKX5qbzg8CWE3oNC"},"label":{"type":"PLAIN_TEXT","value":" "}}},{"type":"PLAIN_TEXT","value":" Quote first message"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"axvp8s25ARwDpfzmh","alias":"","msg":"136","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:54.051Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:54.108Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"136"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"b4mfvGcu54E5fZcFT","alias":"","msg":"175","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:10.090Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:10.139Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"175"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"b5E537jXp9K4oN4Wi","alias":"","msg":"246","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:36.635Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:36.664Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"246"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"bKGeCjGTDGxqEZ6hm","alias":"","msg":"161","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:04.498Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:04.522Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"161"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"bQvAAAGyDWfFF6Y7A","alias":"","msg":"163","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:05.358Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:05.380Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"163"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"bTNtxyTgianagFSNx","alias":"","msg":"112","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:43.614Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:43.632Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"112"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"bYJ54jdELZ3QdHHas","alias":"","msg":"244","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:35.923Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:35.944Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"244"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"baWZ2thegi7MzuqdG","alias":"","msg":"254","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:39.537Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:39.557Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"254"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"bjJtt5nXd9WNgyFfH","rid":"5iyMRT843rNn4wwHv","tmid":"NAXDFHoxA44rsyujh","msg":"21","ts":new Date("2021-06-14T21:27:04.747Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"_updatedAt":new Date("2021-06-14T21:27:04.852Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"21"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"bsefeQWb2q2TbtMw7","alias":"","msg":"242","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:35.213Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:35.231Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"242"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"btXJwZ48vySPKm53G","alias":"","msg":"40","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:18.166Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:18.181Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"40"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"c2iHGieZ8bpnt35rF","rid":"5iyMRT843rNn4wwHv","tmid":"NAXDFHoxA44rsyujh","msg":"28","ts":new Date("2021-06-14T21:27:12.665Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"_updatedAt":new Date("2021-06-14T21:27:12.718Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"28"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"c3pTEP9xYmiMRbPZ4","alias":"","msg":"249","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:37.704Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:37.738Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"249"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"cFFH3n7Rt2ycvJyuj","alias":"","msg":"270","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:45.206Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:45.223Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"270"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"cZw93Xs7hCywM22rw","alias":"","msg":"101","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:39.717Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:39.736Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"101"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"coBfxKdjuMdr6nAo9","alias":"","msg":"115","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:44.656Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:44.677Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"115"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"ctJwtBmsAragPidYK","alias":"","msg":"214","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:25.103Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:25.122Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"214"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"cu7CR5vzM7zhHcyxp","alias":"","msg":"155","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:02.072Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:02.101Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"155"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"czpi4xpGasv7qLEDG","rid":"5iyMRT843rNn4wwHv","tmid":"NAXDFHoxA44rsyujh","msg":"5","ts":new Date("2021-06-14T21:26:50.306Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"_updatedAt":new Date("2021-06-14T21:26:50.415Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"5"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"dA923aH8Pum3yaGFH","alias":"","msg":"170","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:08.150Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:08.174Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"170"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"dADdCiC86XSM6x3H5","alias":"","msg":"113","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:43.956Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:43.974Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"113"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"dJ4RcvX7WP8xBjh3x","alias":"","msg":"57","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:24.020Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:24.043Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"57"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"dcYJDKLis496fq37P","alias":"","msg":"30","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:14.728Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:14.748Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"30"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"dsNcCY6TFcR8DJdhh","alias":"","msg":"45","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:19.860Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:19.874Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"45"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"duF48GeHr6JXE627H","alias":"","msg":"121","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:46.816Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:46.900Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"121"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"eCXzwsPZN4aC9oasY","alias":"","msg":"142","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:56.815Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:56.895Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"142"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"ebRbDWuZ7HCgzAdnB","alias":"","msg":"288","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:51.990Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:52.012Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"288"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"etXetwZLWJ8quLbXY","alias":"","msg":"152","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:00.916Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:00.935Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"152"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"f2PJHaeQhN38ZWYPc","rid":"5iyMRT843rNn4wwHv","tmid":"NAXDFHoxA44rsyujh","msg":"20","ts":new Date("2021-06-14T21:27:03.534Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"_updatedAt":new Date("2021-06-14T21:27:03.605Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"20"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"f36eGwj5ZXT3FzXsQ","alias":"","msg":"122","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:47.241Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:47.260Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"122"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"f3QBqS3TRsfQknctT","rid":"5iyMRT843rNn4wwHv","tmid":"NAXDFHoxA44rsyujh","msg":"29","ts":new Date("2021-06-14T21:27:13.767Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"_updatedAt":new Date("2021-06-14T21:27:13.882Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"29"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"f5mHjp7PgC4oxKxWB","alias":"","msg":"233","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:31.997Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:32.023Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"233"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"fH5EArKGppbm5fu4H","alias":"","msg":"207","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:22.600Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:22.624Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"207"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"fWxDpwWjLtDiWaGNh","alias":"","msg":"298","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:55.560Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:55.576Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"298"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"fjw4BsPLrxN8wRw9P","alias":"","msg":"123","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:47.587Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:47.603Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"123"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"fmxCFF5urELfPt5o4","alias":"","msg":"210","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:23.661Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:23.687Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"210"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"fpgKLzsGpj6YwX6nj","alias":"","msg":"247","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:36.999Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:37.026Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"247"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"fsy2dZJgmmboowJ8N","t":"uj","rid":"GENERAL","ts":new Date("2020-03-12T14:16:48.462Z"),"msg":"admin","u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin"},"groupable":false,"_updatedAt":new Date("2020-03-12T14:16:48.462Z")});
db.getCollection("rocketchat_message").insert({"_id":"fuaaSP7JwX7tBoQKf","rid":"5iyMRT843rNn4wwHv","tmid":"NAXDFHoxA44rsyujh","msg":"22","ts":new Date("2021-06-14T21:27:06.201Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"_updatedAt":new Date("2021-06-14T21:27:06.309Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"22"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"fwdGhi3DjYRPCvK9a","alias":"","msg":"39","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:17.823Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:17.837Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"39"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"gMCRJXDfAz6iCz36n","alias":"","msg":"166","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:06.445Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:06.528Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"166"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"gSek3hYhat9HZgxZn","alias":"","msg":"263","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:42.744Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:42.769Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"263"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"gmNPD2NzrYTcL4vbi","alias":"","msg":"114","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:44.305Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:44.325Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"114"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"gqvXKFvaHviN6WT6d","alias":"","msg":"36","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:16.807Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:16.820Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"36"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"hADa3458ZBWoA2vis","alias":"","msg":"297","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:55.211Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:55.229Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"297"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"hWGecLQ9J3QmPb5tZ","alias":"","msg":"42","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:18.847Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:18.862Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"42"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"he7eJ5uQkavMG2pRw","alias":"","msg":"291","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:53.044Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:53.064Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"291"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"i5v8nqpENnELkuKKK","alias":"","msg":"98","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:38.669Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:38.686Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"98"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"iAHZaZtecC9DTPh5M","alias":"","msg":"118","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:45.719Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:45.741Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"118"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"iDhXx9AMwdGn6eA8g","alias":"","msg":"72","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:29.378Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:29.399Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"72"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"iEbZ89N6nn7BrNJjb","alias":"","msg":"143","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:57.291Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:57.428Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"143"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"iTD6csdpfXsBjw2Cm","alias":"","msg":"271","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:45.550Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:45.562Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"271"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"iXLFap36XtvBEFN5v","alias":"","msg":"10","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:07.627Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:07.651Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"10"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"ind3Datf2D7PaZzFZ","alias":"","msg":"73","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:29.726Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:29.745Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"73"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"iuBBQN8GYYnzreXGr","alias":"","msg":"289","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:52.341Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:52.356Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"289"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"ivZn9uDwQc5gQJM34","alias":"","msg":"93","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:36.852Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:36.882Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"93"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"j54HwbxYvXjRjMadK","alias":"","msg":"150","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:00.149Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:00.221Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"150"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"j9PSMJej8Wcpa4Ytx","alias":"","msg":"44","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:19.522Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:19.535Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"44"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"jLfKGGCYNK53XHSTL","alias":"","msg":"103","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:40.408Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:40.429Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"103"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"jPniEqszEwDwuaiuj","alias":"","msg":"21","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:11.551Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:11.571Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"21"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"jb9wEPkba3zpPEtmJ","alias":"","msg":"68","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:27.931Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:27.953Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"68"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"jvtiBQASkTzCAQbDR","alias":"","msg":"157","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:02.837Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:02.916Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"157"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"k4cpqEJdJswa9Gi5Y","alias":"","msg":"261","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:42.048Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:42.062Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"261"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"kDetPPBzhWn93cxRF","alias":"","msg":"225","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:29.069Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:29.093Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"225"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"kFSqxJp5KZvQ7D8aE","rid":"5iyMRT843rNn4wwHv","tmid":"NAXDFHoxA44rsyujh","msg":"26","ts":new Date("2021-06-14T21:27:10.751Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"_updatedAt":new Date("2021-06-14T21:27:11.061Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"26"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"kS8jZdggkfgsTsZG5","alias":"","msg":"174","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:09.739Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:09.758Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"174"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"m7tDWPnGNRnGCue75","alias":"","msg":"280","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:49.134Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:49.157Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"280"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"mf4JSThGWDcKcMHpg","alias":"","msg":"227","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:29.784Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:29.833Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"227"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"mkh7E9F6DsZ4Tcdup","alias":"","msg":"295","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:54.475Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:54.502Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"295"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"n26SaSKE9K5om8yLj","alias":"","msg":"50","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:21.571Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:21.590Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"50"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"nCRBdtauhxPqBtg4g","alias":"","msg":"272","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:45.899Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:45.920Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"272"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"nHzxrRo6tBHscDDje","alias":"","msg":"17","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:10.137Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:10.157Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"17"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"nL6KxYJnhqiAnf6pH","alias":"","msg":"144","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:57.777Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:57.798Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"144"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"o5a6HfkxwT56K4jPQ","alias":"","msg":"292","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:53.406Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:53.431Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"292"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"o7ASiN5h6rWf5R6Zn","alias":"","msg":"71","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:29.010Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:29.045Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"71"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"oBai683KWMkxTbrXm","alias":"","msg":"109","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:42.551Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:42.565Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"109"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"oP4SBAiREiHxsCKuJ","alias":"","msg":"11","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:07.981Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:08.003Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"11"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"oR4yJeKsiAdbi2J3o","alias":"","msg":"31","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:15.084Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:15.105Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"31"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"oRgEHMjJwkK3QMPH6","alias":"","msg":"285","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:50.910Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:50.932Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"285"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"oamqgrpKs75TAzRDn","alias":"","msg":"182","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:13.249Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:13.302Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"182"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"ooG2D2kA9XKEYfLxy","alias":"","msg":"184","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:14.009Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:14.085Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"184"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"owsKBceEBzCRenLf5","alias":"","msg":"128","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:49.939Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:50.099Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"128"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"pXkDBj6n8zs5QwgoP","alias":"","msg":"219","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:26.867Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:26.884Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"219"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"phg34vrw6zgeXNM4S","rid":"5iyMRT843rNn4wwHv","tmid":"NAXDFHoxA44rsyujh","msg":"14","ts":new Date("2021-06-14T21:26:56.534Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"_updatedAt":new Date("2021-06-14T21:26:56.629Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"14"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"pobCPg2DEvSthxSms","rid":"5iyMRT843rNn4wwHv","tmid":"NAXDFHoxA44rsyujh","msg":"17","ts":new Date("2021-06-14T21:26:59.957Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"_updatedAt":new Date("2021-06-14T21:27:00.029Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"17"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"pq95BBkovDfF9QXBz","alias":"","msg":"104","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:40.758Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:40.779Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"104"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"prLoRs2LovJ2ZwB69","alias":"","msg":"23","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:12.255Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:12.282Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"23"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"q9hHwTBcNAWHJTogx","alias":"","msg":"241","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:34.868Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:34.886Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"241"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"q9vSCngMpjFmJGYKD","rid":"5iyMRT843rNn4wwHv","tmid":"NAXDFHoxA44rsyujh","msg":"to be searched","ts":new Date("2021-06-14T21:26:48.735Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"_updatedAt":new Date("2021-06-14T21:26:48.875Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"2"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"qS4Rk23v3makbdfbH","alias":"","msg":"131","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:51.580Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:51.717Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"131"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"qX4SgeQLSAkYM96JS","alias":"","msg":"46","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:20.199Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:20.217Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"46"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"qx3fGuWDaYM2KTP7b","alias":"","msg":"18","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:10.488Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:10.514Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"18"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"r3otdRoyGLyWE3QXt","alias":"","msg":"106","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:41.477Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:41.537Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"106"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"rFyiPh4ieazJ5Xujx","alias":"","msg":"212","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:24.396Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:24.419Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"212"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"rMbGKvG834q8EeNGs","rid":"5iyMRT843rNn4wwHv","tshow":false,"tmid":"NAXDFHoxA44rsyujh","msg":"Go to jumping-thread\'s thread","ts":new Date("2021-06-14T21:26:48.151Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"_updatedAt":new Date("2021-06-14T21:26:48.219Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"1"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"rRnLnmDmiEuAdCCxc","alias":"","msg":"27","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:13.667Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:13.686Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"27"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"rYdDqTMqdZc6iDfkR","alias":"","msg":"146","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:58.496Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:58.512Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"146"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"rzhvoTuvciCYKuWaz","alias":"","msg":"149","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:59.761Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:59.791Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"149"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"s6uQ9PgRQTj8eHcXd","alias":"","msg":"32","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:15.434Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:15.458Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"32"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"sEFhTtHAnByAuhm9L","alias":"","msg":"250","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:38.081Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:38.113Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"250"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"sL2q79eQMszvrndN4","alias":"","msg":"169","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:07.775Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:07.810Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"169"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"sMNLLsoDjghCTvmwc","alias":"","msg":"273","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:46.242Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:46.269Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"273"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"sPoHne32K2pdrqhmY","alias":"","msg":"80","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:32.181Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:32.203Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"80"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"sQksqnBfdfuvvFTtZ","alias":"","msg":"204","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:21.538Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:21.555Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"204"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"sYp5F5WSFBWP6dy4L","alias":"","msg":"4","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:05.437Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:05.484Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"4"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"sarBNn8KXCDibD26Z","alias":"","msg":"133","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:52.631Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:52.716Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"133"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"seqFxn6iMnefCk4oL","alias":"","msg":"286","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:51.271Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:51.305Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"286"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"sjpPh6jnmQ9cT2XtA","alias":"","msg":"245","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:36.278Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:36.307Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"245"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"skTHqNq9QnaL6odE4","alias":"","msg":"62","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:25.787Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:25.808Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"62"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"syv4LYPK7pGwH6gMR","alias":"","msg":"205","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:21.886Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:21.905Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"205"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"tA26DWrEE44d2rrQF","alias":"","msg":"59","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:24.717Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:24.737Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"59"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"tLKnMvEAK7ELxqN9m","alias":"","msg":"190","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:16.420Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:16.423Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"190"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"tm9kzLG57tmTGuDga","alias":"","msg":"5","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:05.820Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:05.848Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"5"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"tpJ6jPcf8hTE6Y9my","alias":"","msg":"231","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:31.261Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:31.305Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"231"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"ttcshiSSJSknTmXhN","alias":"","msg":"255","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:39.886Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:39.905Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"255"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"txf4Dih43e23ezkm6","alias":"","msg":"200","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:20.035Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:20.095Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"200"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"tyxqHBNYJpBs2DreP","alias":"","msg":"172","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:08.927Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:08.946Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"172"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"u3BjoxuA4pzjPGzyS","alias":"","msg":"9","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:07.267Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:07.295Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"9"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"uHwBGqbXsLWuQ4CP3","alias":"","msg":"262","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:42.389Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:42.409Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"262"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"uNzeBDetJgn9wEaQ4","alias":"","msg":"191","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:16.773Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:16.808Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"191"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"uqJDykHAvpnBrGMNF","alias":"","msg":"243","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:35.562Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:35.582Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"243"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"utqDfyM45QuRLzK3o","alias":"","msg":"78","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:31.473Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:31.491Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"78"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"v5upv7DR4BHbCwBEX","alias":"","msg":"48","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:20.883Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:20.899Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"48"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"v7HSMTfRa68Suh8at","alias":"","msg":"153","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:01.296Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:01.364Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"153"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"vYYLKrHc8yDr9AZC7","alias":"","msg":"178","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:11.540Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:11.576Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"178"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"vn9Qp6fC5s2cEKt3a","alias":"","msg":"267","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:44.152Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:44.176Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"267"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"voqrApbpcnuGtkLMp","rid":"5iyMRT843rNn4wwHv","tmid":"NAXDFHoxA44rsyujh","msg":"7","ts":new Date("2021-06-14T21:26:51.398Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"_updatedAt":new Date("2021-06-14T21:26:51.520Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"7"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"vsYTFFAkiGKsWKPdz","rid":"5iyMRT843rNn4wwHv","tmid":"NAXDFHoxA44rsyujh","msg":"thread message sent to main room","tshow":true,"ts":new Date("2021-06-14T21:26:49.776Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"_updatedAt":new Date("2021-06-14T21:26:49.935Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"4"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"vvEjAvsntsAuuPTKF","alias":"","msg":"83","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:33.249Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:33.276Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"83"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"w6HMBqLX9eYHvmZzD","alias":"","msg":"70","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:28.656Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:28.679Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"70"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"w7hroywNx2tecwn2b","alias":"","msg":"129","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:50.523Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:50.618Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"129"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"wDgerDqxzMCmqSYKz","alias":"","msg":"58","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:24.376Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:24.390Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"58"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"wSYKDGziubGABmmNb","alias":"","msg":"82","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:32.885Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:32.917Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"82"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"wXScdaF6cs3tBLbvg","rid":"5iyMRT843rNn4wwHv","tmid":"NAXDFHoxA44rsyujh","msg":"6","ts":new Date("2021-06-14T21:26:50.887Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"_updatedAt":new Date("2021-06-14T21:26:50.998Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"6"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"wXb2eMCF5em722dSG","rid":"5iyMRT843rNn4wwHv","tmid":"NAXDFHoxA44rsyujh","msg":"quoted","ts":new Date("2021-06-14T21:26:49.220Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"_updatedAt":new Date("2021-06-14T21:26:49.341Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"quoted"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"wZ2FMa6d2zMFwZwjL","alias":"","msg":"12","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:08.336Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:08.359Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"12"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"wg5oydMJc8fp5wgoR","rid":"5iyMRT843rNn4wwHv","tmid":"NAXDFHoxA44rsyujh","msg":"8","ts":new Date("2021-06-14T21:26:51.875Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"_updatedAt":new Date("2021-06-14T21:26:52.025Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"8"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"wr9zgcFELuZGzo2Xe","alias":"","msg":"147","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:58.876Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:58.991Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"147"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"xXXexskd39XS4tfXE","rid":"5iyMRT843rNn4wwHv","tmid":"NAXDFHoxA44rsyujh","msg":"25","ts":new Date("2021-06-14T21:27:09.149Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"_updatedAt":new Date("2021-06-14T21:27:09.219Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"25"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"xhCSEvqZjmWP8XCzv","alias":"","msg":"41","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:18.504Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:18.518Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"41"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"y4XkigXMgv6ACLd9R","alias":"","msg":"92","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:36.500Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:36.519Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"92"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"y8QHZid5pNvXyg9fX","rid":"5iyMRT843rNn4wwHv","tmid":"NAXDFHoxA44rsyujh","msg":"13","ts":new Date("2021-06-14T21:26:55.736Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"_updatedAt":new Date("2021-06-14T21:26:55.823Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"13"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"yKoyhAhYETLv6kXdf","alias":"","msg":"81","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:32.531Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:32.554Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"81"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"ygZKFw8DnQFhjxEnn","alias":"","msg":"148","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:59.377Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:59.427Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"148"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"zApewG2ppDrjPqwHz","alias":"","msg":"278","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:48.137Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:48.298Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"278"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"zAvAphoMoaS4m5z2s","alias":"","msg":"134","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:53.078Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:53.151Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"134"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"zGMAPTHCPwt3jBCkm","alias":"","msg":"202","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:20.825Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:20.863Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"202"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"zPfgHYTQeskiL8Jp6","alias":"","msg":"222","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:27.932Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:27.952Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"222"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"zQu55sCe6sQaPwBHJ","alias":"","msg":"67","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:27.571Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:27.596Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"67"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"zSZSann7XBW5672HA","rid":"5iyMRT843rNn4wwHv","tmid":"NAXDFHoxA44rsyujh","msg":"12","ts":new Date("2021-06-14T21:26:54.930Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"_updatedAt":new Date("2021-06-14T21:26:55.046Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"12"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"zjeYZ7WrpmJWwkuqB","alias":"","msg":"75","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:26:30.421Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:26:30.439Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"75"}]}]});
db.getCollection("rocketchat_message").insert({"_id":"ztdbnfLLo6f6hnRMo","alias":"","msg":"197","attachments":[],"parseUrls":true,"groupable":false,"ts":new Date("2021-06-14T21:27:18.946Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"rid":"GFR2xxircSsyJxx9F","_updatedAt":new Date("2021-06-14T21:27:18.970Z"),"urls":[],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"PLAIN_TEXT","value":"197"}]}]});

View File

@ -1 +0,0 @@
db.getCollection("rocketchat_oauth_apps").insert({"_id":"zapier","name":"Zapier","active":true,"clientId":"zapier","clientSecret":"RTK6TlndaCIolhQhZ7_KHIGOKj41RnlaOq_o-7JKwLr","redirectUri":"https://zapier.com/dashboard/auth/oauth/return/RocketChatDevAPI/","_createdAt":new Date(1584022375172),"_createdBy":{"_id":"system","username":"system"},"_updatedAt":new Date(1584022375172)});

View File

@ -1,993 +0,0 @@
db.getCollection("rocketchat_permissions").insert({"_id":"access-mailer","_updatedAt":new Date(1591734399923),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"access-permissions","_updatedAt":new Date(1584022378380),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"access-setting-permissions","_updatedAt":new Date(1584022378383),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"add-livechat-department-agents","_updatedAt":new Date(1584022378683),"roles":["livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"add-oauth-service","_updatedAt":new Date(1584022378385),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"add-user-to-any-c-room","_updatedAt":new Date(1584022378392),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"add-user-to-any-p-room","_updatedAt":new Date(1584022378396),"roles":[]});
db.getCollection("rocketchat_permissions").insert({"_id":"add-user-to-joined-room","_updatedAt":new Date(1584022378388),"roles":["admin","owner","moderator"]});
db.getCollection("rocketchat_permissions").insert({"_id":"api-bypass-rate-limit","_updatedAt":new Date(1584022378399),"roles":["admin","bot","app"]});
db.getCollection("rocketchat_permissions").insert({"_id":"archive-room","_updatedAt":new Date(1584022378402),"roles":["admin","owner"]});
db.getCollection("rocketchat_permissions").insert({"_id":"assign-admin-role","_updatedAt":new Date(1584022378405),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"assign-roles","_updatedAt":new Date(1584022378408),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"auto-translate","roles":["admin"],"_updatedAt":new Date(1584022380607)});
db.getCollection("rocketchat_permissions").insert({"_id":"ban-user","_updatedAt":new Date(1584022378411),"roles":["admin","owner","moderator"]});
db.getCollection("rocketchat_permissions").insert({"_id":"bulk-register-user","_updatedAt":new Date(1584022378415),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"call-management","_updatedAt":new Date(1584022378628),"roles":["admin","owner","moderator"]});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_Allow_Infinite_Count","_updatedAt":new Date(1591734395024),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"REST API","sectionPermissionId":"change-setting-REST API","settingId":"API_Allow_Infinite_Count","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_CORS_Origin","_updatedAt":new Date(1591734395041),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"REST API","sectionPermissionId":"change-setting-REST API","settingId":"API_CORS_Origin","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_Default_Count","_updatedAt":new Date(1591734395020),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"REST API","sectionPermissionId":"change-setting-REST API","settingId":"API_Default_Count","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_Drupal_URL","_updatedAt":new Date(1591734395975),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Drupal","sectionPermissionId":"change-setting-Drupal","settingId":"API_Drupal_URL","sorter":NumberInt(40)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_Embed","_updatedAt":new Date(1591734395629),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"API_Embed","sorter":NumberInt(20)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_EmbedCacheExpirationDays","_updatedAt":new Date(1591734395634),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"API_EmbedCacheExpirationDays","sorter":NumberInt(22)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_EmbedDisabledFor","_updatedAt":new Date(1591734395638),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"API_EmbedDisabledFor","sorter":NumberInt(24)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_EmbedIgnoredHosts","_updatedAt":new Date(1591734395640),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"API_EmbedIgnoredHosts","sorter":NumberInt(25)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_EmbedSafePorts","_updatedAt":new Date(1591734395642),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"API_EmbedSafePorts","sorter":NumberInt(26)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_Embed_UserAgent","_updatedAt":new Date(1591734395631),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"API_Embed_UserAgent","sorter":NumberInt(21)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_Embed_clear_cache_now","_updatedAt":new Date(1591734395636),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"API_Embed_clear_cache_now","sorter":NumberInt(23)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_Enable_CORS","_updatedAt":new Date(1591734395038),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"REST API","sectionPermissionId":"change-setting-REST API","settingId":"API_Enable_CORS","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_Enable_Direct_Message_History_EndPoint","_updatedAt":new Date(1591734395029),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"REST API","sectionPermissionId":"change-setting-REST API","settingId":"API_Enable_Direct_Message_History_EndPoint","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_Enable_Rate_Limiter","_updatedAt":new Date(1591734395845),"group":"Rate Limiter","groupPermissionId":"change-setting-Rate Limiter","level":"settings","roles":[],"section":"API Rate Limiter","sectionPermissionId":"change-setting-API Rate Limiter","settingId":"API_Enable_Rate_Limiter","sorter":NumberInt(15)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_Enable_Rate_Limiter_Dev","_updatedAt":new Date(1591734395847),"group":"Rate Limiter","groupPermissionId":"change-setting-Rate Limiter","level":"settings","roles":[],"section":"API Rate Limiter","sectionPermissionId":"change-setting-API Rate Limiter","settingId":"API_Enable_Rate_Limiter_Dev","sorter":NumberInt(16)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_Enable_Rate_Limiter_Limit_Calls_Default","_updatedAt":new Date(1591734395850),"group":"Rate Limiter","groupPermissionId":"change-setting-Rate Limiter","level":"settings","roles":[],"section":"API Rate Limiter","sectionPermissionId":"change-setting-API Rate Limiter","settingId":"API_Enable_Rate_Limiter_Limit_Calls_Default","sorter":NumberInt(17)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_Enable_Rate_Limiter_Limit_Time_Default","_updatedAt":new Date(1591734395853),"group":"Rate Limiter","groupPermissionId":"change-setting-Rate Limiter","level":"settings","roles":[],"section":"API Rate Limiter","sectionPermissionId":"change-setting-API Rate Limiter","settingId":"API_Enable_Rate_Limiter_Limit_Time_Default","sorter":NumberInt(18)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_Enable_Shields","_updatedAt":new Date(1591734395033),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"REST API","sectionPermissionId":"change-setting-REST API","settingId":"API_Enable_Shields","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_GitHub_Enterprise_URL","_updatedAt":new Date(1591734395995),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"GitHub Enterprise","sectionPermissionId":"change-setting-GitHub Enterprise","settingId":"API_GitHub_Enterprise_URL","sorter":NumberInt(45)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_Gitlab_URL","_updatedAt":new Date(1591734396003),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"GitLab","sectionPermissionId":"change-setting-GitLab","settingId":"API_Gitlab_URL","sorter":NumberInt(50)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_Shield_Types","_updatedAt":new Date(1591734395036),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"REST API","sectionPermissionId":"change-setting-REST API","settingId":"API_Shield_Types","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_Shield_user_require_auth","_updatedAt":new Date(1591734396876),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"REST API","sectionPermissionId":"change-setting-REST API","settingId":"API_Shield_user_require_auth","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_Tokenpass_URL","_updatedAt":new Date(1591734395924),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Tokenpass","sectionPermissionId":"change-setting-Tokenpass","settingId":"API_Tokenpass_URL","sorter":NumberInt(27)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_Upper_Count_Limit","_updatedAt":new Date(1591734395017),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"REST API","sectionPermissionId":"change-setting-REST API","settingId":"API_Upper_Count_Limit","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_Use_REST_For_DDP_Calls","_updatedAt":new Date(1591734396878),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"REST API","sectionPermissionId":"change-setting-REST API","settingId":"API_Use_REST_For_DDP_Calls","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_User_Limit","_updatedAt":new Date(1591734395574),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"REST API","sectionPermissionId":"change-setting-REST API","settingId":"API_User_Limit","sorter":NumberInt(37)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-API_Wordpress_URL","_updatedAt":new Date(1591734396252),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"WordPress","sectionPermissionId":"change-setting-WordPress","settingId":"API_Wordpress_URL","sorter":NumberInt(65)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts","_updatedAt":new Date(1591734399044),"level":"settings","roles":[],"settingId":"Accounts"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_AllowAnonymousRead","_updatedAt":new Date(1591734395248),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"settingId":"Accounts_AllowAnonymousRead","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_AllowAnonymousWrite","_updatedAt":new Date(1591734395250),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"settingId":"Accounts_AllowAnonymousWrite","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_AllowDeleteOwnAccount","_updatedAt":new Date(1591734395252),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"settingId":"Accounts_AllowDeleteOwnAccount","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_AllowEmailChange","_updatedAt":new Date(1591734395265),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"settingId":"Accounts_AllowEmailChange","sorter":NumberInt(14)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_AllowEmailNotifications","_updatedAt":new Date(1591734395269),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"settingId":"Accounts_AllowEmailNotifications","sorter":NumberInt(16)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_AllowPasswordChange","_updatedAt":new Date(1591734395267),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"settingId":"Accounts_AllowPasswordChange","sorter":NumberInt(15)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_AllowRealNameChange","_updatedAt":new Date(1591734395258),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"settingId":"Accounts_AllowRealNameChange","sorter":NumberInt(11)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_AllowUserAvatarChange","_updatedAt":new Date(1591734395256),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"settingId":"Accounts_AllowUserAvatarChange","sorter":NumberInt(10)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_AllowUserProfileChange","_updatedAt":new Date(1591734395254),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"settingId":"Accounts_AllowUserProfileChange","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_AllowUserStatusMessageChange","_updatedAt":new Date(1591734395261),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"settingId":"Accounts_AllowUserStatusMessageChange","sorter":NumberInt(12)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_AllowUsernameChange","_updatedAt":new Date(1591734395263),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"settingId":"Accounts_AllowUsernameChange","sorter":NumberInt(13)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_AllowedDomainsList","_updatedAt":new Date(1591734395313),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_AllowedDomainsList","sorter":NumberInt(34)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_AvatarBlockUnauthenticatedAccess","_updatedAt":new Date(1591734395436),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Avatar","sectionPermissionId":"change-setting-Avatar","settingId":"Accounts_AvatarBlockUnauthenticatedAccess","sorter":NumberInt(81)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_AvatarCacheTime","_updatedAt":new Date(1591734395434),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Avatar","sectionPermissionId":"change-setting-Avatar","settingId":"Accounts_AvatarCacheTime","sorter":NumberInt(80)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_AvatarExternalProviderUrl","_updatedAt":new Date(1591734395430),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Avatar","sectionPermissionId":"change-setting-Avatar","settingId":"Accounts_AvatarExternalProviderUrl","sorter":NumberInt(79)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_AvatarResize","_updatedAt":new Date(1591734395425),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Avatar","sectionPermissionId":"change-setting-Avatar","settingId":"Accounts_AvatarResize","sorter":NumberInt(77)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_AvatarSize","_updatedAt":new Date(1591734395428),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Avatar","sectionPermissionId":"change-setting-Avatar","settingId":"Accounts_AvatarSize","sorter":NumberInt(78)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_BlockedDomainsList","_updatedAt":new Date(1591734395316),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_BlockedDomainsList","sorter":NumberInt(35)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_BlockedUsernameList","_updatedAt":new Date(1591734395318),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_BlockedUsernameList","sorter":NumberInt(36)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_ConfirmPasswordPlaceholder","_updatedAt":new Date(1591734395283),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"settingId":"Accounts_ConfirmPasswordPlaceholder","sorter":NumberInt(22)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_CustomFields","_updatedAt":new Date(1591734395345),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_CustomFields","sorter":NumberInt(46)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_CustomFieldsToShowInUserInfo","_updatedAt":new Date(1591734395271),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"settingId":"Accounts_CustomFieldsToShowInUserInfo","sorter":NumberInt(17)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_DefaultUsernamePrefixSuggestion","_updatedAt":new Date(1591734395300),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_DefaultUsernamePrefixSuggestion","sorter":NumberInt(28)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_audioNotifications","_updatedAt":new Date(1591734395367),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_audioNotifications","sorter":NumberInt(51)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_autoImageLoad","_updatedAt":new Date(1591734395381),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_autoImageLoad","sorter":NumberInt(57)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_collapseMediaByDefault","_updatedAt":new Date(1591734395385),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_collapseMediaByDefault","sorter":NumberInt(59)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_convertAsciiEmoji","_updatedAt":new Date(1591734395379),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_convertAsciiEmoji","sorter":NumberInt(56)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_desktopNotificationDuration","_updatedAt":new Date(1591734395361),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_desktopNotificationDuration","sorter":NumberInt(49)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_desktopNotificationRequireInteraction","_updatedAt":new Date(1591734395365),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_desktopNotificationRequireInteraction","sorter":NumberInt(50)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_desktopNotifications","_updatedAt":new Date(1591734395371),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_desktopNotifications","sorter":NumberInt(52)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_emailNotificationMode","_updatedAt":new Date(1591734395413),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_emailNotificationMode","sorter":NumberInt(72)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_enableAutoAway","_updatedAt":new Date(1591734395348),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_enableAutoAway","sorter":NumberInt(47)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_hideAvatars","_updatedAt":new Date(1591734395396),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_hideAvatars","sorter":NumberInt(63)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_hideFlexTab","_updatedAt":new Date(1591734395393),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_hideFlexTab","sorter":NumberInt(62)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_hideRoles","_updatedAt":new Date(1591734395391),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_hideRoles","sorter":NumberInt(61)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_hideUsernames","_updatedAt":new Date(1591734395388),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_hideUsernames","sorter":NumberInt(60)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_idleTimeLimit","_updatedAt":new Date(1591734395359),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_idleTimeLimit","sorter":NumberInt(48)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_messageViewMode","_updatedAt":new Date(1591734395410),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_messageViewMode","sorter":NumberInt(71)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_pushNotifications","_updatedAt":new Date(1591734395373),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_pushNotifications","sorter":NumberInt(53)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_muteFocusedConversations","_updatedAt":new Date(1591734395420),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_muteFocusedConversations","sorter":NumberInt(75)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_newMessageNotification","_updatedAt":new Date(1591734395417),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_newMessageNotification","sorter":NumberInt(74)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_newRoomNotification","_updatedAt":new Date(1591734395415),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_newRoomNotification","sorter":NumberInt(73)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_notificationsSoundVolume","_updatedAt":new Date(1591734395423),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_notificationsSoundVolume","sorter":NumberInt(76)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_saveMobileBandwidth","_updatedAt":new Date(1591734395383),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_saveMobileBandwidth","sorter":NumberInt(58)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_sendOnEnter","_updatedAt":new Date(1591734395408),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_sendOnEnter","sorter":NumberInt(70)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_sidebarGroupByType","_updatedAt":new Date(1591734395398),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_sidebarGroupByType","sorter":NumberInt(64)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_sidebarHideAvatar","_updatedAt":new Date(1591734395402),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_sidebarHideAvatar","sorter":NumberInt(66)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_sidebarShowDiscussion","_updatedAt":new Date(1591734400277),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_sidebarShowDiscussion","sorter":NumberInt(96)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_sidebarShowFavorites","_updatedAt":new Date(1591734395406),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_sidebarShowFavorites","sorter":NumberInt(69)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_sidebarShowUnread","_updatedAt":new Date(1591734395404),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_sidebarShowUnread","sorter":NumberInt(67)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_sidebarSortby","_updatedAt":new Date(1591734396972),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_sidebarSortby","sorter":NumberInt(68)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_sidebarViewMode","_updatedAt":new Date(1591734395400),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_sidebarViewMode","sorter":NumberInt(65)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_unreadAlert","_updatedAt":new Date(1591734395375),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_unreadAlert","sorter":NumberInt(54)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Default_User_Preferences_useEmojis","_updatedAt":new Date(1591734395377),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Accounts_Default_User_Preferences","sectionPermissionId":"change-setting-Accounts_Default_User_Preferences","settingId":"Accounts_Default_User_Preferences_useEmojis","sorter":NumberInt(55)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Directory_DefaultView","_updatedAt":new Date(1591734395293),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"settingId":"Accounts_Directory_DefaultView","sorter":NumberInt(25)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_EmailOrUsernamePlaceholder","_updatedAt":new Date(1591734395278),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"settingId":"Accounts_EmailOrUsernamePlaceholder","sorter":NumberInt(20)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_EmailVerification","_updatedAt":new Date(1591734395306),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_EmailVerification","sorter":NumberInt(31)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Enrollment_Email","_updatedAt":new Date(1591734395203),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_Enrollment_Email","sorter":NumberInt(30)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Enrollment_Email_Subject","_updatedAt":new Date(1591734395200),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_Enrollment_Email_Subject","sorter":NumberInt(29)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_ForgetUserSessionOnWindowClose","_updatedAt":new Date(1591734395286),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"settingId":"Accounts_ForgetUserSessionOnWindowClose","sorter":NumberInt(23)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Iframe_api_method","_updatedAt":new Date(1591734399098),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Iframe","sectionPermissionId":"change-setting-Iframe","settingId":"Accounts_Iframe_api_method","sorter":NumberInt(95)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Iframe_api_url","_updatedAt":new Date(1591734399087),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Iframe","sectionPermissionId":"change-setting-Iframe","settingId":"Accounts_Iframe_api_url","sorter":NumberInt(94)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_LoginExpiration","_updatedAt":new Date(1591734395274),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"settingId":"Accounts_LoginExpiration","sorter":NumberInt(18)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_ManuallyApproveNewUsers","_updatedAt":new Date(1591734395311),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_ManuallyApproveNewUsers","sorter":NumberInt(33)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Dolphin","_updatedAt":new Date(1591734395955),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Dolphin","sectionPermissionId":"change-setting-Dolphin","settingId":"Accounts_OAuth_Dolphin","sorter":NumberInt(32)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Dolphin_URL","_updatedAt":new Date(1591734395943),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Dolphin","sectionPermissionId":"change-setting-Dolphin","settingId":"Accounts_OAuth_Dolphin_URL","sorter":NumberInt(31)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Dolphin_button_color","_updatedAt":new Date(1591734395971),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Dolphin","sectionPermissionId":"change-setting-Dolphin","settingId":"Accounts_OAuth_Dolphin_button_color","sorter":NumberInt(38)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Dolphin_button_label_color","_updatedAt":new Date(1591734395968),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Dolphin","sectionPermissionId":"change-setting-Dolphin","settingId":"Accounts_OAuth_Dolphin_button_label_color","sorter":NumberInt(37)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Dolphin_button_label_text","_updatedAt":new Date(1591734395966),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Dolphin","sectionPermissionId":"change-setting-Dolphin","settingId":"Accounts_OAuth_Dolphin_button_label_text","sorter":NumberInt(36)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Dolphin_id","_updatedAt":new Date(1591734395958),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Dolphin","sectionPermissionId":"change-setting-Dolphin","settingId":"Accounts_OAuth_Dolphin_id","sorter":NumberInt(33)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Dolphin_login_style","_updatedAt":new Date(1591734395964),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Dolphin","sectionPermissionId":"change-setting-Dolphin","settingId":"Accounts_OAuth_Dolphin_login_style","sorter":NumberInt(35)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Dolphin_secret","_updatedAt":new Date(1591734395961),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Dolphin","sectionPermissionId":"change-setting-Dolphin","settingId":"Accounts_OAuth_Dolphin_secret","sorter":NumberInt(34)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Drupal","_updatedAt":new Date(1591734395973),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Drupal","sectionPermissionId":"change-setting-Drupal","settingId":"Accounts_OAuth_Drupal","sorter":NumberInt(39)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Drupal_callback_url","_updatedAt":new Date(1591734395983),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Drupal","sectionPermissionId":"change-setting-Drupal","settingId":"Accounts_OAuth_Drupal_callback_url","sorter":NumberInt(43)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Drupal_id","_updatedAt":new Date(1591734395978),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Drupal","sectionPermissionId":"change-setting-Drupal","settingId":"Accounts_OAuth_Drupal_id","sorter":NumberInt(41)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Drupal_secret","_updatedAt":new Date(1591734395981),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Drupal","sectionPermissionId":"change-setting-Drupal","settingId":"Accounts_OAuth_Drupal_secret","sorter":NumberInt(42)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Facebook","_updatedAt":new Date(1591734395461),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Facebook","sectionPermissionId":"change-setting-Facebook","settingId":"Accounts_OAuth_Facebook","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Facebook_callback_url","_updatedAt":new Date(1591734395468),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Facebook","sectionPermissionId":"change-setting-Facebook","settingId":"Accounts_OAuth_Facebook_callback_url","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Facebook_id","_updatedAt":new Date(1591734395464),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Facebook","sectionPermissionId":"change-setting-Facebook","settingId":"Accounts_OAuth_Facebook_id","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Facebook_secret","_updatedAt":new Date(1591734395466),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Facebook","sectionPermissionId":"change-setting-Facebook","settingId":"Accounts_OAuth_Facebook_secret","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_GitHub_Enterprise","_updatedAt":new Date(1591734395992),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"GitHub Enterprise","sectionPermissionId":"change-setting-GitHub Enterprise","settingId":"Accounts_OAuth_GitHub_Enterprise","sorter":NumberInt(44)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_GitHub_Enterprise_callback_url","_updatedAt":new Date(1591734395998),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"GitHub Enterprise","sectionPermissionId":"change-setting-GitHub Enterprise","settingId":"Accounts_OAuth_GitHub_Enterprise_callback_url","sorter":NumberInt(48)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_GitHub_Enterprise_id","_updatedAt":new Date(1591734396776),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"GitHub Enterprise","sectionPermissionId":"change-setting-GitHub Enterprise","settingId":"Accounts_OAuth_GitHub_Enterprise_id","sorter":NumberInt(46)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_GitHub_Enterprise_secret","_updatedAt":new Date(1591734396777),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"GitHub Enterprise","sectionPermissionId":"change-setting-GitHub Enterprise","settingId":"Accounts_OAuth_GitHub_Enterprise_secret","sorter":NumberInt(47)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Github","_updatedAt":new Date(1591734395477),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"GitHub","sectionPermissionId":"change-setting-GitHub","settingId":"Accounts_OAuth_Github","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Github_callback_url","_updatedAt":new Date(1591734395483),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"GitHub","sectionPermissionId":"change-setting-GitHub","settingId":"Accounts_OAuth_Github_callback_url","sorter":NumberInt(11)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Github_id","_updatedAt":new Date(1591734395479),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"GitHub","sectionPermissionId":"change-setting-GitHub","settingId":"Accounts_OAuth_Github_id","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Github_secret","_updatedAt":new Date(1591734395481),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"GitHub","sectionPermissionId":"change-setting-GitHub","settingId":"Accounts_OAuth_Github_secret","sorter":NumberInt(10)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Gitlab","_updatedAt":new Date(1591734396000),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"GitLab","sectionPermissionId":"change-setting-GitLab","settingId":"Accounts_OAuth_Gitlab","sorter":NumberInt(49)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Gitlab_callback_url","_updatedAt":new Date(1591734396015),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"GitLab","sectionPermissionId":"change-setting-GitLab","settingId":"Accounts_OAuth_Gitlab_callback_url","sorter":NumberInt(55)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Gitlab_id","_updatedAt":new Date(1591734396008),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"GitLab","sectionPermissionId":"change-setting-GitLab","settingId":"Accounts_OAuth_Gitlab_id","sorter":NumberInt(51)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Gitlab_identity_path","_updatedAt":new Date(1591734396779),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"GitLab","sectionPermissionId":"change-setting-GitLab","settingId":"Accounts_OAuth_Gitlab_identity_path","sorter":NumberInt(53)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Gitlab_merge_users","_updatedAt":new Date(1591734396012),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"GitLab","sectionPermissionId":"change-setting-GitLab","settingId":"Accounts_OAuth_Gitlab_merge_users","sorter":NumberInt(54)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Gitlab_secret","_updatedAt":new Date(1591734396010),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"GitLab","sectionPermissionId":"change-setting-GitLab","settingId":"Accounts_OAuth_Gitlab_secret","sorter":NumberInt(52)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Google","_updatedAt":new Date(1591734395470),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Google","sectionPermissionId":"change-setting-Google","settingId":"Accounts_OAuth_Google","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Google_callback_url","_updatedAt":new Date(1591734395475),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Google","sectionPermissionId":"change-setting-Google","settingId":"Accounts_OAuth_Google_callback_url","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Google_id","_updatedAt":new Date(1591734395472),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Google","sectionPermissionId":"change-setting-Google","settingId":"Accounts_OAuth_Google_id","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Google_secret","_updatedAt":new Date(1591734395473),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Google","sectionPermissionId":"change-setting-Google","settingId":"Accounts_OAuth_Google_secret","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Linkedin","_updatedAt":new Date(1591734395485),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Linkedin","sectionPermissionId":"change-setting-Linkedin","settingId":"Accounts_OAuth_Linkedin","sorter":NumberInt(12)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Linkedin_callback_url","_updatedAt":new Date(1591734395490),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Linkedin","sectionPermissionId":"change-setting-Linkedin","settingId":"Accounts_OAuth_Linkedin_callback_url","sorter":NumberInt(15)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Linkedin_id","_updatedAt":new Date(1591734395487),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Linkedin","sectionPermissionId":"change-setting-Linkedin","settingId":"Accounts_OAuth_Linkedin_id","sorter":NumberInt(13)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Linkedin_secret","_updatedAt":new Date(1591734395488),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Linkedin","sectionPermissionId":"change-setting-Linkedin","settingId":"Accounts_OAuth_Linkedin_secret","sorter":NumberInt(14)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Meteor","_updatedAt":new Date(1591734395492),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Meteor","sectionPermissionId":"change-setting-Meteor","settingId":"Accounts_OAuth_Meteor","sorter":NumberInt(16)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Meteor_callback_url","_updatedAt":new Date(1591734395498),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Meteor","sectionPermissionId":"change-setting-Meteor","settingId":"Accounts_OAuth_Meteor_callback_url","sorter":NumberInt(19)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Meteor_id","_updatedAt":new Date(1591734395494),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Meteor","sectionPermissionId":"change-setting-Meteor","settingId":"Accounts_OAuth_Meteor_id","sorter":NumberInt(17)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Meteor_secret","_updatedAt":new Date(1591734395496),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Meteor","sectionPermissionId":"change-setting-Meteor","settingId":"Accounts_OAuth_Meteor_secret","sorter":NumberInt(18)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Nextcloud","_updatedAt":new Date(1591734396124),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Nextcloud","sectionPermissionId":"change-setting-Nextcloud","settingId":"Accounts_OAuth_Nextcloud","sorter":NumberInt(56)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Nextcloud_URL","_updatedAt":new Date(1591734396125),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Nextcloud","sectionPermissionId":"change-setting-Nextcloud","settingId":"Accounts_OAuth_Nextcloud_URL","sorter":NumberInt(57)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Nextcloud_button_color","_updatedAt":new Date(1591734396136),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Nextcloud","sectionPermissionId":"change-setting-Nextcloud","settingId":"Accounts_OAuth_Nextcloud_button_color","sorter":NumberInt(63)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Nextcloud_button_label_color","_updatedAt":new Date(1591734396135),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Nextcloud","sectionPermissionId":"change-setting-Nextcloud","settingId":"Accounts_OAuth_Nextcloud_button_label_color","sorter":NumberInt(62)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Nextcloud_button_label_text","_updatedAt":new Date(1591734396133),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Nextcloud","sectionPermissionId":"change-setting-Nextcloud","settingId":"Accounts_OAuth_Nextcloud_button_label_text","sorter":NumberInt(61)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Nextcloud_callback_url","_updatedAt":new Date(1591734396131),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Nextcloud","sectionPermissionId":"change-setting-Nextcloud","settingId":"Accounts_OAuth_Nextcloud_callback_url","sorter":NumberInt(60)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Nextcloud_id","_updatedAt":new Date(1591734396127),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Nextcloud","sectionPermissionId":"change-setting-Nextcloud","settingId":"Accounts_OAuth_Nextcloud_id","sorter":NumberInt(58)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Nextcloud_secret","_updatedAt":new Date(1591734396130),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Nextcloud","sectionPermissionId":"change-setting-Nextcloud","settingId":"Accounts_OAuth_Nextcloud_secret","sorter":NumberInt(59)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Proxy_host","_updatedAt":new Date(1591734395508),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Proxy","sectionPermissionId":"change-setting-Proxy","settingId":"Accounts_OAuth_Proxy_host","sorter":NumberInt(24)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Proxy_services","_updatedAt":new Date(1591734395510),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Proxy","sectionPermissionId":"change-setting-Proxy","settingId":"Accounts_OAuth_Proxy_services","sorter":NumberInt(25)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Tokenpass","_updatedAt":new Date(1591734395922),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Tokenpass","sectionPermissionId":"change-setting-Tokenpass","settingId":"Accounts_OAuth_Tokenpass","sorter":NumberInt(26)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Tokenpass_callback_url","_updatedAt":new Date(1591734395932),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Tokenpass","sectionPermissionId":"change-setting-Tokenpass","settingId":"Accounts_OAuth_Tokenpass_callback_url","sorter":NumberInt(30)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Tokenpass_id","_updatedAt":new Date(1591734395926),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Tokenpass","sectionPermissionId":"change-setting-Tokenpass","settingId":"Accounts_OAuth_Tokenpass_id","sorter":NumberInt(28)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Tokenpass_secret","_updatedAt":new Date(1591734395929),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Tokenpass","sectionPermissionId":"change-setting-Tokenpass","settingId":"Accounts_OAuth_Tokenpass_secret","sorter":NumberInt(29)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Twitter","_updatedAt":new Date(1591734395500),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Twitter","sectionPermissionId":"change-setting-Twitter","settingId":"Accounts_OAuth_Twitter","sorter":NumberInt(20)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Twitter_callback_url","_updatedAt":new Date(1591734395506),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Twitter","sectionPermissionId":"change-setting-Twitter","settingId":"Accounts_OAuth_Twitter_callback_url","sorter":NumberInt(23)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Twitter_id","_updatedAt":new Date(1591734395502),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Twitter","sectionPermissionId":"change-setting-Twitter","settingId":"Accounts_OAuth_Twitter_id","sorter":NumberInt(21)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Twitter_secret","_updatedAt":new Date(1591734395504),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"Twitter","sectionPermissionId":"change-setting-Twitter","settingId":"Accounts_OAuth_Twitter_secret","sorter":NumberInt(22)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Wordpress","_updatedAt":new Date(1591734396251),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"WordPress","sectionPermissionId":"change-setting-WordPress","settingId":"Accounts_OAuth_Wordpress","sorter":NumberInt(64)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Wordpress_authorize_path","_updatedAt":new Date(1591734396261),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"WordPress","sectionPermissionId":"change-setting-WordPress","settingId":"Accounts_OAuth_Wordpress_authorize_path","sorter":NumberInt(72)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Wordpress_callback_url","_updatedAt":new Date(1591734396264),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"WordPress","sectionPermissionId":"change-setting-WordPress","settingId":"Accounts_OAuth_Wordpress_callback_url","sorter":NumberInt(74)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Wordpress_id","_updatedAt":new Date(1591734396254),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"WordPress","sectionPermissionId":"change-setting-WordPress","settingId":"Accounts_OAuth_Wordpress_id","sorter":NumberInt(66)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Wordpress_identity_path","_updatedAt":new Date(1591734396258),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"WordPress","sectionPermissionId":"change-setting-WordPress","settingId":"Accounts_OAuth_Wordpress_identity_path","sorter":NumberInt(69)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Wordpress_identity_token_sent_via","_updatedAt":new Date(1591734396259),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"WordPress","sectionPermissionId":"change-setting-WordPress","settingId":"Accounts_OAuth_Wordpress_identity_token_sent_via","sorter":NumberInt(70)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Wordpress_scope","_updatedAt":new Date(1591734396263),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"WordPress","sectionPermissionId":"change-setting-WordPress","settingId":"Accounts_OAuth_Wordpress_scope","sorter":NumberInt(73)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Wordpress_secret","_updatedAt":new Date(1591734396255),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"WordPress","sectionPermissionId":"change-setting-WordPress","settingId":"Accounts_OAuth_Wordpress_secret","sorter":NumberInt(67)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Wordpress_server_type","_updatedAt":new Date(1591734396256),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"WordPress","sectionPermissionId":"change-setting-WordPress","settingId":"Accounts_OAuth_Wordpress_server_type","sorter":NumberInt(68)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_OAuth_Wordpress_token_path","_updatedAt":new Date(1591734396260),"group":"OAuth","groupPermissionId":"change-setting-OAuth","level":"settings","roles":[],"section":"WordPress","sectionPermissionId":"change-setting-WordPress","settingId":"Accounts_OAuth_Wordpress_token_path","sorter":NumberInt(71)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_PasswordPlaceholder","_updatedAt":new Date(1591734395280),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"settingId":"Accounts_PasswordPlaceholder","sorter":NumberInt(21)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_PasswordReset","_updatedAt":new Date(1591734395342),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_PasswordReset","sorter":NumberInt(45)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Password_Policy_AtLeastOneLowercase","_updatedAt":new Date(1591734395453),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Password_Policy","sectionPermissionId":"change-setting-Password_Policy","settingId":"Accounts_Password_Policy_AtLeastOneLowercase","sorter":NumberInt(88)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Password_Policy_AtLeastOneNumber","_updatedAt":new Date(1591734395457),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Password_Policy","sectionPermissionId":"change-setting-Password_Policy","settingId":"Accounts_Password_Policy_AtLeastOneNumber","sorter":NumberInt(90)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Password_Policy_AtLeastOneSpecialCharacter","_updatedAt":new Date(1591734395460),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Password_Policy","sectionPermissionId":"change-setting-Password_Policy","settingId":"Accounts_Password_Policy_AtLeastOneSpecialCharacter","sorter":NumberInt(91)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Password_Policy_AtLeastOneUppercase","_updatedAt":new Date(1591734395456),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Password_Policy","sectionPermissionId":"change-setting-Password_Policy","settingId":"Accounts_Password_Policy_AtLeastOneUppercase","sorter":NumberInt(89)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Password_Policy_Enabled","_updatedAt":new Date(1591734395441),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Password_Policy","sectionPermissionId":"change-setting-Password_Policy","settingId":"Accounts_Password_Policy_Enabled","sorter":NumberInt(83)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Password_Policy_ForbidRepeatingCharacters","_updatedAt":new Date(1591734395448),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Password_Policy","sectionPermissionId":"change-setting-Password_Policy","settingId":"Accounts_Password_Policy_ForbidRepeatingCharacters","sorter":NumberInt(86)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Password_Policy_ForbidRepeatingCharactersCount","_updatedAt":new Date(1591734395451),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Password_Policy","sectionPermissionId":"change-setting-Password_Policy","settingId":"Accounts_Password_Policy_ForbidRepeatingCharactersCount","sorter":NumberInt(87)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Password_Policy_MaxLength","_updatedAt":new Date(1591734395446),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Password_Policy","sectionPermissionId":"change-setting-Password_Policy","settingId":"Accounts_Password_Policy_MaxLength","sorter":NumberInt(85)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Password_Policy_MinLength","_updatedAt":new Date(1591734395444),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Password_Policy","sectionPermissionId":"change-setting-Password_Policy","settingId":"Accounts_Password_Policy_MinLength","sorter":NumberInt(84)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_RegistrationForm","_updatedAt":new Date(1591734395326),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_RegistrationForm","sorter":NumberInt(39)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_RegistrationForm_LinkReplacementText","_updatedAt":new Date(1591734395333),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_RegistrationForm_LinkReplacementText","sorter":NumberInt(42)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_RegistrationForm_SecretURL","_updatedAt":new Date(1591734395328),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_RegistrationForm_SecretURL","sorter":NumberInt(40)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Registration_AuthenticationServices_Default_Roles","_updatedAt":new Date(1591734395340),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_Registration_AuthenticationServices_Default_Roles","sorter":NumberInt(44)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Registration_AuthenticationServices_Enabled","_updatedAt":new Date(1591734395336),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_Registration_AuthenticationServices_Enabled","sorter":NumberInt(43)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Registration_InviteUrlType","_updatedAt":new Date(1591734395331),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_Registration_InviteUrlType","sorter":NumberInt(41)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_RequireNameForSignUp","_updatedAt":new Date(1591734395302),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_RequireNameForSignUp","sorter":NumberInt(29)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_RequirePasswordConfirmation","_updatedAt":new Date(1591734395304),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_RequirePasswordConfirmation","sorter":NumberInt(30)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_SearchFields","_updatedAt":new Date(1591734395290),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"settingId":"Accounts_SearchFields","sorter":NumberInt(24)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Send_Email_When_Activating","_updatedAt":new Date(1591734395295),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_Send_Email_When_Activating","sorter":NumberInt(26)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Send_Email_When_Deactivating","_updatedAt":new Date(1591734395298),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_Send_Email_When_Deactivating","sorter":NumberInt(27)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_SetDefaultAvatar","_updatedAt":new Date(1591734395439),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Avatar","sectionPermissionId":"change-setting-Avatar","settingId":"Accounts_SetDefaultAvatar","sorter":NumberInt(82)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_ShowFormLogin","_updatedAt":new Date(1591734395276),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"settingId":"Accounts_ShowFormLogin","sorter":NumberInt(19)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_TwoFactorAuthentication_By_Email_Auto_Opt_In","_updatedAt":new Date(1591734396968),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Two Factor Authentication","sectionPermissionId":"change-setting-Two Factor Authentication","settingId":"Accounts_TwoFactorAuthentication_By_Email_Auto_Opt_In","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_TwoFactorAuthentication_By_Email_Code_Expiration","_updatedAt":new Date(1591734396970),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Two Factor Authentication","sectionPermissionId":"change-setting-Two Factor Authentication","settingId":"Accounts_TwoFactorAuthentication_By_Email_Code_Expiration","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_TwoFactorAuthentication_By_Email_Enabled","_updatedAt":new Date(1591734396869),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Two Factor Authentication","sectionPermissionId":"change-setting-Two Factor Authentication","settingId":"Accounts_TwoFactorAuthentication_By_Email_Enabled","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_TwoFactorAuthentication_Enabled","_updatedAt":new Date(1591734394966),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Two Factor Authentication","sectionPermissionId":"change-setting-Two Factor Authentication","settingId":"Accounts_TwoFactorAuthentication_Enabled","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_TwoFactorAuthentication_MaxDelta","_updatedAt":new Date(1591734394968),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Two Factor Authentication","sectionPermissionId":"change-setting-Two Factor Authentication","settingId":"Accounts_TwoFactorAuthentication_MaxDelta","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_TwoFactorAuthentication_RememberFor","_updatedAt":new Date(1591734396872),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Two Factor Authentication","sectionPermissionId":"change-setting-Two Factor Authentication","settingId":"Accounts_TwoFactorAuthentication_RememberFor","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_UseDNSDomainCheck","_updatedAt":new Date(1591734395324),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_UseDNSDomainCheck","sorter":NumberInt(38)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_UseDefaultBlockedDomainsList","_updatedAt":new Date(1591734395321),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_UseDefaultBlockedDomainsList","sorter":NumberInt(37)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_UserAddedEmail_Email","_updatedAt":new Date(1591734395208),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Registration_via_Admin","sectionPermissionId":"change-setting-Registration_via_Admin","settingId":"Accounts_UserAddedEmail_Email","sorter":NumberInt(32)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_UserAddedEmail_Subject","_updatedAt":new Date(1591734395205),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Registration_via_Admin","sectionPermissionId":"change-setting-Registration_via_Admin","settingId":"Accounts_UserAddedEmail_Subject","sorter":NumberInt(31)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_Verify_Email_For_External_Accounts","_updatedAt":new Date(1591734396883),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Registration","sectionPermissionId":"change-setting-Registration","settingId":"Accounts_Verify_Email_For_External_Accounts","sorter":NumberInt(32)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_iframe_enabled","_updatedAt":new Date(1591734399056),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Iframe","sectionPermissionId":"change-setting-Iframe","settingId":"Accounts_iframe_enabled","sorter":NumberInt(92)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Accounts_iframe_url","_updatedAt":new Date(1591734399068),"group":"Accounts","groupPermissionId":"change-setting-Accounts","level":"settings","roles":[],"section":"Iframe","sectionPermissionId":"change-setting-Iframe","settingId":"Accounts_iframe_url","sorter":NumberInt(93)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Allow_Invalid_SelfSigned_Certs","_updatedAt":new Date(1591734395520),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"Allow_Invalid_SelfSigned_Certs","sorter":NumberInt(15)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Allow_Marketing_Emails","_updatedAt":new Date(1591734395791),"group":"Setup_Wizard","groupPermissionId":"change-setting-Setup_Wizard","level":"settings","roles":[],"section":"Organization_Info","sectionPermissionId":"change-setting-Organization_Info","settingId":"Allow_Marketing_Emails","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Analytics","_updatedAt":new Date(1591734394970),"level":"settings","roles":[],"settingId":"Analytics"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Analytics_features_messages","_updatedAt":new Date(1591734394999),"group":"Analytics","groupPermissionId":"change-setting-Analytics","level":"settings","roles":[],"section":"Analytics_features_enabled","sectionPermissionId":"change-setting-Analytics_features_enabled","settingId":"Analytics_features_messages","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Analytics_features_rooms","_updatedAt":new Date(1591734395003),"group":"Analytics","groupPermissionId":"change-setting-Analytics","level":"settings","roles":[],"section":"Analytics_features_enabled","sectionPermissionId":"change-setting-Analytics_features_enabled","settingId":"Analytics_features_rooms","sorter":NumberInt(10)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Analytics_features_users","_updatedAt":new Date(1591734395014),"group":"Analytics","groupPermissionId":"change-setting-Analytics","level":"settings","roles":[],"section":"Analytics_features_enabled","sectionPermissionId":"change-setting-Analytics_features_enabled","settingId":"Analytics_features_users","sorter":NumberInt(11)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Apps_Framework_Development_Mode","_updatedAt":new Date(1591734395919),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"Apps","sectionPermissionId":"change-setting-Apps","settingId":"Apps_Framework_Development_Mode","sorter":NumberInt(45)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Apps_Framework_enabled","_updatedAt":new Date(1591734395916),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"Apps","sectionPermissionId":"change-setting-Apps","settingId":"Apps_Framework_enabled","sorter":NumberInt(44)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Apps_Game_Center_enabled","_updatedAt":new Date(1591734396921),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"Apps","sectionPermissionId":"change-setting-Apps","settingId":"Apps_Game_Center_enabled","sorter":NumberInt(46)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Assets","_updatedAt":new Date(1591734395044),"level":"settings","roles":[],"settingId":"Assets"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Assets_SvgFavicon_Enable","_updatedAt":new Date(1591734395047),"group":"Assets","groupPermissionId":"change-setting-Assets","level":"settings","roles":[],"settingId":"Assets_SvgFavicon_Enable","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Assets_background","_updatedAt":new Date(1591734395052),"group":"Assets","groupPermissionId":"change-setting-Assets","level":"settings","roles":[],"settingId":"Assets_background","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Assets_favicon","_updatedAt":new Date(1591734395056),"group":"Assets","groupPermissionId":"change-setting-Assets","level":"settings","roles":[],"settingId":"Assets_favicon","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Assets_favicon_16","_updatedAt":new Date(1591734395058),"group":"Assets","groupPermissionId":"change-setting-Assets","level":"settings","roles":[],"settingId":"Assets_favicon_16","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Assets_favicon_192","_updatedAt":new Date(1591734395064),"group":"Assets","groupPermissionId":"change-setting-Assets","level":"settings","roles":[],"settingId":"Assets_favicon_192","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Assets_favicon_32","_updatedAt":new Date(1591734395061),"group":"Assets","groupPermissionId":"change-setting-Assets","level":"settings","roles":[],"settingId":"Assets_favicon_32","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Assets_favicon_512","_updatedAt":new Date(1591734395066),"group":"Assets","groupPermissionId":"change-setting-Assets","level":"settings","roles":[],"settingId":"Assets_favicon_512","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Assets_favicon_ico","_updatedAt":new Date(1591734395054),"group":"Assets","groupPermissionId":"change-setting-Assets","level":"settings","roles":[],"settingId":"Assets_favicon_ico","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Assets_logo","_updatedAt":new Date(1591734395049),"group":"Assets","groupPermissionId":"change-setting-Assets","level":"settings","roles":[],"settingId":"Assets_logo","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Assets_safari_pinned","_updatedAt":new Date(1591734395087),"group":"Assets","groupPermissionId":"change-setting-Assets","level":"settings","roles":[],"settingId":"Assets_safari_pinned","sorter":NumberInt(16)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Assets_tile_144","_updatedAt":new Date(1591734395078),"group":"Assets","groupPermissionId":"change-setting-Assets","level":"settings","roles":[],"settingId":"Assets_tile_144","sorter":NumberInt(12)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Assets_tile_150","_updatedAt":new Date(1591734395080),"group":"Assets","groupPermissionId":"change-setting-Assets","level":"settings","roles":[],"settingId":"Assets_tile_150","sorter":NumberInt(13)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Assets_tile_310_square","_updatedAt":new Date(1591734395083),"group":"Assets","groupPermissionId":"change-setting-Assets","level":"settings","roles":[],"settingId":"Assets_tile_310_square","sorter":NumberInt(14)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Assets_tile_310_wide","_updatedAt":new Date(1591734395085),"group":"Assets","groupPermissionId":"change-setting-Assets","level":"settings","roles":[],"settingId":"Assets_tile_310_wide","sorter":NumberInt(15)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Assets_tile_70","_updatedAt":new Date(1591734395074),"group":"Assets","groupPermissionId":"change-setting-Assets","level":"settings","roles":[],"settingId":"Assets_tile_70","sorter":NumberInt(11)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Assets_touchicon_180","_updatedAt":new Date(1591734395069),"group":"Assets","groupPermissionId":"change-setting-Assets","level":"settings","roles":[],"settingId":"Assets_touchicon_180","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Assets_touchicon_180_pre","_updatedAt":new Date(1591734395072),"group":"Assets","groupPermissionId":"change-setting-Assets","level":"settings","roles":[],"settingId":"Assets_touchicon_180_pre","sorter":NumberInt(10)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-AtlassianCrowd","_updatedAt":new Date(1591734398240),"level":"settings","roles":[],"settingId":"AtlassianCrowd"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-AutoLinker","_updatedAt":new Date(1591734397613),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"AutoLinker","sectionPermissionId":"change-setting-AutoLinker","settingId":"AutoLinker","sorter":NumberInt(49)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-AutoLinker_Email","_updatedAt":new Date(1591734397711),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"AutoLinker","sectionPermissionId":"change-setting-AutoLinker","settingId":"AutoLinker_Email","sorter":NumberInt(55)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-AutoLinker_Phone","_updatedAt":new Date(1591734397732),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"AutoLinker","sectionPermissionId":"change-setting-AutoLinker","settingId":"AutoLinker_Phone","sorter":NumberInt(56)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-AutoLinker_StripPrefix","_updatedAt":new Date(1591734397627),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"AutoLinker","sectionPermissionId":"change-setting-AutoLinker","settingId":"AutoLinker_StripPrefix","sorter":NumberInt(50)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-AutoLinker_UrlsRegExp","_updatedAt":new Date(1591734397696),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"AutoLinker","sectionPermissionId":"change-setting-AutoLinker","settingId":"AutoLinker_UrlsRegExp","sorter":NumberInt(54)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-AutoLinker_Urls_Scheme","_updatedAt":new Date(1591734397653),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"AutoLinker","sectionPermissionId":"change-setting-AutoLinker","settingId":"AutoLinker_Urls_Scheme","sorter":NumberInt(51)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-AutoLinker_Urls_TLD","_updatedAt":new Date(1591734397680),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"AutoLinker","sectionPermissionId":"change-setting-AutoLinker","settingId":"AutoLinker_Urls_TLD","sorter":NumberInt(53)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-AutoLinker_Urls_www","_updatedAt":new Date(1591734397668),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"AutoLinker","sectionPermissionId":"change-setting-AutoLinker","settingId":"AutoLinker_Urls_www","sorter":NumberInt(52)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-AutoTranslate_DeepLAPIKey","_updatedAt":new Date(1591734397965),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"AutoTranslate_DeepL","sectionPermissionId":"change-setting-AutoTranslate_DeepL","settingId":"AutoTranslate_DeepLAPIKey","sorter":NumberInt(60)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-AutoTranslate_Enabled","_updatedAt":new Date(1591734397743),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"AutoTranslate","sectionPermissionId":"change-setting-AutoTranslate","settingId":"AutoTranslate_Enabled","sorter":NumberInt(57)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-AutoTranslate_GoogleAPIKey","_updatedAt":new Date(1591734397942),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"AutoTranslate_Google","sectionPermissionId":"change-setting-AutoTranslate_Google","settingId":"AutoTranslate_GoogleAPIKey","sorter":NumberInt(59)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-AutoTranslate_MicrosoftAPIKey","_updatedAt":new Date(1591734397977),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"AutoTranslate_Microsoft","sectionPermissionId":"change-setting-AutoTranslate_Microsoft","settingId":"AutoTranslate_MicrosoftAPIKey","sorter":NumberInt(61)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-AutoTranslate_ServiceProvider","_updatedAt":new Date(1591734397759),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"AutoTranslate","sectionPermissionId":"change-setting-AutoTranslate","settingId":"AutoTranslate_ServiceProvider","sorter":NumberInt(58)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Blockstack","_updatedAt":new Date(1591734399922),"level":"settings","roles":[],"settingId":"Blockstack"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Blockstack_Auth_Description","_updatedAt":new Date(1591734399954),"group":"Blockstack","groupPermissionId":"change-setting-Blockstack","level":"settings","roles":[],"settingId":"Blockstack_Auth_Description","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Blockstack_ButtonLabelText","_updatedAt":new Date(1591734399968),"group":"Blockstack","groupPermissionId":"change-setting-Blockstack","level":"settings","roles":[],"settingId":"Blockstack_ButtonLabelText","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Blockstack_Enable","_updatedAt":new Date(1591734399938),"group":"Blockstack","groupPermissionId":"change-setting-Blockstack","level":"settings","roles":[],"settingId":"Blockstack_Enable","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Blockstack_Generate_Username","_updatedAt":new Date(1591734399982),"group":"Blockstack","groupPermissionId":"change-setting-Blockstack","level":"settings","roles":[],"settingId":"Blockstack_Generate_Username","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-BotHelpers_userFields","_updatedAt":new Date(1591734398011),"group":"Bots","groupPermissionId":"change-setting-Bots","level":"settings","roles":[],"section":"Helpers","sectionPermissionId":"change-setting-Helpers","settingId":"BotHelpers_userFields","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Bots","_updatedAt":new Date(1591734397993),"level":"settings","roles":[],"settingId":"Bots"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Broadcasting_api_key","_updatedAt":new Date(1591734399304),"group":"LiveStream & Broadcasting","groupPermissionId":"change-setting-LiveStream & Broadcasting","level":"settings","roles":[],"settingId":"Broadcasting_api_key","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Broadcasting_client_id","_updatedAt":new Date(1591734399288),"group":"LiveStream & Broadcasting","groupPermissionId":"change-setting-LiveStream & Broadcasting","level":"settings","roles":[],"settingId":"Broadcasting_client_id","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Broadcasting_client_secret","_updatedAt":new Date(1591734399296),"group":"LiveStream & Broadcasting","groupPermissionId":"change-setting-LiveStream & Broadcasting","level":"settings","roles":[],"settingId":"Broadcasting_client_secret","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Broadcasting_enabled","_updatedAt":new Date(1591734399281),"group":"LiveStream & Broadcasting","groupPermissionId":"change-setting-LiveStream & Broadcasting","level":"settings","roles":[],"settingId":"Broadcasting_enabled","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Broadcasting_media_server_url","_updatedAt":new Date(1591734399314),"group":"LiveStream & Broadcasting","groupPermissionId":"change-setting-LiveStream & Broadcasting","level":"settings","roles":[],"settingId":"Broadcasting_media_server_url","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Bugsnag_api_key","_updatedAt":new Date(1591734395558),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"Bugsnag_api_key","sorter":NumberInt(29)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CAS","_updatedAt":new Date(1591734398023),"level":"settings","roles":[],"settingId":"CAS"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CAS_Sync_User_Data_Enabled","_updatedAt":new Date(1591734398128),"group":"CAS","groupPermissionId":"change-setting-CAS","level":"settings","roles":[],"section":"Attribute_handling","sectionPermissionId":"change-setting-Attribute_handling","settingId":"CAS_Sync_User_Data_Enabled","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CAS_Sync_User_Data_FieldMap","_updatedAt":new Date(1591734398140),"group":"CAS","groupPermissionId":"change-setting-CAS","level":"settings","roles":[],"section":"Attribute_handling","sectionPermissionId":"change-setting-Attribute_handling","settingId":"CAS_Sync_User_Data_FieldMap","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CAS_autoclose","_updatedAt":new Date(1591734398226),"group":"CAS","groupPermissionId":"change-setting-CAS","level":"settings","roles":[],"section":"CAS_Login_Layout","sectionPermissionId":"change-setting-CAS_Login_Layout","settingId":"CAS_autoclose","sorter":NumberInt(12)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CAS_base_url","_updatedAt":new Date(1591734398052),"group":"CAS","groupPermissionId":"change-setting-CAS","level":"settings","roles":[],"settingId":"CAS_base_url","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CAS_button_color","_updatedAt":new Date(1591734398209),"group":"CAS","groupPermissionId":"change-setting-CAS","level":"settings","roles":[],"section":"CAS_Login_Layout","sectionPermissionId":"change-setting-CAS_Login_Layout","settingId":"CAS_button_color","sorter":NumberInt(11)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CAS_button_label_color","_updatedAt":new Date(1591734398199),"group":"CAS","groupPermissionId":"change-setting-CAS","level":"settings","roles":[],"section":"CAS_Login_Layout","sectionPermissionId":"change-setting-CAS_Login_Layout","settingId":"CAS_button_label_color","sorter":NumberInt(10)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CAS_button_label_text","_updatedAt":new Date(1591734398182),"group":"CAS","groupPermissionId":"change-setting-CAS","level":"settings","roles":[],"section":"CAS_Login_Layout","sectionPermissionId":"change-setting-CAS_Login_Layout","settingId":"CAS_button_label_text","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CAS_enabled","_updatedAt":new Date(1591734398040),"group":"CAS","groupPermissionId":"change-setting-CAS","level":"settings","roles":[],"settingId":"CAS_enabled","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CAS_login_url","_updatedAt":new Date(1591734398065),"group":"CAS","groupPermissionId":"change-setting-CAS","level":"settings","roles":[],"settingId":"CAS_login_url","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CAS_popup_height","_updatedAt":new Date(1591734398171),"group":"CAS","groupPermissionId":"change-setting-CAS","level":"settings","roles":[],"section":"CAS_Login_Layout","sectionPermissionId":"change-setting-CAS_Login_Layout","settingId":"CAS_popup_height","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CAS_popup_width","_updatedAt":new Date(1591734398156),"group":"CAS","groupPermissionId":"change-setting-CAS","level":"settings","roles":[],"section":"CAS_Login_Layout","sectionPermissionId":"change-setting-CAS_Login_Layout","settingId":"CAS_popup_width","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CAS_trust_username","_updatedAt":new Date(1591734398112),"group":"CAS","groupPermissionId":"change-setting-CAS","level":"settings","roles":[],"settingId":"CAS_trust_username","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CAS_version","_updatedAt":new Date(1591734398078),"group":"CAS","groupPermissionId":"change-setting-CAS","level":"settings","roles":[],"settingId":"CAS_version","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CDN_JSCSS_PREFIX","_updatedAt":new Date(1591734395546),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"CDN_JSCSS_PREFIX","sorter":NumberInt(25)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CDN_PREFIX","_updatedAt":new Date(1591734395542),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"CDN_PREFIX","sorter":NumberInt(23)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CDN_PREFIX_ALL","_updatedAt":new Date(1591734395545),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"CDN_PREFIX_ALL","sorter":NumberInt(24)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CROWD_APP_PASSWORD","_updatedAt":new Date(1591734398334),"group":"AtlassianCrowd","groupPermissionId":"change-setting-AtlassianCrowd","level":"settings","roles":[],"settingId":"CROWD_APP_PASSWORD","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CROWD_APP_USERNAME","_updatedAt":new Date(1591734398317),"group":"AtlassianCrowd","groupPermissionId":"change-setting-AtlassianCrowd","level":"settings","roles":[],"settingId":"CROWD_APP_USERNAME","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CROWD_Allow_Custom_Username","_updatedAt":new Date(1591734398419),"group":"AtlassianCrowd","groupPermissionId":"change-setting-AtlassianCrowd","level":"settings","roles":[],"settingId":"CROWD_Allow_Custom_Username","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CROWD_Clean_Usernames","_updatedAt":new Date(1591734398399),"group":"AtlassianCrowd","groupPermissionId":"change-setting-AtlassianCrowd","level":"settings","roles":[],"settingId":"CROWD_Clean_Usernames","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CROWD_Enable","_updatedAt":new Date(1591734398267),"group":"AtlassianCrowd","groupPermissionId":"change-setting-AtlassianCrowd","level":"settings","roles":[],"settingId":"CROWD_Enable","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CROWD_Reject_Unauthorized","_updatedAt":new Date(1591734398301),"group":"AtlassianCrowd","groupPermissionId":"change-setting-AtlassianCrowd","level":"settings","roles":[],"settingId":"CROWD_Reject_Unauthorized","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CROWD_Sync_Interval","_updatedAt":new Date(1591734398368),"group":"AtlassianCrowd","groupPermissionId":"change-setting-AtlassianCrowd","level":"settings","roles":[],"settingId":"CROWD_Sync_Interval","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CROWD_Sync_User_Data","_updatedAt":new Date(1591734398348),"group":"AtlassianCrowd","groupPermissionId":"change-setting-AtlassianCrowd","level":"settings","roles":[],"settingId":"CROWD_Sync_User_Data","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CROWD_Sync_Users","_updatedAt":new Date(1591734398453),"group":"AtlassianCrowd","groupPermissionId":"change-setting-AtlassianCrowd","level":"settings","roles":[],"settingId":"CROWD_Sync_Users","sorter":NumberInt(10)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CROWD_Test_Connection","_updatedAt":new Date(1591734398437),"group":"AtlassianCrowd","groupPermissionId":"change-setting-AtlassianCrowd","level":"settings","roles":[],"settingId":"CROWD_Test_Connection","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CROWD_URL","_updatedAt":new Date(1591734398288),"group":"AtlassianCrowd","groupPermissionId":"change-setting-AtlassianCrowd","level":"settings","roles":[],"settingId":"CROWD_URL","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Cloud_Service_Agree_PrivacyTerms","_updatedAt":new Date(1591734395798),"group":"Setup_Wizard","groupPermissionId":"change-setting-Setup_Wizard","level":"settings","roles":[],"section":"Cloud_Info","sectionPermissionId":"change-setting-Cloud_Info","settingId":"Cloud_Service_Agree_PrivacyTerms","sorter":NumberInt(11)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Country","_updatedAt":new Date(1591734395784),"group":"Setup_Wizard","groupPermissionId":"change-setting-Setup_Wizard","level":"settings","roles":[],"section":"Organization_Info","sectionPermissionId":"change-setting-Organization_Info","settingId":"Country","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CustomSoundsFilesystem","_updatedAt":new Date(1591734395937),"level":"settings","roles":[],"settingId":"CustomSoundsFilesystem"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CustomSounds_FileSystemPath","_updatedAt":new Date(1591734395941),"group":"CustomSoundsFilesystem","groupPermissionId":"change-setting-CustomSoundsFilesystem","level":"settings","roles":[],"settingId":"CustomSounds_FileSystemPath","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-CustomSounds_Storage_Type","_updatedAt":new Date(1591734396772),"group":"CustomSoundsFilesystem","groupPermissionId":"change-setting-CustomSoundsFilesystem","level":"settings","roles":[],"settingId":"CustomSounds_Storage_Type","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Custom_Script_Logged_In","_updatedAt":new Date(1591734395729),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Custom_Scripts","sectionPermissionId":"change-setting-Custom_Scripts","settingId":"Custom_Script_Logged_In","sorter":NumberInt(10)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Custom_Script_Logged_Out","_updatedAt":new Date(1591734395727),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Custom_Scripts","sectionPermissionId":"change-setting-Custom_Scripts","settingId":"Custom_Script_Logged_Out","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Custom_Script_On_Logout","_updatedAt":new Date(1591734395723),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Custom_Scripts","sectionPermissionId":"change-setting-Custom_Scripts","settingId":"Custom_Script_On_Logout","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Custom_Translations","_updatedAt":new Date(1591734395584),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"Translations","sectionPermissionId":"change-setting-Translations","settingId":"Custom_Translations","sorter":NumberInt(42)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-DDP_Rate_Limit_Connection_By_Method_Enabled","_updatedAt":new Date(1591734395837),"group":"Rate Limiter","groupPermissionId":"change-setting-Rate Limiter","level":"settings","roles":[],"section":"DDP Rate Limiter","sectionPermissionId":"change-setting-DDP Rate Limiter","settingId":"DDP_Rate_Limit_Connection_By_Method_Enabled","sorter":NumberInt(12)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-DDP_Rate_Limit_Connection_By_Method_Interval_Time","_updatedAt":new Date(1591734395843),"group":"Rate Limiter","groupPermissionId":"change-setting-Rate Limiter","level":"settings","roles":[],"section":"DDP Rate Limiter","sectionPermissionId":"change-setting-DDP Rate Limiter","settingId":"DDP_Rate_Limit_Connection_By_Method_Interval_Time","sorter":NumberInt(14)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-DDP_Rate_Limit_Connection_By_Method_Requests_Allowed","_updatedAt":new Date(1591734395840),"group":"Rate Limiter","groupPermissionId":"change-setting-Rate Limiter","level":"settings","roles":[],"section":"DDP Rate Limiter","sectionPermissionId":"change-setting-DDP Rate Limiter","settingId":"DDP_Rate_Limit_Connection_By_Method_Requests_Allowed","sorter":NumberInt(13)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-DDP_Rate_Limit_Connection_Enabled","_updatedAt":new Date(1591734395823),"group":"Rate Limiter","groupPermissionId":"change-setting-Rate Limiter","level":"settings","roles":[],"section":"DDP Rate Limiter","sectionPermissionId":"change-setting-DDP Rate Limiter","settingId":"DDP_Rate_Limit_Connection_Enabled","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-DDP_Rate_Limit_Connection_Interval_Time","_updatedAt":new Date(1591734395828),"group":"Rate Limiter","groupPermissionId":"change-setting-Rate Limiter","level":"settings","roles":[],"section":"DDP Rate Limiter","sectionPermissionId":"change-setting-DDP Rate Limiter","settingId":"DDP_Rate_Limit_Connection_Interval_Time","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-DDP_Rate_Limit_Connection_Requests_Allowed","_updatedAt":new Date(1591734395825),"group":"Rate Limiter","groupPermissionId":"change-setting-Rate Limiter","level":"settings","roles":[],"section":"DDP Rate Limiter","sectionPermissionId":"change-setting-DDP Rate Limiter","settingId":"DDP_Rate_Limit_Connection_Requests_Allowed","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-DDP_Rate_Limit_IP_Enabled","_updatedAt":new Date(1591734395803),"group":"Rate Limiter","groupPermissionId":"change-setting-Rate Limiter","level":"settings","roles":[],"section":"DDP Rate Limiter","sectionPermissionId":"change-setting-DDP Rate Limiter","settingId":"DDP_Rate_Limit_IP_Enabled","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-DDP_Rate_Limit_IP_Interval_Time","_updatedAt":new Date(1591734395812),"group":"Rate Limiter","groupPermissionId":"change-setting-Rate Limiter","level":"settings","roles":[],"section":"DDP Rate Limiter","sectionPermissionId":"change-setting-DDP Rate Limiter","settingId":"DDP_Rate_Limit_IP_Interval_Time","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-DDP_Rate_Limit_IP_Requests_Allowed","_updatedAt":new Date(1591734395806),"group":"Rate Limiter","groupPermissionId":"change-setting-Rate Limiter","level":"settings","roles":[],"section":"DDP Rate Limiter","sectionPermissionId":"change-setting-DDP Rate Limiter","settingId":"DDP_Rate_Limit_IP_Requests_Allowed","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-DDP_Rate_Limit_User_By_Method_Enabled","_updatedAt":new Date(1591734395830),"group":"Rate Limiter","groupPermissionId":"change-setting-Rate Limiter","level":"settings","roles":[],"section":"DDP Rate Limiter","sectionPermissionId":"change-setting-DDP Rate Limiter","settingId":"DDP_Rate_Limit_User_By_Method_Enabled","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-DDP_Rate_Limit_User_By_Method_Interval_Time","_updatedAt":new Date(1591734395835),"group":"Rate Limiter","groupPermissionId":"change-setting-Rate Limiter","level":"settings","roles":[],"section":"DDP Rate Limiter","sectionPermissionId":"change-setting-DDP Rate Limiter","settingId":"DDP_Rate_Limit_User_By_Method_Interval_Time","sorter":NumberInt(11)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-DDP_Rate_Limit_User_By_Method_Requests_Allowed","_updatedAt":new Date(1591734395832),"group":"Rate Limiter","groupPermissionId":"change-setting-Rate Limiter","level":"settings","roles":[],"section":"DDP Rate Limiter","sectionPermissionId":"change-setting-DDP Rate Limiter","settingId":"DDP_Rate_Limit_User_By_Method_Requests_Allowed","sorter":NumberInt(10)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-DDP_Rate_Limit_User_Enabled","_updatedAt":new Date(1591734395814),"group":"Rate Limiter","groupPermissionId":"change-setting-Rate Limiter","level":"settings","roles":[],"section":"DDP Rate Limiter","sectionPermissionId":"change-setting-DDP Rate Limiter","settingId":"DDP_Rate_Limit_User_Enabled","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-DDP_Rate_Limit_User_Interval_Time","_updatedAt":new Date(1591734395821),"group":"Rate Limiter","groupPermissionId":"change-setting-Rate Limiter","level":"settings","roles":[],"section":"DDP Rate Limiter","sectionPermissionId":"change-setting-DDP Rate Limiter","settingId":"DDP_Rate_Limit_User_Interval_Time","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-DDP_Rate_Limit_User_Requests_Allowed","_updatedAt":new Date(1591734395816),"group":"Rate Limiter","groupPermissionId":"change-setting-Rate Limiter","level":"settings","roles":[],"section":"DDP Rate Limiter","sectionPermissionId":"change-setting-DDP Rate Limiter","settingId":"DDP_Rate_Limit_User_Requests_Allowed","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-DeepLink_Url","_updatedAt":new Date(1591734396886),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"DeepLink_Url","sorter":NumberInt(22)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-DirectMesssage_maxUsers","_updatedAt":new Date(1591734396888),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"DirectMesssage_maxUsers","sorter":NumberInt(32)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Direct_Reply_Debug","_updatedAt":new Date(1591734395111),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Direct_Reply","sectionPermissionId":"change-setting-Direct_Reply","settingId":"Direct_Reply_Debug","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Direct_Reply_Delete","_updatedAt":new Date(1591734395151),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Direct_Reply","sectionPermissionId":"change-setting-Direct_Reply","settingId":"Direct_Reply_Delete","sorter":NumberInt(15)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Direct_Reply_Enable","_updatedAt":new Date(1591734395108),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Direct_Reply","sectionPermissionId":"change-setting-Direct_Reply","settingId":"Direct_Reply_Enable","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Direct_Reply_Frequency","_updatedAt":new Date(1591734395148),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Direct_Reply","sectionPermissionId":"change-setting-Direct_Reply","settingId":"Direct_Reply_Frequency","sorter":NumberInt(14)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Direct_Reply_Host","_updatedAt":new Date(1591734395139),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Direct_Reply","sectionPermissionId":"change-setting-Direct_Reply","settingId":"Direct_Reply_Host","sorter":NumberInt(11)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Direct_Reply_IgnoreTLS","_updatedAt":new Date(1591734395145),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Direct_Reply","sectionPermissionId":"change-setting-Direct_Reply","settingId":"Direct_Reply_IgnoreTLS","sorter":NumberInt(13)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Direct_Reply_Password","_updatedAt":new Date(1591734395165),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Direct_Reply","sectionPermissionId":"change-setting-Direct_Reply","settingId":"Direct_Reply_Password","sorter":NumberInt(19)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Direct_Reply_Port","_updatedAt":new Date(1591734395142),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Direct_Reply","sectionPermissionId":"change-setting-Direct_Reply","settingId":"Direct_Reply_Port","sorter":NumberInt(12)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Direct_Reply_Protocol","_updatedAt":new Date(1591734395136),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Direct_Reply","sectionPermissionId":"change-setting-Direct_Reply","settingId":"Direct_Reply_Protocol","sorter":NumberInt(10)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Direct_Reply_ReplyTo","_updatedAt":new Date(1591734395163),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Direct_Reply","sectionPermissionId":"change-setting-Direct_Reply","settingId":"Direct_Reply_ReplyTo","sorter":NumberInt(18)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Direct_Reply_Separator","_updatedAt":new Date(1591734395155),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Direct_Reply","sectionPermissionId":"change-setting-Direct_Reply","settingId":"Direct_Reply_Separator","sorter":NumberInt(16)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Direct_Reply_Username","_updatedAt":new Date(1591734395157),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Direct_Reply","sectionPermissionId":"change-setting-Direct_Reply","settingId":"Direct_Reply_Username","sorter":NumberInt(17)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Discussion","_updatedAt":new Date(1591734400248),"level":"settings","roles":[],"settingId":"Discussion"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Discussion_enabled","_updatedAt":new Date(1591734400263),"group":"Discussion","groupPermissionId":"change-setting-Discussion","level":"settings","roles":[],"settingId":"Discussion_enabled","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Document_Domain","_updatedAt":new Date(1591734395517),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"Document_Domain","sorter":NumberInt(13)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-E2E Encryption","_updatedAt":new Date(1591734396267),"level":"settings","roles":[],"settingId":"E2E Encryption"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-E2E_Enable","_updatedAt":new Date(1591734396268),"group":"E2E Encryption","groupPermissionId":"change-setting-E2E Encryption","level":"settings","roles":[],"settingId":"E2E_Enable","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-E2E_Enabled_Default_DirectRooms","_updatedAt":new Date(1591734396925),"group":"E2E Encryption","groupPermissionId":"change-setting-E2E Encryption","level":"settings","roles":[],"settingId":"E2E_Enabled_Default_DirectRooms","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-E2E_Enabled_Default_PrivateRooms","_updatedAt":new Date(1591734396927),"group":"E2E Encryption","groupPermissionId":"change-setting-E2E Encryption","level":"settings","roles":[],"settingId":"E2E_Enabled_Default_PrivateRooms","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Email","_updatedAt":new Date(1591734395089),"level":"settings","roles":[],"settingId":"Email"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Email_Changed_Email","_updatedAt":new Date(1591734395231),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Email_changed_section","sectionPermissionId":"change-setting-Email_changed_section","settingId":"Email_Changed_Email","sorter":NumberInt(41)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Email_Changed_Email_Subject","_updatedAt":new Date(1591734395229),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Email_changed_section","sectionPermissionId":"change-setting-Email_changed_section","settingId":"Email_Changed_Email_Subject","sorter":NumberInt(40)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Email_Footer","_updatedAt":new Date(1591734395121),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Header_and_Footer","sectionPermissionId":"change-setting-Header_and_Footer","settingId":"Email_Footer","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Email_Footer_Direct_Reply","_updatedAt":new Date(1591734395105),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Header_and_Footer","sectionPermissionId":"change-setting-Header_and_Footer","settingId":"Email_Footer_Direct_Reply","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Email_Header","_updatedAt":new Date(1591734395118),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Header_and_Footer","sectionPermissionId":"change-setting-Header_and_Footer","settingId":"Email_Header","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Email_notification_show_message","_updatedAt":new Date(1591734395240),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Privacy","sectionPermissionId":"change-setting-Privacy","settingId":"Email_notification_show_message","sorter":NumberInt(44)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-EmojiCustomFilesystem","_updatedAt":new Date(1591734395986),"level":"settings","roles":[],"settingId":"EmojiCustomFilesystem"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-EmojiUpload_FileSystemPath","_updatedAt":new Date(1591734395988),"group":"EmojiCustomFilesystem","groupPermissionId":"change-setting-EmojiCustomFilesystem","level":"settings","roles":[],"settingId":"EmojiUpload_FileSystemPath","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-EmojiUpload_Storage_Type","_updatedAt":new Date(1591734396774),"group":"EmojiCustomFilesystem","groupPermissionId":"change-setting-EmojiCustomFilesystem","level":"settings","roles":[],"settingId":"EmojiUpload_Storage_Type","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Enterprise","_updatedAt":new Date(1591734397566),"level":"settings","roles":[],"settingId":"Enterprise"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Enterprise_License","_updatedAt":new Date(1591734397582),"group":"Enterprise","groupPermissionId":"change-setting-Enterprise","level":"settings","roles":[],"section":"License","sectionPermissionId":"change-setting-License","settingId":"Enterprise_License","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Enterprise_License_Status","_updatedAt":new Date(1591734397593),"group":"Enterprise","groupPermissionId":"change-setting-Enterprise","level":"settings","roles":[],"section":"License","sectionPermissionId":"change-setting-License","settingId":"Enterprise_License_Status","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FEDERATION_Discovery_Method","_updatedAt":new Date(1591734398572),"group":"Federation","groupPermissionId":"change-setting-Federation","level":"settings","roles":[],"settingId":"FEDERATION_Discovery_Method","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FEDERATION_Domain","_updatedAt":new Date(1591734398544),"group":"Federation","groupPermissionId":"change-setting-Federation","level":"settings","roles":[],"settingId":"FEDERATION_Domain","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FEDERATION_Enabled","_updatedAt":new Date(1591734398500),"group":"Federation","groupPermissionId":"change-setting-Federation","level":"settings","roles":[],"settingId":"FEDERATION_Enabled","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FEDERATION_Public_Key","_updatedAt":new Date(1591734398559),"group":"Federation","groupPermissionId":"change-setting-Federation","level":"settings","roles":[],"settingId":"FEDERATION_Public_Key","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FEDERATION_Status","_updatedAt":new Date(1591734399558),"group":"Federation","groupPermissionId":"change-setting-Federation","level":"settings","roles":[],"settingId":"FEDERATION_Status","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FEDERATION_Test_Setup","_updatedAt":new Date(1591734398807),"group":"Federation","groupPermissionId":"change-setting-Federation","level":"settings","roles":[],"settingId":"FEDERATION_Test_Setup","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Favorite_Rooms","_updatedAt":new Date(1591734395526),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"Favorite_Rooms","sorter":NumberInt(18)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Federation","_updatedAt":new Date(1591734398478),"level":"settings","roles":[],"settingId":"Federation"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload","_updatedAt":new Date(1591734395855),"level":"settings","roles":[],"settingId":"FileUpload"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_Enable_json_web_token_for_files","_updatedAt":new Date(1591734395865),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"settingId":"FileUpload_Enable_json_web_token_for_files","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_Enabled","_updatedAt":new Date(1591734395858),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"settingId":"FileUpload_Enabled","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_Enabled_Direct","_updatedAt":new Date(1591734395913),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"settingId":"FileUpload_Enabled_Direct","sorter":NumberInt(31)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_FileSystemPath","_updatedAt":new Date(1591734395901),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"File System","sectionPermissionId":"change-setting-File System","settingId":"FileUpload_FileSystemPath","sorter":NumberInt(24)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_GoogleStorage_AccessId","_updatedAt":new Date(1591734396755),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Google Cloud Storage","sectionPermissionId":"change-setting-Google Cloud Storage","settingId":"FileUpload_GoogleStorage_AccessId","sorter":NumberInt(20)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_GoogleStorage_Bucket","_updatedAt":new Date(1591734396754),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Google Cloud Storage","sectionPermissionId":"change-setting-Google Cloud Storage","settingId":"FileUpload_GoogleStorage_Bucket","sorter":NumberInt(19)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_GoogleStorage_Proxy_Avatars","_updatedAt":new Date(1591734396766),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Google Cloud Storage","sectionPermissionId":"change-setting-Google Cloud Storage","settingId":"FileUpload_GoogleStorage_Proxy_Avatars","sorter":NumberInt(22)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_GoogleStorage_Proxy_Uploads","_updatedAt":new Date(1591734396768),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Google Cloud Storage","sectionPermissionId":"change-setting-Google Cloud Storage","settingId":"FileUpload_GoogleStorage_Proxy_Uploads","sorter":NumberInt(23)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_GoogleStorage_Secret","_updatedAt":new Date(1591734395899),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Google Cloud Storage","sectionPermissionId":"change-setting-Google Cloud Storage","settingId":"FileUpload_GoogleStorage_Secret","sorter":NumberInt(21)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_MaxFileSize","_updatedAt":new Date(1591734395860),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"settingId":"FileUpload_MaxFileSize","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_MediaTypeWhiteList","_updatedAt":new Date(1591734396974),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"settingId":"FileUpload_MediaTypeWhiteList","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_ProtectFiles","_updatedAt":new Date(1591734395863),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"settingId":"FileUpload_ProtectFiles","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_S3_AWSAccessKeyId","_updatedAt":new Date(1591734395874),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Amazon S3","sectionPermissionId":"change-setting-Amazon S3","settingId":"FileUpload_S3_AWSAccessKeyId","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_S3_AWSSecretAccessKey","_updatedAt":new Date(1591734395877),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Amazon S3","sectionPermissionId":"change-setting-Amazon S3","settingId":"FileUpload_S3_AWSSecretAccessKey","sorter":NumberInt(10)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_S3_Acl","_updatedAt":new Date(1591734395872),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Amazon S3","sectionPermissionId":"change-setting-Amazon S3","settingId":"FileUpload_S3_Acl","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_S3_Bucket","_updatedAt":new Date(1591734395869),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Amazon S3","sectionPermissionId":"change-setting-Amazon S3","settingId":"FileUpload_S3_Bucket","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_S3_BucketURL","_updatedAt":new Date(1591734396752),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Amazon S3","sectionPermissionId":"change-setting-Amazon S3","settingId":"FileUpload_S3_BucketURL","sorter":NumberInt(13)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_S3_CDN","_updatedAt":new Date(1591734395880),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Amazon S3","sectionPermissionId":"change-setting-Amazon S3","settingId":"FileUpload_S3_CDN","sorter":NumberInt(11)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_S3_ForcePathStyle","_updatedAt":new Date(1591734395889),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Amazon S3","sectionPermissionId":"change-setting-Amazon S3","settingId":"FileUpload_S3_ForcePathStyle","sorter":NumberInt(15)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_S3_Proxy_Avatars","_updatedAt":new Date(1591734395894),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Amazon S3","sectionPermissionId":"change-setting-Amazon S3","settingId":"FileUpload_S3_Proxy_Avatars","sorter":NumberInt(17)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_S3_Proxy_Uploads","_updatedAt":new Date(1591734395897),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Amazon S3","sectionPermissionId":"change-setting-Amazon S3","settingId":"FileUpload_S3_Proxy_Uploads","sorter":NumberInt(18)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_S3_Region","_updatedAt":new Date(1591734395883),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Amazon S3","sectionPermissionId":"change-setting-Amazon S3","settingId":"FileUpload_S3_Region","sorter":NumberInt(12)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_S3_SignatureVersion","_updatedAt":new Date(1591734395887),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Amazon S3","sectionPermissionId":"change-setting-Amazon S3","settingId":"FileUpload_S3_SignatureVersion","sorter":NumberInt(14)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_S3_URLExpiryTimeSpan","_updatedAt":new Date(1591734395891),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Amazon S3","sectionPermissionId":"change-setting-Amazon S3","settingId":"FileUpload_S3_URLExpiryTimeSpan","sorter":NumberInt(16)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_Storage_Type","_updatedAt":new Date(1591734395867),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"settingId":"FileUpload_Storage_Type","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_Webdav_Password","_updatedAt":new Date(1591734395907),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"WebDAV","sectionPermissionId":"change-setting-WebDAV","settingId":"FileUpload_Webdav_Password","sorter":NumberInt(28)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_Webdav_Proxy_Avatars","_updatedAt":new Date(1591734395908),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"WebDAV","sectionPermissionId":"change-setting-WebDAV","settingId":"FileUpload_Webdav_Proxy_Avatars","sorter":NumberInt(29)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_Webdav_Proxy_Uploads","_updatedAt":new Date(1591734395911),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"WebDAV","sectionPermissionId":"change-setting-WebDAV","settingId":"FileUpload_Webdav_Proxy_Uploads","sorter":NumberInt(30)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_Webdav_Server_URL","_updatedAt":new Date(1591734395903),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"WebDAV","sectionPermissionId":"change-setting-WebDAV","settingId":"FileUpload_Webdav_Server_URL","sorter":NumberInt(26)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_Webdav_Upload_Folder_Path","_updatedAt":new Date(1591734396769),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"WebDAV","sectionPermissionId":"change-setting-WebDAV","settingId":"FileUpload_Webdav_Upload_Folder_Path","sorter":NumberInt(25)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_Webdav_Username","_updatedAt":new Date(1591734395905),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"WebDAV","sectionPermissionId":"change-setting-WebDAV","settingId":"FileUpload_Webdav_Username","sorter":NumberInt(27)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-FileUpload_json_web_token_secret_for_files","_updatedAt":new Date(1591734396750),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"settingId":"FileUpload_json_web_token_secret_for_files","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-First_Channel_After_Login","_updatedAt":new Date(1591734395527),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"First_Channel_After_Login","sorter":NumberInt(19)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Force_SSL","_updatedAt":new Date(1591734395551),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"Force_SSL","sorter":NumberInt(26)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Forgot_Password_Email","_updatedAt":new Date(1591734395226),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Forgot_password_section","sectionPermissionId":"change-setting-Forgot_password_section","settingId":"Forgot_Password_Email","sorter":NumberInt(39)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Forgot_Password_Email_Subject","_updatedAt":new Date(1591734395221),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Forgot_password_section","sectionPermissionId":"change-setting-Forgot_password_section","settingId":"Forgot_Password_Email_Subject","sorter":NumberInt(38)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-From_Email","_updatedAt":new Date(1591734395189),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"SMTP","sectionPermissionId":"change-setting-SMTP","settingId":"From_Email","sorter":NumberInt(27)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-General","_updatedAt":new Date(1591734395007),"level":"settings","roles":[],"settingId":"General"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-GoogleAnalytics_ID","_updatedAt":new Date(1591734394997),"group":"Analytics","groupPermissionId":"change-setting-Analytics","level":"settings","roles":[],"section":"Analytics_Google","sectionPermissionId":"change-setting-Analytics_Google","settingId":"GoogleAnalytics_ID","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-GoogleAnalytics_enabled","_updatedAt":new Date(1591734394992),"group":"Analytics","groupPermissionId":"change-setting-Analytics","level":"settings","roles":[],"section":"Analytics_Google","sectionPermissionId":"change-setting-Analytics_Google","settingId":"GoogleAnalytics_enabled","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-GoogleTagManager_id","_updatedAt":new Date(1591734395556),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"GoogleTagManager_id","sorter":NumberInt(28)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-GoogleVision_Block_Adult_Images","_updatedAt":new Date(1591734399020),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Google Vision","sectionPermissionId":"change-setting-Google Vision","settingId":"GoogleVision_Block_Adult_Images","sorter":NumberInt(44)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-GoogleVision_Current_Month_Calls","_updatedAt":new Date(1591734398911),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Google Vision","sectionPermissionId":"change-setting-Google Vision","settingId":"GoogleVision_Current_Month_Calls","sorter":NumberInt(36)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-GoogleVision_Enable","_updatedAt":new Date(1591734398823),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Google Vision","sectionPermissionId":"change-setting-Google Vision","settingId":"GoogleVision_Enable","sorter":NumberInt(32)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-GoogleVision_Max_Monthly_Calls","_updatedAt":new Date(1591734398845),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Google Vision","sectionPermissionId":"change-setting-Google Vision","settingId":"GoogleVision_Max_Monthly_Calls","sorter":NumberInt(34)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-GoogleVision_ServiceAccount","_updatedAt":new Date(1591734398833),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Google Vision","sectionPermissionId":"change-setting-Google Vision","settingId":"GoogleVision_ServiceAccount","sorter":NumberInt(33)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-GoogleVision_Type_Document","_updatedAt":new Date(1591734398926),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Google Vision","sectionPermissionId":"change-setting-Google Vision","settingId":"GoogleVision_Type_Document","sorter":NumberInt(37)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-GoogleVision_Type_Faces","_updatedAt":new Date(1591734398939),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Google Vision","sectionPermissionId":"change-setting-Google Vision","settingId":"GoogleVision_Type_Faces","sorter":NumberInt(38)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-GoogleVision_Type_Labels","_updatedAt":new Date(1591734398965),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Google Vision","sectionPermissionId":"change-setting-Google Vision","settingId":"GoogleVision_Type_Labels","sorter":NumberInt(40)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-GoogleVision_Type_Landmarks","_updatedAt":new Date(1591734398952),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Google Vision","sectionPermissionId":"change-setting-Google Vision","settingId":"GoogleVision_Type_Landmarks","sorter":NumberInt(39)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-GoogleVision_Type_Logos","_updatedAt":new Date(1591734398977),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Google Vision","sectionPermissionId":"change-setting-Google Vision","settingId":"GoogleVision_Type_Logos","sorter":NumberInt(41)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-GoogleVision_Type_Properties","_updatedAt":new Date(1591734398990),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Google Vision","sectionPermissionId":"change-setting-Google Vision","settingId":"GoogleVision_Type_Properties","sorter":NumberInt(42)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-GoogleVision_Type_SafeSearch","_updatedAt":new Date(1591734399004),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Google Vision","sectionPermissionId":"change-setting-Google Vision","settingId":"GoogleVision_Type_SafeSearch","sorter":NumberInt(43)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-GoogleVision_Type_Similar","_updatedAt":new Date(1591734399030),"group":"FileUpload","groupPermissionId":"change-setting-FileUpload","level":"settings","roles":[],"section":"Google Vision","sectionPermissionId":"change-setting-Google Vision","settingId":"GoogleVision_Type_Similar","sorter":NumberInt(45)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-HexColorPreview_Enabled","_updatedAt":new Date(1591734395935),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"Hex_Color_Preview","sectionPermissionId":"change-setting-Hex_Color_Preview","settingId":"HexColorPreview_Enabled","sorter":NumberInt(34)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Hide_System_Messages","_updatedAt":new Date(1591734395657),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Hide_System_Messages","sorter":NumberInt(31)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-IRC_Description","_updatedAt":new Date(1591734399212),"group":"IRC_Federation","groupPermissionId":"change-setting-IRC_Federation","level":"settings","roles":[],"settingId":"IRC_Description","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-IRC_Enabled","_updatedAt":new Date(1591734399173),"group":"IRC_Federation","groupPermissionId":"change-setting-IRC_Federation","level":"settings","roles":[],"settingId":"IRC_Enabled","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-IRC_Federation","_updatedAt":new Date(1591734399122),"level":"settings","roles":[],"settingId":"IRC_Federation"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-IRC_Host","_updatedAt":new Date(1591734399190),"group":"IRC_Federation","groupPermissionId":"change-setting-IRC_Federation","level":"settings","roles":[],"settingId":"IRC_Host","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-IRC_Local_Password","_updatedAt":new Date(1591734399220),"group":"IRC_Federation","groupPermissionId":"change-setting-IRC_Federation","level":"settings","roles":[],"settingId":"IRC_Local_Password","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-IRC_Name","_updatedAt":new Date(1591734399205),"group":"IRC_Federation","groupPermissionId":"change-setting-IRC_Federation","level":"settings","roles":[],"settingId":"IRC_Name","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-IRC_Peer_Password","_updatedAt":new Date(1591734399229),"group":"IRC_Federation","groupPermissionId":"change-setting-IRC_Federation","level":"settings","roles":[],"settingId":"IRC_Peer_Password","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-IRC_Port","_updatedAt":new Date(1591734399197),"group":"IRC_Federation","groupPermissionId":"change-setting-IRC_Federation","level":"settings","roles":[],"settingId":"IRC_Port","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-IRC_Protocol","_updatedAt":new Date(1591734399180),"group":"IRC_Federation","groupPermissionId":"change-setting-IRC_Federation","level":"settings","roles":[],"settingId":"IRC_Protocol","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-IRC_Reset_Connection","_updatedAt":new Date(1591734399237),"group":"IRC_Federation","groupPermissionId":"change-setting-IRC_Federation","level":"settings","roles":[],"settingId":"IRC_Reset_Connection","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Iframe_Integration_receive_enable","_updatedAt":new Date(1591734395580),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"Iframe_Integration","sectionPermissionId":"change-setting-Iframe_Integration","settingId":"Iframe_Integration_receive_enable","sorter":NumberInt(40)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Iframe_Integration_receive_origin","_updatedAt":new Date(1591734395582),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"Iframe_Integration","sectionPermissionId":"change-setting-Iframe_Integration","settingId":"Iframe_Integration_receive_origin","sorter":NumberInt(41)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Iframe_Integration_send_enable","_updatedAt":new Date(1591734395576),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"Iframe_Integration","sectionPermissionId":"change-setting-Iframe_Integration","settingId":"Iframe_Integration_send_enable","sorter":NumberInt(38)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Iframe_Integration_send_target_origin","_updatedAt":new Date(1591734395578),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"Iframe_Integration","sectionPermissionId":"change-setting-Iframe_Integration","settingId":"Iframe_Integration_send_target_origin","sorter":NumberInt(39)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Iframe_Restrict_Access","_updatedAt":new Date(1591734395522),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"Iframe_Restrict_Access","sorter":NumberInt(16)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Iframe_X_Frame_Options","_updatedAt":new Date(1591734395524),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"Iframe_X_Frame_Options","sorter":NumberInt(17)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Industry","_updatedAt":new Date(1591734395780),"group":"Setup_Wizard","groupPermissionId":"change-setting-Setup_Wizard","level":"settings","roles":[],"section":"Organization_Info","sectionPermissionId":"change-setting-Organization_Info","settingId":"Industry","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Invitation_Email","_updatedAt":new Date(1591734395219),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Invitation","sectionPermissionId":"change-setting-Invitation","settingId":"Invitation_Email","sorter":NumberInt(37)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Invitation_Subject","_updatedAt":new Date(1591734395216),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Invitation","sectionPermissionId":"change-setting-Invitation","settingId":"Invitation_Subject","sorter":NumberInt(36)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-IssueLinks_Enabled","_updatedAt":new Date(1591734396018),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"Issue_Links","sectionPermissionId":"change-setting-Issue_Links","settingId":"IssueLinks_Enabled","sorter":NumberInt(35)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-IssueLinks_Template","_updatedAt":new Date(1591734396020),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"Issue_Links","sectionPermissionId":"change-setting-Issue_Links","settingId":"IssueLinks_Template","sorter":NumberInt(36)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Jitsi_Application_ID","_updatedAt":new Date(1591734399579),"group":"Video Conference","groupPermissionId":"change-setting-Video Conference","level":"settings","roles":[],"section":"Jitsi","sectionPermissionId":"change-setting-Jitsi","settingId":"Jitsi_Application_ID","sorter":NumberInt(14)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Jitsi_Application_Secret","_updatedAt":new Date(1591734399589),"group":"Video Conference","groupPermissionId":"change-setting-Video Conference","level":"settings","roles":[],"section":"Jitsi","sectionPermissionId":"change-setting-Jitsi","settingId":"Jitsi_Application_Secret","sorter":NumberInt(15)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Jitsi_Chrome_Extension","_updatedAt":new Date(1591734399564),"group":"Video Conference","groupPermissionId":"change-setting-Video Conference","level":"settings","roles":[],"section":"Jitsi","sectionPermissionId":"change-setting-Jitsi","settingId":"Jitsi_Chrome_Extension","sorter":NumberInt(12)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Jitsi_Domain","_updatedAt":new Date(1591734399520),"group":"Video Conference","groupPermissionId":"change-setting-Video Conference","level":"settings","roles":[],"section":"Jitsi","sectionPermissionId":"change-setting-Jitsi","settingId":"Jitsi_Domain","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Jitsi_Enable_Channels","_updatedAt":new Date(1591734399551),"group":"Video Conference","groupPermissionId":"change-setting-Video Conference","level":"settings","roles":[],"section":"Jitsi","sectionPermissionId":"change-setting-Jitsi","settingId":"Jitsi_Enable_Channels","sorter":NumberInt(11)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Jitsi_Enabled","_updatedAt":new Date(1591734399511),"group":"Video Conference","groupPermissionId":"change-setting-Video Conference","level":"settings","roles":[],"section":"Jitsi","sectionPermissionId":"change-setting-Jitsi","settingId":"Jitsi_Enabled","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Jitsi_Enabled_TokenAuth","_updatedAt":new Date(1591734399572),"group":"Video Conference","groupPermissionId":"change-setting-Video Conference","level":"settings","roles":[],"section":"Jitsi","sectionPermissionId":"change-setting-Jitsi","settingId":"Jitsi_Enabled_TokenAuth","sorter":NumberInt(13)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Jitsi_Limit_Token_To_Room","_updatedAt":new Date(1591734399598),"group":"Video Conference","groupPermissionId":"change-setting-Video Conference","level":"settings","roles":[],"section":"Jitsi","sectionPermissionId":"change-setting-Jitsi","settingId":"Jitsi_Limit_Token_To_Room","sorter":NumberInt(16)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Jitsi_Open_New_Window","_updatedAt":new Date(1591734399543),"group":"Video Conference","groupPermissionId":"change-setting-Video Conference","level":"settings","roles":[],"section":"Jitsi","sectionPermissionId":"change-setting-Jitsi","settingId":"Jitsi_Open_New_Window","sorter":NumberInt(10)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Jitsi_SSL","_updatedAt":new Date(1591734399536),"group":"Video Conference","groupPermissionId":"change-setting-Video Conference","level":"settings","roles":[],"section":"Jitsi","sectionPermissionId":"change-setting-Jitsi","settingId":"Jitsi_SSL","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Jitsi_URL_Room_Prefix","_updatedAt":new Date(1591734399529),"group":"Video Conference","groupPermissionId":"change-setting-Video Conference","level":"settings","roles":[],"section":"Jitsi","sectionPermissionId":"change-setting-Jitsi","settingId":"Jitsi_URL_Room_Prefix","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Katex_Dollar_Syntax","_updatedAt":new Date(1591734399258),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"Katex","sectionPermissionId":"change-setting-Katex","settingId":"Katex_Dollar_Syntax","sorter":NumberInt(64)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Katex_Enabled","_updatedAt":new Date(1591734399244),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"Katex","sectionPermissionId":"change-setting-Katex","settingId":"Katex_Enabled","sorter":NumberInt(62)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Katex_Parenthesis_Syntax","_updatedAt":new Date(1591734399251),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"Katex","sectionPermissionId":"change-setting-Katex","settingId":"Katex_Parenthesis_Syntax","sorter":NumberInt(63)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP","_updatedAt":new Date(1591734396023),"level":"settings","roles":[],"settingId":"LDAP"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Authentication","_updatedAt":new Date(1591734396055),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Authentication","sectionPermissionId":"change-setting-Authentication","settingId":"LDAP_Authentication","sorter":NumberInt(12)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Authentication_Password","_updatedAt":new Date(1591734396784),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Authentication","sectionPermissionId":"change-setting-Authentication","settingId":"LDAP_Authentication_Password","sorter":NumberInt(14)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Authentication_UserDN","_updatedAt":new Date(1591734396781),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Authentication","sectionPermissionId":"change-setting-Authentication","settingId":"LDAP_Authentication_UserDN","sorter":NumberInt(13)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Background_Sync","_updatedAt":new Date(1591734396117),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Sync / Import","sectionPermissionId":"change-setting-Sync / Import","settingId":"LDAP_Background_Sync","sorter":NumberInt(45)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Background_Sync_Import_New_Users","_updatedAt":new Date(1591734396788),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Sync / Import","sectionPermissionId":"change-setting-Sync / Import","settingId":"LDAP_Background_Sync_Import_New_Users","sorter":NumberInt(47)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Background_Sync_Interval","_updatedAt":new Date(1591734396118),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Sync / Import","sectionPermissionId":"change-setting-Sync / Import","settingId":"LDAP_Background_Sync_Interval","sorter":NumberInt(46)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Background_Sync_Keep_Existant_Users_Updated","_updatedAt":new Date(1591734396120),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Sync / Import","sectionPermissionId":"change-setting-Sync / Import","settingId":"LDAP_Background_Sync_Keep_Existant_Users_Updated","sorter":NumberInt(48)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_BaseDN","_updatedAt":new Date(1591734396048),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"settingId":"LDAP_BaseDN","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_CA_Cert","_updatedAt":new Date(1591734396043),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"settingId":"LDAP_CA_Cert","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Connect_Timeout","_updatedAt":new Date(1591734396059),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Timeouts","sectionPermissionId":"change-setting-Timeouts","settingId":"LDAP_Connect_Timeout","sorter":NumberInt(16)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Default_Domain","_updatedAt":new Date(1591734396093),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Sync / Import","sectionPermissionId":"change-setting-Sync / Import","settingId":"LDAP_Default_Domain","sorter":NumberInt(31)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Enable","_updatedAt":new Date(1591734396027),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"settingId":"LDAP_Enable","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Encryption","_updatedAt":new Date(1591734396041),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"settingId":"LDAP_Encryption","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Find_User_After_Login","_updatedAt":new Date(1591734396031),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"settingId":"LDAP_Find_User_After_Login","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Group_Filter_Enable","_updatedAt":new Date(1591734396076),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"User Search (Group Validation)","sectionPermissionId":"change-setting-User Search (Group Validation)","settingId":"LDAP_Group_Filter_Enable","sorter":NumberInt(23)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Group_Filter_Group_Id_Attribute","_updatedAt":new Date(1591734396080),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"User Search (Group Validation)","sectionPermissionId":"change-setting-User Search (Group Validation)","settingId":"LDAP_Group_Filter_Group_Id_Attribute","sorter":NumberInt(25)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Group_Filter_Group_Member_Attribute","_updatedAt":new Date(1591734396082),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"User Search (Group Validation)","sectionPermissionId":"change-setting-User Search (Group Validation)","settingId":"LDAP_Group_Filter_Group_Member_Attribute","sorter":NumberInt(26)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Group_Filter_Group_Member_Format","_updatedAt":new Date(1591734396084),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"User Search (Group Validation)","sectionPermissionId":"change-setting-User Search (Group Validation)","settingId":"LDAP_Group_Filter_Group_Member_Format","sorter":NumberInt(27)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Group_Filter_Group_Name","_updatedAt":new Date(1591734396087),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"User Search (Group Validation)","sectionPermissionId":"change-setting-User Search (Group Validation)","settingId":"LDAP_Group_Filter_Group_Name","sorter":NumberInt(28)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Group_Filter_ObjectClass","_updatedAt":new Date(1591734396078),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"User Search (Group Validation)","sectionPermissionId":"change-setting-User Search (Group Validation)","settingId":"LDAP_Group_Filter_ObjectClass","sorter":NumberInt(24)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Host","_updatedAt":new Date(1591734396034),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"settingId":"LDAP_Host","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Idle_Timeout","_updatedAt":new Date(1591734396062),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Timeouts","sectionPermissionId":"change-setting-Timeouts","settingId":"LDAP_Idle_Timeout","sorter":NumberInt(17)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Internal_Log_Level","_updatedAt":new Date(1591734396050),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"settingId":"LDAP_Internal_Log_Level","sorter":NumberInt(10)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Login_Fallback","_updatedAt":new Date(1591734396029),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"settingId":"LDAP_Login_Fallback","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Merge_Existing_Users","_updatedAt":new Date(1591734396095),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Sync / Import","sectionPermissionId":"change-setting-Sync / Import","settingId":"LDAP_Merge_Existing_Users","sorter":NumberInt(32)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Port","_updatedAt":new Date(1591734396036),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"settingId":"LDAP_Port","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Reconnect","_updatedAt":new Date(1591734396039),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"settingId":"LDAP_Reconnect","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Reject_Unauthorized","_updatedAt":new Date(1591734396045),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"settingId":"LDAP_Reject_Unauthorized","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Search_Page_Size","_updatedAt":new Date(1591734396072),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"User Search","sectionPermissionId":"change-setting-User Search","settingId":"LDAP_Search_Page_Size","sorter":NumberInt(21)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Search_Size_Limit","_updatedAt":new Date(1591734396074),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"User Search","sectionPermissionId":"change-setting-User Search","settingId":"LDAP_Search_Size_Limit","sorter":NumberInt(22)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Sync_Now","_updatedAt":new Date(1591734396122),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Sync / Import","sectionPermissionId":"change-setting-Sync / Import","settingId":"LDAP_Sync_Now","sorter":NumberInt(49)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Sync_User_Avatar","_updatedAt":new Date(1591734396115),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Sync / Import","sectionPermissionId":"change-setting-Sync / Import","settingId":"LDAP_Sync_User_Avatar","sorter":NumberInt(44)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Sync_User_Data","_updatedAt":new Date(1591734396097),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Sync / Import","sectionPermissionId":"change-setting-Sync / Import","settingId":"LDAP_Sync_User_Data","sorter":NumberInt(33)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Sync_User_Data_FieldMap","_updatedAt":new Date(1591734396099),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Sync / Import","sectionPermissionId":"change-setting-Sync / Import","settingId":"LDAP_Sync_User_Data_FieldMap","sorter":NumberInt(34)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Sync_User_Data_Groups","_updatedAt":new Date(1591734396101),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Sync / Import","sectionPermissionId":"change-setting-Sync / Import","settingId":"LDAP_Sync_User_Data_Groups","sorter":NumberInt(35)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Sync_User_Data_GroupsMap","_updatedAt":new Date(1591734396106),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Sync / Import","sectionPermissionId":"change-setting-Sync / Import","settingId":"LDAP_Sync_User_Data_GroupsMap","sorter":NumberInt(39)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Sync_User_Data_Groups_AutoChannels","_updatedAt":new Date(1591734396108),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Sync / Import","sectionPermissionId":"change-setting-Sync / Import","settingId":"LDAP_Sync_User_Data_Groups_AutoChannels","sorter":NumberInt(40)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Sync_User_Data_Groups_AutoChannelsMap","_updatedAt":new Date(1591734396111),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Sync / Import","sectionPermissionId":"change-setting-Sync / Import","settingId":"LDAP_Sync_User_Data_Groups_AutoChannelsMap","sorter":NumberInt(42)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Sync_User_Data_Groups_AutoChannels_Admin","_updatedAt":new Date(1591734396109),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Sync / Import","sectionPermissionId":"change-setting-Sync / Import","settingId":"LDAP_Sync_User_Data_Groups_AutoChannels_Admin","sorter":NumberInt(41)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Sync_User_Data_Groups_AutoRemove","_updatedAt":new Date(1591734396103),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Sync / Import","sectionPermissionId":"change-setting-Sync / Import","settingId":"LDAP_Sync_User_Data_Groups_AutoRemove","sorter":NumberInt(36)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Sync_User_Data_Groups_BaseDN","_updatedAt":new Date(1591734396786),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Sync / Import","sectionPermissionId":"change-setting-Sync / Import","settingId":"LDAP_Sync_User_Data_Groups_BaseDN","sorter":NumberInt(38)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Sync_User_Data_Groups_Enforce_AutoChannels","_updatedAt":new Date(1591734396113),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Sync / Import","sectionPermissionId":"change-setting-Sync / Import","settingId":"LDAP_Sync_User_Data_Groups_Enforce_AutoChannels","sorter":NumberInt(43)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Sync_User_Data_Groups_Filter","_updatedAt":new Date(1591734396104),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Sync / Import","sectionPermissionId":"change-setting-Sync / Import","settingId":"LDAP_Sync_User_Data_Groups_Filter","sorter":NumberInt(37)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Test_Connection","_updatedAt":new Date(1591734396052),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"settingId":"LDAP_Test_Connection","sorter":NumberInt(11)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Timeout","_updatedAt":new Date(1591734396057),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Timeouts","sectionPermissionId":"change-setting-Timeouts","settingId":"LDAP_Timeout","sorter":NumberInt(15)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Unique_Identifier_Field","_updatedAt":new Date(1591734396091),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Sync / Import","sectionPermissionId":"change-setting-Sync / Import","settingId":"LDAP_Unique_Identifier_Field","sorter":NumberInt(30)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_User_Search_Field","_updatedAt":new Date(1591734396070),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"User Search","sectionPermissionId":"change-setting-User Search","settingId":"LDAP_User_Search_Field","sorter":NumberInt(20)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_User_Search_Filter","_updatedAt":new Date(1591734396065),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"User Search","sectionPermissionId":"change-setting-User Search","settingId":"LDAP_User_Search_Filter","sorter":NumberInt(18)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_User_Search_Scope","_updatedAt":new Date(1591734396067),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"User Search","sectionPermissionId":"change-setting-User Search","settingId":"LDAP_User_Search_Scope","sorter":NumberInt(19)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LDAP_Username_Field","_updatedAt":new Date(1591734396089),"group":"LDAP","groupPermissionId":"change-setting-LDAP","level":"settings","roles":[],"section":"Sync / Import","sectionPermissionId":"change-setting-Sync / Import","settingId":"LDAP_Username_Field","sorter":NumberInt(29)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Language","_updatedAt":new Date(1591734395519),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"Language","sorter":NumberInt(14)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Layout","_updatedAt":new Date(1591734395705),"level":"settings","roles":[],"settingId":"Layout"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Layout_Home_Body","_updatedAt":new Date(1591734395708),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Content","sectionPermissionId":"change-setting-Content","settingId":"Layout_Home_Body","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Layout_Home_Title","_updatedAt":new Date(1591734395707),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Content","sectionPermissionId":"change-setting-Content","settingId":"Layout_Home_Title","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Layout_Legal_Notice","_updatedAt":new Date(1591734395715),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Content","sectionPermissionId":"change-setting-Content","settingId":"Layout_Legal_Notice","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Layout_Login_Terms","_updatedAt":new Date(1591734395711),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Content","sectionPermissionId":"change-setting-Content","settingId":"Layout_Login_Terms","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Layout_Privacy_Policy","_updatedAt":new Date(1591734395713),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Content","sectionPermissionId":"change-setting-Content","settingId":"Layout_Privacy_Policy","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Layout_Show_Home_Button","_updatedAt":new Date(1591734396890),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Content","sectionPermissionId":"change-setting-Content","settingId":"Layout_Show_Home_Button","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Layout_Sidenav_Footer","_updatedAt":new Date(1591734395716),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Content","sectionPermissionId":"change-setting-Content","settingId":"Layout_Sidenav_Footer","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Layout_Terms_of_Service","_updatedAt":new Date(1591734395710),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Content","sectionPermissionId":"change-setting-Content","settingId":"Layout_Terms_of_Service","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-LiveStream & Broadcasting","_updatedAt":new Date(1591734399268),"level":"settings","roles":[],"settingId":"LiveStream & Broadcasting"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_Allow_collect_and_store_HTTP_header_informations","_updatedAt":new Date(1591734401050),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_Allow_collect_and_store_HTTP_header_informations","sorter":NumberInt(62),"section":"GDPR","sectionPermissionId":"change-setting-GDPR"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_AllowedDomainsList","_updatedAt":new Date(1591734400964),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_AllowedDomainsList","sorter":NumberInt(50),"section":"Livechat","sectionPermissionId":"change-setting-Livechat"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_External_Queue_Token","_updatedAt":new Date(1591734401044),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Routing","sectionPermissionId":"change-setting-Routing","settingId":"Livechat_External_Queue_Token","sorter":NumberInt(61)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_External_Queue_URL","_updatedAt":new Date(1591734401037),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Routing","sectionPermissionId":"change-setting-Routing","settingId":"Livechat_External_Queue_URL","sorter":NumberInt(60)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_Facebook_API_Key","_updatedAt":new Date(1591734400979),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Facebook","sectionPermissionId":"change-setting-Facebook","settingId":"Livechat_Facebook_API_Key","sorter":NumberInt(52)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_Facebook_API_Secret","_updatedAt":new Date(1591734400987),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Facebook","sectionPermissionId":"change-setting-Facebook","settingId":"Livechat_Facebook_API_Secret","sorter":NumberInt(53)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_Facebook_Enabled","_updatedAt":new Date(1591734400972),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Facebook","sectionPermissionId":"change-setting-Facebook","settingId":"Livechat_Facebook_Enabled","sorter":NumberInt(51)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_Knowledge_Apiai_Key","_updatedAt":new Date(1591734400867),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Knowledge_Base","sectionPermissionId":"change-setting-Knowledge_Base","settingId":"Livechat_Knowledge_Apiai_Key","sorter":NumberInt(38)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_Knowledge_Apiai_Language","_updatedAt":new Date(1591734400876),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Knowledge_Base","sectionPermissionId":"change-setting-Knowledge_Base","settingId":"Livechat_Knowledge_Apiai_Language","sorter":NumberInt(39)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_Knowledge_Enabled","_updatedAt":new Date(1591734400860),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Knowledge_Base","sectionPermissionId":"change-setting-Knowledge_Base","settingId":"Livechat_Knowledge_Enabled","sorter":NumberInt(37)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_RDStation_Token","_updatedAt":new Date(1591734400997),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"RD Station","sectionPermissionId":"change-setting-RD Station","settingId":"Livechat_RDStation_Token","sorter":NumberInt(54)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_Room_Count","_updatedAt":new Date(1591734400722),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_Room_Count","sorter":NumberInt(25)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_Routing_Method","_updatedAt":new Date(1591734401004),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Routing","sectionPermissionId":"change-setting-Routing","settingId":"Livechat_Routing_Method","sorter":NumberInt(55)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_Visitor_navigation_as_a_message","_updatedAt":new Date(1591734400891),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_Visitor_navigation_as_a_message","sorter":NumberInt(41),"section":"Livechat","sectionPermissionId":"change-setting-Livechat"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_accept_chats_with_no_agents","_updatedAt":new Date(1591734401012),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Routing","sectionPermissionId":"change-setting-Routing","settingId":"Livechat_accept_chats_with_no_agents","sorter":NumberInt(56)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_agent_leave_action","_updatedAt":new Date(1591734401074),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Sessions","sectionPermissionId":"change-setting-Sessions","settingId":"Livechat_agent_leave_action","sorter":NumberInt(65)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_agent_leave_action_timeout","_updatedAt":new Date(1591734401081),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Sessions","sectionPermissionId":"change-setting-Sessions","settingId":"Livechat_agent_leave_action_timeout","sorter":NumberInt(66)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_agent_leave_comment","_updatedAt":new Date(1591734401088),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Sessions","sectionPermissionId":"change-setting-Sessions","settingId":"Livechat_agent_leave_comment","sorter":NumberInt(67)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_allow_online_agents_outside_office_hours","_updatedAt":new Date(1591734400907),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_allow_online_agents_outside_office_hours","sorter":NumberInt(43)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_allow_switching_departments","_updatedAt":new Date(1591734400505),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_allow_switching_departments","sorter":NumberInt(15),"section":"Livechat","sectionPermissionId":"change-setting-Livechat"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_assign_new_conversation_to_bot","_updatedAt":new Date(1591734401018),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Routing","sectionPermissionId":"change-setting-Routing","settingId":"Livechat_assign_new_conversation_to_bot","sorter":NumberInt(57)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_continuous_sound_notification_new_livechat_room","_updatedAt":new Date(1591734400914),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_continuous_sound_notification_new_livechat_room","sorter":NumberInt(44)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_conversation_finished_message","_updatedAt":new Date(1591734400614),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_conversation_finished_message","sorter":NumberInt(19),"section":"Livechat","sectionPermissionId":"change-setting-Livechat"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_conversation_finished_text","_updatedAt":new Date(1591734400629),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_conversation_finished_text","sorter":NumberInt(20),"section":"Livechat","sectionPermissionId":"change-setting-Livechat"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_data_processing_consent_text","_updatedAt":new Date(1591734401066),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_data_processing_consent_text","sorter":NumberInt(64),"section":"GDPR","sectionPermissionId":"change-setting-GDPR"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_display_offline_form","_updatedAt":new Date(1591734400351),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Livechat","sectionPermissionId":"change-setting-Livechat","settingId":"Livechat_display_offline_form","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_email_field_registration_form","_updatedAt":new Date(1591734400685),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_email_field_registration_form","sorter":NumberInt(23),"section":"Livechat","sectionPermissionId":"change-setting-Livechat"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_enable_office_hours","_updatedAt":new Date(1591734400900),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_enable_office_hours","sorter":NumberInt(42)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_enable_transcript","_updatedAt":new Date(1591734400939),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_enable_transcript","sorter":NumberInt(47)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_enabled","_updatedAt":new Date(1591734400318),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_enabled","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_enabled_when_agent_idle","_updatedAt":new Date(1591734400733),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_enabled_when_agent_idle","sorter":NumberInt(26)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_fileupload_enabled","_updatedAt":new Date(1591734400930),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_fileupload_enabled","sorter":NumberInt(46)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_force_accept_data_processing_consent","_updatedAt":new Date(1591734401059),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_force_accept_data_processing_consent","sorter":NumberInt(63),"section":"GDPR","sectionPermissionId":"change-setting-GDPR"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_guest_count","_updatedAt":new Date(1591734400696),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_guest_count","sorter":NumberInt(24)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_guest_pool_max_number_incoming_livechats_displayed","_updatedAt":new Date(1591734401024),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Routing","sectionPermissionId":"change-setting-Routing","settingId":"Livechat_guest_pool_max_number_incoming_livechats_displayed","sorter":NumberInt(58)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_history_monitor_type","_updatedAt":new Date(1591734400882),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_history_monitor_type","sorter":NumberInt(40),"section":"Livechat","sectionPermissionId":"change-setting-Livechat"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_lead_email_regex","_updatedAt":new Date(1591734400845),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"CRM_Integration","sectionPermissionId":"change-setting-CRM_Integration","settingId":"Livechat_lead_email_regex","sorter":NumberInt(35)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_lead_phone_regex","_updatedAt":new Date(1591734400851),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"CRM_Integration","sectionPermissionId":"change-setting-CRM_Integration","settingId":"Livechat_lead_phone_regex","sorter":NumberInt(36)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_name_field_registration_form","_updatedAt":new Date(1591734400672),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_name_field_registration_form","sorter":NumberInt(22),"section":"Livechat","sectionPermissionId":"change-setting-Livechat"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_offline_email","_updatedAt":new Date(1591734400453),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Livechat","sectionPermissionId":"change-setting-Livechat","settingId":"Livechat_offline_email","sorter":NumberInt(13)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_offline_form_unavailable","_updatedAt":new Date(1591734400386),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Livechat","sectionPermissionId":"change-setting-Livechat","settingId":"Livechat_offline_form_unavailable","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_offline_message","_updatedAt":new Date(1591734400433),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Livechat","sectionPermissionId":"change-setting-Livechat","settingId":"Livechat_offline_message","sorter":NumberInt(12)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_offline_success_message","_updatedAt":new Date(1591734400476),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Livechat","sectionPermissionId":"change-setting-Livechat","settingId":"Livechat_offline_success_message","sorter":NumberInt(14)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_offline_title","_updatedAt":new Date(1591734400400),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Livechat","sectionPermissionId":"change-setting-Livechat","settingId":"Livechat_offline_title","sorter":NumberInt(10)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_offline_title_color","_updatedAt":new Date(1591734400420),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Livechat","sectionPermissionId":"change-setting-Livechat","settingId":"Livechat_offline_title_color","sorter":NumberInt(11)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_registration_form","_updatedAt":new Date(1591734400639),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_registration_form","sorter":NumberInt(21),"section":"Livechat","sectionPermissionId":"change-setting-Livechat"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_registration_form_message","_updatedAt":new Date(1591734400956),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_registration_form_message","sorter":NumberInt(49),"section":"Livechat","sectionPermissionId":"change-setting-Livechat"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_request_comment_when_closing_conversation","_updatedAt":new Date(1591734400603),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_request_comment_when_closing_conversation","sorter":NumberInt(18)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_secret_token","_updatedAt":new Date(1591734400752),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"CRM_Integration","sectionPermissionId":"change-setting-CRM_Integration","settingId":"Livechat_secret_token","sorter":NumberInt(28)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_show_agent_email","_updatedAt":new Date(1591734400556),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_show_agent_email","sorter":NumberInt(17),"section":"Livechat","sectionPermissionId":"change-setting-Livechat"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_show_agent_info","_updatedAt":new Date(1591734400532),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_show_agent_info","sorter":NumberInt(16),"section":"Livechat","sectionPermissionId":"change-setting-Livechat"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_show_queue_list_link","_updatedAt":new Date(1591734401030),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Routing","sectionPermissionId":"change-setting-Routing","settingId":"Livechat_show_queue_list_link","sorter":NumberInt(59)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_title","_updatedAt":new Date(1591734400327),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_title","sorter":NumberInt(5),"section":"Livechat","sectionPermissionId":"change-setting-Livechat"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_title_color","_updatedAt":new Date(1591734400338),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_title_color","sorter":NumberInt(6),"section":"Livechat","sectionPermissionId":"change-setting-Livechat"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_transcript_message","_updatedAt":new Date(1591734400947),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_transcript_message","sorter":NumberInt(48)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_validate_offline_email","_updatedAt":new Date(1591734400372),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Livechat","sectionPermissionId":"change-setting-Livechat","settingId":"Livechat_validate_offline_email","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_videocall_enabled","_updatedAt":new Date(1591734400923),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"settingId":"Livechat_videocall_enabled","sorter":NumberInt(45),"section":"Livechat","sectionPermissionId":"change-setting-Livechat"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_visitor_inactivity_timeout","_updatedAt":new Date(1591734401096),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"Sessions","sectionPermissionId":"change-setting-Sessions","settingId":"Livechat_visitor_inactivity_timeout","sorter":NumberInt(68)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_webhookUrl","_updatedAt":new Date(1591734400740),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"CRM_Integration","sectionPermissionId":"change-setting-CRM_Integration","settingId":"Livechat_webhookUrl","sorter":NumberInt(27)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_webhook_on_agent_message","_updatedAt":new Date(1591734400798),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"CRM_Integration","sectionPermissionId":"change-setting-CRM_Integration","settingId":"Livechat_webhook_on_agent_message","sorter":NumberInt(32)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_webhook_on_capture","_updatedAt":new Date(1591734400832),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"CRM_Integration","sectionPermissionId":"change-setting-CRM_Integration","settingId":"Livechat_webhook_on_capture","sorter":NumberInt(34)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_webhook_on_close","_updatedAt":new Date(1591734400762),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"CRM_Integration","sectionPermissionId":"change-setting-CRM_Integration","settingId":"Livechat_webhook_on_close","sorter":NumberInt(29)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_webhook_on_offline_msg","_updatedAt":new Date(1591734400777),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"CRM_Integration","sectionPermissionId":"change-setting-CRM_Integration","settingId":"Livechat_webhook_on_offline_msg","sorter":NumberInt(30)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livechat_webhook_on_visitor_message","_updatedAt":new Date(1591734400789),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"CRM_Integration","sectionPermissionId":"change-setting-CRM_Integration","settingId":"Livechat_webhook_on_visitor_message","sorter":NumberInt(31)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Livestream_enabled","_updatedAt":new Date(1591734399274),"group":"LiveStream & Broadcasting","groupPermissionId":"change-setting-LiveStream & Broadcasting","level":"settings","roles":[],"settingId":"Livestream_enabled","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Log_Exceptions_to_Channel","_updatedAt":new Date(1591734395990),"group":"Logs","groupPermissionId":"change-setting-Logs","level":"settings","roles":[],"settingId":"Log_Exceptions_to_Channel","sorter":NumberInt(13)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Log_File","_updatedAt":new Date(1591734395757),"group":"Logs","groupPermissionId":"change-setting-Logs","level":"settings","roles":[],"settingId":"Log_File","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Log_Level","_updatedAt":new Date(1591734395752),"group":"Logs","groupPermissionId":"change-setting-Logs","level":"settings","roles":[],"settingId":"Log_Level","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Log_Package","_updatedAt":new Date(1591734395754),"group":"Logs","groupPermissionId":"change-setting-Logs","level":"settings","roles":[],"settingId":"Log_Package","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Log_Trace_Methods","_updatedAt":new Date(1591734395761),"group":"Logs","groupPermissionId":"change-setting-Logs","level":"settings","roles":[],"settingId":"Log_Trace_Methods","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Log_Trace_Methods_Filter","_updatedAt":new Date(1591734395763),"group":"Logs","groupPermissionId":"change-setting-Logs","level":"settings","roles":[],"settingId":"Log_Trace_Methods_Filter","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Log_Trace_Subscriptions","_updatedAt":new Date(1591734395765),"group":"Logs","groupPermissionId":"change-setting-Logs","level":"settings","roles":[],"settingId":"Log_Trace_Subscriptions","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Log_Trace_Subscriptions_Filter","_updatedAt":new Date(1591734395767),"group":"Logs","groupPermissionId":"change-setting-Logs","level":"settings","roles":[],"settingId":"Log_Trace_Subscriptions_Filter","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Log_View_Limit","_updatedAt":new Date(1591734395759),"group":"Logs","groupPermissionId":"change-setting-Logs","level":"settings","roles":[],"settingId":"Log_View_Limit","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Logs","_updatedAt":new Date(1591734395745),"level":"settings","roles":[],"settingId":"Logs"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-MapView_Enabled","_updatedAt":new Date(1591734399321),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"Google Maps","sectionPermissionId":"change-setting-Google Maps","settingId":"MapView_Enabled","sorter":NumberInt(65)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-MapView_GMapsAPIKey","_updatedAt":new Date(1591734399328),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"Google Maps","sectionPermissionId":"change-setting-Google Maps","settingId":"MapView_GMapsAPIKey","sorter":NumberInt(66)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Markdown_Headers","_updatedAt":new Date(1591734397431),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"Markdown","sectionPermissionId":"change-setting-Markdown","settingId":"Markdown_Headers","sorter":NumberInt(41)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Markdown_Marked_Breaks","_updatedAt":new Date(1591734397491),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"Markdown","sectionPermissionId":"change-setting-Markdown","settingId":"Markdown_Marked_Breaks","sorter":NumberInt(45)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Markdown_Marked_GFM","_updatedAt":new Date(1591734397460),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"Markdown","sectionPermissionId":"change-setting-Markdown","settingId":"Markdown_Marked_GFM","sorter":NumberInt(43)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Markdown_Marked_Pedantic","_updatedAt":new Date(1591734397506),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"Markdown","sectionPermissionId":"change-setting-Markdown","settingId":"Markdown_Marked_Pedantic","sorter":NumberInt(46)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Markdown_Marked_SmartLists","_updatedAt":new Date(1591734397536),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"Markdown","sectionPermissionId":"change-setting-Markdown","settingId":"Markdown_Marked_SmartLists","sorter":NumberInt(47)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Markdown_Marked_Smartypants","_updatedAt":new Date(1591734397553),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"Markdown","sectionPermissionId":"change-setting-Markdown","settingId":"Markdown_Marked_Smartypants","sorter":NumberInt(48)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Markdown_Marked_Tables","_updatedAt":new Date(1591734397479),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"Markdown","sectionPermissionId":"change-setting-Markdown","settingId":"Markdown_Marked_Tables","sorter":NumberInt(44)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Markdown_Parser","_updatedAt":new Date(1591734397414),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"Markdown","sectionPermissionId":"change-setting-Markdown","settingId":"Markdown_Parser","sorter":NumberInt(40)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Markdown_SupportSchemesForLink","_updatedAt":new Date(1591734397449),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"Markdown","sectionPermissionId":"change-setting-Markdown","settingId":"Markdown_SupportSchemesForLink","sorter":NumberInt(42)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message","_updatedAt":new Date(1591734395588),"level":"settings","roles":[],"settingId":"Message"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_AllowBadWordsFilter","_updatedAt":new Date(1591734395610),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_AllowBadWordsFilter","sorter":NumberInt(12)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_AllowConvertLongMessagesToAttachment","_updatedAt":new Date(1591734395622),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_AllowConvertLongMessagesToAttachment","sorter":NumberInt(17)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_AllowDeleting","_updatedAt":new Date(1591734395598),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_AllowDeleting","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_AllowDeleting_BlockDeleteInMinutes","_updatedAt":new Date(1591734395600),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_AllowDeleting_BlockDeleteInMinutes","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_AllowDirectMessagesToYourself","_updatedAt":new Date(1591734395603),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_AllowDirectMessagesToYourself","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_AllowEditing","_updatedAt":new Date(1591734395595),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_AllowEditing","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_AllowEditing_BlockEditInMinutes","_updatedAt":new Date(1591734395597),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_AllowEditing_BlockEditInMinutes","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_AllowPinning","_updatedAt":new Date(1591734399337),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_AllowPinning","sorter":NumberInt(67)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_AllowSnippeting","_updatedAt":new Date(1591734399345),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_AllowSnippeting","sorter":NumberInt(68)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_AllowStarring","_updatedAt":new Date(1591734399352),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_AllowStarring","sorter":NumberInt(69)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_AllowUnrecognizedSlashCommand","_updatedAt":new Date(1591734395602),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_AllowUnrecognizedSlashCommand","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_AlwaysSearchRegExp","_updatedAt":new Date(1591734395605),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_AlwaysSearchRegExp","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_Attachments_GroupAttach","_updatedAt":new Date(1591734395590),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"Message_Attachments","sectionPermissionId":"change-setting-Message_Attachments","settingId":"Message_Attachments_GroupAttach","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_AudioRecorderEnabled","_updatedAt":new Date(1591734395592),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"Message_Audio","sectionPermissionId":"change-setting-Message_Audio","settingId":"Message_AudioRecorderEnabled","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_Audio_bitRate","_updatedAt":new Date(1591734395593),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"section":"Message_Audio","sectionPermissionId":"change-setting-Message_Audio","settingId":"Message_Audio_bitRate","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_BadWordsFilterList","_updatedAt":new Date(1591734395612),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_BadWordsFilterList","sorter":NumberInt(13)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_DateFormat","_updatedAt":new Date(1591734395651),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_DateFormat","sorter":NumberInt(28)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_ErasureType","_updatedAt":new Date(1591734395659),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_ErasureType","sorter":NumberInt(33)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_GroupingPeriod","_updatedAt":new Date(1591734395627),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_GroupingPeriod","sorter":NumberInt(19)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_KeepHistory","_updatedAt":new Date(1591734395614),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_KeepHistory","sorter":NumberInt(14)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_MaxAll","_updatedAt":new Date(1591734395617),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_MaxAll","sorter":NumberInt(15)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_MaxAllowedSize","_updatedAt":new Date(1591734395619),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_MaxAllowedSize","sorter":NumberInt(16)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_QuoteChainLimit","_updatedAt":new Date(1591734395655),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_QuoteChainLimit","sorter":NumberInt(30)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_Read_Receipt_Enabled","_updatedAt":new Date(1591734396270),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_Read_Receipt_Enabled","sorter":NumberInt(38)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_Read_Receipt_Store_Users","_updatedAt":new Date(1591734396272),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_Read_Receipt_Store_Users","sorter":NumberInt(39)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_ShowDeletedStatus","_updatedAt":new Date(1591734395609),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_ShowDeletedStatus","sorter":NumberInt(11)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_ShowEditedStatus","_updatedAt":new Date(1591734395607),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_ShowEditedStatus","sorter":NumberInt(10)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_ShowFormattingTips","_updatedAt":new Date(1591734395625),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_ShowFormattingTips","sorter":NumberInt(18)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_TimeAndDateFormat","_updatedAt":new Date(1591734395653),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_TimeAndDateFormat","sorter":NumberInt(29)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_TimeFormat","_updatedAt":new Date(1591734395644),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_TimeFormat","sorter":NumberInt(27)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Message_VideoRecorderEnabled","_updatedAt":new Date(1591734396227),"group":"Message","groupPermissionId":"change-setting-Message","level":"settings","roles":[],"settingId":"Message_VideoRecorderEnabled","sorter":NumberInt(37)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Meta","_updatedAt":new Date(1591734395661),"level":"settings","roles":[],"settingId":"Meta"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Meta_custom","_updatedAt":new Date(1591734395675),"group":"Meta","groupPermissionId":"change-setting-Meta","level":"settings","roles":[],"settingId":"Meta_custom","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Meta_fb_app_id","_updatedAt":new Date(1591734395667),"group":"Meta","groupPermissionId":"change-setting-Meta","level":"settings","roles":[],"settingId":"Meta_fb_app_id","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Meta_google-site-verification","_updatedAt":new Date(1591734395670),"group":"Meta","groupPermissionId":"change-setting-Meta","level":"settings","roles":[],"settingId":"Meta_google-site-verification","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Meta_language","_updatedAt":new Date(1591734395664),"group":"Meta","groupPermissionId":"change-setting-Meta","level":"settings","roles":[],"settingId":"Meta_language","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Meta_msvalidate01","_updatedAt":new Date(1591734395673),"group":"Meta","groupPermissionId":"change-setting-Meta","level":"settings","roles":[],"settingId":"Meta_msvalidate01","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Meta_robots","_updatedAt":new Date(1591734395668),"group":"Meta","groupPermissionId":"change-setting-Meta","level":"settings","roles":[],"settingId":"Meta_robots","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Notifications_Max_Room_Members","_updatedAt":new Date(1591734395572),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"Notifications","sectionPermissionId":"change-setting-Notifications","settingId":"Notifications_Max_Room_Members","sorter":NumberInt(36)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-OAuth","_updatedAt":new Date(1591734395116),"level":"settings","roles":[],"settingId":"OAuth"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-OTR","_updatedAt":new Date(1591734396138),"level":"settings","roles":[],"settingId":"OTR"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-OTR_Enable","_updatedAt":new Date(1591734396140),"group":"OTR","groupPermissionId":"change-setting-OTR","level":"settings","roles":[],"settingId":"OTR_Enable","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Offline_DM_Email","_updatedAt":new Date(1591734395098),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Subject","sectionPermissionId":"change-setting-Subject","settingId":"Offline_DM_Email","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Offline_Mention_All_Email","_updatedAt":new Date(1591734395103),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Subject","sectionPermissionId":"change-setting-Subject","settingId":"Offline_Mention_All_Email","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Offline_Mention_Email","_updatedAt":new Date(1591734395100),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Subject","sectionPermissionId":"change-setting-Subject","settingId":"Offline_Mention_Email","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Offline_Message_Use_DeepLink","_updatedAt":new Date(1591734396881),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Offline_Message","sectionPermissionId":"change-setting-Offline_Message","settingId":"Offline_Message_Use_DeepLink","sorter":NumberInt(35)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Omnichannel","_updatedAt":new Date(1591734400301),"level":"settings","roles":[],"settingId":"Omnichannel"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Omnichannel_External_Frame_Enabled","_updatedAt":new Date(1591734396931),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"External Frame","sectionPermissionId":"change-setting-External Frame","settingId":"Omnichannel_External_Frame_Enabled","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Omnichannel_External_Frame_Encryption_JWK","_updatedAt":new Date(1591734396976),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"External Frame","sectionPermissionId":"change-setting-External Frame","settingId":"Omnichannel_External_Frame_Encryption_JWK","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Omnichannel_External_Frame_GenerateKey","_updatedAt":new Date(1591734396978),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"External Frame","sectionPermissionId":"change-setting-External Frame","settingId":"Omnichannel_External_Frame_GenerateKey","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Omnichannel_External_Frame_URL","_updatedAt":new Date(1591734396991),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"External Frame","sectionPermissionId":"change-setting-External Frame","settingId":"Omnichannel_External_Frame_URL","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Organization_Email","_updatedAt":new Date(1591734395796),"group":"Setup_Wizard","groupPermissionId":"change-setting-Setup_Wizard","level":"settings","roles":[],"section":"Organization_Info","sectionPermissionId":"change-setting-Organization_Info","settingId":"Organization_Email","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Organization_Name","_updatedAt":new Date(1591734395777),"group":"Setup_Wizard","groupPermissionId":"change-setting-Setup_Wizard","level":"settings","roles":[],"section":"Organization_Info","sectionPermissionId":"change-setting-Organization_Info","settingId":"Organization_Name","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Organization_Type","_updatedAt":new Date(1591734395775),"group":"Setup_Wizard","groupPermissionId":"change-setting-Setup_Wizard","level":"settings","roles":[],"section":"Organization_Info","sectionPermissionId":"change-setting-Organization_Info","settingId":"Organization_Type","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Password_Changed_Email","_updatedAt":new Date(1591734395237),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Password_changed_section","sectionPermissionId":"change-setting-Password_changed_section","settingId":"Password_Changed_Email","sorter":NumberInt(43)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Password_Changed_Email_Subject","_updatedAt":new Date(1591734395235),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Password_changed_section","sectionPermissionId":"change-setting-Password_changed_section","settingId":"Password_Changed_Email_Subject","sorter":NumberInt(42)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-PiwikAdditionalTrackers","_updatedAt":new Date(1591734394981),"group":"Analytics","groupPermissionId":"change-setting-Analytics","level":"settings","roles":[],"section":"Piwik","sectionPermissionId":"change-setting-Piwik","settingId":"PiwikAdditionalTrackers","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-PiwikAnalytics_cookieDomain","_updatedAt":new Date(1591734394986),"group":"Analytics","groupPermissionId":"change-setting-Analytics","level":"settings","roles":[],"section":"Piwik","sectionPermissionId":"change-setting-Piwik","settingId":"PiwikAnalytics_cookieDomain","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-PiwikAnalytics_domains","_updatedAt":new Date(1591734394989),"group":"Analytics","groupPermissionId":"change-setting-Analytics","level":"settings","roles":[],"section":"Piwik","sectionPermissionId":"change-setting-Piwik","settingId":"PiwikAnalytics_domains","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-PiwikAnalytics_enabled","_updatedAt":new Date(1591734394972),"group":"Analytics","groupPermissionId":"change-setting-Analytics","level":"settings","roles":[],"section":"Piwik","sectionPermissionId":"change-setting-Piwik","settingId":"PiwikAnalytics_enabled","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-PiwikAnalytics_prependDomain","_updatedAt":new Date(1591734394984),"group":"Analytics","groupPermissionId":"change-setting-Analytics","level":"settings","roles":[],"section":"Piwik","sectionPermissionId":"change-setting-Piwik","settingId":"PiwikAnalytics_prependDomain","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-PiwikAnalytics_siteId","_updatedAt":new Date(1591734394978),"group":"Analytics","groupPermissionId":"change-setting-Analytics","level":"settings","roles":[],"section":"Piwik","sectionPermissionId":"change-setting-Piwik","settingId":"PiwikAnalytics_siteId","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-PiwikAnalytics_url","_updatedAt":new Date(1591734394975),"group":"Analytics","groupPermissionId":"change-setting-Analytics","level":"settings","roles":[],"section":"Piwik","sectionPermissionId":"change-setting-Piwik","settingId":"PiwikAnalytics_url","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Prometheus_API_User_Agent","_updatedAt":new Date(1591734396897),"group":"Logs","groupPermissionId":"change-setting-Logs","level":"settings","roles":[],"section":"Prometheus","sectionPermissionId":"change-setting-Prometheus","settingId":"Prometheus_API_User_Agent","sorter":NumberInt(12)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Prometheus_Enabled","_updatedAt":new Date(1591734395769),"group":"Logs","groupPermissionId":"change-setting-Logs","level":"settings","roles":[],"section":"Prometheus","sectionPermissionId":"change-setting-Prometheus","settingId":"Prometheus_Enabled","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Prometheus_Garbage_Collector","_updatedAt":new Date(1591734396894),"group":"Logs","groupPermissionId":"change-setting-Logs","level":"settings","roles":[],"section":"Prometheus","sectionPermissionId":"change-setting-Prometheus","settingId":"Prometheus_Garbage_Collector","sorter":NumberInt(11)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Prometheus_Port","_updatedAt":new Date(1591734395771),"group":"Logs","groupPermissionId":"change-setting-Logs","level":"settings","roles":[],"section":"Prometheus","sectionPermissionId":"change-setting-Prometheus","settingId":"Prometheus_Port","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Prometheus_Reset_Interval","_updatedAt":new Date(1591734396892),"group":"Logs","groupPermissionId":"change-setting-Logs","level":"settings","roles":[],"section":"Prometheus","sectionPermissionId":"change-setting-Prometheus","settingId":"Prometheus_Reset_Interval","sorter":NumberInt(10)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Push","_updatedAt":new Date(1591734395677),"level":"settings","roles":[],"settingId":"Push"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Push_apn_cert","_updatedAt":new Date(1591734395692),"group":"Push","groupPermissionId":"change-setting-Push","level":"settings","roles":[],"section":"Certificates_and_Keys","sectionPermissionId":"change-setting-Certificates_and_Keys","settingId":"Push_apn_cert","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Push_apn_dev_cert","_updatedAt":new Date(1591734395697),"group":"Push","groupPermissionId":"change-setting-Push","level":"settings","roles":[],"section":"Certificates_and_Keys","sectionPermissionId":"change-setting-Certificates_and_Keys","settingId":"Push_apn_dev_cert","sorter":NumberInt(10)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Push_apn_dev_key","_updatedAt":new Date(1591734395695),"group":"Push","groupPermissionId":"change-setting-Push","level":"settings","roles":[],"section":"Certificates_and_Keys","sectionPermissionId":"change-setting-Certificates_and_Keys","settingId":"Push_apn_dev_key","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Push_apn_dev_passphrase","_updatedAt":new Date(1591734395693),"group":"Push","groupPermissionId":"change-setting-Push","level":"settings","roles":[],"section":"Certificates_and_Keys","sectionPermissionId":"change-setting-Certificates_and_Keys","settingId":"Push_apn_dev_passphrase","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Push_apn_key","_updatedAt":new Date(1591734395690),"group":"Push","groupPermissionId":"change-setting-Push","level":"settings","roles":[],"section":"Certificates_and_Keys","sectionPermissionId":"change-setting-Certificates_and_Keys","settingId":"Push_apn_key","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Push_apn_passphrase","_updatedAt":new Date(1591734395688),"group":"Push","groupPermissionId":"change-setting-Push","level":"settings","roles":[],"section":"Certificates_and_Keys","sectionPermissionId":"change-setting-Certificates_and_Keys","settingId":"Push_apn_passphrase","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Push_enable","_updatedAt":new Date(1591734395679),"group":"Push","groupPermissionId":"change-setting-Push","level":"settings","roles":[],"settingId":"Push_enable","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Push_enable_gateway","_updatedAt":new Date(1591734395681),"group":"Push","groupPermissionId":"change-setting-Push","level":"settings","roles":[],"settingId":"Push_enable_gateway","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Push_gateway","_updatedAt":new Date(1591734395683),"group":"Push","groupPermissionId":"change-setting-Push","level":"settings","roles":[],"settingId":"Push_gateway","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Push_gcm_api_key","_updatedAt":new Date(1591734395698),"group":"Push","groupPermissionId":"change-setting-Push","level":"settings","roles":[],"section":"Certificates_and_Keys","sectionPermissionId":"change-setting-Certificates_and_Keys","settingId":"Push_gcm_api_key","sorter":NumberInt(11)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Push_gcm_project_number","_updatedAt":new Date(1591734395700),"group":"Push","groupPermissionId":"change-setting-Push","level":"settings","roles":[],"section":"Certificates_and_Keys","sectionPermissionId":"change-setting-Certificates_and_Keys","settingId":"Push_gcm_project_number","sorter":NumberInt(12)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Push_production","_updatedAt":new Date(1591734395685),"group":"Push","groupPermissionId":"change-setting-Push","level":"settings","roles":[],"settingId":"Push_production","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Push_show_message","_updatedAt":new Date(1591734395704),"group":"Push","groupPermissionId":"change-setting-Push","level":"settings","roles":[],"section":"Privacy","sectionPermissionId":"change-setting-Privacy","settingId":"Push_show_message","sorter":NumberInt(14)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Push_show_username_room","_updatedAt":new Date(1591734395702),"group":"Push","groupPermissionId":"change-setting-Push","level":"settings","roles":[],"section":"Privacy","sectionPermissionId":"change-setting-Privacy","settingId":"Push_show_username_room","sorter":NumberInt(13)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Push_test_push","_updatedAt":new Date(1591734395686),"group":"Push","groupPermissionId":"change-setting-Push","level":"settings","roles":[],"settingId":"Push_test_push","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Rate Limiter","_updatedAt":new Date(1591734395800),"level":"settings","roles":[],"settingId":"Rate Limiter"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Register_Server","_updatedAt":new Date(1591734395793),"group":"Setup_Wizard","groupPermissionId":"change-setting-Setup_Wizard","level":"settings","roles":[],"section":"Organization_Info","sectionPermissionId":"change-setting-Organization_Info","settingId":"Register_Server","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Restart","_updatedAt":new Date(1591734395561),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"Restart","sorter":NumberInt(30)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-RetentionPolicy","_updatedAt":new Date(1591734396141),"level":"settings","roles":[],"settingId":"RetentionPolicy"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-RetentionPolicy_AppliesToChannels","_updatedAt":new Date(1591734396790),"group":"RetentionPolicy","groupPermissionId":"change-setting-RetentionPolicy","level":"settings","roles":[],"section":"Global Policy","sectionPermissionId":"change-setting-Global Policy","settingId":"RetentionPolicy_AppliesToChannels","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-RetentionPolicy_AppliesToDMs","_updatedAt":new Date(1591734396151),"group":"RetentionPolicy","groupPermissionId":"change-setting-RetentionPolicy","level":"settings","roles":[],"section":"Global Policy","sectionPermissionId":"change-setting-Global Policy","settingId":"RetentionPolicy_AppliesToDMs","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-RetentionPolicy_AppliesToGroups","_updatedAt":new Date(1591734396147),"group":"RetentionPolicy","groupPermissionId":"change-setting-RetentionPolicy","level":"settings","roles":[],"section":"Global Policy","sectionPermissionId":"change-setting-Global Policy","settingId":"RetentionPolicy_AppliesToGroups","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-RetentionPolicy_DoNotExcludeDiscussion","_updatedAt":new Date(1591734400291),"group":"RetentionPolicy","groupPermissionId":"change-setting-RetentionPolicy","level":"settings","roles":[],"section":"Global Policy","sectionPermissionId":"change-setting-Global Policy","settingId":"RetentionPolicy_DoNotExcludeDiscussion","sorter":NumberInt(10)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-RetentionPolicy_Enabled","_updatedAt":new Date(1591734396143),"group":"RetentionPolicy","groupPermissionId":"change-setting-RetentionPolicy","level":"settings","roles":[],"settingId":"RetentionPolicy_Enabled","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-RetentionPolicy_ExcludePinned","_updatedAt":new Date(1591734396161),"group":"RetentionPolicy","groupPermissionId":"change-setting-RetentionPolicy","level":"settings","roles":[],"section":"Global Policy","sectionPermissionId":"change-setting-Global Policy","settingId":"RetentionPolicy_ExcludePinned","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-RetentionPolicy_FilesOnly","_updatedAt":new Date(1591734396166),"group":"RetentionPolicy","groupPermissionId":"change-setting-RetentionPolicy","level":"settings","roles":[],"section":"Global Policy","sectionPermissionId":"change-setting-Global Policy","settingId":"RetentionPolicy_FilesOnly","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-RetentionPolicy_MaxAge_Channels","_updatedAt":new Date(1591734396146),"group":"RetentionPolicy","groupPermissionId":"change-setting-RetentionPolicy","level":"settings","roles":[],"section":"Global Policy","sectionPermissionId":"change-setting-Global Policy","settingId":"RetentionPolicy_MaxAge_Channels","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-RetentionPolicy_MaxAge_DMs","_updatedAt":new Date(1591734396152),"group":"RetentionPolicy","groupPermissionId":"change-setting-RetentionPolicy","level":"settings","roles":[],"section":"Global Policy","sectionPermissionId":"change-setting-Global Policy","settingId":"RetentionPolicy_MaxAge_DMs","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-RetentionPolicy_MaxAge_Groups","_updatedAt":new Date(1591734396149),"group":"RetentionPolicy","groupPermissionId":"change-setting-RetentionPolicy","level":"settings","roles":[],"section":"Global Policy","sectionPermissionId":"change-setting-Global Policy","settingId":"RetentionPolicy_MaxAge_Groups","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-RetentionPolicy_Precision","_updatedAt":new Date(1591734396144),"group":"RetentionPolicy","groupPermissionId":"change-setting-RetentionPolicy","level":"settings","roles":[],"settingId":"RetentionPolicy_Precision","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Robot_Instructions_File_Content","_updatedAt":new Date(1591734395565),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"Robot_Instructions_File_Content","sorter":NumberInt(32)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML","_updatedAt":new Date(1591734396266),"level":"settings","roles":[],"settingId":"SAML"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default","_updatedAt":new Date(1591734399606),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_allowed_clock_drift","_updatedAt":new Date(1591734399904),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_allowed_clock_drift","sorter":NumberInt(25)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_authn_context_comparison","_updatedAt":new Date(1591734399846),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_authn_context_comparison","sorter":NumberInt(21)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_button_color","_updatedAt":new Date(1591734399711),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_button_color","sorter":NumberInt(11)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_button_label_color","_updatedAt":new Date(1591734399705),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_button_label_color","sorter":NumberInt(10)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_button_label_text","_updatedAt":new Date(1591734399696),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_button_label_text","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_cert","_updatedAt":new Date(1591734399666),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_cert","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_custom_authn_context","_updatedAt":new Date(1591734399815),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_custom_authn_context","sorter":NumberInt(19)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_debug","_updatedAt":new Date(1591734399743),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_debug","sorter":NumberInt(15)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_default_user_role","_updatedAt":new Date(1591734399864),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_default_user_role","sorter":NumberInt(22)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_entry_point","_updatedAt":new Date(1591734399641),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_entry_point","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_generate_username","_updatedAt":new Date(1591734399719),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_generate_username","sorter":NumberInt(12)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_idp_slo_redirect_url","_updatedAt":new Date(1591734399649),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_idp_slo_redirect_url","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_immutable_property","_updatedAt":new Date(1591734399735),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_immutable_property","sorter":NumberInt(14)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_issuer","_updatedAt":new Date(1591734399658),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_issuer","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_logout_behaviour","_updatedAt":new Date(1591734399803),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_logout_behaviour","sorter":NumberInt(18)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_mail_overwrite","_updatedAt":new Date(1591734399788),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_mail_overwrite","sorter":NumberInt(17)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_name_overwrite","_updatedAt":new Date(1591734399768),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_name_overwrite","sorter":NumberInt(16)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_private_key","_updatedAt":new Date(1591734399690),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_private_key","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_provider","_updatedAt":new Date(1591734399628),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_provider","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_public_cert","_updatedAt":new Date(1591734399674),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_public_cert","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_role_attribute_name","_updatedAt":new Date(1591734399876),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_role_attribute_name","sorter":NumberInt(23)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_role_attribute_sync","_updatedAt":new Date(1591734399891),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_role_attribute_sync","sorter":NumberInt(24)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_signature_validation_type","_updatedAt":new Date(1591734399681),"level":"settings","roles":[],"settingId":"SAML_Custom_Default_signature_validation_type","group":"SAML","groupPermissionId":"change-setting-SAML","section":"Default","sectionPermissionId":"change-setting-Default","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_user_data_fieldmap","_updatedAt":new Date(1591734399830),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_user_data_fieldmap","sorter":NumberInt(20)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SAML_Custom_Default_username_normalize","_updatedAt":new Date(1591734399727),"group":"SAML","groupPermissionId":"change-setting-SAML","level":"settings","roles":[],"section":"Default","sectionPermissionId":"change-setting-Default","settingId":"SAML_Custom_Default_username_normalize","sorter":NumberInt(13)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMS","_updatedAt":new Date(1591734397027),"level":"settings","roles":[],"settingId":"SMS"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMS_Default_Omnichannel_Department","_updatedAt":new Date(1591734397072),"group":"SMS","groupPermissionId":"change-setting-SMS","level":"settings","roles":[],"settingId":"SMS_Default_Omnichannel_Department","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMS_Enabled","_updatedAt":new Date(1591734397040),"group":"SMS","groupPermissionId":"change-setting-SMS","level":"settings","roles":[],"settingId":"SMS_Enabled","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMS_Mobex_from_number","_updatedAt":new Date(1591734397322),"group":"SMS","groupPermissionId":"change-setting-SMS","level":"settings","roles":[],"section":"Mobex","sectionPermissionId":"change-setting-Mobex","settingId":"SMS_Mobex_from_number","sorter":NumberInt(15)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMS_Mobex_from_numbers_list","_updatedAt":new Date(1591734397399),"group":"SMS","groupPermissionId":"change-setting-SMS","level":"settings","roles":[],"section":"Mobex","sectionPermissionId":"change-setting-Mobex","settingId":"SMS_Mobex_from_numbers_list","sorter":NumberInt(16)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMS_Mobex_gateway_address","_updatedAt":new Date(1591734397222),"group":"SMS","groupPermissionId":"change-setting-SMS","level":"settings","roles":[],"section":"Mobex","sectionPermissionId":"change-setting-Mobex","settingId":"SMS_Mobex_gateway_address","sorter":NumberInt(11)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMS_Mobex_password","_updatedAt":new Date(1591734397277),"group":"SMS","groupPermissionId":"change-setting-SMS","level":"settings","roles":[],"section":"Mobex","sectionPermissionId":"change-setting-Mobex","settingId":"SMS_Mobex_password","sorter":NumberInt(14)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMS_Mobex_restful_address","_updatedAt":new Date(1591734397241),"group":"SMS","groupPermissionId":"change-setting-SMS","level":"settings","roles":[],"section":"Mobex","sectionPermissionId":"change-setting-Mobex","settingId":"SMS_Mobex_restful_address","sorter":NumberInt(12)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMS_Mobex_username","_updatedAt":new Date(1591734397254),"group":"SMS","groupPermissionId":"change-setting-SMS","level":"settings","roles":[],"section":"Mobex","sectionPermissionId":"change-setting-Mobex","settingId":"SMS_Mobex_username","sorter":NumberInt(13)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMS_Service","_updatedAt":new Date(1591734397054),"group":"SMS","groupPermissionId":"change-setting-SMS","level":"settings","roles":[],"settingId":"SMS_Service","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMS_Twilio_Account_SID","_updatedAt":new Date(1591734397084),"group":"SMS","groupPermissionId":"change-setting-SMS","level":"settings","roles":[],"section":"Twilio","sectionPermissionId":"change-setting-Twilio","settingId":"SMS_Twilio_Account_SID","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMS_Twilio_FileUpload_Enabled","_updatedAt":new Date(1591734397109),"group":"SMS","groupPermissionId":"change-setting-SMS","level":"settings","roles":[],"section":"Twilio","sectionPermissionId":"change-setting-Twilio","settingId":"SMS_Twilio_FileUpload_Enabled","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMS_Twilio_FileUpload_MediaTypeWhiteList","_updatedAt":new Date(1591734397121),"group":"SMS","groupPermissionId":"change-setting-SMS","level":"settings","roles":[],"section":"Twilio","sectionPermissionId":"change-setting-Twilio","settingId":"SMS_Twilio_FileUpload_MediaTypeWhiteList","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMS_Twilio_authToken","_updatedAt":new Date(1591734397098),"group":"SMS","groupPermissionId":"change-setting-SMS","level":"settings","roles":[],"section":"Twilio","sectionPermissionId":"change-setting-Twilio","settingId":"SMS_Twilio_authToken","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMS_Voxtelesys_FileUpload_Enabled","_updatedAt":new Date(1591734397189),"group":"SMS","groupPermissionId":"change-setting-SMS","level":"settings","roles":[],"section":"Voxtelesys","sectionPermissionId":"change-setting-Voxtelesys","settingId":"SMS_Voxtelesys_FileUpload_Enabled","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMS_Voxtelesys_FileUpload_MediaTypeWhiteList","_updatedAt":new Date(1591734397204),"group":"SMS","groupPermissionId":"change-setting-SMS","level":"settings","roles":[],"section":"Voxtelesys","sectionPermissionId":"change-setting-Voxtelesys","settingId":"SMS_Voxtelesys_FileUpload_MediaTypeWhiteList","sorter":NumberInt(10)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMS_Voxtelesys_URL","_updatedAt":new Date(1591734397172),"group":"SMS","groupPermissionId":"change-setting-SMS","level":"settings","roles":[],"section":"Voxtelesys","sectionPermissionId":"change-setting-Voxtelesys","settingId":"SMS_Voxtelesys_URL","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMS_Voxtelesys_authToken","_updatedAt":new Date(1591734397156),"group":"SMS","groupPermissionId":"change-setting-SMS","level":"settings","roles":[],"section":"Voxtelesys","sectionPermissionId":"change-setting-Voxtelesys","settingId":"SMS_Voxtelesys_authToken","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMTP_Host","_updatedAt":new Date(1591734395172),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"SMTP","sectionPermissionId":"change-setting-SMTP","settingId":"SMTP_Host","sorter":NumberInt(21)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMTP_IgnoreTLS","_updatedAt":new Date(1591734395177),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"SMTP","sectionPermissionId":"change-setting-SMTP","settingId":"SMTP_IgnoreTLS","sorter":NumberInt(23)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMTP_Password","_updatedAt":new Date(1591734395187),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"SMTP","sectionPermissionId":"change-setting-SMTP","settingId":"SMTP_Password","sorter":NumberInt(26)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMTP_Pool","_updatedAt":new Date(1591734395181),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"SMTP","sectionPermissionId":"change-setting-SMTP","settingId":"SMTP_Pool","sorter":NumberInt(24)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMTP_Port","_updatedAt":new Date(1591734395175),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"SMTP","sectionPermissionId":"change-setting-SMTP","settingId":"SMTP_Port","sorter":NumberInt(22)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMTP_Protocol","_updatedAt":new Date(1591734395169),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"SMTP","sectionPermissionId":"change-setting-SMTP","settingId":"SMTP_Protocol","sorter":NumberInt(20)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMTP_Test_Button","_updatedAt":new Date(1591734395193),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"SMTP","sectionPermissionId":"change-setting-SMTP","settingId":"SMTP_Test_Button","sorter":NumberInt(28)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SMTP_Username","_updatedAt":new Date(1591734395184),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"SMTP","sectionPermissionId":"change-setting-SMTP","settingId":"SMTP_Username","sorter":NumberInt(25)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Search","_updatedAt":new Date(1591734399997),"level":"settings","roles":[],"settingId":"Search"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Search.Provider","_updatedAt":new Date(1591734400025),"group":"Search","groupPermissionId":"change-setting-Search","level":"settings","roles":[],"settingId":"Search.Provider","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Search.chatpalProvider.API_Key","_updatedAt":new Date(1591734400084),"group":"Search","groupPermissionId":"change-setting-Search","level":"settings","roles":[],"section":"Chatpal Provider","sectionPermissionId":"change-setting-Chatpal Provider","settingId":"Search.chatpalProvider.API_Key","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Search.chatpalProvider.Backend","_updatedAt":new Date(1591734400070),"group":"Search","groupPermissionId":"change-setting-Search","level":"settings","roles":[],"section":"Chatpal Provider","sectionPermissionId":"change-setting-Chatpal Provider","settingId":"Search.chatpalProvider.Backend","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Search.chatpalProvider.Base_URL","_updatedAt":new Date(1591734400100),"group":"Search","groupPermissionId":"change-setting-Search","level":"settings","roles":[],"section":"Chatpal Provider","sectionPermissionId":"change-setting-Chatpal Provider","settingId":"Search.chatpalProvider.Base_URL","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Search.chatpalProvider.BatchSize","_updatedAt":new Date(1591734400200),"group":"Search","groupPermissionId":"change-setting-Search","level":"settings","roles":[],"section":"Chatpal Provider","sectionPermissionId":"change-setting-Chatpal Provider","settingId":"Search.chatpalProvider.BatchSize","sorter":NumberInt(11)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Search.chatpalProvider.DefaultResultType","_updatedAt":new Date(1591734400151),"group":"Search","groupPermissionId":"change-setting-Search","level":"settings","roles":[],"section":"Chatpal Provider","sectionPermissionId":"change-setting-Chatpal Provider","settingId":"Search.chatpalProvider.DefaultResultType","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Search.chatpalProvider.HTTP_Headers","_updatedAt":new Date(1591734400116),"group":"Search","groupPermissionId":"change-setting-Search","level":"settings","roles":[],"section":"Chatpal Provider","sectionPermissionId":"change-setting-Chatpal Provider","settingId":"Search.chatpalProvider.HTTP_Headers","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Search.chatpalProvider.Main_Language","_updatedAt":new Date(1591734400133),"group":"Search","groupPermissionId":"change-setting-Search","level":"settings","roles":[],"section":"Chatpal Provider","sectionPermissionId":"change-setting-Chatpal Provider","settingId":"Search.chatpalProvider.Main_Language","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Search.chatpalProvider.PageSize","_updatedAt":new Date(1591734400168),"group":"Search","groupPermissionId":"change-setting-Search","level":"settings","roles":[],"section":"Chatpal Provider","sectionPermissionId":"change-setting-Chatpal Provider","settingId":"Search.chatpalProvider.PageSize","sorter":NumberInt(9)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Search.chatpalProvider.SuggestionEnabled","_updatedAt":new Date(1591734400187),"group":"Search","groupPermissionId":"change-setting-Search","level":"settings","roles":[],"section":"Chatpal Provider","sectionPermissionId":"change-setting-Chatpal Provider","settingId":"Search.chatpalProvider.SuggestionEnabled","sorter":NumberInt(10)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Search.chatpalProvider.TimeoutSize","_updatedAt":new Date(1591734400220),"group":"Search","groupPermissionId":"change-setting-Search","level":"settings","roles":[],"section":"Chatpal Provider","sectionPermissionId":"change-setting-Chatpal Provider","settingId":"Search.chatpalProvider.TimeoutSize","sorter":NumberInt(12)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Search.chatpalProvider.WindowSize","_updatedAt":new Date(1591734400235),"group":"Search","groupPermissionId":"change-setting-Search","level":"settings","roles":[],"section":"Chatpal Provider","sectionPermissionId":"change-setting-Chatpal Provider","settingId":"Search.chatpalProvider.WindowSize","sorter":NumberInt(13)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Search.defaultProvider.GlobalSearchEnabled","_updatedAt":new Date(1591734400042),"group":"Search","groupPermissionId":"change-setting-Search","level":"settings","roles":[],"section":"Default provider","sectionPermissionId":"change-setting-Default provider","settingId":"Search.defaultProvider.GlobalSearchEnabled","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Search.defaultProvider.PageSize","_updatedAt":new Date(1591734400056),"group":"Search","groupPermissionId":"change-setting-Search","level":"settings","roles":[],"section":"Default provider","sectionPermissionId":"change-setting-Default provider","settingId":"Search.defaultProvider.PageSize","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Send_visitor_navigation_history_livechat_webhook_request","_updatedAt":new Date(1591734400815),"group":"Omnichannel","groupPermissionId":"change-setting-Omnichannel","level":"settings","roles":[],"section":"CRM_Integration","sectionPermissionId":"change-setting-CRM_Integration","settingId":"Send_visitor_navigation_history_livechat_webhook_request","sorter":NumberInt(33)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Server_Type","_updatedAt":new Date(1591734395789),"group":"Setup_Wizard","groupPermissionId":"change-setting-Setup_Wizard","level":"settings","roles":[],"section":"Organization_Info","sectionPermissionId":"change-setting-Organization_Info","settingId":"Server_Type","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Setup_Wizard","_updatedAt":new Date(1591734395773),"level":"settings","roles":[],"settingId":"Setup_Wizard"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Show_Setup_Wizard","_updatedAt":new Date(1591734395511),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"Show_Setup_Wizard","sorter":NumberInt(10)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Site_Name","_updatedAt":new Date(1591734395515),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"Site_Name","sorter":NumberInt(12)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Site_Url","_updatedAt":new Date(1591734395513),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"Site_Url","sorter":NumberInt(11)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Size","_updatedAt":new Date(1591734395782),"group":"Setup_Wizard","groupPermissionId":"change-setting-Setup_Wizard","level":"settings","roles":[],"section":"Organization_Info","sectionPermissionId":"change-setting-Organization_Info","settingId":"Size","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SlackBridge","_updatedAt":new Date(1591734399360),"level":"settings","roles":[],"settingId":"SlackBridge"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SlackBridge_APIToken","_updatedAt":new Date(1591734399376),"group":"SlackBridge","groupPermissionId":"change-setting-SlackBridge","level":"settings","roles":[],"settingId":"SlackBridge_APIToken","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SlackBridge_AliasFormat","_updatedAt":new Date(1591734399417),"group":"SlackBridge","groupPermissionId":"change-setting-SlackBridge","level":"settings","roles":[],"settingId":"SlackBridge_AliasFormat","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SlackBridge_Enabled","_updatedAt":new Date(1591734399367),"group":"SlackBridge","groupPermissionId":"change-setting-SlackBridge","level":"settings","roles":[],"settingId":"SlackBridge_Enabled","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SlackBridge_ExcludeBotnames","_updatedAt":new Date(1591734399425),"group":"SlackBridge","groupPermissionId":"change-setting-SlackBridge","level":"settings","roles":[],"settingId":"SlackBridge_ExcludeBotnames","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SlackBridge_FileUpload_Enabled","_updatedAt":new Date(1591734399389),"group":"SlackBridge","groupPermissionId":"change-setting-SlackBridge","level":"settings","roles":[],"settingId":"SlackBridge_FileUpload_Enabled","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SlackBridge_Out_All","_updatedAt":new Date(1591734399402),"group":"SlackBridge","groupPermissionId":"change-setting-SlackBridge","level":"settings","roles":[],"settingId":"SlackBridge_Out_All","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SlackBridge_Out_Channels","_updatedAt":new Date(1591734399409),"group":"SlackBridge","groupPermissionId":"change-setting-SlackBridge","level":"settings","roles":[],"settingId":"SlackBridge_Out_Channels","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SlackBridge_Out_Enabled","_updatedAt":new Date(1591734399395),"group":"SlackBridge","groupPermissionId":"change-setting-SlackBridge","level":"settings","roles":[],"settingId":"SlackBridge_Out_Enabled","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-SlackBridge_Reactions_Enabled","_updatedAt":new Date(1591734399433),"group":"SlackBridge","groupPermissionId":"change-setting-SlackBridge","level":"settings","roles":[],"settingId":"SlackBridge_Reactions_Enabled","sorter":NumberInt(8)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Smarsh","_updatedAt":new Date(1591734396169),"level":"settings","roles":[],"settingId":"Smarsh"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Smarsh_Email","_updatedAt":new Date(1591734396173),"group":"Smarsh","groupPermissionId":"change-setting-Smarsh","level":"settings","roles":[],"settingId":"Smarsh_Email","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Smarsh_Enabled","_updatedAt":new Date(1591734396170),"group":"Smarsh","groupPermissionId":"change-setting-Smarsh","level":"settings","roles":[],"settingId":"Smarsh_Enabled","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Smarsh_Interval","_updatedAt":new Date(1591734396180),"group":"Smarsh","groupPermissionId":"change-setting-Smarsh","level":"settings","roles":[],"settingId":"Smarsh_Interval","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Smarsh_MissingEmail_Email","_updatedAt":new Date(1591734396176),"group":"Smarsh","groupPermissionId":"change-setting-Smarsh","level":"settings","roles":[],"settingId":"Smarsh_MissingEmail_Email","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Smarsh_Timezone","_updatedAt":new Date(1591734396177),"group":"Smarsh","groupPermissionId":"change-setting-Smarsh","level":"settings","roles":[],"settingId":"Smarsh_Timezone","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Statistics_reporting","_updatedAt":new Date(1591734395570),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"Reporting","sectionPermissionId":"change-setting-Reporting","settingId":"Statistics_reporting","sorter":NumberInt(35)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Store_Last_Message","_updatedAt":new Date(1591734395563),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"Store_Last_Message","sorter":NumberInt(31)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Stream_Cast_Address","_updatedAt":new Date(1591734395586),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"Stream_Cast","sectionPermissionId":"change-setting-Stream_Cast","settingId":"Stream_Cast_Address","sorter":NumberInt(43)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Support_Cordova_App","_updatedAt":new Date(1591734395553),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"Support_Cordova_App","sorter":NumberInt(27)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Threads","_updatedAt":new Date(1591734399441),"level":"settings","roles":[],"settingId":"Threads"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Threads_enabled","_updatedAt":new Date(1591734399449),"group":"Threads","groupPermissionId":"change-setting-Threads","level":"settings","roles":[],"settingId":"Threads_enabled","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Troubleshoot","_updatedAt":new Date(1591734396899),"level":"settings","roles":[],"settingId":"Troubleshoot"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Troubleshoot_Disable_Data_Exporter_Processor","_updatedAt":new Date(1591734396916),"group":"Troubleshoot","groupPermissionId":"change-setting-Troubleshoot","level":"settings","roles":[],"settingId":"Troubleshoot_Disable_Data_Exporter_Processor","sorter":NumberInt(6)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Troubleshoot_Disable_Instance_Broadcast","_updatedAt":new Date(1591734396906),"group":"Troubleshoot","groupPermissionId":"change-setting-Troubleshoot","level":"settings","roles":[],"settingId":"Troubleshoot_Disable_Instance_Broadcast","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Troubleshoot_Disable_Livechat_Activity_Monitor","_updatedAt":new Date(1591734396911),"group":"Troubleshoot","groupPermissionId":"change-setting-Troubleshoot","level":"settings","roles":[],"settingId":"Troubleshoot_Disable_Livechat_Activity_Monitor","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Troubleshoot_Disable_Notifications","_updatedAt":new Date(1591734396902),"group":"Troubleshoot","groupPermissionId":"change-setting-Troubleshoot","level":"settings","roles":[],"settingId":"Troubleshoot_Disable_Notifications","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Troubleshoot_Disable_Presence_Broadcast","_updatedAt":new Date(1591734396904),"group":"Troubleshoot","groupPermissionId":"change-setting-Troubleshoot","level":"settings","roles":[],"settingId":"Troubleshoot_Disable_Presence_Broadcast","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Troubleshoot_Disable_Sessions_Monitor","_updatedAt":new Date(1591734396909),"group":"Troubleshoot","groupPermissionId":"change-setting-Troubleshoot","level":"settings","roles":[],"settingId":"Troubleshoot_Disable_Sessions_Monitor","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Troubleshoot_Disable_Statistics_Generator","_updatedAt":new Date(1591734396913),"group":"Troubleshoot","groupPermissionId":"change-setting-Troubleshoot","level":"settings","roles":[],"settingId":"Troubleshoot_Disable_Statistics_Generator","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Troubleshoot_Disable_Workspace_Sync","_updatedAt":new Date(1591734396919),"group":"Troubleshoot","groupPermissionId":"change-setting-Troubleshoot","level":"settings","roles":[],"settingId":"Troubleshoot_Disable_Workspace_Sync","sorter":NumberInt(7)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-UI_Allow_room_names_with_special_chars","_updatedAt":new Date(1591734395742),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"User_Interface","sectionPermissionId":"change-setting-User_Interface","settingId":"UI_Allow_room_names_with_special_chars","sorter":NumberInt(17)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-UI_Click_Direct_Message","_updatedAt":new Date(1591734395738),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"User_Interface","sectionPermissionId":"change-setting-User_Interface","settingId":"UI_Click_Direct_Message","sorter":NumberInt(15)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-UI_DisplayRoles","_updatedAt":new Date(1591734395731),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"User_Interface","sectionPermissionId":"change-setting-User_Interface","settingId":"UI_DisplayRoles","sorter":NumberInt(11)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-UI_Group_Channels_By_Type","_updatedAt":new Date(1591734395733),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"User_Interface","sectionPermissionId":"change-setting-User_Interface","settingId":"UI_Group_Channels_By_Type","sorter":NumberInt(12)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-UI_Show_top_navbar_embedded_layout","_updatedAt":new Date(1591734395744),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"User_Interface","sectionPermissionId":"change-setting-User_Interface","settingId":"UI_Show_top_navbar_embedded_layout","sorter":NumberInt(18)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-UI_Unread_Counter_Style","_updatedAt":new Date(1591734395740),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"User_Interface","sectionPermissionId":"change-setting-User_Interface","settingId":"UI_Unread_Counter_Style","sorter":NumberInt(16)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-UI_Use_Name_Avatar","_updatedAt":new Date(1591734395735),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"User_Interface","sectionPermissionId":"change-setting-User_Interface","settingId":"UI_Use_Name_Avatar","sorter":NumberInt(13)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-UI_Use_Real_Name","_updatedAt":new Date(1591734395736),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"User_Interface","sectionPermissionId":"change-setting-User_Interface","settingId":"UI_Use_Real_Name","sorter":NumberInt(14)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-UTF8_Names_Slugify","_updatedAt":new Date(1591734395568),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"UTF8","sectionPermissionId":"change-setting-UTF8","settingId":"UTF8_Names_Slugify","sorter":NumberInt(34)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-UTF8_Names_Validation","_updatedAt":new Date(1591734395566),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"UTF8","sectionPermissionId":"change-setting-UTF8","settingId":"UTF8_Names_Validation","sorter":NumberInt(33)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Unread_Count","_updatedAt":new Date(1591734395537),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"Unread_Count","sorter":NumberInt(20)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Unread_Count_DM","_updatedAt":new Date(1591734395540),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"settingId":"Unread_Count_DM","sorter":NumberInt(21)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Update_LatestAvailableVersion","_updatedAt":new Date(1591734396269),"group":"General","groupPermissionId":"change-setting-General","level":"settings","roles":[],"section":"Update","sectionPermissionId":"change-setting-Update","settingId":"Update_LatestAvailableVersion","sorter":NumberInt(47)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-UserDataDownload","_updatedAt":new Date(1591734396228),"level":"settings","roles":[],"settingId":"UserDataDownload"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-UserData_EnableDownload","_updatedAt":new Date(1591734396232),"group":"UserDataDownload","groupPermissionId":"change-setting-UserDataDownload","level":"settings","roles":[],"settingId":"UserData_EnableDownload","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-UserData_FileSystemPath","_updatedAt":new Date(1591734396234),"group":"UserDataDownload","groupPermissionId":"change-setting-UserDataDownload","level":"settings","roles":[],"settingId":"UserData_FileSystemPath","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-UserData_FileSystemZipPath","_updatedAt":new Date(1591734396235),"group":"UserDataDownload","groupPermissionId":"change-setting-UserDataDownload","level":"settings","roles":[],"settingId":"UserData_FileSystemZipPath","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-UserData_MessageLimitPerRequest","_updatedAt":new Date(1591734396239),"group":"UserDataDownload","groupPermissionId":"change-setting-UserDataDownload","level":"settings","roles":[],"settingId":"UserData_MessageLimitPerRequest","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-UserData_ProcessingFrequency","_updatedAt":new Date(1591734396237),"group":"UserDataDownload","groupPermissionId":"change-setting-UserDataDownload","level":"settings","roles":[],"settingId":"UserData_ProcessingFrequency","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Verification_Email","_updatedAt":new Date(1591734395213),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Verification","sectionPermissionId":"change-setting-Verification","settingId":"Verification_Email","sorter":NumberInt(34)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Verification_Email_Subject","_updatedAt":new Date(1591734395211),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Verification","sectionPermissionId":"change-setting-Verification","settingId":"Verification_Email_Subject","sorter":NumberInt(33)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Video Conference","_updatedAt":new Date(1591734399456),"level":"settings","roles":[],"settingId":"Video Conference"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-WebRTC","_updatedAt":new Date(1591734396243),"level":"settings","roles":[],"settingId":"WebRTC"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-WebRTC_Enable_Channel","_updatedAt":new Date(1591734396245),"group":"WebRTC","groupPermissionId":"change-setting-WebRTC","level":"settings","roles":[],"settingId":"WebRTC_Enable_Channel","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-WebRTC_Enable_Direct","_updatedAt":new Date(1591734396248),"group":"WebRTC","groupPermissionId":"change-setting-WebRTC","level":"settings","roles":[],"settingId":"WebRTC_Enable_Direct","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-WebRTC_Enable_Private","_updatedAt":new Date(1591734396246),"group":"WebRTC","groupPermissionId":"change-setting-WebRTC","level":"settings","roles":[],"settingId":"WebRTC_Enable_Private","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-WebRTC_Servers","_updatedAt":new Date(1591734396249),"group":"WebRTC","groupPermissionId":"change-setting-WebRTC","level":"settings","roles":[],"settingId":"WebRTC_Servers","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Webdav Integration","_updatedAt":new Date(1591734396240),"level":"settings","roles":[],"settingId":"Webdav Integration"});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Webdav_Integration_Enabled","_updatedAt":new Date(1591734396242),"group":"Webdav Integration","groupPermissionId":"change-setting-Webdav Integration","level":"settings","roles":[],"settingId":"Webdav_Integration_Enabled","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-Website","_updatedAt":new Date(1591734395786),"group":"Setup_Wizard","groupPermissionId":"change-setting-Setup_Wizard","level":"settings","roles":[],"section":"Organization_Info","sectionPermissionId":"change-setting-Organization_Info","settingId":"Website","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-bigbluebutton_Enabled","_updatedAt":new Date(1591734399463),"group":"Video Conference","groupPermissionId":"change-setting-Video Conference","level":"settings","roles":[],"section":"BigBlueButton","sectionPermissionId":"change-setting-BigBlueButton","settingId":"bigbluebutton_Enabled","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-bigbluebutton_enable_c","_updatedAt":new Date(1591734399504),"group":"Video Conference","groupPermissionId":"change-setting-Video Conference","level":"settings","roles":[],"section":"BigBlueButton","sectionPermissionId":"change-setting-BigBlueButton","settingId":"bigbluebutton_enable_c","sorter":NumberInt(5)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-bigbluebutton_enable_d","_updatedAt":new Date(1591734399491),"group":"Video Conference","groupPermissionId":"change-setting-Video Conference","level":"settings","roles":[],"section":"BigBlueButton","sectionPermissionId":"change-setting-BigBlueButton","settingId":"bigbluebutton_enable_d","sorter":NumberInt(3)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-bigbluebutton_enable_p","_updatedAt":new Date(1591734399497),"group":"Video Conference","groupPermissionId":"change-setting-Video Conference","level":"settings","roles":[],"section":"BigBlueButton","sectionPermissionId":"change-setting-BigBlueButton","settingId":"bigbluebutton_enable_p","sorter":NumberInt(4)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-bigbluebutton_server","_updatedAt":new Date(1591734399471),"group":"Video Conference","groupPermissionId":"change-setting-Video Conference","level":"settings","roles":[],"section":"BigBlueButton","sectionPermissionId":"change-setting-BigBlueButton","settingId":"bigbluebutton_server","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-bigbluebutton_sharedSecret","_updatedAt":new Date(1591734399484),"group":"Video Conference","groupPermissionId":"change-setting-Video Conference","level":"settings","roles":[],"section":"BigBlueButton","sectionPermissionId":"change-setting-BigBlueButton","settingId":"bigbluebutton_sharedSecret","sorter":NumberInt(2)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-css","_updatedAt":new Date(1591734396792),"level":"settings","roles":[],"settingId":"css","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-email_plain_text_only","_updatedAt":new Date(1591734395092),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Style","sectionPermissionId":"change-setting-Style","settingId":"email_plain_text_only","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-email_style","_updatedAt":new Date(1591734395095),"group":"Email","groupPermissionId":"change-setting-Email","level":"settings","roles":[],"section":"Style","sectionPermissionId":"change-setting-Style","settingId":"email_style","sorter":NumberInt(1)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-attention-color","_updatedAt":new Date(1591734396833),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors","sectionPermissionId":"change-setting-Old Colors","settingId":"theme-color-attention-color","sorter":NumberInt(54)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-component-color","_updatedAt":new Date(1591734396828),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors","sectionPermissionId":"change-setting-Old Colors","settingId":"theme-color-component-color","sorter":NumberInt(49)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-content-background-color","_updatedAt":new Date(1591734396813),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors","sectionPermissionId":"change-setting-Old Colors","settingId":"theme-color-content-background-color","sorter":NumberInt(42)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-custom-scrollbar-color","_updatedAt":new Date(1591734396220),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors (minor)","sectionPermissionId":"change-setting-Old Colors (minor)","settingId":"theme-color-custom-scrollbar-color","sorter":NumberInt(59)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-error-color","_updatedAt":new Date(1591734396984),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors","sectionPermissionId":"change-setting-Old Colors","settingId":"theme-color-error-color","sorter":NumberInt(52)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-info-font-color","_updatedAt":new Date(1591734396217),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors (minor)","sectionPermissionId":"change-setting-Old Colors (minor)","settingId":"theme-color-info-font-color","sorter":NumberInt(58)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-link-font-color","_updatedAt":new Date(1591734396215),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors (minor)","sectionPermissionId":"change-setting-Old Colors (minor)","settingId":"theme-color-link-font-color","sorter":NumberInt(57)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-pending-color","_updatedAt":new Date(1591734396982),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors","sectionPermissionId":"change-setting-Old Colors","settingId":"theme-color-pending-color","sorter":NumberInt(51)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-primary-action-color","_updatedAt":new Date(1591734396820),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors","sectionPermissionId":"change-setting-Old Colors","settingId":"theme-color-primary-action-color","sorter":NumberInt(45)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-primary-background-color","_updatedAt":new Date(1591734396815),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors","sectionPermissionId":"change-setting-Old Colors","settingId":"theme-color-primary-background-color","sorter":NumberInt(43)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-primary-font-color","_updatedAt":new Date(1591734396818),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors","sectionPermissionId":"change-setting-Old Colors","settingId":"theme-color-primary-font-color","sorter":NumberInt(44)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-alert","_updatedAt":new Date(1591734396798),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-alert","sorter":NumberInt(21)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-alert-light","_updatedAt":new Date(1591734396182),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-alert-light","sorter":NumberInt(22)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-alert-message-primary","_updatedAt":new Date(1591734396186),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-alert-message-primary","sorter":NumberInt(27)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-alert-message-primary-background","_updatedAt":new Date(1591734396189),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-alert-message-primary-background","sorter":NumberInt(28)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-alert-message-secondary","_updatedAt":new Date(1591734396191),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-alert-message-secondary","sorter":NumberInt(29)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-alert-message-secondary-background","_updatedAt":new Date(1591734396194),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-alert-message-secondary-background","sorter":NumberInt(30)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-alert-message-warning","_updatedAt":new Date(1591734396196),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-alert-message-warning","sorter":NumberInt(31)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-alert-message-warning-background","_updatedAt":new Date(1591734396198),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-alert-message-warning-background","sorter":NumberInt(32)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-button-primary","_updatedAt":new Date(1591734396804),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-button-primary","sorter":NumberInt(25)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-button-primary-light","_updatedAt":new Date(1591734396184),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-button-primary-light","sorter":NumberInt(26)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-content","_updatedAt":new Date(1591734396811),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-content","sorter":NumberInt(40)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-error","_updatedAt":new Date(1591734396794),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-error","sorter":NumberInt(19)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-error-light","_updatedAt":new Date(1591734396796),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-error-light","sorter":NumberInt(20)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-link-active","_updatedAt":new Date(1591734396209),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-link-active","sorter":NumberInt(41)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-primary","_updatedAt":new Date(1591734396806),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-primary","sorter":NumberInt(33)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-primary-background","_updatedAt":new Date(1591734396923),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-primary-background","sorter":NumberInt(34)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-primary-dark","_updatedAt":new Date(1591734396203),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-primary-dark","sorter":NumberInt(36)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-primary-darkest","_updatedAt":new Date(1591734396201),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-primary-darkest","sorter":NumberInt(35)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-primary-light","_updatedAt":new Date(1591734396809),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-primary-light","sorter":NumberInt(37)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-primary-light-medium","_updatedAt":new Date(1591734396205),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-primary-light-medium","sorter":NumberInt(38)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-primary-lightest","_updatedAt":new Date(1591734396207),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-primary-lightest","sorter":NumberInt(39)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-success","_updatedAt":new Date(1591734396800),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-success","sorter":NumberInt(23)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-rc-color-success-light","_updatedAt":new Date(1591734396802),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Colors","sectionPermissionId":"change-setting-Colors","settingId":"theme-color-rc-color-success-light","sorter":NumberInt(24)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-secondary-action-color","_updatedAt":new Date(1591734396826),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors","sectionPermissionId":"change-setting-Old Colors","settingId":"theme-color-secondary-action-color","sorter":NumberInt(48)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-secondary-background-color","_updatedAt":new Date(1591734396822),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors","sectionPermissionId":"change-setting-Old Colors","settingId":"theme-color-secondary-background-color","sorter":NumberInt(46)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-secondary-font-color","_updatedAt":new Date(1591734396824),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors","sectionPermissionId":"change-setting-Old Colors","settingId":"theme-color-secondary-font-color","sorter":NumberInt(47)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-selection-color","_updatedAt":new Date(1591734396830),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors","sectionPermissionId":"change-setting-Old Colors","settingId":"theme-color-selection-color","sorter":NumberInt(53)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-status-away","_updatedAt":new Date(1591734396837),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors (minor)","sectionPermissionId":"change-setting-Old Colors (minor)","settingId":"theme-color-status-away","sorter":NumberInt(61)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-status-busy","_updatedAt":new Date(1591734396839),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors (minor)","sectionPermissionId":"change-setting-Old Colors (minor)","settingId":"theme-color-status-busy","sorter":NumberInt(62)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-status-offline","_updatedAt":new Date(1591734396841),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors (minor)","sectionPermissionId":"change-setting-Old Colors (minor)","settingId":"theme-color-status-offline","sorter":NumberInt(63)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-status-online","_updatedAt":new Date(1591734396835),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors (minor)","sectionPermissionId":"change-setting-Old Colors (minor)","settingId":"theme-color-status-online","sorter":NumberInt(60)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-success-color","_updatedAt":new Date(1591734396980),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors","sectionPermissionId":"change-setting-Old Colors","settingId":"theme-color-success-color","sorter":NumberInt(50)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-tertiary-background-color","_updatedAt":new Date(1591734396211),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors (minor)","sectionPermissionId":"change-setting-Old Colors (minor)","settingId":"theme-color-tertiary-background-color","sorter":NumberInt(55)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-color-tertiary-font-color","_updatedAt":new Date(1591734396212),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Old Colors (minor)","sectionPermissionId":"change-setting-Old Colors (minor)","settingId":"theme-color-tertiary-font-color","sorter":NumberInt(56)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-custom-css","_updatedAt":new Date(1591734396223),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Custom CSS","sectionPermissionId":"change-setting-Custom CSS","settingId":"theme-custom-css","sorter":NumberInt(65)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-theme-font-body-font-family","_updatedAt":new Date(1591734396221),"group":"Layout","groupPermissionId":"change-setting-Layout","level":"settings","roles":[],"section":"Fonts","sectionPermissionId":"change-setting-Fonts","settingId":"theme-font-body-font-family","sorter":NumberInt(64)});
db.getCollection("rocketchat_permissions").insert({"_id":"change-setting-uniqueID","_updatedAt":new Date(1591734395245),"level":"settings","roles":[],"settingId":"uniqueID","sorter":NumberInt(0)});
db.getCollection("rocketchat_permissions").insert({"_id":"clean-channel-history","_updatedAt":new Date(1584022378434),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"close-livechat-room","_updatedAt":new Date(1584022378642),"roles":["livechat-agent","livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"close-others-livechat-room","_updatedAt":new Date(1584022378645),"roles":["livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"create-c","_updatedAt":new Date(1584022378418),"roles":["admin","user","bot","app"]});
db.getCollection("rocketchat_permissions").insert({"_id":"create-d","_updatedAt":new Date(1584022378420),"roles":["admin","user","bot","app"]});
db.getCollection("rocketchat_permissions").insert({"_id":"create-invite-links","_updatedAt":new Date(1584022378631),"roles":["admin","owner","moderator"]});
db.getCollection("rocketchat_permissions").insert({"_id":"create-p","_updatedAt":new Date(1584022378424),"roles":["admin","user","bot","app"]});
db.getCollection("rocketchat_permissions").insert({"_id":"create-personal-access-tokens","_updatedAt":new Date(1584022378427),"roles":["admin","user"]});
db.getCollection("rocketchat_permissions").insert({"_id":"create-user","_updatedAt":new Date(1584022378431),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"delete-c","_updatedAt":new Date(1584022378438),"roles":["admin","owner"]});
db.getCollection("rocketchat_permissions").insert({"_id":"delete-d","_updatedAt":new Date(1584022378440),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"delete-message","_updatedAt":new Date(1584022378444),"roles":["admin","owner","moderator"]});
db.getCollection("rocketchat_permissions").insert({"_id":"delete-own-message","_updatedAt":new Date(1584022378447),"roles":["admin","user"]});
db.getCollection("rocketchat_permissions").insert({"_id":"delete-p","_updatedAt":new Date(1584022378450),"roles":["admin","owner"]});
db.getCollection("rocketchat_permissions").insert({"_id":"delete-user","_updatedAt":new Date(1584022378453),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"edit-message","_updatedAt":new Date(1584022378457),"roles":["admin","owner","moderator"]});
db.getCollection("rocketchat_permissions").insert({"_id":"edit-other-user-active-status","_updatedAt":new Date(1584022378462),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"edit-other-user-avatar","_updatedAt":new Date(1584022378472),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"edit-other-user-info","_updatedAt":new Date(1584022378466),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"edit-other-user-password","_updatedAt":new Date(1584022378469),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"edit-privileged-setting","_updatedAt":new Date(1584022378474),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"edit-room","_updatedAt":new Date(1584022378478),"roles":["admin","owner","moderator"]});
db.getCollection("rocketchat_permissions").insert({"_id":"edit-room-retention-policy","_updatedAt":new Date(1584022378482),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"force-delete-message","_updatedAt":new Date(1584022378485),"roles":["admin","owner"]});
db.getCollection("rocketchat_permissions").insert({"_id":"join-without-join-code","_updatedAt":new Date(1584022378489),"roles":["admin","bot","app"]});
db.getCollection("rocketchat_permissions").insert({"_id":"leave-c","_updatedAt":new Date(1584022378493),"roles":["admin","user","bot","anonymous","app"]});
db.getCollection("rocketchat_permissions").insert({"_id":"leave-p","_updatedAt":new Date(1584022378498),"roles":["admin","user","bot","anonymous","app"]});
db.getCollection("rocketchat_permissions").insert({"_id":"mail-messages","_updatedAt":new Date(1591734397655),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"manage-apps","_updatedAt":new Date(1591734397237),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"manage-assets","_updatedAt":new Date(1584022378501),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"manage-cloud","_updatedAt":new Date(1591734384324),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"manage-emoji","_updatedAt":new Date(1584022378504),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"manage-incoming-integrations","_updatedAt":new Date(1584022378516),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"manage-livechat-agents","_updatedAt":new Date(1584022378674),"roles":["livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"manage-livechat-departments","_updatedAt":new Date(1584022378677),"roles":["livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"manage-livechat-managers","_updatedAt":new Date(1584022378671),"roles":["livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"manage-oauth-apps","_updatedAt":new Date(1584022378526),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"manage-outgoing-integrations","_updatedAt":new Date(1584022378513),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"manage-own-incoming-integrations","_updatedAt":new Date(1584022378522),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"manage-own-outgoing-integrations","_updatedAt":new Date(1584022378519),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"manage-selected-settings","_updatedAt":new Date(1584022378529),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"manage-sounds","_updatedAt":new Date(1591734397753),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"manage-user-status","_updatedAt":new Date(1584022378507),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"mention-all","_updatedAt":new Date(1584022378533),"roles":["admin","owner","moderator","user"]});
db.getCollection("rocketchat_permissions").insert({"_id":"mention-here","_updatedAt":new Date(1584022378536),"roles":["admin","owner","moderator","user"]});
db.getCollection("rocketchat_permissions").insert({"_id":"mute-user","_updatedAt":new Date(1584022378539),"roles":["admin","owner","moderator"]});
db.getCollection("rocketchat_permissions").insert({"_id":"pin-message","_updatedAt":new Date(1591734398327),"roles":["owner","moderator","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"post-readonly","_updatedAt":new Date(1591734397638),"roles":["admin","owner","moderator"]});
db.getCollection("rocketchat_permissions").insert({"_id":"preview-c-room","_updatedAt":new Date(1584022378619),"roles":["admin","user","anonymous"]});
db.getCollection("rocketchat_permissions").insert({"_id":"remove-closed-livechat-rooms","_updatedAt":new Date(1584022378658),"roles":["livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"remove-user","_updatedAt":new Date(1584022378542),"roles":["admin","owner","moderator"]});
db.getCollection("rocketchat_permissions").insert({"_id":"run-import","_updatedAt":new Date(1584022378546),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"run-migration","_updatedAt":new Date(1584022378549),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"save-others-livechat-room-info","_updatedAt":new Date(1584022378648),"roles":["livechat-manager"]});
db.getCollection("rocketchat_permissions").insert({"_id":"send-many-messages","_updatedAt":new Date(1584022378560),"roles":["admin","bot","app"]});
db.getCollection("rocketchat_permissions").insert({"_id":"set-leader","_updatedAt":new Date(1584022378563),"roles":["admin","owner"]});
db.getCollection("rocketchat_permissions").insert({"_id":"set-moderator","_updatedAt":new Date(1584022378552),"roles":["admin","owner"]});
db.getCollection("rocketchat_permissions").insert({"_id":"set-owner","_updatedAt":new Date(1584022378555),"roles":["admin","owner"]});
db.getCollection("rocketchat_permissions").insert({"_id":"set-react-when-readonly","_updatedAt":new Date(1591734397648),"roles":["admin","owner"]});
db.getCollection("rocketchat_permissions").insert({"_id":"set-readonly","_updatedAt":new Date(1591734397640),"roles":["admin","owner"]});
db.getCollection("rocketchat_permissions").insert({"_id":"snippet-message","_updatedAt":new Date(1591734398341),"roles":["owner","moderator","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"start-discussion","_updatedAt":new Date(1584022382568),"roles":["admin","user","expert","guest"]});
db.getCollection("rocketchat_permissions").insert({"_id":"start-discussion-other-user","_updatedAt":new Date(1584022382572),"roles":["admin","user","expert","owner"]});
db.getCollection("rocketchat_permissions").insert({"_id":"transfer-livechat-guest","_updatedAt":new Date(1584022378668),"roles":["livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"unarchive-room","_updatedAt":new Date(1584022378567),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"user-generate-access-token","_updatedAt":new Date(1584022378575),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-broadcast-member-list","_updatedAt":new Date(1584022378625),"roles":["admin","owner","moderator"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-c-room","_updatedAt":new Date(1584022378570),"roles":["admin","user","bot","app","anonymous"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-d-room","_updatedAt":new Date(1589465222202),"roles":["admin","user","bot","app","guest"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-full-other-user-info","_updatedAt":new Date(1584022378584),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-history","_updatedAt":new Date(1584022378587),"roles":["admin","user","anonymous"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-join-code","_updatedAt":new Date(1584022378594),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-joined-room","_updatedAt":new Date(1584022378591),"roles":["guest","bot","app","anonymous"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-l-room","_updatedAt":new Date(1584022378634),"roles":["livechat-agent","livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-livechat-analytics","_updatedAt":new Date(1584022378662),"roles":["livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-livechat-appearance","_updatedAt":new Date(1584022378701),"roles":["livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-livechat-current-chats","_updatedAt":new Date(1584022378686),"roles":["livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-livechat-customfields","_updatedAt":new Date(1584022378695),"roles":["livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-livechat-departments","_updatedAt":new Date(1584022378680),"roles":["livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-livechat-facebook","_updatedAt":new Date(1584022378706),"roles":["livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-livechat-installation","_updatedAt":new Date(1584022378698),"roles":["livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-livechat-manager","_updatedAt":new Date(1584022378637),"roles":["livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-livechat-officeHours","_updatedAt":new Date(1584022378710),"roles":["livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-livechat-queue","_updatedAt":new Date(1584022378665),"roles":["livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-livechat-real-time-monitoring","_updatedAt":new Date(1584022378689),"roles":["livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-livechat-rooms","_updatedAt":new Date(1584022378639),"roles":["livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-livechat-triggers","_updatedAt":new Date(1584022378692),"roles":["livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-livechat-webhooks","_updatedAt":new Date(1584022378704),"roles":["livechat-manager","admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-logs","_updatedAt":new Date(1584022378598),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-other-user-channels","_updatedAt":new Date(1584022378602),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-outside-room","_updatedAt":new Date(1584022378622),"roles":["admin","owner","moderator","user"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-p-room","_updatedAt":new Date(1589465222202),"roles":["admin","user","anonymous","guest"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-privileged-setting","_updatedAt":new Date(1584022378607),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-room-administration","_updatedAt":new Date(1584022378611),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-statistics","_updatedAt":new Date(1584022378613),"roles":["admin"]});
db.getCollection("rocketchat_permissions").insert({"_id":"view-user-administration","_updatedAt":new Date(1584022378616),"roles":["admin"]});

View File

@ -1,11 +0,0 @@
db.getCollection("rocketchat_roles").insert({"_id":"admin","_updatedAt":new Date(1591734394689),"description":"Admin","mandatory2fa":false,"protected":true,"scope":"Users"});
db.getCollection("rocketchat_roles").insert({"_id":"anonymous","_updatedAt":new Date(1591734394716),"description":"","mandatory2fa":false,"protected":true,"scope":"Users"});
db.getCollection("rocketchat_roles").insert({"_id":"app","_updatedAt":new Date(1591734394711),"description":"","mandatory2fa":false,"protected":true,"scope":"Users"});
db.getCollection("rocketchat_roles").insert({"_id":"bot","_updatedAt":new Date(1591734394706),"description":"","mandatory2fa":false,"protected":true,"scope":"Users"});
db.getCollection("rocketchat_roles").insert({"_id":"guest","_updatedAt":new Date(1591734394714),"description":"","mandatory2fa":false,"protected":true,"scope":"Users"});
db.getCollection("rocketchat_roles").insert({"_id":"leader","_updatedAt":new Date(1591734394698),"description":"Leader","mandatory2fa":false,"protected":true,"scope":"Subscriptions"});
db.getCollection("rocketchat_roles").insert({"_id":"livechat-agent","_updatedAt":new Date(1591734394718),"description":"Livechat Agent","mandatory2fa":false,"protected":true,"scope":"Users"});
db.getCollection("rocketchat_roles").insert({"_id":"livechat-manager","_updatedAt":new Date(1591734394720),"description":"Livechat Manager","mandatory2fa":false,"protected":true,"scope":"Users"});
db.getCollection("rocketchat_roles").insert({"_id":"moderator","_updatedAt":new Date(1591734394695),"description":"Moderator","mandatory2fa":false,"protected":true,"scope":"Subscriptions"});
db.getCollection("rocketchat_roles").insert({"_id":"owner","_updatedAt":new Date(1591734394701),"description":"Owner","mandatory2fa":false,"protected":true,"scope":"Subscriptions"});
db.getCollection("rocketchat_roles").insert({"_id":"user","_updatedAt":new Date(1591734394703),"description":"","mandatory2fa":false,"protected":true,"scope":"Users"});

View File

@ -1,3 +0,0 @@
db.getCollection("rocketchat_room").insert({"_id":"5iyMRT843rNn4wwHv","fname":"jumping-thread","customFields":{},"description":"","broadcast":false,"encrypted":false,"name":"jumping-thread","t":"p","msgs":33,"usersCount":1,"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin"},"ts":new Date("2021-06-14T21:26:33.120Z"),"ro":false,"default":false,"sysMes":true,"_updatedAt":new Date("2021-06-14T21:27:34.527Z"),"lastMessage":{"_id":"R7iDtoqMcP8iH9AZi","rid":"5iyMRT843rNn4wwHv","msg":"http://localhost:3000/group/jumping-thread?msg=rMbGKvG834q8EeNGs Go to 1","ts":new Date("2021-06-14T21:27:34.440Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"_updatedAt":new Date("2021-06-14T21:27:34.517Z"),"attachments":[{"text":"1","author_name":"admin","author_icon":"/avatar/admin","message_link":"http://localhost:3000/group/jumping-thread?msg=rMbGKvG834q8EeNGs","attachments":[],"ts":new Date("2021-06-14T21:26:48.151Z")}],"urls":[{"url":"http://localhost:3000/group/jumping-thread?msg=rMbGKvG834q8EeNGs","ignoreParse":true}],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"LINK","value":{"src":{"type":"PLAIN_TEXT","value":"http://localhost:3000/group/jumping-thread?msg=rMbGKvG834q8EeNGs"},"label":{"type":"PLAIN_TEXT","value":"http://localhost:3000/group/jumping-thread?msg=rMbGKvG834q8EeNGs"}}},{"type":"PLAIN_TEXT","value":" Go to 1"}]}]},"lm":new Date("2021-06-14T21:27:34.440Z")});
db.getCollection("rocketchat_room").insert({"_id":"GENERAL","ts":new Date("2020-03-12T14:13:02.998Z"),"t":"c","name":"general","usernames":[],"msgs":3,"usersCount":3,"default":true,"_updatedAt":new Date("2020-05-14T14:09:26.516Z"),"lastMessage":{"_id":"fsy2dZJgmmboowJ8N","t":"uj","rid":"GENERAL","ts":new Date("2020-03-12T14:16:48.462Z"),"msg":"admin","u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin"},"groupable":false,"_updatedAt":new Date("2020-03-12T14:16:48.462Z")},"lm":new Date("2020-03-12T14:16:48.462Z")});
db.getCollection("rocketchat_room").insert({"_id":"GFR2xxircSsyJxx9F","fname":"jumping","customFields":{},"description":"","broadcast":false,"encrypted":false,"name":"jumping","t":"p","msgs":302,"usersCount":1,"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin"},"ts":new Date("2021-06-14T21:23:44.808Z"),"ro":false,"default":false,"sysMes":true,"_updatedAt":new Date("2021-06-14T21:28:50.547Z"),"lastMessage":{"_id":"asNxLidHfTi7E3rri","rid":"GFR2xxircSsyJxx9F","msg":"[ ](http://localhost:3000/group/jumping?msg=DvKX5qbzg8CWE3oNC) Quote first message","ts":new Date("2021-06-14T21:28:50.477Z"),"u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"_updatedAt":new Date("2021-06-14T21:28:50.537Z"),"attachments":[{"text":"1","author_name":"admin","author_icon":"/avatar/admin","message_link":"http://localhost:3000/group/jumping?msg=DvKX5qbzg8CWE3oNC","attachments":[],"ts":new Date("2021-06-14T21:24:50.182Z")}],"urls":[{"url":"http://localhost:3000/group/jumping?msg=DvKX5qbzg8CWE3oNC","ignoreParse":true}],"mentions":[],"channels":[],"md":[{"type":"PARAGRAPH","value":[{"type":"LINK","value":{"src":{"type":"PLAIN_TEXT","value":"http://localhost:3000/group/jumping?msg=DvKX5qbzg8CWE3oNC"},"label":{"type":"PLAIN_TEXT","value":" "}}},{"type":"PLAIN_TEXT","value":" Quote first message"}]}]},"lm":new Date("2021-06-14T21:28:50.477Z")});

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
db.getCollection("rocketchat_statistics").insert({"_id":"zv7P4mn7CZnCRKnfk","wizard":{"organizationType":"nonprofit","industry":"other","size":"0","country":"unitedKingdom","language":"","serverType":"","registerServer":true},"uniqueId":"2zbFT528GXW2oBwN7","installedAt":new Date(1584022362665),"version":"3.0.3","totalUsers":NumberInt(4),"activeUsers":NumberInt(4),"nonActiveUsers":NumberInt(0),"appUsers":NumberInt(0),"onlineUsers":NumberInt(1),"awayUsers":NumberInt(0),"totalConnectedUsers":NumberInt(1),"offlineUsers":NumberInt(3),"totalRooms":NumberInt(3),"totalChannels":NumberInt(2),"totalPrivateGroups":NumberInt(0),"totalDirect":NumberInt(1),"totalLivechat":NumberInt(0),"totalDiscussions":NumberInt(0),"totalThreads":NumberInt(0),"totalLivechatVisitors":NumberInt(0),"totalLivechatAgents":NumberInt(0),"livechatEnabled":false,"totalMessages":NumberInt(3),"totalChannelMessages":NumberInt(3),"totalPrivateGroupMessages":NumberInt(0),"totalDirectMessages":NumberInt(0),"totalLivechatMessages":NumberInt(0),"federatedServers":NumberInt(0),"federatedUsers":NumberInt(0),"lastLogin":new Date(1584110308788),"lastMessageSentAt":new Date(1584022922478),"lastSeenSubscription":new Date(1584054253513),"os":{"type":"Linux","platform":"linux","arch":"x64","release":"4.19.76-linuxkit","uptime":NumberInt(2021925),"loadavg":[{"$numberDouble":"0.14697265625"},{"$numberDouble":"0.0322265625"},{"$numberDouble":"0.01025390625"}],"totalmem":{"$numberDouble":"8.35098624E+09"},"freemem":{"$numberDouble":"2.621341696E+09"},"cpus":[{"model":"Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz","speed":NumberInt(2600),"times":{"user":NumberInt(25858600),"nice":NumberInt(0),"sys":NumberInt(85134400),"idle":{"$numberDouble":"1.98209867E+10"},"irq":NumberInt(0)}},{"model":"Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz","speed":NumberInt(2600),"times":{"user":NumberInt(24708700),"nice":NumberInt(0),"sys":NumberInt(71585300),"idle":{"$numberDouble":"1.99107066E+10"},"irq":NumberInt(0)}},{"model":"Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz","speed":NumberInt(2600),"times":{"user":NumberInt(24915900),"nice":NumberInt(0),"sys":NumberInt(71185000),"idle":{"$numberDouble":"1.99216669E+10"},"irq":NumberInt(0)}},{"model":"Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz","speed":NumberInt(2600),"times":{"user":NumberInt(24652900),"nice":NumberInt(0),"sys":NumberInt(68993700),"idle":{"$numberDouble":"1.99293535E+10"},"irq":NumberInt(0)}},{"model":"Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz","speed":NumberInt(2600),"times":{"user":NumberInt(26861000),"nice":NumberInt(0),"sys":NumberInt(78875900),"idle":{"$numberDouble":"1.98936536E+10"},"irq":NumberInt(0)}}]},"process":{"nodeVersion":"v12.14.0","pid":NumberInt(8),"uptime":{"$numberDouble":"392816.4318724"}},"deploy":{"method":"docker","platform":"selfinstall"},"uploadsTotal":NumberInt(0),"uploadsTotalSize":NumberInt(0),"migration":{"_id":"control","locked":false,"version":NumberInt(174)},"instanceCount":NumberInt(1),"oplogEnabled":true,"mongoVersion":"4.0.16","mongoStorageEngine":"mmapv1","uniqueUsersOfYesterday":{"year":NumberInt(2020),"month":NumberInt(3),"day":NumberInt(16),"data":[]},"uniqueUsersOfLastMonth":{"year":NumberInt(2020),"month":NumberInt(2),"day":NumberInt(17),"data":[]},"uniqueDevicesOfYesterday":{"year":NumberInt(2020),"month":NumberInt(3),"day":NumberInt(16),"data":[]},"uniqueDevicesOfLastMonth":{"year":NumberInt(2020),"month":NumberInt(3),"day":NumberInt(16),"data":[]},"uniqueOSOfYesterday":{"year":NumberInt(2020),"month":NumberInt(3),"day":NumberInt(16),"data":[]},"uniqueOSOfLastMonth":{"year":NumberInt(2020),"month":NumberInt(3),"day":NumberInt(16),"data":[]},"apps":{"engineVersion":"1.12.0","enabled":true,"totalInstalled":NumberInt(0),"totalActive":NumberInt(0)},"integrations":{"totalIntegrations":NumberInt(0),"totalIncoming":NumberInt(0),"totalIncomingActive":NumberInt(0),"totalOutgoing":NumberInt(0),"totalOutgoingActive":NumberInt(0),"totalWithScriptEnabled":NumberInt(0)},"createdAt":new Date(1584414716293),"_updatedAt":new Date(1584414716293)});

View File

@ -1,3 +0,0 @@
db.getCollection("rocketchat_subscription").insert({"_id":"KRktZiYdT9DK3dZgJ","open":true,"alert":false,"unread":0,"userMentions":0,"groupMentions":0,"ts":new Date("2020-03-12T14:16:48.447Z"),"rid":"GENERAL","name":"general","t":"c","u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin","name":"Admin"},"_updatedAt":new Date("2020-05-14T14:09:26.503Z"),"ls":new Date("2020-05-14T14:09:26.503Z")});
db.getCollection("rocketchat_subscription").insert({"_id":"MMF5fwJkT8zrTjX9b","open":true,"alert":false,"unread":0,"userMentions":0,"groupMentions":0,"ts":new Date("2021-06-14T21:26:33.120Z"),"rid":"5iyMRT843rNn4wwHv","name":"jumping-thread","fname":"jumping-thread","customFields":{},"t":"p","u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin"},"ls":new Date("2021-06-14T21:27:34.525Z"),"_updatedAt":new Date("2021-06-14T21:27:34.525Z"),"roles":["owner"],"lr":new Date("2021-06-14T21:27:14.840Z")});
db.getCollection("rocketchat_subscription").insert({"_id":"o3jB8uKAC2cBkYhcL","open":true,"alert":false,"unread":0,"userMentions":0,"groupMentions":0,"ts":new Date("2021-06-14T21:23:44.808Z"),"rid":"GFR2xxircSsyJxx9F","name":"jumping","fname":"jumping","customFields":{},"t":"p","u":{"_id":"nM6vXyDLGGzSPsLNy","username":"admin"},"ls":new Date("2021-06-14T21:28:50.546Z"),"_updatedAt":new Date("2021-06-14T21:28:50.546Z"),"roles":["owner"]});

View File

@ -1,2 +0,0 @@
db.getCollection("users").insert({"_id":"nM6vXyDLGGzSPsLNy","createdAt":new Date(1584022531608),"services":{"password":{"bcrypt":"$2b$10$fXL9kVkWeKA7TbP2skwau.Xu3V52q1x/YPfZQ4oYjHhCRPdXwZOQ6"},"email":{"verificationTokens":[{"token":"YadCnp4E2o8lD8ZEyzn320qjoW9QEIGSU1jsaR2840J","address":"admin@example.com","when":new Date(1584022531675)}]},"resume":{"loginTokens":[]}},"emails":[{"address":"admin@example.com","verified":false}],"type":"user","status":"offline","active":true,"_updatedAt":new Date(1589468245023),"roles":["admin"],"name":"Admin","lastLogin":new Date(1589465335818),"statusConnection":"offline","username":"admin","utcOffset":NumberInt(1),"statusDefault":"online","statusText":"Lunch"}); //Password = "password"
db.getCollection("users").insert({"_id":"rocket.cat","createdAt":new Date(1584022383007),"avatarOrigin":"local","name":"Rocket.Cat","username":"rocket.cat","status":"online","statusDefault":"online","utcOffset":NumberInt(0),"active":true,"type":"bot","_updatedAt":new Date(1584022383316),"roles":["bot"]});

View File

@ -1,27 +0,0 @@
version: '2'
services:
mongo:
image: circleci/mongo:4.0
volumes:
- ${DATAROOT}/data/db:/data/db
- ${DATAROOT}/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d:ro
environment:
- MONGO_INITDB_DATABASE=rocketchat
mongo-init-replica: # No replicas when testing
image: tianon/true
restart: "no"
command: "true"
entrypoint: ["/true"]
hubot: # No hubot when testing
image: tianon/true
restart: "no"
command: "true"
entrypoint: ["/true"]
mailcatcher:
image: tophfr/mailcatcher
ports:
- 1080:80

View File

@ -1,31 +0,0 @@
#!/bin/bash
SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
ROOT_FOLDER=${SCRIPTPATH%%/e2e*} #Gets path up to (but excluding) "e2e" - this assumes this script is always held within the e2e folder
PAUSE_ON_FAIL_FOR_DEBUG=0
FORCE_DEFAULT_DOCKER_DATA=0 # Set this to 1 to automatically overwrite data.js with the working Docker version
TEST_SUBSET="${1:-}"
function cleanup_and_exit () {
"$SCRIPTPATH/controlRCDemoEnv.sh" stop
exit $1
}
# INFRASTRUCTURE UP
"$SCRIPTPATH/controlRCDemoEnv.sh" startandwait
# RUN TESTS
echo "Running tests"
cd "$ROOT_FOLDER"
if [ $FORCE_DEFAULT_DOCKER_DATA == 1 ]; then
cp "./e2e/data/data.docker.js" "./e2e/data.js"
fi
npx detox test "$ROOT_FOLDER/e2e/tests/$TEST_SUBSET" -c ios.sim.release
TEST_SUCCESS=$?
if [ $TEST_SUCCESS != 0 ] && [ $PAUSE_ON_FAIL_FOR_DEBUG == 1 ]; then
read -n 1 -s -r -p "Paused for debugging failed tests. Press any key to continue." && echo
fi
cleanup_and_exit $TEST_SUCCESS

View File

@ -1,6 +1,4 @@
import { exec } from 'child_process';
import { by, expect, element } from 'detox';
import Detox, { device, waitFor, element, by, expect } from 'detox';
import data from '../data';
@ -60,8 +58,9 @@ async function login(username: string, password: string) {
.toExist()
.withTimeout(2000);
await element(by.id('login-view-email')).replaceText(username);
await element(by.id('login-view-email')).tapReturnKey();
await element(by.id('login-view-password')).replaceText(password);
await element(by.id('login-view-submit')).tap();
await element(by.id('login-view-password')).tapReturnKey();
await waitFor(element(by.id('rooms-list-view')))
.toExist()
.withTimeout(30000);
@ -99,69 +98,30 @@ async function mockMessage(message: string, isThread = false) {
const deviceType = device.getPlatform();
const { textMatcher } = platformTypes[deviceType];
const input = isThread ? 'messagebox-input-thread' : 'messagebox-input';
await element(by.id(input)).replaceText(`${data.random}${message}`);
await element(by.id(input)).replaceText(message);
await sleep(300);
await element(by.id('messagebox-send-message')).tap();
await waitFor(element(by[textMatcher](`${data.random}${message}`)))
await waitFor(element(by[textMatcher](message)))
.toExist()
.withTimeout(60000);
await element(by[textMatcher](`${data.random}${message}`))
.atIndex(0)
.tap();
}
async function starMessage(message: string) {
const deviceType = device.getPlatform();
const { textMatcher } = platformTypes[deviceType];
const messageLabel = `${data.random}${message}`;
await element(by[textMatcher](messageLabel)).atIndex(0).longPress();
await expect(element(by.id('action-sheet'))).toExist();
await expect(element(by.id('action-sheet-handle'))).toBeVisible();
await element(by.id('action-sheet-handle')).swipe('up', 'fast', 0.5);
await element(by[textMatcher]('Star')).atIndex(0).tap();
await waitFor(element(by.id('action-sheet')))
.not.toExist()
.withTimeout(5000);
}
async function pinMessage(message: string) {
const deviceType = device.getPlatform();
const { textMatcher } = platformTypes[deviceType];
const messageLabel = `${data.random}${message}`;
await waitFor(element(by[textMatcher](messageLabel)).atIndex(0)).toExist();
await element(by[textMatcher](messageLabel)).atIndex(0).longPress();
await expect(element(by.id('action-sheet'))).toExist();
await expect(element(by.id('action-sheet-handle'))).toBeVisible();
await element(by.id('action-sheet-handle')).swipe('up', 'fast', 0.5);
await element(by[textMatcher]('Pin')).atIndex(0).tap();
await waitFor(element(by.id('action-sheet')))
.not.toExist()
.withTimeout(5000);
}
async function dismissReviewNag() {
const deviceType = device.getPlatform();
const { textMatcher } = platformTypes[deviceType];
await waitFor(element(by[textMatcher]('Are you enjoying this app?')))
.toExist()
.withTimeout(60000);
await element(by[textMatcher]('No')).atIndex(0).tap(); // Tap `no` on ask for review alert
await element(by[textMatcher](message)).atIndex(0).tap();
return message;
}
async function tapBack() {
try {
await element(by.id('header-back')).atIndex(0).tap();
} catch (error) {
await device.pressBack();
}
await sleep(300); // Wait for animation to finish
}
async function searchRoom(room: string) {
await waitFor(element(by.id('rooms-list-view')))
.toBeVisible()
.withTimeout(30000);
await element(by.id('rooms-list-view-search')).tap();
await waitFor(element(by.id('rooms-list-view-search-input')))
.toExist()
.withTimeout(5000);
await expect(element(by.id('rooms-list-view-search-input'))).toExist();
await sleep(300);
await tapAndWaitFor(element(by.id('rooms-list-view-search')), element(by.id('rooms-list-view-search-input')), 5000);
await element(by.id('rooms-list-view-search-input')).typeText(room);
await sleep(300);
await waitFor(element(by.id(`rooms-list-view-item-${room}`)))
@ -169,24 +129,60 @@ async function searchRoom(room: string) {
.withTimeout(60000);
}
// eslint-disable-next-line no-undef
async function tryTapping(theElement: Detox.IndexableNativeElement, timeout: number, longtap = false) {
async function navigateToRoom(room: string) {
await searchRoom(room);
await element(by.id(`rooms-list-view-item-${room}`)).tap();
await checkRoomTitle(room);
}
async function tryTapping(
theElement: Detox.IndexableNativeElement | Detox.NativeElement,
timeout: number,
longPress = false
): Promise<void> {
try {
if (longtap) {
if (longPress) {
await theElement.tap();
await theElement.longPress();
} else {
await theElement.tap();
}
} catch (e) {
if (timeout <= 0) {
// TODO: Maths. How closely has the timeout been honoured here?
throw e;
}
return tryTapping(theElement, timeout - 100);
}
}
async function tapAndWaitFor(
elementToTap: Detox.IndexableNativeElement | Detox.NativeElement,
elementToWaitFor: Detox.IndexableNativeElement | Detox.NativeElement,
timeout: number,
longPress = false
) {
try {
if (longPress) {
elementToTap.longPress();
} else {
await elementToTap.tap();
}
await waitFor(elementToWaitFor).toBeVisible().withTimeout(1000);
} catch (e) {
if (timeout <= 0) {
throw e;
}
await sleep(100);
await tryTapping(theElement, timeout - 100);
await tapAndWaitFor(elementToTap, elementToWaitFor, timeout - 100);
}
}
async function checkRoomTitle(room: string) {
await waitFor(element(by.id(`room-view-title-${room}`)))
.toBeVisible()
.withTimeout(60000);
}
const checkServer = async (server: string) => {
const label = `Connected to ${server}`;
await element(by.id('rooms-list-view-sidebar')).tap();
@ -200,32 +196,36 @@ const checkServer = async (server: string) => {
.toBeVisible()
.withTimeout(10000);
await element(by.id('sidebar-close-drawer')).tap();
if (device.getPlatform() === 'ios') {
await waitFor(element(by.id('sidebar-close-drawer')))
.not.toBeVisible()
.withTimeout(10000);
} else {
// toBeVisible is not working on Android
// It is always visible, even when it's not
await sleep(2000);
}
};
function runCommand(command: string) {
return new Promise<void>((resolve, reject) => {
exec(command, (error, _stdout, stderr) => {
if (error) {
reject(new Error(`exec error: ${stderr}`));
return;
// Useful to get rid of `Too many requests` alert on register
async function expectValidRegisterOrRetry(platform: keyof typeof platformTypes, retries = 3) {
if (retries === 0) {
throw new Error('Too many retries');
}
resolve();
});
});
}
async function prepareAndroid() {
if (device.getPlatform() !== 'android') {
return;
try {
await waitFor(element(by.id('rooms-list-view')))
.toBeVisible()
.withTimeout(60000);
} catch (error) {
/**
* We can't use regex to properly match by label, so we assume [error-too-many-requests] is visible.
* We don't need to wait for another 60 seconds, because we already did above, so we just try again.
* */
await element(by[platformTypes[platform].textMatcher]('OK').and(by.type(platformTypes[platform].alertButtonType))).tap();
await element(by.id('register-view-submit')).tap();
await expectValidRegisterOrRetry(platform, retries - 1);
}
await runCommand('adb shell settings put secure spell_checker_enabled 0');
await runCommand('adb shell settings put secure autofill_service null');
await runCommand('adb shell settings put global window_animation_scale 0.0');
await runCommand('adb shell settings put global transition_animation_scale 0.0');
await runCommand('adb shell settings put global animator_duration_scale 0.0');
}
export {
@ -235,14 +235,14 @@ export {
login,
logout,
mockMessage,
starMessage,
pinMessage,
dismissReviewNag,
tapBack,
sleep,
searchRoom,
navigateToRoom,
tryTapping,
tapAndWaitFor,
checkRoomTitle,
checkServer,
platformTypes,
prepareAndroid
expectValidRegisterOrRetry
};

View File

@ -1,6 +1,6 @@
import axios from 'axios';
import data, { TDataChannels, TDataGroups, TDataTeams, TDataUsers, TUserRegularChannels } from '../data';
import data from '../data';
import random from './random';
const TEAM_TYPE = {
@ -17,109 +17,104 @@ const rocketchat = axios.create({
}
});
const login = async (username: string, password: string) => {
export const login = async (username: string, password: string) => {
console.log(`Logging in as user ${username}`);
const response = await rocketchat.post('login', {
user: username,
password
});
const { userId } = response.data.data;
const { authToken } = response.data.data;
const { authToken, userId } = response.data.data;
rocketchat.defaults.headers.common['X-User-Id'] = userId;
rocketchat.defaults.headers.common['X-Auth-Token'] = authToken;
return { authToken, userId };
};
const createUser = async (username: string, password: string, name: string, email: string) => {
console.log(`Creating user ${username}`);
export interface ITestUser {
username: string;
password: string;
name: string;
email: string;
}
export const createRandomUser = async (): Promise<ITestUser> => {
try {
await login(data.adminUser, data.adminPassword);
const user = data.randomUser();
console.log(`Creating user ${user.username}`);
await rocketchat.post('users.create', {
username,
password,
name,
email
username: user.username,
name: user.name,
password: user.password,
email: user.email
});
return user;
} catch (error) {
console.log(JSON.stringify(error));
throw new Error('Failed to create user');
}
};
const createChannelIfNotExists = async (channelname: string) => {
console.log(`Creating public channel ${channelname}`);
export const createRandomRoom = async (
user: { username: string; password: string },
type: 'p' | 'c' = 'c'
): Promise<{ _id: string; name: string }> => {
try {
const room = await rocketchat.post('channels.create', {
name: channelname
await login(user.username, user.password);
const room = `room${random()}`;
console.log(`Creating room ${room}`);
const result = await rocketchat.post(type === 'c' ? 'channels.create' : 'groups.create', {
name: room
});
return room;
} catch (createError) {
try {
// Maybe it exists already?
const room = rocketchat.get(`channels.info?roomName=${channelname}`);
return room;
} catch (infoError) {
console.log(JSON.stringify(createError));
console.log(JSON.stringify(infoError));
throw new Error('Failed to find or create public channel');
}
return {
_id: type === 'c' ? result.data.channel._id : result.data.group._id,
name: type === 'c' ? result.data.channel.name : result.data.group.name
};
} catch (e) {
console.log(JSON.stringify(e));
throw new Error('Failed to create room');
}
};
const createTeamIfNotExists = async (teamname: string) => {
console.log(`Creating private team ${teamname}`);
export const createRandomTeam = async (user: { username: string; password: string }) => {
try {
await login(user.username, user.password);
const team = `team${random()}`;
console.log(`Creating team ${team}`);
await rocketchat.post('teams.create', {
name: teamname,
name: team,
type: TEAM_TYPE.PRIVATE
});
} catch (createError) {
try {
// Maybe it exists already?
await rocketchat.get(`teams.info?teamName=${teamname}`);
} catch (infoError) {
console.log(JSON.stringify(createError));
console.log(JSON.stringify(infoError));
throw new Error('Failed to find or create private team');
}
return team;
} catch (e) {
console.log(JSON.stringify(e));
throw new Error('Failed create team');
}
};
const createGroupIfNotExists = async (groupname: string) => {
console.log(`Creating private group ${groupname}`);
export const sendRandomMessage = async ({
user,
room,
messageEnd,
tmid
}: {
user: { username: string; password: string };
room: string;
messageEnd: string;
tmid?: string;
}) => {
try {
await rocketchat.post('groups.create', {
name: groupname
});
} catch (createError) {
try {
// Maybe it exists already?
await rocketchat.get(`groups.info?roomName=${groupname}`);
const msg = `${random()}${messageEnd}`;
console.log(`Sending message ${msg} to ${room}`);
await login(user.username, user.password);
const response = await rocketchat.post('chat.postMessage', { channel: room, msg, tmid });
return response.data;
} catch (infoError) {
console.log(JSON.stringify(createError));
console.log(JSON.stringify(infoError));
throw new Error('Failed to find or create private group');
}
}
};
const changeChannelJoinCode = async (roomId: string, joinCode: string) => {
console.log(`Changing channel Join Code ${roomId}`);
try {
await rocketchat.post('method.call/saveRoomSettings', {
message: JSON.stringify({
msg: 'method',
id: random(10),
method: 'saveRoomSettings',
params: [roomId, { joinCode }]
})
});
} catch (createError) {
console.log(JSON.stringify(createError));
throw new Error('Failed to create protected channel');
}
};
const sendMessage = async (user: { username: string; password: string }, channel: string, msg: string, tmid?: string) => {
export const sendMessage = async (user: { username: string; password: string }, channel: string, msg: string, tmid?: string) => {
console.log(`Sending message to ${channel}`);
try {
await login(user.username, user.password);
@ -131,63 +126,13 @@ const sendMessage = async (user: { username: string; password: string }, channel
}
};
const setup = async () => {
await login(data.adminUser, data.adminPassword);
for (const userKey in data.users) {
if (Object.prototype.hasOwnProperty.call(data.users, userKey)) {
const user = data.users[userKey as TDataUsers];
await createUser(user.username, user.password, user.username, user.email);
}
}
for (const channelKey in data.channels) {
if (Object.prototype.hasOwnProperty.call(data.channels, channelKey)) {
const channel = data.channels[channelKey as TDataChannels];
const {
data: {
channel: { _id }
}
} = await createChannelIfNotExists(channel.name);
if ('joinCode' in channel) {
await changeChannelJoinCode(_id, channel.joinCode);
}
}
}
await login(data.users.regular.username, data.users.regular.password);
for (const channelKey in data.userRegularChannels) {
if (Object.prototype.hasOwnProperty.call(data.userRegularChannels, channelKey)) {
const channel = data.userRegularChannels[channelKey as TUserRegularChannels];
await createChannelIfNotExists(channel.name);
}
}
for (const groupKey in data.groups) {
if (Object.prototype.hasOwnProperty.call(data.groups, groupKey)) {
const group = data.groups[groupKey as TDataGroups];
await createGroupIfNotExists(group.name);
}
}
for (const teamKey in data.teams) {
if (Object.prototype.hasOwnProperty.call(data.teams, teamKey)) {
const team = data.teams[teamKey as TDataTeams];
await createTeamIfNotExists(team.name);
}
}
};
const get = (endpoint: string) => {
export const get = (endpoint: string) => {
console.log(`GET /${endpoint}`);
return rocketchat.get(endpoint);
};
const post = (endpoint: string, body: any) => {
export const post = async (endpoint: string, body: any, user: ITestUser) => {
await login(user.username, user.password);
console.log(`POST /${endpoint} ${JSON.stringify(body)}`);
return rocketchat.post(endpoint, body);
};
export { setup, sendMessage, get, post, login };

View File

@ -1,6 +1,6 @@
function random(length: number) {
function random(length = 10) {
let text = '';
const possible = 'abcdefghijklmnopqrstuvwxyz';
const possible = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890';
for (let i = 0; i < length; i += 1) {
text += possible.charAt(Math.floor(Math.random() * possible.length));
}

13
e2e/jest.config.js Normal file
View File

@ -0,0 +1,13 @@
/** @type {import('@jest/types').Config.InitialOptions} */
module.exports = {
rootDir: '..',
testSequencer: '<rootDir>/e2e/testSequencer.js',
testMatch: ['<rootDir>/e2e/tests/**/*.spec.ts'],
testTimeout: 120000,
maxWorkers: process.env.CI ? 1 : 3, // ci already uses parallelism
globalSetup: 'detox/runners/jest/globalSetup',
globalTeardown: 'detox/runners/jest/globalTeardown',
reporters: ['detox/runners/jest/reporter', 'jest-junit'],
testEnvironment: 'detox/runners/jest/testEnvironment',
verbose: true
};

12
e2e/testSequencer.js Normal file
View File

@ -0,0 +1,12 @@
const Sequencer = require('@jest/test-sequencer').default;
class CustomSequencer extends Sequencer {
sort(tests) {
// Test structure information
// https://github.com/facebook/jest/blob/6b8b1404a1d9254e7d5d90a8934087a9c9899dab/packages/jest-runner/src/types.ts#L17-L21
const copyTests = Array.from(tests);
return copyTests.sort((testA, testB) => (testA.path > testB.path ? 1 : -1));
}
}
module.exports = CustomSequencer;

View File

@ -1,23 +1,27 @@
import { expect } from 'detox';
import { device, waitFor, element, by, expect } from 'detox';
import {
navigateToLogin,
login,
sleep,
tapBack,
mockMessage,
searchRoom,
logout,
platformTypes,
TTextMatcher
TTextMatcher,
tapAndWaitFor,
expectValidRegisterOrRetry,
mockMessage
} from '../../helpers/app';
import data from '../../data';
const testuser = data.users.regular;
const otheruser = data.users.alternate;
import { createRandomUser, ITestUser } from '../../helpers/data_setup';
import random from '../../helpers/random';
const checkServer = async (server: string) => {
const label = `Connected to ${server}`;
await waitFor(element(by.id('rooms-list-view-sidebar')))
.toBeVisible()
.withTimeout(10000);
await element(by.id('rooms-list-view-sidebar')).tap();
await waitFor(element(by.id('sidebar-view')))
.toBeVisible()
@ -69,16 +73,22 @@ async function navigateSecurityPrivacy() {
}
describe('E2E Encryption', () => {
const room = `encrypted${data.random}`;
const room = `encrypted${random()}`;
let user: ITestUser;
let otherUser: ITestUser;
let mockedMessageText: string;
const newPassword = 'abc';
let alertButtonType: string;
let textMatcher: TTextMatcher;
before(async () => {
beforeAll(async () => {
user = await createRandomUser();
otherUser = await createRandomUser();
await device.launchApp({ permissions: { notifications: 'YES' }, delete: true });
({ alertButtonType, textMatcher } = platformTypes[device.getPlatform()]);
await navigateToLogin();
await login(testuser.username, testuser.password);
await login(user.username, user.password);
});
describe('Banner', () => {
@ -106,6 +116,7 @@ describe('E2E Encryption', () => {
it('should tap "Save my password" and close modal', async () => {
await element(by.id('e2e-save-password-view-saved-password').and(by.label('I Saved My E2E Password'))).tap();
await sleep(300); // wait for animation
await waitFor(element(by.id('rooms-list-view')))
.toBeVisible()
.withTimeout(2000);
@ -114,18 +125,21 @@ describe('E2E Encryption', () => {
it('should create encrypted room', async () => {
await element(by.id('rooms-list-view-create-channel')).tap();
await waitFor(element(by.id('new-message-view')))
.toBeVisible()
.withTimeout(5000);
await waitFor(element(by.id('new-message-view-create-channel')))
.toBeVisible()
.withTimeout(2000);
await element(by.id('new-message-view-create-channel')).tap();
await waitFor(element(by.id('select-users-view')))
.toBeVisible()
.withTimeout(2000);
await element(by.id('select-users-view-search')).replaceText(otheruser.username);
await waitFor(element(by.id(`select-users-view-item-${otheruser.username}`)))
await element(by.id('select-users-view-search')).replaceText(otherUser.username);
await waitFor(element(by.id(`select-users-view-item-${otherUser.username}`)))
.toBeVisible()
.withTimeout(60000);
await element(by.id(`select-users-view-item-${otheruser.username}`)).tap();
await waitFor(element(by.id(`selected-user-${otheruser.username}`)))
await element(by.id(`select-users-view-item-${otherUser.username}`)).tap();
await waitFor(element(by.id(`selected-user-${otherUser.username}`)))
.toBeVisible()
.withTimeout(5000);
await element(by.id('selected-users-view-submit')).tap();
@ -133,6 +147,7 @@ describe('E2E Encryption', () => {
.toExist()
.withTimeout(5000);
await element(by.id('create-channel-name')).replaceText(room);
await element(by.id('create-channel-name')).tapReturnKey();
await element(by.id('create-channel-encrypted')).longPress();
await element(by.id('create-channel-submit')).tap();
await waitFor(element(by.id('room-view')))
@ -144,7 +159,7 @@ describe('E2E Encryption', () => {
});
it('should send message and be able to read it', async () => {
await mockMessage('message');
mockedMessageText = await mockMessage('message');
await tapBack();
});
});
@ -201,7 +216,7 @@ describe('E2E Encryption', () => {
describe('Change password', () => {
it('should change password', async () => {
await element(by.id('e2e-encryption-security-view-password')).typeText(newPassword);
await element(by.id('e2e-encryption-security-view-password')).replaceText(newPassword);
await element(by.id('e2e-encryption-security-view-change-password')).tap();
await waitFor(element(by[textMatcher]('Are you sure?')))
.toExist()
@ -232,7 +247,7 @@ describe('E2E Encryption', () => {
.toBeVisible()
.withTimeout(2000);
await navigateToRoom(room);
await waitFor(element(by[textMatcher](`${data.random}message`)).atIndex(0))
await waitFor(element(by[textMatcher](mockedMessageText)).atIndex(0))
.toExist()
.withTimeout(2000);
});
@ -244,9 +259,9 @@ describe('E2E Encryption', () => {
.withTimeout(2000);
await logout();
await navigateToLogin();
await login(testuser.username, testuser.password);
await login(user.username, user.password);
await navigateToRoom(room);
await waitFor(element(by[textMatcher](`${data.random}message`)).atIndex(0))
await waitFor(element(by[textMatcher](mockedMessageText)).atIndex(0))
.not.toExist()
.withTimeout(2000);
await expect(element(by.label('Encrypted message')).atIndex(0)).toExist();
@ -261,35 +276,27 @@ describe('E2E Encryption', () => {
await waitFor(element(by.id('listheader-encryption')))
.toBeVisible()
.withTimeout(2000);
await element(by.id('listheader-encryption')).tap();
await waitFor(element(by.id('e2e-enter-your-password-view')))
.toBeVisible()
.withTimeout(2000);
await element(by.id('e2e-enter-your-password-view-password')).typeText(newPassword);
await tapAndWaitFor(element(by.id('listheader-encryption')), element(by.id('e2e-enter-your-password-view')), 2000);
await element(by.id('e2e-enter-your-password-view-password')).replaceText(newPassword);
await element(by.id('e2e-enter-your-password-view-confirm')).tap();
await waitFor(element(by.id('listheader-encryption')))
.not.toExist()
.withTimeout(10000);
await navigateToRoom(room);
await waitFor(element(by[textMatcher](`${data.random}message`)).atIndex(0))
await waitFor(element(by[textMatcher](mockedMessageText)).atIndex(0))
.toExist()
.withTimeout(2000);
});
});
describe('Reset E2E key', () => {
before(async () => {
beforeAll(async () => {
await tapBack();
await waitFor(element(by.id('rooms-list-view')))
.toBeVisible()
.withTimeout(2000);
});
it('should reset e2e key', async () => {
// FIXME: too flaky on Android for now... let's fix it later
// It's also flaky on iOS, but it works from time to time
if (device.getPlatform() === 'android') {
return;
}
await navigateSecurityPrivacy();
await element(by.id('security-privacy-view-e2e-encryption')).tap();
await waitFor(element(by.id('e2e-encryption-security-view')))
@ -316,7 +323,7 @@ describe('E2E Encryption', () => {
await waitFor(element(by.id('login-view')))
.toBeVisible()
.withTimeout(2000);
await login(testuser.username, testuser.password);
await login(user.username, user.password);
// TODO: assert 'Save Your Encryption Password'
await waitFor(element(by.id('listheader-encryption')))
.toBeVisible()
@ -326,14 +333,6 @@ describe('E2E Encryption', () => {
});
describe('Persist Banner', () => {
before(async () => {
// reinstall the app because of one flaky test above
if (device.getPlatform() === 'android') {
await device.launchApp({ permissions: { notifications: 'YES' }, delete: true });
await navigateToLogin();
await login(testuser.username, testuser.password);
}
});
it('check save banner', async () => {
await checkServer(data.server);
await checkBanner();
@ -351,7 +350,7 @@ describe('E2E Encryption', () => {
await waitFor(element(by.id('new-server-view')))
.toBeVisible()
.withTimeout(60000);
await element(by.id('new-server-view-input')).typeText(`${data.alternateServer}`);
await element(by.id('new-server-view-input')).replaceText(`${data.alternateServer}`);
await element(by.id('new-server-view-input')).tapReturnKey();
await waitFor(element(by.id('workspace-view')))
.toBeVisible()
@ -362,14 +361,13 @@ describe('E2E Encryption', () => {
.withTimeout(2000);
// Register new user
await element(by.id('register-view-name')).replaceText(data.registeringUser.username);
await element(by.id('register-view-username')).replaceText(data.registeringUser.username);
await element(by.id('register-view-email')).replaceText(data.registeringUser.email);
await element(by.id('register-view-password')).replaceText(data.registeringUser.password);
await element(by.id('register-view-submit')).tap();
await waitFor(element(by.id('rooms-list-view')))
.toBeVisible()
.withTimeout(60000);
const randomUser = data.randomUser();
await element(by.id('register-view-name')).replaceText(randomUser.username);
await element(by.id('register-view-username')).replaceText(randomUser.username);
await element(by.id('register-view-email')).replaceText(randomUser.email);
await element(by.id('register-view-password')).replaceText(randomUser.password);
await element(by.id('register-view-password')).tapReturnKey();
await expectValidRegisterOrRetry(device.getPlatform());
await checkServer(data.alternateServer);
});

View File

@ -1,20 +1,35 @@
// const OTP = require('otp.js');
// const GA = OTP.googleAuthenticator;
import { expect } from 'detox';
import { device, waitFor, element, by, expect } from 'detox';
import { navigateToLogin, login, mockMessage, tapBack, searchRoom, platformTypes, TTextMatcher, sleep } from '../../helpers/app';
import data from '../../data';
import {
navigateToLogin,
login,
tapBack,
searchRoom,
platformTypes,
TTextMatcher,
sleep,
checkRoomTitle,
mockMessage
} from '../../helpers/app';
import { createRandomUser, ITestUser } from '../../helpers/data_setup';
import random from '../../helpers/random';
const testuser = data.users.regular;
const otheruser = data.users.alternate;
describe('Broadcast room', () => {
describe.skip('Broadcast room', () => {
let textMatcher: TTextMatcher;
before(async () => {
let user: ITestUser;
let otherUser: ITestUser;
let message: string;
const room = `broadcast${random()}`;
beforeAll(async () => {
user = await createRandomUser();
otherUser = await createRandomUser();
await device.launchApp({ permissions: { notifications: 'YES' }, delete: true });
({ textMatcher } = platformTypes[device.getPlatform()]);
await navigateToLogin();
await login(testuser.username, testuser.password);
await login(user.username, user.password);
});
it('should create broadcast room', async () => {
@ -23,34 +38,32 @@ describe('Broadcast room', () => {
.withTimeout(2000);
await element(by.id('rooms-list-view-create-channel')).tap();
await waitFor(element(by.id('new-message-view')))
.toBeVisible()
.withTimeout(5000);
await waitFor(element(by.id('new-message-view-create-channel')))
.toBeVisible()
.withTimeout(2000);
await element(by.id('new-message-view-create-channel')).tap();
await waitFor(element(by.id('select-users-view')))
.toBeVisible()
.withTimeout(2000);
await element(by.id('select-users-view-search')).replaceText(otheruser.username);
await waitFor(element(by.id(`select-users-view-item-${otheruser.username}`)))
await element(by.id('select-users-view-search')).replaceText(otherUser.username);
await waitFor(element(by.id(`select-users-view-item-${otherUser.username}`)))
.toBeVisible()
.withTimeout(60000);
await element(by.id(`select-users-view-item-${otheruser.username}`)).tap();
await waitFor(element(by.id(`selected-user-${otheruser.username}`)))
await element(by.id(`select-users-view-item-${otherUser.username}`)).tap();
await waitFor(element(by.id(`selected-user-${otherUser.username}`)))
.toBeVisible()
.withTimeout(5000);
await element(by.id('selected-users-view-submit')).tap();
await waitFor(element(by.id('create-channel-view')))
.toExist()
.withTimeout(5000);
await element(by.id('create-channel-name')).replaceText(`broadcast${data.random}`);
await element(by.id('create-channel-broadcast')).longPress(); // https://github.com/facebook/react-native/issues/28032
await element(by.id('create-channel-name')).replaceText(room);
await element(by.id('create-channel-name')).tapReturnKey();
await element(by.id('create-channel-broadcast')).tap();
await element(by.id('create-channel-submit')).tap();
await waitFor(element(by.id('room-view')))
.toBeVisible()
.withTimeout(60000);
await waitFor(element(by.id(`room-view-title-broadcast${data.random}`)))
.toBeVisible()
.withTimeout(60000);
await sleep(500);
await checkRoomTitle(room);
await element(by.id('room-header')).tap();
await waitFor(element(by.id('room-actions-view')))
.toBeVisible()
@ -74,14 +87,14 @@ describe('Broadcast room', () => {
await waitFor(element(by.id('room-view')))
.toBeVisible()
.withTimeout(5000);
await mockMessage('message');
message = await mockMessage('message');
await tapBack();
});
it('should login as user without write message authorization and enter room', async () => {
await device.launchApp({ permissions: { notifications: 'YES' }, delete: true });
await navigateToLogin();
await login(otheruser.username, otheruser.password);
await login(otherUser.username, otherUser.password);
// await waitFor(element(by.id('two-factor'))).toBeVisible().withTimeout(5000);
// await expect(element(by.id('two-factor'))).toBeVisible();
@ -89,12 +102,12 @@ describe('Broadcast room', () => {
// await element(by.id('two-factor-input')).replaceText(code);
// await element(by.id('two-factor-send')).tap();
await searchRoom(`broadcast${data.random}`);
await element(by.id(`rooms-list-view-item-broadcast${data.random}`)).tap();
await searchRoom(room);
await element(by.id(`rooms-list-view-item-${room}`)).tap();
await waitFor(element(by.id('room-view')))
.toBeVisible()
.withTimeout(5000);
await waitFor(element(by.id(`room-view-title-broadcast${data.random}`)))
await waitFor(element(by.id(`room-view-title-${room}`)))
.toBeVisible()
.withTimeout(60000);
});
@ -108,7 +121,7 @@ describe('Broadcast room', () => {
});
it('should have the message created earlier', async () => {
await waitFor(element(by[textMatcher](`${data.random}message`)))
await waitFor(element(by[textMatcher](message)))
.toExist()
.withTimeout(60000);
});
@ -119,23 +132,20 @@ describe('Broadcast room', () => {
it('should tap on reply button and navigate to direct room', async () => {
await element(by.id('message-broadcast-reply')).tap();
await waitFor(element(by.id(`room-view-title-${testuser.username}`)))
await waitFor(element(by.id(`room-view-title-${user.username}`)))
.toBeVisible()
.withTimeout(5000);
});
it('should reply broadcasted message', async () => {
// Server is adding 2 spaces in front a reply message
await element(by.id('messagebox-input')).replaceText(`${data.random}broadcastreply`);
await element(by.id('messagebox-input')).replaceText(`${random()}broadcastreply`);
await sleep(300);
await element(by.id('messagebox-send-message')).tap();
await waitFor(element(by[textMatcher](`${data.random}message`)))
await waitFor(element(by[textMatcher](message)))
.toExist()
.withTimeout(10000);
await element(by[textMatcher](`${data.random}message`)).tap();
await sleep(600);
await waitFor(element(by.id(`room-view-title-broadcast${data.random}`)))
.toBeVisible()
.withTimeout(10000);
await element(by[textMatcher](message)).tap();
await sleep(300); // wait for animation
await checkRoomTitle(room);
});
});

View File

@ -1,29 +1,26 @@
import { expect } from 'detox';
import { device, waitFor, element, by, expect } from 'detox';
import { navigateToLogin, login, sleep, platformTypes, TTextMatcher } from '../../helpers/app';
import data from '../../data';
const profileChangeUser = data.users.profileChanges;
import { createRandomUser, ITestUser } from '../../helpers/data_setup';
import random from '../../helpers/random';
const scrollDown = 200;
async function waitForToast() {
// await waitFor(element(by.id('toast'))).toBeVisible().withTimeout(1000);
// await expect(element(by.id('toast'))).toBeVisible();
// await waitFor(element(by.id('toast'))).not.toBeNotVisible().withTimeout(1000);
// await expect(element(by.id('toast'))).not.toBeVisible();
await sleep(600);
}
describe('Profile screen', () => {
let scrollViewType: string;
let textMatcher: TTextMatcher;
let user: ITestUser;
before(async () => {
beforeAll(async () => {
user = await createRandomUser();
await device.launchApp({ permissions: { notifications: 'YES' }, delete: true });
({ scrollViewType, textMatcher } = platformTypes[device.getPlatform()]);
await navigateToLogin();
await login(profileChangeUser.username, profileChangeUser.password);
await login(user.username, user.password);
await element(by.id('rooms-list-view-sidebar')).tap();
await waitFor(element(by.id('sidebar-view')))
.toBeVisible()
@ -97,16 +94,19 @@ describe('Profile screen', () => {
describe('Usage', () => {
it('should change name and username', async () => {
await element(by.id('profile-view-name')).replaceText(`${profileChangeUser.username}new`);
await element(by.id('profile-view-username')).replaceText(`${profileChangeUser.username}new`);
await element(by.type(scrollViewType)).atIndex(1).swipe('up');
await element(by.id('profile-view-name')).replaceText(`${user.username}new`);
await element(by.id('profile-view-username')).replaceText(`${user.username}new`);
await element(by.id('profile-view-list')).swipe('down');
await element(by.id('profile-view-submit')).tap();
await waitForToast();
});
it('should change email and password', async () => {
await element(by.id('profile-view-email')).replaceText(`mobile+profileChangesNew${data.random}@rocket.chat`);
await element(by.id('profile-view-new-password')).replaceText(`${profileChangeUser.password}new`);
await waitFor(element(by.id('profile-view-email')))
.toBeVisible()
.withTimeout(2000);
await element(by.id('profile-view-email')).replaceText(`mobile+profileChangesNew${random()}@rocket.chat`);
await element(by.id('profile-view-new-password')).replaceText(`${user.password}new`);
await waitFor(element(by.id('profile-view-submit')))
.toExist()
.withTimeout(2000);
@ -114,7 +114,7 @@ describe('Profile screen', () => {
await waitFor(element(by.id('profile-view-enter-password-sheet')))
.toBeVisible()
.withTimeout(2000);
await element(by.id('profile-view-enter-password-sheet')).replaceText(`${profileChangeUser.password}`);
await element(by.id('profile-view-enter-password-sheet')).replaceText(`${user.password}`);
await element(by[textMatcher]('Save').withAncestor(by.id('action-sheet-content-with-input-and-submit')))
.atIndex(0)
.tap();

View File

@ -1,18 +1,21 @@
import { expect } from 'detox';
import { device, waitFor, element, by, expect } from 'detox';
import { navigateToLogin, login, platformTypes, TTextMatcher } from '../../helpers/app';
import data from '../../data';
const testuser = data.users.regular;
import { createRandomRoom, createRandomUser, ITestUser } from '../../helpers/data_setup';
describe('Settings screen', () => {
let alertButtonType: string;
let textMatcher: TTextMatcher;
before(async () => {
let user: ITestUser;
let room: string;
beforeAll(async () => {
user = await createRandomUser();
({ name: room } = await createRandomRoom(user));
await device.launchApp({ permissions: { notifications: 'YES' }, delete: true });
({ alertButtonType, textMatcher } = platformTypes[device.getPlatform()]);
await navigateToLogin();
await login(testuser.username, testuser.password);
await login(user.username, user.password);
await waitFor(element(by.id('rooms-list-view')))
.toBeVisible()
.withTimeout(10000);
@ -84,7 +87,7 @@ describe('Settings screen', () => {
await waitFor(element(by.id('rooms-list-view')))
.toBeVisible()
.withTimeout(5000);
await waitFor(element(by.id(`rooms-list-view-item-${data.groups.private.name}`)))
await waitFor(element(by.id(`rooms-list-view-item-${room}`)))
.toExist()
.withTimeout(10000);
});

View File

@ -1,19 +1,12 @@
import { expect } from 'detox';
import { device, waitFor, element, by, expect } from 'detox';
import data from '../../data';
import { navigateToLogin, login, mockMessage, tapBack, searchRoom, platformTypes, TTextMatcher } from '../../helpers/app';
import { navigateToLogin, login, tapBack, platformTypes, TTextMatcher, mockMessage, navigateToRoom } from '../../helpers/app';
import { createRandomUser, ITestUser } from '../../helpers/data_setup';
import random from '../../helpers/random';
const testuser = data.users.regular;
const room = data.channels.detoxpublic.name;
async function navigateToRoom() {
await searchRoom(room);
await element(by.id(`rooms-list-view-item-${room}`)).tap();
await waitFor(element(by.id('room-view')).atIndex(0))
.toExist()
.withTimeout(5000);
}
async function navigateToRoomActions() {
await element(by.id(`room-view-title-${room}`)).tap();
await waitFor(element(by.id('room-actions-view')))
@ -24,12 +17,15 @@ async function navigateToRoomActions() {
describe('Join public room', () => {
let alertButtonType: string;
let textMatcher: TTextMatcher;
before(async () => {
let user: ITestUser;
beforeAll(async () => {
user = await createRandomUser();
await device.launchApp({ permissions: { notifications: 'YES' }, delete: true });
({ alertButtonType, textMatcher } = platformTypes[device.getPlatform()]);
await navigateToLogin();
await login(testuser.username, testuser.password);
await navigateToRoom();
await login(user.username, user.password);
await navigateToRoom(room);
});
describe('Render', () => {
@ -64,7 +60,7 @@ describe('Join public room', () => {
});
describe('Room Actions', () => {
before(async () => {
beforeAll(async () => {
await navigateToRoomActions();
});
@ -110,7 +106,7 @@ describe('Join public room', () => {
await expect(element(by.id('room-actions-leave-channel'))).toBeNotVisible();
});
after(async () => {
afterAll(async () => {
await tapBack();
await waitFor(element(by.id('room-view')))
.toBeVisible()
@ -122,20 +118,20 @@ describe('Join public room', () => {
describe('Usage', () => {
it('should join room', async () => {
await element(by.id('room-view-join-button')).tap();
await waitFor(element(by.id('room-view-join-button')))
.not.toBeVisible()
.withTimeout(2000);
await tapBack();
await element(by.id(`rooms-list-view-item-${room}`)).tap();
await waitFor(element(by.id('room-view')))
.toBeVisible()
.withTimeout(5000);
await navigateToRoom(room);
await waitFor(element(by.id('messagebox')))
.toBeVisible()
.withTimeout(60000);
.withTimeout(10000);
await expect(element(by.id('messagebox'))).toBeVisible();
await expect(element(by.id('room-view-join'))).toBeNotVisible();
});
it('should send message', async () => {
await mockMessage('message');
await mockMessage(`${random()}message`);
});
it('should have notifications and leave channel', async () => {
@ -164,7 +160,7 @@ describe('Join public room', () => {
.withTimeout(10000);
await waitFor(element(by.id(`rooms-list-view-item-${room}`)))
.toBeNotVisible()
.withTimeout(60000); // flaky on Android
.withTimeout(60000);
});
});
});

View File

@ -1,15 +1,16 @@
import { expect } from 'detox';
import { device, waitFor, element, by, expect } from 'detox';
import { navigateToLogin, login, sleep } from '../../helpers/app';
import data from '../../data';
const testuser = data.users.regular;
import { createRandomUser, ITestUser } from '../../helpers/data_setup';
describe('Status screen', () => {
before(async () => {
let user: ITestUser;
beforeAll(async () => {
user = await createRandomUser();
await device.launchApp({ permissions: { notifications: 'YES' }, delete: true });
await navigateToLogin();
await login(testuser.username, testuser.password);
await login(user.username, user.password);
await element(by.id('rooms-list-view-sidebar')).tap();
await waitFor(element(by.id('sidebar-view')))
@ -52,7 +53,6 @@ describe('Status screen', () => {
await element(by.id('sidebar-custom-status-busy')).tap();
});
// TODO: flaky
it('should change status text', async () => {
await element(by.id('status-view-input')).replaceText('status-text-new');
await element(by.id('status-view-submit')).tap();

View File

@ -1,5 +1,8 @@
import { device, waitFor, element, by } from 'detox';
import data from '../../data';
import { navigateToLogin, login, checkServer, sleep } from '../../helpers/app';
import { navigateToLogin, login, checkServer, expectValidRegisterOrRetry } from '../../helpers/app';
import { createRandomRoom, createRandomUser, ITestUser } from '../../helpers/data_setup';
const reopenAndCheckServer = async (server: string) => {
await device.launchApp({ permissions: { notifications: 'YES' }, newInstance: true });
@ -10,13 +13,15 @@ const reopenAndCheckServer = async (server: string) => {
};
describe('Change server', () => {
before(async () => {
let user: ITestUser;
let room: string;
beforeAll(async () => {
user = await createRandomUser();
({ name: room } = await createRandomRoom(user));
await device.launchApp({ permissions: { notifications: 'YES' }, delete: true });
await navigateToLogin();
await login(data.users.regular.username, data.users.regular.password);
await waitFor(element(by.id('rooms-list-view')))
.toBeVisible()
.withTimeout(10000);
await login(user.username, user.password);
});
it('should open the dropdown button, have the server add button and create workspace button', async () => {
@ -37,7 +42,7 @@ describe('Change server', () => {
await waitFor(element(by.id('new-server-view')))
.toBeVisible()
.withTimeout(6000);
await element(by.id('new-server-view-input')).replaceText(`${data.alternateServer}`);
await element(by.id('new-server-view-input')).replaceText(data.alternateServer);
await element(by.id('new-server-view-input')).tapReturnKey();
await waitFor(element(by.id('workspace-view')))
.toBeVisible()
@ -60,17 +65,15 @@ describe('Change server', () => {
.withTimeout(2000);
// Register new user
await sleep(5000);
await element(by.id('register-view-name')).replaceText(data.registeringUser2.username);
await element(by.id('register-view-username')).replaceText(data.registeringUser2.username);
await element(by.id('register-view-email')).replaceText(data.registeringUser2.email);
await element(by.id('register-view-password')).replaceText(data.registeringUser2.password);
await element(by.id('register-view-submit')).tap();
await waitFor(element(by.id('rooms-list-view')))
.toBeVisible()
.withTimeout(60000);
const randomUser = data.randomUser();
await element(by.id('register-view-name')).replaceText(randomUser.name);
await element(by.id('register-view-username')).replaceText(randomUser.username);
await element(by.id('register-view-email')).replaceText(randomUser.email);
await element(by.id('register-view-password')).replaceText(randomUser.password);
await element(by.id('register-view-password')).tapReturnKey();
await expectValidRegisterOrRetry(device.getPlatform());
await waitFor(element(by.id(`rooms-list-view-item-${data.groups.private.name}`)))
await waitFor(element(by.id(`rooms-list-view-item-${room}`)))
.toBeNotVisible()
.withTimeout(60000);
await checkServer(data.alternateServer);
@ -89,7 +92,7 @@ describe('Change server', () => {
await waitFor(element(by.id('rooms-list-view')))
.toBeVisible()
.withTimeout(10000);
await waitFor(element(by.id(`rooms-list-view-item-${data.groups.private.name}`)))
await waitFor(element(by.id(`rooms-list-view-item-${room}`)))
.toBeVisible()
.withTimeout(60000);
await checkServer(data.server);

View File

@ -1,9 +1,10 @@
import { expect } from 'detox';
import { device, waitFor, element, by, expect } from 'detox';
import data from '../../data';
import { navigateToLogin, login, mockMessage, searchRoom } from '../../helpers/app';
import { navigateToLogin, login, searchRoom, mockMessage } from '../../helpers/app';
import { createRandomUser, ITestUser } from '../../helpers/data_setup';
import random from '../../helpers/random';
const testuser = data.users.regular;
const room = data.channels.detoxpublicprotected.name;
const { joinCode } = data.channels.detoxpublicprotected;
@ -20,6 +21,7 @@ async function openJoinCode() {
.toExist()
.withTimeout(2000);
let n = 0;
// FIXME: this while is always matching 3 loops
while (n < 3) {
try {
await element(by.id('room-view-join-button')).tap();
@ -33,10 +35,13 @@ async function openJoinCode() {
}
describe('Join protected room', () => {
before(async () => {
let user: ITestUser;
beforeAll(async () => {
user = await createRandomUser();
await device.launchApp({ permissions: { notifications: 'YES' }, delete: true });
await navigateToLogin();
await login(testuser.username, testuser.password);
await login(user.username, user.password);
await navigateToRoom();
});
@ -67,7 +72,7 @@ describe('Join protected room', () => {
});
it('should send message', async () => {
await mockMessage('message');
await mockMessage(`${random()}message`);
});
});
});

View File

@ -1,8 +1,9 @@
import { device, waitFor, element, by } from 'detox';
import data from '../../data';
import { navigateToLogin, login, tapBack, sleep } from '../../helpers/app';
import { sendMessage } from '../../helpers/data_setup';
const testuser = data.users.regular;
import { createRandomTeam, createRandomUser, ITestUser, sendMessage } from '../../helpers/data_setup';
import random from '../../helpers/random';
async function navigateToRoom(search: string) {
await element(by.id('directory-view-search')).replaceText(search);
@ -20,18 +21,26 @@ async function navigateToRoom(search: string) {
}
describe('Join room from directory', () => {
before(async () => {
let user: ITestUser;
let otherUser: ITestUser;
let team: string;
beforeAll(async () => {
user = await createRandomUser();
otherUser = await createRandomUser();
team = await createRandomTeam(user);
await device.launchApp({ permissions: { notifications: 'YES' }, delete: true });
await navigateToLogin();
await login(testuser.username, testuser.password);
await login(user.username, user.password);
});
describe('Usage', () => {
const threadMessage = `thread-${data.random}`;
before(async () => {
const result = await sendMessage(data.users.alternate, data.channels.detoxpublic.name, threadMessage);
const thread = `${random()}thread`;
beforeAll(async () => {
const result = await sendMessage(user, data.channels.detoxpublic.name, thread);
const threadId = result.message._id;
await sendMessage(data.users.alternate, result.message.rid, data.random, threadId);
await sendMessage(user, result.message.rid, 'insidethread', threadId);
});
it('should tap directory', async () => {
@ -50,7 +59,7 @@ describe('Join room from directory', () => {
.toBeVisible()
.withTimeout(2000);
await element(by.id('room-view-header-threads')).tap();
await waitFor(element(by.id(`thread-messages-view-${threadMessage}`)))
await waitFor(element(by.id(`thread-messages-view-${thread}`)))
.toBeVisible()
.withTimeout(2000);
await tapBack();
@ -68,7 +77,7 @@ describe('Join room from directory', () => {
await element(by.id('directory-view-dropdown')).tap();
await element(by.label('Users')).atIndex(0).tap();
await element(by.label('Search by')).atIndex(0).tap();
await navigateToRoom(data.users.alternate.username);
await navigateToRoom(otherUser.username);
});
it('should search team and navigate', async () => {
@ -80,7 +89,7 @@ describe('Join room from directory', () => {
await element(by.id('directory-view-dropdown')).tap();
await element(by.label('Teams')).atIndex(0).tap();
await element(by.label('Search by')).atIndex(0).tap();
await navigateToRoom(data.teams.private.name);
await navigateToRoom(team);
});
});
});

View File

@ -1,14 +1,28 @@
import { device, waitFor, element, by } from 'detox';
import data from '../../data';
import { sleep, navigateToLogin, login, checkServer, platformTypes, TTextMatcher } from '../../helpers/app';
import {
sleep,
navigateToLogin,
login,
checkServer,
platformTypes,
TTextMatcher,
expectValidRegisterOrRetry
} from '../../helpers/app';
import { createRandomUser, ITestUser } from '../../helpers/data_setup';
describe('Delete server', () => {
let alertButtonType: string;
let textMatcher: TTextMatcher;
before(async () => {
let user: ITestUser;
beforeAll(async () => {
user = await createRandomUser();
await device.launchApp({ permissions: { notifications: 'YES' }, delete: true });
({ alertButtonType, textMatcher } = platformTypes[device.getPlatform()]);
await navigateToLogin();
await login(data.users.regular.username, data.users.regular.password);
await login(user.username, user.password);
});
it('should be logged in main server', async () => {
@ -37,14 +51,13 @@ describe('Delete server', () => {
.withTimeout(2000);
// Register new user
await element(by.id('register-view-name')).replaceText(data.registeringUser3.username);
await element(by.id('register-view-username')).replaceText(data.registeringUser3.username);
await element(by.id('register-view-email')).replaceText(data.registeringUser3.email);
await element(by.id('register-view-password')).replaceText(data.registeringUser3.password);
await element(by.id('register-view-submit')).tap();
await waitFor(element(by.id('rooms-list-view')))
.toBeVisible()
.withTimeout(60000);
const randomUser = data.randomUser();
await element(by.id('register-view-name')).replaceText(randomUser.name);
await element(by.id('register-view-username')).replaceText(randomUser.username);
await element(by.id('register-view-email')).replaceText(randomUser.email);
await element(by.id('register-view-password')).replaceText(randomUser.password);
await element(by.id('register-view-password')).tapReturnKey();
await expectValidRegisterOrRetry(device.getPlatform());
await checkServer(data.alternateServer);
});

View File

@ -1,8 +1,17 @@
import { device, waitFor, element, by } from 'detox';
import EJSON from 'ejson';
import data from '../../data';
import { tapBack, checkServer, navigateToRegister, platformTypes, TTextMatcher } from '../../helpers/app';
import { get, login, sendMessage } from '../../helpers/data_setup';
import {
tapBack,
checkServer,
navigateToRegister,
platformTypes,
TTextMatcher,
expectValidRegisterOrRetry
} from '../../helpers/app';
import { createRandomRoom, createRandomUser, login, sendMessage } from '../../helpers/data_setup';
import random from '../../helpers/random';
const DEEPLINK_METHODS = { AUTH: 'auth', ROOM: 'room' };
@ -17,20 +26,24 @@ const getDeepLink = (method: string, server: string, params?: string) => {
describe('Deep linking', () => {
let userId: string;
let authToken: string;
let scrollViewType: string;
let threadId: string;
let textMatcher: TTextMatcher;
const threadMessage = `to-thread-${data.random}`;
before(async () => {
const loginResult = await login(data.users.regular.username, data.users.regular.password);
let rid: string;
let room: string;
const threadMessage = `to-thread-${random()}`;
beforeAll(async () => {
const user = await createRandomUser();
({ _id: rid, name: room } = await createRandomRoom(user, 'p'));
const loginResult = await login(user.username, user.password);
({ userId, authToken } = loginResult);
const deviceType = device.getPlatform();
amp = deviceType === 'android' ? '\\&' : '&';
({ scrollViewType, textMatcher } = platformTypes[deviceType]);
({ textMatcher } = platformTypes[deviceType]);
// create a thread with api
const result = await sendMessage(data.users.regular, data.groups.alternate2.name, threadMessage);
const result = await sendMessage(user, room, threadMessage);
threadId = result.message._id;
await sendMessage(data.users.regular, result.message.rid, data.random, threadId);
await sendMessage(user, result.message.rid, random(), threadId);
});
describe('Authentication', () => {
@ -49,13 +62,9 @@ describe('Deep linking', () => {
await device.launchApp({
permissions: { notifications: 'YES' },
newInstance: true,
url: getDeepLink(
DEEPLINK_METHODS.AUTH,
data.server,
`userId=${userId}${amp}token=${authToken}${amp}path=group/${data.groups.private.name}`
)
url: getDeepLink(DEEPLINK_METHODS.AUTH, data.server, `userId=${userId}${amp}token=${authToken}${amp}path=group/${room}`)
});
await waitFor(element(by.id(`room-view-title-${data.groups.private.name}`)))
await waitFor(element(by.id(`room-view-title-${room}`)))
.toExist()
.withTimeout(30000);
await tapBack();
@ -63,7 +72,7 @@ describe('Deep linking', () => {
.toBeVisible()
.withTimeout(10000);
await checkServer(data.server);
await waitFor(element(by.id(`rooms-list-view-item-${data.groups.private.name}`)))
await waitFor(element(by.id(`rooms-list-view-item-${room}`)))
.toExist()
.withTimeout(2000);
};
@ -75,15 +84,13 @@ describe('Deep linking', () => {
it('should authenticate while logged in another server', async () => {
await device.launchApp({ permissions: { notifications: 'YES' }, delete: true });
await navigateToRegister(data.alternateServer);
await element(by.id('register-view-name')).replaceText(data.registeringUser4.username);
await element(by.id('register-view-username')).replaceText(data.registeringUser4.username);
await element(by.id('register-view-email')).replaceText(data.registeringUser4.email);
await element(by.id('register-view-password')).replaceText(data.registeringUser4.password);
await element(by.type(scrollViewType)).atIndex(0).scrollTo('bottom');
await element(by.id('register-view-submit')).tap();
await waitFor(element(by.id('rooms-list-view')))
.toBeVisible()
.withTimeout(10000);
const randomUser = data.randomUser();
await element(by.id('register-view-name')).replaceText(randomUser.name);
await element(by.id('register-view-username')).replaceText(randomUser.username);
await element(by.id('register-view-email')).replaceText(randomUser.email);
await element(by.id('register-view-password')).replaceText(randomUser.password);
await element(by.id('register-view-password')).tapReturnKey();
await expectValidRegisterOrRetry(device.getPlatform());
await authAndNavigate();
});
});
@ -94,9 +101,9 @@ describe('Deep linking', () => {
await device.launchApp({
permissions: { notifications: 'YES' },
newInstance: true,
url: getDeepLink(DEEPLINK_METHODS.ROOM, data.server, `path=group/${data.groups.private.name}`)
url: getDeepLink(DEEPLINK_METHODS.ROOM, data.server, `path=group/${room}`)
});
await waitFor(element(by.id(`room-view-title-${data.groups.private.name}`)))
await waitFor(element(by.id(`room-view-title-${room}`)))
.toExist()
.withTimeout(30000);
});
@ -105,7 +112,7 @@ describe('Deep linking', () => {
await device.launchApp({
permissions: { notifications: 'YES' },
newInstance: true,
url: getDeepLink(DEEPLINK_METHODS.ROOM, data.server, `path=group/${data.groups.alternate2.name}/thread/${threadId}`)
url: getDeepLink(DEEPLINK_METHODS.ROOM, data.server, `path=group/${room}/thread/${threadId}`)
});
await waitFor(element(by.id(`room-view-title-${threadMessage}`)))
.toExist()
@ -113,13 +120,12 @@ describe('Deep linking', () => {
});
it('should navigate to the room using rid', async () => {
const roomResult = await get(`groups.info?roomName=${data.groups.private.name}`);
await device.launchApp({
permissions: { notifications: 'YES' },
newInstance: true,
url: getDeepLink(DEEPLINK_METHODS.ROOM, data.server, `rid=${roomResult.data.group._id}`)
url: getDeepLink(DEEPLINK_METHODS.ROOM, data.server, `rid=${rid}`)
});
await waitFor(element(by.id(`room-view-title-${data.groups.private.name}`)))
await waitFor(element(by.id(`room-view-title-${room}`)))
.toExist()
.withTimeout(30000);
await tapBack();
@ -129,13 +135,17 @@ describe('Deep linking', () => {
});
it('should resume from background and navigate to the room', async () => {
if (device.getPlatform() === 'android') {
console.log('Skipped on Android');
return;
}
await device.sendToHome();
await device.launchApp({
permissions: { notifications: 'YES' },
newInstance: false,
url: getDeepLink(DEEPLINK_METHODS.ROOM, data.server, `path=group/${data.groups.private.name}`)
url: getDeepLink(DEEPLINK_METHODS.ROOM, data.server, `path=group/${room}`)
});
await waitFor(element(by.id(`room-view-title-${data.groups.private.name}`)))
await waitFor(element(by.id(`room-view-title-${room}`)))
.toExist()
.withTimeout(30000);
await tapBack();
@ -145,6 +155,10 @@ describe('Deep linking', () => {
});
it('should simulate a tap on a push notification and navigate to the room', async () => {
if (device.getPlatform() === 'android') {
console.log('Skipped on Android');
return;
}
/**
* Ideally, we would repeat this test to simulate a resume from background,
* but for some reason it was not working as expected
@ -164,13 +178,13 @@ describe('Deep linking', () => {
ejson: EJSON.stringify({
rid: null,
host: data.server,
name: data.groups.private.name,
name: room,
type: 'p'
})
}
}
});
await waitFor(element(by.id(`room-view-title-${data.groups.private.name}`)))
await waitFor(element(by.id(`room-view-title-${room}`)))
.toExist()
.withTimeout(30000);
await tapBack();
@ -195,9 +209,9 @@ describe('Deep linking', () => {
await device.launchApp({
permissions: { notifications: 'YES' },
newInstance: true,
url: getDeepLink(DEEPLINK_METHODS.ROOM, data.server, `path=group/${data.groups.private.name}`)
url: getDeepLink(DEEPLINK_METHODS.ROOM, data.server, `path=group/${room}`)
});
await waitFor(element(by.id(`room-view-title-${data.groups.private.name}`)))
await waitFor(element(by.id(`room-view-title-${room}`)))
.toExist()
.withTimeout(30000);
});

View File

@ -1,10 +1,8 @@
import { expect } from 'detox';
import Detox, { device, waitFor, element, by, expect } from 'detox';
import { navigateToLogin, login, sleep } from '../../helpers/app';
import { post } from '../../helpers/data_setup';
import data from '../../data';
import { navigateToLogin, login } from '../../helpers/app';
import { createRandomUser, ITestUser } from '../../helpers/data_setup';
const testuser = data.users.regular;
const defaultLaunchArgs = { permissions: { notifications: 'YES' } } as Detox.DeviceLaunchAppConfig;
const navToLanguage = async () => {
@ -31,9 +29,9 @@ const navToLanguage = async () => {
describe('i18n', () => {
describe('OS language', () => {
it("OS set to 'en' and proper translate to 'en'", async () => {
if (device.getPlatform() === 'android') {
return; // FIXME: Passing language with launch parameters doesn't work with Android
}
// if (device.getPlatform() === 'android') {
// return; // FIXME: Passing language with launch parameters doesn't work with Android
// }
await device.launchApp({
...defaultLaunchArgs,
languageAndLocale: {
@ -49,9 +47,9 @@ describe('i18n', () => {
});
it("OS set to unavailable language and fallback to 'en'", async () => {
if (device.getPlatform() === 'android') {
return; // FIXME: Passing language with launch parameters doesn't work with Android
}
// if (device.getPlatform() === 'android') {
// return; // FIXME: Passing language with launch parameters doesn't work with Android
// }
await device.launchApp({
...defaultLaunchArgs,
languageAndLocale: {
@ -81,10 +79,12 @@ describe('i18n', () => {
});
describe('Rocket.Chat language', () => {
before(async () => {
let user: ITestUser;
beforeAll(async () => {
user = await createRandomUser();
await device.launchApp({ ...defaultLaunchArgs, delete: true });
await navigateToLogin();
await login(testuser.username, testuser.password);
await login(user.username, user.password);
});
it("should select 'en'", async () => {
@ -119,22 +119,22 @@ describe('i18n', () => {
await element(by.id('sidebar-close-drawer')).tap();
});
it("should set unsupported language and fallback to 'en'", async () => {
await post('users.setPreferences', { data: { language: 'eo' } }); // Set language to Esperanto
await device.launchApp({ ...defaultLaunchArgs, newInstance: true });
await waitFor(element(by.id('rooms-list-view')))
.toBeVisible()
.withTimeout(10000);
await element(by.id('rooms-list-view-sidebar')).tap();
await waitFor(element(by.id('sidebar-view')))
.toBeVisible()
.withTimeout(2000);
// give the app some time to apply new language
await sleep(3000);
await expect(element(by.id('sidebar-chats').withDescendant(by.label('Chats')))).toBeVisible();
await expect(element(by.id('sidebar-profile').withDescendant(by.label('Profile')))).toBeVisible();
await expect(element(by.id('sidebar-settings').withDescendant(by.label('Settings')))).toBeVisible();
await post('users.setPreferences', { data: { language: 'en' } }); // Set back to english
});
// it("should set unsupported language and fallback to 'en'", async () => {
// await post('users.setPreferences', { data: { language: 'eo' } }); // Set language to Esperanto
// await device.launchApp({ ...defaultLaunchArgs, newInstance: true });
// await waitFor(element(by.id('rooms-list-view')))
// .toBeVisible()
// .withTimeout(10000);
// await element(by.id('rooms-list-view-sidebar')).tap();
// await waitFor(element(by.id('sidebar-view')))
// .toBeVisible()
// .withTimeout(2000);
// // give the app some time to apply new language
// await sleep(3000);
// await expect(element(by.id('sidebar-chats').withDescendant(by.label('Chats')))).toBeVisible();
// await expect(element(by.id('sidebar-profile').withDescendant(by.label('Profile')))).toBeVisible();
// await expect(element(by.id('sidebar-settings').withDescendant(by.label('Settings')))).toBeVisible();
// await post('users.setPreferences', { data: { language: 'en' } }); // Set back to english
// });
});
});

View File

@ -1,7 +1,7 @@
import { expect } from 'detox';
import { device, waitFor, element, by, expect } from 'detox';
import { login, navigateToLogin } from '../../helpers/app';
import data from '../../data';
import { createRandomUser } from '../../helpers/data_setup';
const goToDisplayPref = async () => {
await expect(element(by.id('rooms-list-view-sidebar'))).toBeVisible();
@ -17,10 +17,11 @@ const goToRoomList = async () => {
};
describe('Display prefs', () => {
before(async () => {
beforeAll(async () => {
const user = await createRandomUser();
await device.launchApp({ permissions: { notifications: 'YES' }, newInstance: true, delete: true });
await navigateToLogin();
await login(data.users.regular.username, data.users.regular.password);
await login(user.username, user.password);
});
describe('Render', () => {

View File

@ -1,72 +1,61 @@
import { expect } from 'detox';
import { device, waitFor, element, by } from 'detox';
import data from '../../data';
import { navigateToLogin, login, sleep, tapBack } from '../../helpers/app';
import { sendMessage, post } from '../../helpers/data_setup';
import { navigateToLogin, login, sleep, tapBack, navigateToRoom, checkRoomTitle } from '../../helpers/app';
import { sendMessage, post, ITestUser, createRandomUser, createRandomRoom } from '../../helpers/data_setup';
const waitForInAppNotificationAnimation = async () => {
await sleep(500);
};
describe('InApp Notification', () => {
let dmCreatedRid: string;
let sender: ITestUser;
let receiver: ITestUser;
let room: string;
before(async () => {
beforeAll(async () => {
sender = await createRandomUser();
receiver = await createRandomUser();
({ name: room } = await createRandomRoom(sender));
await device.launchApp({ permissions: { notifications: 'YES' }, delete: true });
await navigateToLogin();
await login(data.users.regular.username, data.users.regular.password);
const result = await post(`im.create`, { username: data.users.alternate.username });
await login(receiver.username, receiver.password);
const result = await post('im.create', { username: sender.username }, receiver);
dmCreatedRid = result.data.room.rid;
});
describe('receive in RoomsListView', () => {
const text = 'Message in DM';
it('should have rooms list screen', async () => {
await expect(element(by.id('rooms-list-view'))).toBeVisible();
});
it('should send direct message from user alternate to user regular', async () => {
await sleep(1000);
await sendMessage(data.users.alternate, dmCreatedRid, text);
});
it('should tap on InApp Notification', async () => {
await sendMessage(sender, dmCreatedRid, text);
await waitFor(element(by.id(`in-app-notification-${text}`)))
.toExist()
.withTimeout(2000);
await sleep(500);
await element(by.id(`in-app-notification-${text}`)).tap();
await waitFor(element(by.id('room-view')))
.toBeVisible()
.withTimeout(5000);
await expect(element(by.id(`room-view-title-${data.users.alternate.username}`))).toExist();
.withTimeout(2000);
await waitForInAppNotificationAnimation();
await element(by.id(`in-app-notification-${text}`)).tap();
await checkRoomTitle(sender.username);
await tapBack();
});
});
describe('receive in another room', () => {
const text = 'Another msg';
it('should back to RoomsListView and open the channel Detox Public', async () => {
await tapBack();
await sleep(500);
await element(by.id(`rooms-list-view-item-${data.userRegularChannels.detoxpublic.name}`)).tap();
await waitFor(element(by.id('room-view')))
.toBeVisible()
.withTimeout(5000);
await expect(element(by.id(`room-view-title-${data.userRegularChannels.detoxpublic.name}`))).toExist();
});
it('should receive and tap InAppNotification in another room', async () => {
await sendMessage(data.users.alternate, dmCreatedRid, text);
it('should receive and tap InAppNotification while in another room', async () => {
await navigateToRoom(room);
await sendMessage(sender, dmCreatedRid, text);
await waitFor(element(by.id(`in-app-notification-${text}`)))
.toExist()
.withTimeout(2000);
await sleep(500);
await waitForInAppNotificationAnimation();
await element(by.id(`in-app-notification-${text}`)).tap();
await sleep(500);
await expect(element(by.id('room-header'))).toExist();
await expect(element(by.id(`room-view-title-${data.users.alternate.username}`))).toExist();
await checkRoomTitle(sender.username);
});
it('should back to RoomsListView', async () => {
it('should tap back and go back to RoomsListView', async () => {
await tapBack();
await sleep(500);
await expect(element(by.id('rooms-list-view'))).toBeVisible();
await waitFor(element(by.id('rooms-list-view')))
.toBeVisible()
.withTimeout(2000);
});
});
});

View File

@ -1,29 +0,0 @@
import detox from 'detox';
import adapter from 'detox/runners/mocha/adapter';
import { detox as config } from '../../package.json';
import { setup } from '../helpers/data_setup';
import { prepareAndroid } from '../helpers/app';
before(async () => {
// @ts-ignore
await Promise.all([setup(), detox.init(config, { launchApp: false })]);
await prepareAndroid(); // Make Android less flaky
// await dataSetup()
// await detox.init(config, { launchApp: false });
// await device.launchApp({ permissions: { notifications: 'YES' } });
});
beforeEach(async function () {
// @ts-ignore
await adapter.beforeEach(this);
});
afterEach(async function () {
// @ts-ignore
await adapter.afterEach(this);
});
after(async () => {
await detox.cleanup();
});

View File

@ -1,4 +1,4 @@
import { expect } from 'detox';
import { device, waitFor, element, by, expect } from 'detox';
import { TTextMatcher, platformTypes } from '../../helpers/app';
import data from '../../data';
@ -6,7 +6,7 @@ import data from '../../data';
describe('Onboarding', () => {
let alertButtonType: string;
let textMatcher: TTextMatcher;
before(async () => {
beforeAll(async () => {
await device.launchApp({ permissions: { notifications: 'YES' }, delete: true });
({ alertButtonType, textMatcher } = platformTypes[device.getPlatform()]);
await waitFor(element(by.id('new-server-view')))

View File

@ -1,10 +1,10 @@
import { expect } from 'detox';
import { device, waitFor, element, by, expect } from 'detox';
import { navigateToRegister, navigateToLogin } from '../../helpers/app';
describe('Legal screen', () => {
describe('From Login', () => {
before(async () => {
beforeAll(async () => {
await device.launchApp({ permissions: { notifications: 'YES' }, delete: true });
await navigateToLogin();
});
@ -25,7 +25,7 @@ describe('Legal screen', () => {
});
describe('From Register', () => {
before(async () => {
beforeAll(async () => {
await device.launchApp({ permissions: { notifications: 'YES' }, delete: true });
await navigateToRegister();
});

View File

@ -1,12 +1,14 @@
import { expect } from 'detox';
import { device, waitFor, element, by, expect } from 'detox';
import data from '../../data';
import { navigateToLogin, platformTypes, TTextMatcher } from '../../helpers/app';
import { createRandomUser, ITestUser } from '../../helpers/data_setup';
describe('Forgot password screen', () => {
let alertButtonType: string;
let textMatcher: TTextMatcher;
before(async () => {
let user: ITestUser;
beforeAll(async () => {
user = await createRandomUser();
await device.launchApp({ permissions: { notifications: 'YES' }, delete: true });
({ alertButtonType, textMatcher } = platformTypes[device.getPlatform()]);
await navigateToLogin();
@ -32,7 +34,7 @@ describe('Forgot password screen', () => {
describe('Usage', () => {
it('should reset password and navigate to login', async () => {
await element(by.id('forgot-password-view-email')).replaceText(data.users.existing.email);
await element(by.id('forgot-password-view-email')).replaceText(user.email);
await element(by.id('forgot-password-view-submit')).tap();
await waitFor(element(by[textMatcher]('OK')))
.toExist()

View File

@ -1,91 +1,26 @@
import { expect } from 'detox';
import { device, element, by } from 'detox';
import { navigateToRegister, platformTypes, TTextMatcher } from '../../helpers/app';
import { navigateToRegister, expectValidRegisterOrRetry } from '../../helpers/app';
import data from '../../data';
describe('Create user screen', () => {
let alertButtonType: string;
let textMatcher: TTextMatcher;
before(async () => {
beforeAll(async () => {
await device.launchApp({ permissions: { notifications: 'YES' }, delete: true });
({ alertButtonType, textMatcher } = platformTypes[device.getPlatform()]);
await navigateToRegister();
});
describe('Render', () => {
it('should have create user screen', async () => {
await waitFor(element(by.id('register-view')))
.toExist()
.withTimeout(2000);
});
it('should have name input', async () => {
await expect(element(by.id('register-view-name'))).toBeVisible();
});
it('should have email input', async () => {
await expect(element(by.id('register-view-email'))).toBeVisible();
});
it('should have password input', async () => {
await expect(element(by.id('register-view-password'))).toBeVisible();
});
it('should have submit button', async () => {
await element(by.id('register-view')).atIndex(0).swipe('up', 'fast', 0.5);
await expect(element(by.id('register-view-submit'))).toBeVisible();
});
it('should have legal button', async () => {
await expect(element(by.id('register-view-more'))).toBeVisible();
});
});
describe('Usage', () => {
// FIXME: Detox isn't able to check if it's tappable: https://github.com/wix/Detox/issues/246
// it('should submit invalid email and do nothing', async() => {
// const invalidEmail = 'invalidemail';
// await element(by.id('register-view-name')).replaceText(data.user);
// await element(by.id('register-view-username')).replaceText(data.user);
// await element(by.id('register-view-email')).replaceText(invalidEmail);
// await element(by.id('register-view-password')).replaceText(data.password);
// await element(by.id('register-view-submit')).tap();
// });
// TODO: When server handle two errors in sequence, the server return Too many requests and force to wait for some time.
// it('should submit email already taken and raise error', async () => {
// await element(by.id('register-view-name')).replaceText(data.registeringUser.username);
// await element(by.id('register-view-username')).replaceText(data.registeringUser.username);
// await element(by.id('register-view-email')).replaceText(data.users.existing.email);
// await element(by.id('register-view-password')).replaceText(data.registeringUser.password);
// await element(by.id('register-view-submit')).tap();
// await waitFor(element(by[textMatcher]('Email already exists. [403]')).atIndex(0))
// .toExist()
// .withTimeout(10000);
// await element(by[textMatcher]('OK').and(by.type(alertButtonType))).tap();
// });
it('should submit username already taken and raise error', async () => {
await element(by.id('register-view-name')).replaceText(data.registeringUser.username);
await element(by.id('register-view-username')).replaceText(data.users.existing.username);
await element(by.id('register-view-email')).replaceText(data.registeringUser.email);
await element(by.id('register-view-password')).replaceText(data.registeringUser.password);
await element(by.id('register-view-submit')).tap();
await waitFor(element(by[textMatcher]('Username is already in use')).atIndex(0))
.toExist()
.withTimeout(10000);
await element(by[textMatcher]('OK').and(by.type(alertButtonType))).tap();
});
it('should register', async () => {
await element(by.id('register-view-name')).replaceText(data.registeringUser.username);
await element(by.id('register-view-username')).replaceText(data.registeringUser.username);
await element(by.id('register-view-email')).replaceText(data.registeringUser.email);
await element(by.id('register-view-password')).replaceText(data.registeringUser.password);
await element(by.id('register-view-submit')).tap();
await waitFor(element(by.id('rooms-list-view')))
.toBeVisible()
.withTimeout(60000);
const user = data.randomUser();
await element(by.id('register-view-name')).replaceText(user.username);
await element(by.id('register-view-name')).tapReturnKey();
await element(by.id('register-view-username')).replaceText(user.username);
await element(by.id('register-view-username')).tapReturnKey();
await element(by.id('register-view-email')).replaceText(user.email);
await element(by.id('register-view-email')).tapReturnKey();
await element(by.id('register-view-password')).replaceText(user.password);
await element(by.id('register-view-password')).tapReturnKey();
await expectValidRegisterOrRetry(device.getPlatform());
});
});
});

View File

@ -1,68 +1,25 @@
import { expect } from 'detox';
import { device, waitFor, element, by } from 'detox';
import { navigateToLogin, tapBack, platformTypes, navigateToWorkspace, login, TTextMatcher } from '../../helpers/app';
import data from '../../data';
import { createRandomUser, ITestUser } from '../../helpers/data_setup';
describe('Login screen', () => {
let alertButtonType: string;
let textMatcher: TTextMatcher;
before(async () => {
let user: ITestUser;
beforeAll(async () => {
user = await createRandomUser();
await device.launchApp({ permissions: { notifications: 'YES' }, newInstance: true, delete: true });
({ alertButtonType, textMatcher } = platformTypes[device.getPlatform()]);
await navigateToLogin();
});
describe('Render', () => {
it('should have login screen', async () => {
await expect(element(by.id('login-view'))).toExist();
});
it('should have email input', async () => {
await expect(element(by.id('login-view-email'))).toBeVisible();
});
it('should have password input', async () => {
await expect(element(by.id('login-view-password'))).toBeVisible();
});
it('should have submit button', async () => {
await expect(element(by.id('login-view-submit'))).toBeVisible();
});
it('should have register button', async () => {
await expect(element(by.id('login-view-register'))).toBeVisible();
});
it('should have forgot password button', async () => {
await expect(element(by.id('login-view-forgot-password'))).toBeVisible();
});
it('should have legal button', async () => {
await expect(element(by.id('login-view-more'))).toBeVisible();
});
});
describe('Usage', () => {
it('should navigate to register', async () => {
await element(by.id('login-view-register')).tap();
await waitFor(element(by.id('register-view')))
.toExist()
.withTimeout(2000);
await tapBack();
});
it('should navigate to forgot password', async () => {
await element(by.id('login-view-forgot-password')).tap();
await waitFor(element(by.id('forgot-password-view')))
.toExist()
.withTimeout(2000);
await tapBack();
});
it('should insert wrong password and get error', async () => {
await element(by.id('login-view-email')).replaceText(data.users.regular.username);
await element(by.id('login-view-email')).replaceText(user.username);
await element(by.id('login-view-email')).tapReturnKey();
await element(by.id('login-view-password')).replaceText('NotMyActualPassword');
await element(by.id('login-view-submit')).tap();
await element(by.id('login-view-password')).tapReturnKey();
await waitFor(element(by[textMatcher]('Your credentials were rejected! Please try again.')))
.toBeVisible()
.withTimeout(10000);
@ -70,8 +27,8 @@ describe('Login screen', () => {
});
it('should login with success', async () => {
await element(by.id('login-view-password')).replaceText(data.users.regular.password);
await element(by.id('login-view-submit')).tap();
await element(by.id('login-view-password')).replaceText(user.password);
await element(by.id('login-view-password')).tapReturnKey();
await waitFor(element(by.id('rooms-list-view')))
.toBeVisible()
.withTimeout(60000);
@ -82,7 +39,7 @@ describe('Login screen', () => {
await navigateToWorkspace();
await tapBack();
await navigateToLogin();
await login(data.users.regular.username, data.users.regular.password);
await login(user.username, user.password);
});
});
});

View File

@ -1,13 +1,14 @@
import { expect } from 'detox';
import { device, waitFor, element, by, expect } from 'detox';
import { login, navigateToLogin, logout, tapBack, searchRoom } from '../../helpers/app';
import data from '../../data';
import { createRandomUser } from '../../helpers/data_setup';
describe('Rooms list screen', () => {
before(async () => {
beforeAll(async () => {
const user = await createRandomUser();
await device.launchApp({ permissions: { notifications: 'YES' }, newInstance: true, delete: true });
await navigateToLogin();
await login(data.users.regular.username, data.users.regular.password);
await login(user.username, user.password);
});
describe('Render', () => {

View File

@ -1,17 +1,20 @@
import { expect } from 'detox';
import { device, waitFor, element, by, expect } from 'detox';
import { login, navigateToLogin, logout, tapBack } from '../../helpers/app';
import { login, navigateToLogin, logout, tapBack, tapAndWaitFor } from '../../helpers/app';
import data from '../../data';
import { createRandomUser, ITestUser } from '../../helpers/data_setup';
describe('Server history', () => {
before(async () => {
let user: ITestUser;
beforeAll(async () => {
user = await createRandomUser();
await device.launchApp({ permissions: { notifications: 'YES' }, delete: true });
});
describe('Usage', () => {
it('should login, save server as history and logout', async () => {
await navigateToLogin();
await login(data.users.regular.username, data.users.regular.password);
await login(user.username, user.password);
await logout();
await waitFor(element(by.id('new-server-view')))
.toBeVisible()
@ -30,7 +33,7 @@ describe('Server history', () => {
await waitFor(element(by.id('login-view-email')))
.toBeVisible()
.withTimeout(5000);
await expect(element(by.label(data.users.regular.username).withAncestor(by.id('login-view-email'))));
await expect(element(by.label(user.username).withAncestor(by.id('login-view-email'))));
});
it('should delete server from history', async () => {
@ -42,10 +45,7 @@ describe('Server history', () => {
await waitFor(element(by.id('new-server-view')))
.toBeVisible()
.withTimeout(2000);
await element(by.id('new-server-view-input')).tap();
await waitFor(element(by.id(`server-history-${data.server}`)))
.toBeVisible()
.withTimeout(2000);
await tapAndWaitFor(element(by.id('new-server-view-input')), element(by.id(`server-history-${data.server}`)), 2000);
await element(by.id(`server-history-delete-${data.server}`)).tap();
await element(by.id('new-server-view-input')).tap();
await waitFor(element(by.id(`server-history-${data.server}`)))

View File

@ -1,20 +1,22 @@
import { expect } from 'detox';
import { device, waitFor, element, by, expect } from 'detox';
import data from '../../data';
import { tapBack, navigateToLogin, login, tryTapping, platformTypes, TTextMatcher } from '../../helpers/app';
import { tapBack, navigateToLogin, login, platformTypes, TTextMatcher, tapAndWaitFor } from '../../helpers/app';
import { createRandomUser } from '../../helpers/data_setup';
import random from '../../helpers/random';
describe('Create room screen', () => {
let alertButtonType: string;
let textMatcher: TTextMatcher;
before(async () => {
beforeAll(async () => {
const user = await createRandomUser();
await device.launchApp({ permissions: { notifications: 'YES' }, delete: true });
({ alertButtonType, textMatcher } = platformTypes[device.getPlatform()]);
await navigateToLogin();
await login(data.users.regular.username, data.users.regular.password);
await login(user.username, user.password);
});
describe('New Message', () => {
before(async () => {
beforeAll(async () => {
await waitFor(element(by.id('rooms-list-view-create-channel')))
.toBeVisible()
.withTimeout(10000);
@ -46,11 +48,7 @@ describe('Create room screen', () => {
.toBeVisible()
.withTimeout(5000);
await tryTapping(element(by.id('rooms-list-view-create-channel')), 3000);
// await element(by.id('rooms-list-view-create-channel')).tap();
await waitFor(element(by.id('new-message-view')))
.toExist()
.withTimeout(5000);
await tapAndWaitFor(element(by.id('rooms-list-view-create-channel')), element(by.id('new-message-view')), 2000);
});
it('should search user and navigate', async () => {
@ -74,8 +72,11 @@ describe('Create room screen', () => {
it('should navigate to select users', async () => {
await element(by.id('rooms-list-view-create-channel')).tap();
await waitFor(element(by.id('new-message-view')))
.toExist()
.toBeVisible()
.withTimeout(5000);
await waitFor(element(by.id('new-message-view-create-channel')))
.toBeVisible()
.withTimeout(2000);
await element(by.id('new-message-view-create-channel')).tap();
await waitFor(element(by.id('select-users-view')))
.toExist()
@ -130,6 +131,7 @@ describe('Create room screen', () => {
describe('Usage', () => {
it('should get invalid room', async () => {
await element(by.id('create-channel-name')).replaceText('general');
await element(by.id('create-channel-name')).tapReturnKey();
await waitFor(element(by.id('create-channel-submit')))
.toExist()
.withTimeout(2000);
@ -142,9 +144,9 @@ describe('Create room screen', () => {
});
it('should create public room', async () => {
const room = `public${data.random}`;
await element(by.id('create-channel-name')).replaceText('');
const room = `public${random()}`;
await element(by.id('create-channel-name')).replaceText(room);
await element(by.id('create-channel-name')).tapReturnKey();
await element(by.id('create-channel-type')).tap();
await waitFor(element(by.id('create-channel-submit')))
.toExist()
@ -169,14 +171,17 @@ describe('Create room screen', () => {
});
it('should create private room', async () => {
const room = `private${data.random}`;
const room = `private${random()}`;
await waitFor(element(by.id('rooms-list-view')))
.toExist()
.withTimeout(5000);
await element(by.id('rooms-list-view-create-channel')).tap();
await waitFor(element(by.id('new-message-view')))
.toExist()
.toBeVisible()
.withTimeout(5000);
await waitFor(element(by.id('new-message-view-create-channel')))
.toBeVisible()
.withTimeout(2000);
await element(by.id('new-message-view-create-channel')).tap();
await waitFor(element(by.id('select-users-view')))
.toExist()
@ -187,9 +192,10 @@ describe('Create room screen', () => {
.withTimeout(5000);
await element(by.id('selected-users-view-submit')).tap();
await waitFor(element(by.id('create-channel-view')))
.toExist()
.toBeVisible()
.withTimeout(5000);
await element(by.id('create-channel-name')).replaceText(room);
await element(by.id('create-channel-name')).tapReturnKey();
await waitFor(element(by.id('create-channel-submit')))
.toExist()
.withTimeout(2000);
@ -213,15 +219,17 @@ describe('Create room screen', () => {
});
it('should create empty room', async () => {
const room = `empty${data.random}`;
const room = `empty${random()}`;
await waitFor(element(by.id('rooms-list-view')))
.toExist()
.withTimeout(10000);
// await device.launchApp({ newInstance: true });
await element(by.id('rooms-list-view-create-channel')).tap();
await waitFor(element(by.id('new-message-view')))
.toExist()
.toBeVisible()
.withTimeout(5000);
await waitFor(element(by.id('new-message-view-create-channel')))
.toBeVisible()
.withTimeout(2000);
await element(by.id('new-message-view-create-channel')).tap();
await waitFor(element(by.id('select-users-view')))
.toExist()
@ -231,6 +239,7 @@ describe('Create room screen', () => {
.toExist()
.withTimeout(10000);
await element(by.id('create-channel-name')).replaceText(room);
await element(by.id('create-channel-name')).tapReturnKey();
await waitFor(element(by.id('create-channel-submit')))
.toExist()
.withTimeout(2000);

View File

@ -1,19 +1,17 @@
import { expect } from 'detox';
import { device, waitFor, element, by, expect } from 'detox';
import data from '../../data';
import {
navigateToLogin,
login,
mockMessage,
tapBack,
sleep,
searchRoom,
dismissReviewNag,
tryTapping,
platformTypes,
TTextMatcher
TTextMatcher,
mockMessage
} from '../../helpers/app';
import { sendMessage } from '../../helpers/data_setup';
import { createRandomRoom, createRandomUser, ITestUser, sendMessage } from '../../helpers/data_setup';
async function navigateToRoom(roomName: string) {
await searchRoom(`${roomName}`);
@ -24,22 +22,26 @@ async function navigateToRoom(roomName: string) {
}
describe('Room screen', () => {
const mainRoom = data.groups.private.name;
let room: string;
let alertButtonType: string;
let textMatcher: TTextMatcher;
let user: ITestUser;
let randomMessage: string;
before(async () => {
beforeAll(async () => {
user = await createRandomUser();
({ name: room } = await createRandomRoom(user));
await device.launchApp({ permissions: { notifications: 'YES' }, delete: true });
({ alertButtonType, textMatcher } = platformTypes[device.getPlatform()]);
await navigateToLogin();
await login(data.users.regular.username, data.users.regular.password);
await navigateToRoom(mainRoom);
await login(user.username, user.password);
await navigateToRoom(room);
});
describe('Render', () => {
it('should have room screen', async () => {
await expect(element(by.id('room-view'))).toExist();
await waitFor(element(by.id(`room-view-title-${mainRoom}`)))
await waitFor(element(by.id(`room-view-title-${room}`)))
.toExist()
.withTimeout(5000);
});
@ -82,113 +84,112 @@ describe('Room screen', () => {
describe('Usage', () => {
describe('Messagebox', () => {
it('should send message', async () => {
await mockMessage('message');
await expect(element(by[textMatcher](`${data.random}message`)).atIndex(0)).toExist();
randomMessage = await mockMessage('message');
});
describe('Emoji Keyboard', () => {
it('should open emoji keyboard, select an emoji and send it', async () => {
await element(by.id('messagebox-open-emoji')).tap();
await waitFor(element(by.id('messagebox-keyboard-emoji')))
.toExist()
.withTimeout(10000);
await waitFor(element(by.id('emoji-picker-tab-emoji')))
.toExist()
.withTimeout(10000);
await element(by.id('emoji-picker-tab-emoji')).tap();
await expect(element(by.id('emoji-blush'))).toExist();
await element(by.id('emoji-blush')).tap();
await expect(element(by.id('messagebox-input'))).toHaveText('😊');
await element(by.id('messagebox-send-message')).tap();
await waitFor(element(by[textMatcher]('😊')))
.toExist()
.withTimeout(60000);
await element(by[textMatcher]('😊')).atIndex(0).tap();
});
// describe('Emoji Keyboard', () => {
// it('should open emoji keyboard, select an emoji and send it', async () => {
// await element(by.id('messagebox-open-emoji')).tap();
// await waitFor(element(by.id('messagebox-keyboard-emoji')))
// .toExist()
// .withTimeout(10000);
// await waitFor(element(by.id('emoji-picker-tab-emoji')))
// .toExist()
// .withTimeout(10000);
// await element(by.id('emoji-picker-tab-emoji')).tap();
// await expect(element(by.id('emoji-blush'))).toExist();
// await element(by.id('emoji-blush')).tap();
// await expect(element(by.id('messagebox-input'))).toHaveText('😊');
// await element(by.id('messagebox-send-message')).tap();
// await waitFor(element(by[textMatcher]('😊')))
// .toExist()
// .withTimeout(60000);
// await element(by[textMatcher]('😊')).atIndex(0).tap();
// });
it('should open emoji keyboard, select an emoji and delete it using emoji keyboards backspace', async () => {
await element(by.id('messagebox-open-emoji')).tap();
await waitFor(element(by.id('messagebox-keyboard-emoji')))
.toExist()
.withTimeout(10000);
await expect(element(by.id('emoji-picker-tab-emoji'))).toExist();
await element(by.id('emoji-picker-tab-emoji')).tap();
await expect(element(by.id('emoji-upside_down'))).toExist();
await element(by.id('emoji-upside_down')).tap();
await expect(element(by.id('messagebox-input'))).toHaveText('🙃');
await waitFor(element(by.id('emoji-picker-backspace')))
.toExist()
.withTimeout(2000);
await element(by.id('emoji-picker-backspace')).tap();
await expect(element(by.id('messagebox-input'))).toHaveText('');
await element(by.id('messagebox-close-emoji')).tap();
await waitFor(element(by.id('messagebox-keyboard-emoji')))
.not.toBeVisible()
.withTimeout(10000);
});
// it('should open emoji keyboard, select an emoji and delete it using emoji keyboards backspace', async () => {
// await element(by.id('messagebox-open-emoji')).tap();
// await waitFor(element(by.id('messagebox-keyboard-emoji')))
// .toExist()
// .withTimeout(10000);
// await expect(element(by.id('emoji-picker-tab-emoji'))).toExist();
// await element(by.id('emoji-picker-tab-emoji')).tap();
// await expect(element(by.id('emoji-upside_down'))).toExist();
// await element(by.id('emoji-upside_down')).tap();
// await expect(element(by.id('messagebox-input'))).toHaveText('🙃');
// await waitFor(element(by.id('emoji-picker-backspace')))
// .toExist()
// .withTimeout(2000);
// await element(by.id('emoji-picker-backspace')).tap();
// await expect(element(by.id('messagebox-input'))).toHaveText('');
// await element(by.id('messagebox-close-emoji')).tap();
// await waitFor(element(by.id('messagebox-keyboard-emoji')))
// .not.toBeVisible()
// .withTimeout(10000);
// });
it('should search emoji and send it', async () => {
await element(by.id('messagebox-open-emoji')).tap();
await waitFor(element(by.id('emoji-picker-search')))
.toExist()
.withTimeout(4000);
await element(by.id('emoji-picker-search')).tap();
await waitFor(element(by.id('emoji-searchbar-input')))
.toExist()
.withTimeout(2000);
await element(by.id('emoji-searchbar-input')).replaceText('no_mouth');
await waitFor(element(by.id('emoji-no_mouth')))
.toExist()
.withTimeout(2000);
await element(by.id('emoji-no_mouth')).tap();
await expect(element(by.id('messagebox-input'))).toHaveText('😶');
await element(by.id('messagebox-send-message')).tap();
await waitFor(element(by[textMatcher]('😶')))
.toExist()
.withTimeout(60000);
await element(by[textMatcher]('😶')).atIndex(0).tap();
});
// it('should search emoji and send it', async () => {
// await element(by.id('messagebox-open-emoji')).tap();
// await waitFor(element(by.id('emoji-picker-search')))
// .toExist()
// .withTimeout(4000);
// await element(by.id('emoji-picker-search')).tap();
// await waitFor(element(by.id('emoji-searchbar-input')))
// .toExist()
// .withTimeout(2000);
// await element(by.id('emoji-searchbar-input')).replaceText('no_mouth');
// await waitFor(element(by.id('emoji-no_mouth')))
// .toExist()
// .withTimeout(2000);
// await element(by.id('emoji-no_mouth')).tap();
// await expect(element(by.id('messagebox-input'))).toHaveText('😶');
// await element(by.id('messagebox-send-message')).tap();
// await waitFor(element(by[textMatcher]('😶')))
// .toExist()
// .withTimeout(60000);
// await element(by[textMatcher]('😶')).atIndex(0).tap();
// });
it('should search emojis, go back to Emoji keyboard and then close the Emoji keyboard', async () => {
await element(by.id('messagebox-open-emoji')).tap();
await waitFor(element(by.id('emoji-picker-search')))
.toExist()
.withTimeout(4000);
await element(by.id('emoji-picker-search')).tap();
await waitFor(element(by.id('emoji-searchbar-input')))
.toExist()
.withTimeout(2000);
await element(by.id('openback-emoji-keyboard')).tap();
await waitFor(element(by.id('emoji-searchbar-input')))
.not.toBeVisible()
.withTimeout(2000);
await expect(element(by.id('messagebox-close-emoji'))).toExist();
await element(by.id('messagebox-close-emoji')).tap();
await waitFor(element(by.id('messagebox-keyboard-emoji')))
.not.toBeVisible()
.withTimeout(10000);
});
// it('should search emojis, go back to Emoji keyboard and then close the Emoji keyboard', async () => {
// await element(by.id('messagebox-open-emoji')).tap();
// await waitFor(element(by.id('emoji-picker-search')))
// .toExist()
// .withTimeout(4000);
// await element(by.id('emoji-picker-search')).tap();
// await waitFor(element(by.id('emoji-searchbar-input')))
// .toExist()
// .withTimeout(2000);
// await element(by.id('openback-emoji-keyboard')).tap();
// await waitFor(element(by.id('emoji-searchbar-input')))
// .not.toBeVisible()
// .withTimeout(2000);
// await expect(element(by.id('messagebox-close-emoji'))).toExist();
// await element(by.id('messagebox-close-emoji')).tap();
// await waitFor(element(by.id('messagebox-keyboard-emoji')))
// .not.toBeVisible()
// .withTimeout(10000);
// });
it('frequently used emojis should contain the recently used emojis', async () => {
await element(by.id('messagebox-open-emoji')).tap();
await waitFor(element(by.id('emoji-picker-tab-clock')));
await element(by.id('emoji-picker-tab-clock')).tap();
await waitFor(element(by.id('emoji-blush')))
.toExist()
.withTimeout(2000);
await waitFor(element(by.id('emoji-upside_down')))
.toExist()
.withTimeout(2000);
await waitFor(element(by.id('emoji-no_mouth')))
.toExist()
.withTimeout(2000);
await expect(element(by.id('messagebox-close-emoji'))).toExist();
await element(by.id('messagebox-close-emoji')).tap();
await waitFor(element(by.id('messagebox-keyboard-emoji')))
.not.toBeVisible()
.withTimeout(10000);
});
});
// it('frequently used emojis should contain the recently used emojis', async () => {
// await element(by.id('messagebox-open-emoji')).tap();
// await waitFor(element(by.id('emoji-picker-tab-clock')));
// await element(by.id('emoji-picker-tab-clock')).tap();
// await waitFor(element(by.id('emoji-blush')))
// .toExist()
// .withTimeout(2000);
// await waitFor(element(by.id('emoji-upside_down')))
// .toExist()
// .withTimeout(2000);
// await waitFor(element(by.id('emoji-no_mouth')))
// .toExist()
// .withTimeout(2000);
// await expect(element(by.id('messagebox-close-emoji'))).toExist();
// await element(by.id('messagebox-close-emoji')).tap();
// await waitFor(element(by.id('messagebox-keyboard-emoji')))
// .not.toBeVisible()
// .withTimeout(10000);
// });
// });
it('should show/hide emoji autocomplete', async () => {
await element(by.id('messagebox-input')).clearText();
@ -227,9 +228,9 @@ describe('Room screen', () => {
});
it('should show and tap on user autocomplete and send mention', async () => {
const { username } = data.users.regular;
const { username } = user;
const messageMention = `@${username}`;
const message = `${data.random}mention`;
const message = 'mention';
const fullMessage = `${messageMention} ${message}`;
await element(by.id('messagebox-input')).typeText(`@${username}`);
await sleep(300);
@ -239,9 +240,8 @@ describe('Room screen', () => {
await waitFor(element(by.id(`mention-item-${username}`)))
.toBeVisible()
.withTimeout(4000);
await tryTapping(element(by.id(`mention-item-${username}`)), 2000, true);
await tryTapping(element(by.id(`mention-item-${username}`)), 2000);
await expect(element(by.id('messagebox-input'))).toHaveText(`${messageMention} `);
await tryTapping(element(by.id('messagebox-input')), 2000);
if (device.getPlatform() === 'ios') {
await element(by.id('messagebox-input')).typeText(message);
await element(by.id('messagebox-send-message')).tap();
@ -261,7 +261,7 @@ describe('Room screen', () => {
await element(by.id('messagebox-input')).typeText('email@gmail');
await waitFor(element(by.id('messagebox-container')))
.toNotExist()
.withTimeout(4000);
.withTimeout(2000);
await element(by.id('messagebox-input')).clearText();
});
@ -270,13 +270,12 @@ describe('Room screen', () => {
await waitFor(element(by.id('mention-item-general')))
.toBeVisible()
.withTimeout(4000);
await tryTapping(element(by.id('mention-item-general')), 2000, true);
await tryTapping(element(by.id('mention-item-general')), 2000);
await expect(element(by.id('messagebox-input'))).toHaveText('#general ');
await element(by.id('messagebox-input')).clearText();
});
it('should not show room autocomplete on # in middle of a string', async () => {
await element(by.id('messagebox-input')).tap();
await element(by.id('messagebox-input')).typeText('te#gen');
await waitFor(element(by.id('messagebox-container')))
.toNotExist()
@ -284,24 +283,23 @@ describe('Room screen', () => {
await element(by.id('messagebox-input')).clearText();
});
it('should draft message', async () => {
await element(by.id('messagebox-input')).typeText(`${data.random}draft`);
const draftMessage = 'draft';
await element(by.id('messagebox-input')).replaceText(draftMessage);
await tapBack();
await navigateToRoom(mainRoom);
await expect(element(by.id('messagebox-input'))).toHaveText(`${data.random}draft`);
await navigateToRoom(room);
await expect(element(by.id('messagebox-input'))).toHaveText(draftMessage);
await element(by.id('messagebox-input')).clearText();
await tapBack();
await navigateToRoom(mainRoom);
await navigateToRoom(room);
await expect(element(by.id('messagebox-input'))).toHaveText('');
});
});
describe('Message', () => {
it('should copy link', async () => {
await element(by[textMatcher](`${data.random}message`))
.atIndex(0)
.longPress();
await element(by[textMatcher](randomMessage)).atIndex(0).longPress();
await waitFor(element(by.id('action-sheet')))
.toExist()
.withTimeout(2000);
@ -311,9 +309,7 @@ describe('Room screen', () => {
// TODO: test clipboard
});
it('should copy message', async () => {
await element(by[textMatcher](`${data.random}message`))
.atIndex(0)
.longPress();
await element(by[textMatcher](randomMessage)).atIndex(0).longPress();
await waitFor(element(by.id('action-sheet')))
.toExist()
.withTimeout(2000);
@ -324,25 +320,21 @@ describe('Room screen', () => {
});
it('should react to message', async () => {
await waitFor(element(by[textMatcher](`${data.random}message`)))
await waitFor(element(by[textMatcher](randomMessage)))
.toExist()
.withTimeout(60000);
await element(by[textMatcher](`${data.random}message`))
.atIndex(0)
.tap();
await element(by[textMatcher](`${data.random}message`))
.atIndex(0)
.longPress();
await element(by[textMatcher](randomMessage)).atIndex(0).tap();
await element(by[textMatcher](randomMessage)).atIndex(0).longPress();
await sleep(300); // wait for animation
await waitFor(element(by.id('action-sheet')))
.toExist()
.withTimeout(2000);
await expect(element(by.id('action-sheet-handle'))).toBeVisible();
await element(by.id('action-sheet-handle')).swipe('up', 'fast', 0.5);
await element(by.id('add-reaction')).tap();
await sleep(300); // wait for animation
await waitFor(element(by.id('emoji-picker-tab-emoji')))
.toExist()
.withTimeout(2000);
await element(by.id('action-sheet-handle')).swipe('up', 'fast', 1);
await element(by.id('emoji-picker-tab-emoji')).tap();
await waitFor(element(by.id('emoji-grinning')))
.toExist()
@ -353,14 +345,8 @@ describe('Room screen', () => {
.withTimeout(60000);
});
it('should ask for review', async () => {
await dismissReviewNag(); // TODO: Create a proper test for this elsewhere.
});
it('should search emojis in the reaction picker and react', async () => {
await element(by[textMatcher](`${data.random}message`))
.atIndex(0)
.longPress();
await element(by[textMatcher](randomMessage)).atIndex(0).longPress();
await waitFor(element(by.id('action-sheet')))
.toExist()
.withTimeout(2000);
@ -368,9 +354,9 @@ describe('Room screen', () => {
await element(by.id('action-sheet-handle')).swipe('up', 'fast', 0.5);
await element(by.id('add-reaction')).tap();
await waitFor(element(by.id('emoji-searchbar-input')))
.toExist()
.toBeVisible()
.withTimeout(2000);
await element(by.id('emoji-searchbar-input')).typeText('laughing');
await element(by.id('emoji-searchbar-input')).replaceText('laughing');
await waitFor(element(by.id('emoji-laughing')))
.toExist()
.withTimeout(4000);
@ -380,20 +366,26 @@ describe('Room screen', () => {
.withTimeout(60000);
});
it('should remove reaction', async () => {
await element(by.id('message-reaction-:grinning:')).tap();
await waitFor(element(by.id('message-reaction-:grinning:')))
.not.toExist()
.withTimeout(60000);
});
it('should react to message with frequently used emoji', async () => {
await element(by[textMatcher](`${data.random}message`))
.atIndex(0)
.longPress();
await element(by[textMatcher](randomMessage)).atIndex(0).longPress();
await waitFor(element(by.id('action-sheet')))
.toExist()
.withTimeout(2000);
await expect(element(by.id('action-sheet-handle'))).toBeVisible();
await element(by.id('action-sheet-handle')).swipe('up', 'fast', 0.5);
await waitFor(element(by.id('message-actions-emoji-upside_down')))
await sleep(300); // wait for animation
await waitFor(element(by.id('message-actions-emoji-grinning')))
.toBeVisible()
.withTimeout(2000);
await element(by.id('message-actions-emoji-upside_down')).tap();
await waitFor(element(by.id('message-reaction-:upside_down:')))
await element(by.id('message-actions-emoji-grinning')).tap();
await waitFor(element(by.id('message-reaction-:grinning:')))
.toBeVisible()
.withTimeout(60000);
});
@ -405,7 +397,7 @@ describe('Room screen', () => {
.withTimeout(2000);
await expect(element(by.id('action-sheet-handle'))).toBeVisible();
await element(by.id('action-sheet-handle')).swipe('up', 'fast', 1);
await waitFor(element(by.id('emoji-upside_down')))
await waitFor(element(by.id('emoji-grinning')))
.toExist()
.withTimeout(4000);
await waitFor(element(by.id('emoji-picker-tab-emoji')))
@ -422,7 +414,7 @@ describe('Room screen', () => {
});
it('should open/close reactions list', async () => {
await element(by.id('message-reaction-:grinning:')).longPress();
await element(by.id('message-reaction-:laughing:')).longPress();
await waitFor(element(by.id('reactionsList')))
.toExist()
.withTimeout(4000);
@ -430,45 +422,33 @@ describe('Room screen', () => {
await element(by.id('action-sheet-handle')).swipe('down', 'fast', 0.5);
});
it('should remove reaction', async () => {
await element(by.id('message-reaction-:grinning:')).tap();
await waitFor(element(by.id('message-reaction-:grinning:')))
.not.toExist()
.withTimeout(60000);
});
it('should edit message', async () => {
await mockMessage('edit');
await element(by[textMatcher](`${data.random}edit`))
.atIndex(0)
.longPress();
const editMessage = await mockMessage('edit');
const editedMessage = `${editMessage}ed`;
await tryTapping(element(by[textMatcher](editMessage)).atIndex(0), 2000, true);
await waitFor(element(by.id('action-sheet')))
.toExist()
.withTimeout(2000);
await expect(element(by.id('action-sheet-handle'))).toBeVisible();
await element(by.id('action-sheet-handle')).swipe('up', 'fast', 0.5);
await element(by[textMatcher]('Edit')).atIndex(0).tap();
await element(by.id('messagebox-input')).replaceText(`${data.random}edited`);
await element(by.id('messagebox-input')).replaceText(editedMessage);
await element(by.id('messagebox-send-message')).tap();
await waitFor(element(by[textMatcher](`${data.random}edited`)).atIndex(0))
.toExist()
.withTimeout(60000);
await waitFor(element(by.id(`${data.random}edited-edited`)))
await waitFor(element(by[textMatcher](editedMessage)).atIndex(0))
.toExist()
.withTimeout(60000);
});
it('should quote message', async () => {
await mockMessage('quote');
await element(by[textMatcher](`${data.random}quote`))
.atIndex(0)
.longPress();
const quoteMessage = await mockMessage('quote');
const quotedMessage = `${quoteMessage}d`;
await tryTapping(element(by[textMatcher](quoteMessage)).atIndex(0), 2000, true);
await waitFor(element(by.id('action-sheet')))
.toExist()
.withTimeout(2000);
await expect(element(by.id('action-sheet-handle'))).toBeVisible();
await element(by.id('action-sheet-handle')).swipe('up', 'fast', 0.5);
await element(by[textMatcher]('Quote')).atIndex(0).tap();
await element(by.id('messagebox-input')).replaceText(`${data.random}quoted`);
await element(by.id('messagebox-input')).replaceText(quotedMessage);
await waitFor(element(by.id('messagebox-send-message')))
.toExist()
.withTimeout(2000);
@ -477,59 +457,68 @@ describe('Room screen', () => {
});
it('should delete message', async () => {
await mockMessage('delete');
await waitFor(element(by[textMatcher](`${data.random}delete`)).atIndex(0)).toBeVisible();
await element(by[textMatcher](`${data.random}delete`))
.atIndex(0)
.longPress();
const deleteMessage = await mockMessage('delete');
await tryTapping(element(by[textMatcher](deleteMessage)).atIndex(0), 2000, true);
await waitFor(element(by.id('action-sheet')))
.toExist()
.withTimeout(2000);
await expect(element(by.id('action-sheet-handle'))).toBeVisible();
await element(by.id('action-sheet-handle')).swipe('up', 'fast', 0.5);
await sleep(300); // wait for animation
await waitFor(element(by[textMatcher]('Delete')))
.toExist()
.withTimeout(1000);
.withTimeout(2000);
await element(by[textMatcher]('Delete')).atIndex(0).tap();
const deleteAlertMessage = 'You will not be able to recover this message!';
await waitFor(element(by[textMatcher](deleteAlertMessage)).atIndex(0))
.toExist()
.withTimeout(10000);
await element(by[textMatcher]('Delete').and(by.type(alertButtonType))).tap();
await waitFor(element(by[textMatcher](`${data.random}delete`)).atIndex(0))
.toNotExist()
await waitFor(element(by[textMatcher](deleteMessage)).atIndex(0))
.not.toExist()
.withTimeout(2000);
await tapBack();
});
it('should reply in DM to another user', async () => {
const channelName = data.userRegularChannels.detoxpublic.name;
const stringToReply = 'Message to reply in DM';
it.skip('should reply in DM to another user', async () => {
const replyUser = await createRandomUser();
const { name: replyRoom } = await createRandomRoom(replyUser, 'c');
const originalMessage = 'Message to reply in DM';
const replyMessage = 'replied in dm';
await waitFor(element(by.id('rooms-list-view')))
.toBeVisible()
.withTimeout(2000);
await navigateToRoom(channelName);
await sendMessage(data.users.alternate, channelName, stringToReply);
await waitFor(element(by[textMatcher](stringToReply)).atIndex(0))
await navigateToRoom(replyRoom);
await sendMessage(replyUser, replyRoom, originalMessage);
await waitFor(element(by[textMatcher](originalMessage)).atIndex(0))
.toBeVisible()
.withTimeout(3000);
await element(by[textMatcher](stringToReply)).atIndex(0).longPress();
.withTimeout(10000);
await element(by.id('room-view-join-button')).tap();
await waitFor(element(by.id('room-view-join-button')))
.not.toBeVisible()
.withTimeout(10000);
await element(by[textMatcher](originalMessage)).atIndex(0).tap();
await element(by[textMatcher](originalMessage)).atIndex(0).longPress();
await sleep(300); // wait for animation
await waitFor(element(by.id('action-sheet')))
.toExist()
.withTimeout(2000);
await expect(element(by.id('action-sheet-handle'))).toBeVisible();
await waitFor(element(by[textMatcher]('Reply in Direct Message')).atIndex(0))
.toExist()
.withTimeout(6000);
await element(by[textMatcher]('Reply in Direct Message')).atIndex(0).tap();
await waitFor(element(by.id(`room-view-title-${data.users.alternate.username}`)))
await waitFor(element(by.id(`room-view-title-${replyUser.username}`)))
.toExist()
.withTimeout(6000);
await element(by.id('messagebox-input')).replaceText(`${data.random} replied in dm`);
await element(by.id('messagebox-input')).replaceText(replyMessage);
await waitFor(element(by.id('messagebox-send-message')))
.toExist()
.withTimeout(2000);
await element(by.id('messagebox-send-message')).tap();
await waitFor(element(by[textMatcher](replyMessage)))
.toExist()
.withTimeout(60000);
await element(by[textMatcher](replyMessage)).atIndex(0).tap();
});
});
});

View File

@ -1,28 +1,53 @@
import { expect } from 'detox';
import { device, waitFor, element, by, expect } from 'detox';
import data from '../../data';
import {
navigateToLogin,
login,
tapBack,
sleep,
searchRoom,
mockMessage,
starMessage,
pinMessage,
platformTypes,
TTextMatcher
TTextMatcher,
tapAndWaitFor,
tryTapping,
mockMessage
} from '../../helpers/app';
import { createRandomRoom, createRandomUser, ITestUser, post } from '../../helpers/data_setup';
import random from '../../helpers/random';
const { sendMessage } = require('../../helpers/data_setup');
async function navigateToRoomActions(type: string) {
let room;
if (type === 'd') {
room = 'rocket.cat';
} else {
room = data.groups.private.name;
}
async function starMessage(message: string) {
const deviceType = device.getPlatform();
const { textMatcher } = platformTypes[deviceType];
await waitFor(element(by[textMatcher](message)).atIndex(0)).toExist();
await tryTapping(element(by[textMatcher](message)).atIndex(0), 2000, true);
await waitFor(element(by.id('action-sheet')))
.toExist()
.withTimeout(2000);
await element(by.id('action-sheet-handle')).swipe('up', 'fast', 0.5);
await element(by[textMatcher]('Star')).atIndex(0).tap();
await waitFor(element(by.id('action-sheet')))
.not.toExist()
.withTimeout(5000);
}
async function pinMessage(message: string) {
const deviceType = device.getPlatform();
const { textMatcher } = platformTypes[deviceType];
await waitFor(element(by[textMatcher](message)).atIndex(0)).toExist();
await tryTapping(element(by[textMatcher](message)).atIndex(0), 2000, true);
await waitFor(element(by.id('action-sheet')))
.toExist()
.withTimeout(2000);
await element(by.id('action-sheet-handle')).swipe('up', 'fast', 0.5);
await element(by[textMatcher]('Pin')).atIndex(0).tap();
await waitFor(element(by.id('action-sheet')))
.not.toExist()
.withTimeout(5000);
}
async function navigateToRoomActions() {
await searchRoom(room);
await element(by.id(`rooms-list-view-item-${room}`)).tap();
await waitFor(element(by.id('room-view')))
@ -41,93 +66,31 @@ async function backToActions() {
.withTimeout(2000);
}
async function backToRoomsList() {
await tapBack();
await waitFor(element(by.id('room-view')))
.toExist()
.withTimeout(2000);
await tapBack();
await waitFor(element(by.id('rooms-list-view')))
.toExist()
.withTimeout(2000);
}
async function waitForToast() {
await sleep(1000);
}
let user: ITestUser;
let otherUser: ITestUser;
let room: string;
describe('Room actions screen', () => {
let alertButtonType: string;
let textMatcher: TTextMatcher;
before(async () => {
beforeAll(async () => {
user = await createRandomUser();
otherUser = await createRandomUser();
({ name: room } = await createRandomRoom(user));
await device.launchApp({ permissions: { notifications: 'YES' }, delete: true });
await navigateToLogin();
await login(data.users.regular.username, data.users.regular.password);
await login(user.username, user.password);
({ alertButtonType, textMatcher } = platformTypes[device.getPlatform()]);
});
describe('Render', () => {
describe('Direct', () => {
before(async () => {
await navigateToRoomActions('d');
});
it('should have room actions screen', async () => {
await expect(element(by.id('room-actions-view'))).toExist();
});
it('should have info', async () => {
await expect(element(by.id('room-actions-info'))).toExist();
});
// it('should have voice', async() => {
// await expect(element(by.id('room-actions-voice'))).toExist();
// });
// it('should have video', async() => {
// await expect(element(by.id('room-actions-video'))).toExist();
// });
it('should have files', async () => {
await expect(element(by.id('room-actions-files'))).toExist();
});
it('should have mentions', async () => {
await expect(element(by.id('room-actions-mentioned'))).toExist();
});
it('should have starred', async () => {
await expect(element(by.id('room-actions-starred'))).toExist();
});
it('should have share', async () => {
await waitFor(element(by.id('room-actions-share'))).toExist();
await expect(element(by.id('room-actions-share'))).toExist();
});
it('should have pinned', async () => {
await waitFor(element(by.id('room-actions-pinned'))).toExist();
await expect(element(by.id('room-actions-pinned'))).toExist();
});
it('should have notifications', async () => {
await waitFor(element(by.id('room-actions-notifications'))).toExist();
await expect(element(by.id('room-actions-notifications'))).toExist();
});
it('should have block user', async () => {
await waitFor(element(by.id('room-actions-block-user'))).toExist();
await expect(element(by.id('room-actions-block-user'))).toExist();
});
after(async () => {
await backToRoomsList();
});
});
describe('Channel/Group', () => {
before(async () => {
await navigateToRoomActions('c');
beforeAll(async () => {
await navigateToRoomActions();
});
it('should have room actions screen', async () => {
@ -138,14 +101,6 @@ describe('Room actions screen', () => {
await expect(element(by.id('room-actions-info'))).toExist();
});
// it('should have voice', async() => {
// await expect(element(by.id('room-actions-voice'))).toExist();
// });
// it('should have video', async() => {
// await expect(element(by.id('room-actions-video'))).toExist();
// });
it('should have members', async () => {
await expect(element(by.id('room-actions-members'))).toExist();
});
@ -197,10 +152,10 @@ describe('Room actions screen', () => {
it('should show starred message and unstar it', async () => {
// Go back to room and send a message
await tapBack();
await mockMessage('messageToStar');
const messageToStar = await mockMessage('messageToStar');
// Star the message
await starMessage('messageToStar');
await starMessage(messageToStar);
// Back into Room Actions
await element(by.id('room-header')).tap();
@ -215,19 +170,17 @@ describe('Room actions screen', () => {
await waitFor(element(by.id('starred-messages-view')))
.toExist()
.withTimeout(2000);
await waitFor(element(by[textMatcher](`${data.random}messageToStar`).withAncestor(by.id('starred-messages-view'))))
await waitFor(element(by[textMatcher](messageToStar).withAncestor(by.id('starred-messages-view'))))
.toExist()
.withTimeout(60000);
// Unstar message
await element(by[textMatcher](`${data.random}messageToStar`))
.atIndex(0)
.longPress();
await element(by[textMatcher](messageToStar)).atIndex(0).longPress();
await expect(element(by.id('action-sheet'))).toExist();
await expect(element(by.id('action-sheet-handle'))).toBeVisible();
await element(by[textMatcher]('Unstar')).atIndex(0).tap();
await waitFor(element(by[textMatcher](`${data.random}messageToStar`).withAncestor(by.id('starred-messages-view'))))
await waitFor(element(by[textMatcher](messageToStar).withAncestor(by.id('starred-messages-view'))))
.toBeNotVisible()
.withTimeout(60000);
await backToActions();
@ -236,10 +189,10 @@ describe('Room actions screen', () => {
it('should show pinned message and unpin it', async () => {
// Go back to room and send a message
await tapBack();
await mockMessage('messageToPin');
const messageToPin = await mockMessage('messageToPin');
// Pin the message
await pinMessage('messageToPin');
await pinMessage(messageToPin);
// Back into Room Actions
await element(by.id('room-header')).tap();
@ -252,10 +205,10 @@ describe('Room actions screen', () => {
await waitFor(element(by.id('pinned-messages-view')))
.toExist()
.withTimeout(2000);
await waitFor(element(by[textMatcher](`${data.random}messageToPin`).withAncestor(by.id('pinned-messages-view'))))
await waitFor(element(by[textMatcher](messageToPin).withAncestor(by.id('pinned-messages-view'))))
.toExist()
.withTimeout(6000);
await element(by[textMatcher](`${data.random}messageToPin`).withAncestor(by.id('pinned-messages-view')))
await element(by[textMatcher](messageToPin).withAncestor(by.id('pinned-messages-view')))
.atIndex(0)
.longPress();
@ -263,7 +216,7 @@ describe('Room actions screen', () => {
await expect(element(by.id('action-sheet-handle'))).toBeVisible();
await element(by[textMatcher]('Unpin')).atIndex(0).tap();
await waitFor(element(by[textMatcher](`${data.random}messageToPin`).withAncestor(by.id('pinned-messages-view'))))
await waitFor(element(by[textMatcher](messageToPin).withAncestor(by.id('pinned-messages-view'))))
.not.toExist()
.withTimeout(6000);
await backToActions();
@ -315,17 +268,12 @@ describe('Room actions screen', () => {
.withTimeout(4000);
});
after(async () => {
afterAll(async () => {
await backToActions();
});
});
describe('Channel/Group', () => {
// Currently, there's no way to add more owners to the room
// So we test only for the 'You are the last owner...' message
const user = data.users.alternate;
it('should tap on leave channel and raise alert', async () => {
await waitFor(element(by.id('room-actions-scrollview')))
.toExist()
@ -364,6 +312,7 @@ describe('Room actions screen', () => {
// add rocket.cat
const rocketCat = 'rocket.cat';
await post('im.create', { username: rocketCat }, user);
await waitFor(element(by.id(`select-users-view-item-${rocketCat}`)))
.toExist()
.withTimeout(10000);
@ -376,13 +325,13 @@ describe('Room actions screen', () => {
.toExist()
.withTimeout(4000);
await element(by.id('select-users-view-search')).tap();
await element(by.id('select-users-view-search')).replaceText(user.username);
await element(by.id('select-users-view-search')).replaceText(otherUser.username);
await sleep(300);
await waitFor(element(by.id(`select-users-view-item-${user.username}`)))
await waitFor(element(by.id(`select-users-view-item-${otherUser.username}`)))
.toExist()
.withTimeout(10000);
await element(by.id(`select-users-view-item-${user.username}`)).tap();
await waitFor(element(by.id(`selected-user-${user.username}`)))
await element(by.id(`select-users-view-item-${otherUser.username}`)).tap();
await waitFor(element(by.id(`selected-user-${otherUser.username}`)))
.toExist()
.withTimeout(5000);
@ -392,14 +341,11 @@ describe('Room actions screen', () => {
});
describe('Room Members', () => {
before(async () => {
beforeAll(async () => {
await waitFor(element(by.id('room-actions-members')))
.toExist()
.withTimeout(2000);
await element(by.id('room-actions-members')).tap();
await waitFor(element(by.id('room-members-view')))
.toExist()
.withTimeout(2000);
await tapAndWaitFor(element(by.id('room-actions-members')), element(by.id('room-members-view')), 2000);
});
const openActionSheet = async (username: string) => {
@ -441,7 +387,7 @@ describe('Room actions screen', () => {
.toExist()
.withTimeout(2000);
await element(by.id('room-members-view-toggle-status-all')).tap();
await waitFor(element(by.id(`room-members-view-item-${user.username}`)))
await waitFor(element(by.id(`room-members-view-item-${otherUser.username}`)))
.toExist()
.withTimeout(60000);
await tapBack();
@ -457,16 +403,16 @@ describe('Room actions screen', () => {
.toExist()
.withTimeout(2000);
await element(by.id('room-members-view-toggle-status-all')).tap();
await waitFor(element(by.id(`room-members-view-item-${user.username}`)))
await waitFor(element(by.id(`room-members-view-item-${otherUser.username}`)))
.toExist()
.withTimeout(60000);
await element(by.id('room-members-view-search')).replaceText('rocket');
await waitFor(element(by.id(`room-members-view-item-${user.username}`)))
await waitFor(element(by.id(`room-members-view-item-${otherUser.username}`)))
.toBeNotVisible()
.withTimeout(60000);
await element(by.id('room-members-view-search')).tap();
await element(by.id('room-members-view-search')).clearText();
await waitFor(element(by.id(`room-members-view-item-${user.username}`)))
await waitFor(element(by.id(`room-members-view-item-${otherUser.username}`)))
.toExist()
.withTimeout(60000);
});
@ -489,24 +435,24 @@ describe('Room actions screen', () => {
it('should clear search', async () => {
await element(by.id('room-members-view-search')).tap();
await element(by.id('room-members-view-search')).clearText();
await waitFor(element(by.id(`room-members-view-item-${user.username}`)))
await waitFor(element(by.id(`room-members-view-item-${otherUser.username}`)))
.toExist()
.withTimeout(60000);
});
it('should set/remove as owner', async () => {
await openActionSheet(user.username);
await openActionSheet(otherUser.username);
await element(by.id('action-sheet-set-owner')).tap();
await waitForToast();
await openActionSheet(user.username);
await openActionSheet(otherUser.username);
await waitFor(element(by.id('action-sheet-set-owner-checked')))
.toBeVisible()
.withTimeout(6000);
await element(by.id('action-sheet-set-owner')).tap();
await waitForToast();
await openActionSheet(user.username);
await openActionSheet(otherUser.username);
await waitFor(element(by.id('action-sheet-set-owner-unchecked')))
.toBeVisible()
.withTimeout(60000);
@ -514,18 +460,18 @@ describe('Room actions screen', () => {
});
it('should set/remove as leader', async () => {
await openActionSheet(user.username);
await openActionSheet(otherUser.username);
await element(by.id('action-sheet-set-leader')).tap();
await waitForToast();
await openActionSheet(user.username);
await openActionSheet(otherUser.username);
await waitFor(element(by.id('action-sheet-set-leader-checked')))
.toBeVisible()
.withTimeout(6000);
await element(by.id('action-sheet-set-leader')).tap();
await waitForToast();
await openActionSheet(user.username);
await openActionSheet(otherUser.username);
await waitFor(element(by.id('action-sheet-set-owner-unchecked')))
.toBeVisible()
.withTimeout(60000);
@ -533,18 +479,18 @@ describe('Room actions screen', () => {
});
it('should set/remove as moderator', async () => {
await openActionSheet(user.username);
await openActionSheet(otherUser.username);
await element(by.id('action-sheet-set-moderator')).tap();
await waitForToast();
await openActionSheet(user.username);
await openActionSheet(otherUser.username);
await waitFor(element(by.id('action-sheet-set-moderator-checked')))
.toBeVisible()
.withTimeout(6000);
await element(by.id('action-sheet-set-moderator')).tap();
await waitForToast();
await openActionSheet(user.username);
await openActionSheet(otherUser.username);
await waitFor(element(by.id('action-sheet-set-moderator-unchecked')))
.toBeVisible()
.withTimeout(60000);
@ -552,7 +498,7 @@ describe('Room actions screen', () => {
});
it('should set/remove as mute', async () => {
await openActionSheet(user.username);
await openActionSheet(otherUser.username);
await element(by[textMatcher]('Mute')).atIndex(0).tap();
await waitFor(element(by[textMatcher]('Are you sure?')))
.toExist()
@ -560,7 +506,7 @@ describe('Room actions screen', () => {
await element(by[textMatcher]('Mute').and(by.type(alertButtonType))).tap();
await waitForToast();
await openActionSheet(user.username);
await openActionSheet(otherUser.username);
await element(by[textMatcher]('Unmute')).atIndex(0).tap();
await waitFor(element(by[textMatcher]('Are you sure?')))
.toExist()
@ -568,7 +514,7 @@ describe('Room actions screen', () => {
await element(by[textMatcher]('Unmute').and(by.type(alertButtonType))).tap();
await waitForToast();
await openActionSheet(user.username);
await openActionSheet(otherUser.username);
// Tests if Remove as mute worked
await waitFor(element(by[textMatcher]('Mute')))
.toExist()
@ -577,10 +523,9 @@ describe('Room actions screen', () => {
});
it('should ignore user', async () => {
const message = `${data.random}ignoredmessagecontent`;
const channelName = `#${data.groups.private.name}`;
await sendMessage(user, channelName, message);
await openActionSheet(user.username);
const message = `${random()}ignoredmessagecontent`;
await sendMessage(otherUser, room, message);
await openActionSheet(otherUser.username);
await element(by[textMatcher]('Ignore')).atIndex(0).tap();
await waitForToast();
await backToActions();
@ -591,10 +536,11 @@ describe('Room actions screen', () => {
await waitFor(element(by[textMatcher]('Message ignored. Tap to display it.')).atIndex(0))
.toExist()
.withTimeout(60000);
await element(by[textMatcher]('Message ignored. Tap to display it.')).atIndex(0).tap();
await waitFor(element(by[textMatcher](message)).atIndex(0))
.toExist()
.withTimeout(60000);
await tapAndWaitFor(
element(by[textMatcher]('Message ignored. Tap to display it.')).atIndex(0),
element(by[textMatcher](message)).atIndex(0),
2000
);
await element(by[textMatcher](message)).atIndex(0).tap();
});
@ -618,15 +564,15 @@ describe('Room actions screen', () => {
.toExist()
.withTimeout(2000);
await element(by.id('room-members-view-toggle-status-all')).tap();
await waitFor(element(by.id(`room-members-view-item-${user.username}`)))
await waitFor(element(by.id(`room-members-view-item-${otherUser.username}`)))
.toExist()
.withTimeout(60000);
await openActionSheet(user.username);
await openActionSheet(otherUser.username);
await element(by[textMatcher]('Direct message')).atIndex(0).tap();
await waitFor(element(by.id('room-view')))
.toExist()
.withTimeout(60000);
await waitFor(element(by.id(`room-view-title-${user.username}`)))
await waitFor(element(by.id(`room-view-title-${otherUser.username}`)))
.toExist()
.withTimeout(60000);
await tapBack();
@ -636,24 +582,5 @@ describe('Room actions screen', () => {
});
});
});
describe('Direct', () => {
before(async () => {
await navigateToRoomActions('d');
});
it('should block/unblock user', async () => {
await element(by.id('room-actions-scrollview')).scrollTo('bottom');
await waitFor(element(by.id('room-actions-block-user'))).toExist();
await element(by.id('room-actions-block-user')).tap();
await waitFor(element(by[textMatcher]('Unblock user')))
.toExist()
.withTimeout(60000);
await element(by.id('room-actions-block-user')).tap();
await waitFor(element(by[textMatcher]('Block user')))
.toExist()
.withTimeout(60000);
});
});
});
});

View File

@ -1,48 +1,58 @@
import { expect } from 'detox';
import { device, waitFor, element, by, expect } from 'detox';
import { TTextMatcher, navigateToLogin, login, mockMessage, tapBack, searchRoom, platformTypes } from '../../helpers/app';
import data from '../../data';
const channel = data.groups.private.name;
const navigateToRoom = async () => {
await searchRoom(channel);
await element(by.id(`rooms-list-view-item-${channel}`)).tap();
await waitFor(element(by.id('room-view')))
.toBeVisible()
.withTimeout(5000);
};
import {
TTextMatcher,
navigateToLogin,
login,
tapBack,
navigateToRoom,
platformTypes,
mockMessage,
sleep,
checkRoomTitle
} from '../../helpers/app';
import { createRandomRoom, createRandomUser, ITestUser } from '../../helpers/data_setup';
import random from '../../helpers/random';
describe('Discussion', () => {
let textMatcher: TTextMatcher;
before(async () => {
let user: ITestUser;
let room: string;
const discussionFromNewMessage = `${random()} Discussion NewMessageView`;
const discussionFromMessagebox = `${random()} Discussion Messagebox actions`;
let discussionFromActionSheet: string;
beforeAll(async () => {
user = await createRandomUser();
({ name: room } = await createRandomRoom(user));
await device.launchApp({ permissions: { notifications: 'YES' }, newInstance: true, delete: true });
({ textMatcher } = platformTypes[device.getPlatform()]);
await navigateToLogin();
await login(data.users.regular.username, data.users.regular.password);
await login(user.username, user.password);
});
it('should create discussion from NewMessageView', async () => {
const discussionName = `${data.random} Discussion NewMessageView`;
await waitFor(element(by.id('rooms-list-view-create-channel')))
.toExist()
.withTimeout(2000);
await element(by.id('rooms-list-view-create-channel')).tap();
await waitFor(element(by.id('new-message-view')))
.toExist()
.toBeVisible()
.withTimeout(2000);
await waitFor(element(by.id('new-message-view-create-discussion')))
.toBeVisible()
.withTimeout(5000);
await element(by[textMatcher]('Discussion')).atIndex(0).tap();
await waitFor(element(by.id('create-discussion-view')))
.toExist()
.withTimeout(60000);
await expect(element(by.id('create-discussion-view'))).toExist();
await element(by[textMatcher]('Select a Channel...')).tap();
await element(by.id('multi-select-search')).replaceText(`${channel}`);
await waitFor(element(by.id(`multi-select-item-${channel}`)))
await element(by.id('multi-select-search')).replaceText(`${room}`);
await waitFor(element(by.id(`multi-select-item-${room}`)))
.toExist()
.withTimeout(10000);
await element(by.id(`multi-select-item-${channel}`)).tap();
await element(by.id('multi-select-discussion-name')).replaceText(discussionName);
await element(by.id(`multi-select-item-${room}`)).tap();
await element(by.id('multi-select-discussion-name')).replaceText(discussionFromNewMessage);
await waitFor(element(by.id('create-discussion-submit')))
.toExist()
.withTimeout(10000);
@ -50,27 +60,27 @@ describe('Discussion', () => {
await waitFor(element(by.id('room-view')))
.toExist()
.withTimeout(10000);
await waitFor(element(by.id(`room-view-title-${discussionName}`)))
await waitFor(element(by.id(`room-view-title-${discussionFromNewMessage}`)))
.toExist()
.withTimeout(5000);
await tapBack();
await waitFor(element(by.id(`rooms-list-view-item-${discussionName}`)))
await waitFor(element(by.id(`rooms-list-view-item-${discussionFromNewMessage}`)))
.toExist()
.withTimeout(5000);
});
it('should create discussion from action button', async () => {
const discussionName = `${data.random} Discussion Action Button`;
await navigateToRoom();
it('should create discussion from Messagebox Actions', async () => {
await navigateToRoom(room);
await element(by.id('messagebox-actions')).tap();
await sleep(300); // wait for animation
await waitFor(element(by.id('action-sheet')))
.toExist()
.toBeVisible()
.withTimeout(2000);
await element(by[textMatcher]('Create Discussion')).atIndex(0).tap();
await waitFor(element(by.id('create-discussion-view')))
.toExist()
.withTimeout(2000);
await element(by.id('multi-select-discussion-name')).replaceText(discussionName);
await element(by.id('multi-select-discussion-name')).replaceText(discussionFromMessagebox);
await waitFor(element(by.id('create-discussion-submit')))
.toExist()
.withTimeout(10000);
@ -78,7 +88,7 @@ describe('Discussion', () => {
await waitFor(element(by.id('room-view')))
.toExist()
.withTimeout(10000);
await waitFor(element(by.id(`room-view-title-${discussionName}`)))
await waitFor(element(by.id(`room-view-title-${discussionFromMessagebox}`)))
.toExist()
.withTimeout(5000);
});
@ -88,26 +98,24 @@ describe('Discussion', () => {
await waitFor(element(by.id('messagebox')))
.toBeVisible()
.withTimeout(60000);
await mockMessage('message');
discussionFromActionSheet = await mockMessage('message');
});
it('should create discussion', async () => {
const discussionName = `${data.random}message`;
await element(by[textMatcher](discussionName)).atIndex(0).longPress();
await element(by[textMatcher](discussionFromActionSheet)).atIndex(0).tap();
await element(by[textMatcher](discussionFromActionSheet)).atIndex(0).longPress();
await sleep(1000); // wait for animation
await waitFor(element(by.id('action-sheet')))
.toExist()
.withTimeout(2000);
await element(by[textMatcher]('Start a Discussion')).atIndex(0).tap();
await sleep(1000); // wait for animation
await waitFor(element(by.id('create-discussion-view')))
.toExist()
.toBeVisible()
.withTimeout(2000);
await element(by.id('create-discussion-submit')).tap();
await waitFor(element(by.id('room-view')))
.toExist()
.withTimeout(10000);
await waitFor(element(by.id(`room-view-title-${discussionName}`)))
.toExist()
.withTimeout(5000);
await sleep(1000); // wait for animation
await checkRoomTitle(discussionFromActionSheet);
});
});
@ -180,24 +188,20 @@ describe('Discussion', () => {
});
describe('Open Discussion from DiscussionsView', () => {
const discussionName = `${data.random}message`;
it('should go back to main room', async () => {
await tapBack();
await waitFor(element(by.id('room-actions-view')))
.toBeVisible()
.withTimeout(5000);
await tapBack();
await waitFor(element(by.id(`room-view-title-${discussionName}`)))
await waitFor(element(by.id(`room-view-title-${discussionFromActionSheet}`)))
.toExist()
.withTimeout(5000);
await tapBack();
await navigateToRoom();
await navigateToRoom(room);
});
it('should navigate to DiscussionsView', async () => {
await waitFor(element(by.id(`room-view-title-${channel}`)))
.toExist()
.withTimeout(5000);
await waitFor(element(by.id('room-header')))
.toBeVisible()
.withTimeout(5000);
@ -212,12 +216,11 @@ describe('Discussion', () => {
});
it('should navigate to discussion', async () => {
const discussionName = `${data.random} Discussion NewMessageView`;
await waitFor(element(by.label(discussionName)).atIndex(0))
await waitFor(element(by.label(discussionFromNewMessage)).atIndex(0))
.toExist()
.withTimeout(5000);
await element(by.label(discussionName)).atIndex(0).tap();
await waitFor(element(by.id(`room-view-title-${discussionName}`)))
await element(by.label(discussionFromNewMessage)).atIndex(0).tap();
await waitFor(element(by.id(`room-view-title-${discussionFromNewMessage}`)))
.toExist()
.withTimeout(5000);
});

View File

@ -1,41 +1,35 @@
import { expect } from 'detox';
import { device, waitFor, element, by, expect } from 'detox';
import data from '../../data';
import {
navigateToLogin,
login,
mockMessage,
tapBack,
sleep,
searchRoom,
platformTypes,
dismissReviewNag,
TTextMatcher
TTextMatcher,
tapAndWaitFor,
navigateToRoom,
mockMessage
} from '../../helpers/app';
async function navigateToRoom(roomName: string) {
await device.launchApp({ permissions: { notifications: 'YES' }, delete: true });
await navigateToLogin();
await login(data.users.regular.username, data.users.regular.password);
await searchRoom(`${roomName}`);
await element(by.id(`rooms-list-view-item-${roomName}`)).tap();
await waitFor(element(by.id(`room-view-title-${roomName}`)))
.toExist()
.withTimeout(5000);
}
import { createRandomRoom, createRandomUser } from '../../helpers/data_setup';
describe('Threads', () => {
const mainRoom = data.groups.private.name;
let room: string;
let textMatcher: TTextMatcher;
before(async () => {
beforeAll(async () => {
const user = await createRandomUser();
({ name: room } = await createRandomRoom(user));
({ textMatcher } = platformTypes[device.getPlatform()]);
await navigateToRoom(mainRoom);
await device.launchApp({ permissions: { notifications: 'YES' }, delete: true });
await navigateToLogin();
await login(user.username, user.password);
await navigateToRoom(room);
});
describe('Render', () => {
it('should have room screen', async () => {
await waitFor(element(by.id(`room-view-title-${mainRoom}`)))
await waitFor(element(by.id(`room-view-title-${room}`)))
.toExist()
.withTimeout(5000);
});
@ -58,9 +52,7 @@ describe('Threads', () => {
});
it('should have open emoji button', async () => {
if (device.getPlatform() === 'android') {
await expect(element(by.id('messagebox-open-emoji'))).toExist();
}
});
it('should have message input', async () => {
@ -79,9 +71,10 @@ describe('Threads', () => {
describe('Usage', () => {
describe('Thread', () => {
const thread = `${data.random}thread`;
let thread: string;
it('should create thread', async () => {
await mockMessage('thread');
thread = await mockMessage('thread');
await element(by[textMatcher](thread)).atIndex(0).tap();
await element(by[textMatcher](thread)).atIndex(0).longPress();
await expect(element(by.id('action-sheet'))).toExist();
await expect(element(by.id('action-sheet-handle'))).toBeVisible();
@ -125,16 +118,15 @@ describe('Threads', () => {
});
it('should send message in thread only', async () => {
const messageText = 'threadonly';
await mockMessage(messageText, true);
const messageText = await mockMessage('threadonly', true);
await tapBack();
await waitFor(element(by.id(`room-view-title-${data.random}thread`)))
await waitFor(element(by.id(`room-view-title-${thread}`)))
.not.toExist()
.withTimeout(5000);
await waitFor(element(by.id(`room-view-title-${mainRoom}`)))
await waitFor(element(by.id(`room-view-title-${room}`)))
.toExist()
.withTimeout(5000);
await waitFor(element(by[textMatcher](`${data.random}${messageText}`)).atIndex(0))
await waitFor(element(by[textMatcher](messageText)).atIndex(0))
.toNotExist()
.withTimeout(2000);
});
@ -149,10 +141,10 @@ describe('Threads', () => {
await element(by.id('messagebox-send-to-channel')).tap();
await element(by.id('messagebox-send-message')).tap();
await tapBack();
await waitFor(element(by.id(`room-view-title-${data.random}thread`)))
await waitFor(element(by.id(`room-view-title-${thread}`)))
.not.toExist()
.withTimeout(5000);
await waitFor(element(by.id(`room-view-title-${mainRoom}`)))
await waitFor(element(by.id(`room-view-title-${room}`)))
.toExist()
.withTimeout(5000);
await waitFor(element(by[textMatcher](messageText)).atIndex(0))
@ -162,8 +154,7 @@ describe('Threads', () => {
it('should navigate to thread from thread name', async () => {
const messageText = 'navthreadname';
await mockMessage('dummymessagebetweenthethread'); // TODO: Create a proper test for this elsewhere.
await dismissReviewNag();
await mockMessage('dummymessagebetweenthethread');
await element(by.id(`message-thread-button-${thread}`)).tap();
await waitFor(element(by.id('messagebox-input-thread')))
.toExist()
@ -172,10 +163,10 @@ describe('Threads', () => {
await element(by.id('messagebox-send-to-channel')).tap();
await element(by.id('messagebox-send-message')).tap();
await tapBack();
await waitFor(element(by.id(`room-view-title-${data.random}thread`)))
await waitFor(element(by.id(`room-view-title-${thread}`)))
.not.toExist()
.withTimeout(5000);
await waitFor(element(by.id(`room-view-title-${mainRoom}`)))
await waitFor(element(by.id(`room-view-title-${room}`)))
.toExist()
.withTimeout(5000);
await waitFor(element(by.id(`message-thread-replied-on-${thread}`)))
@ -221,18 +212,12 @@ describe('Threads', () => {
await element(by.id('messagebox-input-thread')).replaceText(`${thread}draft`);
await tapBack();
await element(by.id(`message-thread-button-${thread}`)).tap();
await waitFor(element(by.id(`room-view-title-${thread}`)))
.toExist()
.withTimeout(5000);
await tapAndWaitFor(element(by.id(`message-thread-button-${thread}`)), element(by.id(`room-view-title-${thread}`)), 2000);
await expect(element(by.id('messagebox-input-thread'))).toHaveText(`${thread}draft`);
await element(by.id('messagebox-input-thread')).clearText();
await tapBack();
await element(by.id(`message-thread-button-${thread}`)).tap();
await waitFor(element(by.id(`room-view-title-${thread}`)))
.toExist()
.withTimeout(5000);
await tapAndWaitFor(element(by.id(`message-thread-button-${thread}`)), element(by.id(`room-view-title-${thread}`)), 2000);
await expect(element(by.id('messagebox-input-thread'))).toHaveText('');
});
});

View File

@ -1,17 +1,22 @@
import data from '../../data';
import { device, waitFor, element, by } from 'detox';
import { navigateToLogin, login, platformTypes, TTextMatcher } from '../../helpers/app';
import { createRandomUser, ITestUser } from '../../helpers/data_setup';
describe('Group DM', () => {
let textMatcher: TTextMatcher;
before(async () => {
let otherUser: ITestUser;
beforeAll(async () => {
const user = await createRandomUser();
otherUser = await createRandomUser();
await device.launchApp({ permissions: { notifications: 'YES' }, delete: true });
({ textMatcher } = platformTypes[device.getPlatform()]);
await navigateToLogin();
await login(data.users.regular.username, data.users.regular.password);
await login(user.username, user.password);
});
describe('Create Group DM', () => {
before(async () => {
beforeAll(async () => {
await waitFor(element(by.id('rooms-list-view-create-channel')))
.toExist()
.withTimeout(2000);
@ -43,16 +48,16 @@ describe('Group DM', () => {
.toBeVisible()
.withTimeout(10000);
await element(by.id('select-users-view-item-rocket.cat')).tap();
await element(by.id('select-users-view-search')).replaceText(data.users.existing.username);
await waitFor(element(by.id(`select-users-view-item-${data.users.existing.username}`)))
await element(by.id('select-users-view-search')).replaceText(otherUser.username);
await waitFor(element(by.id(`select-users-view-item-${otherUser.username}`)))
.toBeVisible()
.withTimeout(10000);
await element(by.id(`select-users-view-item-${data.users.existing.username}`)).tap();
await element(by.id(`select-users-view-item-${otherUser.username}`)).tap();
await element(by.id('selected-users-view-submit')).tap();
});
it('check Group DM exist', async () => {
await waitFor(element(by.id(`room-view-title-${data.users.existing.username}, rocket.cat`)))
await waitFor(element(by.id(`room-view-title-rocket.cat, ${otherUser.username}`)))
.toExist()
.withTimeout(10000);
});

View File

@ -1,35 +1,28 @@
import { expect } from 'detox';
import { device, waitFor, element, by, expect } from 'detox';
import data from '../../data';
import { navigateToLogin, login, searchRoom, sleep, platformTypes, TTextMatcher } from '../../helpers/app';
import { sendMessage } from '../../helpers/data_setup';
async function navigateToRoom(user: string) {
await searchRoom(`${user}`);
await element(by.id(`rooms-list-view-item-${user}`)).tap();
await waitFor(element(by.id('room-view')))
.toBeVisible()
.withTimeout(5000);
}
import { navigateToLogin, login, sleep, platformTypes, TTextMatcher, navigateToRoom } from '../../helpers/app';
import { createRandomUser, ITestUser, sendMessage } from '../../helpers/data_setup';
describe('Mark as unread', () => {
const user = data.users.alternate.username;
let user: ITestUser;
let otherUser: ITestUser;
let textMatcher: TTextMatcher;
before(async () => {
beforeAll(async () => {
user = await createRandomUser();
otherUser = await createRandomUser();
await device.launchApp({ permissions: { notifications: 'YES' }, delete: true });
({ textMatcher } = platformTypes[device.getPlatform()]);
await navigateToLogin();
await login(data.users.regular.username, data.users.regular.password);
await navigateToRoom(user);
await login(user.username, user.password);
await navigateToRoom(otherUser.username);
});
describe('Usage', () => {
describe('Mark message as unread', () => {
it('should mark message as unread', async () => {
const message = `${data.random}message-mark-as-unread`;
const channelName = `@${data.users.regular.username}`;
await sendMessage(data.users.alternate, channelName, message);
const message = 'message-mark-as-unread';
await sendMessage(otherUser, `@${user.username}`, message);
await waitFor(element(by[textMatcher](message)).atIndex(0))
.toExist()
.withTimeout(30000);
@ -43,7 +36,7 @@ describe('Mark as unread', () => {
await waitFor(element(by.id('rooms-list-view')))
.toExist()
.withTimeout(5000);
await expect(element(by.id(`rooms-list-view-item-${data.users.alternate.username}`))).toExist();
await expect(element(by.id(`rooms-list-view-item-${otherUser.username}`))).toExist();
});
});
});

View File

@ -1,22 +1,10 @@
import { expect } from 'detox';
import Detox, { device, waitFor, element, by, expect } from 'detox';
import data from '../../data';
import { navigateToLogin, login, tapBack, sleep, searchRoom, platformTypes, TTextMatcher } from '../../helpers/app';
import { navigateToLogin, login, tapBack, sleep, platformTypes, TTextMatcher, navigateToRoom } from '../../helpers/app';
import { createRandomRoom, createRandomUser, ITestUser } from '../../helpers/data_setup';
const privateRoomName = data.groups.private.name;
async function navigateToRoomInfo(type: string) {
let room;
if (type === 'd') {
room = 'rocket.cat';
} else {
room = privateRoomName;
}
await searchRoom(room);
await element(by.id(`rooms-list-view-item-${room}`)).tap();
await waitFor(element(by.id('room-view')))
.toExist()
.withTimeout(2000);
async function navigateToRoomInfo(room: string) {
await navigateToRoom(room);
await element(by.id('room-header')).tap();
await waitFor(element(by.id('room-actions-view')))
.toExist()
@ -28,7 +16,7 @@ async function navigateToRoomInfo(type: string) {
}
async function swipe(direction: Detox.Direction) {
await element(by.id('room-info-edit-view-list')).swipe(direction, 'fast', 0.8);
await element(by.id('room-info-edit-view-list')).swipe(direction, 'fast', 0.8, 0.2);
}
async function waitForToast() {
@ -38,33 +26,20 @@ async function waitForToast() {
describe('Room info screen', () => {
let alertButtonType: string;
let textMatcher: TTextMatcher;
before(async () => {
let room: string;
let user: ITestUser;
beforeAll(async () => {
user = await createRandomUser();
({ name: room } = await createRandomRoom(user, 'p'));
await device.launchApp({ permissions: { notifications: 'YES' }, delete: true });
({ alertButtonType, textMatcher } = platformTypes[device.getPlatform()]);
await navigateToLogin();
await login(data.users.regular.username, data.users.regular.password);
});
describe('Direct', () => {
before(async () => {
await navigateToRoomInfo('d');
});
it('should navigate to room info', async () => {
await expect(element(by.id('room-info-view'))).toExist();
await expect(element(by.id('room-info-view-name'))).toExist();
});
after(async () => {
await tapBack();
await tapBack();
await tapBack();
});
await login(user.username, user.password);
});
describe('Channel/Group', () => {
before(async () => {
await navigateToRoomInfo('c');
beforeAll(async () => {
await navigateToRoomInfo(room);
});
describe('Render', () => {
@ -94,7 +69,7 @@ describe('Room info screen', () => {
});
describe('Render Edit', () => {
before(async () => {
beforeAll(async () => {
await waitFor(element(by.id('room-info-view-edit-button')))
.toExist()
.withTimeout(10000);
@ -153,15 +128,42 @@ describe('Room info screen', () => {
await expect(element(by.id('room-info-edit-view-delete'))).toExist();
});
after(async () => {
afterAll(async () => {
await swipe('down');
});
});
describe('Usage', () => {
it('should reset form', async () => {
await element(by.id('room-info-edit-view-name')).replaceText('abc');
await element(by.id('room-info-edit-view-description')).replaceText('abc');
await element(by.id('room-info-edit-view-topic')).replaceText('abc');
await element(by.id('room-info-edit-view-topic')).tapReturnKey();
await element(by.id('room-info-edit-view-announcement')).replaceText('abc');
await element(by.id('room-info-edit-view-announcement')).tapReturnKey();
await element(by.id('room-info-edit-view-password')).replaceText('abc');
await element(by.id('room-info-edit-view-password')).tapReturnKey();
await swipe('down'); // dismiss keyboard
await element(by.id('room-info-edit-view-t')).tap();
await swipe('up');
await element(by.id('room-info-edit-view-ro')).tap();
await element(by.id('room-info-edit-view-react-when-ro')).tap();
await element(by.id('room-info-edit-view-reset')).tap();
// after reset
await expect(element(by.id('room-info-edit-view-name'))).toHaveText(room);
await expect(element(by.id('room-info-edit-view-description'))).toHaveText('');
await expect(element(by.id('room-info-edit-view-topic'))).toHaveText('');
await expect(element(by.id('room-info-edit-view-announcement'))).toHaveText('');
await expect(element(by.id('room-info-edit-view-password'))).toHaveText('');
await expect(element(by.id('room-info-edit-view-t'))).toHaveToggleValue(true);
await expect(element(by.id('room-info-edit-view-ro'))).toHaveToggleValue(false);
await expect(element(by.id('room-info-edit-view-react-when-ro'))).not.toBeVisible();
await swipe('down');
});
it('should change room name', async () => {
await element(by.id('room-info-edit-view-name')).replaceText(`${privateRoomName}new`);
await element(by.id('room-info-edit-view-list')).swipe('up', 'fast', 0.5);
await element(by.id('room-info-edit-view-name')).replaceText(`${room}new`);
await swipe('down'); // dismiss keyboard
await swipe('up');
await element(by.id('room-info-edit-view-submit')).tap();
await waitForToast();
@ -170,153 +172,84 @@ describe('Room info screen', () => {
.toExist()
.withTimeout(2000);
const matcher = device.getPlatform() === 'android' ? 'toHaveText' : 'toHaveLabel';
await expect(element(by.id('room-info-view-name')))[matcher](`${privateRoomName}new`);
// change name to original
await waitFor(element(by.id('room-info-view-name')))
[matcher](`${room}new`)
.withTimeout(10000);
await element(by.id('room-info-view-edit-button')).tap();
await waitFor(element(by.id('room-info-edit-view')))
.toExist()
.withTimeout(2000);
await sleep(2000);
await element(by.id('room-info-edit-view-name')).replaceText(`${privateRoomName}`);
await element(by.id('room-info-edit-view-list')).swipe('up', 'fast', 0.5);
await element(by.id('room-info-edit-view-submit')).tap();
await waitForToast();
await swipe('down');
});
it('should reset form', async () => {
await sleep(2000);
await element(by.id('room-info-edit-view-name')).replaceText('abc');
await element(by.id('room-info-edit-view-description')).replaceText('abc');
await element(by.id('room-info-edit-view-topic')).replaceText('abc');
await element(by.id('room-info-edit-view-announcement')).replaceText('abc');
await element(by.id('room-info-edit-view-password')).replaceText('abc');
await element(by.id('room-info-edit-view-t')).tap();
await swipe('up');
await element(by.id('room-info-edit-view-ro')).longPress(); // https://github.com/facebook/react-native/issues/28032
await element(by.id('room-info-edit-view-react-when-ro')).tap();
await swipe('up');
await element(by.id('room-info-edit-view-reset')).tap();
// after reset
await element(by.id('room-info-edit-view-list')).swipe('down', 'fast', 0.5);
await expect(element(by.id('room-info-edit-view-name'))).toHaveText(privateRoomName);
await expect(element(by.id('room-info-edit-view-description'))).toHaveText('');
await expect(element(by.id('room-info-edit-view-topic'))).toHaveText('');
await expect(element(by.id('room-info-edit-view-announcement'))).toHaveText('');
await expect(element(by.id('room-info-edit-view-password'))).toHaveText('');
// await swipe('down');
await expect(element(by.id('room-info-edit-view-t'))).toHaveToggleValue(true);
await expect(element(by.id('room-info-edit-view-ro'))).toHaveToggleValue(false);
await expect(element(by.id('room-info-edit-view-react-when-ro'))).toBeNotVisible();
await swipe('down');
});
it('should change room description', async () => {
it('should change room description, topic, announcement', async () => {
await sleep(5000); // wait for changes to be applied from socket
await element(by.id('room-info-edit-view-description')).replaceText('new description');
await element(by.id('room-info-edit-view-list')).swipe('up', 'fast', 0.5);
await element(by.id('room-info-edit-view-submit')).tap();
await waitForToast();
await tapBack();
await waitFor(element(by.id('room-info-view')))
.toExist()
.withTimeout(2000);
await expect(element(by[textMatcher]('new description').withAncestor(by.id('room-info-view-description')))).toExist();
});
it('should change room topic', async () => {
await waitFor(element(by.id('room-info-view-edit-button')))
.toExist()
.withTimeout(10000);
await element(by.id('room-info-view-edit-button')).tap();
await waitFor(element(by.id('room-info-edit-view')))
.toExist()
.withTimeout(2000);
await sleep(2000);
await element(by.id('room-info-edit-view-topic')).replaceText('new topic');
await element(by.id('room-info-edit-view-list')).swipe('up', 'fast', 0.5);
await element(by.id('room-info-edit-view-submit')).tap();
await waitForToast();
await tapBack();
await waitFor(element(by.id('room-info-view')))
.toExist()
.withTimeout(2000);
await expect(element(by[textMatcher]('new topic').withAncestor(by.id('room-info-view-topic')))).toExist();
});
it('should change room announcement', async () => {
await waitFor(element(by.id('room-info-view-edit-button')))
.toExist()
.withTimeout(10000);
await element(by.id('room-info-view-edit-button')).tap();
await waitFor(element(by.id('room-info-edit-view')))
.toExist()
.withTimeout(2000);
await sleep(2000);
await element(by.id('room-info-edit-view-announcement')).replaceText('new announcement');
await element(by.id('room-info-edit-view-list')).swipe('up', 'fast', 0.5);
await element(by.id('room-info-edit-view-announcement')).tapReturnKey();
await element(by.id('room-info-edit-view-password')).tapReturnKey();
await swipe('down'); // dismiss keyboard
await swipe('up');
await element(by.id('room-info-edit-view-submit')).tap();
await waitForToast();
await tapBack();
await waitFor(element(by.id('room-info-view')))
.toExist()
.withTimeout(2000);
await expect(element(by[textMatcher]('new announcement').withAncestor(by.id('room-info-view-announcement')))).toExist();
});
it('should change room password', async () => {
await waitFor(element(by.id('room-info-view-edit-button')))
await waitFor(element(by[textMatcher]('new description').withAncestor(by.id('room-info-view-description'))))
.toExist()
.withTimeout(10000);
await expect(element(by[textMatcher]('new topic').withAncestor(by.id('room-info-view-topic')))).toExist();
await expect(element(by[textMatcher]('new announcement').withAncestor(by.id('room-info-view-announcement')))).toExist();
await element(by.id('room-info-view-edit-button')).tap();
await waitFor(element(by.id('room-info-edit-view')))
.toExist()
.withTimeout(2000);
await sleep(2000);
await element(by.id('room-info-edit-view-password')).replaceText('password');
await element(by.id('room-info-edit-view-list')).swipe('up', 'fast', 0.5);
await element(by.id('room-info-edit-view-submit')).tap();
await waitForToast();
});
// Commented because we're not actually asserting anything
// it('should change room password', async () => {
// await waitFor(element(by.id('room-info-view-edit-button')))
// .toExist()
// .withTimeout(10000);
// await element(by.id('room-info-view-edit-button')).tap();
// await waitFor(element(by.id('room-info-edit-view')))
// .toExist()
// .withTimeout(2000);
// await sleep(2000);
// await element(by.id('room-info-edit-view-password')).replaceText('password');
// await element(by.id('room-info-edit-view-list')).swipe('up', 'fast', 0.5);
// await element(by.id('room-info-edit-view-submit')).tap();
// await waitForToast();
// });
it('should change room type', async () => {
await swipe('down');
await element(by.id('room-info-edit-view-t')).tap();
await element(by.id('room-info-edit-view-list')).swipe('up', 'fast', 0.5);
await element(by.id('room-info-edit-view-submit')).tap();
await waitForToast();
await swipe('down');
await element(by.id('room-info-edit-view-t')).tap();
await element(by.id('room-info-edit-view-list')).swipe('up', 'fast', 0.5);
await swipe('up');
await element(by.id('room-info-edit-view-submit')).tap();
await waitForToast();
});
it('should archive room', async () => {
await element(by.id('room-info-edit-view-list')).swipe('up', 'fast', 0.5);
await swipe('up');
await element(by.id('room-info-edit-view-archive')).tap();
await waitFor(element(by[textMatcher]('Yes, archive it!')))
.toExist()
.withTimeout(5000);
await element(by[textMatcher]('Yes, archive it!').and(by.type(alertButtonType))).tap();
await waitForToast();
// await waitFor(element(by.id('room-info-edit-view-unarchive')))
// .toExist()
// .withTimeout(60000);
// await expect(element(by.id('room-info-edit-view-archive'))).toBeNotVisible();
});
it('should delete room', async () => {
await element(by.id('room-info-edit-view-list')).swipe('up', 'fast', 0.5);
await element(by.id('room-info-edit-view-delete')).tap();
await waitFor(element(by[textMatcher]('Yes, delete it!')))
.toExist()
.withTimeout(5000);
await element(by[textMatcher]('Yes, delete it!').and(by.type(alertButtonType))).tap();
await waitFor(element(by.id('rooms-list-view')))
.toExist()
.withTimeout(10000);
await waitFor(element(by.id(`rooms-list-view-item-${privateRoomName}`)))
.toBeNotVisible()
await waitFor(element(by.id(`rooms-list-view-item-${room}new`)))
.not.toBeVisible()
.withTimeout(60000);
});
});

View File

@ -1,18 +1,7 @@
import { expect } from 'detox';
import { device, waitFor, element, by, expect } from 'detox';
import data from '../../data';
import { navigateToLogin, tapBack, login, searchRoom, sleep, platformTypes, TTextMatcher } from '../../helpers/app';
async function navigateToRoom(roomName: string) {
await searchRoom(`${roomName}`);
await element(by.id(`rooms-list-view-item-${roomName}`)).tap();
await waitFor(element(by.id('room-view')))
.toBeVisible()
.withTimeout(5000);
await waitFor(element(by.id(`room-view-title-${roomName}`)))
.toExist()
.withTimeout(5000);
}
import { navigateToLogin, tapBack, login, sleep, platformTypes, TTextMatcher, navigateToRoom } from '../../helpers/app';
let textMatcher: TTextMatcher;
let alertButtonType: string;
@ -47,20 +36,20 @@ async function clearCache() {
}
async function waitForLoading() {
if (device.getPlatform() === 'android') {
// if (device.getPlatform() === 'android') {
await sleep(10000);
return; // FIXME: Loading indicator doesn't animate properly on android
}
await waitFor(element(by.id('loading-image')))
.toBeVisible()
.withTimeout(5000);
await waitFor(element(by.id('loading-image')))
.toBeNotVisible()
.withTimeout(10000);
// return; // FIXME: Loading indicator doesn't animate properly on android
// }
// await waitFor(element(by.id('loading-image')))
// .toBeVisible()
// .withTimeout(5000);
// await waitFor(element(by.id('loading-image')))
// .toBeNotVisible()
// .withTimeout(10000);
}
describe('Room', () => {
before(async () => {
beforeAll(async () => {
await device.launchApp({ permissions: { notifications: 'YES' }, delete: true });
({ alertButtonType, textMatcher } = platformTypes[device.getPlatform()]);
await navigateToLogin();
@ -68,6 +57,9 @@ describe('Room', () => {
});
it('should jump to an old message and load its surroundings', async () => {
if (device.getPlatform() === 'android') {
return;
}
await navigateToRoom('jumping');
await waitFor(element(by[textMatcher]('295')))
.toExist()
@ -77,11 +69,14 @@ describe('Room', () => {
await waitForLoading();
await waitFor(element(by[textMatcher]('1')).atIndex(0))
.toExist()
.withTimeout(10000);
.withTimeout(30000);
await expect(element(by[textMatcher]('2'))).toExist();
});
it('should tap FAB and scroll to bottom', async () => {
if (device.getPlatform() === 'android') {
return;
}
await waitFor(element(by.id('nav-jump-to-bottom')))
.toExist()
.withTimeout(15000);
@ -93,13 +88,16 @@ describe('Room', () => {
});
it('should load messages on scroll', async () => {
if (device.getPlatform() === 'android') {
return;
}
await navigateToRoom('jumping');
await waitFor(element(by.id('room-view-messages')))
.toExist()
.withTimeout(5000);
await waitFor(element(by[textMatcher]('300')))
.toExist()
.withTimeout(5000);
.withTimeout(30000);
let found = false;
while (!found) {
try {
@ -115,6 +113,9 @@ describe('Room', () => {
});
it('should search for old message and load its surroundings', async () => {
if (device.getPlatform() === 'android') {
return;
}
await navigateToRoom('jumping');
await sleep(1000); // wait for proper load the room
await element(by.id('room-view-search')).tap();
@ -136,7 +137,6 @@ describe('Room', () => {
});
it('should load newer and older messages', async () => {
// TODO: couldn't make it work on Android :(
if (device.getPlatform() === 'android') {
return;
}
@ -168,7 +168,7 @@ describe('Room', () => {
await waitFor(element(by[textMatcher]('50')))
.toExist()
.withTimeout(5000);
await element(by.id('room-view-messages')).atIndex(0).swipe('up', 'slow', 0.4);
await element(by.id('room-view-messages')).atIndex(0).swipe('up', 'slow', 0.3);
await waitFor(element(by[textMatcher]('Load Newer')))
.toExist()
.withTimeout(5000);
@ -208,11 +208,14 @@ const expectThreadMessages = async (message: string) => {
};
describe('Threads', () => {
before(async () => {
beforeAll(async () => {
await device.launchApp({ permissions: { notifications: 'YES' }, newInstance: true });
});
it('should navigate to a thread from another room', async () => {
if (device.getPlatform() === 'android') {
return;
}
await navigateToRoom('jumping');
await waitFor(element(by[textMatcher]("Go to jumping-thread's thread")).atIndex(0))
.toExist()
@ -223,6 +226,9 @@ describe('Threads', () => {
});
it('should tap on thread message from main room', async () => {
if (device.getPlatform() === 'android') {
return;
}
await waitFor(element(by.id('room-view-title-jumping-thread')))
.toExist()
.withTimeout(5000);
@ -235,6 +241,9 @@ describe('Threads', () => {
});
it('should tap on quote', async () => {
if (device.getPlatform() === 'android') {
return;
}
await waitFor(element(by.id('room-view-title-jumping-thread')))
.toExist()
.withTimeout(5000);
@ -247,6 +256,9 @@ describe('Threads', () => {
});
it('should jump from search message', async () => {
if (device.getPlatform() === 'android') {
return;
}
await waitFor(element(by.id('room-view-title-jumping-thread')))
.toExist()
.withTimeout(5000);

View File

@ -1,16 +1,17 @@
import { expect } from 'detox';
import { device, waitFor, element, by, expect } from 'detox';
import data from '../../data';
import { navigateToLogin, login, searchRoom, sleep, platformTypes, TTextMatcher, tapBack } from '../../helpers/app';
import { sendMessage } from '../../helpers/data_setup';
async function navigateToRoom(user: string) {
await searchRoom(`${user}`);
await element(by.id(`rooms-list-view-item-${user}`)).tap();
await waitFor(element(by.id('room-view')))
.toBeVisible()
.withTimeout(5000);
}
import {
navigateToLogin,
login,
sleep,
platformTypes,
TTextMatcher,
tapBack,
tapAndWaitFor,
checkRoomTitle,
navigateToRoom
} from '../../helpers/app';
import { createRandomRoom, createRandomUser, ITestUser, sendMessage } from '../../helpers/data_setup';
async function navigateToInfoView() {
await element(by.id('room-header')).tap();
@ -24,20 +25,25 @@ async function navigateToInfoView() {
}
describe('Ignore/Block User', () => {
const user = data.users.alternate.username;
let user: ITestUser;
let otherUser: ITestUser;
let room: string;
let textMatcher: TTextMatcher;
before(async () => {
beforeAll(async () => {
user = await createRandomUser();
otherUser = await createRandomUser();
({ name: room } = await createRandomRoom(user));
await device.launchApp({ permissions: { notifications: 'YES' }, delete: true });
({ textMatcher } = platformTypes[device.getPlatform()]);
await navigateToLogin();
await login(data.users.regular.username, data.users.regular.password);
await login(user.username, user.password);
});
describe('Usage', () => {
describe('Block user from DM', () => {
it('should go to user info view', async () => {
await navigateToRoom(user);
await navigateToRoom(otherUser.username);
await navigateToInfoView();
});
it('should block user', async () => {
@ -58,46 +64,64 @@ describe('Ignore/Block User', () => {
it('should unblock user', async () => {
await navigateToInfoView();
await element(by.id('room-info-view-ignore')).tap();
await expect(element(by.id('room-info-view-ignore').withDescendant(by[textMatcher]('Block user')))).toExist();
await sleep(300); // wait for navigation animation
await tapAndWaitFor(
element(by.id('room-info-view-ignore')),
element(by.id('room-info-view-ignore').withDescendant(by[textMatcher]('Block user'))),
2000
);
await tapBack();
await waitFor(element(by.id('room-actions-view')))
.toBeVisible()
.withTimeout(5000);
await tapBack();
await expect(element(by.id('messagebox'))).toBeVisible();
await waitFor(element(by.id('messagebox')))
.toBeVisible()
.withTimeout(2000);
await tapBack();
});
});
describe('Ignore user from Message', () => {
it('should ignore user from message', async () => {
const channelName = data.userRegularChannels.detoxpublic.name;
await navigateToRoom(channelName);
await sleep(300);
await sendMessage(data.users.alternate, channelName, 'message-01');
await sendMessage(data.users.alternate, channelName, 'message-02');
await waitFor(element(by[textMatcher](user)).atIndex(0))
await navigateToRoom(room);
await sendMessage(otherUser, room, 'message-01');
await sendMessage(otherUser, room, 'message-02');
await waitFor(element(by[textMatcher](otherUser.username)).atIndex(0))
.toExist()
.withTimeout(30000);
await sleep(300);
await element(by[textMatcher](user)).atIndex(0).tap();
await expect(element(by.id('room-info-view-ignore').withDescendant(by[textMatcher]('Ignore')))).toExist();
await element(by.id('room-info-view-ignore')).tap();
await expect(element(by.id('room-info-view-ignore').withDescendant(by[textMatcher]('Unignore')))).toExist();
await element(by[textMatcher](otherUser.username)).atIndex(0).tap();
await sleep(300); // wait for navigation animation
await waitFor(element(by.id('room-info-view-ignore').withDescendant(by[textMatcher]('Ignore'))))
.toExist()
.withTimeout(2000);
await element(by.id('room-info-view-ignore').withDescendant(by[textMatcher]('Ignore'))).tap();
await waitFor(element(by.id('room-info-view-ignore').withDescendant(by[textMatcher]('Unignore'))))
.toBeVisible()
.withTimeout(2000);
await tapBack();
});
it('should tap to display message', async () => {
await expect(element(by[textMatcher]('Message ignored. Tap to display it.')).atIndex(0)).toExist();
await element(by[textMatcher]('Message ignored. Tap to display it.')).atIndex(0).tap();
await waitFor(element(by[textMatcher](user)))
await checkRoomTitle(room);
await waitFor(element(by[textMatcher]('Message ignored. Tap to display it.')).atIndex(0))
.toBeVisible()
.withTimeout(1000);
await element(by[textMatcher](user)).atIndex(0).tap();
await expect(element(by.id('room-info-view-ignore').withDescendant(by[textMatcher]('Unignore')))).toExist();
.withTimeout(2000);
await tapAndWaitFor(
element(by[textMatcher]('Message ignored. Tap to display it.')).atIndex(0),
element(by[textMatcher](otherUser.username)),
2000
);
await element(by[textMatcher](otherUser.username)).atIndex(0).tap();
await sleep(300); // wait for navigation animation
await expect(element(by.id('room-info-view-ignore').withDescendant(by[textMatcher]('Unignore')))).toBeVisible();
await element(by.id('room-info-view-ignore')).tap();
await expect(element(by.id('room-info-view-ignore').withDescendant(by[textMatcher]('Ignore')))).toExist();
await waitFor(element(by.id('room-info-view-ignore').withDescendant(by[textMatcher]('Ignore'))))
.toBeVisible()
.withTimeout(2000);
await tapBack();
await expect(element(by[textMatcher]('message-02')).atIndex(0)).toBeVisible();
await waitFor(element(by[textMatcher]('message-02')).atIndex(0))
.toBeVisible()
.withTimeout(2000);
});
});
});

View File

@ -1,22 +1,24 @@
import { expect } from 'detox';
import { device, waitFor, element, by, expect } from 'detox';
import data from '../../data';
import { navigateToLogin, login, platformTypes, TTextMatcher } from '../../helpers/app';
const teamName = `team-${data.random}`;
import { createRandomUser, ITestUser } from '../../helpers/data_setup';
import random from '../../helpers/random';
describe('Create team screen', () => {
let alertButtonType: string;
let textMatcher: TTextMatcher;
before(async () => {
let user: ITestUser;
const teamName = `team${random()}`;
beforeAll(async () => {
user = await createRandomUser();
await device.launchApp({ permissions: { notifications: 'YES' }, delete: true });
({ alertButtonType, textMatcher } = platformTypes[device.getPlatform()]);
await navigateToLogin();
await login(data.users.regular.username, data.users.regular.password);
await login(user.username, user.password);
});
describe('New Message', () => {
before(async () => {
beforeAll(async () => {
await waitFor(element(by.id('rooms-list-view-create-channel')))
.toBeVisible()
.withTimeout(2000);
@ -48,20 +50,7 @@ describe('Create team screen', () => {
describe('Create Team', () => {
describe('Usage', () => {
it('should get invalid team name', async () => {
await element(by.id('create-channel-name')).replaceText(`${data.teams.private.name}`);
await waitFor(element(by.id('create-channel-submit')))
.toExist()
.withTimeout(2000);
await element(by.id('create-channel-submit')).tap();
await waitFor(element(by[textMatcher]('OK').and(by.type(alertButtonType))))
.toBeVisible()
.withTimeout(5000);
await element(by[textMatcher]('OK').and(by.type(alertButtonType))).tap();
});
it('should create private team', async () => {
await element(by.id('create-channel-name')).replaceText('');
await element(by.id('create-channel-name')).replaceText(teamName);
await waitFor(element(by.id('create-channel-submit')))
.toExist()
@ -93,7 +82,13 @@ describe('Create team screen', () => {
it('should delete team', async () => {
await element(by.id('room-info-view-edit-button')).tap();
await waitFor(element(by.id('room-info-edit-view-list')))
.toBeVisible()
.withTimeout(2000);
await element(by.id('room-info-edit-view-list')).swipe('up', 'fast', 0.5);
await waitFor(element(by.id('room-info-edit-view-delete')))
.toBeVisible()
.withTimeout(2000);
await element(by.id('room-info-edit-view-delete')).tap();
await waitFor(element(by[textMatcher]('Yes, delete it!')))
.toExist()

View File

@ -1,23 +1,24 @@
import { expect } from 'detox';
import Detox, { device, waitFor, element, by, expect } from 'detox';
import data from '../../data';
import { navigateToLogin, login, tapBack, sleep, searchRoom, platformTypes, TTextMatcher } from '../../helpers/app';
async function navigateToRoom(roomName: string) {
await searchRoom(`${roomName}`);
await element(by.id(`rooms-list-view-item-${roomName}`)).tap();
await waitFor(element(by.id('room-view')))
.toBeVisible()
.withTimeout(5000);
}
import {
navigateToLogin,
login,
tapBack,
sleep,
platformTypes,
TTextMatcher,
checkRoomTitle,
tapAndWaitFor,
navigateToRoom
} from '../../helpers/app';
import { createRandomRoom, createRandomTeam, createRandomUser, ITestUser } from '../../helpers/data_setup';
import random from '../../helpers/random';
async function openActionSheet(username: string) {
await waitFor(element(by.id(`room-members-view-item-${username}`)))
.toExist()
.toBeVisible()
.withTimeout(5000);
await element(by.id(`room-members-view-item-${username}`)).tap();
await sleep(300);
await expect(element(by.id('action-sheet'))).toExist();
await tapAndWaitFor(element(by.id(`room-members-view-item-${username}`)), element(by.id('action-sheet')), 2000);
await expect(element(by.id('action-sheet-handle'))).toBeVisible();
await element(by.id('action-sheet-handle')).swipe('up');
}
@ -26,7 +27,7 @@ async function navigateToRoomActions() {
await waitFor(element(by.id('room-view')))
.toExist()
.withTimeout(2000);
await element(by.id('room-header')).tap();
await element(by.id('room-header')).atIndex(0).tap();
await waitFor(element(by.id('room-actions-view')))
.toExist()
.withTimeout(5000);
@ -71,22 +72,27 @@ async function swipeTillVisible(
}
describe('Team', () => {
const team = data.teams.private.name;
const user = data.users.alternate;
const room = `private${data.random}-channel-team`;
const existingRoom = data.groups.alternate.name;
const room = `private${random()}-channel-team`;
let alertButtonType: string;
let textMatcher: TTextMatcher;
let user: ITestUser;
let otherUser: ITestUser;
let team: string;
let existingRoom: string;
before(async () => {
beforeAll(async () => {
user = await createRandomUser();
otherUser = await createRandomUser();
team = await createRandomTeam(user);
({ name: existingRoom } = await createRandomRoom(user));
await device.launchApp({ permissions: { notifications: 'YES' }, delete: true });
({ alertButtonType, textMatcher } = platformTypes[device.getPlatform()]);
await navigateToLogin();
await login(data.users.regular.username, data.users.regular.password);
await login(user.username, user.password);
await navigateToRoom(team);
});
describe('Team Room', () => {
describe.skip('Team Room', () => {
describe('Team Header', () => {
it('should have actions button ', async () => {
await expect(element(by.id('room-header'))).toExist();
@ -100,7 +106,7 @@ describe('Team', () => {
await expect(element(by.id('room-view-header-threads'))).toExist();
});
it('should have threads button ', async () => {
it('should have search button ', async () => {
await expect(element(by.id('room-view-search'))).toExist();
});
});
@ -166,8 +172,8 @@ describe('Team', () => {
await waitFor(element(by.id('create-channel-view')))
.toExist()
.withTimeout(10000);
await element(by.id('create-channel-name')).replaceText('');
await element(by.id('create-channel-name')).replaceText(room);
await element(by.id('create-channel-name')).tapReturnKey();
await waitFor(element(by.id('create-channel-submit')))
.toExist()
.withTimeout(10000);
@ -222,12 +228,10 @@ describe('Team', () => {
.toExist()
.withTimeout(6000);
await element(by.id('add-existing-channel-view-submit')).tap();
await waitFor(element(by.id('room-view')))
.toExist()
.withTimeout(20000);
await expect(element(by.id('room-view'))).toExist();
await expect(element(by.id('room-view-header-team-channels'))).toExist();
await checkRoomTitle(team);
await waitFor(element(by.id('room-view-header-team-channels')))
.toBeVisible()
.withTimeout(2000);
await element(by.id('room-view-header-team-channels')).tap();
await waitFor(element(by.id(`rooms-list-view-item-${existingRoom}`)).atIndex(0))
@ -276,7 +280,7 @@ describe('Team', () => {
});
describe('Team actions', () => {
before(async () => {
beforeAll(async () => {
await tapBack();
await navigateToRoomActions();
});
@ -284,35 +288,35 @@ describe('Team', () => {
it('should add users to the team', async () => {
await element(by.id('room-actions-members')).tap();
await waitFor(element(by.id('room-members-view')))
.toExist()
.toBeVisible()
.withTimeout(2000);
await waitFor(element(by.id('room-actions-add-user')))
.toExist()
.toBeVisible()
.withTimeout(10000);
await element(by.id('room-actions-add-user')).tap();
const rocketCat = 'rocket.cat';
await element(by.id('select-users-view-search')).replaceText('rocket.cat');
await waitFor(element(by.id(`select-users-view-item-${rocketCat}`)))
.toExist()
.toBeVisible()
.withTimeout(10000);
await element(by.id(`select-users-view-item-${rocketCat}`)).tap();
await waitFor(element(by.id(`selected-user-${rocketCat}`)))
.toExist()
.toBeVisible()
.withTimeout(5000);
await waitFor(element(by.id('select-users-view-search')))
.toExist()
.toBeVisible()
.withTimeout(4000);
await element(by.id('select-users-view-search')).tap();
await element(by.id('select-users-view-search')).replaceText(user.username);
await waitFor(element(by.id(`select-users-view-item-${user.username}`)))
.toExist()
await element(by.id('select-users-view-search')).replaceText(otherUser.username);
await waitFor(element(by.id(`select-users-view-item-${otherUser.username}`)))
.toBeVisible()
.withTimeout(10000);
await element(by.id(`select-users-view-item-${user.username}`)).tap();
await waitFor(element(by.id(`selected-user-${user.username}`)))
.toExist()
await element(by.id(`select-users-view-item-${otherUser.username}`)).tap();
await waitFor(element(by.id(`selected-user-${otherUser.username}`)))
.toBeVisible()
.withTimeout(5000);
await element(by.id('selected-users-view-submit')).tap();
@ -320,16 +324,16 @@ describe('Team', () => {
await tapBack();
await sleep(300);
await waitFor(element(by.id('room-actions-members')))
.toExist()
.toBeVisible()
.withTimeout(10000);
await element(by.id('room-actions-members')).tap();
await element(by.id('room-members-view-filter')).tap();
await waitFor(element(by.id('room-members-view-toggle-status-all')))
.toExist()
.toBeVisible()
.withTimeout(2000);
await element(by.id('room-members-view-toggle-status-all')).tap();
await waitFor(element(by.id(`room-members-view-item-${user.username}`)))
.toExist()
await waitFor(element(by.id(`room-members-view-item-${otherUser.username}`)))
.toBeVisible()
.withTimeout(60000);
await backToActions();
});
@ -348,7 +352,7 @@ describe('Team', () => {
.toExist()
.withTimeout(2000);
await waitFor(element(by.id(`select-list-view-item-${existingRoom}`)))
.toExist()
.toBeVisible()
.withTimeout(2000);
await element(by.id(`select-list-view-item-${room}`)).tap();
@ -372,16 +376,17 @@ describe('Team', () => {
await element(by[textMatcher]('OK').and(by.type(alertButtonType))).tap();
await tapBack();
await waitFor(element(by.id('room-actions-view')))
.toExist()
.toBeVisible()
.withTimeout(2000);
});
describe('Room Members', () => {
before(async () => {
await element(by.id('room-actions-members')).tap();
await waitFor(element(by.id('room-members-view')))
.toExist()
.withTimeout(2000);
beforeAll(async () => {
await tapAndWaitFor(element(by.id('room-actions-members')), element(by.id('room-members-view')), 2000);
// await element(by.id('room-actions-members')).tap();
// await waitFor(element(by.id('room-members-view')))
// .toBeVisible()
// .withTimeout(2000);
});
it('should show all users', async () => {
@ -390,22 +395,22 @@ describe('Team', () => {
.toExist()
.withTimeout(2000);
await element(by.id('room-members-view-toggle-status-all')).tap();
await waitFor(element(by.id(`room-members-view-item-${user.username}`)))
await waitFor(element(by.id(`room-members-view-item-${otherUser.username}`)))
.toExist()
.withTimeout(60000);
});
it('should filter user', async () => {
await waitFor(element(by.id(`room-members-view-item-${user.username}`)))
await waitFor(element(by.id(`room-members-view-item-${otherUser.username}`)))
.toExist()
.withTimeout(60000);
await element(by.id('room-members-view-search')).replaceText('rocket');
await waitFor(element(by.id(`room-members-view-item-${user.username}`)))
await waitFor(element(by.id(`room-members-view-item-${otherUser.username}`)))
.toBeNotVisible()
.withTimeout(60000);
await element(by.id('room-members-view-search')).tap();
await element(by.id('room-members-view-search')).clearText();
await waitFor(element(by.id(`room-members-view-item-${user.username}`)))
await waitFor(element(by.id(`room-members-view-item-${otherUser.username}`)))
.toExist()
.withTimeout(60000);
});
@ -416,15 +421,12 @@ describe('Team', () => {
.toBeVisible()
.withTimeout(2000);
await element(by.id('action-sheet-remove-from-team')).tap();
await waitFor(element(by.id('select-list-view')))
.toExist()
.withTimeout(5000);
await waitFor(element(by.id(`select-list-view-item-${room}`)))
.toExist()
.toBeVisible()
.withTimeout(5000);
await element(by.id(`select-list-view-item-${room}`)).tap();
await waitFor(element(by.id(`${room}-checked`)))
.toExist()
.toBeVisible()
.withTimeout(5000);
await element(by.id(`select-list-view-item-${room}`)).tap();
await waitFor(element(by.id(`${room}-checked`)))
@ -437,11 +439,11 @@ describe('Team', () => {
});
it('should set member as owner', async () => {
await openActionSheet(user.username);
await openActionSheet(otherUser.username);
await element(by.id('action-sheet-set-owner')).tap();
await waitForToast();
await openActionSheet(user.username);
await openActionSheet(otherUser.username);
await waitFor(element(by.id('action-sheet-set-owner-checked')))
.toBeVisible()
.withTimeout(6000);
@ -450,6 +452,9 @@ describe('Team', () => {
it('should leave team', async () => {
await tapBack();
await waitFor(element(by.id('room-actions-view')))
.toBeVisible()
.withTimeout(2000);
await element(by.id('room-actions-scrollview')).scrollTo('bottom');
await waitFor(element(by.id('room-actions-leave-channel')))
.toExist()
@ -463,7 +468,7 @@ describe('Team', () => {
.toExist()
.withTimeout(2000);
await waitFor(element(by.id(`select-list-view-item-${existingRoom}`)))
.toExist()
.toBeVisible()
.withTimeout(2000);
await element(by.id(`select-list-view-item-${room}`)).tap();
@ -481,9 +486,12 @@ describe('Team', () => {
.toExist()
.withTimeout(2000);
await element(by.id('select-list-view-submit')).tap();
await waitFor(element(by.id('rooms-list-view')))
.toBeVisible()
.withTimeout(10000);
await waitFor(element(by.id(`rooms-list-view-item-${team}`)))
.toBeNotVisible()
.withTimeout(60000);
.withTimeout(10000);
});
});
});

View File

@ -1,8 +1,11 @@
import data from '../../data';
import { navigateToLogin, login, tapBack, searchRoom, platformTypes, TTextMatcher } from '../../helpers/app';
import { device, waitFor, element, by } from 'detox';
const toBeConverted = `to-be-converted-${data.random}`;
const toBeMoved = `to-be-moved-${data.random}`;
import { navigateToLogin, login, tapBack, platformTypes, TTextMatcher, sleep, navigateToRoom } from '../../helpers/app';
import { createRandomUser, ITestUser } from '../../helpers/data_setup';
import random from '../../helpers/random';
const toBeConverted = `to-be-converted-${random()}`;
const toBeMoved = `to-be-moved-${random()}`;
const createChannel = async (room: string) => {
await waitFor(element(by.id('rooms-list-view-create-channel')))
@ -10,8 +13,11 @@ const createChannel = async (room: string) => {
.withTimeout(5000);
await element(by.id('rooms-list-view-create-channel')).tap();
await waitFor(element(by.id('new-message-view')))
.toExist()
.toBeVisible()
.withTimeout(5000);
await waitFor(element(by.id('new-message-view-create-channel')))
.toBeVisible()
.withTimeout(2000);
await element(by.id('new-message-view-create-channel')).tap();
await waitFor(element(by.id('select-users-view')))
.toExist()
@ -21,6 +27,7 @@ const createChannel = async (room: string) => {
.toExist()
.withTimeout(10000);
await element(by.id('create-channel-name')).replaceText(room);
await element(by.id('create-channel-name')).tapReturnKey();
await waitFor(element(by.id('create-channel-submit')))
.toExist()
.withTimeout(10000);
@ -40,14 +47,6 @@ const createChannel = async (room: string) => {
.withTimeout(60000);
};
async function navigateToRoom(room: string) {
await searchRoom(`${room}`);
await element(by.id(`rooms-list-view-item-${room}`)).tap();
await waitFor(element(by.id('room-view')))
.toBeVisible()
.withTimeout(5000);
}
async function navigateToRoomActions(room: string) {
await navigateToRoom(room);
await element(by.id('room-header')).tap();
@ -56,18 +55,20 @@ async function navigateToRoomActions(room: string) {
.withTimeout(5000);
}
describe('Move/Convert Team', () => {
describe.skip('Move/Convert Team', () => {
let alertButtonType: string;
let textMatcher: TTextMatcher;
before(async () => {
let user: ITestUser;
beforeAll(async () => {
user = await createRandomUser();
await device.launchApp({ permissions: { notifications: 'YES' }, delete: true });
({ alertButtonType, textMatcher } = platformTypes[device.getPlatform()]);
await navigateToLogin();
await login(data.users.regular.username, data.users.regular.password);
await login(user.username, user.password);
});
describe('Convert', () => {
before(async () => {
beforeAll(async () => {
await createChannel(toBeConverted);
});
@ -75,7 +76,7 @@ describe('Move/Convert Team', () => {
await navigateToRoomActions(toBeConverted);
await element(by.id('room-actions-scrollview')).scrollTo('bottom');
await waitFor(element(by.id('room-actions-convert-to-team')))
.toExist()
.toBeVisible()
.withTimeout(2000);
await element(by.id('room-actions-convert-to-team')).tap();
await waitFor(element(by[textMatcher]('You are converting this Channel to a Team. All Members will be kept.')))
@ -90,7 +91,7 @@ describe('Move/Convert Team', () => {
.withTimeout(6000);
});
after(async () => {
afterAll(async () => {
await tapBack();
await waitFor(element(by.id('rooms-list-view')))
.toExist()
@ -99,7 +100,7 @@ describe('Move/Convert Team', () => {
});
describe('Move', () => {
before(async () => {
beforeAll(async () => {
await createChannel(toBeMoved);
});
@ -107,21 +108,16 @@ describe('Move/Convert Team', () => {
await navigateToRoomActions(toBeMoved);
await element(by.id('room-actions-scrollview')).scrollTo('bottom');
await waitFor(element(by.id('room-actions-move-to-team')))
.toExist()
.toBeVisible()
.withTimeout(2000);
await element(by.id('room-actions-move-to-team')).tap();
await waitFor(element(by[textMatcher]('Move to Team')).atIndex(0))
.toExist()
.withTimeout(2000);
await sleep(300); // wait for animation
await waitFor(element(by.id('select-list-view-submit')))
.toExist()
.toBeVisible()
.withTimeout(2000);
await element(by.id('select-list-view-submit')).tap();
await waitFor(element(by[textMatcher]('Select Team')))
.toExist()
.withTimeout(2000);
await waitFor(element(by.id(`select-list-view-item-${toBeConverted}`)))
.toExist()
.toBeVisible()
.withTimeout(2000);
await element(by.id(`select-list-view-item-${toBeConverted}`)).tap();
await element(by.id('select-list-view-submit')).atIndex(0).tap();
@ -132,15 +128,15 @@ describe('Move/Convert Team', () => {
)
)
)
.toExist()
.toBeVisible()
.withTimeout(2000);
await element(by[textMatcher]('Yes, move it!').and(by.type(alertButtonType))).tap();
await waitFor(element(by.id('room-view-header-team-channels')))
.toExist()
.toBeVisible()
.withTimeout(10000);
});
after(async () => {
afterAll(async () => {
await tapBack();
await waitFor(element(by.id('rooms-list-view')))
.toExist()
@ -162,6 +158,7 @@ describe('Move/Convert Team', () => {
await waitFor(element(by.id(`select-list-view-item-${toBeMoved}`)))
.toExist()
.withTimeout(2000);
await sleep(300); // wait for animation
await element(by.id(`select-list-view-item-${toBeMoved}`)).tap();
await waitFor(element(by.id('select-list-view-submit')))
.toExist()

View File

@ -16,7 +16,7 @@
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"types": ["node", "detox", "mocha"]
"types": ["node", "detox", "jest"]
},
"include": ["./**/*.ts"],
"exclude": ["../node_modules"]

View File

@ -8,10 +8,8 @@
/* Begin PBXBuildFile section */
0C6E2DE448364EA896869ADF /* libc++.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = B37C79D9BD0742CE936B6982 /* libc++.tbd */; };
120231A2D6D72F6F158D427F /* libPods-defaults-ShareRocketChatRN.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A12689B57CCCE8779F27F1BB /* libPods-defaults-ShareRocketChatRN.a */; };
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
169B5F4627F418BF3F4EEDA9 /* libPods-defaults-NotificationService.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 27622696E038BD9807E430F4 /* libPods-defaults-NotificationService.a */; };
1E01C81C2511208400FEF824 /* URL+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E01C81B2511208400FEF824 /* URL+Extensions.swift */; };
1E01C8212511301400FEF824 /* PushResponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E01C8202511301400FEF824 /* PushResponse.swift */; };
1E01C8252511303100FEF824 /* Notification.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E01C8242511303100FEF824 /* Notification.swift */; };
@ -80,9 +78,10 @@
1EF5FBD1250C109E00614FEA /* Encryption.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EF5FBD0250C109E00614FEA /* Encryption.swift */; };
1EFEB5982493B6640072EDC0 /* NotificationService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EFEB5972493B6640072EDC0 /* NotificationService.swift */; };
1EFEB59C2493B6640072EDC0 /* NotificationService.appex in Embed App Extensions */ = {isa = PBXBuildFile; fileRef = 1EFEB5952493B6640072EDC0 /* NotificationService.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
22CA8612B15DD734B5743B5D /* libPods-defaults-RocketChatRN.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 13DB30BB858F5EADA8D901D1 /* libPods-defaults-RocketChatRN.a */; };
24A2AEF2383D44B586D31C01 /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 06BB44DD4855498082A744AD /* libz.tbd */; };
31F6989CEEDC99B631FF14A1 /* libPods-defaults-Rocket.Chat.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BEEF0800F1E2C6C9B9DC1B17 /* libPods-defaults-Rocket.Chat.a */; };
4C4C8603EF082F0A33A95522 /* ExpoModulesProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 45D5C142B655F8EFD006792C /* ExpoModulesProvider.swift */; };
6182E4536BDDC0D2089CFC2D /* libPods-defaults-NotificationService.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E52D0DFBF3BEC0B54670215A /* libPods-defaults-NotificationService.a */; };
7A006F14229C83B600803143 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 7A006F13229C83B600803143 /* GoogleService-Info.plist */; };
7A0D62D2242AB187006D5C06 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 7A0D62D1242AB187006D5C06 /* LaunchScreen.storyboard */; };
7A14FCED257FEB3A005BDCD4 /* Experimental.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 7A14FCEC257FEB3A005BDCD4 /* Experimental.xcassets */; };
@ -142,11 +141,12 @@
7AE10C0628A59530003593CB /* Inter.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 7AE10C0528A59530003593CB /* Inter.ttf */; };
7AE10C0728A59530003593CB /* Inter.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 7AE10C0528A59530003593CB /* Inter.ttf */; };
7AE10C0828A59530003593CB /* Inter.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 7AE10C0528A59530003593CB /* Inter.ttf */; };
7F7CD19B61A4AFEB3C7E8DA0 /* libPods-defaults-ShareRocketChatRN.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 75F8546FE2CD36242E77FCD5 /* libPods-defaults-ShareRocketChatRN.a */; };
85160EB6C143E0493FE5F014 /* ExpoModulesProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 194D9A8897F4A486C2C6F89A /* ExpoModulesProvider.swift */; };
979509E6A0F1972E73608E63 /* libPods-defaults-Rocket.Chat.a in Frameworks */ = {isa = PBXBuildFile; fileRef = FC210086172D4E1CE6BF19E2 /* libPods-defaults-Rocket.Chat.a */; };
BC404914E86821389EEB543D /* ExpoModulesProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 391C4F7AA7023CD41EEBD106 /* ExpoModulesProvider.swift */; };
D94D81FB9E10756FAA03F203 /* ExpoModulesProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 016747EF3B9FED8DE2C9DA14 /* ExpoModulesProvider.swift */; };
DD2BA30A89E64F189C2C24AC /* libWatermelonDB.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BA7E862283664608B3894E34 /* libWatermelonDB.a */; };
E24DFBE76AD79B9378F9C4A9 /* libPods-defaults-RocketChatRN.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6C9449507269E40A7E2D75C1 /* libPods-defaults-RocketChatRN.a */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
@ -211,16 +211,12 @@
008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = "<group>"; };
016747EF3B9FED8DE2C9DA14 /* ExpoModulesProvider.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ExpoModulesProvider.swift; path = "Pods/Target Support Files/Pods-defaults-ShareRocketChatRN/ExpoModulesProvider.swift"; sourceTree = "<group>"; };
06BB44DD4855498082A744AD /* libz.tbd */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = usr/lib/libz.tbd; sourceTree = SDKROOT; };
08211712CAB38560EA4833C5 /* Pods-defaults-RocketChatRN.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-defaults-RocketChatRN.release.xcconfig"; path = "Target Support Files/Pods-defaults-RocketChatRN/Pods-defaults-RocketChatRN.release.xcconfig"; sourceTree = "<group>"; };
0EBF1F098698854FB86D9A64 /* Pods-defaults-RocketChatRN.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-defaults-RocketChatRN.debug.xcconfig"; path = "Target Support Files/Pods-defaults-RocketChatRN/Pods-defaults-RocketChatRN.debug.xcconfig"; sourceTree = "<group>"; };
13B07F961A680F5B00A75B9A /* Rocket.Chat Experimental.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Rocket.Chat Experimental.app"; sourceTree = BUILT_PRODUCTS_DIR; };
13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = RocketChatRN/AppDelegate.h; sourceTree = "<group>"; };
13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = RocketChatRN/Images.xcassets; sourceTree = "<group>"; };
13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = RocketChatRN/Info.plist; sourceTree = "<group>"; };
13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = RocketChatRN/main.m; sourceTree = "<group>"; };
13DB30BB858F5EADA8D901D1 /* libPods-defaults-RocketChatRN.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-defaults-RocketChatRN.a"; sourceTree = BUILT_PRODUCTS_DIR; };
194D9A8897F4A486C2C6F89A /* ExpoModulesProvider.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ExpoModulesProvider.swift; path = "Pods/Target Support Files/Pods-defaults-NotificationService/ExpoModulesProvider.swift"; sourceTree = "<group>"; };
19D2E2FEA39121FD901D67BD /* Pods-defaults-Rocket.Chat.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-defaults-Rocket.Chat.debug.xcconfig"; path = "Target Support Files/Pods-defaults-Rocket.Chat/Pods-defaults-Rocket.Chat.debug.xcconfig"; sourceTree = "<group>"; };
1E01C81B2511208400FEF824 /* URL+Extensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "URL+Extensions.swift"; sourceTree = "<group>"; };
1E01C8202511301400FEF824 /* PushResponse.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PushResponse.swift; sourceTree = "<group>"; };
1E01C8242511303100FEF824 /* Notification.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Notification.swift; sourceTree = "<group>"; };
@ -267,12 +263,17 @@
1EFEB5972493B6640072EDC0 /* NotificationService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NotificationService.swift; sourceTree = "<group>"; };
1EFEB5992493B6640072EDC0 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
1EFEB5A12493B67D0072EDC0 /* NotificationService.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = NotificationService.entitlements; sourceTree = "<group>"; };
27622696E038BD9807E430F4 /* libPods-defaults-NotificationService.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-defaults-NotificationService.a"; sourceTree = BUILT_PRODUCTS_DIR; };
35563E2152CBFEE0D573F7F8 /* Pods-defaults-ShareRocketChatRN.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-defaults-ShareRocketChatRN.debug.xcconfig"; path = "Target Support Files/Pods-defaults-ShareRocketChatRN/Pods-defaults-ShareRocketChatRN.debug.xcconfig"; sourceTree = "<group>"; };
24F0638AC692626312816D98 /* Pods-defaults-ShareRocketChatRN.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-defaults-ShareRocketChatRN.release.xcconfig"; path = "Target Support Files/Pods-defaults-ShareRocketChatRN/Pods-defaults-ShareRocketChatRN.release.xcconfig"; sourceTree = "<group>"; };
2D5EED0CA4EE40F7CCB182E1 /* Pods-defaults-Rocket.Chat.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-defaults-Rocket.Chat.debug.xcconfig"; path = "Target Support Files/Pods-defaults-Rocket.Chat/Pods-defaults-Rocket.Chat.debug.xcconfig"; sourceTree = "<group>"; };
391C4F7AA7023CD41EEBD106 /* ExpoModulesProvider.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ExpoModulesProvider.swift; path = "Pods/Target Support Files/Pods-defaults-Rocket.Chat/ExpoModulesProvider.swift"; sourceTree = "<group>"; };
45D5C142B655F8EFD006792C /* ExpoModulesProvider.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ExpoModulesProvider.swift; path = "Pods/Target Support Files/Pods-defaults-RocketChatRN/ExpoModulesProvider.swift"; sourceTree = "<group>"; };
60B2A6A31FC4588700BD58E5 /* RocketChatRN.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; name = RocketChatRN.entitlements; path = RocketChatRN/RocketChatRN.entitlements; sourceTree = "<group>"; };
65360F272979AA1500778C04 /* JitsiMeetViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = JitsiMeetViewController.swift; path = "../node_modules/@socialcode-rob1/react-native-jitsimeet-custom/ios/JitsiMeetViewController.swift"; sourceTree = "<group>"; };
6BE39B02344777D199E20615 /* Pods-defaults-RocketChatRN.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-defaults-RocketChatRN.release.xcconfig"; path = "Target Support Files/Pods-defaults-RocketChatRN/Pods-defaults-RocketChatRN.release.xcconfig"; sourceTree = "<group>"; };
6C9449507269E40A7E2D75C1 /* libPods-defaults-RocketChatRN.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-defaults-RocketChatRN.a"; sourceTree = BUILT_PRODUCTS_DIR; };
75F8546FE2CD36242E77FCD5 /* libPods-defaults-ShareRocketChatRN.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-defaults-ShareRocketChatRN.a"; sourceTree = BUILT_PRODUCTS_DIR; };
778F20307FD6CE7A7F73DE7A /* Pods-defaults-Rocket.Chat.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-defaults-Rocket.Chat.release.xcconfig"; path = "Target Support Files/Pods-defaults-Rocket.Chat/Pods-defaults-Rocket.Chat.release.xcconfig"; sourceTree = "<group>"; };
7953BE5657102E9F711003EA /* Pods-defaults-ShareRocketChatRN.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-defaults-ShareRocketChatRN.debug.xcconfig"; path = "Target Support Files/Pods-defaults-ShareRocketChatRN/Pods-defaults-ShareRocketChatRN.debug.xcconfig"; sourceTree = "<group>"; };
7A006F13229C83B600803143 /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = "<group>"; };
7A0D62D1242AB187006D5C06 /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = LaunchScreen.storyboard; sourceTree = "<group>"; };
7A14FCEC257FEB3A005BDCD4 /* Experimental.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Experimental.xcassets; sourceTree = "<group>"; };
@ -283,14 +284,13 @@
7AAB3E52257E6A6E00707CF6 /* Rocket.Chat.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Rocket.Chat.app; sourceTree = BUILT_PRODUCTS_DIR; };
7ACD4853222860DE00442C55 /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
7AE10C0528A59530003593CB /* Inter.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = Inter.ttf; sourceTree = "<group>"; };
9F5B90E1D1A647212DB88A07 /* Pods-defaults-NotificationService.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-defaults-NotificationService.debug.xcconfig"; path = "Target Support Files/Pods-defaults-NotificationService/Pods-defaults-NotificationService.debug.xcconfig"; sourceTree = "<group>"; };
A12689B57CCCE8779F27F1BB /* libPods-defaults-ShareRocketChatRN.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-defaults-ShareRocketChatRN.a"; sourceTree = BUILT_PRODUCTS_DIR; };
9FC8E091220C5BADC415C75D /* Pods-defaults-RocketChatRN.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-defaults-RocketChatRN.debug.xcconfig"; path = "Target Support Files/Pods-defaults-RocketChatRN/Pods-defaults-RocketChatRN.debug.xcconfig"; sourceTree = "<group>"; };
A55168E03501CCEDF17A2ED6 /* Pods-defaults-NotificationService.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-defaults-NotificationService.debug.xcconfig"; path = "Target Support Files/Pods-defaults-NotificationService/Pods-defaults-NotificationService.debug.xcconfig"; sourceTree = "<group>"; };
B37C79D9BD0742CE936B6982 /* libc++.tbd */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = "libc++.tbd"; path = "usr/lib/libc++.tbd"; sourceTree = SDKROOT; };
B4414A4D99DE7C411B79A500 /* Pods-defaults-Rocket.Chat.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-defaults-Rocket.Chat.release.xcconfig"; path = "Target Support Files/Pods-defaults-Rocket.Chat/Pods-defaults-Rocket.Chat.release.xcconfig"; sourceTree = "<group>"; };
B46E38BD08027136477CFE9A /* Pods-defaults-ShareRocketChatRN.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-defaults-ShareRocketChatRN.release.xcconfig"; path = "Target Support Files/Pods-defaults-ShareRocketChatRN/Pods-defaults-ShareRocketChatRN.release.xcconfig"; sourceTree = "<group>"; };
BA7E862283664608B3894E34 /* libWatermelonDB.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libWatermelonDB.a; sourceTree = "<group>"; };
CA56F7BC0933784810C04F11 /* Pods-defaults-NotificationService.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-defaults-NotificationService.release.xcconfig"; path = "Target Support Files/Pods-defaults-NotificationService/Pods-defaults-NotificationService.release.xcconfig"; sourceTree = "<group>"; };
FC210086172D4E1CE6BF19E2 /* libPods-defaults-Rocket.Chat.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-defaults-Rocket.Chat.a"; sourceTree = BUILT_PRODUCTS_DIR; };
BEEF0800F1E2C6C9B9DC1B17 /* libPods-defaults-Rocket.Chat.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-defaults-Rocket.Chat.a"; sourceTree = BUILT_PRODUCTS_DIR; };
E52D0DFBF3BEC0B54670215A /* libPods-defaults-NotificationService.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-defaults-NotificationService.a"; sourceTree = BUILT_PRODUCTS_DIR; };
F35D225DC21083A127C3E7CB /* Pods-defaults-NotificationService.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-defaults-NotificationService.release.xcconfig"; path = "Target Support Files/Pods-defaults-NotificationService/Pods-defaults-NotificationService.release.xcconfig"; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
@ -311,7 +311,7 @@
7ACD4897222860DE00442C55 /* JavaScriptCore.framework in Frameworks */,
24A2AEF2383D44B586D31C01 /* libz.tbd in Frameworks */,
DD2BA30A89E64F189C2C24AC /* libWatermelonDB.a in Frameworks */,
22CA8612B15DD734B5743B5D /* libPods-defaults-RocketChatRN.a in Frameworks */,
E24DFBE76AD79B9378F9C4A9 /* libPods-defaults-RocketChatRN.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@ -320,7 +320,7 @@
buildActionMask = 2147483647;
files = (
1E25743422CBA2CF005A877F /* JavaScriptCore.framework in Frameworks */,
120231A2D6D72F6F158D427F /* libPods-defaults-ShareRocketChatRN.a in Frameworks */,
7F7CD19B61A4AFEB3C7E8DA0 /* libPods-defaults-ShareRocketChatRN.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@ -328,7 +328,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
169B5F4627F418BF3F4EEDA9 /* libPods-defaults-NotificationService.a in Frameworks */,
6182E4536BDDC0D2089CFC2D /* libPods-defaults-NotificationService.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@ -349,7 +349,7 @@
7AAB3E3D257E6A6E00707CF6 /* JavaScriptCore.framework in Frameworks */,
7AAB3E3E257E6A6E00707CF6 /* libz.tbd in Frameworks */,
7AAB3E3F257E6A6E00707CF6 /* libWatermelonDB.a in Frameworks */,
979509E6A0F1972E73608E63 /* libPods-defaults-Rocket.Chat.a in Frameworks */,
31F6989CEEDC99B631FF14A1 /* libPods-defaults-Rocket.Chat.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@ -501,14 +501,14 @@
7AC2B09613AA7C3FEBAC9F57 /* Pods */ = {
isa = PBXGroup;
children = (
9F5B90E1D1A647212DB88A07 /* Pods-defaults-NotificationService.debug.xcconfig */,
CA56F7BC0933784810C04F11 /* Pods-defaults-NotificationService.release.xcconfig */,
19D2E2FEA39121FD901D67BD /* Pods-defaults-Rocket.Chat.debug.xcconfig */,
B4414A4D99DE7C411B79A500 /* Pods-defaults-Rocket.Chat.release.xcconfig */,
0EBF1F098698854FB86D9A64 /* Pods-defaults-RocketChatRN.debug.xcconfig */,
08211712CAB38560EA4833C5 /* Pods-defaults-RocketChatRN.release.xcconfig */,
35563E2152CBFEE0D573F7F8 /* Pods-defaults-ShareRocketChatRN.debug.xcconfig */,
B46E38BD08027136477CFE9A /* Pods-defaults-ShareRocketChatRN.release.xcconfig */,
A55168E03501CCEDF17A2ED6 /* Pods-defaults-NotificationService.debug.xcconfig */,
F35D225DC21083A127C3E7CB /* Pods-defaults-NotificationService.release.xcconfig */,
2D5EED0CA4EE40F7CCB182E1 /* Pods-defaults-Rocket.Chat.debug.xcconfig */,
778F20307FD6CE7A7F73DE7A /* Pods-defaults-Rocket.Chat.release.xcconfig */,
9FC8E091220C5BADC415C75D /* Pods-defaults-RocketChatRN.debug.xcconfig */,
6BE39B02344777D199E20615 /* Pods-defaults-RocketChatRN.release.xcconfig */,
7953BE5657102E9F711003EA /* Pods-defaults-ShareRocketChatRN.debug.xcconfig */,
24F0638AC692626312816D98 /* Pods-defaults-ShareRocketChatRN.release.xcconfig */,
);
path = Pods;
sourceTree = "<group>";
@ -599,10 +599,10 @@
7ACD4853222860DE00442C55 /* JavaScriptCore.framework */,
B37C79D9BD0742CE936B6982 /* libc++.tbd */,
06BB44DD4855498082A744AD /* libz.tbd */,
27622696E038BD9807E430F4 /* libPods-defaults-NotificationService.a */,
FC210086172D4E1CE6BF19E2 /* libPods-defaults-Rocket.Chat.a */,
13DB30BB858F5EADA8D901D1 /* libPods-defaults-RocketChatRN.a */,
A12689B57CCCE8779F27F1BB /* libPods-defaults-ShareRocketChatRN.a */,
E52D0DFBF3BEC0B54670215A /* libPods-defaults-NotificationService.a */,
BEEF0800F1E2C6C9B9DC1B17 /* libPods-defaults-Rocket.Chat.a */,
6C9449507269E40A7E2D75C1 /* libPods-defaults-RocketChatRN.a */,
75F8546FE2CD36242E77FCD5 /* libPods-defaults-ShareRocketChatRN.a */,
);
name = Frameworks;
sourceTree = "<group>";
@ -622,7 +622,7 @@
isa = PBXNativeTarget;
buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "RocketChatRN" */;
buildPhases = (
28D0CE82D160EB7EA1A2DB76 /* [CP] Check Pods Manifest.lock */,
4CE0BF2C26BD8F473DED11FF /* [CP] Check Pods Manifest.lock */,
7AA5C63E23E30D110005C4A7 /* Start Packager */,
13B07F871A680F5B00A75B9A /* Sources */,
13B07F8C1A680F5B00A75B9A /* Frameworks */,
@ -631,8 +631,8 @@
1EC6ACF422CB9FC300A41C61 /* Embed App Extensions */,
1E1EA8082326CCE300E22452 /* ShellScript */,
7AAE9EB32891A0D20024F559 /* Upload source maps to Bugsnag */,
CB5F2EA8A636F7D770418E38 /* [CP] Embed Pods Frameworks */,
9DAAEC0271017BAD00377563 /* [CP] Copy Pods Resources */,
33C3D0E698389B3B8CC9421A /* [CP] Embed Pods Frameworks */,
F117217EEEF2170623944723 /* [CP] Copy Pods Resources */,
);
buildRules = (
);
@ -649,12 +649,12 @@
isa = PBXNativeTarget;
buildConfigurationList = 1EC6ACF322CB9FC300A41C61 /* Build configuration list for PBXNativeTarget "ShareRocketChatRN" */;
buildPhases = (
932AF1E25CAB70417675563B /* [CP] Check Pods Manifest.lock */,
9F2F950CCEDDB608F3071E73 /* [CP] Check Pods Manifest.lock */,
1EC6ACAC22CB9FC300A41C61 /* Sources */,
1EC6ACAD22CB9FC300A41C61 /* Frameworks */,
1EC6ACAE22CB9FC300A41C61 /* Resources */,
1EFE4DC322CBF36300B766B7 /* ShellScript */,
037E846293A50B498765886B /* [CP] Copy Pods Resources */,
0C600DA87FB8C7734D23DE39 /* [CP] Copy Pods Resources */,
);
buildRules = (
);
@ -669,11 +669,11 @@
isa = PBXNativeTarget;
buildConfigurationList = 1EFEB5A02493B6640072EDC0 /* Build configuration list for PBXNativeTarget "NotificationService" */;
buildPhases = (
7707CC6FF0E78531785B48DB /* [CP] Check Pods Manifest.lock */,
EED89E0438523CF882225344 /* [CP] Check Pods Manifest.lock */,
1EFEB5912493B6640072EDC0 /* Sources */,
1EFEB5922493B6640072EDC0 /* Frameworks */,
1EFEB5932493B6640072EDC0 /* Resources */,
ECED2C4673D045CE8BEC6E6C /* [CP] Copy Pods Resources */,
1FD50711366CA256C89F0267 /* [CP] Copy Pods Resources */,
);
buildRules = (
);
@ -688,7 +688,7 @@
isa = PBXNativeTarget;
buildConfigurationList = 7AAB3E4F257E6A6E00707CF6 /* Build configuration list for PBXNativeTarget "Rocket.Chat" */;
buildPhases = (
C12C2D2C4B0DD10AB00F6EC1 /* [CP] Check Pods Manifest.lock */,
8C766D4428842936DEE2B848 /* [CP] Check Pods Manifest.lock */,
7AAB3E13257E6A6E00707CF6 /* Start Packager */,
7AAB3E14257E6A6E00707CF6 /* Sources */,
7AAB3E32257E6A6E00707CF6 /* Frameworks */,
@ -697,8 +697,8 @@
7AAB3E48257E6A6E00707CF6 /* Embed App Extensions */,
7AAB3E4B257E6A6E00707CF6 /* ShellScript */,
7A10288726B1D15200E47EF8 /* Upload source maps to Bugsnag */,
91FE05CAFFE29618ECC6E67B /* [CP] Embed Pods Frameworks */,
52E2FEC97AEE7D27CDA54D88 /* [CP] Copy Pods Resources */,
0566D22F2F3EEA4699225545 /* [CP] Embed Pods Frameworks */,
D778437EB61E7DFF124A7F9D /* [CP] Copy Pods Resources */,
);
buildRules = (
);
@ -848,7 +848,31 @@
shellPath = /bin/sh;
shellScript = "export EXTRA_PACKAGER_ARGS=\"--sourcemap-output $TMPDIR/$(md5 -qs \"$CONFIGURATION_BUILD_DIR\")-main.jsbundle.map\"\nexport NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh\n";
};
037E846293A50B498765886B /* [CP] Copy Pods Resources */ = {
0566D22F2F3EEA4699225545 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-defaults-Rocket.Chat/Pods-defaults-Rocket.Chat-frameworks.sh",
"${PODS_XCFRAMEWORKS_BUILD_DIR}/JitsiMeetSDKLite/JitsiMeetSDK.framework/JitsiMeetSDK",
"${PODS_XCFRAMEWORKS_BUILD_DIR}/JitsiWebRTC/WebRTC.framework/WebRTC",
"${PODS_XCFRAMEWORKS_BUILD_DIR}/OpenSSL-Universal/OpenSSL.framework/OpenSSL",
"${PODS_XCFRAMEWORKS_BUILD_DIR}/hermes-engine/hermes.framework/hermes",
);
name = "[CP] Embed Pods Frameworks";
outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/JitsiMeetSDK.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/WebRTC.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/OpenSSL.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/hermes.framework",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-defaults-Rocket.Chat/Pods-defaults-Rocket.Chat-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
0C600DA87FB8C7734D23DE39 /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
@ -938,35 +962,13 @@
shellPath = /bin/sh;
shellScript = "export EXTRA_PACKAGER_ARGS=\"--sourcemap-output $TMPDIR/$(md5 -qs \"$CONFIGURATION_BUILD_DIR\")-main.jsbundle.map\"\nexport NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh\n";
};
28D0CE82D160EB7EA1A2DB76 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
"${PODS_ROOT}/Manifest.lock",
);
name = "[CP] Check Pods Manifest.lock";
outputFileListPaths = (
);
outputPaths = (
"$(DERIVED_FILE_DIR)/Pods-defaults-RocketChatRN-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
52E2FEC97AEE7D27CDA54D88 /* [CP] Copy Pods Resources */ = {
1FD50711366CA256C89F0267 /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-defaults-Rocket.Chat/Pods-defaults-Rocket.Chat-resources.sh",
"${PODS_ROOT}/Target Support Files/Pods-defaults-NotificationService/Pods-defaults-NotificationService-resources.sh",
"${PODS_CONFIGURATION_BUILD_DIR}/RNImageCropPicker/QBImagePicker.bundle",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/AntDesign.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Entypo.ttf",
@ -1013,10 +1015,34 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-defaults-Rocket.Chat/Pods-defaults-Rocket.Chat-resources.sh\"\n";
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-defaults-NotificationService/Pods-defaults-NotificationService-resources.sh\"\n";
showEnvVarsInLog = 0;
};
7707CC6FF0E78531785B48DB /* [CP] Check Pods Manifest.lock */ = {
33C3D0E698389B3B8CC9421A /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-defaults-RocketChatRN/Pods-defaults-RocketChatRN-frameworks.sh",
"${PODS_XCFRAMEWORKS_BUILD_DIR}/JitsiMeetSDKLite/JitsiMeetSDK.framework/JitsiMeetSDK",
"${PODS_XCFRAMEWORKS_BUILD_DIR}/JitsiWebRTC/WebRTC.framework/WebRTC",
"${PODS_XCFRAMEWORKS_BUILD_DIR}/OpenSSL-Universal/OpenSSL.framework/OpenSSL",
"${PODS_XCFRAMEWORKS_BUILD_DIR}/hermes-engine/hermes.framework/hermes",
);
name = "[CP] Embed Pods Frameworks";
outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/JitsiMeetSDK.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/WebRTC.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/OpenSSL.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/hermes.framework",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-defaults-RocketChatRN/Pods-defaults-RocketChatRN-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
4CE0BF2C26BD8F473DED11FF /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
@ -1031,7 +1057,7 @@
outputFileListPaths = (
);
outputPaths = (
"$(DERIVED_FILE_DIR)/Pods-defaults-NotificationService-checkManifestLockResult.txt",
"$(DERIVED_FILE_DIR)/Pods-defaults-RocketChatRN-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
@ -1141,31 +1167,29 @@
shellPath = /bin/sh;
shellScript = "SOURCE_MAP=\"$TMPDIR/$(md5 -qs \"$CONFIGURATION_BUILD_DIR\")-main.jsbundle.map\" ../node_modules/@bugsnag/react-native/bugsnag-react-native-xcode.sh\n";
};
91FE05CAFFE29618ECC6E67B /* [CP] Embed Pods Frameworks */ = {
8C766D4428842936DEE2B848 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-defaults-Rocket.Chat/Pods-defaults-Rocket.Chat-frameworks.sh",
"${PODS_XCFRAMEWORKS_BUILD_DIR}/JitsiMeetSDKLite/JitsiMeetSDK.framework/JitsiMeetSDK",
"${PODS_XCFRAMEWORKS_BUILD_DIR}/JitsiWebRTC/WebRTC.framework/WebRTC",
"${PODS_XCFRAMEWORKS_BUILD_DIR}/OpenSSL-Universal/OpenSSL.framework/OpenSSL",
"${PODS_XCFRAMEWORKS_BUILD_DIR}/hermes-engine/hermes.framework/hermes",
inputFileListPaths = (
);
inputPaths = (
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
"${PODS_ROOT}/Manifest.lock",
);
name = "[CP] Check Pods Manifest.lock";
outputFileListPaths = (
);
name = "[CP] Embed Pods Frameworks";
outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/JitsiMeetSDK.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/WebRTC.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/OpenSSL.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/hermes.framework",
"$(DERIVED_FILE_DIR)/Pods-defaults-Rocket.Chat-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-defaults-Rocket.Chat/Pods-defaults-Rocket.Chat-frameworks.sh\"\n";
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
932AF1E25CAB70417675563B /* [CP] Check Pods Manifest.lock */ = {
9F2F950CCEDDB608F3071E73 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
@ -1187,7 +1211,85 @@
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
9DAAEC0271017BAD00377563 /* [CP] Copy Pods Resources */ = {
D778437EB61E7DFF124A7F9D /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-defaults-Rocket.Chat/Pods-defaults-Rocket.Chat-resources.sh",
"${PODS_CONFIGURATION_BUILD_DIR}/RNImageCropPicker/QBImagePicker.bundle",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/AntDesign.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Entypo.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/EvilIcons.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Feather.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Brands.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Regular.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Solid.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Fontisto.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Foundation.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Ionicons.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/MaterialIcons.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Octicons.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/SimpleLineIcons.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Zocial.ttf",
"${PODS_CONFIGURATION_BUILD_DIR}/React-Core/AccessibilityResources.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/TOCropViewController/TOCropViewControllerBundle.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/iosMath/mathFonts.bundle",
);
name = "[CP] Copy Pods Resources";
outputPaths = (
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/QBImagePicker.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AntDesign.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Entypo.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/EvilIcons.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Feather.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome5_Brands.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome5_Regular.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome5_Solid.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Fontisto.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Foundation.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Ionicons.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/MaterialCommunityIcons.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/MaterialIcons.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Octicons.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/SimpleLineIcons.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Zocial.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AccessibilityResources.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/TOCropViewControllerBundle.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/mathFonts.bundle",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-defaults-Rocket.Chat/Pods-defaults-Rocket.Chat-resources.sh\"\n";
showEnvVarsInLog = 0;
};
EED89E0438523CF882225344 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
"${PODS_ROOT}/Manifest.lock",
);
name = "[CP] Check Pods Manifest.lock";
outputFileListPaths = (
);
outputPaths = (
"$(DERIVED_FILE_DIR)/Pods-defaults-NotificationService-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
F117217EEEF2170623944723 /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
@ -1243,108 +1345,6 @@
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-defaults-RocketChatRN/Pods-defaults-RocketChatRN-resources.sh\"\n";
showEnvVarsInLog = 0;
};
C12C2D2C4B0DD10AB00F6EC1 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
"${PODS_ROOT}/Manifest.lock",
);
name = "[CP] Check Pods Manifest.lock";
outputFileListPaths = (
);
outputPaths = (
"$(DERIVED_FILE_DIR)/Pods-defaults-Rocket.Chat-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
CB5F2EA8A636F7D770418E38 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-defaults-RocketChatRN/Pods-defaults-RocketChatRN-frameworks.sh",
"${PODS_XCFRAMEWORKS_BUILD_DIR}/JitsiMeetSDKLite/JitsiMeetSDK.framework/JitsiMeetSDK",
"${PODS_XCFRAMEWORKS_BUILD_DIR}/JitsiWebRTC/WebRTC.framework/WebRTC",
"${PODS_XCFRAMEWORKS_BUILD_DIR}/OpenSSL-Universal/OpenSSL.framework/OpenSSL",
"${PODS_XCFRAMEWORKS_BUILD_DIR}/hermes-engine/hermes.framework/hermes",
);
name = "[CP] Embed Pods Frameworks";
outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/JitsiMeetSDK.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/WebRTC.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/OpenSSL.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/hermes.framework",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-defaults-RocketChatRN/Pods-defaults-RocketChatRN-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
ECED2C4673D045CE8BEC6E6C /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-defaults-NotificationService/Pods-defaults-NotificationService-resources.sh",
"${PODS_CONFIGURATION_BUILD_DIR}/RNImageCropPicker/QBImagePicker.bundle",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/AntDesign.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Entypo.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/EvilIcons.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Feather.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Brands.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Regular.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Solid.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Fontisto.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Foundation.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Ionicons.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/MaterialIcons.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Octicons.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/SimpleLineIcons.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Zocial.ttf",
"${PODS_CONFIGURATION_BUILD_DIR}/React-Core/AccessibilityResources.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/TOCropViewController/TOCropViewControllerBundle.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/iosMath/mathFonts.bundle",
);
name = "[CP] Copy Pods Resources";
outputPaths = (
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/QBImagePicker.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AntDesign.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Entypo.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/EvilIcons.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Feather.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome5_Brands.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome5_Regular.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome5_Solid.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Fontisto.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Foundation.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Ionicons.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/MaterialCommunityIcons.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/MaterialIcons.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Octicons.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/SimpleLineIcons.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Zocial.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AccessibilityResources.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/TOCropViewControllerBundle.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/mathFonts.bundle",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-defaults-NotificationService/Pods-defaults-NotificationService-resources.sh\"\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
@ -1502,7 +1502,7 @@
/* Begin XCBuildConfiguration section */
13B07F941A680F5B00A75B9A /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 0EBF1F098698854FB86D9A64 /* Pods-defaults-RocketChatRN.debug.xcconfig */;
baseConfigurationReference = 9FC8E091220C5BADC415C75D /* Pods-defaults-RocketChatRN.debug.xcconfig */;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
APPLICATION_EXTENSION_API_ONLY = NO;
@ -1558,7 +1558,7 @@
};
13B07F951A680F5B00A75B9A /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 08211712CAB38560EA4833C5 /* Pods-defaults-RocketChatRN.release.xcconfig */;
baseConfigurationReference = 6BE39B02344777D199E20615 /* Pods-defaults-RocketChatRN.release.xcconfig */;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
APPLICATION_EXTENSION_API_ONLY = NO;
@ -1614,7 +1614,7 @@
};
1EC6ACBC22CB9FC300A41C61 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 35563E2152CBFEE0D573F7F8 /* Pods-defaults-ShareRocketChatRN.debug.xcconfig */;
baseConfigurationReference = 7953BE5657102E9F711003EA /* Pods-defaults-ShareRocketChatRN.debug.xcconfig */;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = "$(EMBEDDED_CONTENT_CONTAINS_SWIFT)";
APPLICATION_EXTENSION_API_ONLY = YES;
@ -1682,7 +1682,7 @@
};
1EC6ACBD22CB9FC300A41C61 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = B46E38BD08027136477CFE9A /* Pods-defaults-ShareRocketChatRN.release.xcconfig */;
baseConfigurationReference = 24F0638AC692626312816D98 /* Pods-defaults-ShareRocketChatRN.release.xcconfig */;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = "$(EMBEDDED_CONTENT_CONTAINS_SWIFT)";
APPLICATION_EXTENSION_API_ONLY = YES;
@ -1750,7 +1750,7 @@
};
1EFEB59D2493B6640072EDC0 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 9F5B90E1D1A647212DB88A07 /* Pods-defaults-NotificationService.debug.xcconfig */;
baseConfigurationReference = A55168E03501CCEDF17A2ED6 /* Pods-defaults-NotificationService.debug.xcconfig */;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = "$(EMBEDDED_CONTENT_CONTAINS_SWIFT)";
CLANG_ANALYZER_NONNULL = YES;
@ -1770,7 +1770,7 @@
INFOPLIST_FILE = NotificationService/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
MARKETING_VERSION = 4.36.0;
MARKETING_VERSION = 4.37.0;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
OTHER_SWIFT_FLAGS = "$(inherited) -D EXPO_CONFIGURATION_DEBUG";
@ -1787,7 +1787,7 @@
};
1EFEB59E2493B6640072EDC0 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = CA56F7BC0933784810C04F11 /* Pods-defaults-NotificationService.release.xcconfig */;
baseConfigurationReference = F35D225DC21083A127C3E7CB /* Pods-defaults-NotificationService.release.xcconfig */;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = "$(EMBEDDED_CONTENT_CONTAINS_SWIFT)";
CLANG_ANALYZER_NONNULL = YES;
@ -1809,7 +1809,7 @@
INFOPLIST_FILE = NotificationService/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
MARKETING_VERSION = 4.36.0;
MARKETING_VERSION = 4.37.0;
MTL_FAST_MATH = YES;
OTHER_SWIFT_FLAGS = "$(inherited) -D EXPO_CONFIGURATION_RELEASE";
PRODUCT_BUNDLE_IDENTIFIER = chat.rocket.reactnative.NotificationService;
@ -1825,7 +1825,7 @@
};
7AAB3E50257E6A6E00707CF6 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 19D2E2FEA39121FD901D67BD /* Pods-defaults-Rocket.Chat.debug.xcconfig */;
baseConfigurationReference = 2D5EED0CA4EE40F7CCB182E1 /* Pods-defaults-Rocket.Chat.debug.xcconfig */;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
APPLICATION_EXTENSION_API_ONLY = NO;
@ -1879,7 +1879,7 @@
};
7AAB3E51257E6A6E00707CF6 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = B4414A4D99DE7C411B79A500 /* Pods-defaults-Rocket.Chat.release.xcconfig */;
baseConfigurationReference = 778F20307FD6CE7A7F73DE7A /* Pods-defaults-Rocket.Chat.release.xcconfig */;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
APPLICATION_EXTENSION_API_ONLY = NO;

View File

@ -26,7 +26,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>4.36.0</string>
<string>4.37.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>

View File

@ -26,7 +26,7 @@
<key>CFBundlePackageType</key>
<string>XPC!</string>
<key>CFBundleShortVersionString</key>
<string>4.36.0</string>
<string>4.37.0</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>KeychainGroup</key>

View File

@ -1,6 +1,6 @@
{
"name": "rocket-chat-reactnative",
"version": "4.36.0",
"version": "4.37.0",
"private": true,
"scripts": {
"start": "react-native start",
@ -18,7 +18,15 @@
"generate-source-maps-ios": "react-native bundle --platform ios --dev false --entry-file index.js --bundle-output ios-release.bundle --sourcemap-output ios-release.bundle.map",
"postinstall": "patch-package && jetify",
"prepare": "husky install",
"build-icon-set": "node scripts/build-icon-set.js"
"build-icon-set": "node scripts/build-icon-set.js",
"e2e:android-build-debug": "yarn detox build -c android.emu.debug",
"e2e:android-test-debug": "yarn detox test -c android.emu.debug",
"e2e:android-build": "yarn detox build -c android.emu.release",
"e2e:android-test": "yarn detox test -c android.emu.release",
"e2e:ios-build-debug": "yarn detox build -c ios.sim.debug",
"e2e:ios-test-debug": "yarn detox test -c ios.sim.debug",
"e2e:ios-build": "yarn detox build -c ios.sim.release",
"e2e:ios-test": "yarn detox test -c ios.sim.release"
},
"lint-staged": {
"*.{js,ts,tsx}": [
@ -150,7 +158,7 @@
"jpeg-js": "0.4.4"
},
"devDependencies": {
"@babel/core": "^7.12.9",
"@babel/core": "^7.20.2",
"@babel/eslint-parser": "^7.14.7",
"@babel/eslint-plugin": "^7.13.0",
"@babel/plugin-proposal-decorators": "^7.8.3",
@ -169,7 +177,6 @@
"@types/i18n-js": "^3.8.3",
"@types/jest": "^26.0.24",
"@types/lodash": "^4.14.188",
"@types/mocha": "^9.1.1",
"@types/react": "^17.0.14",
"@types/react-native": "0.68.1",
"@types/react-native-background-timer": "^2.0.0",
@ -185,9 +192,10 @@
"@typescript-eslint/parser": "^4.28.5",
"axios": "0.27.2",
"babel-jest": "^28.1.3",
"babel-loader": "8.3.0",
"babel-plugin-transform-remove-console": "^6.9.4",
"codecov": "^3.8.3",
"detox": "19.7.0",
"detox": "^20.1.2",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "2.26.0",
@ -201,12 +209,13 @@
"jest": "^28.1.3",
"jest-cli": "^28.1.3",
"jest-expo": "^46.0.1",
"jest-junit": "^15.0.0",
"metro-react-native-babel-preset": "^0.67.0",
"mocha": "9.0.1",
"otp.js": "1.2.0",
"patch-package": "6.4.7",
"prettier": "^2.3.2",
"react-dom": "17.0.1",
"react-native-dotenv": "^3.4.8",
"react-test-renderer": "17.0.2",
"reactotron-redux": "3.1.3",
"reactotron-redux-saga": "4.2.3",
@ -233,6 +242,9 @@
"./jest.setup.js"
]
},
"jest-junit": {
"addFileAttribute": "true"
},
"snyk": true,
"engines": {
"node": ">=8.x",
@ -248,54 +260,5 @@
"expo-error-recovery"
]
}
},
"detox": {
"test-runner": "mocha",
"runner-config": "e2e/.mocharc.json",
"specs": "e2e/tests",
"configurations": {
"ios.sim.debug": {
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/Rocket.Chat Experimental.app",
"build": "xcodebuild -workspace ios/RocketChatRN.xcworkspace -scheme RocketChatRN -configuration Debug -sdk iphonesimulator -arch x86_64 -derivedDataPath ios/build",
"type": "ios.simulator",
"device": {
"type": "iPhone 11 Pro"
}
},
"ios.sim.release": {
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/Rocket.Chat Experimental.app",
"build": "xcodebuild -workspace ios/RocketChatRN.xcworkspace -scheme RocketChatRN -configuration Release -sdk iphonesimulator -derivedDataPath ios/build",
"type": "ios.simulator",
"device": {
"type": "iPhone 11 Pro"
},
"artifacts": {
"plugins": {
"screenshot": {
"enabled": true,
"shouldTakeAutomaticSnapshots": true,
"keepOnlyFailedTestsArtifacts": true,
"takeWhen": {
"testStart": true,
"testDone": true,
"appNotReady": true
}
}
}
}
},
"android.emu.debug": {
"device": "Pixel_API_28_AOSP",
"type": "android.emulator",
"binaryPath": "android/app/build/outputs/apk/e2ePlay/debug/app-e2e-play-debug.apk",
"build": "cd android && ./gradlew app:assembleE2ePlayDebug app:assembleE2ePlayDebugAndroidTest -DtestBuildType=debug && cd .."
},
"android.emu.release": {
"device": "Pixel_API_28_AOSP",
"type": "android.emulator",
"binaryPath": "android/app/build/outputs/apk/e2ePlay/release/app-e2e-play-release.apk",
"build": "cd android && ./gradlew app:assembleE2ePlayRelease app:assembleE2ePlayReleaseAndroidTest -DtestBuildType=release && cd .."
}
}
}
}

View File

@ -1,3 +1,16 @@
diff --git a/node_modules/expo-av/android/build.gradle b/node_modules/expo-av/android/build.gradle
index e6e3424..f1a6ddc 100644
--- a/node_modules/expo-av/android/build.gradle
+++ b/node_modules/expo-av/android/build.gradle
@@ -113,7 +113,7 @@ android {
packagingOptions {
// Gradle will add cmake target dependencies into packaging.
// Theses files are intermediated linking files to build reanimated and should not be in final package.
- excludes = [
+ excludes += [
"**/libc++_shared.so",
"**/libreactnativejni.so",
"**/libglog.so",
diff --git a/node_modules/expo-av/android/src/main/java/expo/modules/av/player/datasource/SharedCookiesDataSourceFactory.java b/node_modules/expo-av/android/src/main/java/expo/modules/av/player/datasource/SharedCookiesDataSourceFactory.java
index 19818bc..ae4f631 100644
--- a/node_modules/expo-av/android/src/main/java/expo/modules/av/player/datasource/SharedCookiesDataSourceFactory.java

14
scripts/create-avd.sh Normal file
View File

@ -0,0 +1,14 @@
#!/usr/bin/env bash
$ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --install emulator
$ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager "system-images;android-31;default;arm64-v8a"
$ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses
$ANDROID_HOME/cmdline-tools/latest/bin/avdmanager create avd -n Pixel_API_31_AOSP -d pixel --package "system-images;android-31;default;arm64-v8a"
echo "hw.lcd.density = 440" >> ~/.android/avd/Pixel_API_31_AOSP.avd/config.ini
echo "hw.lcd.height = 2280" >> ~/.android/avd/Pixel_API_31_AOSP.avd/config.ini
echo "hw.lcd.width = 1080" >> ~/.android/avd/Pixel_API_31_AOSP.avd/config.ini
echo "Pixel_API_31_AOSP created"

View File

@ -70,5 +70,5 @@
"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */,
"resolveJsonModule": true
},
"exclude": ["node_modules", "e2e/docker", "__mocks__"]
"exclude": ["node_modules", "__mocks__"]
}

732
yarn.lock

File diff suppressed because it is too large Load Diff