Alexis Faizeau
446b4639c7
Implement typesafe-i18n
2022-01-24 18:59:28 +01:00
David Négrier
0be77164ec
Translating retry connection error message and fixing E2E tests
2022-01-21 17:09:29 +01:00
Alexis Faizeau
3f3f488924
Merge pull request #1718 from thecodingmachine/master
...
Hot fixes
2022-01-12 10:47:27 +01:00
jonny
786448a2b2
prettier fix
2022-01-09 23:21:07 +01:00
jonny
73ab4f3a26
prettier fix
2022-01-09 23:18:38 +01:00
jonny
e5afac1df5
prettier fix
2022-01-09 23:17:17 +01:00
jonny
954d39bb0c
always set hash
2022-01-09 13:51:44 +01:00
David Négrier
787cc508b8
Merge pull request #1708 from thecodingmachine/fix_firefox_private_browsing
...
Fixing WA crashing in Firefox private mode
2022-01-06 11:57:12 +01:00
David Négrier
d713c82568
Fixing WA crashing in Firefox private mode
...
Due to the way we now handle the browser cache, previously ignored errors in the Cache API were now explicitly thrown, preventing the loading of Firefox in private mode.
This commit fixes the issue and improves the stacktrace display of errors at the same time.
2022-01-06 11:55:43 +01:00
David Négrier
ab0f5e9837
Stopping sending literal errors
...
Errors now must be of "Error" type.
Rule added in eslint.
2022-01-06 10:52:06 +01:00
David Négrier
f82012d315
Flagging Room.isPublic property as deprecated
2022-01-05 16:30:41 +01:00
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