Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
138 commits
Select commit Hold shift + click to select a range
941e021
#RI-4828 - Re-work the Tree view
egor-zalenski Oct 20, 2023
0408d83
#RI-4828 - Re-work the Tree view
egor-zalenski Oct 20, 2023
f972e36
Merge branch 'main' into fe/feature/RI-4828_Rework_Tree_view
egor-zalenski Oct 20, 2023
8265f1e
#RI-4828 - Re-work the Tree view
egor-zalenski Oct 20, 2023
bd09d61
#RI-4828 - fix pr comments
egor-zalenski Oct 24, 2023
5cd5af8
fix: Optimizing png files using zopfli
pea-sys Oct 29, 2023
15e5b8a
Merge pull request #2734 from RedisInsight/latest
vlad-dargel Oct 30, 2023
a58f2b1
Merge branch 'main' into fe/feature/RI-4828_Rework_Tree_view
vlad-dargel Oct 30, 2023
2999ab8
Merge branch 'main' into fe/feature/RI-4828_Rework_Tree_view
egor-zalenski Oct 31, 2023
02450eb
updates for existing tree view tests
vlad-dargel Oct 31, 2023
bd20875
* #RI-5095 - [FE] Scrollbar is displayed for "No keys" panel in tree …
egor-zalenski Oct 31, 2023
d947b26
Merge remote-tracking branch 'origin/fe/feature/RI-4828_Rework_Tree_v…
egor-zalenski Oct 31, 2023
1a56dc0
Merge branch 'fe/feature/RI-4828_Rework_Tree_view' into fe/bugfix/rew…
egor-zalenski Oct 31, 2023
0c6855e
Merge pull request #2739 from RedisInsight/fe/bugfix/rework-tree
egor-zalenski Oct 31, 2023
9bffd96
Merge branch 'fe/feature/RI-4828_Rework_Tree_view' into e2e/feature/R…
vlad-dargel Oct 31, 2023
b0a457a
add tests on sorting and fixes
vlad-dargel Oct 31, 2023
cacbec7
fixes after bugfix
vlad-dargel Oct 31, 2023
6d4b100
fix
vlad-dargel Oct 31, 2023
9a90d93
escape "-" symbol to avoid regex range
Oct 31, 2023
84a379d
Update Node.spec.tsx
egor-zalenski Oct 31, 2023
6aaba36
#RI-5009 - refactor database form
AmirAllayarovSofteq Nov 1, 2023
da00ce1
Merge pull request #2742 from RedisInsight/fe/bugfix/RI-5046-fix-rege…
Nov 1, 2023
9aff8d9
#RI-5009 - remove deprecated code
AmirAllayarovSofteq Nov 1, 2023
139fb5b
add tests
AmirAllayarovSofteq Nov 1, 2023
f283049
fixes by pr comments
vlad-dargel Nov 1, 2023
7e4a839
fix by pr comments
vlad-dargel Nov 1, 2023
8489f85
Merge branch 'fe/feature/RI-4828_Rework_Tree_view' into e2e/feature/R…
vlad-dargel Nov 1, 2023
68b84c9
Merge pull request #2741 from RedisInsight/e2e/feature/RI-4828_rework…
vlad-dargel Nov 1, 2023
7f19396
Merge pull request #2706 from RedisInsight/fe/feature/RI-4828_Rework_…
vlad-dargel Nov 1, 2023
0e25648
#RI-5009 - resolve comments
AmirAllayarovSofteq Nov 2, 2023
4634138
#RI-5082 - replace Redis Enterprise Cloud with Redis CLoud
AmirAllayarovSofteq Nov 3, 2023
8f93f77
#RI-5094 - add telemetry in user properties
AmirAllayarovSofteq Nov 6, 2023
b7ca17f
#RI-4437 - Rename RedisInsight application
egor-zalenski Nov 6, 2023
0300d17
#RI-5094 - fix test
AmirAllayarovSofteq Nov 7, 2023
d56e2ad
#RI-4437 - Rename RedisInsight application
egor-zalenski Nov 7, 2023
7f419a1
#RI-4437 - Rename RedisInsight application
egor-zalenski Nov 7, 2023
1d500b1
Merge pull request #2747 from RedisInsight/fe/feature/RI-5082_rename_…
mariasergeenko Nov 7, 2023
8c55936
Merge pull request #2730 from pea-sys/optimize-png
egor-zalenski Nov 7, 2023
fcf5b19
#RI-4437 - added custom-tutorials
egor-zalenski Nov 7, 2023
096b189
fix macos ci build
egor-zalenski Nov 7, 2023
4c3c918
#RI-5129 - macOS build failures on CI in build branch
egor-zalenski Nov 7, 2023
b339782
#RI-5009 - resolve comments
AmirAllayarovSofteq Nov 9, 2023
05f1376
Merge branch 'main' of https://github.com/RedisInsight/RedisInsight i…
AmirAllayarovSofteq Nov 9, 2023
165588e
#RI-5009 - fix unit tests
AmirAllayarovSofteq Nov 9, 2023
370b69f
#RI-5009 - fix tests
AmirAllayarovSofteq Nov 9, 2023
09369f3
#RI-5122 - string value truncate
AmirAllayarovSofteq Nov 10, 2023
c990bce
Merge pull request #2749 from RedisInsight/be/feature/RI-5094_telemetry
mariasergeenko Nov 10, 2023
bfb1487
#RI-5009 - add tests
AmirAllayarovSofteq Nov 10, 2023
cbe30fe
#RI-5009 - resolve comments
AmirAllayarovSofteq Nov 10, 2023
c52ee6c
#RI-5009 - fix tests
AmirAllayarovSofteq Nov 10, 2023
bfd2393
Merge pull request #2756 from RedisInsight/fe/feature/RI-5122_string_…
vlad-dargel Nov 10, 2023
4d61781
Add autoupdate continius checks
Nov 13, 2023
e4046eb
RI-5122 updates
vlad-dargel Nov 13, 2023
e7b37c9
Merge pull request #2764 from RedisInsight/e2e/bugfix/RI-5122_truncat…
vlad-dargel Nov 13, 2023
2742900
#RI-4437 - changed folder from .redisinsight to .redisinsight-app
egor-zalenski Nov 13, 2023
5ee2f94
#RI-4437 - changed folder from .redisinsight to .redisinsight-app
egor-zalenski Nov 13, 2023
c56c9d5
Merge remote-tracking branch 'origin/feature/RI-4437' into feature/RI…
egor-zalenski Nov 13, 2023
14c245f
Merge branch 'main' into feature/RI-4437
egor-zalenski Nov 13, 2023
c815826
#RI-4437 - changed folder from .redisinsight to .redisinsight-app
egor-zalenski Nov 13, 2023
f06642f
#RI-5033 - Refactor details of key
egor-zalenski Nov 13, 2023
8e2c2c4
#RI-5033 - Refactor details of key
egor-zalenski Nov 14, 2023
ea881ae
#RI-5144 - fix form fill values (#2776)
AmirAllayarovSofteq Nov 14, 2023
84bc804
Merge pull request #2762 from RedisInsight/feature/Ri-5005-autoupdate…
vlad-dargel Nov 14, 2023
94a818d
Merge pull request #2751 from RedisInsight/feature/RI-4437
vlad-dargel Nov 14, 2023
e928062
#RI-5033 - fix Props import
egor-zalenski Nov 14, 2023
992cd24
#RI-5033 - Refactor key details version 2
egor-zalenski Nov 14, 2023
3b4f12c
#RI-5033 - Refactor key details version 2
egor-zalenski Nov 14, 2023
987cdde
#RI-5033 - fix pr comment
egor-zalenski Nov 14, 2023
64a1ab0
#RI-5033 - fix pr comment
egor-zalenski Nov 14, 2023
3a0a83d
Merge pull request #2743 from RedisInsight/fe/feature/RI-5009_refacto…
vlad-dargel Nov 14, 2023
17b9515
fix yarn issue 1
vlad-dargel Nov 16, 2023
10df7b4
#RI-5131-5170 - update tree view
AmirAllayarovSofteq Nov 16, 2023
78ba705
#RI-5131 - add tests
AmirAllayarovSofteq Nov 16, 2023
ca51be7
#RI-5131 - remove unused code
AmirAllayarovSofteq Nov 16, 2023
aa10370
yarn fix 2
vlad-dargel Nov 16, 2023
0a96939
fix yarn 3
vlad-dargel Nov 16, 2023
d098316
Merge pull request #2784 from RedisInsight/e2e/bugfix/yarn-issue
vlad-dargel Nov 16, 2023
b04e6a7
Merge pull request #2777 from RedisInsight/fe/feature/RI-5033_Refacto…
vlad-dargel Nov 16, 2023
c5c8633
#RI-5131 - fix test
AmirAllayarovSofteq Nov 16, 2023
9a3ac4a
#RI-5131 - fix circleci test
AmirAllayarovSofteq Nov 16, 2023
f945b8d
#RI-5131 - fix test
AmirAllayarovSofteq Nov 16, 2023
f01d5bb
#RI-5125 - add autodicovery utm param
AmirAllayarovSofteq Nov 17, 2023
7f369f2
#RI-5162 - fix page re-render only when located on the same page
rsergeenko Nov 17, 2023
cf68786
add verification
mariasergeenko Nov 17, 2023
eca9015
#RI-5162 - fix tests
rsergeenko Nov 17, 2023
61d7ef3
fix open method
mariasergeenko Nov 17, 2023
d9d1782
Merge pull request #2787 from RedisInsight/fe/bugfix/RI-5162-fix-rere…
mariasergeenko Nov 17, 2023
5ce49ba
Merge pull request #2786 from RedisInsight/feature/RI-5125_auto-dicov…
mariasergeenko Nov 17, 2023
305fcc5
#RI-5131 - update
AmirAllayarovSofteq Nov 20, 2023
26ba14f
#RI-5131 - resolve comments
AmirAllayarovSofteq Nov 20, 2023
893771d
added extended attribute
mariasergeenko Nov 20, 2023
efe214d
Merge branch 'fe/feature/RI-5131-5170_tree_view' into e2e/feature/RI-…
mariasergeenko Nov 20, 2023
b700e55
fix browser action
mariasergeenko Nov 20, 2023
5a6a4e0
fix locator
mariasergeenko Nov 20, 2023
b3a8f3a
add comments
mariasergeenko Nov 20, 2023
9643326
Merge pull request #2789 from RedisInsight/e2e/feature/RI-5131-5170_t…
mariasergeenko Nov 20, 2023
1153b02
firts test
mariasergeenko Nov 20, 2023
ca3b0c9
run 1 test
mariasergeenko Nov 20, 2023
652593c
fix part of the test
mariasergeenko Nov 20, 2023
dca55b4
remove check for not empty ssh passphrase to avoid validation error i…
Nov 21, 2023
ac4b2ad
force update file-stream-rotator in the winston-daily-rotate-file to …
Nov 21, 2023
02fabf7
Merge pull request #2793 from RedisInsight/be/bugfix/RI-5165-fix-pass…
Nov 21, 2023
eff999f
Merge pull request #2783 from RedisInsight/fe/feature/RI-5131-5170_tr…
mariasergeenko Nov 21, 2023
0f725f7
fix part the second part of the tests
mariasergeenko Nov 21, 2023
4d7aa60
fix for faild tests
mariasergeenko Nov 21, 2023
e2b9aac
add connection retry on create + wait until "end" to determine that c…
Nov 21, 2023
e123818
fix for regression test
mariasergeenko Nov 21, 2023
f1f1d56
#RI-5163 - fix bulk action disconnection flow, monitor
rsergeenko Nov 21, 2023
fe6ad91
remove redundant method
mariasergeenko Nov 21, 2023
39741c6
fix UTests
Nov 21, 2023
34236e9
fix validation error on UI side + rollback BE changes
Nov 22, 2023
a1fa3a6
Merge pull request #2796 from RedisInsight/e2e/bugfix/remove_multiple…
mariasergeenko Nov 22, 2023
0d944e8
Merge pull request #2797 from RedisInsight/bugfix/RI-5163_fix-bulk-de…
vlad-dargel Nov 22, 2023
6d8637c
fix validation error on UI side + rollback BE changes
Nov 23, 2023
71912ce
Merge pull request #2799 from RedisInsight/be/feature/RI-5167-connect…
Nov 23, 2023
cc3efc7
fix RI-5193, RI-5191. overwrite dbIndex after successful "select"
Nov 23, 2023
6752c81
Merge pull request #2806 from RedisInsight/feature/RI-5167-connection…
vlad-dargel Nov 24, 2023
64bce12
2.38.0
vlad-dargel Nov 24, 2023
619d103
check failed tests on ci
vlad-dargel Nov 27, 2023
f25db67
fix
vlad-dargel Nov 27, 2023
f721f8d
eslint fixes
vlad-dargel Nov 27, 2023
50de863
update for formatters from RI-5206
vlad-dargel Nov 28, 2023
ceb0c26
fix for formatters
vlad-dargel Nov 28, 2023
42de2da
Merge pull request #2817 from RedisInsight/e2e/bugfix/nightly-failed
vlad-dargel Nov 28, 2023
eb033f5
#RI-5206 - fix button state for editing
rsergeenko Nov 28, 2023
5126121
fix for zset formatter
vlad-dargel Nov 28, 2023
8b9b140
Merge pull request #2794 from RedisInsight/bugfix/feature/RI-5165-fix…
vlad-dargel Nov 28, 2023
d401c51
#RI-5213, #RI-5212 - fix tooltip appearing
rsergeenko Nov 29, 2023
c90a784
#RI-5213 - fix tooltip position, fix scroll
rsergeenko Nov 29, 2023
322d6db
Merge pull request #2820 from RedisInsight/fe/bugfix/regression_2.38
vlad-dargel Nov 29, 2023
a282105
Merge pull request #2821 from RedisInsight/e2e/bugfix/nightly-failed
vlad-dargel Nov 29, 2023
28bbb41
scan in lower batches for tree-view
Nov 30, 2023
3eeb79f
Merge pull request #2829 from RedisInsight/be/bugfix/workaround-for-r…
vlad-dargel Nov 30, 2023
a44ad24
add afterEach to return back scan value
vlad-dargel Nov 30, 2023
b515166
Merge pull request #2830 from RedisInsight/e2e/bugfix/fix-e2e-release
vlad-dargel Nov 30, 2023
2359c2e
fix
vlad-dargel Nov 30, 2023
b57cafd
fix2
vlad-dargel Nov 30, 2023
2995601
Merge pull request #2831 from RedisInsight/e2e/bugfix/fix-e2e-release
vlad-dargel Nov 30, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 7 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1619,28 +1619,28 @@ workflows:

