Commit Graph

283 Commits

Author SHA1 Message Date
César Cardinale
ad229460ef
Show or not the Powered by image (#2163)
* Show or not the Powered by image

* Fix prettier issues

* Fix prettier issues messages
2022-05-04 14:22:20 +02:00
César Cardinale
97e3397398
Change type of unauthorized (#2123)
* Change type of unauthorized
* Fix redirect on received erroScreenMessage from API
2022-04-26 18:17:12 +02:00
grégoire parant
f402fea86a
External API update (#2111)
* External API update

 - Remove tags field for map information
 - Remove room_policy fiels for map information

This two paramter will be used directly in the admin

* Delete use less updateRoomWithAdminData

Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>
2022-04-25 11:00:01 +02:00
David Négrier
5cc97483e0 Fine-tuning the @typescript-eslint/no-unused-vars rule
We now allow parameters to be unused. This is quite common in inherited methods.
This allows removing a bunch of: //eslint-disable-next-line @typescript-eslint/no-unused-vars
Also, "err" variables in catch MUST now be used and the special _exhaustiveCheck variable used in ":never" assigns can be unused.
2022-04-22 18:09:39 +02:00
David Négrier
4ffcc3139f Fixing bug when changing room 2022-04-22 17:08:55 +02:00
David Négrier
8e1a462667
Merge pull request #2075 from thecodingmachine/codeAPI
Refactoring Error Screen
2022-04-22 16:52:43 +02:00
CEC
de6cbd7c0a Fix lint issues 2022-04-21 14:49:41 +02:00
CEC
91e8fa7cd4 Fix prettier issues 2022-04-21 14:45:34 +02:00
CEC
bc17b86ce4 Fix order locale and remake Zod def of ErrorApi 2022-04-21 14:16:18 +02:00
CEC
711832bc3a Fix order locale parameter in call of fetchMemberDataByUuid 2022-04-20 17:06:16 +02:00
CEC
8182ccb11c Fix prettier issues and re order locale parameter 2022-04-20 17:03:21 +02:00
CEC
55cb6577b4 Delete console log 2022-04-20 16:48:54 +02:00
David Négrier
320c68c88e Fix Github error override commit [952a5bd87c] 2022-04-20 16:44:32 +02:00
CEC
5466bd1d68 Fix feedback on PR
Change locale as parameter on adminInterface
2022-04-20 16:30:16 +02:00
CEC
5a416d265e Merge branch 'localAdmin' into codeAPI 2022-04-20 15:37:02 +02:00
CEC
b5039d14e2 Fix prettier issues 2022-04-19 17:35:47 +02:00
CEC
71a0e18049 Disconnect and redirect to login on error page 2022-04-19 17:31:43 +02:00
CEC
163ee872bf Fix lint & prettier issues 2022-04-19 17:11:51 +02:00
CEC
5a0eec1eb9 Fix cast bigInt -> number / Prettier issue 2022-04-19 17:02:08 +02:00
CEC
e45fcb371c Refactor catching of error from API : check the type of errors 2022-04-19 16:50:21 +02:00
Piotr 'pwh' Hanusiak
23092c75d6 merged develop 2022-04-19 12:43:56 +02:00
CEC
322f9ca707 Fix prettier issue (pusher) 2022-04-19 10:57:11 +02:00
CEC
5d360c8770 Add custom image from errors thrown by the API 2022-04-19 10:50:01 +02:00
David Négrier
b89997c9f1 Changes the prefix added in front of the jitsiRoomName
Previously, the prefix was computed using the org/world (in SAAS) or the instance part of public URLs.
Neither was guaranteeing the Jitsi Room would be unique accross rooms.
The new system computes a hash of the room URL and prepends it to the jitsi room name.

BREAKING CHANGE: this means the URL of the Jitsi room will change for all maps. Users having bookmarked the Jitsi room (for instance in the Jitsi mobile app) will need to update their bookmarks.
2022-04-19 08:52:26 +02:00
Alban Bruder
0f08e3d1b5 Compute instance in pusher /map endpoint 2022-04-19 08:52:26 +02:00
CEC
0ac6b50469 Fix prettier and change last use of adminAPI to Service way 2022-04-14 11:59:35 +02:00
César Cardinale
3767555e38
Merge branch 'develop' into localAdmin 2022-04-14 11:55:04 +02:00
Piotr 'pwh' Hanusiak
99854e2d62 removed silent message 2022-04-14 11:41:01 +02:00
CEC
317e0d3787 Implement all use of AdminService
Implement and generalize adminApi and localAdmin from adminInterface
2022-04-14 11:33:00 +02:00
Piotr 'pwh' Hanusiak
8f0b02a9c8 change away to availability status 2022-04-14 11:03:58 +02:00
grégoire parant
a13c7e9e2f
Improve profile menu to implement user identity connected URL (#2055)
#  Improve profile menu to implement user identity connected URL

- Create URL and get user identity
- Check if user is connected or show connexion button
- Improve profile to check before user data and don't display error webpage in menu
2022-04-14 10:17:59 +02:00
CEC
5507a91d48 Add fetchMapDetails for the mocking LocalAPI 2022-04-13 18:40:14 +02:00
CEC
710311036b Fix prettier and import unused 2022-04-13 17:49:04 +02:00
CEC
209dd43aac Deleted use of WAError and add defining of language of client everywhere 2022-04-13 17:42:44 +02:00
CEC
13b0996c8b Merge from develop 2022-04-13 17:27:42 +02:00
César Cardinale
d71b36d0fe
Merge branch 'develop' into codeAPI 2022-04-13 17:00:55 +02:00
CEC
26dc8dbbaf Review of changes asked to make code cleaner 2022-04-13 16:58:03 +02:00
Alexis Faizeau
a3fd891530 Fix linting errors 2022-04-13 15:32:25 +02:00
David Négrier
6920836e47 Merge branch 'master' of github.com:thecodingmachine/workadventure into develop 2022-04-13 15:12:06 +02:00
David Négrier
952a5bd87c Making a round of improvement to log messages
Also, bootstraping a new LocalAdmin service to mock the AdminApi in the pusher
2022-04-13 15:07:03 +02:00
CEC
d4f856eb88 Fix prettier 2022-04-13 14:51:15 +02:00
CEC
ecabdbe0c0 Refactoring Error Screen 2022-04-13 14:51:15 +02:00
CEC
e13fec1a8b Fix Map Controller SafeParse -> Parse 2022-04-13 14:43:54 +02:00
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
CEC
0b579418ad Fix prettier 2022-04-12 11:12:44 +02:00
CEC
748baa9bbc Refactoring Error Screen 2022-04-12 10:23:36 +02:00
Piotr Hanusiak
02f06a913b
Availability indicator (#2044)
* status indicators changing properly

* away status wip

* updating away status on connection

* remove obsolete logs

* fix typecheck

* minor adjustments

* darker outline

* Trying darker outline

* Apply suggestions from code review

* Update pusher/src/Model/Zone.ts

* Making the dot smaller

* Marking onleavezone as deprecated

Co-authored-by: Piotr 'pwh' Hanusiak <p.hanusiak@workadventu.re>
Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>
2022-04-07 14:23:53 +02:00
dependabot[bot]
2e28303c30 Bump minimist from 1.2.5 to 1.2.6 in /pusher
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-04 15:20:24 +02:00
David Négrier
9647f93cc2
Merge pull request #1994 from thecodingmachine/new_custom_woka_scene
New custom woka scene
2022-04-04 14:45:44 +02:00
Piotr Hanusiak
7e84ac5454
Global voice-indicators (#2020)
* make use of well known types for PlayerDetailsUpdated message

* show voice-chat indicator of people from other groups too

* cleanup

* check for outline value

* do not send outline color if undefined

* revert removing LocalVolumeStore

* use auto-generated type instead

Co-authored-by: Piotr 'pwh' Hanusiak <p.hanusiak@workadventu.re>
2022-04-04 13:47:23 +02:00