Skip to content

Commit 80a927a

Browse files
authored
Merge pull request #2832 from RedisInsight/release/2.38.0
Release/2.38.0 to latest
2 parents 3c10c1a + 2995601 commit 80a927a

File tree

535 files changed

+8680
-6273
lines changed

Some content is hidden

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

535 files changed

+8680
-6273
lines changed

.circleci/config.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1619,28 +1619,28 @@ workflows:
16191619

16201620
- virustotal-url:
16211621
name: Virus check - AppImage (nightly)
1622-
fileName: RedisInsight-v2-linux-x86_64.AppImage
1622+
fileName: RedisInsight-linux-x86_64.AppImage
16231623
- virustotal-url:
16241624
name: Virus check - deb (nightly)
1625-
fileName: RedisInsight-v2-linux-amd64.deb
1625+
fileName: RedisInsight-linux-amd64.deb
16261626
- virustotal-url:
16271627
name: Virus check - rpm (nightly)
1628-
fileName: RedisInsight-v2-linux-x86_64.rpm
1628+
fileName: RedisInsight-linux-x86_64.rpm
16291629
- virustotal-url:
16301630
name: Virus check - snap (nightly)
1631-
fileName: RedisInsight-v2-linux-amd64.snap
1631+
fileName: RedisInsight-linux-amd64.snap
16321632
- virustotal-url:
16331633
name: Virus check x64 - dmg (nightly)
1634-
fileName: RedisInsight-v2-mac-x64.dmg
1634+
fileName: RedisInsight-mac-x64.dmg
16351635
- virustotal-url:
16361636
name: Virus check arm64 - dmg (nightly)
1637-
fileName: RedisInsight-v2-mac-arm64.dmg
1637+
fileName: RedisInsight-mac-arm64.dmg
16381638
- virustotal-url:
16391639
name: Virus check MAS - pkg (nightly)
16401640
fileName: RedisInsight-mac-universal-mas.pkg
16411641
- virustotal-url:
16421642
name: Virus check - exe (nightly)
1643-
fileName: RedisInsight-v2-win-installer.exe
1643+
fileName: RedisInsight-win-installer.exe
16441644
- virustotal-report:
16451645
name: Virus check report (prod)
16461646
requires:

.circleci/e2e/test.exe.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@echo off
22

33
set COMMON_URL=%USERPROFILE%/AppData/Local/Programs/redisinsight/resources/app.asar/dist/renderer/index.html
4-
set ELECTRON_PATH=%USERPROFILE%/AppData/Local/Programs/redisinsight/RedisInsight-v2.exe
4+
set ELECTRON_PATH=%USERPROFILE%/AppData/Local/Programs/redisinsight/RedisInsight.exe
55
set OSS_STANDALONE_HOST=%E2E_CLOUD_DATABASE_HOST%
66
set OSS_STANDALONE_PORT=%E2E_CLOUD_DATABASE_PORT%
77
set OSS_STANDALONE_USERNAME=%E2E_CLOUD_DATABASE_USERNAME%

.circleci/redisstack/app-image.repack.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ set -e
33

44
ARCH=${ARCH:-x86_64}
55
WORKING_DIRECTORY=$(pwd)
6-
SOURCE_APP=${SOURCE_APP:-"RedisInsight-v2-linux-$ARCH.AppImage"}
7-
APP_FOLDER_NAME="RedisInsight-v2-linux"
8-
TAR_NAME="RedisInsight-v2-app-linux.$ARCH.tar.gz"
6+
SOURCE_APP=${SOURCE_APP:-"RedisInsight-linux-$ARCH.AppImage"}
7+
APP_FOLDER_NAME="RedisInsight-linux"
8+
TAR_NAME="RedisInsight-app-linux.$ARCH.tar.gz"
99
TMP_FOLDER="/tmp/RedisInsight-app-$ARCH"
1010

1111
rm -rf "$TMP_FOLDER"

.circleci/redisstack/build_modules.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ PLATFORM=${PLATFORM:-'linux'}
55
ELECTRON_VERSION=$(cat electron/version)
66
ARCH=${ARCH:-'x64'}
77
#FILENAME="RedisInsight-$PLATFORM.$VERSION.$ARCH.zip"
8-
FILENAME="RedisInsight-v2-web-$PLATFORM.$ARCH.tar.gz"
8+
FILENAME="RedisInsight-web-$PLATFORM.$ARCH.tar.gz"
99

1010
# reinstall backend prod dependencies only (optimise space)
1111
rm -rf redisinsight/api/node_modules

.circleci/redisstack/dmg.repack.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@ set -e
33

