David Négrier
968e71cbca
Removing completely any analysis of the URL from the front.
...
Instead, data related to room is sent from the admin, via the pusher.
2022-01-05 14:32:02 +01:00
David Négrier
c85679b42c
Merge branch 'develop' of github.com:thecodingmachine/workadventure into 2daysLimit
2022-01-05 10:19:23 +01:00
David Négrier
24baf5664c
All promises are now handled
2022-01-04 17:06:29 +01:00
David Négrier
fb69476b97
Merge pull request #1698 from thecodingmachine/ts-proto
...
Migrating front protobuf encode/decode to ts-proto lib
2022-01-03 18:07:19 +01:00
David Négrier
6bd9a998f9
Removing unused messages
2022-01-03 16:26:52 +01:00
David Négrier
bf070c33b5
Migrating front protobuf encode/decode to ts-proto lib
...
The ts-proto lib has the huge advantage of producing code the "Typescript" way and not the "Java" way.
In particular, for "oneof" types in protobuf, it is generating "ADT" that can be used to check if we forgot or not to deal with a type.
2022-01-03 15:52:46 +01:00
Benedicte Quimbert
3490daed6b
Creates player state and uses it to get and set values from local storage
2022-01-03 11:45:47 +01:00
Benedicte Quimbert
e025c1dc8e
Allows to read and write "Player properties" from LocalStorage
2022-01-03 11:45:47 +01:00
Alexis Faizeau
68431c5242
Merge branch 'develop' into master
2021-12-30 13:18:13 +01:00
Alexis Faizeau
b148a46e3c
Remove unused policy type from ApiData typeguard
2021-12-30 12:51:52 +01:00
David Négrier
d37165219c
Migrating followStates and followRoles from a const object to a type restricted to only the string values allowed.
...
This allows for more secure code (compilation checks) and simpler code too (we can pass strings instead of const values)
2021-12-24 15:49:25 +01:00
David Négrier
4a7be94b92
Fixing bug in redirect handling of rooms
2021-12-23 21:36:13 +01:00
David Négrier
524339a3a0
Adding hightlight to player names when they follow each others
2021-12-23 18:07:51 +01:00
David Négrier
368a115b4c
Merge branch 'develop' of github.com:thecodingmachine/workadventure into feat/follow-woka
2021-12-23 16:04:59 +01:00
Gregoire Parant
efa57d2754
Fix pretier
...
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
2021-12-23 15:06:32 +01:00
David Négrier
d54e129fbe
Fixing bug in redirect handling of rooms
2021-12-23 14:53:03 +01:00
Gregoire Parant
df3c618ffa
Merge branch 'develop' into 2daysLimit
...
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
# Conflicts:
# front/src/Connexion/ConnectionManager.ts
2021-12-23 14:23:08 +01:00
Gregoire Parant
fd64fc43a4
Finish 2 days room limit
...
- Create modal to register when limit is past
- Create modal to share the link
- Use UrlManager to check if limit room is active
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
2021-12-23 13:09:28 +01:00
David Négrier
9efa115982
Merge branch 'master' of github.com:thecodingmachine/workadventure into develop
2021-12-23 11:04:20 +01:00
David Négrier
35463930a0
Sending color outline on connect
2021-12-23 10:22:19 +01:00
Gregoire Parant
60f4cf75c3
Merge branch 'develop' into 2daysLimit
...
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
2021-12-23 10:02:46 +01:00
David Négrier
482ba9690a
Sharing outline color changes in real time
2021-12-22 18:34:36 +01:00
David Négrier
b2bcfde5b1
Merge branch 'develop' of github.com:thecodingmachine/workadventure into upgrade_typescript_4.5
2021-12-16 16:07:17 +01:00
David Négrier
0c281db411
More eslint fixes (+ ignoring no-unsafe-argument rule for now)
2021-12-16 15:57:37 +01:00
David Négrier
fa2e583d48
Reimporting correctly types moved to /messages
2021-12-16 10:04:41 +01:00
PizZaKatZe
a481376633
Clean up remaining debug log messages
2021-12-15 20:11:47 +01:00
PizZaKatZe
d3297a448e
Add setting that ignores follow invites
2021-12-15 19:47:14 +01:00
PizZaKatZe
e3e7fba539
Rename InteractMenu/-Store => FollowMenu/-Store
2021-12-15 18:50:59 +01:00
PizZaKatZe
2bd71790b5
Use user IDs instead of names
2021-12-15 18:42:24 +01:00
PizZaKatZe
7bff782f7f
Improve follow abort message; avoid having to change it in backend
2021-12-15 18:42:24 +01:00
PizZaKatZe
0a410d289d
Implement follow request / confirmation UI
2021-12-15 18:42:22 +01:00
PizZaKatZe
1fca99c0d1
Send follow me request to all players
2021-12-15 18:41:36 +01:00
PizZaKatZe
f65491e709
Remove unused import
2021-12-15 18:36:11 +01:00
David Négrier
2fff6ae41e
Improving code security by adding stricter typings
2021-12-14 18:55:58 +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
Gregoire Parant
a5d4d163e1
Add test mode
...
`*` char permit to defined test mode with warning message
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
2021-12-10 01:51:40 +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
ff77a18262
Don't retry Axios if a token decryption failed
...
If a token decryption failed, it will emit a HTTP 500.
We should not retry Axios in this case but rather fail.
Note: a token decryption failed should not throw a HTTP 500 but another error code (HTTP 401?)
So maybe this fix is plainly wrong.
2021-12-08 11:16:39 +01:00
David Négrier
1d2d60a67a
Fixing issue with "instance" part of the URL lost in exitSceneUrl URLs.
2021-12-07 15:55:36 +01:00
PizZaKatZe
d49d44d7ea
New setting: Always ask before opening cowebsites / Jitsi meetings
2021-12-06 23:25:25 +01:00
David Négrier
84f7a8c383
Pretty fix
2021-12-06 18:20:06 +01:00
David Négrier
d7875c2c68
Adding missing handler for error message in front + removing 2 useless classes in ServerToClientMessage
2021-12-06 18:00:17 +01:00
David Négrier
492fd2ed4e
Adding retried URL in retry error logs
2021-12-04 18:30:12 +01:00
David Négrier
2cfc504e9a
Adding a retry on /anonymLogin
2021-12-04 18:18:43 +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
fcf0888864
Adding a reconnect feature in case first Pusher request fails
...
Now, if the first pusher request fails, a waiting message will be displayed and the application will reconnect when the pusher comes back alive or the network connection is established again.
2021-12-01 14:14:02 +01:00
Gregoire Parant
b098b5f37d
Fixing "Query string parameters prevent WA from loading"
...
Due to a regression, query string parameters added to the URL (like:
http://play.workadventure.localhost/_/global/maps.workadventure.localhost/starter/map.json?utm_source=sendinblue&utm_campaign=WA+-+2021+Christmap+map+launch&utm_medium=email#foo
) were causing a crash in WA.
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
2021-11-30 17:29:53 +01:00
David Négrier
06483fd586
Fixing "Query string parameters prevent WA from loading"
...
Due to a regression, query string parameters added to the URL (like:
http://play.workadventure.localhost/_/global/maps.workadventure.localhost/starter/map.json?utm_source=sendinblue&utm_campaign=WA+-+2021+Christmap+map+launch&utm_medium=email#foo
) were causing a crash in WA.
This commit fixes the issue (and adds a E2E test)
2021-11-30 14:34:43 +01:00
Gregoire Parant
060c844468
Fix htag in localstorage
...
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
2021-11-24 19:24:43 +01:00
David Négrier
94959e2e91
Merge branch 'develop' of github.com:thecodingmachine/workadventure into HotFixCleanTokenParamUrl
...
# Conflicts:
# back/src/Services/Logger.ts
2021-11-24 17:03:29 +01:00