48 Commits

Author SHA1 Message Date
Carlos Santos
3d4f04feb1 Migrate to pnpm
chore: migrate project to pnpm and update workspace configuration

- Added pnpm workspace configuration in pnpm-workspace.yaml to manage packages.
- Updated prepare.sh script to use pnpm for installing and building packages.
- Modified testapp/package.json scripts to use pnpm instead of npm.
- Enhanced tsconfig.client.json and tsconfig.json with additional options and exclusions.
- Updated typings README.md to reflect the use of pnpm for installation and building.

streamline build process in prepare script and update dependency installation

Refactor code structure for improved readability and maintainability

refactor: optimize Dockerfile for better layer caching and dependency installation

refactor: migrate typings from '@lib/typings/ce' to '@openvidu-meet/typings'

- Updated imports across multiple components and services to use the new '@openvidu-meet/typings' package.
- Removed legacy typings references and adjusted paths in the frontend and webcomponent projects.
- Cleaned up the typings package structure and added build scripts for TypeScript.
- Removed the sync-types.sh script as it is no longer needed with the new structure.
- Updated README and package.json files to reflect the new package name and structure.
feat: add nodemon configuration for API documentation updates and enhance development scripts

feat: implement type checking in watch mode and update development scripts

feat: enhance development scripts with wait-for-typings and watch-typings utilities

fix: remove obsolete sync:backend script and enhance dev script with preserveWatchOutput option

feat: enhance development scripts with typings guard and improve watch behavior

Refactors build and dev scripts

Simplifies and consolidates build and development-related scripts for improved maintainability.

- Updates the build process to be more streamlined.
- Improves the development workflow by consolidating common tasks.
- Removes redundant scripts.

Replaces prepare script with meet script

Replaces the old `prepare.sh` script with a new `meet.sh` script to provide a more user-friendly and comprehensive interface for building and managing the project.

- Integrates command-line arguments for different build targets.
- Includes documentation generation for web components and REST APIs.
- Provides improved error handling and user feedback.
- Simplifies the build process with `pnpm`.

chore: update typescript version to 5.9.2 across multiple package.json files
refactor: replace constructor injection with inject function for AppDataService

feat: add commands to build webcomponent and run unit tests

meet.sh: add end-to-end testing support for webcomponent with optional Playwright browser installation

chore: update pnpm version to 10 and streamline test commands in workflows

meet.sh: rename build_webcomponent_only to build_webcomponent and streamline dependency installation

gitignore: add test-results directory to ignore list

meet.sh: rename build_webcomponent_only to build_webcomponent for consistency

Updated pnpm-lock.yml

refactor: streamline build scripts and enhance service start options in meet.sh

ci: update OpenVidu Meet actions to use meet-pnpm-migration version

refactor: update import paths for WebComponentCommand and WebComponentEvent to use shared typings

fix: add moduleNameMapper for typings path in jest configuration

fix: correct action version syntax for OpenVidu Meet setup in workflow

fix: update typings imports to use shared @openvidu-meet/typings package

fix: add skip-install and skip-typings options to meet.sh and update workflows

meet.sh: add development mode command and update start services options

fix: format code in meeting.component.ts and remove unused export in public-api.ts

added openvidu-components-angular to the local workspace and watch for changes in dev mode

fix: update Node.js action to v5 and streamline build steps in wc-unit-test.yaml

fix: remove pnpm install from build scripts in package.json

fix: update backend unit test workflow and add test unit command in meet.sh

fix: update unit test command in package.json to use pnpm exec

Updates import path for LiveKit permissions

Updates the import path for LiveKit permissions to align with the new typings package location, ensuring the test suite remains functional after the project's dependencies are migrated.

fix: remove redundant dependency installation and build steps in start_services function

fix: update Node.js setup action version and adjust OpenVidu actions for pnpm migration

fix: update tsconfig.json to exclude specific type declaration paths

fix: remove deprecated dependencies and update openapi-generate-html version

fix: update build messages and streamline start commands for production and CI modes

fix: update OpenVidu Meet and Testapp actions to use main branch and streamline pre-startup commands

Refactors type import for auth mode

Updates the import path for the authentication transport mode type.

This change ensures consistency across the application by using a centralized type definition.

Refactors backend integration tests

Streamlines the backend integration test workflow.

Consolidates test jobs for better organization and efficiency.
Leverages matrix testing for recordings API with different storage providers.
Improves AWS runner management for recording tests.
Adds artifact cleanup to prevent storage bloat.

Sets up Node.js and pnpm

Adds Node.js and pnpm setup steps to the integration test workflow.

This enables the use of pnpm for managing dependencies during integration tests.

Refactors test commands to use pnpm exec

Updates the test commands in package.json to use `pnpm exec`
for running Jest.

This ensures that the Jest CLI is executed within the pnpm
managed environment, resolving potential path and dependency
issues.

Refactors imports to use the new typings package

Updates imports to use the new `@openvidu-meet/typings` package.
Removes now-unnecessary module name mappings.

