Commit Graph

21 Commits

Author SHA1 Message Date
Lukas Hass
620e218612
remove iframe.html 2022-02-15 20:19:45 +01:00
Lukas Hass
984c1e4502
add vite config to build iframe api 2022-02-02 00:20:46 +01:00
David Négrier
d18e9162b9 Generating i18n files before build 2022-01-27 15:51:23 +01:00
Lukas Hass
8c1f9e1ac7
Fix cp path 2022-01-23 15:17:53 +01:00
Lukas Hass
5dabd0b2f8
Pre-compile frontend and add environment config script 2022-01-21 21:01:34 +01:00
David Négrier
6a9bd08893 Updating Node builder version 2022-01-19 21:09:57 +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
88a6e80a8f Adding JsonMessages to Docker image 2021-12-16 16:09:59 +01:00
David Négrier
bb8583872b Fixing messages generation in Front container 2021-09-15 11:32:32 +02:00
TabascoEye
5a855fb7e4
fix yarn install not working
problem for virtually all people trying self-hosting according to #1433, #738 and likely more
2021-09-15 10:43:01 +02:00
David Négrier
3ef1f0dc7b [Breaking change] UPLOADER_URL and ADMIN_URL are now true URLs (and not only host name) and API_URL is replaced by PUSHER_URL
API_URL is still accepted for BC compatibility of the self-hosted deployments.

This will allow deploying on a single domain, using a reverse proxy that acts on the path.
This however means that the config needs to be changed for all WorkAdventure deployments.
2021-03-31 16:00:14 +02:00
David Négrier
6fbf165c91 Adding the ability to register a single script using the "script" attribute at the map property level. 2021-03-07 21:02:38 +01:00
Jean-Philippe Evrard
e2f400472f Template google analytics data
Without this patch, the index.html contains google analytics at
all times, including for people self-hosting it.

This is a problem for privacy reasons, and only people wanting
to have analytics on their instances should be able to enable
them.

This fixes it by making sure the index.html page is templated
to sideload content from ANALYTICS_CODE_PATH (which itself is
also templated, for convenience).
2021-01-19 12:17:05 +01:00
David Négrier
d7209d8864 Migrating messages locally into back and front 2020-09-24 11:16:08 +02:00
David Négrier
d2a5060ad2 Using multistage builds with protocol buffers 2020-09-18 18:00:03 +02:00
David Négrier
d3116c7400 Building proto messages in CI 2020-09-18 17:51:12 +02:00
David Négrier
5c0a4e7c5a Fixing front Dockerfile 2020-09-18 17:39:59 +02:00
David Négrier
7826b2ea8d Fixing Docker build images to add new messages directory 2020-09-18 17:22:45 +02:00
David Négrier
2d818ec79d Fixing broken Jasmine test due to module config 2020-07-27 22:48:04 +02:00
David Négrier
d979636a19 Fixing Dockerfiles 2020-04-11 15:11:22 +02:00
David Négrier
bc7b5fc6c9 Setting up continuous deployment 2020-04-09 11:00:30 +02:00