Commit Graph

4368 Commits

Author SHA1 Message Date
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
dependabot[bot]
8523781e9f
Bump ejs from 3.1.6 to 3.1.7 in /desktop/electron (#2145)
Bumps [ejs](https://github.com/mde/ejs) from 3.1.6 to 3.1.7.
- [Release notes](https://github.com/mde/ejs/releases)
- [Changelog](https://github.com/mde/ejs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mde/ejs/compare/v3.1.6...v3.1.7)

---
updated-dependencies:
- dependency-name: ejs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-08 16:55:13 +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
David Négrier
5e156ade74
Refreshing map URL (#2144)
* Refreshing map URL

When a "refresh" message is sent from the admin to the pusher, the map details endpoint is now called again.
If the Map URL is changed, the variable manager is refreshed.
2022-04-28 15:44:36 +02:00
CEC
d6450831c6 Fix pretty doc 2022-04-28 11:51:55 +02:00
CEC
53b084ea7f Add new Swagger Doc for the pusher 2022-04-28 11:39:08 +02:00
CEC
231facbae2 Merge remote-tracking branch 'origin/develop' into swaggerPusher 2022-04-28 11:37:21 +02:00
Piotr 'pwh' Hanusiak
f9a4bcff29 send removeOutline flag if needed 2022-04-28 10:54:45 +02:00
David Négrier
a662096e1d
Merge pull request #2139 from thecodingmachine/develop
Deploy 2022-04-26 (1.10)
2022-04-27 18:45:51 +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
0316565f12 Fixing setTiles test 2022-04-26 18:06:07 +02:00
David Négrier
d5cb662028 Fixing showHideLayer test 2022-04-26 18:06:07 +02:00
David Négrier
caf8a74ade Adding test to check custom menus 2022-04-26 18:06:07 +02:00
David Négrier
ed1efe12f2 Adding an additional E2E test regarding iFrames and scripts 2022-04-26 18:06:07 +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
944a0729be Fixing typo in test 2022-04-26 14:57:04 +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
David Négrier
44778f51f8 Adding a troubleshooting guide
Migrating the troubleshooting guide from SAAS repo
+ adding a paragraph about issues with embedding iframes related to HTTP headers and cookie parameters.
2022-04-25 18:00:34 +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
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
grégoire parant
f402fea86a
External API update (#2111)
* External API update

 - Remove tags field for map information
 - Remove room_policy fiels for map information

This two paramter will be used directly in the admin

* Delete use less updateRoomWithAdminData

Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>
2022-04-25 11:00:01 +02:00
Anbraten
03edc197d3
fix desktop app releasing (#2116)
* fix app releasing

* fix sed for macos

* fix setting app version on all oses
2022-04-25 10:18:13 +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