This change is part of the pnpm migration, ensuring correct
resolution of shared types.

Enhances backend integration tests and updates Node.js setup

Simplifies integration tests execution

Updates integration test scripts to streamline execution.

- Uses a single, parameterized script to run all backend integration tests.
- Removes redundant prefixes from test script names.

Refactors jest configuration to include moduleNameMapper for improved module resolution

Updates Jest integration test commands to use experimental VM modules and adjusts TypeScript root directory settings for better output structure

Ensures OpenVidu Meet logs are uploaded

Guarantees OpenVidu Meet logs are uploaded as artifacts, regardless of test outcome.

Moves log upload to ensure consistent capture, and does so for all test scenarios.

Commented backend integration tests

Fix build script to specify TypeScript configuration file

Refactor integration test command to use pnpm bin for jest execution

Update integration test commands to use relative paths for Jest execution

Revert "Commented backend integration tests"

This reverts commit 1da8cddb55e29036c2a816244f4bc8b665ede581.

Change log upload condition to trigger on failure for OpenVidu Meet logs

Add caching step for OpenVidu local deployment images in backend integration tests

Revert "Add caching step for OpenVidu local deployment images in backend integration tests"

This reverts commit bf4692d168c671100a88c09853a460ec5417979d.

Enhance AWS runner setup with storage provider matrix and update job names for clarity

Refactor AWS runner setup to separate jobs for S3, ABS, and GCS, enhancing clarity and maintainability

Update README.md to enhance structure and clarity, including detailed sections on prerequisites, getting started, development, and documentation.

Refactor Dockerfile and entrypoint script, remove deprecated image creation scripts, and enhance meet.sh with Docker build functionality and base href support

Update README.md to reflect changes in Docker image build commands using meet.sh

Update package.json to correct versioning and remove redundant entries

Added browser sync for live reloading

chore: update @typescript-eslint packages to version 8.46.1 in frontend and pnpm-lock.yaml

fix: correct argument skipping logic and ensure typings are built in install_dependencies function

Adapt project structure

backend: add TypeScript type annotations for Router instances in route files

fix: update path for nodemon configuration in dev:rest-api-docs script

fix: update paths in webcomponent documentation generation scripts

fix: update Dockerfile and entrypoint script for correct directory structure and improve error handling

fix: update .dockerignore and Dockerfile for improved directory handling and permissions; add backend type checker script

Added all tests files

Updates OpenVidu Meet action refs to main

Updates the OpenVidu Meet GitHub Action references
in the CI workflows to point to the `main` branch.

This ensures that the workflows use the latest version
of the action.
2025-10-15 17:42:04 +02:00
juancarmore
9b54b7170c ci: consolidate E2E test jobs and update test command in workflow 2025-09-25 11:05:46 +02:00
juancarmore
58caf7c5af ci: add skip_checkout option to OpenVidu Meet Testapp steps in E2E tests 2025-09-23 17:26:20 +02:00
juancarmore
38093f0116 ci: streamline E2E test workflows and remove redundant logging in testapp 2025-09-22 18:12:32 +02:00
Carlos Santos
63419ead60 ci: update Node.js version to 22.13.1 in E2E tests 2025-08-04 12:46:54 +02:00
Carlos Santos
4d306bd402 ci: Enhanced logging 2025-07-28 12:45:16 +02:00
Carlos Santos
160cb3927d testapp: enhance logging and error handling across services and controllers 2025-07-24 18:49:31 +02:00
Carlos Santos
75fbeea807 ci: enhance logging for failed TestApp and OpenVidu Meet tests 2025-07-24 18:29:33 +02:00
Carlos Santos
8f9d027b79 ci: update test video path pattern to include nested directories 2025-07-24 17:59:34 +02:00
juancarmore
703afd6219 ci: remove redundant environment variables from E2E test workflow 2025-07-24 00:34:39 +02:00
Carlos Santos
1cd83c6c1e ci: updated webcomponent E2E test workflow for starting openvidu meet locally 2025-07-23 10:59:07 +02:00
Carlos Santos
a10d30284b ci: Adds API URL for meet service
Configures the Meet API URL as an environment variable for the E2E tests.
This allows tests to connect to the service during CI runs.
2025-07-15 11:31:56 +02:00
Carlos Santos
d7e6ae7e32 ci: comment out OpenVidu Meet setup in E2E tests workflow 2025-07-15 10:44:16 +02:00
Carlos Santos
fac7ed2636 test: enhance E2E tests with room and webhook functionality, add specific test scripts 2025-06-12 16:08:06 +02:00
Carlos Santos
209b4023fc test: add recording access tests and update helper functions for room preferences 2025-06-12 10:27:51 +02:00
Carlos Santos
73290ed470 ci: update test video upload path in E2E workflow 2025-06-11 18:10:48 +02:00
Carlos Santos
f7be31f84b ci: add E2E UI Features Tests workflow 2025-06-11 18:02:35 +02:00
Carlos Santos
c022bbf06e ci: update Node.js version to 22.13 in E2E test workflows 2025-06-06 12:55:11 +02:00
Carlos Santos
80bcc559df refactor: streamline testapp startup process in E2E tests workflow 2025-06-06 12:52:19 +02:00
Carlos Santos
64789951d3 testapp: add functionality to delete all rooms and add core tests 2025-06-06 12:32:10 +02:00
Carlos Santos
5d90602c88 ci: update workflow triggers to include workflow_dispatch for integration and unit tests 2025-05-30 11:30:01 +02:00
Carlos Santos
5884f9341e ci: remove wait-on installation from integration and unit test workflows, update wait logic in E2E test workflow 2025-05-30 11:27:42 +02:00
Carlos Santos
5fab376e15 ci: update OpenVidu local deployment action in E2E test workflow 2025-05-26 18:42:14 +02:00
Carlos Santos
df3e0e05bb ci: migrate actions to use OpenVidu repository for setup and cleanup 2025-05-23 17:15:41 +02:00
Carlos Santos
a913df4a04 ci: reorganize OpenVidu Meet setup by moving checkout step to action.yml 2025-05-22 16:03:15 +02:00
Carlos Santos
c6d4b757b4 ci: optimize OpenVidu Meet setup by removing redundant checkout steps and ensuring yarn installation 2025-05-22 15:56:59 +02:00
Carlos Santos
b25b80fc6e test: mark moderator join event test as only for focused execution
testapp: ensure roomId is defined before rendering stored webhook events