- virustotal-url:
name: Virus check - AppImage (nightly)
fileName: RedisInsight-v2-linux-x86_64.AppImage
fileName: RedisInsight-linux-x86_64.AppImage
- virustotal-url:
name: Virus check - deb (nightly)
fileName: RedisInsight-v2-linux-amd64.deb
fileName: RedisInsight-linux-amd64.deb
- virustotal-url:
name: Virus check - rpm (nightly)
fileName: RedisInsight-v2-linux-x86_64.rpm
fileName: RedisInsight-linux-x86_64.rpm
- virustotal-url:
name: Virus check - snap (nightly)
fileName: RedisInsight-v2-linux-amd64.snap
fileName: RedisInsight-linux-amd64.snap
- virustotal-url:
name: Virus check x64 - dmg (nightly)
fileName: RedisInsight-v2-mac-x64.dmg
fileName: RedisInsight-mac-x64.dmg
- virustotal-url:
name: Virus check arm64 - dmg (nightly)
fileName: RedisInsight-v2-mac-arm64.dmg
fileName: RedisInsight-mac-arm64.dmg
- virustotal-url:
name: Virus check MAS - pkg (nightly)
fileName: RedisInsight-mac-universal-mas.pkg
- virustotal-url:
name: Virus check - exe (nightly)
fileName: RedisInsight-v2-win-installer.exe
fileName: RedisInsight-win-installer.exe
- virustotal-report:
name: Virus check report (prod)
requires:
Expand Down
2 changes: 1 addition & 1 deletion .circleci/e2e/test.exe.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@echo off

