Skip to content

Commit e95b31c

Browse files
Merge branch 'main' of https://github.com/RedisInsight/RedisInsight into feature/RI-4616-rdi-support
2 parents 61b847a + 3fe9844 commit e95b31c

File tree

264 files changed

+4664
-1332
lines changed

Some content is hidden

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

264 files changed

+4664
-1332
lines changed

.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.48.0)
5+
-v - Semver (2.50.0)
66
-d - Build image repository (Ex: -d redisinsight)
77
-r - Target repository (Ex: -r redis/redisinsight)
88
"

.circleci/config.yml

Lines changed: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,15 @@ executors:
187187
machine:
188188
image: ubuntu-2004:2023.04.2
189189
docker_layer_caching: true
190+
docker-node:
191+
docker:
192+
- image: cimg/node:18.15.0
193+
docker:
194+
docker:
195+
- image: cibuilds/docker:19.03.5
196+
macos:
197+
macos:
198+
xcode: 14.2.0
190199

191200
parameters:
192201
linux:
@@ -208,8 +217,7 @@ parameters:
208217
jobs:
209218
# Test jobs
210219
unit-tests-ui:
211-
docker:
212-
- image: cimg/node:18.15.0
220+
executor: docker-node
213221
steps:
214222
- checkout
215223
- restore_cache:
@@ -252,8 +260,7 @@ jobs:
252260
paths:
253261
- ./node_modules
254262
unit-tests-api:
255-
docker:
256-
- image: cimg/node:18.15.0
263+
executor: docker-node
257264
steps:
258265
- checkout
259266
- restore_cache:
@@ -530,15 +537,14 @@ jobs:
530537

