David Négrier
35463930a0
Sending color outline on connect
2021-12-23 10:22:19 +01:00
David Négrier
482ba9690a
Sharing outline color changes in real time
2021-12-22 18:34:36 +01:00
David Négrier
36f5d42668
Fixing prettier setup on messages
2021-12-16 16:46:22 +01:00
David Négrier
8c93801746
Fixing wrong import
2021-12-16 16:18:23 +01:00
David Négrier
8a96ff8ee4
Merge pull request #1614 from ValdoTR/user-room-token
...
Added the user-room token created from admin when we access a room
2021-12-13 17:50:49 +01:00
David Négrier
1e6ce4dec8
Merge branch 'master' of github.com:thecodingmachine/workadventure into develop
2021-12-07 14:59:17 +01:00
David Négrier
d23a64d074
Fix sending empty variable message for users that have no right to read variable
...
When a user had no right to read a variable and the variable changed, the user was notified nonetheless with an empty SubMessage, causing an error message in the front:
> Uncaught Error: Unexpected batch message type onmessage RoomConnection.ts:181 RoomConnection.ts:181:30 onmessage RoomConnection.ts:181
This fix closes #1613
2021-12-03 16:07:42 +01:00
David Négrier
4cff230256
Creating only one WS connection to pusher from admin
...
Also: migration to Typescript 4.5 and µWebsockets 1.20.4
2021-12-01 20:14:53 +01:00
Valdo Romao
dd79f7d0f4
Added the user-room token created from admin when we access a room
2021-12-01 15:50:14 +00:00
David Négrier
6e6cdc7bde
Revert "Improving log messages"
2021-11-24 16:20:07 +01:00
Alexis Faizeau
dd89f12c2e
Implement logger on pusher
2021-11-08 19:05:25 +01: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
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
a1f1927b6d
Starting adding variables server-side
2021-07-06 15:30:49 +02:00
David Négrier
10c3d6dee2
Applying Prettier on pusher and back
2021-06-24 10:09:10 +02:00
kharhamel
dd45996f9c
FIX: improved the visit card, cleanup the code
2021-06-08 16:39:22 +02:00
kharhamel
a1d52b4265
FEATURE: added the possibility toplay emotes
2021-05-19 15:17:03 +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
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
Gregoire Parant
b1f8522c05
Create ban feature by admin console
2021-01-15 03:19:58 +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
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
4c1e566a6c
Adding a Pusher container as a middleware/dispatcher between front and back
2020-11-26 17:53:30 +01:00