Commit Graph

39 Commits

Author SHA1 Message Date
David Négrier
6540f15c5b
Refactoring Woka management (#1810)
* Wrap websockets with HyperExpress

* Add endpoints on pusher to resolve wokas

* getting textures urls from pusher

* Adding OpenAPI documentation for the pusher.

The pusher now exposes a "/openapi" endpoint and a "/swagger-ui/" endpoint.

* revert FRONT_URL

* playerTextures metadata is being loaded via Phaser.Loader

* fetch textures every time character or customize scene is open

* Heavy changes: refactoring the pusher to always send the textures (and the front to accept them)

* Sending character layer details to admin

* Cleaning commented code

* Fixing regex

* Fix woka endpoints on pusher

* Change error wording on pusher

* Working on integration of the woka-list with the new admin endpoint.

* Switching from "name" to "id" in texture object + using zod for woka/list validation

* Add position on default woka data

* Remove async on pusher option method

* Fix woka list url

* add options for /register

* Fxiing loading the Woka list

* Actually returning something in logout-callback

* Copying messages to back too

* remove customize button if no body parts are available (#1952)

* remove customize button if no body parts are available

* remove unused position field from PlayerTexturesCollection interface

* removed unused label field

* fix LocalUser test

* little PlayerTextures class refactor

* Fixing linting

* Fixing missing Openapi packages in prod

* Fixing back build

Co-authored-by: Hanusiak Piotr <piotr@ltmp.co>
Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>

* Add returns on pusher endpoints

Co-authored-by: Alexis Faizeau <a.faizeau@workadventu.re>
Co-authored-by: Hanusiak Piotr <piotr@ltmp.co>
Co-authored-by: Piotr Hanusiak <wacneg@gmail.com>
2022-03-11 17:02:58 +01:00
Anton Bracke
3779c4b7db
add missing sub-path 2022-02-22 10:44:21 +01:00
Anton Bracke
41be011d5e
move electron folder 2022-02-22 10:41:55 +01:00
Anton Bracke
6b208ceb0c
Merge remote-tracking branch 'origin/develop' into electron 2022-02-21 22:12:49 +01:00
Anton Bracke
0f910693ef
add ci 2022-02-20 21:09:15 +01:00
Anton Bracke
d64c7f9605
update node 2022-02-18 10:27:55 +01:00
Anton Bracke
6e4041560b
add ci 2022-02-18 10:26:36 +01:00
Lukas Hass
8155b774d5
build iframe-api in ci 2022-02-03 18:41:38 +01:00
Lukas Hass
faf6be889e
add typecheck script 2022-02-03 18:41:13 +01:00
Alexis Faizeau
fdec12d311 Generate i18n files on ci/cd 2022-01-24 18:59:28 +01: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
805368dd3f Fixing CI with new messages 2021-12-16 16:15:12 +01:00
David Négrier
d3bd99b5ee Fixing running of prettier check on the front 2021-11-24 15:24:24 +01:00
kharhamel
7743bda3eb added yarn run pretty to the front ci 2021-09-06 14:27:01 +02:00
kharhamel
9c803a69ff FEATURE: users can now login via an openID client 2021-07-30 15:43:46 +02:00
kharhamel
ebdcf8804d added admin link to the warning container 2021-07-30 14:50:11 +02:00
David Négrier
06b7f5ba2f Applying prettier in CI for pusher and back containers 2021-06-23 17:13:16 +02:00
David Négrier
085a4d41fd Adding svelte-check to the build process
Type checking in Svelte was not enabled (because we were not running svelte-check).
This PR adds:

- run svelte-check in watch mode in development
- run svelte-check in CI
2021-06-15 18:08:16 +02:00
David Négrier
f57c01dee8 Refactoring Webpack files to remove prod file. The prod file is now inferred from the NODE_ENV variable. 2021-05-12 11:28:21 +02:00
kharhamel
30cf078df5 FIX: the deploy action now only start when the label 'deploy' is applied to the PR 2021-04-26 18:33:03 +02:00
David Négrier
84f85effe5
Merge pull request #628 from thecodingmachine/template-analytics
Template google analytics data (2)
2021-01-20 18:03:28 +01:00
David Négrier
f87f3889df Running templater in CI phase 2021-01-20 18:00:11 +01:00
David Négrier
e0fcb38c4f Fixing CI pipeline 2021-01-18 15:34:22 +01:00
David Négrier
217b04dafa Adding pusher CI 2021-01-18 15:31:07 +01:00
David Négrier
64803296d6 Fixing CI 2020-09-24 11:20:10 +02:00
David Négrier
5c63573ef1 Adding protoc to CI 2020-09-18 18:01:36 +02:00
David Négrier
d3116c7400 Building proto messages in CI 2020-09-18 17:51:12 +02:00
David Négrier
398ca1760b Fixing CI builds 2020-09-18 17:47:18 +02:00
David Négrier
d18abaf067 Enabling optional https in development 2020-06-25 10:32:47 +02:00
David Négrier
d69ce8a6a6 Adding PlayerMovement class to interpolate/extrapolate position along tests (installing Jasmine) 2020-06-02 10:48:04 +02:00
David Négrier
c4b9c02d75 Removing E2E test from running in CI (it is run in K8S now) 2020-04-16 22:36:54 +02:00
kharhamel
5fb3968234 added artifact download 2020-04-14 20:42:57 +02:00
kharhamel
56093201fb integrate it into the ci 2020-04-14 20:23:00 +02:00
David Négrier
619f7a6bf6 Fixing CI file 2020-04-06 17:59:35 +02:00
kharhamel
ded19549c7 added jasmine in the back 2020-04-06 15:48:19 +02:00
David Négrier
ca3d113cad Adding ESLint for front part 2020-04-04 16:16:20 +02:00
David Négrier
6921706251 Adding fake API_URL for tests 2020-04-04 16:02:41 +02:00
David Négrier
39c8dab2b2 Fixing CI 2020-04-04 15:58:59 +02:00
David Négrier
c34e276225 Adding continuous integration 2020-04-04 15:55:20 +02:00