Skip to content

Commit 1da6d6f

Browse files
committed
Merge branch 'main' into bugfix/RI-5597-dependabot-alerts-2024-04
# Conflicts: # tests/e2e/yarn.lock # yarn.lock
2 parents 582dfbc + a63d83d commit 1da6d6f

File tree

433 files changed

+8031
-9753
lines changed

Some content is hidden

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

433 files changed

+8031
-9753
lines changed

.circleci/build/build.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM node:18.18-alpine
22

33
# runtime args and environment variables
4-
ARG DIST=RedisInsight.tar.gz
4+
ARG DIST=Redis-Insight.tar.gz
55
ARG NODE_ENV=production
66
ARG RI_SEGMENT_WRITE_KEY
77
ENV RI_SEGMENT_WRITE_KEY=${RI_SEGMENT_WRITE_KEY}

.circleci/build/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ yarn --cwd redisinsight/api
77

88
# build
99
yarn build:statics
10-
yarn build:web
10+
yarn build:ui
1111
yarn --cwd ./redisinsight/api build:prod

.circleci/build/build_modules.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ set -e
44
PLATFORM=${PLATFORM:-'linux'}
55
ARCH=${ARCH:-'x64'}
66
LIBC=${LIBC:-''}
7-
#FILENAME="RedisInsight-$PLATFORM.$VERSION.$ARCH.zip"
8-
FILENAME="RedisInsight-web-$PLATFORM"
7+
#FILENAME="Redis-Insight-$PLATFORM.$VERSION.$ARCH.zip"
8+
FILENAME="Redis-Insight-web-$PLATFORM"
99
if [ ! -z $LIBC ]
1010
then
1111
FILENAME="$FILENAME-$LIBC.$ARCH.tar.gz"

.circleci/build/release-docker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
set -e
33

44
HELP="Args:
5-
-v - Semver (2.46.0)
5+
-v - Semver (2.48.0)
66
-d - Build image repository (Ex: -d redisinsight)
77
-r - Target repository (Ex: -r redis/redisinsight)
88
"

