Commit Graph

121 Commits

Author SHA1 Message Date
_Bastler
1f11ab57f3 Merge branch 'develop' of github.com:thecodingmachine/workadventure into develop 2022-05-09 07:58:46 +02:00
_Bastler
47e5e360df Merge branch 'develop' of github.com:thecodingmachine/workadventure into develop 2022-05-05 12:25:09 +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
CEC
53b084ea7f Add new Swagger Doc for the pusher 2022-04-28 11:39:08 +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
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
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
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
_Bastler
12bc22236f Merge branch 'develop' of github.com:thecodingmachine/workadventure into develop 2022-04-13 15:35:28 +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
dependabot[bot]
6610448393 Bump minimist from 1.2.5 to 1.2.6 in /front
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-04 17:53:57 +02:00
David Négrier
9e5c6d14e4 Merge branch 'develop' of github.com:thecodingmachine/workadventure into new_custom_woka_scene 2022-04-04 13:42:51 +02:00
Lukas
50a4481704
Update vite-plugin-env-config (#2025)
* Update vite-plugin-env-config
2022-04-01 18:47:28 +02:00
Piotr 'pwh' Hanusiak
7afa53840e update dependencies 2022-03-28 14:55:20 +02:00
Piotr 'pwh' Hanusiak
ee88bf1b99 Merge branch 'develop' into new_custom_woka_scene 2022-03-28 12:30:26 +02:00
Piotr 'pwh' Hanusiak
f656702bb9 merged develop 2022-03-24 14:56:42 +01:00
David Négrier
38847afebf Restoring WA object in the iframe_api.ts file to avoid breaking compatibility
The WA object was missing in window otherwise because window.d.ts was not bundled in the package.
2022-03-23 22:57:53 +01:00
Piotr 'pwh' Hanusiak
dae8619a6b Merge branch 'refactor_wokas' into new_custom_woka_scene 2022-03-22 15:05:33 +01:00
Piotr 'pwh' Hanusiak
ac48a42903 further work on vertical layout 2022-03-16 14:05:35 +01:00
David Négrier
153bffd521 Wait for main character to be loaded to display the GameScene
This change makes sure the character of the current player is fully loaded before we display the game scene.
Otherwise, you could have a glitch for 0.5-2 seconds between the GameScene being displayed and the actual character being displayed.
2022-03-15 13:51:36 +01:00
Piotr 'pwh' Hanusiak
43bac6c5cf get rid of zoom factor 2022-03-15 11:31:01 +01:00
dependabot[bot]
3aef82303c
Bump ansi-regex from 5.0.0 to 5.0.1 in /front
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v5.0.0...v5.0.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-21 16:27:29 +00:00
Lukas Hass
cc24fd48d5
update generic-type-guard and @geprog/vite-plugin-env-config
allows to get rid of node built-in polyfills
2022-02-19 00:13:25 +01:00
Lukas Hass
779f5c1fdb
Merge branch 'develop' into vite 2022-02-14 22:11:53 +01:00
David Négrier
8c8fdb9ee0
Merge pull request #1858 from thecodingmachine/dependabot/npm_and_yarn/front/follow-redirects-1.14.8
Bump follow-redirects from 1.14.7 to 1.14.8 in /front
2022-02-14 22:04:22 +01:00
Lukas Hass
ae46a1faf1
Merge branch 'develop' into vite 2022-02-14 19:47:27 +01:00
dependabot[bot]
c6b125b347
Bump follow-redirects from 1.14.7 to 1.14.8 in /front
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-13 09:55:59 +00:00
Anton Bracke
3dbd83ac47
load nes.css from npm 2022-02-11 15:47:17 +01:00
Lukas Hass
ee92e19be6
Merge branch 'develop' into vite 2022-02-03 02:38:46 +01:00
Lukas Hass
bd72022b13
remove webpack 2022-02-03 02:23:58 +01:00
Lukas Hass
7f9d318074
update sass 2022-02-03 02:14:49 +01:00
Alexis Faizeau
1124ed5a5e Implement cancelable woka resource 2022-02-01 15:17:04 +01:00
Lukas Hass
b1d9e603b8
fix redirect when map url is present 2022-02-01 11:15:52 +01:00
Lukas Hass
4ad91f41a3
update svelte and svelte-preprocess 2022-02-01 00:37:49 +01:00
Lukas Hass
b83fc77183
use vite plugin for env-config generation 2022-01-31 16:56:50 +01:00
Lukas Hass
5091e8d649
add vite and svelte plugin 2022-01-31 16:20:17 +01:00
dependabot[bot]
1572ddc477
Bump nanoid from 3.1.30 to 3.2.0 in /front
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.30 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.30...3.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-27 15:50:53 +00:00
Alexis Faizeau
5f1dd09cb9 Implement minimizer for css/scss 2022-01-27 16:34:58 +01:00
Alexis Faizeau
2312d2e129
Merge pull request #1629 from thecodingmachine/translator
Translator: i18n
2022-01-25 09:48:48 +01:00
Alexis Faizeau
446b4639c7 Implement typesafe-i18n 2022-01-24 18:59:28 +01:00
dependabot[bot]
151cdd353a
Bump nanoid from 3.1.23 to 3.2.0 in /front
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.23 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.23...3.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-22 03:06:53 +00:00
Alexis Faizeau
1789f36a63 Implement zod checking on translator compiler 2022-01-21 17:09:29 +01:00
Nolway
8a2767ef40 Implement Translator: i18n system 2022-01-21 17:09:29 +01:00
Hanusiak Piotr
000b2cfe73 created PathfindingManager. WIP 2022-01-14 12:49:18 +01:00
dependabot[bot]
8c11db1f62
Bump follow-redirects from 1.14.4 to 1.14.7 in /front
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.4 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.4...v1.14.7)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-14 07:50:10 +00:00
David Négrier
bf070c33b5 Migrating front protobuf encode/decode to ts-proto lib
The ts-proto lib has the huge advantage of producing code the "Typescript" way and not the "Java" way.
In particular, for "oneof" types in protobuf, it is generating "ADT" that can be used to check if we forgot or not to deal with a type.
2022-01-03 15:52:46 +01:00
David Négrier
9efa115982 Merge branch 'master' of github.com:thecodingmachine/workadventure into develop 2021-12-23 11:04:20 +01:00
David Négrier
bbef3b3eaf Upgrade Typescript to 4.5
This commit contains the new Typescript version but NOT the fixes needed to have the project compiling.
2021-12-13 16:45:16 +01:00
David Négrier
7a6e250a58 Fixing map caching
Maps in the GameScene can be modified by the scripting API.
If so, previously, the changes to the maps were persisted in the ITiledMap object in the GameScene because this was cached by the Phaser loader,
causing a series of problems, the most noticeable being that templating in the scripting API stopped working on a second visit of a page.

We are now deep-copying the map on load to avoid these nasty effects.

Closes https://github.com/workadventure/scripting-api-extra/issues/77
2021-12-08 14:23:00 +01:00