Commit Graph

2920 Commits

Author SHA1 Message Date
_Bastler
d30e7b1393 Merge branch 'develop' of github.com:thecodingmachine/workadventure into develop 2022-05-11 11:42:32 +02:00
Alexis Faizeau
5857c938d1 Update all docker nodejs container to the last LTS (16) 2022-05-10 12:03:22 +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
Roger Meier
06d3332499 Remove .htaccess as it's no longer in use 2022-05-09 14:58:29 +02:00
Lukas Hass
53d1f81ab2 Fix nes-container border on chrome 2022-05-09 14:56:17 +02:00
Piotr Hanusiak
0b6c7b3913
unsubscribe from availabilityStatusStore (#2185) 2022-05-09 12:04:53 +02:00
_Bastler
8647199625 i18n 2022-05-09 08:40:29 +02:00
_Bastler
a50cbd3521 Merge branch 'develop' of github.com:thecodingmachine/workadventure into develop 2022-05-09 07:58:53 +02:00
_Bastler
1f11ab57f3 Merge branch 'develop' of github.com:thecodingmachine/workadventure into develop 2022-05-09 07:58:46 +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
_Bastler
47e5e360df Merge branch 'develop' of github.com:thecodingmachine/workadventure into develop 2022-05-05 12:25:09 +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
CEC
53b084ea7f Add new Swagger Doc for the pusher 2022-04-28 11:39:08 +02:00
Piotr 'pwh' Hanusiak
9427ca8d7c clear activatableObjectsDistances map before setting up fresh values 2022-04-27 17:01:51 +02:00
Piotr Hanusiak
69bf8a814b
Upgrading @home-based-studio/phaser3-utils to a version that fixes the trackpad issue (#2124)
Co-authored-by: Piotr 'pwh' Hanusiak <p.hanusiak@workadventu.re>
2022-04-27 16:16:23 +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
eaacb4b31a Updating i18n-typesafe version to 5.4.0
This should help us fix issues with watcher compiling files in a loop in dev mode.
2022-04-26 15:07:09 +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
_Bastler
73ef14bfc0 Merge branch 'develop' of github.com:thecodingmachine/workadventure into develop 2022-04-25 14:57:17 +02:00
_Bastler
70888e6baf Merge branch 'develop' of github.com:thecodingmachine/workadventure into develop 2022-04-25 14:50:09 +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
2412f4076f
Fixing compatibility issue with Safari 14- (#2117)
By upgrading ts-deep-copy, we are fixing an issue introduced that made iOS 14- devices incompatible with WA.
2022-04-25 12:10:54 +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