_Bastler
1fd5c146e0
Merge branch 'develop' of github.com:thecodingmachine/workadventure
2021-08-15 17:46:54 +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
_Bastler
406280737c
Merge branch 'develop' of github.com:thecodingmachine/workadventure
2021-08-10 10:26:47 +02:00
_Bastler
27d331ea37
Merge branch 'develop' of github.com:thecodingmachine/workadventure into main
2021-08-10 10:25:24 +02:00
grégoire parant
a5b44be6a1
Update JWT expires days ( #1349 )
2021-08-09 16:37:24 +02:00
grégoire parant
ddecf48697
Update JWT expires days ( #1347 )
2021-08-09 16:31:55 +02:00
grégoire parant
fbcb9d898d
Update report message ( #1343 )
2021-08-06 18:28:18 +02:00
Gregoire Parant
14b4229019
Merge branch 'develop' into GlobalMessageToWorld
...
# Conflicts:
# CHANGELOG.md
# front/src/Api/Events/IframeEvent.ts
# front/src/Components/App.svelte
# pusher/src/Services/SocketManager.ts
2021-08-02 23:07:39 +02:00
kharhamel
9c803a69ff
FEATURE: users can now login via an openID client
2021-07-30 15:43:46 +02:00
GRL
bd96a32d5b
Merge branch 'develop' of github.com:thecodingmachine/workadventure into GlobalMessageToWorld
2021-07-30 09:38:28 +02:00
Stefan Weil
64065b2798
Fix some typos (found by codespell) ( #1316 )
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-07-27 14:29:09 +02:00
GRL
9fa7c7aac0
Merge branch 'develop' of github.com:thecodingmachine/workadventure into GlobalMessageToWorld
2021-07-22 17:29:00 +02:00
GRL
68ff1b9e17
Merge branch 'develop' of github.com:thecodingmachine/workadventure into GlobalMessageToWorld
2021-07-22 16:26:01 +02:00
GRL
9e16bfc366
playGlobalMessage are receive as adminRoomMessage
...
Suppression of GlobalMessageManager and TypeMessage
Migrating message to svelte
2021-07-22 16:14:27 +02:00
GRL
6e65952d75
SendGlobalMessage by sendAminMessage
2021-07-20 15:16:51 +02:00
David Négrier
d955ddfe82
Adding support to persist variables in Redis
2021-07-19 16:23:16 +02:00
David Négrier
dbd5b80636
Adding support for "readableBy" and "writableBy" in back
...
This means that we are now loading maps from server side.
2021-07-19 10:16:43 +02:00
David Négrier
3d76f76d3e
Fixing merge
2021-07-16 11:37:44 +02:00
David Négrier
5c7ea7b258
Merge branch 'develop' of github.com:thecodingmachine/workadventure into scripting_api_room_metadata
2021-07-16 11:22:36 +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
e65e8b2097
First version with variables that actually work
2021-07-07 17:17:28 +02:00
David Négrier
5116b82e77
Merge branch 'develop' of github.com:thecodingmachine/workadventure into scripting_api_room_metadata
2021-07-07 11:55:00 +02:00
David Négrier
34cb0ebf39
Users blocking now rely on UUID rather than ID
...
This way, if a user A blocks another user B, if user B refreshes the browser or leaves and re-enters the room, user B will still be blocked.
As a side effect, this allows us to completely remove the "sockets" property in the SocketManager on the Pusher.
2021-07-07 11:24:51 +02:00
David Négrier
19bd1045e1
Merge branch 'develop' of github.com:thecodingmachine/workadventure into scripting_api_room_metadata
2021-07-06 17:24:16 +02:00
David Négrier
a1f1927b6d
Starting adding variables server-side
2021-07-06 15:30:49 +02:00
jonny
65cefb3584
fixed invalid unauathorized handler
2021-07-01 15:50:40 +02:00
David Négrier
3e464580ea
Fixing eslint ignore broken by Prettier
2021-06-24 10:23:32 +02:00
David Négrier
10c3d6dee2
Applying Prettier on pusher and back
2021-06-24 10:09:10 +02:00
David Négrier
0828dd8af3
Making max line length to 120
2021-06-23 16:58:57 +02:00
David Négrier
3f0ef2d31a
Fixing prettier run command
2021-06-23 16:56:33 +02:00
David Négrier
f6d3783f6c
Removing git add from lint-staged since it is not necessary since v10
2021-06-23 16:50:00 +02:00
David Négrier
3eab074e2a
Setting up lint-staged on front and back
2021-06-23 16:45:38 +02:00
David Négrier
4cac260f81
Adding prettier on back and pusher (not running them right now)
2021-06-23 16:23:16 +02:00
Kharhamel
5159f69a59
Merge pull request #576 from Informatic/fix/dependencies-cleanup
...
back,pusher,uploader: cleanup dependencies
2021-06-17 11:24:26 +02:00
kharhamel
dd45996f9c
FIX: improved the visit card, cleanup the code
2021-06-08 16:39:22 +02:00
kharhamel
c5f3cfe87c
FEATURE: clicking on another player show a contact card when possible
2021-06-03 17:58:21 +02:00
grégoire parant
2b13b764b4
Public texture ( #1093 )
...
* Public texture
- Front => Get texture when user connected on public method
- Front => Anonymous login will be make every connexion to get map details
- Pusher => `/anonymLogin` permit to get map details and public texture load in customize scene
* Improve texture local user
- Permit to keep previous texture get with 'register' link
* Texture public loading
- Texture will be load with Room class
- Fix issue on lazzy loading atttempt
* Remove async await useless
2021-06-03 13:07:52 +02:00
David Négrier
1523758106
Merge pull request #1038 from thecodingmachine/dependabot/npm_and_yarn/pusher/lodash-4.17.21
...
Bump lodash from 4.17.20 to 4.17.21 in /pusher
2021-05-26 15:50:34 +02:00
dependabot[bot]
faff263b80
Bump hosted-git-info from 2.8.8 to 2.8.9 in /pusher
...
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info ) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases )
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md )
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-26 13:49:56 +00:00
kharhamel
595c5ca64d
now use custom emotes with tweens instead of transistions
2021-05-25 16:37:24 +02:00
kharhamel
35b37a6a88
Added a radial menu to run emotes
2021-05-19 15:17:50 +02:00
kharhamel
a1d52b4265
FEATURE: added the possibility toplay emotes
2021-05-19 15:17:03 +02:00
dependabot[bot]
aff912da55
Bump lodash from 4.17.20 to 4.17.21 in /pusher
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 23:45:14 +00:00
David Négrier
3c9d477c06
Improving error messages
...
Trying to put more expressive and helpful error messages for the end user.
2021-04-30 09:33:18 +02:00
grégoire parant
925545d74f
Add error message ( #970 )
...
- Error link not found
- Error user was banned
- Error access dinied on the world
2021-04-29 23:47:30 +02:00
kharhamel
5ebb0c94e6
FIX: calling emitPlayGlobalMessage in pusher without the admin tag will throw an error
2021-04-14 11:56:54 +02:00
Piotr Dobrowolski
603fc0a591
Merge branch 'develop' into fix/dependencies-cleanup
2021-04-13 21:33:56 +02:00
Johannes Berthel
e5a196a42b
implemented feedback
2021-04-06 18:54:45 +02:00
Johannes Berthel
4aa082d83b
Merge branch 'develop' into feature/player-companion
2021-04-02 23:40:30 +02:00
Johannes Berthel
c07079051a
transmit companion to remote players
2021-04-02 21:21:11 +02:00
kharhamel
88cc15cd02
FEATURE: editing a room in the admin trigger a refresh system
2021-04-02 15:22:02 +02:00
David Négrier
8529037493
Merge pull request #864 from thecodingmachine/singledomain
...
Adding support for single domain deployments
2021-04-01 09:04:26 +02:00
dependabot[bot]
f18562577e
Bump y18n from 3.2.1 to 3.2.2 in /pusher
...
Bumps [y18n](https://github.com/yargs/y18n ) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/yargs/y18n/releases )
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yargs/y18n/commits )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-31 18:46:01 +00:00
David Négrier
cd7a332b4c
Improving error throwing and handling in pusher/admin/front
2021-03-31 15:49:01 +02:00
kharhamel
886daebfea
improved the unloading process to not create a useless socket
2021-03-26 14:19:37 +01:00
kharhamel
f90046459e
FIX: fixed a error in the validation of receiveGlobalMessagePrompt in pusher/AdminController
2021-03-24 14:35:20 +01:00
kharhamel
8d6c1a50bf
FEATURE: warning message when world is near full capacity
2021-03-23 17:44:47 +01:00
kharhamel
fe8c75610d
FIX: player anims correctly stop on the idle frame
2021-03-11 16:21:02 +01:00
Gregoire Parant
59c310d0a8
Update to optimize maintainability of the code
2021-03-11 12:17:37 +01:00
Gregoire Parant
2fcb8a76b1
Merge branch 'master' into develop
...
# Conflicts:
# front/src/Connexion/RoomConnection.ts
# front/src/Phaser/Menu/ReportMenu.ts
2021-03-11 02:22:05 +01:00
Gregoire Parant
46cb9333e6
HotFix message in back
2021-03-11 01:25:36 +01:00
David Négrier
a28fcbb9e6
Catching error when JWT token cannot be generated to avoid crashing Pusher
2021-03-10 09:41:54 +01:00
kharhamel
8abc34c631
FEATURE: the connexion error an user can get when a world is full is now correctly traited. Also remove a redundant adminApi call
2021-03-09 16:34:19 +01:00
kharhamel
ad7e16c33b
FEATURE: better implementation of the admin global message
2021-03-04 16:18:06 +01:00
Gregoire Parant
915d945dd5
Fix ci
2021-03-01 22:32:50 +01:00
Gregoire Parant
30f4793342
Update private access
2021-03-01 22:21:52 +01:00
David Négrier
e07efbdf28
Merge pull request #698 from thecodingmachine/fix/deploy-cleanup
...
Adding docker-compose.prod.yaml to ease deployment
2021-02-16 10:35:18 +01:00
PizZaKatZe
d7b0cb83de
Fix workadventure_nb_clients_per_room in pusher
2021-02-10 00:03:42 +01:00
David Négrier
686427f6fe
Merge branch 'develop' of github.com:thecodingmachine/workadventure into fix/deploy-cleanup
...
# Conflicts:
# front/Dockerfile
2021-02-01 14:00:07 +01:00
Gregoire Parant
7eb38fae83
Permit puiblic report
...
- Create report html
- Add report flag
2021-01-29 21:09:10 +01:00
Thomas Basler
d79a18ee81
Removed unused URL_ROOM_STARTED variable from pusher and back
2021-01-20 22:56:24 +01:00
David Négrier
4df200c6c0
Switching ban by IP to be world specific
2021-01-18 16:41:36 +01:00
David Négrier
0d4808231a
Linting code
2021-01-18 15:43:27 +01:00
David Négrier
d1222e4440
Refactoring admin messages
2021-01-18 15:07:40 +01:00
David Négrier
4234b38910
Better error message in case of 404
2021-01-17 22:40:54 +01: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
Gregoire Parant
0bbaef0cb5
Fix send message and ban message
2021-01-17 03:07:46 +01:00
Gregoire Parant
74d0594246
Fix feedback @moufmou
2021-01-16 20:14:21 +01:00
Gregoire Parant
b1f8522c05
Create ban feature by admin console
2021-01-15 03:19:58 +01:00
Piotr Dobrowolski
33b9bd773f
*: Dockerfiles cleanup, docker-compose.prod.yaml
...
New docker-compose.prod.yaml should provide a production-ish deployment
of WorkAdventure
2021-01-12 22:32:37 +01:00
Piotr Dobrowolski
3c099ea783
back,pusher,uploader: cleanup dependencies
...
Move typescript/ts-node-dev to dev dependencies, remove unused
dependencies.
2021-01-07 19:09:53 +01:00
dependabot[bot]
e13a5f3e64
Bump systeminformation from 4.30.5 to 4.31.1 in /pusher
...
Bumps [systeminformation](https://github.com/sebhildebrandt/systeminformation ) from 4.30.5 to 4.31.1.
- [Release notes](https://github.com/sebhildebrandt/systeminformation/releases )
- [Changelog](https://github.com/sebhildebrandt/systeminformation/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sebhildebrandt/systeminformation/compare/v4.30.5...v4.31.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-01-06 14:41:47 +00:00
dependabot[bot]
3e0b85701c
Bump axios from 0.20.0 to 0.21.1 in /pusher
...
Bumps [axios](https://github.com/axios/axios ) from 0.20.0 to 0.21.1.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/v0.21.1/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v0.20.0...v0.21.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-01-06 10:33:33 +00:00
Mewp
4be009d5a1
Add a PUSHER_HTTP_PORT configuration variable.
...
Some deployments might not be based on docker, and not on separate
hosts. In such cases, it would be useful to be able to configure the
port pusher listens on.
2021-01-04 18:23:33 +01:00
David Négrier
aeb5dc7922
Add scaling capability to the API servers with this one weird trick
...
:) This allows spreading rooms on different API servers based on room name.
Note this does provide neither autoscaling nor high availability, but it provides some kind of load balancing.
2020-12-14 22:20:43 +01:00
David Négrier
053a4449ae
Merge pull request #480 from thecodingmachine/dependabot/npm_and_yarn/pusher/systeminformation-4.30.5
...
Bump systeminformation from 4.27.11 to 4.30.5 in /pusher
2020-12-11 16:57:53 +01:00
David Négrier
c2ff153bc7
Merge pull request #479 from thecodingmachine/dependabot/npm_and_yarn/pusher/ini-1.3.7
...
Bump ini from 1.3.5 to 1.3.7 in /pusher
2020-12-11 16:56:47 +01:00
David Négrier
eec84d13cf
Code cleanup
2020-12-11 16:47:59 +01:00
dependabot[bot]
a4f6ae7247
Bump systeminformation from 4.27.11 to 4.30.5 in /pusher
...
Bumps [systeminformation](https://github.com/sebhildebrandt/systeminformation ) from 4.27.11 to 4.30.5.
- [Release notes](https://github.com/sebhildebrandt/systeminformation/releases )
- [Changelog](https://github.com/sebhildebrandt/systeminformation/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sebhildebrandt/systeminformation/compare/v4.27.11...v4.30.5 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-12-11 13:25:43 +00:00
dependabot[bot]
9b6a7e651b
Bump ini from 1.3.5 to 1.3.7 in /pusher
...
Bumps [ini](https://github.com/isaacs/ini ) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases )
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-12-11 13:25:43 +00: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
ea3aa3d128
Reimplementing ban/unban/messages
2020-12-11 12:23:50 +01:00
David Négrier
24cb85cc7c
Adapting admin connection to pusher.
...
Done: onUserLeave / onUserEnter
To be done: ban / unban
2020-12-10 17:46:15 +01:00
David Négrier
bf797085e6
Extracting FileController into a Uploader container
2020-12-09 21:29:29 +01:00
David Négrier
b12e07d353
Fixing pusher dockerfile
2020-12-09 16:36:50 +01:00
David Négrier
1a5078f87d
Fixing pusher build + building in CI
2020-12-09 16:33:59 +01:00
David Négrier
ff17cb99d6
Cleaning up pusher
2020-12-09 16:07:06 +01:00
David Négrier
5d188e51b2
Cleanup of useless files
2020-12-04 17:26:12 +01:00
David Négrier
a19edd4dc1
Fixing reconnection to server on back failure
2020-12-03 16:39:44 +01:00
David Négrier
5a0dfdb1d5
Fixing missing uuid in back
2020-12-02 17:51:46 +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