set COMMON_URL=%USERPROFILE%/AppData/Local/Programs/redisinsight/resources/app.asar/dist/renderer/index.html
set ELECTRON_PATH=%USERPROFILE%/AppData/Local/Programs/redisinsight/RedisInsight-v2.exe
set ELECTRON_PATH=%USERPROFILE%/AppData/Local/Programs/redisinsight/RedisInsight.exe
set OSS_STANDALONE_HOST=%E2E_CLOUD_DATABASE_HOST%
set OSS_STANDALONE_PORT=%E2E_CLOUD_DATABASE_PORT%
set OSS_STANDALONE_USERNAME=%E2E_CLOUD_DATABASE_USERNAME%
Expand Down
6 changes: 3 additions & 3 deletions .circleci/redisstack/app-image.repack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ set -e

ARCH=${ARCH:-x86_64}
WORKING_DIRECTORY=$(pwd)
SOURCE_APP=${SOURCE_APP:-"RedisInsight-v2-linux-$ARCH.AppImage"}
APP_FOLDER_NAME="RedisInsight-v2-linux"
TAR_NAME="RedisInsight-v2-app-linux.$ARCH.tar.gz"
SOURCE_APP=${SOURCE_APP:-"RedisInsight-linux-$ARCH.AppImage"}
APP_FOLDER_NAME="RedisInsight-linux"
TAR_NAME="RedisInsight-app-linux.$ARCH.tar.gz"
TMP_FOLDER="/tmp/RedisInsight-app-$ARCH"

