Skip to content

Commit b40db05

Browse files
committed
Merge branch 'main' into feature/RI-5402-ai-assistant
# Conflicts: # redisinsight/ui/src/constants/links.ts
2 parents 64a86f5 + 173df34 commit b40db05

File tree

44 files changed

+885
-797
lines changed

Some content is hidden

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

44 files changed

+885
-797
lines changed

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: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"start:preload": "cross-env NODE_ENV=development TS_NODE_TRANSPILE_ONLY=true webpack --config ./configs/webpack.config.preload.dev.ts",
4141
"test": "jest ./redisinsight/ui -w 1",
4242
"test:watch": "jest ./redisinsight/ui --watch -w 1",
43-
"test:cov": "jest ./redisinsight/ui --silent --coverage --no-cache --forceExit -w 3",
43+
"test:cov": "cross-env NODE_OPTIONS='' jest ./redisinsight/ui --silent --coverage --no-cache --forceExit -w 3",
4444
"test:cov:unit": "jest ./redisinsight/ui --group=-component --coverage -w 1",
4545
"test:cov:component": "jest ./redisinsight/ui --group=component --coverage -w 1",
4646
"type-check:ui": "tsc --project redisinsight/ui --noEmit"
@@ -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/data/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
{
1111
"path": "search",
12-
"modules": ["search"]
12+
"modules": ["search", "searchlight", "ft", "ftl"]
1313
}
1414
]
1515
}

redisinsight/api/package.json

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,15 @@
4545
"winston-daily-rotate-file/**/file-stream-rotator": "^1.0.0"
4646
},
4747
"dependencies": {
48-
"@nestjs/common": "^9.0.11",
49-
"@nestjs/core": "^9.0.11",
50-
"@nestjs/event-emitter": "^1.3.1",
51-
"@nestjs/platform-express": "^9.0.11",
52-
"@nestjs/platform-socket.io": "^9.0.11",
48+
"@nestjs/common": "^10.3.7",
49+
"@nestjs/core": "^10.3.7",
50+
"@nestjs/event-emitter": "^2.0.4",
51+
"@nestjs/platform-express": "^10.3.7",
52+
"@nestjs/platform-socket.io": "^10.3.7",
5353
"@nestjs/serve-static": "^3.0.0",
54-
"@nestjs/swagger": "^6.1.2",
54+
"@nestjs/swagger": "^7.3.1",
5555
"@nestjs/typeorm": "^9.0.1",
56-
"@nestjs/websockets": "^9.0.11",
56+
"@nestjs/websockets": "^10.3.7",
5757
"@okta/okta-auth-js": "^7.3.0",
5858
"adm-zip": "^0.5.9",
5959
"analytics-node": "^4.0.1",
@@ -74,7 +74,6 @@
7474
"jsonwebtoken": "^9.0.2",
7575
"keytar": "^7.9.0",
7676
"lodash": "^4.17.20",
77-
"nest-router": "^1.0.9",
7877
"nest-winston": "^1.4.0",
7978
"nestjs-form-data": "^1.8.7",
8079
"node-version-compare": "^1.0.3",

redisinsight/api/src/__mocks__/bulk-actions.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,5 @@ export const mockBulkActionsAnalytics = () => ({
9292
sendActionStopped: jest.fn(),
9393
sendActionSucceed: jest.fn(),
9494
sendActionFailed: jest.fn(),
95+
sendImportSamplesUploaded: jest.fn(),
9596
});

redisinsight/api/src/app.module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {
33
MiddlewareConsumer, Module, NestModule, OnModuleInit,
44
} from '@nestjs/common';
55
import { ServeStaticModule } from '@nestjs/serve-static';
6-
import { RouterModule } from 'nest-router';
6+
import { RouterModule } from '@nestjs/core';
77
import { join } from 'path';
88
import config, { Config } from 'src/utils/config';
99
import { PluginModule } from 'src/modules/plugin/plugin.module';
@@ -42,7 +42,7 @@ const PATH_CONFIG = config.get('dir_path') as Config['dir_path'];
4242
imports: [
4343
LocalDatabaseModule,
4444
CoreModule,
45-
RouterModule.forRoutes(routes),
45+
RouterModule.register(routes),
4646
AutodiscoveryModule,
4747
RedisEnterpriseModule,
4848
CloudModule.register(),

redisinsight/api/src/app.routes.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { Routes } from 'nest-router';
21
import { CliModule } from 'src/modules/cli/cli.module';
32
import { WorkbenchModule } from 'src/modules/workbench/workbench.module';
43
import { SlowLogModule } from 'src/modules/slow-log/slow-log.module';
@@ -9,7 +8,7 @@ import { TriggeredFunctionsModule } from 'src/modules/triggered-functions/trigge
98
import { BulkActionsModule } from 'src/modules/bulk-actions/bulk-actions.module';
109
import { DatabaseRecommendationModule } from 'src/modules/database-recommendation/database-recommendation.module';
1110

12-
export const routes: Routes = [
11+
export const routes = [
1312
{
1413
path: '/databases',
1514
children: [

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ export enum TelemetryEvents {
7878
BulkActionsStopped = 'BULK_ACTIONS_STOPPED',
7979
BulkActionsSucceed = 'BULK_ACTIONS_SUCCEED',
8080
BulkActionsFailed = 'BULK_ACTIONS_FAILED',
81+
ImportSamplesUploaded = 'IMPORT_SAMPLES_UPLOADED',
8182

8283
// Feature
8384
FeatureFlagConfigUpdated = 'FEATURE_FLAG_CONFIG_UPDATED',

redisinsight/api/src/modules/analytics/telemetry.base.service.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import { isString } from 'lodash';
22
import { EventEmitter2 } from '@nestjs/event-emitter';
3-
import { HttpException } from '@nestjs/common';
3+
import { HttpException, Injectable } from '@nestjs/common';
44
import { AppAnalyticsEvents } from 'src/constants';
55

6+
@Injectable()
67
export abstract class TelemetryBaseService {
78
constructor(
89
protected readonly eventEmitter: EventEmitter2,

redisinsight/api/src/modules/browser/browser-history/browser-history.module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { DynamicModule, Global, Module } from '@nestjs/common';
2-
import { RouterModule } from 'nest-router';
2+
import { RouterModule } from '@nestjs/core';
33
import { BrowserHistoryService } from 'src/modules/browser/browser-history/browser-history.service';
44
import { BrowserHistoryController } from 'src/modules/browser/browser-history/browser-history.controller';
55
import { BrowserHistoryProvider } from 'src/modules/browser/browser-history/providers/browser-history.provider';
@@ -11,7 +11,7 @@ export class BrowserHistoryModule {
1111
return {
1212
module: BrowserHistoryModule,
1313
imports: [
14-
RouterModule.forRoutes([{
14+
RouterModule.register([{
1515
path: route,
1616
module: BrowserHistoryModule,
1717
}]),

0 commit comments

Comments
 (0)