83 Commits

Author SHA1 Message Date
juancarmore
79cef519b8 backend: refactor room member and user authentication middleware, adding new permissions and request handling 2026-01-07 10:23:09 +01:00
juancarmore
b709ad320a backend: add room member and user endpoints 2026-01-07 10:23:09 +01:00
juancarmore
5d874f57f5 backend: refactor auth middlewares and data stored in request context 2026-01-07 10:23:09 +01:00
juancarmore
53ac60d37a backend: add request validation middleware for room members and users 2026-01-07 10:23:09 +01:00
juancarmore
e0736677ca backend: enhance zod schemas for room members and users, adding new validation and permissions structures 2026-01-07 10:22:41 +01:00
juancarmore
5abd106641 openapi: add bulk delete endpoints to room members and users API, and add more query params to get all endpoints 2026-01-07 10:14:59 +01:00
juancarmore
450aa85b88 Revert "Revert commits 6c7bfd4 5638025 da7759d ba374ce cf84de4 39a9b7d e990c19"
This reverts commit 0ab6a48e13ec15267de4373f2647745cc184bb87.
2026-01-07 10:13:08 +01:00
juancarmore
86af733b37 backend: fix filename format for API keys in S3KeyBuilder 2025-12-31 00:51:56 +01:00
juancarmore
8d685e6ae5 test: enhance recordings and rooms API tests with filtering and sorting functionality 2025-12-31 00:14:14 +01:00
juancarmore
05980df465 test: update import paths for RoomData and TestContext in various test files 2025-12-31 00:12:48 +01:00
cruizba
d1431687f0 bump to 3.5.0 2025-12-29 13:11:46 +01:00
juancarmore
87b86652dc backend: update room creation to use roomConfig correctly 2025-12-25 14:18:02 +01:00
juancarmore
b0b95f38a8 frontend: remove UtilsHelper and update repositories and services to handle field selection directly in database 2025-12-23 01:05:01 +01:00
juancarmore
f5b805f3a3 backend: enhance recording and room repositories with additional filtering options 2025-12-22 17:21:57 +01:00
juancarmore
1c955c60d0 backend: enhance recording and room filters with status and sorting options 2025-12-22 17:21:57 +01:00
juancarmore
113dbe4f88 openapi: add query parameters for status, sort field, and sort order in get all endpoints 2025-12-22 17:21:57 +01:00
juancarmore
f6d685a158 backend: modify room config validator and ensure recording is disabled when E2EE is enabled 2025-12-22 17:21:57 +01:00
juancarmore
0ab6a48e13 Revert commits 6c7bfd4 5638025 da7759d ba374ce cf84de4 39a9b7d e990c19 2025-12-19 12:48:22 +01:00
Carlos Santos
3a2ce89a3d chore: update dependencies to latest versions
- Updated dotenv from 16.5.0 to 16.6.1
- Updated express from 5.1.0 to 5.2.1
- Updated @types/express from 5.0.1 to 5.0.6
- Updated @types/node from 22.15.17 to 22.19.3
- Updated @types/socket.io from 3.0.1 to 3.0.2
- Updated concurrently from 9.1.2 to 9.2.1
- Updated typescript from 5.9.2 to 5.9.3
2025-12-17 11:01:01 +01:00
Carlos Santos
bd1c67ba31 Add test suite documentation for OpenVidu Meet 2025-12-16 12:04:34 +01:00
Carlos Santos
2761e68dd8 backend: Implement room status validation and cleanup for active meetings 2025-12-05 11:49:14 +01:00
juancarmore
6c7bfd4d3f openapi: add accessUrl field to room schema and update success responses that include room info 2025-12-02 14:18:39 +01:00
juancarmore
5638025211 Refactor OpenAPI components for user and room management
- Updated user login request body to define username and password directly instead of referencing an external schema.
- Removed obsolete recording token request schema.
- Added new request body for updating room anonymous access configuration.
- Deleted outdated room guests request body.
- Enhanced room member request body documentation for clarity on custom permissions.
- Introduced new request body for updating room roles configuration.
- Added error response schema for user ID already exists.
- Created success response schema for retrieving authenticated user info.
- Modified success response for retrieving multiple users to use userId instead of username.
- Updated success response for room members to reflect changes in memberId and access URLs.
- Adjusted success response for room details to include roles instead of guests.
- Created success response for updating room anonymous access configuration.
- Created success response for updating room roles configuration.
- Revised meet-user schema to use userId instead of username and simplified role representation.
- Deleted obsolete user-credentials schema.
- Introduced meet-room-anonymous-config schema for anonymous access configuration.
- Removed obsolete meet-room-guests schema.
- Updated meet-room-member schema to clarify memberId and name usage.
- Revised meet-room schema to replace guests with roles and added anonymous access configuration.
- Updated OpenAPI paths to reflect changes in user and room management endpoints.
2025-12-01 13:50:27 +01:00
juancarmore
da7759d249 openapi: add specification for user management API with create, retrieve and delete user endpoints 2025-11-28 13:31:37 +01:00
juancarmore
ba374ce229 openapi: standardize 'username' field naming and update related descriptions for room member APIs 2025-11-28 12:41:22 +01:00
juancarmore
cf84de4221 openapi: remove deprecated room member roles and permissions endpoints and related schemas 2025-11-28 12:30:43 +01:00
juancarmore
39a9b7da02 openapi: add room guests management API with update permissions for moderator and speaker roles 2025-11-28 12:17:24 +01:00
juancarmore
e990c19672 openapi: add specification for room member management API with add, update, delete, and retrieve endpoints 2025-11-28 11:19:59 +01:00
juancarmore
8ccc5d1a8b test: refactor code in tests for garbage collection of orphaned locks, stale recordings and expired rooms 2025-11-24 20:17:10 +01:00
juancarmore
f71b567823 backend: extract shceduler methods from RoomService and RecordingService and create RoomScheduledTasksService and RecordingScheduledTasksService for managing scheduled tasks 2025-11-24 20:14:25 +01:00
juancarmore
a9360ef452 backend: refactor recording access secret retrieval to use RecordingService 2025-11-23 21:47:46 +01:00
juancarmore
3aaf976964 backend: add new methods to global config service and refactor code for improved clarity 2025-11-23 21:18:42 +01:00
juancarmore
73813feb38 backend: rename and refactor various schemas and functions 2025-11-23 20:30:50 +01:00
juancarmore
bdbc6d02ad test: update orphaned lock age in garbage collector tests for accuracy 2025-11-23 17:46:15 +01:00
juancarmore
848cf2ca17 test: refactor stale recordings cleanup tests for improved clarity and functionality 2025-11-23 17:23:53 +01:00
juancarmore
49b44d0353 backend: remove unnecessary index files and update import paths 2025-11-23 17:23:53 +01:00
juancarmore
0d6838019d backend: enhance recording management with active recordings retrieval and stale cleanup improvements 2025-11-23 17:23:52 +01:00
juancarmore
253b435fbe backend: add SERVER_TRUST_PROXY configuration for flexible proxy handling 2025-11-23 17:23:52 +01:00
juancarmore
447a1fc9e5 backend: refactor internal configuration and service tasks for improved room and recording management 2025-11-23 17:23:52 +01:00
juancarmore
5234b28917 backend: update environment variable defaults to use nullish coalescing operator 2025-11-23 17:23:52 +01:00
juancarmore
69df748002 backend: refactor code to centralize all TS interfaces, types, enums and schemas under the models directory 2025-11-23 17:23:52 +01:00
juancarmore
fad38b696d backend: refactor environment variable usage across services and tests 2025-11-18 18:43:05 +01:00
juancarmore
e3fe104b05 backend: enhance login limiter configuration for better proxy compatibility and adjust base URL middleware condition 2025-11-18 17:41:36 +01:00
juancarmore
3f25ba6f74 test: update room configuration methods to accept partial configurations and enhance related tests 2025-11-18 14:20:33 +01:00
juancarmore
496591695a backend: update room configuration schemas for partial updates and default values 2025-11-18 14:19:56 +01:00
juancarmore
45ee463bc6 backend: enhance migration service to handle existing records and track failures 2025-11-18 14:02:03 +01:00
juancarmore
3ae55d0814 backend: add delete method for global configuration and skip initialization if already set 2025-11-18 11:38:42 +01:00
juancarmore
f74b50d5c8 docs: update README to reflect MongoDB storage architecture and migration system 2025-11-18 10:59:09 +01:00
juancarmore
0f237af827 backend: implement MongoDB schema migration system
- Added internal configuration for schema versions in internal-config.ts.
- Created migration README.md to document the migration process and architecture.
- Developed base migration class and specific migration files for each collection (API key, global config, room, recording, user).
- Established migration registry to manage and execute migrations in order.
- Updated repository schemas to include schemaVersion for migration tracking.
- Enhanced migration service to orchestrate schema migrations and handle migration execution.
2025-11-18 10:27:26 +01:00
juancarmore
e30aa5f1a5 backend: update sanitizeRoomId to allow uppercase letters in identifiers 2025-11-17 14:47:28 +01:00