280 Commits

Author SHA1 Message Date
juancarmore
79afa0cd03 backend: Refactor middleware imports for consistency and clarity 2025-04-12 12:58:23 +02:00
juancarmore
9ccda10c6e backend: Rename participants.routes.ts to participant.routes.ts for consistency 2025-04-12 12:37:25 +02:00
juancarmore
ef67924fbc tests: Update API path constants to use internal-config module 2025-04-12 12:34:31 +02:00
Carlos Santos
58dcd83229 backend: Centralize configuration values in internal-config module 2025-04-11 17:13:05 +02:00
Carlos Santos
299497120d tests: Add integration tests for Get Room API functionality 2025-04-11 14:10:30 +02:00
Carlos Santos
ac7c951fd4 backend: Enhance nonEmptySanitizedString to remove leading hyphen after sanitization 2025-04-11 14:10:09 +02:00
Carlos Santos
30fad6995a tests: Refactor getRooms tests to use response object and update assertion helper 2025-04-11 12:50:39 +02:00
Carlos Santos
eaa6ef9b44 fix: Normalize API key header to lowercase 2025-04-11 12:37:21 +02:00
Carlos Santos
e0fdbd56e4 tests: Update API key header usage in getRooms integration tests 2025-04-11 12:30:42 +02:00
Carlos Santos
4c8db66d58 backend: Add API key header constant and update middleware to use it 2025-04-11 12:29:45 +02:00
Carlos Santos
955fb90194 Revert "tests: Update createRoom calls to use empty object for consistent parameter handling"
This reverts commit 57489189ecc39119852b7434dabf9f52d7c965a6.
2025-04-11 12:17:20 +02:00
Carlos Santos
fbe0868579 backend: Set default value for options parameter in createRoom function 2025-04-11 12:17:04 +02:00
juancarmore
57489189ec tests: Update createRoom calls to use empty object for consistent parameter handling 2025-04-11 11:58:38 +02:00
Carlos Santos
0f9e3bcf0a backend: Refactor getRooms and assertEmptyRooms functions to remove app parameter 2025-04-11 11:46:51 +02:00
Carlos Santos
f0092b9d04 backend: Add integration tests for getRooms API with validation and pagination 2025-04-11 11:36:09 +02:00
Carlos Santos
cb19aaf77f backend: Validate maxItems to ensure it is a positive number and capped at 100 2025-04-11 11:29:07 +02:00
Carlos Santos
427e84de07 backend: Update getRooms response to include pagination details 2025-04-11 11:29:07 +02:00
Carlos Santos
53a1ecf964 backend: Add maxItems field to success-get-rooms response for pagination control 2025-04-11 11:29:07 +02:00
Carlos Santos
4671b579a2 backend: Enhance roomIdPrefix transformation to remove leading hyphens 2025-04-11 11:29:07 +02:00
Carlos Santos
ba40ab2747 backend: Update roomIdPrefix in create-room test to include special characters 2025-04-11 11:29:07 +02:00
juancarmore
df0a425eb7 tests: Refactor room creation tests to use ROOMS_PATH constant for API calls and update user login method 2025-04-11 11:20:27 +02:00
juancarmore
0e531948de tests: Refactor participant security tests to use helper functions and constants 2025-04-11 11:20:04 +02:00
juancarmore
e0d155b8c2 tests: Refactor recording security tests to use helper functions 2025-04-11 11:19:54 +02:00
juancarmore
b31a53e6d9 tests: Refactor room security tests to use INTERNAL_ROOMS_PATH constant for API calls 2025-04-11 11:19:03 +02:00
juancarmore
ba726fe90f tests: Fix createRoom function by using roomIdPrefix instead of roomPrefix and add default value 2025-04-11 11:18:47 +02:00
juancarmore
b78af0eff2 tests: Update authentication tests to use consistent AUTH_PATH and loginUserAsRole helper 2025-04-10 18:59:24 +02:00
juancarmore
7fff9ceda0 backend: Remove apiKeyValidator from getRecordingMedia route 2025-04-10 18:52:36 +02:00
juancarmore
8f7624eecd tests: Refactor room security tests to use updated helper functions and improve API integration 2025-04-10 18:51:39 +02:00
juancarmore
7182870625 tests: Add createRoom and generateParticipantToken helper functions 2025-04-10 18:50:54 +02:00
juancarmore
7590e2bb15 tests: Update deleteAllRooms function to type room mapping and remove expect 200 status code 2025-04-10 18:00:16 +02:00
juancarmore
38e4047914 Refactor helpers.ts to improve API integration 2025-04-10 17:51:07 +02:00
Carlos Santos
70545d81b9 Refactor deleteAllRooms function to use query parameters for requests 2025-04-10 17:39:32 +02:00
Carlos Santos
c583023a69 backend: Update deleteAllRooms function to initialize nextPageToken as undefined 2025-04-10 17:37:26 +02:00
Carlos Santos
44ce0ce2af backend: Fix ContinuationToken handling in S3Service to avoid passing 'undefined' as a string 2025-04-10 17:37:10 +02:00
Carlos Santos
77a3712a27 backend: Improve deleteAllRooms function to handle empty roomIds gracefully 2025-04-10 17:18:07 +02:00
Carlos Santos
bd564cad2f backend: Add integration tests for OpenVidu Meet Room API creation and validation 2025-04-10 16:50:23 +02:00
Carlos Santos
96236f6a9e backend: Refactor test server setup by moving to helpers module 2025-04-10 16:47:47 +02:00
Carlos Santos
46d3bfa1dc backend: Add fields property to MeetRecordingFilters type for enhanced filtering options 2025-04-10 16:46:37 +02:00
Carlos Santos
2a1448330c backend: Clean up unnecessary test files 2025-04-10 16:46:03 +02:00
Carlos Santos
c090e255c2 backend: Add middleware to handle JSON syntax errors in request bodies 2025-04-10 16:44:42 +02:00
Carlos Santos
3731d648fc backend: Update ContinuationToken handling in S3Service to use undefined when not provided 2025-04-10 16:43:19 +02:00
Carlos Santos
a0b7d42002 backend: Enhance recording service to support field filtering in getRecording and getAllRecordings methods 2025-04-10 13:12:26 +02:00
Carlos Santos
18e0fe6a64 backend: Comment out departureTimeout and add notes regarding LiveKit bug 2025-04-10 12:42:28 +02:00
Carlos Santos
7b443ca8d3 backend: Remove deleteObject method from S3Service and update S3StorageProvider to use deleteObjects 2025-04-10 12:30:33 +02:00
Carlos Santos
d0926ae76e backend: Remove unused S3 service methods and clean up code 2025-04-10 12:29:36 +02:00
Carlos Santos
894e6a8f94 backend: Improve participant check in recording service before starting recording 2025-04-10 12:27:33 +02:00
Carlos Santos
85e65d76b3 backend: Exclude secrets.json from metadata retrieval in recording service 2025-04-10 12:27:09 +02:00
Carlos Santos
4c5f53261c backend: Refactor webhook service to streamline recording started logic and rename saveRoomSecrets method 2025-04-10 12:26:30 +02:00
Carlos Santos
dbce119f5a backend: Enhance recording cleanup by adding secrets.json file deletion logic 2025-04-10 11:34:24 +02:00
Carlos Santos
5345963628 backend: Saved room secrets under recording directory when they do not exist 2025-04-10 11:33:38 +02:00