531538
# Build jobs
532539
manual-build-validate:
540+
executor: docker-node
533541
parameters:
534542
os:
535543
type: string
536544
default: ""
537545
target:
538546
type: string
539547
default: ""
540-
docker:
541-
- image: cimg/node:18.15.0
542548
steps:
543549
- checkout
544550
- run:
@@ -560,14 +566,13 @@ jobs:
560566
paths:
561567
- certs
562568
setup-build:
569+
executor: docker
563570
parameters:
564571
env:
565572
description: Build environment (stage || prod)
566573
type: enum
567574
default: stage
568575
enum: [ 'dev', 'stage', 'prod' ]
569-
docker:
570-
- image: cibuilds/docker:19.03.5
571576
steps:
572577
- checkout
573578
- run:
@@ -585,8 +590,7 @@ jobs:
585590
paths:
586591
- electron
587592
linux:
588-
machine:
589-
image: ubuntu-2004:202101-01
593+
executor: linux-executor
590594
resource_class: large
591595
parameters:
592596
env:
@@ -660,8 +664,7 @@ jobs:
660664
- release/Redis-Insight*.snap
661665
- release/*-linux.yml
662666
macosx:
663-
macos:
664-
xcode: 14.2.0
667+
executor: macos
665668
resource_class: macos.x86.medium.gen2
666669
parameters:
667670
env:
@@ -1028,6 +1031,13 @@ jobs:
10281031
-r $DOCKER_REPO \
10291032
-v $appVersion
10301033
1034+
docker login -u $DOCKER_V1_USER -p $DOCKER_V1_PASS
1035+
1036+
./.circleci/build/release-docker.sh \
1037+
-d redisinsight \
1038+
-r $DOCKER_V1_REPO \
1039+
-v $appVersion
1040+
10311041
publish-prod-aws:
10321042
executor: linux-executor
10331043
steps:

.github/CODEOWNERS

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Add reviewers for the most sensitive folders
2-
/.github/ [email protected] artem.horuzhenko@softeq.com
3-
/.circleci/ [email protected] artem.horuzhenko@softeq.com
4-
/redisinsight/api/config/features-config.json [email protected] [email protected] artem.horuzhenko@softeq.com
2+
/.github/ [email protected] [email protected] artem.horuzhenko@redis.com
3+
/.circleci/ [email protected] [email protected] artem.horuzhenko@redis.com
4+
/redisinsight/api/config/features-config.json [email protected] [email protected] artem.horuzhenko@redis.com

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,19 @@ Redis Insight is an intuitive and efficient GUI for Redis, allowing you to inter
2020
### Redis Insight Highlights:
2121

2222
* Browse, filter, visualise your key-value Redis data structures and see key values in different formats (including JSON, Hex, ASCII, etc.)
23-
* CRUD support for Lists, Hashes, Strings, Sets, Sorted Sets, and Streams
24-
* CRUD support for [RedisJSON](https://redis.io/json/)
23+
* CRUD support for lists, hashes, strings, sets, sorted sets, and streams
24+
* CRUD support for [JSON](https://redis.io/json/) data structure
2525
* Interactive tutorials to learn easily, among other things, how to leverage the native JSON data structure supporting structured querying and full-text search, including vector similarity search for your AI use cases
2626
* Contextualised recommendations to optimize performance and memory usage. The list of recommendations gets updated as you interact with your database
2727
* Profiler - analyze every command sent to Redis in real-time
2828
* SlowLog - analyze slow operations in Redis instances based on the [Slowlog](https://github.com/RedisInsight/RedisInsight/releases#:~:text=results%20of%20the-,Slowlog,-command%20to%20analyze) command
2929
* Pub/Sub - support for [Redis pub/sub](https://redis.io/docs/latest/develop/interact/pubsub/), enabling subscription to channels and posting messages to channels
3030
* Bulk actions - Delete the keys in bulk based on the filters set in Browser or Tree view
3131
* Workbench - advanced command line interface with intelligent command auto-complete, complex data visualizations and support for the raw mode
32-
* Command auto-complete support for [RediSearch](https://redis.io/search/), [RedisJSON](https://redis.io/json/), [RedisTimeSeries](https://redis.io/timeseries/)
33-
* Visualizations of your [RediSearch](https://redis.io/search/) index, queries, and aggregations. Ability to build [your own data visualization plugins](https://github.com/RedisInsight/Packages)
34-
* Officially supported for Redis OSS, [Redis Cloud](https://redis.io/cloud/). Works with Microsoft Azure Cache for Redis (official support upcoming)
32+
* Command auto-complete support for [search and query](https://redis.io/search/) capability, [JSON](https://redis.io/json/) and [time series](https://redis.io/timeseries/) data structures
33+
* Visualizations of your [search and query](https://redis.io/search/) indexes and results.
34+
* Ability to build [your own data visualization plugins](https://github.com/RedisInsight/Packages)
35+
* Officially supported for Redis OSS, [Redis Cloud](https://redis.io/cloud/). Works with Microsoft Azure Cache for Redis
3536

3637
Check out the [release notes](https://github.com/RedisInsight/RedisInsight/releases).
3738

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,7 @@
8282
"word-wrap": "1.2.4",
8383
"electron-builder/app-builder-lib/@electron/universal/dir-compare/minimatch": "^3.0.5",
8484
"**/semver": "^7.5.2",
85-
"rawproto/protobufjs": "^7.2.4",
86-
"**/follow-redirects": "^1.15.4"
85+
"rawproto/protobufjs": "^7.2.5"
8786
},
8887
"devDependencies": {
8988
"@babel/preset-env": "^7.23.2",

redisinsight/api/config/default.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ export default {
4040
staticDir,
4141
defaultsDir,
4242
logs: join(homedir, 'logs'),
43+
customConfig: join(homedir, 'config.json'),
4344
defaultPlugins: join(staticDir, 'plugins'),
4445
customPlugins: join(homedir, 'plugins'),
4546
customTutorials: join(homedir, 'custom-tutorials'),
@@ -75,7 +76,7 @@ export default {
7576
tlsKey: process.env.RI_SERVER_TLS_KEY,
7677
staticContent: !!process.env.RI_SERVE_STATICS || true,
7778
buildType: process.env.RI_BUILD_TYPE || 'DOCKER_ON_PREMISE',
78-
appVersion: process.env.RI_APP_VERSION || '2.48.0',
79+
appVersion: process.env.RI_APP_VERSION || '2.50.0',
7980
requestTimeout: parseInt(process.env.RI_REQUEST_TIMEOUT, 10) || 25000,
8081
excludeRoutes: [],
8182
excludeAuthRoutes: [],
@@ -259,7 +260,7 @@ export default {
259260
},
260261
},
261262
ai: {
262-
convAiApiUrl: process.env.RI_AI_CONVAI_API_URL || 'https://redis.io/convai/api',
263+
convAiApiUrl: process.env.RI_AI_CONVAI_API_URL || 'https://staging.redis.io/convai/api',
263264
convAiToken: process.env.RI_AI_CONVAI_TOKEN,
264265
querySocketUrl: process.env.RI_AI_QUERY_SOCKET_URL || 'https://app-sm.k8s-cloudapi.sm-qa.qa.redislabs.com',
265266
querySocketPath: process.env.RI_AI_QUERY_SOCKET_PATH || '/api/v1/cloud-copilot-service/socket.io/',

redisinsight/api/config/features-config.json

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": 2.4801,
2+
"version": 2.4603,
33
"features": {
44
"rdi": {
55
"flag": true,
@@ -51,28 +51,6 @@
5151
}
5252
}
5353
},
54-
"documentationChat": {
55-
"flag": true,
56-
"perc": [[0,100]],
57-
"filters": [
58-
{
59-
"name": "config.server.buildType",
60-
"value": "ELECTRON",
61-
"cond": "eq"
62-
}
63-
]
64-
},
65-
"databaseChat": {
66-
"flag": true,
67-
"perc": [[0,100]],
68-
"filters": [
69-
{
70-
"name": "config.server.buildType",
71-
"value": "ELECTRON",
72-
"cond": "eq"
73-
}
74-
]
75-
},
7654
"cloudSsoRecommendedSettings": {
7755
"flag": true,
7856
"perc": [[0, 100]],

redisinsight/api/config/production.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export default {
1111
homedir,
1212
prevHomedir,
1313
logs: join(homedir, 'logs'),
14+
customConfig: join(homedir, 'config.json'),
1415
customPlugins: join(homedir, 'plugins'),
1516
customTutorials: join(homedir, 'custom-tutorials'),
1617
commands: join(homedir, 'commands'),
@@ -22,7 +23,7 @@ export default {
2223
join(os.homedir(), '.redisinsight-preview'),
2324
join(os.homedir(), '.redisinsight-v2'),
2425
process.env.RI_GUIDES_PATH || join(homedir, 'guides'),
25-
]
26+
],
2627
},
2728
server: {
2829
env: 'production',
@@ -37,4 +38,9 @@ export default {
3738
cloud: {
3839
cApiUrl: process.env.RI_CLOUD_CAPI_URL || 'https://api.redislabs.com/v1',
3940
},
41+
ai: {
42+
convAiApiUrl: process.env.RI_AI_CONVAI_API_URL || 'https://redis.io/convai/api',
43+
querySocketUrl: process.env.RI_AI_QUERY_SOCKET_URL || 'https://app.redislabs.com',
44+
querySocketPath: process.env.RI_AI_QUERY_SOCKET_PATH || '/api/v1/cloud-copilot-service/socket.io/',
45+
},
4046
};

redisinsight/api/config/staging.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export default {
1111
homedir,
1212
prevHomedir,
1313
logs: join(homedir, 'logs'),
14+
customConfig: join(homedir, 'config.json'),
1415
customPlugins: join(homedir, 'plugins'),
1516
customTutorials: join(homedir, 'custom-tutorials'),
1617
commands: join(homedir, 'commands'),

redisinsight/api/config/swagger.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const SWAGGER_CONFIG: Omit<OpenAPIObject, 'paths'> = {
55
info: {
66
title: 'Redis Insight Backend API',
77
description: 'Redis Insight Backend API',
8-
version: '2.48.0',
8+
version: '2.50.0',
99
},
1010
tags: [],
1111
};

0 commit comments

Comments
 (0)