Skip to content

Commit 14a6a3a

Browse files
UBERF-9126: drive plugins + init version of screen recorder (#8126)
Signed-off-by: denis-tingaikin <[email protected]>
1 parent 46b664f commit 14a6a3a

File tree

119 files changed

+3219
-1043
lines changed

Some content is hidden

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

119 files changed

+3219
-1043
lines changed

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ jobs:
123123
restore-keys: ${{ runner.os }}-build-${{ env.cache-name }}-${{ github.sha }}
124124

125125
- name: Checking svelte sources...
126-
run: node common/scripts/install-run-rush.js svelte-check
126+
run: node common/scripts/install-run-rush.js svelte-check -v
127127
formatting:
128128
needs: build
129129
runs-on: ubuntu-latest

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ temp/
99
npm-debug.log*
1010
yarn-debug.log*
1111
yarn-error.log*
12+
*./rush-logs
1213
*tests/sanity/screenshots
1314

1415
# Runtime data

README.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ To verify the installation, perform the following checks in your terminal:
6565

6666
- Ensure that the `docker` commands are available:
6767

68-
```bash
69-
docker --version
70-
docker compose version
71-
```
68+
```bash
69+
docker --version
70+
docker compose version
71+
```
7272

7373
## Fast start
7474

@@ -94,16 +94,16 @@ You need Microsoft's [rush](https://rushjs.io) to install the application.
9494

9595
1. Install Rush globally using the command:
9696

97-
```bash
98-
npm install -g @microsoft/rush
99-
```
97+
```bash
98+
npm install -g @microsoft/rush
99+
```
100100

101101
2. Navigate to the repository root and run the following commands:
102102

103-
```bash
104-
rush install
105-
rush build
106-
```
103+
```bash
104+
rush install
105+
rush build
106+
```
107107

108108
Alternatively, you can just execute:
109109

common/config/rush/pnpm-lock.yaml

+334-238
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

desktop/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,9 @@
184184
"@hcengineering/guest-resources": "^0.6.0",
185185
"@hcengineering/presence": "^0.6.0",
186186
"@hcengineering/presence-resources": "^0.6.0",
187+
"@hcengineering/recorder": "^0.6.0",
188+
"@hcengineering/recorder-assets": "^0.6.0",
189+
"@hcengineering/recorder-resources": "^0.6.0",
187190
"@hcengineering/uploader": "^0.6.0",
188191
"@hcengineering/uploader-assets": "^0.6.0",
189192
"@hcengineering/uploader-resources": "^0.6.0",

desktop/src/ui/platform.ts

+4
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ import { templatesId } from '@hcengineering/templates'
4242
import tracker, { trackerId } from '@hcengineering/tracker'
4343
import uiPlugin, { getCurrentLocation, locationStorageKeyId, navigate, setLocationStorageKey } from '@hcengineering/ui'
4444
import { uploaderId } from '@hcengineering/uploader'
45+
import recorder, { recorderId } from '@hcengineering/recorder'
4546
import { viewId } from '@hcengineering/view'
4647
import workbench, { workbenchId } from '@hcengineering/workbench'
4748
import { diffviewId } from '@hcengineering/diffview'
@@ -89,6 +90,7 @@ import '@hcengineering/view-assets'
8990
import '@hcengineering/workbench-assets'
9091
import '@hcengineering/guest-assets'
9192
import '@hcengineering/uploader-assets'
93+
import '@hcengineering/recorder-assets'
9294
import '@hcengineering/diffview-assets'
9395
import '@hcengineering/time-assets'
9496
import '@hcengineering/desktop-preferences-assets'
@@ -143,6 +145,7 @@ function configureI18n (): void {
143145
addStringsLoader(textEditorId, async (lang: string) => await import(`@hcengineering/text-editor-assets/lang/${lang}.json`))
144146
addStringsLoader(uiId, async (lang: string) => await import(`@hcengineering/ui/lang/${lang}.json`))
145147
addStringsLoader(uploaderId, async (lang: string) => await import(`@hcengineering/uploader-assets/lang/${lang}.json`))
148+
addStringsLoader(recorderId, async (lang: string) => await import(`@hcengineering/recorder-assets/lang/${lang}.json`))
146149
addStringsLoader(activityId, async (lang: string) => await import(`@hcengineering/activity-assets/lang/${lang}.json`))
147150
addStringsLoader(
148151
attachmentId,
@@ -234,6 +237,7 @@ export async function configurePlatform (): Promise<void> {
234237
setMetadata(presentation.metadata.UploadConfig, parseUploadConfig(config.UPLOAD_CONFIG, config.UPLOAD_URL))
235238
setMetadata(presentation.metadata.FrontUrl, config.FRONT_URL)
236239
setMetadata(presentation.metadata.LinkPreviewUrl, config.LINK_PREVIEW_URL ?? '')
240+
setMetadata(recorder.metadata.StreamUrl, config.STREAM_URL ?? '')
237241
setMetadata(presentation.metadata.StatsUrl, config.STATS_URL)
238242

239243
setMetadata(textEditor.metadata.Collaborator, config.COLLABORATOR ?? '')

desktop/src/ui/types.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export interface Config {
3838
UPLOAD_CONFIG: string
3939
UPLOAD_URL: string
4040
VERSION?: string
41-
41+
STREAM_URL?: string
4242
BACKUP_URL?: string
4343
PUBLIC_SCHEDULE_URL?: string
4444
}

dev/docker-compose.yaml

+13
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
11
services:
2+
stream:
3+
image: 'hardcoreeng/huly-stream'
4+
extra_hosts:
5+
- 'huly.local:host-gateway'
6+
container_name: stream
7+
environment:
8+
- STREAM_ENDPOINT_URL=s3://huly.local:9000
9+
- STREAM_INSECURE=true
10+
- AWS_ACCESS_KEY_ID=minioadmin
11+
- AWS_SECRET_ACCESS_KEY=minioadmin
12+
ports:
13+
- 1080:1080
14+
restart: unless-stopped
215
mongodb:
316
image: 'mongo:7-jammy'
417
container_name: mongodb

dev/prod/config.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@
66
"PRINT_URL": "http://localhost:4005",
77
"SIGN_URL": "http://localhost:4006",
88
"ANALYTICS_COLLECTOR_URL":"http://localhost:4007",
9-
"AI_URL": "http://localhost:4010"
9+
"AI_URL": "http://localhost:4010",
10+
"STREAM_URL": "http://localhost:1080/recording"
1011
}

0 commit comments

Comments
 (0)