Commit Graph

2294 Commits

Author SHA1 Message Date
César Cardinale
5016c85ca4
Add swagger doc for the link pusher -> admin (#2146)
* Dissociate admin API from external API
* Add adminAPI doc for self-hosted
2022-05-11 17:43:25 +02:00
Alexis Faizeau
1b4582fca0 Fix deny proximity meeting 2022-05-11 15:28:39 +02:00
Alexis Faizeau
c96c6a357c Add joystick & click to move on disable controls 2022-05-11 15:28:39 +02:00
Alexis Faizeau
fc7a7aa54d Fix uiWebsite updating 2022-05-11 15:28:39 +02:00
David Négrier
e710c441b1 Improving typings
This PR solves a number of issues (but not all) found when enabling the rule ESLint rule "@typescript-eslint/no-unsafe-call" in the front.
2022-05-11 11:57:12 +02:00
grégoire parant
aea8f92e68
Select first Woka (#2180)
* Select first Woka

 - Select the first Woka in the scene

Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
2022-05-11 11:41:43 +02:00
Piotr 'pwh' Hanusiak
f279812b96 remove now obsolete console.log 2022-05-11 11:27:52 +02:00
Piotr 'pwh' Hanusiak
a6d6746c31 fix PlayerStore wrong availabilityStatus name 2022-05-11 11:27:52 +02:00
Piotr 'pwh' Hanusiak
a566f8d661 availabilityStatus info from websocket 2022-05-11 11:27:52 +02:00
Piotr 'pwh' Hanusiak
2b15faf4e8 make sure we subscribe to stores after estabilishing connection 2022-05-11 11:27:52 +02:00
David Négrier
ae9170ba85 Fixing camera led always on
This commit fixes a race condition in the "getUserMedia" call that could lead to the webcam being in an always on state.

If we open and close the webcam really quickly, the camera close was sometimes passing BEFORE the open was fully resolved (because getUserMedia can take a few 100ms to answer properly).
As a result, the webcam would stay open.
To solve this, we are putting all calls to getUserMedia in a resolve chain (`currentGetUserMediaPromise`)

Closes #2149
2022-05-10 12:01:51 +02:00
Piotr Hanusiak
0b6c7b3913
unsubscribe from availabilityStatusStore (#2185) 2022-05-09 12:04:53 +02:00
César Cardinale
a6e0374257
All customized logo (#2168)
* Change dynamic logo in reconnecting scene

* Add cowebsite customized logo

* Fix prettier issues

* Fix prettier issues (2)

* Fix login scene PoweredBy

* Delete all console logs
2022-05-05 19:23:07 +02:00
Alexis Faizeau
657bf4d8d2 Fix media behavior management 2022-05-05 12:34:47 +02:00
Alexis Faizeau
f7caacc598 Implement disable/restore proximity meeting in api (#2166)
Co-authored-by: Alexis Faizeau <a.faizeau@workadventu.re>
2022-05-05 12:19:06 +02:00
Gregoire Parant
b6e006d7bb Merge branch 'master' into develop
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>

# Conflicts:
#	messages/JsonMessages/MapDetailsData.ts
2022-05-05 11:55:41 +02:00
grégoire parant
a287d5e272
HotFix WebSocket error 1006 (#2063)
* Delete cookie posthog

Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
2022-05-05 11:46:59 +02:00
Piotr Hanusiak
f46d7d57f3
chat bubble above game tiles (#2129)
Co-authored-by: Piotr 'pwh' Hanusiak <p.hanusiak@workadventu.re>
2022-05-05 11:46:15 +02:00
Piotr Hanusiak
76bf7b9c74
fix broken custom scene if wrong characterLayers were loaded (#2164)
* fix broken custom scene if wrong characterLayers were loaded

* be sure to initialize selectedLayers

Co-authored-by: Piotr 'pwh' Hanusiak <p.hanusiak@workadventu.re>
2022-05-05 11:44:33 +02:00
Alexis Faizeau
9c5fcd2fd8
Implement UI Website (#2087)
* Implement UI Website system

* Add UIWebsite documentation

* Implement review fixes

* Add getAll function on UIWebsite

Co-authored-by: Alexis Faizeau <a.faizeau@workadventu.re>
2022-05-04 18:30:31 +02:00
César Cardinale
ad229460ef
Show or not the Powered by image (#2163)
* Show or not the Powered by image

* Fix prettier issues

* Fix prettier issues messages
2022-05-04 14:22:20 +02:00
César Cardinale
d47aad2ead
Change lost connection page to the new one (#2161)
* Change lost connection page to the new one
2022-05-04 10:13:18 +02:00
Alexis Faizeau
fb9f8adb21 Fix error on undefined path of desktop app interfaces 2022-05-02 14:25:43 +02:00
Alexis Faizeau
2358aac775 Fix the main coWebsite loader 2022-05-02 12:06:47 +02:00
grégoire parant
755ca93d49
New analytics feature (#2150)
* New analytics feature

Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>

* Fix eslint swaggerJsdoc

Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
2022-04-29 20:53:33 +02:00
Piotr 'pwh' Hanusiak
9427ca8d7c clear activatableObjectsDistances map before setting up fresh values 2022-04-27 17:01:51 +02:00
Alexis Faizeau
99bfe11f84 Fix embed website z-index 2022-04-26 18:41:31 +02:00
César Cardinale
97e3397398
Change type of unauthorized (#2123)
* Change type of unauthorized
* Fix redirect on received erroScreenMessage from API
2022-04-26 18:17:12 +02:00
David Négrier
7b9c616788 Fixing sound stop function in scripting API
The sound "stop()" method was broken in scripting API.
This commit adds the missing listener in GameScene
2022-04-26 15:24:50 +02:00
David Négrier
5834b7e8c6 Preventing a loop from occuring with chat API
When sending a chat message from the Scripting API, the chat message is no longer sent back to the chat listener.
This makes it easier to avoid infinite loops.
2022-04-26 14:57:04 +02:00
David Négrier
5479aea9f0 Preventing a loop from occuring with chat API
When sending a chat message from the Scripting API, the chat message is no longer sent back to the chat listener.
This makes it easier to avoid infinite loops.
2022-04-26 14:57:04 +02:00
Piotr 'pwh' Hanusiak
282694fc99 change warning message 2022-04-25 17:16:21 +02:00
Piotr 'pwh' Hanusiak
85531745c9 handle error if characterLayers are not set 2022-04-25 17:16:21 +02:00
Piotr 'pwh' Hanusiak
bc219d0139 preserve current WOKA when getting into customization 2022-04-25 17:16:21 +02:00
Piotr 'pwh' Hanusiak
310036e832 more style changes 2022-04-25 17:16:21 +02:00
Piotr 'pwh' Hanusiak
a50f7a7e9b addressed some of the requests 2022-04-25 17:16:21 +02:00
Lukas
9e0f43d542
lazy load locales (#1940)
* lazy load locales

* fix translation getter

* prettier ignore all generated i18n files

* fix menu translation reactivity

* put language and country translations into namespace

* use Intl.DisplayNames to provide language and region translations

* update typesafe-i18n

* fix newly added translations

* remove unused translations

* add fallback to locale code when Intl.DisplayNames is unavailable
2022-04-25 16:45:02 +02:00
Lukas
1c9caa690a
Enable screensharing in desktop app (#2042)
* enable screensharing in desktop app

* add source picker

* update dependencies

* improve source picker

* improve source picker

* update thumbnails

* decrease thumbnail size

* revert unnecessary changes in screen sharing store

* fix types and eslint

* fix prettier

* remove unused import
2022-04-25 14:46:20 +02:00
David Négrier
5cc97483e0 Fine-tuning the @typescript-eslint/no-unused-vars rule
We now allow parameters to be unused. This is quite common in inherited methods.
This allows removing a bunch of: //eslint-disable-next-line @typescript-eslint/no-unused-vars
Also, "err" variables in catch MUST now be used and the special _exhaustiveCheck variable used in ":never" assigns can be unused.
2022-04-22 18:09:39 +02:00
Piotr Hanusiak
bb3f52df37
New select woka scene (#1997)
* animated grid tiles
* change woka's category with arrow buttons
* added some dynamic effects to woka's list
* add some drag distance treshold
* do not show arrows if only one collection
* WSAD and arrow keys movement through WOKA models
* Adapting end to end tests

Co-authored-by: Piotr 'pwh' Hanusiak <p.hanusiak@workadventu.re>
Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>
2022-04-22 17:56:28 +02:00
David Négrier
4ffcc3139f Fixing bug when changing room 2022-04-22 17:08:55 +02:00
David Négrier
8e1a462667
Merge pull request #2075 from thecodingmachine/codeAPI
Refactoring Error Screen
2022-04-22 16:52:43 +02:00
David Négrier
4ca72af09e
Merge pull request #2091 from thecodingmachine/add-away-indicator-for-hero
Availability Statuses
2022-04-22 15:19:48 +02:00
Piotr 'pwh' Hanusiak
530254e0e0 do not subscribe to silentStore if not needed 2022-04-22 14:35:57 +02:00
Piotr 'pwh' Hanusiak
1575368e52 green for jitsi 2022-04-21 16:21:18 +02:00
CEC
91e8fa7cd4 Fix prettier issues 2022-04-21 14:45:34 +02:00
CEC
bc17b86ce4 Fix order locale and remake Zod def of ErrorApi 2022-04-21 14:16:18 +02:00
Piotr 'pwh' Hanusiak
76672789cf listen to silentStore instead of statusStore when no other statuses are needed 2022-04-21 09:30:48 +02:00
Piotr 'pwh' Hanusiak
c6d445bd97 get rid of awayStore as it is now the same as privacyShutdownStore 2022-04-20 16:49:16 +02:00
Piotr 'pwh' Hanusiak
dfd9a66bd4 simpler way of handling availability statuses with stores 2022-04-20 16:35:24 +02:00