63 Commits

Author SHA1 Message Date
juancarmore
7295c45d07 backend: update bulk deletion recording logic to improve error handling and response structure 2025-09-03 18:31:17 +02:00
juancarmore
4802f48ba6 backend: enhance room deletion logic with new policies for meetings and recordings 2025-09-02 11:45:20 +02:00
juancarmore
632d36a470 backend: implement deleteAllRoomRecordings method to handle deletion of all recordings for a room with retries 2025-08-31 14:58:32 +02:00
juancarmore
73b26f35b5 backend: enhance room filtering with optional room name parameter 2025-08-16 13:23:32 +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
53a3c236ad backend: enhance orphaned lock handling in recording service and improve test coverage 2025-08-14 17:50:38 +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
juancarmore
42db1b7bb6 backend: update recording handling to include roomName and adjust related logic 2025-08-06 13:33:56 +02:00
Carlos Santos
2b9f8dd65e backend: enhance recording signal handling in LivekitWebhookService and RecordingService 2025-07-29 19:12:20 +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
7361b71a7a backend: introduce FrontendEventService for frontend communication and update dependencies 2025-07-04 15:43:29 +02:00
Carlos Santos
273ad8c577 backend: replace SystemEventService with DistributedEventService and introduce distributed event model 2025-07-04 15:43:28 +02:00
Carlos Santos
fbcb70dbc2
Add OpenVidu Meet Console implementation (#4)
* frontend: update icons for Rooms and Recordings in console navigation

* frontend: enhance overview component with user stats and improved layout

* frontend: implement theme service and design tokens for light/dark mode support

- Added ThemeService to manage theme preferences and system theme detection.
- Introduced design tokens for consistent styling across light and dark themes.
- Updated components to utilize the new navigation service for routing.
- Replaced SecurityPreferencesComponent with PreferencesComponent for settings.
- Enhanced UI with new styles and improved navigation structure.
- Added tests for ThemeService to ensure functionality.

* frontend: enhance overview component with title styling and icon integration

* frontend: remove unused Router import from overview component

* frontend: implement developers settings with API key and webhook configuration

* frontend: update styles and structure for console navigation and overview components

* frontend: simplify API key checks and integrate notification service for user feedback

* frontend: update openvidu-components-angular to version 3.3.0-dev2 and simplify Material Symbols stylesheet link

* frontend: adjust padding and gap for stat card and actions in overview component

* frontend: update import paths to use relative paths for better module resolution

* frontend: enhance sync-types.sh script with advanced options and detailed usage instructions

* typings: update TypeScript declaration files and improve sync-types.sh script for better clarity and functionality

* webcomponent: webcomponent typings are now moved to typings directory

* Revert "typings: update TypeScript declaration files and improve sync-types.sh script for better clarity and functionality"

This reverts commit 7da952bc44be20c3f74ffb82bf941b96b78ad019.

* typings: improve sync-types.sh script for clarity and consistency

* test: update error message for empty downloaded file check

* frontend: update outbound event message types in video room and web component manager services

* frontend: enhance styling for console component and adjust nav item border radius

* style: update comments in disabled class for clarity and consistency; refactor import paths in room-form component

* typings: update import paths in message.type.ts to include file extensions

* frontend: enhance rooms management interface with improved loading states, search functionality, and table features

* frontend: enhance loading state with improved UI and animations for room loading process

* frontend: enhance rooms table with auto-deletion feature and improve status display

* frontend: update import paths for services and add containsRoute method to NavigationService

* frontend: remove unused components and associated files from shared-meet-components

* frontend: add logo selector component and enhance preferences settings with access controls

* frontend: add SessionStorageService import to extract query params guard

* frontend: add margin-bottom utility class to overview container

* frontend: update description for creating a room in the overview component

* frontend: Added recording list component

* frontend: update padding in mat-sidenav entry to use spacing variable

* frontend: update text for delete room button to use lowercase

* frontend: enhance console navigation with tooltips and active item styling

* frontend: refactor styles in console navigation for consistency and improved theming

* frontend: add border to card header for improved visual separation

* frontend: created room list reusable component

* frontend: adjust vertical alignment of table cells in recording lists

* frontend: enhance room status and auto-deletion indicators with tooltips and improved styling

* frontend: enhance HTTP service methods to include status codes in responses

* frontend: fix duration formatting to use integer seconds instead of fixed-point

* frontend: refactor icon styles in status badge for consistency

* Add modular SCSS structure for design tokens, mixins, animations, and utility classes

- Introduced _animations.scss for keyframes and animation utility classes.
- Refactored _design-tokens.scss to import modular design system files for better maintainability.
- Created _mixins-components.scss for component-specific mixins like cards and buttons.
- Added _mixins-layout.scss for layout-related mixins and responsive design utilities.
- Established _mixins-responsive.scss for breakpoint mixins to facilitate responsive design.
- Introduced _tokens-core.scss for core design tokens including colors, spacing, and typography.
- Created _tokens-themes.scss for theme-specific design tokens for light and dark modes.
- Added _utilities.scss for reusable utility classes to streamline common styling patterns.

* frontend: Refactor styles for settings preferences component and enhance utility classes

- Simplified SCSS for preferences.component.scss by utilizing utility classes for layout and styling.
- Introduced new utility classes for Material components, including slide toggle and navigation list.
- Enhanced form section styling with consistent spacing and layout adjustments.
- Added responsive design patterns for toolbar and table components.
- Improved loading and empty state styles for better user experience.

* frontend: standardize page layout and loading states across components

* frontend: enhance status badge and action button styles for consistency

* ci: update unit test workflow to include typings setup

* test: update import path for WebComponentCommand to typings directory

* frontend: refactor dialog component structure and enhance styles for improved accessibility and responsiveness

* frontend: rename batchDelete methods to bulkDelete for consistency

* frontend: implement confirmation dialog for room deletion with improved error handling

* frontend: extract feature-specific API logic from HttpService into dedicated services

* frontend: extract common recording actions into RecordingManagerService

* frontend: refactor navigation handling for improved consistency

* backend: add endpoint to download multiple recordings in a zip file and refactor bulkDeleteRecordings to delete only recordings from the same room if recording token is provided

* openapi: add download endpoint for recordings and update bulk delete logic to enforce room constraints

* frontend: enhance recording media URL generation and add bulk delete and download functionalities

* frontend: rename 'batchDownload' to 'bulkDownload' for consistency and implement missing methods in RecordingsComponent

* frontend: Implement Room Creation Wizard with Step Indicator and Navigation

- Added StepIndicatorComponent for visual step tracking in the wizard.
- Created WizardNavComponent for navigation controls (Next, Previous, Cancel, Finish).
- Developed RoomWizardComponent to manage the wizard's state and steps.
- Introduced WizardStateService to handle the wizard's data and navigation logic.
- Defined WizardStep and WizardNavigationConfig models for step management.
- Implemented basic structure for individual steps: Basic Info, Recording Settings, Recording Trigger, Recording Layout, and Preferences.
- Integrated components into the room creation flow, allowing users to navigate through steps.
- Added unit tests for all new components and services to ensure functionality.

* feat(wizard): enhance wizard functionality and UI

- Added validation form groups to WizardStep interface for better form handling.
- Updated WizardNavigationConfig to include customizable button labels and states.
- Implemented step navigation with event handling in room-wizard component.
- Refactored basic info step into a standalone component with reactive form support.
- Improved styling for the basic info step and action buttons.
- Enhanced wizard state management to handle dynamic step visibility based on user input.
- Added methods for loading existing data and saving form changes automatically.
- Updated tests to reflect changes in component structure and functionality.

* feat(recording-preferences): implement recording preferences step with form and options

* feat(room-wizard): add recording trigger step with selectable options and form handling

* feat(recording-preferences): refactor option selection to use SelectableCard component and update styles

* test: add tests for download recordings endpoint and update tests for bulk delete recordings

* openapi: improve descriptions for bulk delete operations and add new response for marked rooms

* frontend: update bulk actions and add sharing functionality in RecordingsComponent, and enhace RecordingListsComponent

* frontend: implement bulkDeleteRooms method and enhace RoomsComponent and RoomListsComponent

* typings: add MeetApiKey interface

* backend: update API key handling to use MeetApiKey type

* openapi: create API key schema and update response references

* backend: add webhook URL testing functionality and validation

* frontend: simplify HTTP request methods by removing response observation

* frontend: streamline OverviewComponent by removing unused observables and simplifying data loading

* frontend: add API key management methods to AuthService

* frontend: enhance GlobalPreferencesService by adding webhook preferences management

* frontend: refactor DevelopersSettingsComponent to improve API key handling and streamline webhook configuration

* openapi: add webhook URL testing endpoint with request and response schemas

* test: add tests for webhook URL validation

* frontend: enhance PreferencesComponent and add changePassword method in AuthService

* feat(recording-preferences): add recording access control options and enhance UI animations

* feat(recording-layout): implement recording layout selection step with form handling and visual options

* feat(room-preferences): implement room preferences step with form handling and toggle options

* feat(room-wizard): enhance form handling and default value saving across components

* feat(layouts): add new layout images for grid, single speaker, and speaker configurations

* feat(developers): adjust API key field button padding and update spacing in API key display

* feat(rooms-lists): enhance button formatting and add tooltips for room status and auto-deletion

* feat(room-wizard): update room creation logic and form field names for consistency

* feat(room-wizard): add skip button functionality and enhance navigation handling

* feat(basic-info): simplify form layout by removing action buttons and related styles

* fix(wizard-navigation): change currentStepId type from string to number for consistency

* feat(styles): enhance button padding and hover effect in batch actions for improved usability

* fix(wizard-navigation): adjust padding for improved layout consistency

* feat(basic-info): add clear button for deletion date and enhance time selection layout

* feat(rooms-list): enhance deletion date display with new styling and structure

* fix(basic-info): remove debugger statement from saveFormData method

* refactor(step-indicator): remove commented-out styles for cleaner code

* feat(step-indicator): enhance responsive layout handling and emit layout changes

* feat(overview): improve loading state handling and update stats management

* feat(step-indicator): enable navigation between steps and improve layout handling

* feat(room-wizard): refactor state management to use MeetRoomOptions and improve data handling across components

* feat(step-indicator): enhance layout handling and improve text overflow management for better responsiveness

* feat(step-indicator): update step properties to enhance navigation and state management

* feat(room-wizard): add 'Create Room' label to finish button in navigation config

* openapi: add force-deletion parameter to delete room endpoint

* frontend: split code in ContextService into domain specific services and rename it to AppDataSerivce

* frontend: enhace FeatureConfigurationService to use signal-based approach and remove unused preferences and permissions

* feat(basic-info): update deletion hint icon and improve warning color consistency

* feat(room-service): rename saveRoomPreferences to updateRoom and adjust API path for preference updates

* feat(room-wizard): implement edit mode for room configuration, allowing users to update existing room settings

* feat(pro-feature-badge): create ProFeatureBadge component and integrate into logo selector and selectable card

* fix(recording): adjust compression level for zip archive in downloadRecordingsZip

* fix(internal-config): remove FIXME comments related to LK bug for meeting timeouts

* frontend: reorganize imports and remove unused components

* refactor(console): rename 'Developers' to 'Embedded' in navigation and update related routes

* fix(console-nav): update toolbar title from 'OpenVidu Console' to 'OpenVidu Meet'

* feat(users-permissions): create UsersPermissions component and update routing

* feat(users-permissions): add pro feature badge to user authentication section

* fix(overview): update navigation and text from 'Developers' to 'Embedded'

* feat(overview): update authentication configuration card and navigation

* frontend: refactor RoomRecordingsComponent to use RecordingListsComponent

* refactor: update API paths to remove 'meet' prefix for consistency

* frontend: update navigation paths to remove 'console' prefix for consistency

* feat(video-room): add leave and end meeting functionality with toolbar buttons

* fix(overview): remove unnecessary comment on initial loading state

* feat(wizard): enable quick create functionality in wizard navigation

* feat(step-indicator): implement safe current step index handling for edit mode

* feat(wizard): update quick create visibility to show only on first step in edit mode

* feat(users-permissions): refactor admin password handling and validation

* webcomponent: update Playwright dependencies and refactor leaveRoom functionality

- Updated Playwright and Playwright Test versions in package.json to 1.53.2.
- Refactored leaveRoom function to accept a role parameter, allowing for different behavior based on user role (moderator or publisher).
- Updated E2E tests to utilize the new leaveRoom function, ensuring proper cleanup and behavior for both roles.
- Removed unnecessary afterEach cleanup in UI Feature Preferences tests.

* frontend: add IDs to leave and end meeting buttons for better accessibility

* testapp: update package-lock.json and refactor ConfigService constructor for improved environment variable handling

* frontend: update background colors for improved visual consistency

* chore: add tslib dependency and enhance target directory validation in sync-types.sh

* frontend: enhance accessibility by adding IDs to toolbar and form elements

---------

Co-authored-by: juancarmore <juancar_more2@hotmail.com>
2025-07-02 17:00:43 +02:00
Carlos Santos
8aa1bbc64b Refactor storage service and interfaces for improved separation of concerns
- Updated StorageFactory to create basic storage providers and key builders.
- Simplified StorageProvider interface to focus on basic CRUD operations.
- Enhanced MeetStorageService to handle domain-specific logic while delegating storage operations.
- Implemented Redis caching for room data to improve performance.
- Added error handling and logging improvements throughout the service.
- Removed deprecated methods and streamlined object retrieval processes.
refactor: update storage service and interfaces to include user key handling and improve initialization logic

refactor: update beforeAll hooks in recording tests to clear rooms and recordings

refactor: optimize integration recordings test command

Revert "refactor: optimize integration recordings test command"

This reverts commit d517a44fa282b91613f8c55130916c2af5f07267.

refactor: enhance Redis cache storage operations

refactor: streamline test setup and teardown for security and recordings APIs
2025-06-04 11:14:04 +02:00
Carlos Santos
0d19028b46 backend: fixed recordiing timeout handling for returning expected error 2025-05-30 16:55:45 +02:00
Carlos Santos
333c7da5b2 backend: refactor RecordingService to use StorageProvider for listing objects and remove S3Service dependency 2025-05-30 11:06:48 +02:00
Carlos Santos
0fc8c203dd backend: add getRecordingMetadataByPath method to StorageProvider and implement in S3StorageProvider and MeetStorageService 2025-05-29 16:19:27 +02:00
Carlos Santos
52ef54311a backend: remove unused getMeetRecordingInfoFromMetadata method from RecordingService 2025-05-29 14:07:54 +02:00
Carlos Santos
37ed8003f5 backend: implement getRecordingMedia method in StorageProvider and S3StorageProvider, refactor RecordingService to use it 2025-05-29 14:07:29 +02:00
Carlos Santos
e4b77eb2f6 backend: add getObjectHeaders method to StorageProvider and implement in S3StorageProvider and MeetStorageService 2025-05-29 13:57:31 +02:00
Carlos Santos
5295d6326e backend: implement deleteRecordingBinaryFilesByPaths method in StorageProvider and S3StorageProvider 2025-05-29 13:41:13 +02:00
Carlos Santos
2c03ecdd9a backend: implement bulk deletion of recording metadata files in StorageProvider and S3StorageProvider 2025-05-29 13:29:42 +02:00
Carlos Santos
616222fb73 backend: implement deletion of archived room metadata in MeetStorageService and S3StorageProvider 2025-05-28 16:41:22 +02:00
Carlos Santos
325fb90550 backend: refactor recording metadata retrieval to use MeetStorageService and update StorageProvider interface 2025-05-28 16:11:12 +02:00
Carlos Santos
2e51681cd9 backend: refactor recording metadata handling to use MeetStorageService 2025-05-28 14:09:08 +02:00
Carlos Santos
48c0133504 backend: enhance signal sending methods in RecordingService and RoomService with error handling and logging 2025-05-26 11:58:43 +02:00
Carlos Santos
f7ce0152c1 backend: change default layout from 'speaker' to 'grid' in generateCompositeOptionsFromRequest method 2025-05-20 11:42:20 +02:00
juancarmore
8357a54597 backend: Improve error handling and logging, and refactor code 2025-04-30 14:00:38 +02:00
Carlos Santos
7376f1dc04 backend: Refactor recording lock acquisition logic to prevent unnecessary cleanup on active recordings 2025-04-29 17:49:37 +02:00
Carlos Santos
1a13d3d98b backend: Rename garbage collection methods for clarity and add tests for orphaned recording locks 2025-04-29 17:19:59 +02:00
Carlos Santos
bdddeb34c5 backend: Enhance recording media streaming with range support and error handling 2025-04-29 13:14:44 +02:00
Carlos Santos
0991962554 backend: Remove unnecessary cleanup timer cancellation in stopRecording method 2025-04-25 15:10:06 +02:00
Carlos Santos
51ed2faa12 backend: Enhance recording deletion logic and update associated room metadata location directory 2025-04-25 10:36:56 +02:00
juancarmore
5e11be08b4 backend: Reorganize imports 2025-04-24 14:59:46 +02:00
Carlos Santos
9897436df2 backend: update recording start method for improving its clarity and avoding race conditions receiving events 2025-04-24 11:48:38 +02:00
Carlos Santos
7a8f3fbe69 backend: refactor recording start process and add room validation checks 2025-04-24 11:43:05 +02:00
Carlos Santos
c33ee7218b backend: Saved recording preferences into the room_metadata json file 2025-04-22 13:03:03 +02:00
Carlos Santos
47350f1b10 backend: Refactor recording timeout handling by extracting timeout registration into a separate method 2025-04-22 11:13:30 +02:00
Carlos Santos
74d1b542b6 backend: Refactor recording timeout handling to properly register and unregister event listeners 2025-04-21 17:32:31 +02:00
Carlos Santos
9d42242ba0 backend: Updated recording status when a starting timeout occurs 2025-04-21 16:18:28 +02:00
Carlos Santos
d596e78a46 backend: Refactor recording deletion logic to use Sets for improved performance 2025-04-21 14:04:33 +02:00
Carlos Santos
1ebc45a54f backend: Enhance bulk deletion logic for recordings and improve secrets file handling 2025-04-21 13:47:49 +02:00
Carlos Santos
0e9d050bcb backend: Update recording path extraction to include S3 prefix and fix typo 2025-04-21 11:49:25 +02:00
Carlos Santos
524460e06a backend: Rename setPrivateConfig to setInternalConfig for clarity; add errorRecordingStartTimeout for handling timeout scenarios 2025-04-16 11:09:55 +02:00
Carlos Santos
58dcd83229 backend: Centralize configuration values in internal-config module 2025-04-11 17:13:05 +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
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
dbce119f5a backend: Enhance recording cleanup by adding secrets.json file deletion logic 2025-04-10 11:34:24 +02:00
Carlos Santos
a17bcd5771 backend: Add error handling for starting recordings when no participants are present 2025-04-07 20:41:39 +02:00