* Upgrading playwright to 1.21
Also, locking CI to install 1.21 (just like package.json is using).
This way, on the next Playwright release, CI will continue working.
* Running npx install playwright from the tests directory so that playwright can install the correct browsers
* Change accès token with query privateAccessToken in the url
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
* Add play uri param
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
* PlayUri parameter
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
* removed unused imports
* send group userIds to players
* sending info about group lock state. wip
* listening to lockGroupMessage on front
* cleanup
* Updating GroupDescriptors on LockGroupMessage
* remove console logs
* group circles with color fill
* fix GameRoom text
* remove obsolete check
* cr fixes#1 wip
* much cleaner approach to group lock update
* fix compilation error
* well-known values wip
* Removing old unused images
Just a bit of cleanup!
* update with dan suggest
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
* Change roomId by playUri
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
* hide voice indicator for player leaving still existing bubble conversation
* Refactor access by token
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
* Refactor connexion manager
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
* Adds settings options and localUser functions
* PrivacyShutdownStore modifies constraints according to the user's setting
* switches dropdown for checkboxes and adjusts wording
* Adds the todo about German translation
* Adds test map
* Makes the default setting: camera off and mic on
* Add z-index on embeds screens and action menu
* Fixes tileset import
* Adds settings options and localUser functions
* PrivacyShutdownStore modifies constraints according to the user's setting
* switches dropdown for checkboxes and adjusts wording
* Adds the todo about German translation
* Adds test map
* Makes the default setting: camera off and mic on
* Fixes tileset import
* Applying German translation, thanks to @Lurkars
* removed obsolete console.log
* fix linter issues
* make use of proto well knows types
* fixed types for RoomConnection
* fix locking bubble when returning from away mode
* Fix run pretty
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
* prevent actions menu from appearing when inserting space key on chat
* Bump ansi-regex from 4.1.0 to 4.1.1 in /maps
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v4.1.0...v4.1.1)
---
updated-dependencies:
- dependency-name: ansi-regex
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump minimist from 1.2.5 to 1.2.6 in /desktop/local-app
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump ansi-regex from 4.1.0 to 4.1.1 in /desktop/electron
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v4.1.0...v4.1.1)
---
updated-dependencies:
- dependency-name: ansi-regex
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump ansi-regex from 4.1.0 to 4.1.1 in /uploader
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v4.1.0...v4.1.1)
---
updated-dependencies:
- dependency-name: ansi-regex
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump plist from 3.0.4 to 3.0.5 in /desktop/electron
Bumps [plist](https://github.com/TooTallNate/node-plist) from 3.0.4 to 3.0.5.
- [Release notes](https://github.com/TooTallNate/node-plist/releases)
- [Changelog](https://github.com/TooTallNate/plist.js/blob/master/History.md)
- [Commits](https://github.com/TooTallNate/node-plist/commits)
---
updated-dependencies:
- dependency-name: plist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Hanusiak Piotr <piotr@ltmp.co>
Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>
Co-authored-by: Piotr 'pwh' Hanusiak <p.hanusiak@workadventu.re>
Co-authored-by: Benedicte Quimbert <b.quimbert@workadventu.re>
Co-authored-by: Alexis Faizeau <a.faizeau@workadventu.re>
Co-authored-by: Bénédicte Q <37311765+HimeShaman@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Removing old unused images
Just a bit of cleanup!
* Allow audio feature
* Pretty
* Ignored screenshot folder
* Added manual test
* Simplified test map
Co-authored-by: Valdo Romao <v.romao@thecodingmachine.com>
This class is the Phaser loader as it should be: it comes with promises,
can be easily run out of the "preload" phase and won't crash if the
scene is destroyed before textures are loaded.
When setting the name, in rare cases, Jitsi was not initialized yet and setting the name would cause a JS error.
We are now waiting for Jitsi to be properly initialized before setting the name.
This change makes sure the character of the current player is fully loaded before we display the game scene.
Otherwise, you could have a glitch for 0.5-2 seconds between the GameScene being displayed and the actual character being displayed.
* wip
* wip
* random action on click
* removing actions
* register single key per command use
* change removeActionsMenu action name
* fixed actions menu not hiding content properly:
* actions menu fix
* added mock Block Player action
* ActionsMenu buttons styling
* added displaying priority for menu actions
* moved utils actionMenu features to the UI
* import as a type:
* more object oriented style for API
* removed registered actions from RemotePlayer instance
* readme update
* Fixing typos / Improving wording
* added instructions on AlterActionsMenu test map
Co-authored-by: Hanusiak Piotr <piotr@ltmp.co>
Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>
* apply textures on openid login, fix pusher errors on woka list
* remove logging
* Returning a HTTP 400 id roomUrl parameter not set
Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>
* Wrap websockets with HyperExpress
* Add endpoints on pusher to resolve wokas
* getting textures urls from pusher
* Adding OpenAPI documentation for the pusher.
The pusher now exposes a "/openapi" endpoint and a "/swagger-ui/" endpoint.
* revert FRONT_URL
* playerTextures metadata is being loaded via Phaser.Loader
* fetch textures every time character or customize scene is open
* Heavy changes: refactoring the pusher to always send the textures (and the front to accept them)
* Sending character layer details to admin
* Cleaning commented code
* Fixing regex
* Fix woka endpoints on pusher
* Change error wording on pusher
* Working on integration of the woka-list with the new admin endpoint.
* Switching from "name" to "id" in texture object + using zod for woka/list validation
* Add position on default woka data
* Remove async on pusher option method
* Fix woka list url
* add options for /register
* Fxiing loading the Woka list
* Actually returning something in logout-callback
* Copying messages to back too
* remove customize button if no body parts are available (#1952)
* remove customize button if no body parts are available
* remove unused position field from PlayerTexturesCollection interface
* removed unused label field
* fix LocalUser test
* little PlayerTextures class refactor
* Fixing linting
* Fixing missing Openapi packages in prod
* Fixing back build
Co-authored-by: Hanusiak Piotr <piotr@ltmp.co>
Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>
* Add returns on pusher endpoints
Co-authored-by: Alexis Faizeau <a.faizeau@workadventu.re>
Co-authored-by: Hanusiak Piotr <piotr@ltmp.co>
Co-authored-by: Piotr Hanusiak <wacneg@gmail.com>
* async call for recalculating tiles costs
* fixed setWalkingCostGrid still being a blocking process
* set exits tiles cost from the start
* removed typing error from code
Co-authored-by: Hanusiak Piotr <piotr@ltmp.co>
* base front production image on official nginx
* build multi-platform docker images
* build message types outside docker
* set docker build context to path
* build message types before running e2e tests
* add build for arm/v7
* remove build for arm/v7
* increase yarn network timeout
* set front port to 80
* add git labels to images
https://github.com/docker/build-push-action/blob/master/UPGRADE.md#tags-with-ref-and-git-labels
* add images input
* Adding back commented code in the Dockerfile (the protobuf message building).
This way, when node-grpc supports ARM64, we can uncomment the code again.
Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>
Co-authored-by: Lukas Hass @lukashass
The docker-compose build used in E2E tests was running builds sequentially.
This is an attempt to run the builds in parallel to optimize the E2E startup time.
Before this commit, the "Start WorkAdventure" step takes 7m11 on GitHub