rm -rf "$TMP_FOLDER"
Expand Down
2 changes: 1 addition & 1 deletion .circleci/redisstack/build_modules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ PLATFORM=${PLATFORM:-'linux'}
ELECTRON_VERSION=$(cat electron/version)
ARCH=${ARCH:-'x64'}
#FILENAME="RedisInsight-$PLATFORM.$VERSION.$ARCH.zip"
FILENAME="RedisInsight-v2-web-$PLATFORM.$ARCH.tar.gz"
FILENAME="RedisInsight-web-$PLATFORM.$ARCH.tar.gz"

# reinstall backend prod dependencies only (optimise space)
rm -rf redisinsight/api/node_modules
Expand Down
10 changes: 5 additions & 5 deletions .circleci/redisstack/dmg.repack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ set -e

ARCH=${ARCH:-x64}
WORKING_DIRECTORY=$(pwd)
TAR_NAME="RedisInsight-v2-app-darwin.$ARCH.tar.gz"
APP_FOLDER_NAME="RedisInsight-v2.app"
TAR_NAME="RedisInsight-app-darwin.$ARCH.tar.gz"
APP_FOLDER_NAME="RedisInsight.app"
TMP_FOLDER="/tmp/$APP_FOLDER_NAME"

rm -rf "$TMP_FOLDER"

