Compare commits

..

7 Commits

Author SHA1 Message Date
GleidsonDaniel 6d2322fee7 set gradlew 2023-03-01 10:03:09 -03:00
GleidsonDaniel 83f170d7b3 update expo libs 2023-03-01 10:02:31 -03:00
GleidsonDaniel 43d8405579 fix expo patch 2023-03-01 10:02:15 -03:00
GleidsonDaniel 6c5b1808c6 update webview patch 2023-02-28 17:23:40 -03:00
GleidsonDaniel 04c1a0fc12 update bugsnag camera-roll react-native-webview 2023-02-27 18:32:43 -03:00
GleidsonDaniel 18d09e62f6 set sdk version to 33 2023-02-27 18:32:08 -03:00
GleidsonDaniel faee10af2c add monochrome icon 2023-02-27 18:31:51 -03:00
136 changed files with 6770 additions and 3875 deletions

View File

@ -1,9 +1,6 @@
defaults: &defaults defaults: &defaults
working_directory: ~/repo working_directory: ~/repo
orbs:
android: circleci/android@2.1.2
macos: &macos macos: &macos
macos: macos:
xcode: "14.2.0" xcode: "14.2.0"
@ -330,14 +327,6 @@ commands:
working_directory: ios working_directory: ios
- save_cache: *save-gems-cache - 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 version: 2.1
# EXECUTORS # EXECUTORS
@ -449,94 +438,6 @@ jobs:
- upload-to-google-play-beta: - upload-to-google-play-beta:
official: true 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 builds
ios-build-experimental: ios-build-experimental:
executor: mac-env executor: mac-env
@ -560,89 +461,11 @@ jobs:
- upload-to-testflight: - upload-to-testflight:
official: true 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: workflows:
build-and-test: build-and-test:
jobs: jobs:
- lint-testunit - 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 Experimental
- ios-hold-build-experimental: - ios-hold-build-experimental:
type: approval type: approval

View File

