Commit Graph

777 Commits

Author SHA1 Message Date
Piotr 'pwh' Hanusiak 30b82427d8 remove commented code 2022-04-19 12:42:08 +02:00
Piotr 'pwh' Hanusiak 92c79a89fe statuses swapping fixes 2022-04-19 12:27:39 +02:00
Piotr 'pwh' Hanusiak 7385ce522f removed silentStore 2022-04-14 16:49:05 +02:00
Piotr 'pwh' Hanusiak 61c68b0875 silent indicator when on jitsi zone 2022-04-14 14:31:31 +02:00
Piotr 'pwh' Hanusiak 91f299ba82 change status when entering silent zone 2022-04-14 12:37:31 +02:00
Piotr 'pwh' Hanusiak 99854e2d62 removed silent message 2022-04-14 11:41:01 +02:00
Piotr 'pwh' Hanusiak 8f0b02a9c8 change away to availability status 2022-04-14 11:03:58 +02:00
Piotr 'pwh' Hanusiak 45e254b931 visible indicator for hero. Using images in order to fix graphic circles glitching out during movement 2022-04-13 14:31:18 +02:00
Alexis Faizeau d1e8243c47 Zod EVERYWHERE (#2027)
* Zod EVERYWHERE

* Add no-unused-vars rule to eslint in front

* Add no-unused-vars rule to eslint in pusher

* Add no-unused-vars rule to eslint in back

* Remove unused PlayerTexture guards

* Fix data providing on room connection

Co-authored-by: Alexis Faizeau <a.faizeau@workadventu.re>
2022-04-12 14:21:19 +02:00
Piotr Hanusiak 02f06a913b Availability indicator (#2044)
* status indicators changing properly

* away status wip

* updating away status on connection

* remove obsolete logs

* fix typecheck

* minor adjustments

* darker outline

* Trying darker outline

* Apply suggestions from code review

* Update pusher/src/Model/Zone.ts

* Making the dot smaller

* Marking onleavezone as deprecated

Co-authored-by: Piotr 'pwh' Hanusiak <p.hanusiak@workadventu.re>
Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>
2022-04-07 14:23:53 +02:00
Piotr 'pwh' Hanusiak 106ee755a8 call unsubscriber 2022-04-07 14:09:21 +02:00
Piotr 'pwh' Hanusiak 1df71e78e8 take both dominant speaker and jitsi participants count into consideration 2022-04-07 14:09:21 +02:00
Piotr 'pwh' Hanusiak 0cce2a7ab8 show voice indicator above alpha-male (dominant) jitsi speaker 2022-04-07 14:09:21 +02:00
Piotr Hanusiak 7e84ac5454 Global voice-indicators (#2020)
* make use of well known types for PlayerDetailsUpdated message

* show voice-chat indicator of people from other groups too

* cleanup

* check for outline value

* do not send outline color if undefined

* revert removing LocalVolumeStore

* use auto-generated type instead

Co-authored-by: Piotr 'pwh' Hanusiak <p.hanusiak@workadventu.re>
2022-04-04 13:47:23 +02:00
Piotr 'pwh' Hanusiak 0e3529ae4a fix locking bubble when returning from away mode 2022-03-29 11:04:29 +02:00
Piotr 'pwh' Hanusiak 1b2c67a4d7 removed obsolete console.log 2022-03-28 13:47:02 +02:00
Piotr 'pwh' Hanusiak b95d5f1d10 merged develop 2022-03-28 13:16:29 +02:00
David Négrier 9f79e595a5 Migrating Loader bar to SuperLoad and fixing Resize issue on loader 2022-03-18 18:11:32 +01:00
David Négrier c529658ef4 Adding first version of SuperLoader
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.
2022-03-18 18:11:32 +01:00
Piotr 'pwh' Hanusiak cd42f30aa7 hide voice indicator for player leaving still existing bubble conversation 2022-03-18 17:58:41 +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 b6b6c7f15f Adding error case when texture is empty 2022-03-14 14:28:42 +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
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
Hanusiak Piotr 5a8cba24fa much cleaner approach to group lock update 2022-03-10 12:20:53 +01:00
Hanusiak Piotr 3a5aa3c3c5 cr fixes #1 wip 2022-03-09 16:51:11 +01:00
Piotr Hanusiak 0196eae055 async call for recalculating tiles costs (#1890)
* 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>
2022-03-08 16:28:54 +01:00
Hanusiak Piotr 363b906cb8 group circles with color fill 2022-03-03 14:36:16 +01:00
Hanusiak Piotr a0205bf682 cleanup 2022-03-02 17:00:43 +01:00
Hanusiak Piotr ef22d4ba20 listening to lockGroupMessage on front 2022-03-02 10:44:26 +01:00
Hanusiak Piotr d43c8d181a sending info about group lock state. wip 2022-03-01 11:36:45 +01:00
Hanusiak Piotr 724dbc8efa send group userIds to players 2022-02-28 13:47:08 +01:00
Hanusiak Piotr 8d8857011e removed unused imports 2022-02-23 14:40:19 +01:00
Hanusiak Piotr 9fe4782fbd clear hashParams after moving player with moveTo param 2022-02-23 10:14:09 +01:00
Gregoire Parant 658781e02e Merge branch 'master' into develop
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>

# Conflicts:
#	front/public/resources/logos/meet.svg
2022-02-22 23:40:48 +01:00
Gregoire Parant 23f7d6f08f Update CoWebsite Jitsi
- Change Jitsi meeting icon
 - Add Jitsi meeting information

Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
2022-02-20 23:28:27 +01:00
Lukas Hass 2755489ccf Merge branch 'develop' into vite 2022-02-17 15:20:58 +01:00
Alexis Faizeau f186111d2f Fix importing coWesbite from API to store 2022-02-17 09:51:32 +01:00
David Négrier a7264954ea Merge pull request #1820 from thecodingmachine/feature-voice-chat-indicator
Feature voice chat indicator
2022-02-16 16:46:13 +01:00
Hanusiak Piotr e590cee753 forcing close talkIcon indicator when leaving bubble conversation 2022-02-16 15:55:07 +01:00
Hanusiak Piotr 0b0d3b5beb fixed issue with chat indicator persisting after being out of conversation 2022-02-16 14:56:59 +01:00
Hanusiak Piotr dea5784c9b Merge branch 'develop' into feature-voice-chat-indicator 2022-02-16 14:37:01 +01:00
Hanusiak Piotr 3875d3b0f5 Merge branch 'develop' into avoid-exits-on-path 2022-02-16 14:03:48 +01:00
Lukas Hass cdc3d182bc fix comparison that is always false 2022-02-15 12:00:32 +01:00
Hanusiak Piotr 639c456540 use png instead of svg for talk icon 2022-02-14 10:37:13 +01:00
Lukas Hass 29cdb1a8e5 Merge branch 'develop' into vite 2022-02-13 11:46:26 +01:00
David Négrier e85f94998f Merge branch 'develop' of github.com:thecodingmachine/workadventure into feature-voice-chat-indicator 2022-02-11 18:40:03 +01:00
David Négrier 0b82df0d41 Merge branch 'develop' of github.com:thecodingmachine/workadventure into move-to-improvements 2022-02-11 16:58:40 +01:00
David Négrier 80bfeb823e Merge pull request #1852 from thecodingmachine/stabilize-cowebsite
Stabilize cowebsite
2022-02-11 16:05:19 +01:00