Commit Graph

2139 Commits

Author SHA1 Message Date
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
Nolway 541aa78a1f Define max height on streamable 2022-01-31 14:29:01 +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
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
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 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
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
David Négrier d1c549335b Fix the way links are encoded in chat
Closes #1776
2022-01-27 22:55:32 +01:00
Gregoire Parant 949b73d900 Fix style
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
2022-01-27 20:33:33 +01:00
Gregoire Parant b38081515b Change style of woka and name on video container
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
2022-01-27 20:10:29 +01:00
dependabot[bot] 1572ddc477 Bump nanoid from 3.1.30 to 3.2.0 in /front
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.30 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.30...3.2.0)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-27 15:50:53 +00:00
Alexis Faizeau 9efb718545 Display a loader while cowebsite icon is loading 2022-01-27 16:37:24 +01:00
Alexis Faizeau b01b8b53eb Lowercase warning container hex colors 2022-01-27 16:34:58 +01:00
Alexis Faizeau b9ca630a15 Jitsi cowebsite close on hangup 2022-01-27 16:34:58 +01:00
David Négrier a4b4710f87 Menu bar for buttons 2022-01-27 16:34:58 +01:00
David Négrier 06dca9813c Removing weird border in cowebsites and cowebsite button 2022-01-27 16:34:58 +01:00
David Négrier 78e816c6fb Removing optimization in dev to get back normal compilation times in watch mode 2022-01-27 16:34:58 +01:00
David Négrier 873c335054 Removing too wide border in videos 2022-01-27 16:34:58 +01:00
Alexis Faizeau 4f068c72be Co-website management move to Svelte 2022-01-27 16:34:58 +01:00
Alexis Faizeau 0bf1acfefb Improve game overlay UI 2022-01-27 16:34:58 +01:00
Alexis Faizeau 5f1dd09cb9 Implement minimizer for css/scss 2022-01-27 16:34:58 +01:00
Alexis Faizeau 9695064e82 Implement breakpoints utils on SCSS and JS 2022-01-27 16:34:58 +01:00