.circleci/config.yml

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ aliases:
2424
run:
2525
name: Sign application
2626
command: |
27-
$filePath = $(Get-ChildItem release -Filter RedisInsight*.exe | % { $_.FullName })
27+
$filePath = $(Get-ChildItem release -Filter Redis-Insight*.exe | % { $_.FullName })
2828
$filePathWithQuotes = '"{0}"' -f $filePath
2929
& "C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x86\signtool.exe" sign /a /sm /n "Redis Labs Inc." /fd sha256 /tr http://sha256timestamp.ws.symantec.com/sha256/timestamp /v $FilePathWithQuotes
3030
shell: powershell.exe
@@ -645,11 +645,11 @@ jobs:
645645
- persist_to_workspace:
646646
root: .
647647
paths:
648-
- release/RedisInsight*.deb
649-
- release/RedisInsight*.rpm
650-
- release/RedisInsight*.AppImage
651-
- release/RedisInsight*.flatpak
652-
- release/RedisInsight*.snap
648+
- release/Redis-Insight*.deb
649+
- release/Redis-Insight*.rpm
650+
- release/Redis-Insight*.AppImage
651+
- release/Redis-Insight*.flatpak
652+
- release/Redis-Insight*.snap
653653
- release/*-linux.yml
654654
macosx:
655655
macos:
@@ -697,7 +697,7 @@ jobs:
697697
yarn package:prod
698698
yarn package:mas
699699
rm -rf release/mac
700-
mv release/mas-universal/RedisInsight-mac-universal-mas.pkg release/RedisInsight-mac-universal-mas.pkg
700+
mv release/mas-universal/Redis-Insight-mac-universal-mas.pkg release/Redis-Insight-mac-universal-mas.pkg
701701
exit 0;
702702
fi
703703
@@ -727,7 +727,7 @@ jobs:
727727
728728
yarn package:stage && yarn package:mas
729729
rm -rf release/mac
730-
mv release/mas-universal/RedisInsight-mac-universal-mas.pkg release/RedisInsight-mac-universal-mas.pkg
730+
mv release/mas-universal/Redis-Insight-mac-universal-mas.pkg release/Redis-Insight-mac-universal-mas.pkg
731731
no_output_timeout: 60m
732732
- when:
733733
condition:
@@ -741,10 +741,10 @@ jobs:
741741
- persist_to_workspace:
742742
root: .
743743
paths:
744-
- release/RedisInsight*.zip
745-
- release/RedisInsight*.dmg
746-
- release/RedisInsight*.dmg.blockmap
747-
- release/RedisInsight*.pkg
744+
- release/Redis-Insight*.zip
745+
- release/Redis-Insight*.dmg
746+
- release/Redis-Insight*.dmg.blockmap
747+
- release/Redis-Insight*.pkg
748748
- release/*-mac.yml
749749
- release/redisstack
750750
windows:
@@ -806,8 +806,8 @@ jobs:
806806
- persist_to_workspace:
807807
root: .
808808
paths:
809-
- release/RedisInsight*.exe
810-
- release/RedisInsight*.exe.blockmap
809+
- release/Redis-Insight*.exe
810+
- release/Redis-Insight*.exe.blockmap
811811
- release/*.yml
812812
virustotal-file:
813813
executor: linux-executor
@@ -822,7 +822,7 @@ jobs:
822822
- run:
823823
name: export FILE_NAME environment variable
824824
command: |
825-
echo 'export FILE_NAME="RedisInsight*<< parameters.ext >>"' >> $BASH_ENV
825+
echo 'export FILE_NAME="Redis-Insight*<< parameters.ext >>"' >> $BASH_ENV
826826
- <<: *fileScan
827827
- <<: *validate
828828
virustotal-url:
@@ -905,7 +905,7 @@ jobs:
905905
docker buildx build \
906906
-f .circleci/build/build.Dockerfile \
907907
--platform linux/amd64 \
908-
--build-arg DIST=release/web/RedisInsight-web-linux-musl.x64.tar.gz \
908+
--build-arg DIST=release/web/Redis-Insight-web-linux-musl.x64.tar.gz \
909909
--build-arg NODE_ENV=<< parameters.env >> \
910910
--build-arg RI_SEGMENT_WRITE_KEY="$TELEMETRY" \
911911
-t redisinsight:amd64 \
@@ -915,7 +915,7 @@ jobs:
915915
docker buildx build \
916916
-f .circleci/build/build.Dockerfile \
917917
--platform linux/arm64 \
918-
--build-arg DIST=release/web/RedisInsight-web-linux-musl.arm64.tar.gz \
918+
--build-arg DIST=release/web/Redis-Insight-web-linux-musl.arm64.tar.gz \
919919
--build-arg NODE_ENV=<< parameters.env >> \
920920
--build-arg RI_SEGMENT_WRITE_KEY="$TELEMETRY" \
921921
-t redisinsight:arm64 \
@@ -1039,7 +1039,7 @@ jobs:
10391039
echo "export releasesFolderPath=${releasesFolderPath}" >> $BASH_ENV
10401040
echo "export applicationName=${appName}" >> $BASH_ENV
10411041
echo "export applicationVersion=${appVersion}" >> $BASH_ENV
1042-
echo "export appFileName=RedisInsight" >> $BASH_ENV
1042+
echo "export appFileName=Redis-Insight" >> $BASH_ENV
10431043
10441044
# download latest.yml file to get last public version
10451045
aws s3 cp s3://${AWS_BUCKET_NAME}/${downloadLatestFolderPath}/${latestYmlFileName} .
@@ -1082,39 +1082,39 @@ jobs:
10821082
declare -A tag0=(
10831083
[arch]='x64'
10841084
[platform]='macos'
1085-
[objectDownload]=${applicationName}'-mac-x64.dmg'
1086-
[objectUpgrade]=${applicationName}'-mac-x64.zip'
1085+
[objectDownload]=${appFileName}'-mac-x64.dmg'
1086+
[objectUpgrade]=${appFileName}'-mac-x64.zip'
10871087
)
10881088
10891089
declare -A tag1=(
10901090
[arch]='arm64'
10911091
[platform]='macos'
1092-
[objectDownload]=${applicationName}'-mac-arm64.dmg'
1093-
[objectUpgrade]=${applicationName}'-mac-arm64.zip'
1092+
[objectDownload]=${appFileName}'-mac-arm64.dmg'
1093+
[objectUpgrade]=${appFileName}'-mac-arm64.zip'
10941094
)
10951095
10961096
declare -A tag2=(
10971097
[arch]='x64'
10981098
[platform]='windows'
1099-
[objectDownload]=${applicationName}'-win-installer.exe'
1099+
[objectDownload]=${appFileName}'-win-installer.exe'
11001100
)
11011101
11021102
declare -A tag3=(
11031103
[arch]='x64'
11041104
[platform]='linux_AppImage'
1105-
[objectDownload]=${applicationName}'-linux-x86_64.AppImage'
1105+
[objectDownload]=${appFileName}'-linux-x86_64.AppImage'
11061106
)
11071107
11081108
declare -A tag4=(
11091109
[arch]='x64'
11101110
[platform]='linux_deb'
1111-
[objectDownload]=${applicationName}'-linux-amd64.deb'
1111+
[objectDownload]=${appFileName}'-linux-amd64.deb'
11121112
)
11131113
11141114
declare -A tag5=(
11151115
[arch]='x64'
11161116
[platform]='linux_rpm'
1117-
[objectDownload]=${applicationName}'-linux-x86_64.rpm'
1117+
[objectDownload]=${appFileName}'-linux-x86_64.rpm'
11181118
)
11191119
11201120
# loop for add all tags to each app and create metrics
@@ -1750,28 +1750,28 @@ workflows:
17501750

17511751
- virustotal-url:
17521752
name: Virus check - AppImage (nightly)
1753-
fileName: RedisInsight-linux-x86_64.AppImage
1753+
fileName: Redis-Insight-linux-x86_64.AppImage
17541754
- virustotal-url:
17551755
name: Virus check - deb (nightly)
1756-
fileName: RedisInsight-linux-amd64.deb
1756+
fileName: Redis-Insight-linux-amd64.deb
17571757
- virustotal-url:
17581758
name: Virus check - rpm (nightly)
1759-
fileName: RedisInsight-linux-x86_64.rpm
1759+
fileName: Redis-Insight-linux-x86_64.rpm
17601760
- virustotal-url:
17611761
name: Virus check - snap (nightly)
1762-
fileName: RedisInsight-linux-amd64.snap
1762+
fileName: Redis-Insight-linux-amd64.snap
17631763
- virustotal-url:
17641764
name: Virus check x64 - dmg (nightly)
1765-
fileName: RedisInsight-mac-x64.dmg
1765+
fileName: Redis-Insight-mac-x64.dmg
17661766
- virustotal-url:
17671767
name: Virus check arm64 - dmg (nightly)
1768-
fileName: RedisInsight-mac-arm64.dmg
1768+
fileName: Redis-Insight-mac-arm64.dmg
17691769
- virustotal-url:
17701770
name: Virus check MAS - pkg (nightly)
1771-
fileName: RedisInsight-mac-universal-mas.pkg
1771+
fileName: Redis-Insight-mac-universal-mas.pkg
17721772
- virustotal-url:
17731773
name: Virus check - exe (nightly)
1774-
fileName: RedisInsight-win-installer.exe
1774+
fileName: Redis-Insight-win-installer.exe
17751775
- virustotal-report:
17761776
name: Virus check report (prod)
17771777
requires:

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

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

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

1111
rm -rf "$TMP_FOLDER"
1212

.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-app-darwin.$ARCH.tar.gz"
7-
RI_APP_FOLDER_NAME="RedisInsight.app"
6+
TAR_NAME="Redis-Insight-app-darwin.$ARCH.tar.gz"
7+
RI_APP_FOLDER_NAME="Redis Insight.app"
88
TMP_FOLDER="/tmp/$RI_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-mac-$ARCH.dmg"
16-
cp -a /Volumes/RedisInsight*/RedisInsight.app "/tmp"
15+
hdiutil attach "./release/Redis-Insight-mac-$ARCH.dmg"
16+
rsync -av /Volumes/Redis*/Redis\ Insight.app "/tmp"
1717
cd "/tmp" || exit 1
1818
tar -czvf "$TAR_NAME" "$RI_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/Redis*/

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ assignees: ''
2222
**Screenshots** (Paste or drag-and-drop a screenshot or a link to a recording)
2323