mkdir -p "$WORKING_DIRECTORY/release/redisstack"
mkdir -p "$TMP_FOLDER"

hdiutil attach "./release/RedisInsight-v2-mac-$ARCH.dmg"
cp -a /Volumes/RedisInsight-*/RedisInsight-v2.app "/tmp"
hdiutil attach "./release/RedisInsight-mac-$ARCH.dmg"
cp -a /Volumes/RedisInsight*/RedisInsight.app "/tmp"
cd "/tmp" || exit 1
tar -czvf "$TAR_NAME" "$APP_FOLDER_NAME"
cp "$TAR_NAME" "$WORKING_DIRECTORY/release/redisstack/"
cd "$WORKING_DIRECTORY" || exit 1
hdiutil unmount /Volumes/RedisInsight-*/
hdiutil unmount /Volumes/RedisInsight*/
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ licenses
/tests/e2e/results
/tests/e2e/remote
/tests/e2e/.redisinsight-v2
/tests/e2e/.redisinsight-app

# Parcel
.parcel-cache
Expand Down
6 changes: 3 additions & 3 deletions docs/plugins/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ authors to avoid automatic execution of malicious code.

1. Download the plugin for the Workbench.
2. Open the `plugins` folder with the following path
* For MacOs: `<usersHomeDir>/.redisinsight-preview/plugins`
* For Windows: `C:/Users/{Username}/.redisinsight-preview/plugins`
* For Linux: `<usersHomeDir>/.redisinsight-preview/plugins`
* For MacOs: `<usersHomeDir>/.redisinsight-app/plugins`
* For Windows: `C:/Users/{Username}/.redisinsight-app/plugins`
* For Linux: `<usersHomeDir>/.redisinsight-app/plugins`
3. Add the folder with plugin to the `plugins` folder

