Commit graph

65 commits

Author SHA1 Message Date
David Négrier 0dc6f41562 Fixing server name in K8S deployment 2022-01-27 16:34:58 +01:00
David Négrier 6848995639 Adding Icon server to CD env. 2022-01-27 16:34:58 +01:00
David Négrier 41fd848fa0 Fixed potential injection by switching map container to PHP
Some HTML files were importing iframe_api.js automatically by detecting the referrer document.

While this was done in a safe way (the map container does not use cookies), it is not
a best practice to load a script originating from document.referrer.

This PR solves the issue by using PHP to inject the correct domain name in the HTML files.
2021-11-29 19:05:13 +01:00
David Négrier ecb72d0fd1 Adding FRONT_URL in pusher 2021-11-24 22:47:46 +01:00
Kharhamel d809682c08 HOTFIX: now uses a specific secret token for the admin sockets 2021-10-26 14:58:34 +02:00
Kharhamel 2e34420605 FIX: removed admin url from deeployer on develop and master and changed starter map 2021-09-30 11:51:41 +02:00
Kharhamel 2e111aa13a FEATURE: added posthog as new analytics tool 2021-09-16 15:16:10 +02:00
GRL d0a85b0870 fix deeployer 2021-08-16 14:33:53 +02:00
David Négrier d955ddfe82 Adding support to persist variables in Redis 2021-07-19 16:23:16 +02:00
David Négrier 9b985a2a0c Providing Base 64 config file 2021-06-11 14:37:43 +02:00
David Négrier 83089f1197 Fixing key access rights 2021-06-11 14:25:02 +02:00
kharhamel d1f1c8f470 added back automatic deploy of staging 3 2021-05-10 12:44:35 +02:00
kharhamel 7bd524ba55 FIX: fixed the deploy workflow to also build images on new releases 2021-04-29 18:11:24 +02:00
kharhamel 79701fe227 FIX: fixed cleanup for real this time 2021-04-27 18:18:20 +02:00
kharhamel ea009d912e edited CD domain in deeployer config 2021-04-27 16:30:35 +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 ed2ce68f37 Merge branch 'FTUEPopup' of github.com:ClementVieilly75/workadventure into iframe_api
# Conflicts:
#	front/dist/.gitignore
#	front/src/Phaser/Game/GameScene.ts
2021-03-09 15:35:51 +01:00
David Négrier f3c67a94ee Trying to enable back connection on admin from develop, knowing that the develop certificate is broken. Fixing priority. 2021-03-09 09:12:55 +01:00
David Négrier 1a4c7ad928 Trying to enable back connection on admin from develop, knowing that the develop certificate is broken 2021-03-08 10:58:57 +01:00
David Négrier 80df1ffb5f Revert "Adding back admin in develop branch CI"
This reverts commit c384a73edf.
2021-03-05 17:45:16 +01:00
David Négrier c384a73edf Adding back admin in develop branch CI 2021-03-05 16:52:54 +01:00
David Négrier 5178dff108 Adding strong checks on messages exchanged using generic-type-guard 2021-03-05 16:50:54 +01:00
David Négrier cdb3cfdc81 [Feature] Connect to a Coturn server using REST API
This allows connecting to a TURN server with temporary passwords.
The passwords are expiring after 4 hours.
2021-02-16 11:06:05 +01:00
David Négrier 3a046cb450 Removing admin from develop branch because of issue with SSL certificate 2021-01-28 23:18:12 +01:00
David Négrier ab0fe63cb2 Adding start room url to develop env 2021-01-25 22:42:44 +01: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 9e469a4a8f Removing Google Analytics tracking from test environments 2021-01-20 17:30:26 +01:00
David Négrier fd89d54ed9 Adding GA tracking in test envs 2021-01-20 16:57:30 +01:00
David Négrier b03abee481 Fixing admin links 2021-01-20 10:34:34 +01:00
David Négrier d891a288b5 Switching to new admin url 2021-01-18 21:02:25 +01:00
David Négrier 675c043cb5 Removing website container entirely from project (as it is specific to the WorkAdventure company and not to the WorkAdventure self-installed project) 2021-01-18 19:39:22 +01:00
David Négrier 49c7927e9f Load balancing preprod API back servers 2020-12-14 23:12:51 +01:00
David Négrier 6f2c319785 Merge branch 'master' of github.com:thecodingmachine/workadventure into scaling
# Conflicts:
#	back/src/Services/SocketManager.ts
#	deeployer.libsonnet
#	docker-compose.yaml
#	front/src/Connexion/RoomConnection.ts
#	front/src/Enum/EnvironmentVariable.ts
#	front/src/Phaser/Game/GameScene.ts
#	front/webpack.config.js
#	pusher/src/Controller/IoSocketController.ts
2020-12-11 13:00:11 +01:00
David Négrier bf797085e6 Extracting FileController into a Uploader container 2020-12-09 21:29:29 +01:00
David Négrier 25f9662b3c Putting 2 replicas for pusher containers 2020-12-09 17:54:37 +01:00
David Négrier f4ed26739f Specifying HTTP port for API 2020-12-09 17:45:05 +01:00
David Négrier 95df242f9c Specifying HTTP port for API 2020-12-09 17:37:52 +01:00
David Négrier 5c59470a04 Opening port 50051 on back in K8S 2020-12-09 17:25:10 +01:00
David Négrier f40d8024f2 Fixing deploy 2020-12-09 15:27:52 +01:00
David Négrier a59e40fc8e Fixing deployment 2020-12-09 15:19:22 +01:00
David Négrier ea6a8ff406 Adding pusher to K8S deploy 2020-12-04 15:13:35 +01:00
Gregoire Parant ebfe08fb92 Create new env admin url 2020-11-13 12:15:33 +01:00
David Négrier 2509f391c2 Fixing admin url deploy 2020-11-05 16:23:01 +01:00
David Négrier e54061d464 Deploying admin only on master / develop branch or if branch starts with "admin" 2020-11-05 11:58:33 +01:00
David Négrier a7c16654c3 Deploying with new configurable Jitsi conf 2020-10-19 12:07:05 +02:00
David Négrier cf4c608360 Adding ADMIN_API_TOKEN to deployment 2020-10-14 12:00:23 +02:00
David Négrier 3a9196fb82 Merge 2020-09-16 11:41:03 +02:00
David Négrier b6590e21dd Fixing coturn URLS 2020-08-31 15:34:51 +02:00
David Négrier ed116cf2a3 Switching on our very own turn server 2020-08-31 15:33:50 +02:00
David Négrier 0a8ba37049 Adding Jitsi meet support 2020-08-31 12:18:00 +02:00