Commit Graph

22 Commits (develop)

Author SHA1 Message Date
David Négrier 5e7e43732a Merge branch 'master' of into develop 2 years ago
David Négrier d81ecb3199 Making the ADMIN_URL parameter optionnal in front
This parameter is only used in the SAAS version (and ideally, should disappear completely).
The warning message that uses the ADMIN_URL should originate from the admin itself.
2 years ago
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.
2 years ago
David Négrier bb435f3580
Merge pull request #1556 from thecodingmachine/iconserver
Add icon server on self host services
2 years ago
David Négrier 780d92782c Adding a wait step for messages generated file to be available before starting pusher and back 2 years ago
Gregoire Parant 210a789aa4 Fix feedback @moufmouf 2 years ago
Gregoire Parant 7d0b573d37 Define profile variable to show user connected
- OPID_PROFILE_SCREEN_PROVIDER is a variable to show profile of user connected. You can defined your own provider or use classic provider of WorkAdventure.
 - OpenIdProfileController with url "/profile" get user data and create simple html to show user informations. This url will be called with params 'accessToken'
 - If you define your custom profile url, it will be called with param 'accessToken'.

accessToken is token to access at user informations in your OpenId provider.
2 years ago
Gregoire Parant c21ea8803a Add OPID redirect url
Is important to defined redirect url to be connected with openid provider
2 years ago
Alexis Faizeau eac5e8adc8 Add icon server on single domain services 2 years ago
Lurkars 6832fe4990 use OIDC without admin api, option to disable anonymous login 2 years ago
kharhamel 9d4ffe542c FIX: bomp the node version of pusher 2 years ago
kharhamel 9c803a69ff FEATURE: users can now login via an openID client 2 years ago
David Négrier d955ddfe82 Adding support to persist variables in Redis 2 years ago
kharhamel a23e72454d FEATURE: added the env variable DISABLE_DIRTY_CHECKS 2 years ago
David Négrier 4b89e08ea6 Reverting hard coded environment variable 2 years ago
David Négrier 82073098e0 Merge branch 'develop' of into resolution 2 years ago
David Négrier 85efe208b3 Changing default map for docker-compose single-domain 2 years ago
David Négrier d29dee3bd4 Adding templater call to single domain startup
The docker-compose.single-domain.yaml was missing a call to the templater script.
As a result, the first run would fail unless docker-compose.yaml was started before.

Closes #947
Closes #957
2 years ago
kharhamel ce2c5e0cb5 FEATURE: added the env variable MAX_PER_GROUP 2 years ago
David Négrier 651dfc63f4 Fixing TURN server config 2 years ago
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.
2 years ago
Mewp 6f1fc08b82 Add a docker-compose file for hosting under a single domain. 2 years ago