To see the uploaded plugin visualizations in the command results, reload the Workbench
Expand Down
2 changes: 1 addition & 1 deletion electron-builder.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"productName": "RedisInsight-v2",
"productName": "RedisInsight",
"appId": "org.RedisLabs.RedisInsight-V2",
"copyright": "Copyright © 2023 Redis Ltd.",
"files": [
Expand Down
4 changes: 0 additions & 4 deletions jest.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ module.exports = {
'json',
],
testEnvironment: 'jest-environment-jsdom',
// type: 'module',
transformIgnorePatterns: [
'node_modules/(?!(monaco-editor|react-monaco-editor)/)',
],
Expand All @@ -61,8 +60,5 @@ module.exports = {
functions: 72,
lines: 80,
},
// './redisinsight/ui/src/slices/**/*.ts': {
// statements: 90,
// },
},
}
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"package:mac": "yarn build:prod && electron-builder build --mac -p never",
"package:mac:arm": "yarn build:prod && electron-builder build --mac --arm64 -p never",
"package:linux": "yarn build:prod && electron-builder build --linux -p never",
"postinstall": "skip-postinstall || (electron-builder install-app-deps && cross-env NODE_ENV=development TS_NODE_TRANSPILE_ONLY=true webpack --config ./configs/webpack.config.renderer.dev.dll.ts && opencollective-postinstall && yarn-deduplicate yarn.lock)",
"postinstall": "patch-package && skip-postinstall || (electron-builder install-app-deps && cross-env NODE_ENV=development TS_NODE_TRANSPILE_ONLY=true webpack --config ./configs/webpack.config.renderer.dev.dll.ts && opencollective-postinstall && yarn-deduplicate yarn.lock)",
"start": "ts-node ./scripts/check-port-in-use.js && yarn start:renderer",
"start:renderer": "cross-env NODE_ENV=development TS_NODE_TRANSPILE_ONLY=true webpack serve --config ./configs/webpack.config.renderer.dev.ts",
"start:preload": "cross-env NODE_ENV=development TS_NODE_TRANSPILE_ONLY=true webpack --config ./configs/webpack.config.preload.dev.ts",
Expand All @@ -42,7 +42,7 @@
"start:web:public": "cross-env PUBLIC_DEV=true NODE_ENV=development TS_NODE_TRANSPILE_ONLY=true webpack serve --config ./configs/webpack.config.web.dev.ts",
"test": "jest ./redisinsight/ui -w 1",
"test:watch": "jest ./redisinsight/ui --watch -w 1",
"test:cov": "jest ./redisinsight/ui --coverage --no-cache --forceExit -w 3",
"test:cov": "jest ./redisinsight/ui --silent --coverage --no-cache --forceExit -w 3",
"test:cov:unit": "jest ./redisinsight/ui --group=-component --coverage -w 1",
"test:cov:component": "jest ./redisinsight/ui --group=component --coverage -w 1",
"type-check:ui": "tsc --project redisinsight/ui --noEmit"
Expand Down Expand Up @@ -204,6 +204,8 @@
"msw": "^1.3.2",
"node-sass": "^8.0.0",
"opencollective-postinstall": "^2.0.3",
"patch-package": "^8.0.0",
"postinstall-postinstall": "^2.1.0",
"react-hot-loader": "^4.13.0",
"react-refresh": "^0.9.0",
"redux-mock-store": "^1.5.4",
Expand Down
49 changes: 49 additions & 0 deletions patches/react-vtree+3.0.0-beta.3.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
diff --git a/node_modules/react-vtree/dist/cjs/Tree.js b/node_modules/react-vtree/dist/cjs/Tree.js
index c46ce3e..879f0a6 100644
--- a/node_modules/react-vtree/dist/cjs/Tree.js
+++ b/node_modules/react-vtree/dist/cjs/Tree.js
@@ -33,6 +33,7 @@ var Row = function Row(_ref) {
return /*#__PURE__*/_react.default.createElement(Node, Object.assign({
isScrolling: isScrolling,
style: style,
+ index: index,
treeData: treeData
}, data));
};
diff --git a/node_modules/react-vtree/dist/es/Tree.d.ts b/node_modules/react-vtree/dist/es/Tree.d.ts
index 5e7f57e..b216b36 100644
--- a/node_modules/react-vtree/dist/es/Tree.d.ts
+++ b/node_modules/react-vtree/dist/es/Tree.d.ts
@@ -24,6 +24,8 @@ export declare type NodePublicState<TData extends NodeData> = Readonly<{
data: TData;
setOpen: (state: boolean) => Promise<void>;
}> & {
+ index: number;
+ style: object;
isOpen: boolean;
};
export declare type NodeRecord<TNodePublicState extends NodePublicState<any>> = Readonly<{
diff --git a/node_modules/react-vtree/dist/es/Tree.js b/node_modules/react-vtree/dist/es/Tree.js
index 2b1c7c0..b22e873 100644
--- a/node_modules/react-vtree/dist/es/Tree.js
+++ b/node_modules/react-vtree/dist/es/Tree.js
@@ -19,6 +19,7 @@ export var Row = function Row(_ref) {
return /*#__PURE__*/React.createElement(Node, Object.assign({
isScrolling: isScrolling,
style: style,
+ index: index,
treeData: treeData
}, data));
};
diff --git a/node_modules/react-vtree/dist/lib/Tree.js b/node_modules/react-vtree/dist/lib/Tree.js
index fb824bd..6feba4e 100644
--- a/node_modules/react-vtree/dist/lib/Tree.js
+++ b/node_modules/react-vtree/dist/lib/Tree.js
@@ -17,6 +17,7 @@ export const Row = ({
return /*#__PURE__*/React.createElement(Node, Object.assign({
isScrolling: isScrolling,
style: style,
+ index: index,
treeData: treeData
}, data));
};
4 changes: 2 additions & 2 deletions redisinsight/api/config/default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default {
tlsKey: process.env.SERVER_TLS_KEY,
staticContent: !!process.env.SERVER_STATIC_CONTENT || false,
buildType: process.env.BUILD_TYPE || 'ELECTRON',
appVersion: process.env.APP_VERSION || '2.36.0',
appVersion: process.env.APP_VERSION || '2.38.0',
requestTimeout: parseInt(process.env.REQUEST_TIMEOUT, 10) || 25000,
excludeRoutes: [],
excludeAuthRoutes: [],
Expand All @@ -77,7 +77,7 @@ export default {
redis_clients: {
idleSyncInterval: parseInt(process.env.CLIENTS_IDLE_SYNC_INTERVAL, 10) || 1000 * 60 * 60, // 1hr
maxIdleThreshold: parseInt(process.env.CLIENTS_MAX_IDLE_THRESHOLD, 10) || 1000 * 60 * 60, // 1hr
retryTimes: parseInt(process.env.CLIENTS_RETRY_TIMES, 10) || 5,
retryTimes: parseInt(process.env.CLIENTS_RETRY_TIMES, 10) || 3,
retryDelay: parseInt(process.env.CLIENTS_RETRY_DELAY, 10) || 500,
maxRetriesPerRequest: parseInt(process.env.CLIENTS_MAX_RETRIES_PER_REQUEST, 10) || 1,
},
Expand Down
4 changes: 2 additions & 2 deletions redisinsight/api/config/production.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { join } from 'path';
import * as os from 'os';

const homedir = process.env.APP_FOLDER_ABSOLUTE_PATH
|| (join(os.homedir(), process.env.APP_FOLDER_NAME || '.redisinsight-v2'));
|| (join(os.homedir(), process.env.APP_FOLDER_NAME || '.redisinsight-app'));

const prevHomedir = join(os.homedir(), '.redisinsight-preview');
const prevHomedir = join(os.homedir(), '.redisinsight-v2');

export default {
dir_path: {
Expand Down
4 changes: 2 additions & 2 deletions redisinsight/api/config/staging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { join } from 'path';
import * as os from 'os';

const homedir = process.env.APP_FOLDER_ABSOLUTE_PATH
|| (join(os.homedir(), process.env.APP_FOLDER_NAME || '.redisinsight-v2-stage'));
|| (join(os.homedir(), process.env.APP_FOLDER_NAME || '.redisinsight-app-stage'));

const prevHomedir = join(os.homedir(), '.redisinsight-v2.0-stage');
const prevHomedir = join(os.homedir(), '.redisinsight-v2-stage');

export default {
dir_path: {
Expand Down
2 changes: 1 addition & 1 deletion redisinsight/api/config/swagger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const SWAGGER_CONFIG: Omit<OpenAPIObject, 'paths'> = {
info: {
title: 'RedisInsight Backend API',
description: 'RedisInsight Backend API',
version: '2.36.0',
version: '2.38.0',
},
tags: [],
};
Expand Down
5 changes: 3 additions & 2 deletions redisinsight/api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "redisinsight-api",
"version": "2.36.0",
"version": "2.38.0",
"description": "RedisInsight API",
"private": true,
"author": {
Expand Down Expand Up @@ -42,7 +42,8 @@
"word-wrap": "1.2.4",
"mocha/minimatch": "^3.0.5",
"@nestjs/platform-socket.io/socket.io": "^4.7.1",
"**/semver": "^7.5.2"
"**/semver": "^7.5.2",
"winston-daily-rotate-file/**/file-stream-rotator": "^1.0.0"
},
"dependencies": {
"@nestjs/common": "^9.0.11",
Expand Down
2 changes: 2 additions & 0 deletions redisinsight/api/src/constants/error-messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ export default {
CONNECTION_TIMEOUT:
'The connection has timed out, please check the connection details.',
SERVER_CLOSED_CONNECTION: 'Server closed the connection.',
UNABLE_TO_ESTABLISH_CONNECTION: 'Unable to establish connection.',
RECONNECTING_TO_DATABASE: 'Reconnecting to the redis database.',
AUTHENTICATION_FAILED: () => 'Failed to authenticate, please check the username or password.',
INCORRECT_DATABASE_URL: (url) => `Could not connect to ${url}, please check the connection details.`,
INCORRECT_CERTIFICATES: (url) => `Could not connect to ${url}, please check the CA or Client certificate.`,
Expand Down
1 change: 1 addition & 0 deletions redisinsight/api/src/init-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export const migrateHomeFolder = async () => {
await Promise.all([
'redisinsight.db',
'plugins',
'custom-tutorials',
].map((target) => copySource(
join(PATH_CONFIG.prevHomedir, target),
join(PATH_CONFIG.homedir, target),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { AppType } from 'src/modules/server/models/server';
import { SettingsService } from 'src/modules/settings/settings.service';
import {
AnalyticsService,
Telemetry,
NON_TRACKING_ANONYMOUS_ID,
} from './analytics.service';

Expand Down Expand Up @@ -95,6 +96,11 @@ describe('AnalyticsService', () => {
anonymousId: mockAnonymousId,
integrations: { Amplitude: { session_id: sessionId } },
event: TelemetryEvents.ApplicationStarted,
context: {
traits: {
telemetry: Telemetry.Enabled,
},
},
properties: {
anonymousId: mockAnonymousId,
buildType: AppType.Electron,
Expand Down Expand Up @@ -128,6 +134,11 @@ describe('AnalyticsService', () => {
anonymousId: NON_TRACKING_ANONYMOUS_ID,
integrations: { Amplitude: { session_id: sessionId } },
event: TelemetryEvents.ApplicationStarted,
context: {
traits: {
telemetry: Telemetry.Disabled,
},
},
properties: {
anonymousId: mockAnonymousId,
buildType: AppType.Electron,
Expand All @@ -150,6 +161,11 @@ describe('AnalyticsService', () => {
anonymousId: mockAnonymousId,
integrations: { Amplitude: { session_id: sessionId } },
event: TelemetryEvents.ApplicationStarted,
context: {
traits: {
telemetry: Telemetry.Enabled,
},
},
properties: {
anonymousId: mockAnonymousId,
buildType: AppType.Electron,
Expand Down Expand Up @@ -186,6 +202,11 @@ describe('AnalyticsService', () => {
anonymousId: mockAnonymousId,
integrations: { Amplitude: { session_id: sessionId } },
name: TelemetryEvents.ApplicationStarted,
context: {
traits: {
telemetry: Telemetry.Enabled,
},
},
properties: {
anonymousId: mockAnonymousId,
buildType: AppType.Electron,
Expand Down Expand Up @@ -219,6 +240,11 @@ describe('AnalyticsService', () => {
anonymousId: NON_TRACKING_ANONYMOUS_ID,
integrations: { Amplitude: { session_id: sessionId } },
name: TelemetryEvents.ApplicationStarted,
context: {
traits: {
telemetry: Telemetry.Disabled,
},
},
properties: {
anonymousId: mockAnonymousId,
buildType: AppType.Electron,
Expand All @@ -241,6 +267,11 @@ describe('AnalyticsService', () => {
anonymousId: mockAnonymousId,
integrations: { Amplitude: { session_id: sessionId } },
name: TelemetryEvents.ApplicationStarted,
context: {
traits: {
telemetry: Telemetry.Enabled,
},
},
properties: {
anonymousId: mockAnonymousId,
buildType: AppType.Electron,
Expand Down
Loading