Skip to content

Commit 394f8fb

Browse files
author
Artyom Podymov
committed
Merge branch 'main' into feature/RI-2062_enablement-area-pagination
# Conflicts: # redisinsight/ui/src/pages/workbench/components/enablament-area/EnablementArea/components/InternalPage/InternalPage.tsx
2 parents 3d2227e + cadd93d commit 394f8fb

File tree

139 files changed

+1187
-469
lines changed

Some content is hidden

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

139 files changed

+1187
-469
lines changed

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
1+
[![Release](https://img.shields.io/github/v/release/RedisInsight/RedisInsight.svg?sort=semver)](https://github.com/RedisInsight/RedisInsight/releases)
2+
[![CircleCI](https://circleci.com/gh/RedisInsight/RedisInsight/tree/master.svg?style=svg)](https://circleci.com/gh/RedisInsight/RedisInsighth/tree/master)
3+
[![Total alerts](https://img.shields.io/lgtm/alerts/g/RedisInsight/RedisInsight.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/RedisInsight/RedisInsight/alerts/)
4+
5+
# <img src="https://redis.com/wp-content/uploads/2019/11/ico-redisinsight.svg" alt="logo" width="25"/> RedisInsight - Developer GUI for Redis, by Redis.
16
[![Forum](https://img.shields.io/badge/Forum-RedisInsight-red)](https://forum.redis.com/c/redisinsight/65)
27
[![Discord](https://img.shields.io/discord/697882427875393627?style=flat-square)](https://discord.gg/QUkjSsk)
38

4-
# <img src="https://redis.com/wp-content/uploads/2019/11/ico-redisinsight.svg" alt="logo" width="25"/> RedisInsight
59

6-
**Best in class Redis developer GUI to view and interact with your data! [Download it from here](https://redis.com/redis-enterprise/redis-insight/#insight-form)!**
10+
RedisInsight is a visual tool that provides capabilities to design, develop and optimize your Redis application.
11+
Query, analyse and interact with your Redis data. [Download it here](https://redis.com/redis-enterprise/redis-insight/#insight-form)!
712

813
![RedisInsight Browser screenshot](/.github/redisinsight_browser.png)
914

@@ -20,7 +25,7 @@ RedisInsight is an intuitive and efficient GUI for Redis, allowing you to intera
2025
* CRUD support for [RedisJSON](https://oss.redis.com/redisjson/)
2126
* Introducing Workbench - advanced command line interface with intelligent command auto-complete and complex data visualizations
2227
* Command auto-complete support for [RediSearch](https://oss.redis.com/redisearch/), [RedisJSON](https://oss.redis.com/redisjson/), [RedisGraph](https://oss.redis.com/redisgraph/), [RedisTimeSeries](https://oss.redis.com/redistimeseries/), [RedisAI](https://oss.redis.com/redisai/)
23-
* Visualizations of your [RediSearch](https://oss.redis.com/redisearch/) index queries and aggregations
28+
* Visualizations of your [RediSearch](https://oss.redis.com/redisearch/) index, queries, and aggregations
2429
* Ability to build your own data visualization plugins
2530
* Built-in click-through guides for Redis capabilities
2631
* Oficially supported for Redis OSS, [Redis Cloud](https://redis.com/try-free/). Works with Microsoft Azure Cache for Redis (official support upcoming).
@@ -30,7 +35,7 @@ Check out the [release notes](https://docs.redis.com/latest/ri/release-notes/).
3035

3136
## Get started with RedisInsight
3237

33-
This repository includes the code for the newly released in public preview RedisInsight 2.0. Check out the [blogpost](https://redis.com/blog/introducing-redisinsight-2/) announcing it.
38+
This repository includes the code for RedisInsight 2.0, Currently available in public preview. Check out the [blogpost](https://redis.com/blog/introducing-redisinsight-2/) announcing it.
3439

3540
The current GA version of RedisInsight is 1.11. You can install RedisInsight 2.0 along with the GA version.
3641

configs/webpack.config.web.prod.babel.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,20 @@ export default merge(commonConfig, {
122122
test: /\.css$/,
123123
use: ['style-loader', 'css-loader'],
124124
},
125+
// WOFF2 Font
126+
{
127+
test: /\.woff2(\?v=\d+\.\d+\.\d+)?$/,
128+
use: [
129+
{
130+
loader: 'file-loader',
131+
options: {
132+
name: '[hash]-[name].[ext]',
133+
outputPath: 'static',
134+
publicPath: 'static',
135+
},
136+
},
137+
],
138+
},
125139
// TTF Font
126140
{
127141
test: /\.ttf(\?v=\d+\.\d+\.\d+)?$/,

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@
4848
},
4949
"repository": {
5050
"type": "git",
51-
"url": "git+https://github.com/RedisLabs/redisinsight-v2.git"
51+
"url": "git+https://github.com/RedisInsight/RedisInsight.git"
5252
},
5353
"author": {
5454
"name": "Redis Ltd.",
5555
"email": "[email protected]",
5656
"url": "https://redis.com/redis-enterprise/redis-insight"
5757
},
5858
"bugs": {
59-
"url": "https://github.com/RedisLabs/redisinsight-v2/issues"
59+
"url": "https://github.com/RedisInsight/RedisInsight/issues"
6060
},
6161
"keywords": [
6262
"redisinsight",
@@ -68,7 +68,7 @@
6868
"sass",
6969
"webpack"
7070
],
71-
"homepage": "https://github.com/RedisLabs/redisinsight-v2#readme",
71+
"homepage": "https://github.com/RedisInsight/RedisInsight#readme",
7272
"jest": {
7373
"testURL": "http://localhost/",
7474
"moduleNameMapper": {

redisinsight/api/config/default.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export default {
8080
redijsonUrl: process.env.COMMANDS_REDIJSON_URL
8181
|| 'https://raw.githubusercontent.com/RedisJSON/RedisJSON/master/commands.json',
8282
redistimeseriesUrl: process.env.COMMANDS_REDISTIMESERIES_URL
83-
|| 'https://raw.githubusercontent.com/RedisTimeSeries/RedisTimeSeries/master/src/commands.json',
83+
|| 'https://raw.githubusercontent.com/RedisTimeSeries/RedisTimeSeries/master/commands.json',
8484
redisaiUrl: process.env.COMMANDS_REDISAI_URL
8585
|| 'https://raw.githubusercontent.com/RedisAI/RedisAI/master/commands.json',
8686
redisgraphUrl: process.env.COMMANDS_REDISGRAPH_URL

redisinsight/api/src/__mocks__/analytics.ts

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
export const mockInstancesAnalyticsService = () => ({
2+
sendInstanceListReceivedEvent: jest.fn(),
23
sendInstanceAddedEvent: jest.fn(),
34
sendInstanceAddFailedEvent: jest.fn(),
45
sendInstanceEditedEvent: jest.fn(),
@@ -23,14 +24,14 @@ export const mockBrowserAnalyticsService = () => ({
2324
});
2425

2526
export const mockCliAnalyticsService = () => ({
26-
sendCliClientCreatedEvent: jest.fn(),
27-
sendCliClientCreationFailedEvent: jest.fn(),
28-
sendCliClientDeletedEvent: jest.fn(),
29-
sendCliClientRecreatedEvent: jest.fn(),
30-
sendCliCommandExecutedEvent: jest.fn(),
31-
sendCliCommandErrorEvent: jest.fn(),
32-
sendCliClusterCommandExecutedEvent: jest.fn(),
33-
sendCliConnectionErrorEvent: jest.fn(),
27+
sendClientCreatedEvent: jest.fn(),
28+
sendClientCreationFailedEvent: jest.fn(),
29+
sendClientDeletedEvent: jest.fn(),
30+
sendClientRecreatedEvent: jest.fn(),
31+
sendCommandExecutedEvent: jest.fn(),
32+
sendCommandErrorEvent: jest.fn(),
33+
sendClusterCommandExecutedEvent: jest.fn(),
34+
sendConnectionErrorEvent: jest.fn(),
3435
});
3536

3637
export const mockSettingsAnalyticsService = () => ({

redisinsight/api/src/constants/agreements-spec.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"disabled": false,
5050
"since": "1.0.4",
5151
"title": "Server Side Public License",
52-
"label": "I have read and understood the <a target=\"_blank\" href=\"https://github.com/RedisInsight/RedisInsight/blob/master/LICENSE\">Server Side Public License</a>",
52+
"label": "I have read and understood the <a target=\"_blank\" href=\"https://github.com/RedisInsight/RedisInsight/blob/main/LICENSE\">Server Side Public License</a>",
5353
"requiredText": "Accept the Server Side Public License"
5454
}
5555
}

redisinsight/api/src/constants/commands/redistimeseries.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@
122122
"multiple": true,
123123
"optional": true
124124
}
125-
]
125+
],
126+
"since": "1.0.0",
127+
"group": "timeseries"
126128
}
127129
}

redisinsight/api/src/constants/telemetry-events.ts

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export enum TelemetryEvents {
1111
RedisInstanceDeleted = 'CONFIG_DATABASES_DATABASE_DELETED',
1212
RedisInstanceEditedByUser = 'CONFIG_DATABASES_DATABASE_EDITED_BY_USER',
1313
RedisInstanceConnectionFailed = 'DATABASE_CONNECTION_FAILED',
14+
RedisInstanceListReceived = 'CONFIG_DATABASES_DATABASE_LIST_DISPLAYED',
1415

1516
// Events for autodiscovery flows
1617
REClusterDiscoverySucceed = 'CONFIG_DATABASES_RE_CLUSTER_AUTODISCOVERY_SUCCEEDED',
@@ -38,12 +39,12 @@ export enum TelemetryEvents {
3839
BrowserJSONPropertyDeleted = 'BROWSER_JSON_PROPERTY_DELETED',
3940

4041
// Events for cli tool
41-
CliClientCreated = 'CLI_CLIENT_CREATED',
42-
CliClientCreationFailed = 'CLI_CLIENT_CREATION_FAILED',
43-
CliClientConnectionError = 'CLI_CLIENT_CONNECTION_ERROR',
44-
CliClientDeleted = 'CLI_CLIENT_DELETED',
45-
CliClientRecreated = 'CLI_CLIENT_RECREATED',
46-
CliCommandExecuted = 'CLI_COMMAND_EXECUTED',
47-
CliClusterNodeCommandExecuted = 'CLI_CLUSTER_COMMAND_EXECUTED',
48-
CliCommandErrorReceived = 'CLI_COMMAND_ERROR_RECEIVED',
42+
ClientCreated = 'CLIENT_CREATED',
43+
ClientCreationFailed = 'CLIENT_CREATION_FAILED',
44+
ClientConnectionError = 'CLIENT_CONNECTION_ERROR',
45+
ClientDeleted = 'CLIENT_DELETED',
46+
ClientRecreated = 'CLIENT_RECREATED',
47+
CommandExecuted = 'COMMAND_EXECUTED',
48+
ClusterNodeCommandExecuted = 'CLUSTER_COMMAND_EXECUTED',
49+
CommandErrorReceived = 'COMMAND_ERROR_RECEIVED',
4950
}

redisinsight/api/src/modules/cli/controllers/cli.controller.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,8 @@ export class CliController {
132132
async reCreateClient(
133133
@Param('dbInstance') dbInstance: string,
134134
@Param('uuid') uuid: string,
135+
@Body() dto: CreateCliClientDto,
135136
): Promise<CreateCliClientResponse> {
136-
return this.service.reCreateClient(dbInstance, uuid);
137+
return this.service.reCreateClient(dbInstance, uuid, dto.namespace);
137138
}
138139
}

0 commit comments

Comments
 (0)