@ -1,91 +0,0 @@
/** @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
View File

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

View File

@ -240,8 +240,19 @@ module.exports = {
}, },
{ {
files: ['e2e/**'], files: ['e2e/**'],
globals: {
by: true,
detox: true,
device: true,
element: true,
waitFor: true
},
rules: { rules: {
'no-await-in-loop': 0 '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
} }
} }
] ]

1
.gitignore vendored
View File

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

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh
. "$(dirname "$0")/_/husky.sh" . "$(dirname "$0")/_/husky.sh"
npm run precommit # npm run precommit

File diff suppressed because one or more lines are too long

View File

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

View File

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

View File

@ -0,0 +1,10 @@
<?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

@ -0,0 +1,24 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="731.4286"
android:viewportHeight="731.4286">
<group android:translateX="109.71429"
android:translateY="109.71429">
<group>
<clip-path android:pathData="M0,0h512v512h-512z M 0,0"/>
<path
android:pathData="M404.999,208.068C396.342,194.624 384.207,182.722 368.953,172.683C339.479,153.318 300.753,142.65 259.908,142.65C246.261,142.65 232.816,143.837 219.765,146.187C211.667,138.391 202.2,131.378 192.173,125.836C154.971,107.29 122.187,114.196 105.623,120.152C100.181,122.11 98.502,128.993 102.527,133.146C114.209,145.202 133.536,169.029 128.785,190.696C110.315,209.551 100.3,232.287 100.3,255.959C100.3,280.083 110.315,302.818 128.785,321.674C133.536,343.341 114.209,367.18 102.527,379.236C98.514,383.377 100.181,390.259 105.623,392.217C122.187,398.174 154.971,405.092 192.185,386.545C202.212,381.004 211.679,373.991 219.777,366.195C232.828,368.544 246.273,369.731 259.92,369.731C300.777,369.731 339.503,359.075 368.965,339.71C384.219,329.671 396.354,317.782 405.011,304.325C414.657,289.35 419.539,273.225 419.539,256.422C419.527,239.169 414.645,223.055 404.999,208.068ZM258.241,341.787C240.58,341.787 223.742,339.508 208.392,335.391L197.174,346.177C191.077,352.039 183.932,357.343 176.478,361.52C166.606,366.349 156.853,368.995 147.207,369.79C147.755,368.806 148.255,367.809 148.791,366.812C160.032,346.165 163.069,327.607 157.889,311.148C139.502,296.707 128.475,278.22 128.475,258.083C128.475,211.865 186.576,174.392 258.241,174.392C329.905,174.392 388.018,211.865 388.018,258.083C388.018,304.314 329.917,341.787 258.241,341.787Z"
/>
<path
android:pathData="M196.162,238.837C185.6,238.837 177.038,247.333 177.038,257.811C177.038,268.288 185.6,276.784 196.162,276.784C206.725,276.784 215.287,268.288 215.287,257.811C215.287,247.333 206.725,238.837 196.162,238.837Z"
/>
<path
android:pathData="M257.717,238.837C247.154,238.837 238.592,247.333 238.592,257.811C238.592,268.288 247.154,276.784 257.717,276.784C268.279,276.784 276.842,268.288 276.842,257.811C276.842,247.333 268.279,238.837 257.717,238.837Z"
/>
<path
android:pathData="M319.282,238.837C308.72,238.837 300.158,247.333 300.158,257.811C300.158,268.288 308.72,276.784 319.282,276.784C329.845,276.784 338.407,268.288 338.407,257.811C338.407,247.333 329.845,238.837 319.282,238.837Z"
/>
</group>
</group>
</vector>

View File

@ -2,4 +2,5 @@
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background"/> <background android:drawable="@drawable/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/> <foreground android:drawable="@drawable/ic_launcher_foreground"/>
<foreground android:drawable="@drawable/ic_launcher_monochrome"/>
</adaptive-icon> </adaptive-icon>

View File

@ -2,4 +2,5 @@
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background"/> <background android:drawable="@drawable/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/> <foreground android:drawable="@drawable/ic_launcher_foreground"/>
<foreground android:drawable="@drawable/ic_launcher_monochrome"/>
</adaptive-icon> </adaptive-icon>

View File

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

View File

@ -0,0 +1,24 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="731.4286"
android:viewportHeight="731.4286">
<group android:translateX="109.71429"
android:translateY="109.71429">
<group>
<clip-path android:pathData="M0,0h512v512h-512z M 0,0"/>
<path
android:pathData="M404.999,208.068C396.342,194.624 384.207,182.722 368.953,172.683C339.479,153.318 300.753,142.65 259.908,142.65C246.261,142.65 232.816,143.837 219.765,146.187C211.667,138.391 202.2,131.378 192.173,125.836C154.971,107.29 122.187,114.196 105.623,120.152C100.181,122.11 98.502,128.993 102.527,133.146C114.209,145.202 133.536,169.029 128.785,190.696C110.315,209.551 100.3,232.287 100.3,255.959C100.3,280.083 110.315,302.818 128.785,321.674C133.536,343.341 114.209,367.18 102.527,379.236C98.514,383.377 100.181,390.259 105.623,392.217C122.187,398.174 154.971,405.092 192.185,386.545C202.212,381.004 211.679,373.991 219.777,366.195C232.828,368.544 246.273,369.731 259.92,369.731C300.777,369.731 339.503,359.075 368.965,339.71C384.219,329.671 396.354,317.782 405.011,304.325C414.657,289.35 419.539,273.225 419.539,256.422C419.527,239.169 414.645,223.055 404.999,208.068ZM258.241,341.787C240.58,341.787 223.742,339.508 208.392,335.391L197.174,346.177C191.077,352.039 183.932,357.343 176.478,361.52C166.606,366.349 156.853,368.995 147.207,369.79C147.755,368.806 148.255,367.809 148.791,366.812C160.032,346.165 163.069,327.607 157.889,311.148C139.502,296.707 128.475,278.22 128.475,258.083C128.475,211.865 186.576,174.392 258.241,174.392C329.905,174.392 388.018,211.865 388.018,258.083C388.018,304.314 329.917,341.787 258.241,341.787Z"
/>
<path
android:pathData="M196.162,238.837C185.6,238.837 177.038,247.333 177.038,257.811C177.038,268.288 185.6,276.784 196.162,276.784C206.725,276.784 215.287,268.288 215.287,257.811C215.287,247.333 206.725,238.837 196.162,238.837Z"
/>
<path
android:pathData="M257.717,238.837C247.154,238.837 238.592,247.333 238.592,257.811C238.592,268.288 247.154,276.784 257.717,276.784C268.279,276.784 276.842,268.288 276.842,257.811C276.842,247.333 268.279,238.837 257.717,238.837Z"
/>
<path
android:pathData="M319.282,238.837C308.72,238.837 300.158,247.333 300.158,257.811C300.158,268.288 308.72,276.784 319.282,276.784C329.845,276.784 338.407,268.288 338.407,257.811C338.407,247.333 329.845,238.837 319.282,238.837Z"
/>
</group>
</group>
</vector>

View File

@ -2,4 +2,5 @@
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background"/> <background android:drawable="@drawable/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/> <foreground android:drawable="@drawable/ic_launcher_foreground"/>
<foreground android:drawable="@drawable/ic_launcher_monochrome"/>
</adaptive-icon> </adaptive-icon>

View File

@ -2,4 +2,5 @@
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background"/> <background android:drawable="@drawable/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/> <foreground android:drawable="@drawable/ic_launcher_foreground"/>
<foreground android:drawable="@drawable/ic_launcher_monochrome"/>
</adaptive-icon> </adaptive-icon>

View File

@ -1,5 +1,9 @@
import org.apache.tools.ant.taskdefs.condition.Os 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. // Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript { buildscript {
def taskRequests = getGradle().getStartParameter().getTaskRequests().toString().toLowerCase() def taskRequests = getGradle().getStartParameter().getTaskRequests().toString().toLowerCase()
@ -8,8 +12,8 @@ buildscript {
ext { ext {
buildToolsVersion = "31.0.0" buildToolsVersion = "31.0.0"
minSdkVersion = 23 minSdkVersion = 23
compileSdkVersion = 31 compileSdkVersion = 33
targetSdkVersion = 31 targetSdkVersion = 33
if (System.properties['os.arch'] == "aarch64") { if (System.properties['os.arch'] == "aarch64") {
// For M1 Users we need to use the NDK 24 which added support for aarch64 // For M1 Users we need to use the NDK 24 which added support for aarch64
ndkVersion = "24.0.8215888" ndkVersion = "24.0.8215888"
@ -39,7 +43,7 @@ buildscript {
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.0' classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.0'
classpath 'com.bugsnag:bugsnag-android-gradle-plugin:7.+' classpath 'com.bugsnag:bugsnag-android-gradle-plugin:7.+'
} }
classpath("com.android.tools.build:gradle:7.0.4") classpath("com.android.tools.build:gradle:7.4.1")
classpath("com.facebook.react:react-native-gradle-plugin") classpath("com.facebook.react:react-native-gradle-plugin")
classpath("de.undercouch:gradle-download-task:4.1.2") classpath("de.undercouch:gradle-download-task:4.1.2")
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
@ -71,38 +75,5 @@ allprojects {
google() google()
maven { url 'https://maven.google.com' } maven { url 'https://maven.google.com' }
maven { url 'https://www.jitpack.io' } 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,5 +1,6 @@
#Tue Feb 28 17:35:18 BRT 2023
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME

View File

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

View File

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

View File

@ -1,4 +1,4 @@
import React, { useState } from 'react'; import React from 'react';
import { StyleProp, ViewStyle } from 'react-native'; import { StyleProp, ViewStyle } from 'react-native';
import { SvgUri } from 'react-native-svg'; import { SvgUri } from 'react-native-svg';
@ -29,12 +29,22 @@ interface IOmnichannelRoomIconProps {
} }
export const OmnichannelRoomIcon = ({ size, style, sourceType, status }: IOmnichannelRoomIconProps) => { export const OmnichannelRoomIcon = ({ size, style, sourceType, status }: IOmnichannelRoomIconProps) => {
const [loading, setLoading] = useState(true);
const [svgError, setSvgError] = useState(false);
const baseUrl = useAppSelector(state => state.server?.server); const baseUrl = useAppSelector(state => state.server?.server);
const connected = useAppSelector(state => state.meteor?.connected); const connected = useAppSelector(state => state.meteor?.connected);
const customIcon = ( if (sourceType?.type === OmnichannelSourceType.APP && sourceType.id && sourceType.sidebarIcon && connected) {
return (
<SvgUri
height={size}
width={size}
color={STATUS_COLORS[status || 'offline']}
uri={`${baseUrl}/api/apps/public/${sourceType.id}/get-sidebar-icon?icon=${sourceType.sidebarIcon}`}
style={style}
/>
);
}
return (
<CustomIcon <CustomIcon
name={iconMap[sourceType?.type || 'other']} name={iconMap[sourceType?.type || 'other']}
size={size} size={size}
@ -42,23 +52,4 @@ export const OmnichannelRoomIcon = ({ size, style, sourceType, status }: IOmnich
color={STATUS_COLORS[status || 'offline']} color={STATUS_COLORS[status || 'offline']}
/> />
); );
if (!svgError && sourceType?.type === OmnichannelSourceType.APP && sourceType.id && sourceType.sidebarIcon && connected) {
return (
<>
<SvgUri
height={size}
width={size}
color={STATUS_COLORS[status || 'offline']}
uri={`${baseUrl}/api/apps/public/${sourceType.id}/get-sidebar-icon?icon=${sourceType.sidebarIcon}`}
style={style}
onError={() => setSvgError(true)}
onLoad={() => setLoading(false)}
/>
{loading ? customIcon : null}
</>
);
}
return customIcon;
}; };

View File

@ -6,6 +6,7 @@ import i18n from '../../../../i18n';
import { getSubscriptionByRoomId } from '../../../../lib/database/services/Subscription'; import { getSubscriptionByRoomId } from '../../../../lib/database/services/Subscription';
import { useAppSelector } from '../../../../lib/hooks'; import { useAppSelector } from '../../../../lib/hooks';
import { getRoomAvatar, getUidDirectMessage } from '../../../../lib/methods/helpers'; import { getRoomAvatar, getUidDirectMessage } from '../../../../lib/methods/helpers';
import { videoConfStartAndJoin } from '../../../../lib/methods/videoConf';
import { useTheme } from '../../../../theme'; import { useTheme } from '../../../../theme';
import { useActionSheet } from '../../../ActionSheet'; import { useActionSheet } from '../../../ActionSheet';
import AvatarContainer from '../../../Avatar'; import AvatarContainer from '../../../Avatar';
@ -15,12 +16,12 @@ import { BUTTON_HIT_SLOP } from '../../../message/utils';
import StatusContainer from '../../../Status'; import StatusContainer from '../../../Status';
import useStyle from './styles'; import useStyle from './styles';
export default function StartACallActionSheet({ rid, initCall }: { rid: string; initCall: Function }): React.ReactElement { export default function CallAgainActionSheet({ rid }: { rid: string }): React.ReactElement {
const style = useStyle(); const style = useStyle();
const { colors } = useTheme(); const { colors } = useTheme();
const [user, setUser] = useState({ username: '', avatar: '', uid: '' }); const [user, setUser] = useState({ username: '', avatar: '', uid: '', rid: '' });
const [mic, setMic] = useState(true); const [phone, setPhone] = useState(true);
const [cam, setCam] = useState(false); const [camera, setCamera] = useState(false);
const username = useAppSelector(state => state.login.user.username); const username = useAppSelector(state => state.login.user.username);
const { hideActionSheet } = useActionSheet(); const { hideActionSheet } = useActionSheet();
@ -30,7 +31,7 @@ export default function StartACallActionSheet({ rid, initCall }: { rid: string;
const room = await getSubscriptionByRoomId(rid); const room = await getSubscriptionByRoomId(rid);
const uid = (await getUidDirectMessage(room)) as string; const uid = (await getUidDirectMessage(room)) as string;
const avt = getRoomAvatar(room); const avt = getRoomAvatar(room);
setUser({ uid, username: room?.name || '', avatar: avt }); setUser({ uid, username: room?.name || '', avatar: avt, rid: room?.id || '' });
})(); })();
}, [rid]); }, [rid]);
@ -42,27 +43,25 @@ export default function StartACallActionSheet({ rid, initCall }: { rid: string;
<Text style={style.actionSheetHeaderTitle}>{i18n.t('Start_a_call')}</Text> <Text style={style.actionSheetHeaderTitle}>{i18n.t('Start_a_call')}</Text>
<View style={style.actionSheetHeaderButtons}> <View style={style.actionSheetHeaderButtons}>
<Touchable <Touchable
onPress={() => setCam(!cam)} onPress={() => setCamera(!camera)}
style={[style.iconCallContainer, cam && style.enabledBackground, { marginRight: 6 }]} style={[style.iconCallContainer, camera && style.enabledBackground, { marginRight: 6 }]}
hitSlop={BUTTON_HIT_SLOP} hitSlop={BUTTON_HIT_SLOP}
> >
<CustomIcon name={cam ? 'camera' : 'camera-disabled'} size={20} color={handleColor(cam)} /> <CustomIcon name={camera ? 'camera' : 'camera-disabled'} size={16} color={handleColor(camera)} />
</Touchable> </Touchable>
<Touchable <Touchable
onPress={() => setMic(!mic)} onPress={() => setPhone(!phone)}
style={[style.iconCallContainer, mic && style.enabledBackground]} style={[style.iconCallContainer, phone && style.enabledBackground]}
hitSlop={BUTTON_HIT_SLOP} hitSlop={BUTTON_HIT_SLOP}
> >
<CustomIcon name={mic ? 'microphone' : 'microphone-disabled'} size={20} color={handleColor(mic)} /> <CustomIcon name={phone ? 'microphone' : 'microphone-disabled'} size={16} color={handleColor(phone)} />
</Touchable> </Touchable>
</View> </View>
</View> </View>
<View style={style.actionSheetUsernameContainer}> <View style={style.actionSheetUsernameContainer}>
<AvatarContainer text={user.avatar} size={36} /> <AvatarContainer text={user.avatar} size={36} />
<StatusContainer size={16} id={user.uid} style={{ marginLeft: 8, marginRight: 6 }} /> <StatusContainer size={16} id={user.uid} style={{ marginLeft: 8, marginRight: 6 }} />
<Text style={style.actionSheetUsername} numberOfLines={1}> <Text style={style.actionSheetUsername}>{user.username}</Text>
{user.username}
</Text>
</View> </View>
<View style={style.actionSheetPhotoContainer}> <View style={style.actionSheetPhotoContainer}>
<AvatarContainer size={62} text={username} /> <AvatarContainer size={62} text={username} />
@ -71,7 +70,7 @@ export default function StartACallActionSheet({ rid, initCall }: { rid: string;
onPress={() => { onPress={() => {
hideActionSheet(); hideActionSheet();
setTimeout(() => { setTimeout(() => {
initCall({ cam, mic }); videoConfStartAndJoin(user.rid, camera);
}, 100); }, 100);
}} }}
title={i18n.t('Call')} title={i18n.t('Call')}

View File

@ -3,16 +3,17 @@ import { Text } from 'react-native';
import Touchable from 'react-native-platform-touchable'; import Touchable from 'react-native-platform-touchable';
import i18n from '../../../../i18n'; import i18n from '../../../../i18n';
import { videoConfJoin } from '../../../../lib/methods/videoConf'; import { useVideoConf } from '../../../../lib/hooks/useVideoConf';
import useStyle from './styles'; import useStyle from './styles';
import { VideoConferenceBaseContainer } from './VideoConferenceBaseContainer'; import { VideoConferenceBaseContainer } from './VideoConferenceBaseContainer';
const VideoConferenceDirect = React.memo(({ blockId }: { blockId: string }) => { const VideoConferenceDirect = React.memo(({ blockId }: { blockId: string }) => {
const style = useStyle(); const style = useStyle();
const { joinCall } = useVideoConf();
return ( return (
<VideoConferenceBaseContainer variant='incoming'> <VideoConferenceBaseContainer variant='incoming'>
<Touchable style={style.callToActionButton} onPress={() => videoConfJoin(blockId)}> <Touchable style={style.callToActionButton} onPress={() => joinCall(blockId)}>
<Text style={style.callToActionButtonText}>{i18n.t('Join')}</Text> <Text style={style.callToActionButtonText}>{i18n.t('Join')}</Text>
</Touchable> </Touchable>
<Text style={style.callBack}>{i18n.t('Waiting_for_answer')}</Text> <Text style={style.callBack}>{i18n.t('Waiting_for_answer')}</Text>

View File

@ -6,7 +6,9 @@ import { IUser } from '../../../../definitions';
import { VideoConferenceType } from '../../../../definitions/IVideoConference'; import { VideoConferenceType } from '../../../../definitions/IVideoConference';
import i18n from '../../../../i18n'; import i18n from '../../../../i18n';
import { useAppSelector } from '../../../../lib/hooks'; import { useAppSelector } from '../../../../lib/hooks';
import { useVideoConf } from '../../../../lib/hooks/useVideoConf'; import { useSnaps } from '../../../../lib/hooks/useSnaps';
import { useActionSheet } from '../../../ActionSheet';
import CallAgainActionSheet from './CallAgainActionSheet';
import { CallParticipants, TCallUsers } from './CallParticipants'; import { CallParticipants, TCallUsers } from './CallParticipants';
import useStyle from './styles'; import useStyle from './styles';
import { VideoConferenceBaseContainer } from './VideoConferenceBaseContainer'; import { VideoConferenceBaseContainer } from './VideoConferenceBaseContainer';
@ -24,7 +26,8 @@ export default function VideoConferenceEnded({
}): React.ReactElement { }): React.ReactElement {
const style = useStyle(); const style = useStyle();
const username = useAppSelector(state => state.login.user.username); const username = useAppSelector(state => state.login.user.username);
const { showInitCallActionSheet } = useVideoConf(rid); const { showActionSheet } = useActionSheet();
const snaps = useSnaps([1250]);
const onlyAuthorOnCall = users.length === 1 && users.some(user => user.username === createdBy.username); const onlyAuthorOnCall = users.length === 1 && users.some(user => user.username === createdBy.username);
@ -32,7 +35,15 @@ export default function VideoConferenceEnded({
<VideoConferenceBaseContainer variant='ended'> <VideoConferenceBaseContainer variant='ended'>
{type === 'direct' ? ( {type === 'direct' ? (
<> <>
<Touchable style={style.callToActionCallBack} onPress={showInitCallActionSheet}> <Touchable
style={style.callToActionCallBack}
onPress={() =>
showActionSheet({
children: <CallAgainActionSheet rid={rid} />,
snaps
})
}
>
<Text style={style.callToActionCallBackText}> <Text style={style.callToActionCallBackText}>
{createdBy.username === username ? i18n.t('Call_back') : i18n.t('Call_again')} {createdBy.username === username ? i18n.t('Call_back') : i18n.t('Call_again')}
</Text> </Text>

View File

@ -3,17 +3,18 @@ import { Text } from 'react-native';
import Touchable from 'react-native-platform-touchable'; import Touchable from 'react-native-platform-touchable';
import i18n from '../../../../i18n'; import i18n from '../../../../i18n';
import { videoConfJoin } from '../../../../lib/methods/videoConf'; import { useVideoConf } from '../../../../lib/hooks/useVideoConf';
import { CallParticipants, TCallUsers } from './CallParticipants'; import { CallParticipants, TCallUsers } from './CallParticipants';
import useStyle from './styles'; import useStyle from './styles';
import { VideoConferenceBaseContainer } from './VideoConferenceBaseContainer'; import { VideoConferenceBaseContainer } from './VideoConferenceBaseContainer';
export default function VideoConferenceOutgoing({ users, blockId }: { users: TCallUsers; blockId: string }): React.ReactElement { export default function VideoConferenceOutgoing({ users, blockId }: { users: TCallUsers; blockId: string }): React.ReactElement {
const style = useStyle(); const style = useStyle();
const { joinCall } = useVideoConf();
return ( return (
<VideoConferenceBaseContainer variant='outgoing'> <VideoConferenceBaseContainer variant='outgoing'>
<Touchable style={style.callToActionButton} onPress={() => videoConfJoin(blockId)}> <Touchable style={style.callToActionButton} onPress={() => joinCall(blockId)}>
<Text style={style.callToActionButtonText}>{i18n.t('Join')}</Text> <Text style={style.callToActionButtonText}>{i18n.t('Join')}</Text>
</Touchable> </Touchable>
<CallParticipants users={users} /> <CallParticipants users={users} />

View File

@ -100,8 +100,7 @@ export default function useStyle() {
actionSheetUsername: { actionSheetUsername: {
fontSize: 16, fontSize: 16,
...sharedStyles.textBold, ...sharedStyles.textBold,
color: colors.passcodePrimary, color: colors.passcodePrimary
flexShrink: 1
}, },
enabledBackground: { enabledBackground: {
backgroundColor: colors.conferenceCallEnabledIconBackground backgroundColor: colors.conferenceCallEnabledIconBackground

View File

@ -2,7 +2,7 @@
import { BlockContext } from '@rocket.chat/ui-kit'; import { BlockContext } from '@rocket.chat/ui-kit';
import React, { useContext, useState } from 'react'; import React, { useContext, useState } from 'react';
import { videoConfJoin } from '../../lib/methods/videoConf'; import { useVideoConf } from '../../lib/hooks/useVideoConf';
import { IText } from './interfaces'; import { IText } from './interfaces';
export const textParser = ([{ text }]: IText[]) => text; export const textParser = ([{ text }]: IText[]) => text;
@ -40,6 +40,7 @@ export const useBlockContext = ({ blockId, actionId, appId, initialValue }: IUse
const { action, appId: appIdFromContext, viewId, state, language, errors, values = {} } = useContext(KitContext); const { action, appId: appIdFromContext, viewId, state, language, errors, values = {} } = useContext(KitContext);
const { value = initialValue } = values[actionId] || {}; const { value = initialValue } = values[actionId] || {};
const [loading, setLoading] = useState(false); const [loading, setLoading] = useState(false);
const { joinCall } = useVideoConf();
const error = errors && actionId && errors[actionId]; const error = errors && actionId && errors[actionId];
@ -57,7 +58,7 @@ export const useBlockContext = ({ blockId, actionId, appId, initialValue }: IUse
try { try {
if (appId === 'videoconf-core' && blockId) { if (appId === 'videoconf-core' && blockId) {
setLoading(false); setLoading(false);
return videoConfJoin(blockId); return joinCall(blockId);
} }
await action({ await action({
blockId, blockId,

View File

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

View File

@ -10,12 +10,12 @@ import { themes } from '../../lib/constants';
import { IMessageCallButton } from './interfaces'; import { IMessageCallButton } from './interfaces';
import { useTheme } from '../../theme'; import { useTheme } from '../../theme';
const CallButton = React.memo(({ handleEnterCall }: IMessageCallButton) => { const CallButton = React.memo(({ callJitsi }: IMessageCallButton) => {
const { theme } = useTheme(); const { theme } = useTheme();
return ( return (
<View style={styles.buttonContainer}> <View style={styles.buttonContainer}>
<Touchable <Touchable
onPress={handleEnterCall} onPress={callJitsi}
background={Touchable.Ripple(themes[theme].bannerBackground)} background={Touchable.Ripple(themes[theme].bannerBackground)}
style={[styles.button, { backgroundColor: themes[theme].tintColor }]} style={[styles.button, { backgroundColor: themes[theme].tintColor }]}
hitSlop={BUTTON_HIT_SLOP} hitSlop={BUTTON_HIT_SLOP}

View File

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

View File

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

View File

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

View File

@ -50,7 +50,7 @@ interface IMessageContainerProps {
showAttachment: (file: IAttachment) => void; showAttachment: (file: IAttachment) => void;
onReactionLongPress?: (item: TAnyMessageModel) => void; onReactionLongPress?: (item: TAnyMessageModel) => void;
navToRoomInfo: (navParam: IRoomInfoParam) => void; navToRoomInfo: (navParam: IRoomInfoParam) => void;
handleEnterCall?: () => void; callJitsi?: () => void;
blockAction?: (params: { actionId: string; appId: string; value: string; blockId: string; rid: string; mid: string }) => void; blockAction?: (params: { actionId: string; appId: string; value: string; blockId: string; rid: string; mid: string }) => void;
onAnswerButtonPress?: (message: string, tmid?: string, tshow?: boolean) => void; onAnswerButtonPress?: (message: string, tmid?: string, tshow?: boolean) => void;
threadBadgeColor?: string; threadBadgeColor?: string;
@ -69,6 +69,7 @@ class MessageContainer extends React.Component<IMessageContainerProps, IMessageC
static defaultProps = { static defaultProps = {
getCustomEmoji: () => null, getCustomEmoji: () => null,
onLongPress: () => {}, onLongPress: () => {},
callJitsi: () => {},
blockAction: () => {}, blockAction: () => {},
archived: false, archived: false,
broadcast: false, broadcast: false,
@ -337,7 +338,7 @@ class MessageContainer extends React.Component<IMessageContainerProps, IMessageC
navToRoomInfo, navToRoomInfo,
getCustomEmoji, getCustomEmoji,
isThreadRoom, isThreadRoom,
handleEnterCall, callJitsi,
blockAction, blockAction,
rid, rid,
threadBadgeColor, threadBadgeColor,
@ -455,7 +456,7 @@ class MessageContainer extends React.Component<IMessageContainerProps, IMessageC
showAttachment={showAttachment} showAttachment={showAttachment}
getCustomEmoji={getCustomEmoji} getCustomEmoji={getCustomEmoji}
navToRoomInfo={navToRoomInfo} navToRoomInfo={navToRoomInfo}
handleEnterCall={handleEnterCall} callJitsi={callJitsi}
blockAction={blockAction} blockAction={blockAction}
highlighted={highlighted} highlighted={highlighted}
comment={comment} comment={comment}

View File

@ -40,7 +40,7 @@ export interface IMessageBroadcast {
} }
export interface IMessageCallButton { export interface IMessageCallButton {
handleEnterCall?: () => void; callJitsi?: () => void;
} }
export interface IMessageContent { export interface IMessageContent {

View File

@ -4,34 +4,37 @@ import type { IRoom } from './IRoom';
import type { IUser } from './IUser'; import type { IUser } from './IUser';
import type { IMessage } from './IMessage'; import type { IMessage } from './IMessage';
export declare enum VideoConferenceStatus { export enum VideoConferenceStatus {
CALLING = 0, CALLING = 0,
STARTED = 1, STARTED = 1,
EXPIRED = 2, EXPIRED = 2,
ENDED = 3, ENDED = 3,
DECLINED = 4 DECLINED = 4
} }
export declare type DirectCallInstructions = {
export type DirectCallInstructions = {
type: 'direct'; type: 'direct';
calleeId: IUser['_id']; callee: IUser['_id'];
callId: string; callId: string;
}; };
export declare type ConferenceInstructions = {
export type ConferenceInstructions = {
type: 'videoconference'; type: 'videoconference';
callId: string; callId: string;
rid: IRoom['_id']; rid: IRoom['_id'];
}; };
export declare type LivechatInstructions = {
export type LivechatInstructions = {
type: 'livechat'; type: 'livechat';
callId: string; callId: string;
}; };
export declare type VideoConferenceType =
| DirectCallInstructions['type'] export type VideoConferenceType = DirectCallInstructions['type'] | ConferenceInstructions['type'] | LivechatInstructions['type'];
| ConferenceInstructions['type']
| LivechatInstructions['type'];
export interface IVideoConferenceUser extends Pick<Required<IUser>, '_id' | 'username' | 'name' | 'avatarETag'> { export interface IVideoConferenceUser extends Pick<Required<IUser>, '_id' | 'username' | 'name' | 'avatarETag'> {
ts: Date; ts: Date;
} }
export interface IVideoConference extends IRocketChatRecord { export interface IVideoConference extends IRocketChatRecord {
type: VideoConferenceType; type: VideoConferenceType;
rid: string; rid: string;
@ -42,68 +45,51 @@ export interface IVideoConference extends IRocketChatRecord {
ended?: IMessage['_id']; ended?: IMessage['_id'];
}; };
url?: string; url?: string;
createdBy: Pick<Required<IUser>, '_id' | 'username' | 'name'>;
createdBy: Pick<IUser, '_id' | 'username' | 'name'>;
createdAt: Date; createdAt: Date;
endedBy?: Pick<Required<IUser>, '_id' | 'username' | 'name'>;
endedBy?: Pick<IUser, '_id' | 'username' | 'name'>;
endedAt?: Date; endedAt?: Date;
providerName: string; providerName: string;
providerData?: Record<string, any>; providerData?: Record<string, any>;
ringing?: boolean; ringing?: boolean;
} }
export interface IDirectVideoConference extends IVideoConference { export interface IDirectVideoConference extends IVideoConference {
type: 'direct'; type: 'direct';
} }
export interface IGroupVideoConference extends IVideoConference { export interface IGroupVideoConference extends IVideoConference {
type: 'videoconference'; type: 'videoconference';
anonymousUsers: number; anonymousUsers: number;
title: string; title: string;
} }
export interface ILivechatVideoConference extends IVideoConference { export interface ILivechatVideoConference extends IVideoConference {
type: 'livechat'; type: 'livechat';
} }
export declare type VideoConference = IDirectVideoConference | IGroupVideoConference | ILivechatVideoConference;
export declare type VideoConferenceInstructions = DirectCallInstructions | ConferenceInstructions | LivechatInstructions; export type VideoConference = IDirectVideoConference | IGroupVideoConference | ILivechatVideoConference;
export declare const isDirectVideoConference: (call: VideoConference | undefined | null) => call is IDirectVideoConference;
export declare const isGroupVideoConference: (call: VideoConference | undefined | null) => call is IGroupVideoConference; export type VideoConferenceInstructions = DirectCallInstructions | ConferenceInstructions | LivechatInstructions;
export declare const isLivechatVideoConference: (call: VideoConference | undefined | null) => call is ILivechatVideoConference;
declare type GroupVideoConferenceCreateData = Omit<IGroupVideoConference, 'createdBy'> & { export const isDirectVideoConference = (call: VideoConference | undefined | null): call is IDirectVideoConference =>
createdBy: IUser['_id']; call?.type === 'direct';
};
declare type DirectVideoConferenceCreateData = Omit<IDirectVideoConference, 'createdBy'> & { export const isGroupVideoConference = (call: VideoConference | undefined | null): call is IGroupVideoConference =>
createdBy: IUser['_id']; call?.type === 'videoconference';
};
declare type LivechatVideoConferenceCreateData = Omit<ILivechatVideoConference, 'createdBy'> & { export const isLivechatVideoConference = (call: VideoConference | undefined | null): call is ILivechatVideoConference =>
createdBy: IUser['_id']; call?.type === 'livechat';
};
export declare type VideoConferenceCreateData = AtLeast< type GroupVideoConferenceCreateData = Omit<IGroupVideoConference, 'createdBy'> & { createdBy: IUser['_id'] };
type DirectVideoConferenceCreateData = Omit<IDirectVideoConference, 'createdBy'> & { createdBy: IUser['_id'] };
type LivechatVideoConferenceCreateData = Omit<ILivechatVideoConference, 'createdBy'> & { createdBy: IUser['_id'] };
export type VideoConferenceCreateData = AtLeast<
DirectVideoConferenceCreateData | GroupVideoConferenceCreateData | LivechatVideoConferenceCreateData, DirectVideoConferenceCreateData | GroupVideoConferenceCreateData | LivechatVideoConferenceCreateData,
'createdBy' | 'type' | 'rid' | 'providerName' | 'providerData' 'createdBy' | 'type' | 'rid' | 'providerName' | 'providerData'
>; >;
export type VideoConferenceCapabilities = {
mic?: boolean;
cam?: boolean;
title?: boolean;
};
export type VideoConfStartProps = { roomId: string; title?: string; allowRinging?: boolean };
export type VideoConfJoinProps = {
callId: string;
state?: {
mic?: boolean;
cam?: boolean;
};
};
export type VideoConfCancelProps = {
callId: string;
};
export type VideoConfListProps = {
roomId: string;
count?: number;
offset?: number;
};
export type VideoConfInfoProps = { callId: string };

View File

@ -1,45 +1,27 @@
import { import { VideoConference } from '../../IVideoConference';
VideoConfCancelProps,
VideoConference,
VideoConferenceCapabilities,
VideoConferenceInstructions,
VideoConfInfoProps,
VideoConfJoinProps,
VideoConfListProps,
VideoConfStartProps
} from '../../IVideoConference';
import { PaginatedResult } from '../helpers/PaginatedResult';
export type VideoConferenceEndpoints = { export type VideoConferenceEndpoints = {
'video-conference.start': {
POST: (params: VideoConfStartProps) => { data: VideoConferenceInstructions & { providerName: string } };
};
'video-conference.join': {
POST: (params: VideoConfJoinProps) => { url: string; providerName: string };
};
'video-conference.cancel': {
POST: (params: VideoConfCancelProps) => void;
};
'video-conference.info': {
GET: (params: VideoConfInfoProps) => VideoConference & { capabilities: VideoConferenceCapabilities };
};
'video-conference.list': {
GET: (params: VideoConfListProps) => PaginatedResult<{ data: VideoConference[] }>;
};
'video-conference.capabilities': {
GET: () => { providerName: string; capabilities: VideoConferenceCapabilities };
};
'video-conference.providers': {
GET: () => { data: { key: string; label: string }[] };
};
'video-conference/jitsi.update-timeout': { 'video-conference/jitsi.update-timeout': {
POST: (params: { roomId: string }) => void; POST: (params: { roomId: string }) => void;
}; };
'video-conference.join': {
POST: (params: { callId: string; state: { cam: boolean } }) => { url: string; providerName: string };
};
'video-conference.start': {
POST: (params: { roomId: string }) => { url: string };
};
'video-conference.cancel': {
POST: (params: { callId: string }) => void;
};
'video-conference.info': {
GET: (params: { callId: string }) => VideoConference & {
capabilities: {
mic?: boolean;
cam?: boolean;
title?: boolean;
};
};
};
}; };

View File

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

View File

@ -877,18 +877,6 @@
"Reply_in_direct_message": "Reply in Direct Message", "Reply_in_direct_message": "Reply in Direct Message",
"room_archived": "archived room", "room_archived": "archived room",
"room_unarchived": "unarchived room", "room_unarchived": "unarchived room",
"no-videoconf-provider-app-header": "Conference call not available",
"no-videoconf-provider-app-body": "Conference call apps can be installed in the Rocket.Chat marketplace by a workspace admin.",
"admin-no-videoconf-provider-app-header": "Conference call not enabled",
"admin-no-videoconf-provider-app-body": "Conference call apps are available in the Rocket.Chat marketplace.",
"no-active-video-conf-provider-header": "Conference call not enabled",
"no-active-video-conf-provider-body": "A workspace admin needs to enable the conference call feature first.",
"admin-no-active-video-conf-provider-header": "Conference call not enabled",
"admin-no-active-video-conf-provider-body": "Configure conference calls in order to make it available on this workspace.",
"video-conf-provider-not-configured-header": "Conference call not enabled",
"video-conf-provider-not-configured-body": "A workspace admin needs to enable the conference calls feature first.",
"admin-video-conf-provider-not-configured-header": "Conference call not enabled",
"admin-video-conf-provider-not-configured-body": "Configure conference calls in order to make it available on this workspace.",
"Presence_Cap_Warning_Title": "User status temporarily disabled", "Presence_Cap_Warning_Title": "User status temporarily disabled",
"Presence_Cap_Warning_Description": "Active connections have reached the limit for the workspace, thus the service that handles user status is disabled. It can be re-enabled manually in workspace settings.", "Presence_Cap_Warning_Description": "Active connections have reached the limit for the workspace, thus the service that handles user status is disabled. It can be re-enabled manually in workspace settings.",
"Learn_more": "Learn more" "Learn_more": "Learn more"

View File

@ -0,0 +1,27 @@
import { useCallback } from 'react';
import { TActionSheetOptionsItem, useActionSheet } from '../../containers/ActionSheet';
import i18n from '../../i18n';
import { videoConfJoin } from '../methods/videoConf';
export const useVideoConf = (): { joinCall: (blockId: string) => void } => {
const { showActionSheet } = useActionSheet();
const joinCall = useCallback(blockId => {
const options: TActionSheetOptionsItem[] = [
{
title: i18n.t('Video_call'),
icon: 'camera',
onPress: () => videoConfJoin(blockId, true)
},
{
title: i18n.t('Voice_call'),
icon: 'microphone',
onPress: () => videoConfJoin(blockId, false)
}
];
showActionSheet({ options });
}, []);
return { joinCall };
};

View File

@ -1,113 +0,0 @@
import React, { useEffect, useState } from 'react';
import { Q } from '@nozbe/watermelondb';
import { useActionSheet } from '../../containers/ActionSheet';
import StartACallActionSheet from '../../containers/UIKit/VideoConferenceBlock/components/StartACallActionSheet';
import { ISubscription, SubscriptionType, TSubscriptionModel } from '../../definitions';
import i18n from '../../i18n';
import { getUserSelector } from '../../selectors/login';
import database from '../database';
import { getSubscriptionByRoomId } from '../database/services/Subscription';
import { callJitsi } from '../methods';
import { compareServerVersion, showErrorAlert } from '../methods/helpers';
import { videoConfStartAndJoin } from '../methods/videoConf';
import { Services } from '../services';
import { useAppSelector } from './useAppSelector';
import { useSnaps } from './useSnaps';
const availabilityErrors = {
NOT_CONFIGURED: 'video-conf-provider-not-configured',
NOT_ACTIVE: 'no-active-video-conf-provider',
NO_APP: 'no-videoconf-provider-app'
} as const;
const handleErrors = (isAdmin: boolean, error: typeof availabilityErrors[keyof typeof availabilityErrors]) => {
if (isAdmin) return showErrorAlert(i18n.t(`admin-${error}-body`), i18n.t(`admin-${error}-header`));
return showErrorAlert(i18n.t(`${error}-body`), i18n.t(`${error}-header`));
};
export const useVideoConf = (rid: string): { showInitCallActionSheet: () => Promise<void>; showCallOption: boolean } => {
const [showCallOption, setShowCallOption] = useState(false);
const serverVersion = useAppSelector(state => state.server.version);
const jitsiEnabled = useAppSelector(state => state.settings.Jitsi_Enabled);
const jitsiEnableTeams = useAppSelector(state => state.settings.Jitsi_Enable_Teams);
const jitsiEnableChannels = useAppSelector(state => state.settings.Jitsi_Enable_Channels);
const user = useAppSelector(state => getUserSelector(state));
const isServer5OrNewer = compareServerVersion(serverVersion, 'greaterThanOrEqualTo', '5.0.0');
const { showActionSheet } = useActionSheet();
const snaps = useSnaps([1250]);
const handleShowCallOption = (room: TSubscriptionModel) => {
if (isServer5OrNewer) return setShowCallOption(true);
const isJitsiDisabledForTeams = room.teamMain && !jitsiEnableTeams;
const isJitsiDisabledForChannels = !room.teamMain && (room.t === 'p' || room.t === 'c') && !jitsiEnableChannels;
if (room.t === SubscriptionType.DIRECT) return setShowCallOption(!!jitsiEnabled);
if (room.t === SubscriptionType.CHANNEL) return setShowCallOption(!isJitsiDisabledForChannels);
if (room.t === SubscriptionType.GROUP) return setShowCallOption(!isJitsiDisabledForTeams);
return setShowCallOption(false);
};
const canInitAnCall = async () => {
if (isServer5OrNewer) {
try {
await Services.videoConferenceGetCapabilities();
return true;
} catch (error: any) {
const isAdmin = !!['admin'].find(role => user.roles?.includes(role));
switch (error?.error) {
case availabilityErrors.NOT_CONFIGURED:
return handleErrors(isAdmin, availabilityErrors.NOT_CONFIGURED);
case availabilityErrors.NOT_ACTIVE:
return handleErrors(isAdmin, availabilityErrors.NOT_ACTIVE);
case availabilityErrors.NO_APP:
return handleErrors(isAdmin, availabilityErrors.NO_APP);
default:
return handleErrors(isAdmin, availabilityErrors.NOT_CONFIGURED);
}
}
}
return true;
};
const initCall = async ({ cam, mic }: { cam: boolean; mic: boolean }) => {
if (isServer5OrNewer) return videoConfStartAndJoin({ rid, cam, mic });
const room = (await getSubscriptionByRoomId(rid)) as ISubscription;
callJitsi({ room, cam });
};
const showInitCallActionSheet = async () => {
const canInit = await canInitAnCall();
if (canInit) {
showActionSheet({
children: <StartACallActionSheet rid={rid} initCall={initCall} />,
snaps
});
}
};
const initSubscription = () => {
try {
const db = database.active;
const observeSubCollection = db.get('subscriptions').query(Q.where('rid', rid)).observe();
const subObserveQuery = observeSubCollection.subscribe(data => {
if (data[0]) {
handleShowCallOption(data[0]);
subObserveQuery.unsubscribe();
}
});
} catch (e) {
console.log("observeSubscriptions: Can't find subscription to observe");
}
};
useEffect(() => {
initSubscription();
}, []);
return { showInitCallActionSheet, showCallOption };
};

View File

@ -46,8 +46,8 @@ export function callJitsiWithoutServer(path: string): void {
Navigation.navigate('JitsiMeetView', { url, onlyAudio: false }); Navigation.navigate('JitsiMeetView', { url, onlyAudio: false });
} }
export async function callJitsi({ room, cam = false }: { room: ISubscription; cam?: boolean }): Promise<void> { export async function callJitsi(room: ISubscription, onlyAudio = false): Promise<void> {
logEvent(cam ? events.RA_JITSI_AUDIO : events.RA_JITSI_VIDEO); logEvent(onlyAudio ? events.RA_JITSI_AUDIO : events.RA_JITSI_VIDEO);
const url = await jitsiURL({ room }); const url = await jitsiURL({ room });
Navigation.navigate('JitsiMeetView', { url, onlyAudio: cam, rid: room?.rid }); Navigation.navigate('JitsiMeetView', { url, onlyAudio, rid: room?.rid });
} }

View File

@ -1,7 +1,5 @@
import { Alert, Linking } from 'react-native'; import { Alert, Linking } from 'react-native';
import AsyncStorage from '@react-native-async-storage/async-storage'; 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 I18n from '../../../i18n';
import { isFDroidBuild, STORE_REVIEW_LINK } from '../../constants'; import { isFDroidBuild, STORE_REVIEW_LINK } from '../../constants';
@ -88,15 +86,14 @@ class ReviewApp {
positiveEventCount = 0; positiveEventCount = 0;
pushPositiveEvent = () => { pushPositiveEvent = () => {
if (isFDroidBuild || RUNNING_E2E_TESTS === 'true') { if (!isFDroidBuild) {
return; if (this.positiveEventCount >= numberOfPositiveEvent) {
} return;
if (this.positiveEventCount >= numberOfPositiveEvent) { }
return; this.positiveEventCount += 1;
} if (this.positiveEventCount === numberOfPositiveEvent) {
this.positiveEventCount += 1; tryReview();
if (this.positiveEventCount === numberOfPositiveEvent) { }
tryReview();
} }
}; };
} }

View File

@ -19,9 +19,9 @@ const handleBltPermission = async (): Promise<Permission[]> => {
return [PermissionsAndroid.PERMISSIONS.ACCESS_COARSE_LOCATION]; return [PermissionsAndroid.PERMISSIONS.ACCESS_COARSE_LOCATION];
}; };
export const videoConfJoin = async (callId: string, cam?: boolean, mic?: boolean): Promise<void> => { export const videoConfJoin = async (callId: string, cam: boolean) => {
try { try {
const result = await Services.videoConferenceJoin(callId, cam, mic); const result = await Services.videoConferenceJoin(callId, cam);
if (result.success) { if (result.success) {
if (isAndroid) { if (isAndroid) {
const bltPermission = await handleBltPermission(); const bltPermission = await handleBltPermission();
@ -44,11 +44,11 @@ export const videoConfJoin = async (callId: string, cam?: boolean, mic?: boolean
} }
}; };
export const videoConfStartAndJoin = async ({ rid, cam, mic }: { rid: string; cam?: boolean; mic?: boolean }): Promise<void> => { export const videoConfStartAndJoin = async (rid: string, cam: boolean) => {
try { try {
const videoConfResponse = await Services.videoConferenceStart(rid); const videoConfResponse: any = await Services.videoConferenceStart(rid);
if (videoConfResponse.success) { if (videoConfResponse.success) {
videoConfJoin(videoConfResponse.data.callId, cam, mic); videoConfJoin(videoConfResponse.data.callId, cam);
} }
} catch (e) { } catch (e) {
showErrorAlert(i18n.t('error-init-video-conf')); showErrorAlert(i18n.t('error-init-video-conf'));

View File

@ -1,27 +0,0 @@
import BackgroundTimer from 'react-native-background-timer';
import { Services } from '../services';
let interval: number | null = null;
export const initVideoConfTimer = (rid: string): void => {
if (rid) {
Services.updateJitsiTimeout(rid).catch((e: unknown) => console.log(e));
if (interval) {
BackgroundTimer.clearInterval(interval);
BackgroundTimer.stopBackgroundTimer();
interval = null;
}
interval = BackgroundTimer.setInterval(() => {
Services.updateJitsiTimeout(rid).catch((e: unknown) => console.log(e));
}, 10000);
}
};
export const endVideoConfTimer = (): void => {
if (interval) {
BackgroundTimer.clearInterval(interval);
interval = null;
BackgroundTimer.stopBackgroundTimer();
}
};

View File

@ -936,10 +936,8 @@ export function getUserInfo(userId: string) {
export const toggleFavorite = (roomId: string, favorite: boolean) => sdk.post('rooms.favorite', { roomId, favorite }); export const toggleFavorite = (roomId: string, favorite: boolean) => sdk.post('rooms.favorite', { roomId, favorite });
export const videoConferenceJoin = (callId: string, cam?: boolean, mic?: boolean) => export const videoConferenceJoin = (callId: string, cam: boolean) =>
sdk.post('video-conference.join', { callId, state: { cam: !!cam, mic: mic === undefined ? true : mic } }); sdk.post('video-conference.join', { callId, state: { cam } });
export const videoConferenceGetCapabilities = () => sdk.get('video-conference.capabilities');
export const videoConferenceStart = (roomId: string) => sdk.post('video-conference.start', { roomId }); export const videoConferenceStart = (roomId: string) => sdk.post('video-conference.start', { roomId });

View File

@ -3,7 +3,7 @@ import { PermissionsAndroid, StyleSheet, View } from 'react-native';
import { connect } from 'react-redux'; import { connect } from 'react-redux';
import { StackNavigationOptions, StackNavigationProp } from '@react-navigation/stack'; import { StackNavigationOptions, StackNavigationProp } from '@react-navigation/stack';
import { RouteProp } from '@react-navigation/native'; import { RouteProp } from '@react-navigation/native';
import CameraRoll from '@react-native-community/cameraroll'; import CameraRoll from '@react-native-camera-roll/camera-roll';
import * as mime from 'react-native-mime-types'; import * as mime from 'react-native-mime-types';
import RNFetchBlob from 'rn-fetch-blob'; import RNFetchBlob from 'rn-fetch-blob';
import { Video, ResizeMode } from 'expo-av'; import { Video, ResizeMode } from 'expo-av';

View File

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

View File

@ -1,13 +1,14 @@
import { activateKeepAwake, deactivateKeepAwake } from 'expo-keep-awake';
import React from 'react'; import React from 'react';
import { BackHandler, NativeEventSubscription } from 'react-native'; import { BackHandler, NativeEventSubscription } from 'react-native';
import BackgroundTimer from 'react-native-background-timer';
import { isAppInstalled, openAppWithUri } from 'react-native-send-intent'; import { isAppInstalled, openAppWithUri } from 'react-native-send-intent';
import WebView from 'react-native-webview'; import WebView from 'react-native-webview';
import { WebViewMessage, WebViewNavigation } from 'react-native-webview/lib/WebViewTypes'; import { WebViewMessage, WebViewNavigation } from 'react-native-webview/lib/WebViewTypes';
import { activateKeepAwake, deactivateKeepAwake } from 'expo-keep-awake';
import { IBaseScreen } from '../definitions'; import { IBaseScreen } from '../definitions';
import { events, logEvent } from '../lib/methods/helpers/log'; import { events, logEvent } from '../lib/methods/helpers/log';
import { endVideoConfTimer, initVideoConfTimer } from '../lib/methods/videoConfTimer'; import { Services } from '../lib/services';
import { ChatsStackParamList } from '../stacks/types'; import { ChatsStackParamList } from '../stacks/types';
import { withTheme } from '../theme'; import { withTheme } from '../theme';
@ -19,6 +20,7 @@ class JitsiMeetView extends React.Component<TJitsiMeetViewProps> {
private rid: string; private rid: string;
private url: string; private url: string;
private videoConf: boolean; private videoConf: boolean;
private jitsiTimeout: number | null;
private backHandler!: NativeEventSubscription; private backHandler!: NativeEventSubscription;
constructor(props: TJitsiMeetViewProps) { constructor(props: TJitsiMeetViewProps) {
@ -26,6 +28,7 @@ class JitsiMeetView extends React.Component<TJitsiMeetViewProps> {
this.rid = props.route.params?.rid; this.rid = props.route.params?.rid;
this.url = props.route.params?.url; this.url = props.route.params?.url;
this.videoConf = !!props.route.params?.videoConf; this.videoConf = !!props.route.params?.videoConf;
this.jitsiTimeout = null;
} }
componentDidMount() { componentDidMount() {
@ -47,8 +50,10 @@ class JitsiMeetView extends React.Component<TJitsiMeetViewProps> {
componentWillUnmount() { componentWillUnmount() {
logEvent(this.videoConf ? events.LIVECHAT_VIDEOCONF_TERMINATE : events.JM_CONFERENCE_TERMINATE); logEvent(this.videoConf ? events.LIVECHAT_VIDEOCONF_TERMINATE : events.JM_CONFERENCE_TERMINATE);
if (!this.videoConf) { if (this.jitsiTimeout && !this.videoConf) {
endVideoConfTimer(); BackgroundTimer.clearInterval(this.jitsiTimeout);
this.jitsiTimeout = null;
BackgroundTimer.stopBackgroundTimer();
} }
this.backHandler.remove(); this.backHandler.remove();
deactivateKeepAwake(); deactivateKeepAwake();
@ -59,7 +64,15 @@ class JitsiMeetView extends React.Component<TJitsiMeetViewProps> {
onConferenceJoined = () => { onConferenceJoined = () => {
logEvent(this.videoConf ? events.LIVECHAT_VIDEOCONF_JOIN : events.JM_CONFERENCE_JOIN); logEvent(this.videoConf ? events.LIVECHAT_VIDEOCONF_JOIN : events.JM_CONFERENCE_JOIN);
if (this.rid && !this.videoConf) { if (this.rid && !this.videoConf) {
initVideoConfTimer(this.rid); Services.updateJitsiTimeout(this.rid).catch((e: unknown) => console.log(e));
if (this.jitsiTimeout) {
BackgroundTimer.clearInterval(this.jitsiTimeout);
BackgroundTimer.stopBackgroundTimer();
this.jitsiTimeout = null;
}
this.jitsiTimeout = BackgroundTimer.setInterval(() => {
Services.updateJitsiTimeout(this.rid).catch((e: unknown) => console.log(e));
}, 10000);
} }
}; };
@ -77,7 +90,7 @@ class JitsiMeetView extends React.Component<TJitsiMeetViewProps> {
render() { render() {
return ( return (
<WebView <WebView
source={{ uri: `${this.url}${this.url.includes('#config') ? '&' : '#'}config.disableDeepLinking=true` }} source={{ uri: `${this.url}&config.disableDeepLinking=true` }}
onMessage={({ nativeEvent }) => this.onNavigationStateChange(nativeEvent)} onMessage={({ nativeEvent }) => this.onNavigationStateChange(nativeEvent)}
onNavigationStateChange={this.onNavigationStateChange} onNavigationStateChange={this.onNavigationStateChange}
style={{ flex: 1 }} style={{ flex: 1 }}

View File

@ -9,7 +9,6 @@ import { useAppSelector } from '../lib/hooks';
import { events, logEvent } from '../lib/methods/helpers/log'; import { events, logEvent } from '../lib/methods/helpers/log';
import { getUserSelector } from '../selectors/login'; import { getUserSelector } from '../selectors/login';
import { ChatsStackParamList } from '../stacks/types'; import { ChatsStackParamList } from '../stacks/types';
import { endVideoConfTimer, initVideoConfTimer } from '../lib/methods/videoConfTimer';
const formatUrl = (url: string, baseUrl: string, uriSize: number, avatarAuthURLFragment: string) => const formatUrl = (url: string, baseUrl: string, uriSize: number, avatarAuthURLFragment: string) =>
`${baseUrl}/avatar/${url}?format=png&width=${uriSize}&height=${uriSize}${avatarAuthURLFragment}`; `${baseUrl}/avatar/${url}?format=png&width=${uriSize}&height=${uriSize}${avatarAuthURLFragment}`;
@ -17,7 +16,7 @@ const formatUrl = (url: string, baseUrl: string, uriSize: number, avatarAuthURLF
const JitsiMeetView = (): React.ReactElement => { const JitsiMeetView = (): React.ReactElement => {
const { goBack } = useNavigation(); const { goBack } = useNavigation();
const { const {
params: { url, onlyAudio, videoConf, rid } params: { url, onlyAudio, videoConf }
} = useRoute<RouteProp<ChatsStackParamList, 'JitsiMeetView'>>(); } = useRoute<RouteProp<ChatsStackParamList, 'JitsiMeetView'>>();
const user = useAppSelector(state => getUserSelector(state)); const user = useAppSelector(state => getUserSelector(state));
const baseUrl = useAppSelector(state => state.server.server); const baseUrl = useAppSelector(state => state.server.server);
@ -61,10 +60,8 @@ const JitsiMeetView = (): React.ReactElement => {
} }
}; };
logEvent(videoConf ? events.LIVECHAT_VIDEOCONF_JOIN : events.JM_CONFERENCE_JOIN); logEvent(videoConf ? events.LIVECHAT_VIDEOCONF_JOIN : events.JM_CONFERENCE_JOIN);
if (!videoConf) initVideoConfTimer(rid);
await JitsiMeet.launchJitsiMeetView(conferenceOptions); await JitsiMeet.launchJitsiMeetView(conferenceOptions);
logEvent(videoConf ? events.LIVECHAT_VIDEOCONF_TERMINATE : events.JM_CONFERENCE_TERMINATE); logEvent(videoConf ? events.LIVECHAT_VIDEOCONF_TERMINATE : events.JM_CONFERENCE_TERMINATE);
if (!videoConf) endVideoConfTimer();
goBack(); goBack();
}; };

View File

@ -1,25 +0,0 @@
import React from 'react';
import * as List from '../../../containers/List';
import i18n from '../../../i18n';
import { useVideoConf } from '../../../lib/hooks/useVideoConf';
export default function CallSection({ rid }: { rid: string }): React.ReactElement | null {
const { showCallOption, showInitCallActionSheet } = useVideoConf(rid);
if (showCallOption)
return (
<List.Section>
<List.Separator />
<List.Item
title={i18n.t('Call')}
onPress={showInitCallActionSheet}
testID='room-actions-call'
left={() => <List.Icon name='phone' />}
showActionIndicator
/>
<List.Separator />
</List.Section>
);
return null;
}

View File

@ -33,7 +33,7 @@ import sharedStyles from '../Styles';
import styles from './styles'; import styles from './styles';
import { ERoomType } from '../../definitions/ERoomType'; import { ERoomType } from '../../definitions/ERoomType';
import { E2E_ROOM_TYPES, SWITCH_TRACK_COLOR, themes } from '../../lib/constants'; import { E2E_ROOM_TYPES, SWITCH_TRACK_COLOR, themes } from '../../lib/constants';
import { getPermalinkChannel } from '../../lib/methods'; import { callJitsi, getPermalinkChannel } from '../../lib/methods';
import { import {
canAutoTranslate as canAutoTranslateMethod, canAutoTranslate as canAutoTranslateMethod,
getRoomAvatar, getRoomAvatar,
@ -48,9 +48,9 @@ import { getSubscriptionByRoomId } from '../../lib/database/services/Subscriptio
import { IActionSheetProvider, withActionSheet } from '../../containers/ActionSheet'; import { IActionSheetProvider, withActionSheet } from '../../containers/ActionSheet';
import { MasterDetailInsideStackParamList } from '../../stacks/MasterDetailStack/types'; import { MasterDetailInsideStackParamList } from '../../stacks/MasterDetailStack/types';
import { closeLivechat } from '../../lib/methods/helpers/closeLivechat'; import { closeLivechat } from '../../lib/methods/helpers/closeLivechat';
import { videoConfStartAndJoin } from '../../lib/methods/videoConf';
import { ILivechatDepartment } from '../../definitions/ILivechatDepartment'; import { ILivechatDepartment } from '../../definitions/ILivechatDepartment';
import { ILivechatTag } from '../../definitions/ILivechatTag'; import { ILivechatTag } from '../../definitions/ILivechatTag';
import CallSection from './components/CallSection';
interface IOnPressTouch { interface IOnPressTouch {
<T extends keyof ChatsStackParamList>(item: { route?: T; params?: ChatsStackParamList[T]; event?: Function }): void; <T extends keyof ChatsStackParamList>(item: { route?: T; params?: ChatsStackParamList[T]; event?: Function }): void;
@ -730,6 +730,16 @@ class RoomActionsView extends React.Component<IRoomActionsViewProps, IRoomAction
} }
}; };
startVideoConf = ({ video }: { video: boolean }): void => {
const { room } = this.state;
const { serverVersion } = this.props;
if (compareServerVersion(serverVersion, 'greaterThanOrEqualTo', '5.0.0')) {
videoConfStartAndJoin(room.rid, video);
} else {
callJitsi(room, !video);
}
};
renderRoomInfo = () => { renderRoomInfo = () => {
const { room, member } = this.state; const { room, member } = this.state;
const { rid, name, t, topic, source } = room; const { rid, name, t, topic, source } = room;
@ -805,6 +815,63 @@ class RoomActionsView extends React.Component<IRoomActionsViewProps, IRoomAction
); );
}; };
renderJitsi = () => {
const { room } = this.state;
const {
jitsiEnabled,
jitsiEnableTeams,
jitsiEnableChannels,
serverVersion,
videoConf_Enable_DMs,
videoConf_Enable_Channels,
videoConf_Enable_Groups,
videoConf_Enable_Teams
} = this.props;
const isJitsiDisabledForTeams = room.teamMain && !jitsiEnableTeams;
const isJitsiDisabledForChannels = !room.teamMain && (room.t === 'p' || room.t === 'c') && !jitsiEnableChannels;
const isVideoConfDisabledForTeams = !!room.teamMain && !videoConf_Enable_Teams;
const isVideoConfDisabledForChannels = !room.teamMain && room.t === 'c' && !videoConf_Enable_Channels;
const isVideoConfDisabledForGroups = !room.teamMain && room.t === 'p' && !videoConf_Enable_Groups;
const isVideoConfDisabledForDirect = !room.teamMain && room.t === 'd' && !videoConf_Enable_DMs;
if (compareServerVersion(serverVersion, 'greaterThanOrEqualTo', '5.0.0')) {
if (
isVideoConfDisabledForTeams ||
isVideoConfDisabledForChannels ||
isVideoConfDisabledForGroups ||
isVideoConfDisabledForDirect
) {
return null;
}
} else if (!jitsiEnabled || isJitsiDisabledForTeams || isJitsiDisabledForChannels) {
return null;
}
return (
<List.Section>
<List.Separator />
<List.Item
title='Voice_call'
onPress={() => this.startVideoConf({ video: false })}
testID='room-actions-voice'
left={() => <List.Icon name='phone' />}
showActionIndicator
/>
<List.Separator />
<List.Item
title='Video_call'
onPress={() => this.startVideoConf({ video: true })}
testID='room-actions-video'
left={() => <List.Icon name='camera' />}
showActionIndicator
/>
<List.Separator />
</List.Section>
);
};
renderE2EEncryption = () => { renderE2EEncryption = () => {
const { room } = this.state; const { room } = this.state;
const { encryptionEnabled } = this.props; const { encryptionEnabled } = this.props;
@ -1041,7 +1108,7 @@ class RoomActionsView extends React.Component<IRoomActionsViewProps, IRoomAction
<StatusBar /> <StatusBar />
<List.Container testID='room-actions-scrollview'> <List.Container testID='room-actions-scrollview'>
{this.renderRoomInfo()} {this.renderRoomInfo()}
<CallSection rid={rid} /> {this.renderJitsi()}
{this.renderE2EEncryption()} {this.renderE2EEncryption()}
<List.Section> <List.Section>
<List.Separator /> <List.Separator />
@ -1232,6 +1299,13 @@ class RoomActionsView extends React.Component<IRoomActionsViewProps, IRoomAction
const mapStateToProps = (state: IApplicationState) => ({ const mapStateToProps = (state: IApplicationState) => ({
userId: getUserSelector(state).id, userId: getUserSelector(state).id,
jitsiEnabled: (state.settings.Jitsi_Enabled || false) as boolean,
jitsiEnableTeams: (state.settings.Jitsi_Enable_Teams || false) as boolean,
jitsiEnableChannels: (state.settings.Jitsi_Enable_Channels || false) as boolean,
videoConf_Enable_DMs: (state.settings.VideoConf_Enable_DMs ?? true) as boolean,
videoConf_Enable_Channels: (state.settings.VideoConf_Enable_Channels ?? true) as boolean,
videoConf_Enable_Groups: (state.settings.VideoConf_Enable_Groups ?? true) as boolean,
videoConf_Enable_Teams: (state.settings.VideoConf_Enable_Teams ?? true) as boolean,
encryptionEnabled: state.encryption.enabled, encryptionEnabled: state.encryption.enabled,
serverVersion: state.server.version, serverVersion: state.server.version,
isMasterDetail: state.app.isMasterDetail, isMasterDetail: state.app.isMasterDetail,

View File

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

View File

@ -1,48 +0,0 @@
import React from 'react';
import { Text } from 'react-native';
import { BorderlessButton } from 'react-native-gesture-handler';
import { CustomIcon, TIconsName } from '../../../containers/CustomIcon';
import styles from '../styles';
import { useTheme } from '../../../theme';
import { useVideoConf } from '../../../lib/hooks/useVideoConf';
import i18n from '../../../i18n';
import { useAppSelector } from '../../../lib/hooks';
import { compareServerVersion } from '../../../lib/methods/helpers';
// TODO: change other icons on future
function UserInfoButton({
danger,
iconName,
onPress,
label,
showIcon
}: {
danger?: boolean;
iconName: TIconsName;
onPress?: (prop: any) => void;
label: string;
showIcon?: boolean;
}): React.ReactElement | null {
const { colors } = useTheme();
const color = danger ? colors.dangerColor : colors.actionTintColor;
if (showIcon)
return (
<BorderlessButton testID={`room-info-view-${iconName}`} onPress={onPress} style={styles.roomButton}>
<CustomIcon name={iconName} size={30} color={color} />
<Text style={[styles.roomButtonText, { color }]}>{label}</Text>
</BorderlessButton>
);
return null;
}
export function CallButton({ rid, isDirect }: { rid: string; isDirect: boolean }): React.ReactElement | null {
const { showCallOption, showInitCallActionSheet } = useVideoConf(rid);
const serverVersion = useAppSelector(state => state.server.version);
const greaterThanFive = compareServerVersion(serverVersion, 'greaterThanOrEqualTo', '5.0.0');
const showIcon = greaterThanFive ? showCallOption : showCallOption && isDirect;
return <UserInfoButton onPress={showInitCallActionSheet} iconName='phone' label={i18n.t('Call')} showIcon={showIcon} />;
}

View File

@ -1,43 +1,43 @@
import { CompositeNavigationProp, RouteProp } from '@react-navigation/native';
import { StackNavigationProp } from '@react-navigation/stack';
import isEmpty from 'lodash/isEmpty';
import React from 'react'; import React from 'react';
import { ScrollView, Text, View } from 'react-native'; import { ScrollView, Text, View } from 'react-native';
import { BorderlessButton } from 'react-native-gesture-handler'; import { BorderlessButton } from 'react-native-gesture-handler';
import { connect } from 'react-redux'; import { connect } from 'react-redux';
import { Observable, Subscription } from 'rxjs';
import UAParser from 'ua-parser-js'; import UAParser from 'ua-parser-js';
import isEmpty from 'lodash/isEmpty';
import { StackNavigationProp } from '@react-navigation/stack';
import { CompositeNavigationProp, RouteProp } from '@react-navigation/native';
import { Observable, Subscription } from 'rxjs';
import Avatar from '../../containers/Avatar';
import { CustomIcon, TIconsName } from '../../containers/CustomIcon'; import { CustomIcon, TIconsName } from '../../containers/CustomIcon';
import * as HeaderButton from '../../containers/HeaderButton';
import { MarkdownPreview } from '../../containers/markdown';
import RoomTypeIcon from '../../containers/RoomTypeIcon';
import SafeAreaView from '../../containers/SafeAreaView';
import Status from '../../containers/Status'; import Status from '../../containers/Status';
import StatusBar from '../../containers/StatusBar'; import Avatar from '../../containers/Avatar';
import { LISTENER } from '../../containers/Toast';
import { IApplicationState, ISubscription, IUser, SubscriptionType, TSubscriptionModel } from '../../definitions';
import { ILivechatVisitor } from '../../definitions/ILivechatVisitor';
import I18n from '../../i18n';
import { themes } from '../../lib/constants';
import { getSubscriptionByRoomId } from '../../lib/database/services/Subscription';
import { getRoomTitle, getUidDirectMessage, hasPermission } from '../../lib/methods/helpers';
import EventEmitter from '../../lib/methods/helpers/events';
import { goRoom } from '../../lib/methods/helpers/goRoom';
import { handleIgnore } from '../../lib/methods/helpers/handleIgnore';
import log, { events, logEvent } from '../../lib/methods/helpers/log';
import Navigation from '../../lib/navigation/appNavigation';
import { Services } from '../../lib/services';
import { MasterDetailInsideStackParamList } from '../../stacks/MasterDetailStack/types';
import { ChatsStackParamList } from '../../stacks/types';
import { TSupportedThemes, withTheme } from '../../theme';
import sharedStyles from '../Styles'; import sharedStyles from '../Styles';
import Channel from './Channel'; import RoomTypeIcon from '../../containers/RoomTypeIcon';
import { CallButton } from './components/UserInfoButton'; import I18n from '../../i18n';
import Direct from './Direct'; import * as HeaderButton from '../../containers/HeaderButton';
import StatusBar from '../../containers/StatusBar';
import log, { events, logEvent } from '../../lib/methods/helpers/log';
import { themes } from '../../lib/constants';
import { TSupportedThemes, withTheme } from '../../theme';
import { MarkdownPreview } from '../../containers/markdown';
import { LISTENER } from '../../containers/Toast';
import EventEmitter from '../../lib/methods/helpers/events';
import SafeAreaView from '../../containers/SafeAreaView';
import { goRoom } from '../../lib/methods/helpers/goRoom';
import Navigation from '../../lib/navigation/appNavigation';
import Livechat from './Livechat'; import Livechat from './Livechat';
import Channel from './Channel';
import Direct from './Direct';
import styles from './styles'; import styles from './styles';
import { ChatsStackParamList } from '../../stacks/types';
import { MasterDetailInsideStackParamList } from '../../stacks/MasterDetailStack/types';
import { SubscriptionType, TSubscriptionModel, ISubscription, IUser, IApplicationState } from '../../definitions';
import { ILivechatVisitor } from '../../definitions/ILivechatVisitor';
import { callJitsi } from '../../lib/methods';
import { getRoomTitle, getUidDirectMessage, hasPermission } from '../../lib/methods/helpers';
import { Services } from '../../lib/services';
import { getSubscriptionByRoomId } from '../../lib/database/services/Subscription';
import { handleIgnore } from '../../lib/methods/helpers/handleIgnore';
interface IGetRoomTitle { interface IGetRoomTitle {
room: ISubscription; room: ISubscription;
@ -386,6 +386,11 @@ class RoomInfoView extends React.Component<IRoomInfoViewProps, IRoomInfoViewStat
} }
}; };
videoCall = () => {
const { room } = this.state;
callJitsi(room);
};
handleBlockUser = async (rid: string, blocked: string, block: boolean) => { handleBlockUser = async (rid: string, blocked: string, block: boolean) => {
logEvent(events.RI_TOGGLE_BLOCK_USER); logEvent(events.RI_TOGGLE_BLOCK_USER);
try { try {
@ -420,7 +425,8 @@ class RoomInfoView extends React.Component<IRoomInfoViewProps, IRoomInfoViewStat
}; };
renderButtons = () => { renderButtons = () => {
const { roomFromRid, roomUser, room } = this.state; const { roomFromRid, roomUser } = this.state;
const { jitsiEnabled } = this.props;
const isFromDm = roomFromRid?.rid ? new RegExp(roomUser._id).test(roomFromRid.rid) : false; const isFromDm = roomFromRid?.rid ? new RegExp(roomUser._id).test(roomFromRid.rid) : false;
const isDirectFromSaved = this.isDirect && this.fromRid && roomFromRid; const isDirectFromSaved = this.isDirect && this.fromRid && roomFromRid;
@ -436,7 +442,9 @@ class RoomInfoView extends React.Component<IRoomInfoViewProps, IRoomInfoViewStat
return ( return (
<View style={styles.roomButtonsContainer}> <View style={styles.roomButtonsContainer}>
{this.renderButton(() => this.handleCreateDirectMessage(this.goRoom), 'message', I18n.t('Message'))} {this.renderButton(() => this.handleCreateDirectMessage(this.goRoom), 'message', I18n.t('Message'))}
<CallButton isDirect={this.isDirect} rid={room.rid} /> {jitsiEnabled && this.isDirect
? this.renderButton(() => this.handleCreateDirectMessage(this.videoCall), 'camera', I18n.t('Video_call'))
: null}
{isDirectFromSaved && !isFromDm && !isDmWithMyself {isDirectFromSaved && !isFromDm && !isDmWithMyself
? this.renderButton( ? this.renderButton(
() => handleIgnore(roomUser._id, !isIgnored, roomFromRid.rid), () => handleIgnore(roomUser._id, !isIgnored, roomFromRid.rid),

View File

@ -10,7 +10,8 @@ import * as HeaderButton from '../../containers/HeaderButton';
import database from '../../lib/database'; import database from '../../lib/database';
import { getUserSelector } from '../../selectors/login'; import { getUserSelector } from '../../selectors/login';
import { events, logEvent } from '../../lib/methods/helpers/log'; import { events, logEvent } from '../../lib/methods/helpers/log';
import { IApplicationState, ISubscription, SubscriptionType, TMessageModel, TSubscriptionModel } from '../../definitions'; import { isTeamRoom } from '../../lib/methods/helpers/room';
import { IApplicationState, SubscriptionType, TMessageModel, TSubscriptionModel } from '../../definitions';
import { ChatsStackParamList } from '../../stacks/types'; import { ChatsStackParamList } from '../../stacks/types';
import { TActionSheetOptionsItem } from '../../containers/ActionSheet'; import { TActionSheetOptionsItem } from '../../containers/ActionSheet';
import i18n from '../../i18n'; import i18n from '../../i18n';
@ -19,11 +20,12 @@ import { onHoldLivechat, returnLivechat } from '../../lib/services/restApi';
import { closeLivechat as closeLivechatService } from '../../lib/methods/helpers/closeLivechat'; import { closeLivechat as closeLivechatService } from '../../lib/methods/helpers/closeLivechat';
import { Services } from '../../lib/services'; import { Services } from '../../lib/services';
import { ILivechatDepartment } from '../../definitions/ILivechatDepartment'; import { ILivechatDepartment } from '../../definitions/ILivechatDepartment';
import HeaderCallButton from './components/HeaderCallButton';
interface IRightButtonsProps extends Pick<ISubscription, 't'> { interface IRightButtonsProps {
userId?: string; userId?: string;
threadsEnabled: boolean; threadsEnabled: boolean;
rid?: string;
t: string;
tmid?: string; tmid?: string;
teamId?: string; teamId?: string;
isMasterDetail: boolean; isMasterDetail: boolean;
@ -41,7 +43,6 @@ interface IRightButtonsProps extends Pick<ISubscription, 't'> {
livechatRequestComment: boolean; livechatRequestComment: boolean;
showActionSheet: Function; showActionSheet: Function;
departmentId?: string; departmentId?: string;
rid?: string;
} }
interface IRigthButtonsState { interface IRigthButtonsState {
@ -337,7 +338,7 @@ class RightButtonsContainer extends Component<IRightButtonsProps, IRigthButtonsS
render() { render() {
const { isFollowingThread, tunread, tunreadUser, tunreadGroup } = this.state; const { isFollowingThread, tunread, tunreadUser, tunreadGroup } = this.state;
const { t, tmid, threadsEnabled, rid } = this.props; const { t, tmid, threadsEnabled, teamId, joined } = this.props;
if (t === 'l') { if (t === 'l') {
if (!this.isOmnichannelPreview()) { if (!this.isOmnichannelPreview()) {
@ -362,7 +363,9 @@ class RightButtonsContainer extends Component<IRightButtonsProps, IRigthButtonsS
} }
return ( return (
<HeaderButton.Container> <HeaderButton.Container>
{rid ? <HeaderCallButton rid={rid} /> : null} {isTeamRoom({ teamId, joined }) ? (
<HeaderButton.Item iconName='channel-public' onPress={this.goTeamChannels} testID='room-view-header-team-channels' />
) : null}
{threadsEnabled ? ( {threadsEnabled ? (
<HeaderButton.Item <HeaderButton.Item
iconName='threads' iconName='threads'

View File

@ -1,12 +0,0 @@
import React from 'react';
import * as HeaderButton from '../../../containers/HeaderButton';
import { useVideoConf } from '../../../lib/hooks/useVideoConf';
export default function HeaderCallButton({ rid }: { rid: string }): React.ReactElement | null {
const { showInitCallActionSheet, showCallOption } = useVideoConf(rid);
if (showCallOption)
return <HeaderButton.Item iconName='phone' onPress={showInitCallActionSheet} testID='room-view-header-call' />;
return null;
}

View File

@ -627,7 +627,7 @@ class RoomView extends React.Component<IRoomViewProps, IRoomViewState> {
joined={joined} joined={joined}
status={room.status} status={room.status}
omnichannelPermissions={omnichannelPermissions} omnichannelPermissions={omnichannelPermissions}
t={(this.t || t) as SubscriptionType} t={this.t || t}
encrypted={encrypted} encrypted={encrypted}
navigation={navigation} navigation={navigation}
toggleFollowThread={this.toggleFollowThread} toggleFollowThread={this.toggleFollowThread}
@ -1197,11 +1197,6 @@ class RoomView extends React.Component<IRoomViewProps, IRoomViewState> {
if ('id' in item && item.t === E2E_MESSAGE_TYPE && item.e2e !== E2E_STATUS.DONE) { if ('id' in item && item.t === E2E_MESSAGE_TYPE && item.e2e !== E2E_STATUS.DONE) {
name = I18n.t('Encrypted_message'); name = I18n.t('Encrypted_message');
} }
if (!jumpToMessageId) {
setTimeout(() => {
sendLoadingEvent({ visible: false });
}, 300);
}
return navigation.push('RoomView', { return navigation.push('RoomView', {
rid: this.rid, rid: this.rid,
tmid: item.tmid, tmid: item.tmid,
@ -1234,15 +1229,14 @@ class RoomView extends React.Component<IRoomViewProps, IRoomViewState> {
}); });
}; };
// OLD METHOD - support versions before 5.0.0 handleCallJitsi = () => {
handleEnterCall = () => {
const { room } = this.state; const { room } = this.state;
if ('id' in room) { if ('id' in room) {
const { jitsiTimeout } = room; const { jitsiTimeout } = room;
if (jitsiTimeout && jitsiTimeout < new Date()) { if (jitsiTimeout && jitsiTimeout < new Date()) {
showErrorAlert(I18n.t('Call_already_ended')); showErrorAlert(I18n.t('Call_already_ended'));
} else { } else {
callJitsi({ room }); callJitsi(room);
} }
} }
}; };
@ -1388,7 +1382,7 @@ class RoomView extends React.Component<IRoomViewProps, IRoomViewState> {
autoTranslateLanguage={'id' in room ? room.autoTranslateLanguage : undefined} autoTranslateLanguage={'id' in room ? room.autoTranslateLanguage : undefined}
navToRoomInfo={this.navToRoomInfo} navToRoomInfo={this.navToRoomInfo}
getCustomEmoji={this.getCustomEmoji} getCustomEmoji={this.getCustomEmoji}
handleEnterCall={this.handleEnterCall} callJitsi={this.handleCallJitsi}
blockAction={this.blockAction} blockAction={this.blockAction}
threadBadgeColor={this.getBadgeColor(item?.id)} threadBadgeColor={this.getBadgeColor(item?.id)}
toggleFollowThread={this.toggleFollowThread} toggleFollowThread={this.toggleFollowThread}

View File

@ -1,11 +1,16 @@
import React from 'react'; import React from 'react';
import { StyleSheet, View } from 'react-native'; import { StyleSheet, Text, View } from 'react-native';
import { createImageProgress } from 'react-native-image-progress';
import * as Progress from 'react-native-progress';
import FastImage from 'react-native-fast-image'; import FastImage from 'react-native-fast-image';
import sharedStyles from '../Styles';
import { themes } from '../../lib/constants'; import { themes } from '../../lib/constants';
import { isTablet } from '../../lib/methods/helpers'; import { isTablet } from '../../lib/methods/helpers';
import { TSupportedThemes } from '../../theme'; import { TSupportedThemes } from '../../theme';
const ImageProgress = createImageProgress(FastImage);
const SIZE = 96; const SIZE = 96;
const MARGIN_TOP = isTablet ? 0 : 64; const MARGIN_TOP = isTablet ? 0 : 64;
const BORDER_RADIUS = 8; const BORDER_RADIUS = 8;
@ -22,20 +27,50 @@ const styles = StyleSheet.create({
width: SIZE, width: SIZE,
height: SIZE, height: SIZE,
borderRadius: BORDER_RADIUS 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 { interface IServerAvatar {
theme: TSupportedThemes; theme: TSupportedThemes;
url: string; url: string;
image: string; image: string;
} }
// TODO: missing skeleton
const ServerAvatar = React.memo(({ theme, url, image }: IServerAvatar) => ( const ServerAvatar = React.memo(({ theme, url, image }: IServerAvatar) => (
<View style={styles.container}> <View style={styles.container}>
{image && ( {image && (
<FastImage style={[styles.image, { borderColor: themes[theme].borderColor }]} source={{ uri: `${url}/${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)} />}
/>
)} )}
</View> </View>
)); ));

View File

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

8
e2e/.mocharc.json Normal file
View File

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

View File

@ -1,69 +1,84 @@
## Overview and folder structure # E2E Testing
WIP: End-to-end tests are a work in progress and they're going to change. ## Contents
``` 1. [Prepare test environment](##-1.-Prepare-test-environment)
|-- e2e 2. [Prepare test data](##-2.-Prepare-test-data)
|-- helpers 3. [Running tests](##-3.-Running-tests)
|-- tests 4. [FAQ](##-FAQ)
|-- data.ts
|-- e2e_account.ts
```
- `e2e/helpers` ### 1. Prepare test environment
- 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
## Shared config #### 1.1. A Rocket.Chat server
- 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
## Setup and run iOS Either
- Install applesimutils * Install Rocket.Chat meteor app by following this [guide](https://developer.rocket.chat/rocket.chat/rocket-chat-environment-setup).
```
brew tap wix/brew
brew install applesimutils
```
### Run on debug mode Or
- Build the app with `yarn e2e:ios-build-debug`
- Test the app with `yarn e2e:ios-test-debug`
### Run on release mode * 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/).
- Build the app with `yarn e2e:ios-build`
- Test the app with `yarn e2e:ios-test`
## Setup and run Android #### 1.2. Set up detox
- Create AVD * Install dependencies by following this [guide](https://github.com/wix/Detox/blob/master/docs/Introduction.GettingStarted.md#step-1-install-dependencies) (only Step 1).
- 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
```
### Run on debug mode ### 2. Prepare test data
- Build the app with `yarn e2e:android-build-debug`
- Test the app with `yarn e2e:android-test-debug`
### Run on release mode * If you're running your own Rocket.Chat server, ensure it's started (e.g. `meteor npm start` in the server project directory).
- Build the app with `yarn e2e:android-build` * Edit `e2e/data.ts`:
- Test the app with `yarn e2e:android-test` * 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

View File

@ -1,7 +1,7 @@
// @ts-ignore /* eslint-disable import/extensions, import/no-unresolved */
// eslint-disable-next-line import/no-unresolved, import/extensions
import account from './e2e_account';
import random from './helpers/random'; import random from './helpers/random';
// @ts-ignore
import account from './e2e_account';
export interface IUser { export interface IUser {
username: string; username: string;
@ -11,12 +11,40 @@ export interface IUser {
export type TData = typeof data; export type TData = typeof data;
export type TDataKeys = keyof TData; export type TDataKeys = keyof TData;
export type TDataUsers = keyof typeof data.users;
export type TDataChannels = keyof typeof data.channels; 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 = { const data = {
server: 'https://mobile.rocket.chat', server: 'https://mobile.rocket.chat',
alternateServer: 'https://stable.rocket.chat',
...account, ...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: { channels: {
detoxpublic: { detoxpublic: {
name: 'detox-public' name: 'detox-public'
@ -26,15 +54,48 @@ const data = {
joinCode: '123' joinCode: '123'
} }
}, },
randomUser: (): { username: string; name: string; password: string; email: string } => { userRegularChannels: {
const randomVal = random(); detoxpublic: {
return { name: `detox-public-${value}`
username: `user${randomVal}`, }
name: `user${randomVal}`, // FIXME: apply a different name },
password: `password${randomVal}`, groups: {
email: `mobile+${randomVal}@rocket.chat` 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; export default data;

96
e2e/data/data.cloud.ts Normal file
View File

@ -0,0 +1,96 @@
/* 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;

101
e2e/data/data.docker.ts Normal file
View File

@ -0,0 +1,101 @@
/* 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;

70
e2e/docker/controlRCDemoEnv.sh Executable file
View File

@ -0,0 +1,70 @@
#!/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

@ -0,0 +1,11 @@
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

@ -0,0 +1 @@
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

@ -0,0 +1 @@
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

@ -0,0 +1 @@
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

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

View File

@ -0,0 +1,2 @@
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

@ -0,0 +1,7 @@
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

@ -0,0 +1,336 @@
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

@ -0,0 +1 @@
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

@ -0,0 +1,993 @@
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

@ -0,0 +1,11 @@
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

@ -0,0 +1,3 @@
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

@ -0,0 +1 @@
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

@ -0,0 +1,3 @@
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

@ -0,0 +1,2 @@
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

@ -0,0 +1,27 @@
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

31
e2e/docker/runTestsInDocker.sh Executable file
View File

@ -0,0 +1,31 @@
#!/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,4 +1,6 @@
import Detox, { device, waitFor, element, by, expect } from 'detox'; import { exec } from 'child_process';
import { by, expect, element } from 'detox';
import data from '../data'; import data from '../data';
@ -58,9 +60,8 @@ async function login(username: string, password: string) {
.toExist() .toExist()
.withTimeout(2000); .withTimeout(2000);
await element(by.id('login-view-email')).replaceText(username); 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-password')).replaceText(password);
await element(by.id('login-view-password')).tapReturnKey(); await element(by.id('login-view-submit')).tap();
await waitFor(element(by.id('rooms-list-view'))) await waitFor(element(by.id('rooms-list-view')))
.toExist() .toExist()
.withTimeout(30000); .withTimeout(30000);
@ -98,30 +99,69 @@ async function mockMessage(message: string, isThread = false) {
const deviceType = device.getPlatform(); const deviceType = device.getPlatform();
const { textMatcher } = platformTypes[deviceType]; const { textMatcher } = platformTypes[deviceType];
const input = isThread ? 'messagebox-input-thread' : 'messagebox-input'; const input = isThread ? 'messagebox-input-thread' : 'messagebox-input';
await element(by.id(input)).replaceText(message); await element(by.id(input)).replaceText(`${data.random}${message}`);
await sleep(300); await sleep(300);
await element(by.id('messagebox-send-message')).tap(); await element(by.id('messagebox-send-message')).tap();
await waitFor(element(by[textMatcher](message))) await waitFor(element(by[textMatcher](`${data.random}${message}`)))
.toExist() .toExist()
.withTimeout(60000); .withTimeout(60000);
await element(by[textMatcher](message)).atIndex(0).tap(); await element(by[textMatcher](`${data.random}${message}`))
return 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
} }
async function tapBack() { async function tapBack() {
try { await element(by.id('header-back')).atIndex(0).tap();
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) { async function searchRoom(room: string) {
await waitFor(element(by.id('rooms-list-view'))) await waitFor(element(by.id('rooms-list-view')))
.toBeVisible() .toBeVisible()
.withTimeout(30000); .withTimeout(30000);
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')).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 element(by.id('rooms-list-view-search-input')).typeText(room); await element(by.id('rooms-list-view-search-input')).typeText(room);
await sleep(300); await sleep(300);
await waitFor(element(by.id(`rooms-list-view-item-${room}`))) await waitFor(element(by.id(`rooms-list-view-item-${room}`)))
@ -129,60 +169,24 @@ async function searchRoom(room: string) {
.withTimeout(60000); .withTimeout(60000);
} }
async function navigateToRoom(room: string) { // eslint-disable-next-line no-undef
await searchRoom(room); async function tryTapping(theElement: Detox.IndexableNativeElement, timeout: number, longtap = false) {
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 { try {
if (longPress) { if (longtap) {
await theElement.tap();
await theElement.longPress(); await theElement.longPress();
} else { } else {
await theElement.tap(); await theElement.tap();
} }
} catch (e) { } catch (e) {
if (timeout <= 0) { if (timeout <= 0) {
throw e; // TODO: Maths. How closely has the timeout been honoured here?
}
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; throw e;
} }
await sleep(100); await sleep(100);
await tapAndWaitFor(elementToTap, elementToWaitFor, timeout - 100); await tryTapping(theElement, 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 checkServer = async (server: string) => {
const label = `Connected to ${server}`; const label = `Connected to ${server}`;
await element(by.id('rooms-list-view-sidebar')).tap(); await element(by.id('rooms-list-view-sidebar')).tap();
@ -196,36 +200,32 @@ const checkServer = async (server: string) => {
.toBeVisible() .toBeVisible()
.withTimeout(10000); .withTimeout(10000);
await element(by.id('sidebar-close-drawer')).tap(); await element(by.id('sidebar-close-drawer')).tap();
await waitFor(element(by.id('sidebar-close-drawer')))
if (device.getPlatform() === 'ios') { .not.toBeVisible()
await waitFor(element(by.id('sidebar-close-drawer'))) .withTimeout(10000);
.not.toBeVisible()
.withTimeout(10000);
} else {
// toBeVisible is not working on Android
// It is always visible, even when it's not
await sleep(2000);
}
}; };
// Useful to get rid of `Too many requests` alert on register function runCommand(command: string) {
async function expectValidRegisterOrRetry(platform: keyof typeof platformTypes, retries = 3) { return new Promise<void>((resolve, reject) => {
if (retries === 0) { exec(command, (error, _stdout, stderr) => {
throw new Error('Too many retries'); if (error) {
} reject(new Error(`exec error: ${stderr}`));
try { return;
await waitFor(element(by.id('rooms-list-view'))) }
.toBeVisible() resolve();
.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. async function prepareAndroid() {
* */ if (device.getPlatform() !== 'android') {
await element(by[platformTypes[platform].textMatcher]('OK').and(by.type(platformTypes[platform].alertButtonType))).tap(); return;
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 { export {
@ -235,14 +235,14 @@ export {
login, login,
logout, logout,
mockMessage, mockMessage,
starMessage,
pinMessage,
dismissReviewNag,
tapBack, tapBack,
sleep, sleep,
searchRoom, searchRoom,
navigateToRoom,
tryTapping, tryTapping,
tapAndWaitFor,
checkRoomTitle,
checkServer, checkServer,
platformTypes, platformTypes,
expectValidRegisterOrRetry prepareAndroid
}; };

View File

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

View File

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

View File

@ -1,13 +0,0 @@
/** @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
};

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

Some files were not shown because too many files have changed in this diff Show More