David Négrier
4bcdbcb1bd
Fixing linting
2022-02-15 09:15:41 +01:00
Ludwig Behm
9073024b1d
pusher: add missing Content-Type header for json responses
2022-02-14 00:53:38 +01:00
David Négrier
e660e25616
Fixing new MapDetails type guard
...
It was working improperly with messages from the admin
2021-12-21 11:37:54 +01:00
David Négrier
2fff6ae41e
Improving code security by adding stricter typings
2021-12-14 18:55:58 +01:00
David Négrier
598c7412a2
When sending an invalid token, the HTTP API from the Pusher now returns a 401 instead of an HTTP 500.
2021-12-08 14:46:23 +01:00
David Négrier
6e6cdc7bde
Revert "Improving log messages"
2021-11-24 16:20:07 +01:00
David Négrier
a1107bd20e
Merge branch 'develop' of github.com:thecodingmachine/workadventure into improve_logging
2021-11-24 15:36:35 +01:00
grégoire parant
75ba9ddae8
HotFix Allow Origin header for CORS ( #1566 )
...
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com >
2021-11-16 18:38:18 +01:00
Gregoire Parant
c1dc438138
HotFix encrypted and decrypted error
...
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com >
2021-11-16 11:14:27 +01:00
Gregoire Parant
fa233e13c6
Changes ANONYMOUS variable
...
This variable will be use to mandatory login user in self hosted
2021-11-12 16:43:37 +01:00
Alexis Faizeau
dd89f12c2e
Implement logger on pusher
2021-11-08 19:05:25 +01:00
Kharhamel
726f52976d
FEATURE: analytics client now scrape user email and room group
2021-10-11 16:30:01 +02:00
GRL78
3f1c5246f8
TO MERGE : Contact page from Admin or Environment Variable ( #1401 )
...
* Contact page from Admin or Environment Variable
* Get contact page from admin by pusher
* Changes requested
* Modify contactPageStore management
* documentation environment variables
Co-authored-by: Gregoire Parant <g.parant@thecodingmachine.com >
2021-09-21 20:24:53 +02:00
grégoire parant
8d57886bae
Update token generation ( #1372 )
...
- Permit only decode token to get map details,
- If user have token expired, set the token to null and reload the page. This feature will be updated when authentication stategy will be finished.
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com >
2021-08-15 22:51:06 +02:00
grégoire parant
02a21209ec
Exit scene acess denied detected ( #1369 )
...
* Add auth token user to get right in admin and check if user have right
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com >
* Update error show
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com >
2021-08-15 08:51:35 +02:00
David Négrier
a4a123c331
Admin /api/map endpoint return type is now generated with generic type guards
2021-07-16 10:46:45 +02:00
David Négrier
c9fa9b9a92
Migrating away from the notion of public/private URL in WorkAdventure Github repository
...
The notion of public/private repositories (with /_/ and /@/ URLs) is specific to the SAAS version of WorkAdventure.
It would be better to avoid leaking the organization/world/room structure of the private SAAS URLs inside the WorkAdventure Github project.
Rather than sending http://admin_host/api/map?organizationSlug=...&worldSlug=...&roomSlug= ...., we are now sending /api/map&playUri=...
where playUri is the full URL of the current game.
This allows the backend to act as a complete router.
The front (and the pusher) will be able to completely ignore the specifics of URL building (with /@/ and /_/ URLs, etc...)
Those details will live only in the admin server, which is way cleaner (and way more powerful).
2021-07-15 17:07:47 +02:00
David Négrier
10c3d6dee2
Applying Prettier on pusher and back
2021-06-24 10:09:10 +02:00
David Négrier
48c3f951bf
Correctly forwarding HTTP error status code from admin to front
2021-01-17 20:42:45 +01:00
David Négrier
a5aa9b6cf9
/map now returns the correct error status code
2021-01-17 20:42:45 +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
4c1e566a6c
Adding a Pusher container as a middleware/dispatcher between front and back
2020-11-26 17:53:30 +01:00