543 Commits

Author SHA1 Message Date
juancarmore
e1fd2a343b backend: simplify participant identity generation by using participant name directly 2025-08-22 22:46:43 +02:00
juancarmore
5b2b26fef9 Rename moderatorRoomUrl and speakerRoomUrl to moderatorUrl and speakerUrl across the codebase 2025-08-22 12:22:59 +02:00
Carlos Santos
a636ad485f backend: Implement participant name reservation system
- Added ParticipantNameService to manage unique participant name reservations.
- Integrated name reservation in ParticipantService during token generation.
- Implemented cleanup of expired name reservations in LivekitWebhookService.
- Enhanced RedisService with atomic operations for name reservation.
- Updated internal configuration for participant name reservation limits.
- Added tests for participant name reservation and release functionality.
- Updated frontend dependencies to use the latest version of openvidu-components-angular.
2025-08-18 18:49:46 +02:00
juancarmore
3b77f5e0f1 tests: add roomName filter test 2025-08-16 13:46:27 +02:00
juancarmore
a2dd2edc15 openapi: add room name query parameter to get rooms endpoint 2025-08-16 13:29:37 +02:00
juancarmore
73b26f35b5 backend: enhance room filtering with optional room name parameter 2025-08-16 13:23:32 +02:00
Carlos Santos
4f3fb6cec6 backend: fix stale recording evaluation logic and enhance related tests 2025-08-14 19:32:05 +02:00
Carlos Santos
41e39bc3bd backend: enhance stale recording evaluation logic and add comprehensive tests 2025-08-14 17:50:38 +02:00
Carlos Santos
3da1f0e041 backend: renamed garbage-collector tests for orphaned-locks-collector 2025-08-14 17:50:38 +02:00
Carlos Santos
53a3c236ad backend: enhance orphaned lock handling in recording service and improve test coverage 2025-08-14 17:50:38 +02:00
juancarmore
f22e0fc185 backend: update package-lock.json 2025-08-14 13:52:43 +02:00
juancarmore
adf13d6ff9 openapi: add participantIdentity property to meet-participant-options schema 2025-08-14 13:52:24 +02:00
juancarmore
7bffed69f0 tests: update participant token tests to include participantIdentity parameter 2025-08-14 13:51:55 +02:00
juancarmore
13c88d201c backend: refactor code to generate participantIdentity based on name and unique ID 2025-08-14 13:50:47 +02:00
juancarmore
26b1750377 Remove expired old token condition when refreshing participant token 2025-08-13 20:23:48 +02:00
juancarmore
018f5b2bfa tests: add tests for updateParticipant endpoint 2025-08-13 17:23:45 +02:00
juancarmore
cd48a77f31 refactor: update sendParticipantRoleUpdatedSignal to send signal with needed secret only to the participant whose role has been updated, and broadcast the role update to all other participants without the secret 2025-08-13 17:22:46 +02:00
juancarmore
94b98600ba backend: enhance token validation with new error handling and metadata parsing for participants and recordings 2025-08-13 17:21:09 +02:00
juancarmore
972f6f4f90 refactor: replace participantName with participantIdentity for consistency 2025-08-13 17:20:16 +02:00
juancarmore
1071c4c97e openapi: replace participantName with participantIdentity in API parameters and improve updateParticipant endpoint 2025-08-13 17:13:32 +02:00
juancarmore
06b2938bf3 tests: fix update room preferences test by ensuring timestamp is included in event payload 2025-08-13 17:10:52 +02:00
Carlos Santos
5546e92fed backend: enhance recording management with orphaned lock grace period and stale recording handling 2025-08-12 18:08:14 +02:00
Carlos Santos
0daa884ed0 backend: refactored update participant role functionality in meetings API and added openapi declaration 2025-08-11 11:55:05 +02:00
Carlos Santos
e7e329432f backend: update role management to use speakerSecret for participant role changes 2025-08-07 19:11:12 +02:00
Carlos Santos
2ce58f08fd backend: update role validation to include SPEAKER in participant middleware 2025-08-07 19:08:51 +02:00
Carlos Santos
b6acebfa18 backend: implement participant role management and update signals 2025-08-07 18:51:20 +02:00
juancarmore
1161f1bb21 Rename publisher role to speaker across the application 2025-08-06 22:14:56 +02:00
juancarmore
42db1b7bb6 backend: update recording handling to include roomName and adjust related logic 2025-08-06 13:33:56 +02:00
juancarmore
6e9c1743a1 backend: update participant handling to make participantName optional and adjust related logic 2025-08-05 17:52:13 +02:00
juancarmore
5637c56f44 backend: update dependencies in package-lock.json 2025-08-05 17:50:03 +02:00
juancarmore
aef2a2484b backend: allow publisher participants to retrieve room information except moderatorRoomUrl field 2025-08-05 17:49:20 +02:00
juancarmore
459537ecfb backend: replace roomIdPrefix with roomName 2025-08-05 16:36:03 +02:00
Carlos Santos
76093b9f42 backend: add body-parser dependency to backend 2025-08-04 12:52:54 +02:00
Carlos Santos
583941fbd9 backend: moved update room endpoint from internal to public 2025-07-30 15:48:34 +02:00
Carlos Santos
f5b0944599 backend: add launch configuration for debugging Jest tests 2025-07-30 13:07:33 +02:00
Carlos Santos
14e40e1ccc backend: update room status signal handling to use recordingInfo instead of EgressInfo 2025-07-30 12:59:49 +02:00
Carlos Santos
12d019fdc4 backend(test): rename handleRecordingLockTimeout to handleRecordingTimeout in race conditions tests 2025-07-29 19:56:37 +02:00
Carlos Santos
2b9f8dd65e backend: enhance recording signal handling in LivekitWebhookService and RecordingService 2025-07-29 19:12:20 +02:00
juancarmore
bf8cb4ba5f Update all package-lock.json files 2025-07-24 00:58:21 +02:00
Carlos Santos
6ddb002561 backend: add debug logging for webhook event object in lkWebhookHandler 2025-07-23 16:06:14 +02:00
juancarmore
b92aec9d30 backend: reduce login attempt window to 5 minutes and skip successful requests 2025-07-22 12:39:03 +02:00
juancarmore
4ca7f82d15 Refactor OpenAPI documentation for clarity and consistency 2025-07-21 18:34:50 +02:00
cruizba
c0ae9c38b6 backend: conditionally configure S3 credentials to support IAM Role usage 2025-07-18 16:48:09 +02:00
juancarmore
51df863310 backend: enhance error handling for egress listing 2025-07-17 19:22:44 +02:00
Juan Carlos Moreno García
7464ef3c6f
Fix tests (#6)
* Adds TODO for API key rejection

Adds a TODO comment in the recording routes to reject requests that include an API key.

Adds FIXME comments to recording security tests, indicating that the tests do not need to start a recording to check the fail case.

* backend: remove TODO comments for API key rejection in recording routes

* test: enhace recording security tests by only creating necessary recordings

---------

Co-authored-by: Carlos Santos <4a.santos@gmail.com>
2025-07-17 16:28:14 +02:00
juancarmore
4d13eb94a8 fix(token): update verifyToken method to include a timeout parameter 2025-07-17 11:04:22 +02:00
Carlos Santos
462a61842e backend: update dependencies and devDependencies in package.json
- Bump @aws-sdk/client-s3 from 3.673.0 to 3.846.0
- Update cron from ^4.1.0 to 4.3.2
- Update dotenv from 16.4.7 to 16.6.1
- Bump express-openapi-validator from ^5.4.2 to 5.5.7
- Update express-rate-limit from ^7.5.0 to 7.5.1
- Bump inversify from ^6.2.1 to 6.2.2
- Update ioredis from ^5.4.2 to 5.6.1
- Bump livekit-server-sdk from 2.6.2 to 2.13.1
- Update winston from 3.14.2 to 3.17.0
- Update yamljs from ^0.3.0 to 0.3.0
- Bump zod from ^3.24.2 to 3.25.76
- Update @openapitools/openapi-generator-cli from ^2.16.3 to 2.21.2
- Update @types/cookie-parser from 1.4.7 to 1.4.9
- Update @types/cors from 2.8.17 to 2.8.19
- Update @types/express from 4.17.21 to 4.17.23
- Update @types/node from ^20.12.14 to 22.16.4
- Update @types/supertest from ^6.0.2 to 6.0.3
- Update @types/swagger-ui-express from ^4.1.6 to 4.1.8
- Update @types/validator from ^13.12.2 to 13.15.2
- Update @typescript-eslint/eslint-plugin from 6.7.5 to 6.21.0
- Update @typescript-eslint/parser from 6.7.5 to 6.21.0
- Update eslint from 8.50.0 to 8.57.1
- Update eslint-config-prettier from 9.0.0 to 9.1.0
- Update nodemon from 3.1.9 to 3.1.10
- Update openapi-generate-html from ^0.4.2 to 0.4.4
- Update prettier from 3.3.3 to 3.6.2
- Update supertest from ^7.0.0 to 7.1.3
- Update ts-jest from ^29.2.5 to 29.4.0
- Update ts-node from 10.9.2 to tsx ^4.20.3
- Update typescript from 5.4.5 to 5.8.3
- Update unzipper from 0.12.3
2025-07-16 12:33:22 +02:00
Carlos Santos
0ae172e4ec backend: stop pending egress immediately after timeout in recording service 2025-07-16 11:11:01 +02:00
Carlos Santos
28adbd2a38 backend: remove health check method from RedisService 2025-07-15 16:31:41 +02:00
Carlos Santos
385dab5710 backend: implement health check for storage providers and integrate into service initialization 2025-07-15 16:24:55 +02:00