Commit Graph

178 Commits

Author SHA1 Message Date
César Cardinale
5016c85ca4
Add swagger doc for the link pusher -> admin (#2146)
* Dissociate admin API from external API
* Add adminAPI doc for self-hosted
2022-05-11 17:43:25 +02:00
Alexis Faizeau
f7caacc598 Implement disable/restore proximity meeting in api (#2166)
Co-authored-by: Alexis Faizeau <a.faizeau@workadventu.re>
2022-05-05 12:19:06 +02:00
Alexis Faizeau
9c5fcd2fd8
Implement UI Website (#2087)
* Implement UI Website system

* Add UIWebsite documentation

* Implement review fixes

* Add getAll function on UIWebsite

Co-authored-by: Alexis Faizeau <a.faizeau@workadventu.re>
2022-05-04 18:30:31 +02:00
David Négrier
44778f51f8 Adding a troubleshooting guide
Migrating the troubleshooting guide from SAAS repo
+ adding a paragraph about issues with embedding iframes related to HTTP headers and cookie parameters.
2022-04-25 18:00:34 +02:00
Piotr 'pwh' Hanusiak
9aaf2539bc Merge branch 'use-tiled-objects' of github.com:thecodingmachine/workadventure into use-tiled-objects 2022-04-19 12:47:11 +02:00
David Négrier
ecda1a21a0 Merge branch 'develop' of github.com:thecodingmachine/workadventure into use-tiled-objects 2022-04-19 08:56:53 +02:00
David Négrier
8c5c680cfb Adding a new "jitsiNoPrefix" property.
When set to "true", WorkAdventure will NOT prefix the Jitsi room name with a hash, gicing full control to the user over the Jitsi room name.
2022-04-19 08:52:26 +02:00
Piotr 'pwh' Hanusiak
fe0f2872fc performance comment 2022-04-12 15:51:23 +02:00
Piotr 'pwh' Hanusiak
ce1961e34e more docs changes 2022-04-12 15:43:32 +02:00
Piotr 'pwh' Hanusiak
a71d29d997 merged develop 2022-04-12 15:22:40 +02:00
Piotr 'pwh' Hanusiak
35964cdb5b update docs 2022-04-12 15:02:01 +02:00
Piotr 'pwh' Hanusiak
480277df60 change zone to area on example images for focusable area 2022-04-12 14:45:49 +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
qlouis1
387853b139 Fix broken link in getting started
Link to scripting API was broken, pointing to 404.
Maybe it should link directly to the API reference page ?
2022-04-07 14:50:34 +02:00
Piotr Hanusiak
d4dcd0d5ce
Actions menu api (#1862)
* wip

* wip

* random action on click

* removing actions

* register single key per command use

* change removeActionsMenu action name

* fixed actions menu not hiding content properly:

* actions menu fix

* added mock Block Player action

* ActionsMenu buttons styling

* added displaying priority for menu actions

* moved utils actionMenu features to the UI

* import as a type:

* more object oriented style for API

* removed registered actions from RemotePlayer instance

* readme update

* Fixing typos / Improving wording

* added instructions on AlterActionsMenu test map

Co-authored-by: Hanusiak Piotr <piotr@ltmp.co>
Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>
2022-03-14 10:15:10 +01:00
David Négrier
6540f15c5b
Refactoring Woka management (#1810)
* Wrap websockets with HyperExpress

* Add endpoints on pusher to resolve wokas

* getting textures urls from pusher

* Adding OpenAPI documentation for the pusher.

The pusher now exposes a "/openapi" endpoint and a "/swagger-ui/" endpoint.

* revert FRONT_URL

* playerTextures metadata is being loaded via Phaser.Loader

* fetch textures every time character or customize scene is open

* Heavy changes: refactoring the pusher to always send the textures (and the front to accept them)

* Sending character layer details to admin

* Cleaning commented code

* Fixing regex

* Fix woka endpoints on pusher

* Change error wording on pusher

* Working on integration of the woka-list with the new admin endpoint.

* Switching from "name" to "id" in texture object + using zod for woka/list validation

* Add position on default woka data

* Remove async on pusher option method

* Fix woka list url

* add options for /register

* Fxiing loading the Woka list

* Actually returning something in logout-callback

* Copying messages to back too

* remove customize button if no body parts are available (#1952)

* remove customize button if no body parts are available

* remove unused position field from PlayerTexturesCollection interface

* removed unused label field

* fix LocalUser test

* little PlayerTextures class refactor

* Fixing linting

* Fixing missing Openapi packages in prod

* Fixing back build

Co-authored-by: Hanusiak Piotr <piotr@ltmp.co>
Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>

* Add returns on pusher endpoints

Co-authored-by: Alexis Faizeau <a.faizeau@workadventu.re>
Co-authored-by: Hanusiak Piotr <piotr@ltmp.co>
Co-authored-by: Piotr Hanusiak <wacneg@gmail.com>
2022-03-11 17:02:58 +01:00
Benedicte Quimbert
b5c8214c22 Documents the meetingRoomLabel property 2022-02-23 18:27:16 +01:00
David Négrier
d0af766394 Adding missing reference to Camera doc 2022-02-14 09:07:37 +01:00
Hanusiak Piotr
9cccdca3dc docs update 2022-02-09 11:09:20 +01:00
Alexis Faizeau
e51300e850 Add cowebsite percentWidth property to the documention 2022-02-07 17:53:36 +01:00
Alexis Faizeau
4436db0d3d Add new cowebsite properties on documention 2022-01-27 16:34:58 +01:00
David Négrier
ef2f8b141f
Merge pull request #1743 from thecodingmachine/move-to-from-hash-parameter
Move to from hash parameter
2022-01-25 14:12:26 +01:00
Hanusiak Piotr
90a76e9f04 fixed layer name in docs 2022-01-25 11:03:58 +01:00
Piotr Hanusiak
1ca56efd42
Update docs/maps/entry-exit.md
Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>
2022-01-25 10:58:59 +01:00
Hanusiak Piotr
40366eb070 readme update 2022-01-25 10:20:21 +01:00
Alexis Faizeau
2312d2e129
Merge pull request #1629 from thecodingmachine/translator
Translator: i18n
2022-01-25 09:48:48 +01:00
Alexis Faizeau
446b4639c7 Implement typesafe-i18n 2022-01-24 18:59:28 +01:00
Hanusiak Piotr
b5887bceb4 PR fixes 2022-01-24 17:03:14 +01:00
David Négrier
ad2dd1c8d5
Merge pull request #1740 from thecodingmachine/feature-move-character-api
Feature move character api
2022-01-22 22:26:33 +01:00
David Négrier
d8327d1b72
Apply suggestions from code review
Fixing missing return attribute in doc
2022-01-22 22:20:41 +01:00
Alexis Faizeau
4eb98fa975 Add an unsubscribe on enterLayer documentation 2022-01-21 17:28:58 +01:00
David Négrier
51c3f1d972 Refactoring translator to use "_" instead of "translator._".
This is shorter and pollutes less the code.
2022-01-21 17:09:29 +01:00
Nolway
31b92da6ce Move translate documentation 2022-01-21 17:09:29 +01:00
Nolway
77f8426788 Add translator documentation 2022-01-21 17:09:29 +01:00
Hanusiak Piotr
72c7eae559 readme changes 2022-01-20 12:54:55 +01:00
Hanusiak Piotr
ef02a06ad7 more details to the readme 2022-01-19 15:32:26 +01:00
Hanusiak Piotr
e70289c61d add WA.player.moveTo command to the readme 2022-01-19 15:28:49 +01:00
Hanusiak Piotr
a344d8c2bc api-camera docs update 2022-01-14 12:38:16 +01:00
David Négrier
82c2d21423
Merge pull request #1654 from thecodingmachine/feature-camera-management
Feature camera management
2022-01-14 11:57:05 +01:00
Hanusiak Piotr
a1c96b0524 merged develop 2022-01-13 10:44:06 +01:00
David Négrier
9425fd70c0 Adding a new property to prevent script from being loaded in "modules" mode
Scripts in module mode need to be abide by the Same Origin Policy (CORS headers are used to load them)
This can cause issues on some setups.

This commit adds a new "scriptDisableModuleSupport" that can be used to disable the "modules" mode.

Closes #1721
2022-01-12 17:36:31 +01:00
Bénédicte Q
5d0aa835a2
Apply suggestions from code review
Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>
2022-01-03 14:21:59 +01:00
Bénédicte Q
7c34e0a435
Update docs/maps/api-camera.md
Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>
2022-01-03 14:19:55 +01:00
Benedicte Quimbert
8157ee4603 Completes documentation 2022-01-03 11:45:47 +01:00
Benedicte Quimbert
99f9d56c5c Updates room documentation for embeddedWebsite properties 2022-01-03 11:45:47 +01:00
Bénédicte Q
73efdab52f Update docs/maps/api-camera.md
Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>
2022-01-03 11:45:47 +01:00
Bénédicte Q
864ff49af5 Update docs/maps/api-camera.md
Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>
2022-01-03 11:45:47 +01:00
Benedicte Quimbert
9cf64c3c76 Documentation on type Position 2022-01-03 11:45:47 +01:00
Benedicte Quimbert
ddb4ae8823 Documentation 2022-01-03 11:45:47 +01:00
Benedicte Quimbert
1e073d8a0e Refactoring and documentation update 2022-01-03 11:45:47 +01:00