Commit Graph

247 Commits

Author SHA1 Message Date
Piotr 'pwh' Hanusiak
a566f8d661 availabilityStatus info from websocket 2022-05-11 11:27:52 +02:00
César Cardinale
a6e0374257
All customized logo (#2168)
* Change dynamic logo in reconnecting scene

* Add cowebsite customized logo

* Fix prettier issues

* Fix prettier issues (2)

* Fix login scene PoweredBy

* Delete all console logs
2022-05-05 19:23:07 +02:00
Gregoire Parant
b6e006d7bb Merge branch 'master' into develop
Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>

# Conflicts:
#	messages/JsonMessages/MapDetailsData.ts
2022-05-05 11:55:41 +02:00
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
grégoire parant
755ca93d49
New analytics feature (#2150)
* New analytics feature

Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>

* Fix eslint swaggerJsdoc

Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
2022-04-29 20:53:33 +02:00
CEC
d6450831c6 Fix pretty doc 2022-04-28 11:51:55 +02:00
CEC
53b084ea7f Add new Swagger Doc for the pusher 2022-04-28 11:39:08 +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
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