Commit Graph

1356 Commits

Author SHA1 Message Date
Piotr 'pwh' Hanusiak
9427ca8d7c clear activatableObjectsDistances map before setting up fresh values 2022-04-27 17:01:51 +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
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
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
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
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
CEC
f1a93fea88 Merge branch 'develop' of github.com:thecodingmachine/workadventure into codeAPI 2022-04-20 16:26:08 +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
Piotr 'pwh' Hanusiak
ec3b28271d fixed object areas not triggering properties change on immediate collision 2022-04-19 15:55:41 +02:00
Piotr 'pwh' Hanusiak
23092c75d6 merged develop 2022-04-19 12:43:56 +02:00
Piotr 'pwh' Hanusiak
30b82427d8 remove commented code 2022-04-19 12:42:08 +02:00
Piotr 'pwh' Hanusiak
92c79a89fe statuses swapping fixes 2022-04-19 12:27:39 +02:00
David Négrier
ecda1a21a0 Merge branch 'develop' of github.com:thecodingmachine/workadventure into use-tiled-objects 2022-04-19 08:56:53 +02:00
David Négrier
8c5c680cfb Adding a new "jitsiNoPrefix" property.
When set to "true", WorkAdventure will NOT prefix the Jitsi room name with a hash, gicing full control to the user over the Jitsi room name.
2022-04-19 08:52:26 +02:00
David Négrier
b89997c9f1 Changes the prefix added in front of the jitsiRoomName
Previously, the prefix was computed using the org/world (in SAAS) or the instance part of public URLs.
Neither was guaranteeing the Jitsi Room would be unique accross rooms.
The new system computes a hash of the room URL and prepends it to the jitsi room name.

BREAKING CHANGE: this means the URL of the Jitsi room will change for all maps. Users having bookmarked the Jitsi room (for instance in the Jitsi mobile app) will need to update their bookmarks.
2022-04-19 08:52:26 +02:00
Alban Bruder
1781b8423c Replace Room.getInstance with getter function 2022-04-19 08:52:26 +02:00
David Négrier
b49049d333 Merge branch 'develop' of github.com:thecodingmachine/workadventure into use-tiled-objects 2022-04-19 08:51:34 +02:00
Piotr 'pwh' Hanusiak
7385ce522f removed silentStore 2022-04-14 16:49:05 +02:00
CEC
ec2b23f32f Fix test for catch error in EntryScene 2022-04-14 15:36:05 +02:00
Piotr 'pwh' Hanusiak
61c68b0875 silent indicator when on jitsi zone 2022-04-14 14:31:31 +02:00
Piotr 'pwh' Hanusiak
91f299ba82 change status when entering silent zone 2022-04-14 12:37:31 +02:00
Piotr 'pwh' Hanusiak
99854e2d62 removed silent message 2022-04-14 11:41:01 +02:00
Piotr 'pwh' Hanusiak
8f0b02a9c8 change away to availability status 2022-04-14 11:03:58 +02:00
CEC
710311036b Fix prettier and import unused 2022-04-13 17:49:04 +02:00
CEC
209dd43aac Deleted use of WAError and add defining of language of client everywhere 2022-04-13 17:42:44 +02:00
César Cardinale
d71b36d0fe
Merge branch 'develop' into codeAPI 2022-04-13 17:00:55 +02:00
Alexis Faizeau
a3fd891530 Fix linting errors 2022-04-13 15:32:25 +02:00
David Négrier
6920836e47 Merge branch 'master' of github.com:thecodingmachine/workadventure into develop 2022-04-13 15:12:06 +02:00
Piotr 'pwh' Hanusiak
45e254b931 visible indicator for hero. Using images in order to fix graphic circles glitching out during movement 2022-04-13 14:31:18 +02:00
Piotr 'pwh' Hanusiak
a71d29d997 merged develop 2022-04-12 15:22:40 +02:00
Alexis Faizeau
d1e8243c47
Zod EVERYWHERE (#2027)
* Zod EVERYWHERE

* Add no-unused-vars rule to eslint in front

* Add no-unused-vars rule to eslint in pusher

* Add no-unused-vars rule to eslint in back

* Remove unused PlayerTexture guards

* Fix data providing on room connection

Co-authored-by: Alexis Faizeau <a.faizeau@workadventu.re>
2022-04-12 14:21:19 +02:00
Piotr 'pwh' Hanusiak
d4f5dc6d35 moved focusable property handling away from gamescene 2022-04-12 12:47:45 +02:00
Piotr 'pwh' Hanusiak
54b6c3800e remove unused import 2022-04-12 11:43:52 +02:00
CEC
d972b3a2e6 Fix prettier for the front 2022-04-12 11:22:58 +02:00
Piotr 'pwh' Hanusiak
1ca393f3db open website linked from Tiled Object 2022-04-12 10:57:38 +02:00