Commit Graph

4330 Commits

Author SHA1 Message Date
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
David Négrier db11a465ef Adding a proper README to the production docker-compose directory
This PR also adds a "Redis" server in the docker-compose from prod (required to store values of Scripting API variables)
2022-04-22 17:57:36 +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 e93d6923c2 Adding a bigger timeout in one E2E test 2022-04-22 16:49:03 +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 de6cbd7c0a Fix lint issues 2022-04-21 14:49:41 +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
CEC 711832bc3a Fix order locale parameter in call of fetchMemberDataByUuid 2022-04-20 17:06:16 +02:00
CEC 8182ccb11c Fix prettier issues and re order locale parameter 2022-04-20 17:03:21 +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
CEC 55cb6577b4 Delete console log 2022-04-20 16:48:54 +02:00
Lukas Hass 8b983acf99 change cowebsite placement on orientation mediaquery 2022-04-20 16:47:30 +02:00
David Négrier 320c68c88e Fix Github error override commit [952a5bd87c] 2022-04-20 16:44:32 +02:00
Piotr 'pwh' Hanusiak dfd9a66bd4 simpler way of handling availability statuses with stores 2022-04-20 16:35:24 +02:00
CEC 5466bd1d68 Fix feedback on PR
Change locale as parameter on adminInterface
2022-04-20 16:30:16 +02:00
CEC f1a93fea88 Merge branch 'develop' of github.com:thecodingmachine/workadventure into codeAPI 2022-04-20 16:26:08 +02:00
CEC 5a416d265e Merge branch 'localAdmin' into codeAPI 2022-04-20 15:37:02 +02:00
Piotr 'pwh' Hanusiak b0be00c020 simplified leaving group when silent 2022-04-20 15:22:53 +02:00
Bénédicte Q 59d3a38921 Reworking the wording of "away" mode (#2053)
* Initial commit

* Styles

* Prettier fixx

* fixes path

* Adjusts size

Co-authored-by: Benedicte Quimbert <b.quimbert@workadventu.re>
2022-04-20 15:05:56 +02:00
Piotr 'pwh' Hanusiak a8d56263ea leave group immediately if status changed to silent | jitsi 2022-04-20 14:32:23 +02:00
Piotr 'pwh' Hanusiak 8ff791e024 removed obsolete collider from map 2022-04-20 13:25:56 +02:00
Piotr 'pwh' Hanusiak 2a7b09be15 change state even for jitsi on trigger 2022-04-20 13:18:12 +02:00
CEC 4076decacc fix prettier issue 2022-04-20 11:30:14 +02:00
CEC 8d771d8442 Add redirect directly without showing ErrorScreen 2022-04-20 10:54:27 +02:00
Alban Bruder 576a2b89cc Use NES.css to style share link (#2104)
* Use NES.css to style share link

* Run pretty

Co-authored-by: Alban Bruder <alban.bruder@uni-weimar.de>
2022-04-20 10:42:01 +02:00
Piotr 'pwh' Hanusiak 7147378a89 AvailabilityStatus set for Users in tests 2022-04-20 10:28:26 +02:00
Piotr 'pwh' Hanusiak 1cc34b94ca fixed tests for position notifier 2022-04-20 09:58:10 +02:00
David Négrier 10c56872fb Merge pull request #2077 from thecodingmachine/use-tiled-objects
Read properties from Tiled objects
2022-04-20 08:33:31 +02:00