2424

25-
**Additional context** (Operating system, version of RedisInsight, Redis database version, Redis module version, database type, connection type, logs, or any other information)
25+
**Additional context** (Operating system, version of Redis Insight, Redis database version, Redis module version, database type, connection type, logs, or any other information)

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ redisinsight/api/commands
5050
redisinsight/api/guides
5151
redisinsight/api/tutorials
5252
redisinsight/api/content
53+
redisinsight/ui/dist-stats.html
5354
dist
5455
distWeb
5556
dll
@@ -67,6 +68,7 @@ licenses
6768
/tests/e2e/remote
6869
/tests/e2e/.redisinsight-v2
6970
/tests/e2e/.redisinsight-app
71+
/tests/e2e/.redisinsight-insight
7072

7173
# Parcel
7274
.parcel-cache

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Before you submit an issue, please search the issue tracker, maybe an issue for
1818

1919
Use the following procedure to submit a pull request:
2020

21-
a. Fork RedisInsight on github ( https://docs.github.com/en/github/getting-started-with-github/fork-a-repo )
21+
a. Fork Redis Insight on github ( https://docs.github.com/en/github/getting-started-with-github/fork-a-repo )
2222
b. Create a topic branch (git checkout -b my_branch)
2323
c. Push to your branch (git push origin my_branch)
2424
d. Initiate a pull request on github ( https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request )

0 commit comments

Comments
 (0)