testapp: correct build script to include build:client step

ci: reduce log retention days from 7 to 2 for various artifacts

test: remove 'only' from moderator join event test for full execution

testapp: correct build script order in package.json for proper execution

frontend: update openvidu-components-angular to version 3.2.0-dev17 in package.json and package-lock.json

webcomponent: remove unnecessary comment from playwright configuration file
2025-05-14 17:39:46 +02:00
Carlos Santos
835cde2dc2 ci: improve log upload steps and rename for clarity in E2E tests 2025-05-14 16:54:33 +02:00
Carlos Santos
2ee94daff4 ci: update Docker Compose log dumping path to /tmp for consistency 2025-05-14 16:48:33 +02:00
Carlos Santos
34bc2ce548 ci: update OpenVidu Local Deployment reference from development to main 2025-05-14 16:39:37 +02:00
Carlos Santos
a2f1ea71d2 ci: update Docker Compose log dumping to use local containers.txt 2025-05-14 16:18:14 +02:00
Carlos Santos
39beed3172 ci: remove redundant npm install steps and add Docker Compose log dumping 2025-05-14 15:59:20 +02:00
Carlos Santos
85985274ed ci: remove unnecessary directory listings from test run for cleaner output 2025-05-14 15:48:49 +02:00
Carlos Santos
cc446c206f ci: rename step to upload failed test videos for clarity 2025-05-14 14:25:33 +02:00
Carlos Santos
17b66c6c35 ci: add step to upload test videos with specified retention 2025-05-14 14:14:25 +02:00
Carlos Santos
233ec74871 ci: add environment variable for webhook in E2E test workflow 2025-05-14 13:59:54 +02:00
Carlos Santos
d2d3453f35 test: improve failure logging in E2E tests 2025-05-14 12:10:38 +02:00
Carlos Santos
00a0242e61 ci: redirect output of backend and testapp to log files for better debugging 2025-05-14 12:02:30 +02:00
Carlos Santos
81aea14b76 ci: move Playwright browser installation to test execution step 2025-05-14 11:02:36 +02:00
Carlos Santos
6b13870fc1 ci: ensure Playwright browsers are installed after dependencies in E2E test workflow 2025-05-14 10:45:08 +02:00
Carlos Santos
57b2812c63 ci: update Playwright browser installation path to use temporary directory 2025-05-14 10:39:42 +02:00
Carlos Santos
959210c2e9 ci: set PLAYWRIGHT_BROWSERS_PATH for Playwright browser installation and test execution 2025-05-14 10:26:53 +02:00
Carlos Santos
203cfc6791 ci: remove redundant setup steps for OpenVidu Meet WebComponent in E2E test workflow 2025-05-13 17:15:54 +02:00
Carlos Santos
9630fa475d ci: correct directory path for testapp startup in E2E workflow 2025-05-13 14:17:12 +02:00
Carlos Santos
33087fee11 ci: enhance E2E test workflow by adding setup steps for OpenVidu Local Deployment and testapp 2025-05-13 14:06:39 +02:00
Carlos Santos
cba1a0938c test: update Playwright configuration to utilize RUN_MODE for headless setting in E2E tests 2025-05-13 13:55:24 +02:00
Carlos Santos
21452955bd ci: adjust Playwright browser installation step in E2E test workflow 2025-05-13 13:45:19 +02:00
Carlos Santos
6cc13d1ed1 ci: add workflow for WebComponent E2E tests 2025-05-13 13:12:51 +02:00