Commit Graph

4795 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
Gregoire Parant
5d729d0560 Fix message Warning Container
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
2021-12-24 12:02:47 +01:00
_Bastler
579d6991bd Merge branch 'develop' of github.com:thecodingmachine/workadventure 2021-12-23 21:45:55 +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
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
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
96d46e96c2 Fix svelte error
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
2021-12-23 14:52:42 +01:00
David Négrier
220c9433d1 Updating back component to Typescript 4.5 2021-12-23 14:26:49 +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
David Négrier
3daf7a402e Upgrading ts-node-dev to stable release 2021-12-23 14:15:14 +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
bf64f8890d
Merge pull request #1669 from thecodingmachine/develop
Deploy 2021-12-23
2021-12-23 12:33:12 +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
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
Chasethechicken
6cae134c8f Fix indentation
To make prettier happy
2021-12-22 10:13:26 +01:00
Chasethechicken
1ea7b45c7e Fix misplaced semicolon 2021-12-21 23:26:15 +01:00
Chasethechicken
66efdebc78 Fix test map 2021-12-21 23:22:58 +01:00
Chasethechicken
5197428969 Add link to layer visibility test map 2021-12-21 22:24:03 +01:00
Chasethechicken
ee46111d3f Add test instructions
Also make the invisible and alpha layers seperate areas,
to make success more obvious.
2021-12-21 22:22:26 +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
Chasethechicken
ba7ea16799 Add test map 2021-12-21 11:47:43 +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
Chasethechicken
6f4fe47808 Add missing layer properties
Enables map makers to set the alpha, visibility, origin and size of layers.

Co-authored-by: jonny <ga86lad@mytum.de>
2021-12-21 11:31:14 +01:00
_Bastler
d03e1b3536 Merge branch 'develop' of github.com:thecodingmachine/workadventure 2021-12-20 17:14:18 +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