Commit Graph

4234 Commits

Author SHA1 Message Date
David Négrier
6890e2579c Removing old unused images
Just a bit of cleanup!
2022-03-18 17:58:41 +01:00
Piotr 'pwh' Hanusiak
a10f327f45 hide voice indicator for player leaving still existing bubble conversation 2022-03-18 17:46:28 +01:00
Alexis Faizeau
539a273263
Revert "Stabilize screensharing (#1982)" (#1984)
This reverts commit 33e78060d4.
2022-03-18 17:37:02 +01:00
Alexis Faizeau
15a0a2d1eb Add check if cowebsite still exist before highlight 2022-03-18 16:44:15 +01:00
Alexis Faizeau
c51fe1cfed
Translate camera help (#1983)
Co-authored-by: Alexis Faizeau <a.faizeau@workadventu.re>
2022-03-18 11:50:48 +01:00
Alexis Faizeau
9c99d760f7 Close socket connection on not authorized woka 2022-03-18 11:49:41 +01:00
Alexis Faizeau
33e78060d4
Stabilize screensharing (#1982)
Co-authored-by: Alexis Faizeau <a.faizeau@workadventu.re>
2022-03-17 17:50:39 +01:00
Piotr 'pwh' Hanusiak
9a7e5cae4c populate grid on resize 2022-03-17 16:48:40 +01:00
Piotr 'pwh' Hanusiak
744c15920b fixed bug with animation not showing up to date state of the outfit 2022-03-17 15:49:05 +01:00
Piotr 'pwh' Hanusiak
a3fcf2dc3f populating grid 2022-03-17 13:58:54 +01:00
Piotr 'pwh' Hanusiak
701c5f65cd independent parts preview 2022-03-17 11:58:12 +01:00
Piotr 'pwh' Hanusiak
7703a76689 show body parts previews 2022-03-17 11:03:04 +01:00
Gregoire Parant
56fb73c682 Change roomId by playUri
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
2022-03-17 10:53:56 +01:00
Gregoire Parant
0e7a52aa58 update with dan suggest
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
2022-03-17 10:38:52 +01:00
Gregoire Parant
5448596f01 Merge branch 'develop' into changeRegisterAccess
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>

# Conflicts:
#	pusher/src/Services/AdminApi.ts
2022-03-17 09:54:24 +01:00
Gregoire Parant
d9407a3428 Add * in access location of nginx configuration
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
2022-03-16 15:52:29 +01:00
David Négrier
37e824c494 Fixing setInterval not freed for some volume analyzers
Also: using a 256 fftSize instead of 2048 to save on CPU cycles.
2022-03-16 15:34:39 +01:00
Piotr 'pwh' Hanusiak
a22504b354 fix bug with grid not showing starting positions on resize 2022-03-16 15:05:47 +01:00
Piotr 'pwh' Hanusiak
ac48a42903 further work on vertical layout 2022-03-16 14:05:35 +01:00
Piotr 'pwh' Hanusiak
fb020e22c7 entirely different approach to layout 2022-03-16 13:25:39 +01:00
David Négrier
53b184e82b Adding support for custom logos
The admin can now set custom logos for the login scene and for the loading screen.
2022-03-15 18:16:56 +01:00
David Négrier
79db6c8f3b Fixing a race condition in Jitsi
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.
2022-03-15 17:50:56 +01:00
David Négrier
b959ce7a6d Migrating some promises to Deferred objects to simplify the code. 2022-03-15 13:51:36 +01:00
David Négrier
153bffd521 Wait for main character to be loaded to display the GameScene
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.
2022-03-15 13:51:36 +01:00
David Négrier
3988559d2a Removing old unused images
Just a bit of cleanup!
2022-03-15 13:51:10 +01:00
Piotr 'pwh' Hanusiak
43bac6c5cf get rid of zoom factor 2022-03-15 11:31:01 +01:00
David Négrier
b6b6c7f15f Adding error case when texture is empty 2022-03-14 14:28:42 +01:00
David Négrier
52b5027702 Adding source maps to production build. 2022-03-14 13:55:30 +01:00
David Négrier
352f144e97
Merge pull request #1963 from thecodingmachine/develop
Deploy 2022-03-14
2022-03-14 13:01:10 +01:00
Alexis Faizeau
f4fd686699 Change names of woka textures 2022-03-14 12:58:33 +01:00
Piotr Hanusiak
d4dcd0d5ce
Actions menu api (#1862)
* 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>
2022-03-14 10:15:10 +01:00
Lurkars
55db6a9b12
apply textures on openid login, fix pusher errors on woka list (#1961)
* 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>
2022-03-14 10:14:35 +01:00
David Négrier
6f4c3a89cd Improving openapi doc 2022-03-14 09:57:56 +01:00
David Négrier
6540f15c5b
Refactoring Woka management (#1810)
* 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>
2022-03-11 17:02:58 +01:00
Alexis Faizeau
36646cbdbe Add returns on pusher endpoints 2022-03-11 16:26:45 +01:00
Piotr 'pwh' Hanusiak
9644512d68 different animations for previewer 2022-03-11 16:05:39 +01:00
Piotr 'pwh' Hanusiak
6d50d15630 different approach for displaying preview 2022-03-11 15:21:51 +01:00
Piotr Hanusiak
2a73400f7c
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>
2022-03-11 14:30:00 +01:00
Piotr 'pwh' Hanusiak
138e8aece4 better woka preview, wip 2022-03-11 13:36:55 +01:00
David Négrier
46f16f1422 Copying messages to back too 2022-03-11 12:02:45 +01:00
David Négrier
4ebb25e6ea Merge branch 'develop' of github.com:thecodingmachine/workadventure into refactor_wokas 2022-03-11 11:55:30 +01:00
David Négrier
f97681cef5 Actually returning something in logout-callback 2022-03-11 10:44:40 +01:00
David Négrier
d3862a3afd
Better e2e tests (#1959)
* Adding a timeout to wait for old map to be correctly loaded

* Adding an exception for E2E tests to load a local map as if it was remote.
2022-03-11 10:29:42 +01:00
Hanusiak Piotr
9f823506b9 little PlayerTextures class refactor 2022-03-10 16:18:47 +01:00
Hanusiak Piotr
a8cd37bcf9 well-known values wip 2022-03-10 15:34:19 +01:00
Hanusiak Piotr
767e3b94e3 fix compilation error 2022-03-10 13:19:23 +01:00
Hanusiak Piotr
5a8cba24fa much cleaner approach to group lock update 2022-03-10 12:20:53 +01:00
Hanusiak Piotr
060cdf3310 fix LocalUser test 2022-03-10 09:50:41 +01:00
Hanusiak Piotr
b3e896d9fc removed unused label field 2022-03-10 09:24:31 +01:00
Hanusiak Piotr
3a5aa3c3c5 cr fixes #1 wip 2022-03-09 16:51:11 +01:00