Commit Graph

3367 Commits

Author SHA1 Message Date
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
840f8626ad Refactoring code to use Svelte native "$" store unpacking. 2021-12-24 15:39:28 +01:00
David Négrier
a1cfaa0225 Merge branch 'develop' of github.com:thecodingmachine/workadventure into feat/follow-woka 2021-12-24 15:06:15 +01:00
David Négrier
a4a89735f6 Fixing missing builders 2021-12-24 15:04:01 +01:00
David Négrier
9a3bca0659 Updating Node version to latest minor in Pusher and Back for prod images 2021-12-24 14:59:40 +01:00
David Négrier
87bc7f8099 Slightly improving follow request popup design 2021-12-24 14:36:38 +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
fefe7c8aa5 Removing the "Ask others to follow you?" popup
No need to ask twice, the user just pressed the "follow" button.
2021-12-24 13:48:35 +01:00
David Négrier
7d796611ae
Merge pull request #1676 from albanbruder/feature-admin-message-queue
Display multiple admin messages
2021-12-24 13:25:13 +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
Alban Bruder
380328079b
Merge branch 'develop' into feature-admin-message-queue 2021-12-24 12:49:08 +01:00
Alban Bruder
00e0a14a37 Display multiple admin messages 2021-12-24 12:15:54 +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
David Négrier
3e8cec312b
Merge pull request #1673 from thecodingmachine/fix_redirect
Fixing bug in redirect handling of rooms
2021-12-23 16:02:55 +01:00
David Négrier
b8c01eacbf
Merge pull request #1671 from thecodingmachine/upgrade_typescript_back
Upgrading Typescript on back server
2021-12-23 15:43:41 +01:00
David Négrier
3e91a79078 Upgrading eslint 2021-12-23 15:33:19 +01:00
David Négrier
d54e129fbe Fixing bug in redirect handling of rooms 2021-12-23 14:53:03 +01:00
David Négrier
220c9433d1 Updating back component to Typescript 4.5 2021-12-23 14:26:49 +01:00
David Négrier
3daf7a402e Upgrading ts-node-dev to stable release 2021-12-23 14:15:14 +01:00
David Négrier
a82a5caec8 Upgrading testcafe to 1.18.0 2021-12-23 11:46:39 +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
565ccb10c8
Merge pull request #1662 from thecodingmachine/feat/outline_api
Adding an API to control players outline
2021-12-23 10:55:03 +01:00
David Négrier
e34c49fd49 Fixing tests 2021-12-23 10:44:46 +01:00
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
90f7287860 Adding the ability to set the player's color outline via the scripting API
(currently not shared with the other players yet)
2021-12-21 17:02:53 +01:00
David Négrier
e086f6dac0
Merge pull request #1663 from thecodingmachine/fix/map_detail_type_guard
Fixing new MapDetails type guard
2021-12-21 16:23:01 +01:00
David Négrier
1544385082
Merge pull request #1665 from albanbruder/fix-admin-message-update
Fix admin message update in frontend
2021-12-21 16:22:43 +01:00
Alban Bruder
85c07e3723 Fix admin message update in frontend 2021-12-21 13:03:24 +01:00
David Négrier
e660e25616 Fixing new MapDetails type guard
It was working improperly with messages from the admin
2021-12-21 11:37:54 +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
David Négrier
e220bf56db
Merge pull request #1658 from albanbruder/fix-admin-message
Fix: Use specified type in admin message
2021-12-20 16:05:42 +01:00
David Négrier
26897eb6d1
Merge pull request #1660 from thecodingmachine/fix/room_cleanup_on_error
Correctly cleaning room in pusher even if an exception occurs
2021-12-20 15:44:30 +01:00
David Négrier
d792d35d09 Correctly cleaning room in pusher even if an exception occurs
Closes #1646 (again)
2021-12-20 15:33:47 +01:00
Alban Bruder
d185c0ee24 fix code styling 2021-12-20 15:14:49 +01:00
David Négrier
7938a7d610
Merge pull request #1659 from thecodingmachine/fix/room_cleanup_on_error
Properly delete rooms in Pusher in case of connection error and empty room
2021-12-20 14:29:28 +01:00
David Négrier
e0aab9c0ce Properly delete rooms in Pusher in case of connection error and empty room
Closes #1646
2021-12-20 14:16:52 +01:00
Alban Bruder
4ffcebb2e4 Use specified type in admin message 2021-12-20 13:53:54 +01:00
PizZaKatZe
50147db895 Block running in follow mode 2021-12-20 13:36:29 +01:00
PizZaKatZe
21b1313a18 Get rid of buggy open state 2021-12-20 12:50:43 +01:00
Lurkars
3916d9c58e Add follow button to ui, improved flow 2021-12-20 11:35:06 +01:00
Lurkars
2cd088c049 Change follow request to "F" button, use nes-css buttons 2021-12-18 11:58:30 +01:00
PizZaKatZe
5c385c520a Cleanup; pretty 2021-12-18 11:45:17 +01:00
David Négrier
c96b65549f Performing proper cleanup when a user leaves 2021-12-18 11:34:20 +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
David Négrier
fd9cb09de6 Checking if a user should leave a group when someone moves in the group every time.
This fixes a long standing issue.
2021-12-18 11:34:20 +01:00
David Négrier
44ff9e30d5 Using id instead of name to identify other Wokas 2021-12-18 11:34:20 +01:00
David Négrier
404404d2bf Fixing pusher build 2021-12-17 10:18:31 +01:00