Alexis Faizeau
d1e8243c47
Zod EVERYWHERE ( #2027 )
...
* Zod EVERYWHERE
* Add no-unused-vars rule to eslint in front
* Add no-unused-vars rule to eslint in pusher
* Add no-unused-vars rule to eslint in back
* Remove unused PlayerTexture guards
* Fix data providing on room connection
Co-authored-by: Alexis Faizeau <a.faizeau@workadventu.re >
2022-04-12 14:21:19 +02:00
Hanusiak Piotr
d43c8d181a
sending info about group lock state. wip
2022-03-01 11:36:45 +01:00
Hanusiak Piotr
724dbc8efa
send group userIds to players
2022-02-28 13:47:08 +01:00
Alexis Faizeau
4a5ef4ab86
Change group radius management
2022-01-14 13:54:55 +01:00
David Négrier
d6e8bd522f
Fixing issue if group was deleted when out of bounds.
2021-12-24 14:07:29 +01:00
David Négrier
05bedf0c22
Adding an "out-of-bounds" notion for a group.
...
This allows hiding a group when some players are out of the radius but the group still exists because of the "follow" feature.
2021-12-24 13:21:44 +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
David Négrier
3e91a79078
Upgrading eslint
2021-12-23 15:33:19 +01:00
PizZaKatZe
f2e37b8cff
Clean up now unused function in group model
2021-12-20 16:49:41 +01:00
PizZaKatZe
329f721998
Update back/src/Model/Group.ts
...
Co-authored-by: David Négrier <d.negrier@thecodingmachine.com >
2021-12-20 16:46:16 +01:00
PizZaKatZe
5c385c520a
Cleanup; pretty
2021-12-18 11:45:17 +01:00
David Négrier
cd805fab31
Refactoring following code to make a distinction beween followed and following users.
...
Also, moving sending messages to the User class.
2021-12-18 11:34:20 +01:00
PizZaKatZe
d6ef60a3d8
Send request to group members only
2021-12-15 18:41:37 +01:00
Kharhamel
5255847452
FIX: if a conversion group move to another user, this user will be added to the group
2021-10-08 11:02:58 +02:00
David Négrier
10c3d6dee2
Applying Prettier on pusher and back
2021-06-24 10:09:10 +02:00
kharhamel
ce2c5e0cb5
FEATURE: added the env variable MAX_PER_GROUP
2021-04-15 15:50:51 +02:00
kharhamel
b1d2543631
improvment: added prometheus metrics for the number of groups in a room
2020-10-30 15:23:50 +01:00
Gregoire Parant
e973921390
Fix admin tags
...
- Fix get size group
- Fix admin tags
- Fix texture already used
2020-10-21 17:22:17 +02:00
arp
0b78eb6277
temp
2020-10-06 15:37:00 +02:00
David Négrier
b485c9bf46
Switching WebRTC to protobuf + uws
2020-09-29 16:01:22 +02:00
David Négrier
23cea1c835
Migrating position notification into the User class
2020-09-25 15:25:06 +02:00
David Négrier
892d1555b8
Adding "dump" controller and fixing issue with groups in PositionNotifier by delegating the PositionNotifier.updatePosition call to groups themselves
2020-09-25 13:48:02 +02:00
David Négrier
76d3779438
Moved GroupUpdateMessage to protobuf
2020-09-21 11:24:03 +02:00
David Négrier
e9ca8721a6
Migrating userId to "int32" to save some space and adding userMoves message in protobuf
2020-09-18 13:57:38 +02:00
David Négrier
f5f9dcac04
Making groups part of zones
2020-09-16 16:06:43 +02:00
David Négrier
31846d1640
Using a Set for groups
2020-06-29 22:21:11 +02:00
David Négrier
4fee1ac206
Refactoring World and Group to use Map and Set instead of arrays
2020-06-29 22:10:23 +02:00
David Négrier
ac0b7a7361
Turning let into const where applicable
2020-06-09 15:54:54 +02:00
David Négrier
9c32c930a0
Merge
2020-05-03 17:47:54 +02:00
David Négrier
3b27f8b000
Making the group radius distinct from the minimum distance to connect 2 players
...
Also, changed default settings from 160px for Group Radius to 120px
(minimum distance to connect 2 players remains 160px)
2020-05-03 16:57:17 +02:00
gparant
8357f9b8c2
Merge branch 'event_group' into webrtc
...
# Conflicts:
# back/src/Model/Group.ts
# back/src/Model/World.ts
2020-05-03 16:18:05 +02:00
David Négrier
58565a7f45
Refactoring events to connect/disconnect a user to a group
2020-05-03 16:08:04 +02:00
gparant
bae03fb1cf
Fix CI
2020-05-02 23:48:33 +02:00
gparant
aff77fe074
Merge remote-tracking branch 'github.com/master' into webrtc
...
# Conflicts:
# back/src/Model/Group.ts
# back/src/Model/World.ts
2020-05-02 00:36:04 +02:00
gparant
e06b20fe96
Update video style and start peer connexion
2020-05-01 21:15:00 +02:00
David Négrier
bf0fa516d4
First working version with disconnection
2020-04-29 23:12:55 +02:00
David Négrier
2a8e3ea323
Switching connection to a barycenter approach
2020-04-29 22:41:48 +02:00
David Négrier
9d2f96b348
Manually fixing a weird lint bug in eslint
2020-04-28 22:40:54 +02:00
David MAECHLER
4bc23ede90
unit test on connect is working, lets start the worst ....
2020-04-09 23:26:19 +02:00
David MAECHLER
e3b0f99f04
blocked on some logic...WIP commit
2020-04-08 20:40:44 +02:00
David MAECHLER
fbfc208129
BIG WIP of refactoring my work in TS
2020-04-07 10:08:04 +02:00