Commit Graph

180 Commits

Author SHA1 Message Date
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
Lukas Hass 2755489ccf Merge branch 'develop' into vite 2022-02-17 15:20:58 +01:00
David Négrier eae6c2c5e3 Merge pull request #1887 from thecodingmachine/master
Backporting cowebsites hot-fixes
2022-02-16 18:03:23 +01:00
Alexis Faizeau 06dd2202f6 Fix hidden main cowebsite swape 2022-02-15 17:28:15 +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
Alexis Faizeau 460d67534a Move all game scene game map properties listeners 2022-02-10 17:02:10 +01:00
Hanusiak Piotr 66375e6d53 merged develop 2022-02-10 16:00:56 +01:00
Alexis Faizeau 7b6a3949bc Move CoWebsite to generic class 2022-02-10 11:47:56 +01:00
Hanusiak Piotr c13672c9dc updated invitation link creator 2022-02-09 13:03:14 +01:00
Hanusiak Piotr d6f0c19838 cr fixes #1 2022-02-08 11:54:18 +01:00
Hanusiak Piotr 330b6ea1c5 prettier 2022-02-07 15:10:20 +01:00
Hanusiak Piotr e34a72c865 merged develop 2022-02-07 15:09:18 +01:00
Hanusiak Piotr c29ce6e9a9 prettier 2022-02-07 14:23:34 +01:00
Hanusiak Piotr d480150728 cleaner approach to disable activatablesManager distance check if space-event 2022-02-07 14:22:43 +01:00
Hanusiak Piotr aec7790875 disable activation by distance if in JITSI 2022-02-07 12:36:33 +01:00
Hanusiak Piotr 72b4438d1e outline color is decided from particular system level 2022-02-07 10:39:03 +01:00
Lukas Hass f8d0a91776 add generic to pass undefined type 2022-02-03 18:47:51 +01:00
Hanusiak Piotr 40aae25e11 listen to local volume change only if in bubble conversation 2022-02-03 13:43:20 +01:00
Hanusiak Piotr 4424c7cce1 prevent SoundMeter from being initialized if stream has no audio tracks available 2022-02-03 12:58:31 +01:00
Hanusiak Piotr e0f5529fa7 catch no audio track error 2022-02-03 12:21:30 +01:00
Hanusiak Piotr 45a7e9331b ran prettier 2022-02-02 13:30:49 +01:00
Hanusiak Piotr 0eaeaf7cfb Merge branch 'develop' into feature-options-menu 2022-02-02 09:31:10 +01:00
Hanusiak Piotr 2322f5f76d some improvements with registering menu actions 2022-01-31 12:26:37 +01:00
Nolway feeb20fb5d Prettier fixes into video management 2022-01-31 11:50:07 +01:00
Nolway 50b752a205 Fix streamable display after left a group 2022-01-31 11:41:30 +01:00
Hanusiak Piotr 5aba99403e merged develop 2022-01-31 10:00:39 +01:00
David Négrier dd920c96db Merge branch 'master' of github.com:thecodingmachine/workadventure into develop 2022-01-28 10:16:59 +01:00
David Négrier e43c4cd5ae Fixing a freeze in MapStore on several unsubscribes
For some reason (I could not reproduce this in unit tests alas), the unsubscribe function
could be called several times in a row, leading to a complete map freeze.

Closes #1736
2022-01-28 09:58:24 +01:00
Hanusiak Piotr 099d573296 cleanup 2022-01-27 16:50:25 +01:00
David Négrier a4b4710f87 Menu bar for buttons 2022-01-27 16:34:58 +01:00
Alexis Faizeau 4f068c72be Co-website management move to Svelte 2022-01-27 16:34:58 +01:00
Alexis Faizeau 0bf1acfefb Improve game overlay UI 2022-01-27 16:34:58 +01:00
Hanusiak Piotr 68c4a5f5ce different approach 2022-01-27 14:05:30 +01:00
Hanusiak Piotr 06d403ebe3 simplify actionsMenu 2022-01-26 10:40:13 +01:00
Hanusiak Piotr 58227a39f8 destroy actionsMenu on RemotePlayer destroy() 2022-01-25 17:13:52 +01:00
Hanusiak Piotr 67627637aa added store with actions for actionsMenu 2022-01-25 13:42:41 +01:00
Hanusiak Piotr 69a2379e53 Merge branch 'develop' into feature-options-menu 2022-01-25 10:33:30 +01:00
Alexis Faizeau 446b4639c7 Implement typesafe-i18n 2022-01-24 18:59:28 +01:00
Hanusiak Piotr fd012d6c69 ActionsMenu WIP 2022-01-24 16:27:57 +01:00
Alexis Faizeau 30811e7702 Remove the last message before add a new chat peer 2022-01-19 15:44:12 +01:00
David Négrier ab0f5e9837 Stopping sending literal errors
Errors now must be of "Error" type.
Rule added in eslint.
2022-01-06 10:52:06 +01:00
Gregoire Parant 08847e1a64 Merge branch 'develop' into 2daysLimit
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>

# Conflicts:
#	front/src/Connexion/RoomConnection.ts
2022-01-05 12:08:27 +01:00
Gregoire Parant 8b758a0053 Merge branch 'develop' into 2daysLimit
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
2022-01-05 11:47:31 +01:00
David Négrier 24baf5664c All promises are now handled 2022-01-04 17:06:29 +01:00
David Négrier 4eb2ebd034 Merge pull request #1680 from workadventure-xce/fix/follow-via-keyboard
Fix follow requests via keyboard
2022-01-03 18:24:03 +01:00
David Négrier bf070c33b5 Migrating front protobuf encode/decode to ts-proto lib
The ts-proto lib has the huge advantage of producing code the "Typescript" way and not the "Java" way.
In particular, for "oneof" types in protobuf, it is generating "ADT" that can be used to check if we forgot or not to deal with a type.
2022-01-03 15:52:46 +01:00
PizZaKatZe bda46be466 Remove left-over debug message 2021-12-31 15:35:21 +01:00