Commit Graph

3701 Commits

Author SHA1 Message Date
Lukas Hass f2af7c6e95 fix cowebsite container display when scss is not yet loaded 2022-02-03 02:17:28 +01:00
Lukas Hass 7f9d318074 update sass 2022-02-03 02:14:49 +01:00
Lukas Hass 984c1e4502 add vite config to build iframe api 2022-02-02 00:20:46 +01:00
Lukas Hass 5890e9c5cb remove await import simple-peer 2022-02-01 18:41:54 +01:00
Lukas Hass 5f6be1fb8c use getEnvConfig from plugin 2022-02-01 14:35:38 +01:00
Lukas Hass 7fbd4c85cb build iframe-api-typings with tsc 2022-02-01 11:22:33 +01:00
Lukas Hass b1d9e603b8 fix redirect when map url is present 2022-02-01 11:15:52 +01:00
Lukas Hass 2d8fa591cf migrate build script to vite 2022-02-01 01:46:05 +01:00
Lukas Hass f87704b2ef remove redundant font loading
see https://github.com/typekit/webfontloader/blob/fd70d89061c07f019d3c1dfdf1368b0c0962fedf/README.md#custom
2022-02-01 01:29:38 +01:00
Lukas Hass 4ad91f41a3 update svelte and svelte-preprocess 2022-02-01 00:37:49 +01:00
Lukas Hass bd8623cbf9 allow mixed value and type imports 2022-02-01 00:36:05 +01:00
Lukas Hass 73c7785ac3 add polyfill for simple-peer node builtins 2022-02-01 00:35:16 +01:00
Lukas Hass 446aa6cbe3 fix simple-peer import 2022-02-01 00:34:48 +01:00
Lukas Hass 1b41e794da fix loading env config 2022-02-01 00:34:18 +01:00
Lukas Hass b1e9969ed8 fix vite client connection in docker 2022-01-31 18:35:16 +01:00
Lukas Hass 3d6b8b6063 run vite in docker 2022-01-31 17:36:38 +01:00
Lukas Hass d84a7536ca add sveltePreprocess 2022-01-31 17:34:36 +01:00
Lukas Hass ca2875c801 fix fontsource import 2022-01-31 17:32:45 +01:00
Lukas Hass 2f032c5acd and entrypoint to index.html 2022-01-31 17:32:30 +01:00
Lukas Hass 0dcadd474f convert lang="typescript" to lang="ts"
see https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#why-isnt-vite-detecting-my-imports-correctly-in-svelte-files-with-typescript
2022-01-31 17:30:07 +01:00
Lukas Hass b83fc77183 use vite plugin for env-config generation 2022-01-31 16:56:50 +01:00
Lukas Hass 5091e8d649 add vite and svelte plugin 2022-01-31 16:20:17 +01:00
Lukas Hass 585a398b14 move index.html to . 2022-01-31 16:18:51 +01:00
Lukas Hass d98acf9d2a gitignore dist/ completely 2022-01-31 16:16:43 +01:00
Lukas Hass 590e16ff8a move all static assets to public/ 2022-01-31 16:14:34 +01:00
Alexis Faizeau 315e2f6417 Merge pull request #1800 from thecodingmachine/fix-my-cam
Define max height on streamable
2022-01-31 14:29:42 +01:00
Nolway 541aa78a1f Define max height on streamable 2022-01-31 14:29:01 +01:00
Alexis Faizeau 4210334aa2 Merge pull request #1798 from thecodingmachine/fix-my-cam
Fix bugs on new camera display
2022-01-31 12:57:03 +01:00
Nolway 965725dd71 Remove border radius on video elements 2022-01-31 11:58:12 +01:00
Nolway feeb20fb5d Prettier fixes into video management 2022-01-31 11:50:07 +01:00
Nolway d2bfa75b37 Video peer without stream can be highlighted 2022-01-31 11:48:12 +01:00
Nolway 50b752a205 Fix streamable display after left a group 2022-01-31 11:41:30 +01:00
Nolway 4400c79b93 Fix local streamable toggle highlighted 2022-01-31 11:40:16 +01:00
grégoire parant 462cb53101 Merge pull request #1793 from thecodingmachine/fix_redirect_lastroomurl
Fix redirect error after invalid token
2022-01-29 14:16:34 +01:00
Gregoire Parant d590b81446 Fix redirect error after invalid token
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
2022-01-29 14:05:05 +01:00
grégoire parant 561fbd7bec Merge pull request #1790 from thecodingmachine/fix_screensharing_spinner
Fix screensharing spinner
2022-01-28 19:50:31 +01:00
Gregoire Parant 60b6bc6f75 Updating of warning message when we try to close screen sharing
Trying to close screen sharing is alway process when a peer connection is closed.

Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
2022-01-28 19:34:15 +01:00
Gregoire Parant 31b7b5aa08 Add name on screen sharing
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
2022-01-28 19:17:40 +01:00
Gregoire Parant 15be76655f Add todo to improve status management
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
2022-01-28 18:42:48 +01:00
Gregoire Parant dfd594ec17 Fix screen sharing spinner
Check if the peer connection is already connected status. In this case, the status store must be set to 'connected'.
In the case or player A send stream and player B send a stream, it's same peer connection, also the status must be changed to connect.

Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
2022-01-28 18:33:42 +01:00
Alexis Faizeau 34c077f470 Merge pull request #1789 from thecodingmachine/fix-errors
Fix i18n error message
2022-01-28 15:47:07 +01:00
grégoire parant 790c7175cf Merge pull request #1785 from thecodingmachine/fix_camera_light
Remove hideMyCamera function, not working correctly
2022-01-28 15:25:56 +01:00
Alexis Faizeau bea99711e4 Fix i18n error message 2022-01-28 15:11:57 +01:00
Gregoire Parant fc8330a3ad Remove hideMyCamera function, not working correctly
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
2022-01-28 12:01:58 +01:00
David Négrier 673a18864d Merge pull request #1784 from thecodingmachine/fix_user_walking_infinitely
Fixing users walking infinitely
2022-01-28 11:20:37 +01:00
David Négrier 9a7140b027 Fixing users walking infinitely
Now, if no event is received from the Pusher after MAX_EXTRAPOLATION_TIME, the
moving variable of the user is set to false.

So if a client does not send an update on time (for instance if the user switched
tab while walking), on the screen of others, the woka will appear to stop.
2022-01-28 11:10:47 +01:00
David Négrier dd920c96db Merge branch 'master' of github.com:thecodingmachine/workadventure into develop 2022-01-28 10:16:59 +01:00
David Négrier f602833c73 Merge pull request #1783 from thecodingmachine/fix_freeze_on_mapstore
Fixing a freeze in MapStore on several unsubscribes
2022-01-28 10:16:42 +01:00
grégoire parant b831ad3c9e Merge pull request #1782 from thecodingmachine/updateNameAndWokaOnVideoContainer
Change style of woka and name on video container
2022-01-28 10:10:44 +01:00
David Négrier e43c4cd5ae Fixing a freeze in MapStore on several unsubscribes
For some reason (I could not reproduce this in unit tests alas), the unsubscribe function
could be called several times in a row, leading to a complete map freeze.

Closes #1736
2022-01-28 09:58:24 +01:00