44
ARCH=${ARCH:-x64}
55
WORKING_DIRECTORY=$(pwd)
6-
TAR_NAME="RedisInsight-v2-app-darwin.$ARCH.tar.gz"
7-
APP_FOLDER_NAME="RedisInsight-v2.app"
6+
TAR_NAME="RedisInsight-app-darwin.$ARCH.tar.gz"
7+
APP_FOLDER_NAME="RedisInsight.app"
88
TMP_FOLDER="/tmp/$APP_FOLDER_NAME"
99

1010
rm -rf "$TMP_FOLDER"
1111

1212
mkdir -p "$WORKING_DIRECTORY/release/redisstack"
1313
mkdir -p "$TMP_FOLDER"
1414

15-
hdiutil attach "./release/RedisInsight-v2-mac-$ARCH.dmg"
16-
cp -a /Volumes/RedisInsight-*/RedisInsight-v2.app "/tmp"
15+
hdiutil attach "./release/RedisInsight-mac-$ARCH.dmg"
16+
cp -a /Volumes/RedisInsight*/RedisInsight.app "/tmp"
1717
cd "/tmp" || exit 1
1818
tar -czvf "$TAR_NAME" "$APP_FOLDER_NAME"
1919
cp "$TAR_NAME" "$WORKING_DIRECTORY/release/redisstack/"
2020
cd "$WORKING_DIRECTORY" || exit 1
21-
hdiutil unmount /Volumes/RedisInsight-*/
21+
hdiutil unmount /Volumes/RedisInsight*/

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ licenses
6666
/tests/e2e/results
6767
/tests/e2e/remote
6868
/tests/e2e/.redisinsight-v2
69+
/tests/e2e/.redisinsight-app
6970

7071
# Parcel
7172
.parcel-cache

docs/plugins/installation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ authors to avoid automatic execution of malicious code.
99

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

1717
To see the uploaded plugin visualizations in the command results, reload the Workbench

electron-builder.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"productName": "RedisInsight-v2",
2+
"productName": "RedisInsight",
33
"appId": "org.RedisLabs.RedisInsight-V2",
44
"copyright": "Copyright © 2023 Redis Ltd.",
55
"files": [

jest.config.cjs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ module.exports = {
3939
'json',
4040
],
4141
testEnvironment: 'jest-environment-jsdom',
42-
// type: 'module',
4342
transformIgnorePatterns: [
4443
'node_modules/(?!(monaco-editor|react-monaco-editor)/)',
4544
],
@@ -61,8 +60,5 @@ module.exports = {
6160
functions: 72,
6261
lines: 80,
6362
},
64-
// './redisinsight/ui/src/slices/**/*.ts': {
65-
// statements: 90,
66-
// },
6763
},
6864
}

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"package:mac": "yarn build:prod && electron-builder build --mac -p never",
3434
"package:mac:arm": "yarn build:prod && electron-builder build --mac --arm64 -p never",
3535
"package:linux": "yarn build:prod && electron-builder build --linux -p never",
36-
"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)",
36+
"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)",
3737
"start": "ts-node ./scripts/check-port-in-use.js && yarn start:renderer",
3838
"start:renderer": "cross-env NODE_ENV=development TS_NODE_TRANSPILE_ONLY=true webpack serve --config ./configs/webpack.config.renderer.dev.ts",
3939
"start:preload": "cross-env NODE_ENV=development TS_NODE_TRANSPILE_ONLY=true webpack --config ./configs/webpack.config.preload.dev.ts",
@@ -42,7 +42,7 @@
4242
"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",
4343
"test": "jest ./redisinsight/ui -w 1",
4444
"test:watch": "jest ./redisinsight/ui --watch -w 1",
45-
"test:cov": "jest ./redisinsight/ui --coverage --no-cache --forceExit -w 3",
45+
"test:cov": "jest ./redisinsight/ui --silent --coverage --no-cache --forceExit -w 3",
4646
"test:cov:unit": "jest ./redisinsight/ui --group=-component --coverage -w 1",
4747
"test:cov:component": "jest ./redisinsight/ui --group=component --coverage -w 1",
4848
"type-check:ui": "tsc --project redisinsight/ui --noEmit"
@@ -204,6 +204,8 @@
204204
"msw": "^1.3.2",
205205
"node-sass": "^8.0.0",
206206
"opencollective-postinstall": "^2.0.3",
207+
"patch-package": "^8.0.0",
208+
"postinstall-postinstall": "^2.1.0",
207209
"react-hot-loader": "^4.13.0",
208210
"react-refresh": "^0.9.0",
209211
"redux-mock-store": "^1.5.4",

0 commit comments

Comments
 (0)