Commit Graph

679 Commits

Author SHA1 Message Date
David Négrier
c46b70236b
Merge pull request #167 from thecodingmachine/landing-nip
Landing nip
2020-06-09 13:51:20 +02:00
NIP
6adce0808f Fix sharing links 2020-06-09 12:34:44 +02:00
David Négrier
c70da31e23
Merge pull request #163 from thecodingmachine/change_license
Changing license to AGPL + Commons Clause
2020-06-09 12:30:16 +02:00
NIP
cb43f8d069 Remove sharing and change texts 2020-06-09 12:18:17 +02:00
David Négrier
a15d74e6ce
Adding ARP as contributor 2020-06-09 12:13:51 +02:00
David Négrier
d881842c6c
Merge pull request #164 from thecodingmachine/prom-client
Adding Prometheus metrics
2020-06-09 12:06:30 +02:00
David Négrier
af6924a27c Adding Prometheus metrics
This commit adds a '/metrics' endpoint in the API that can be exploited by Prometheus.

This endpoint returns:

- the number of connected sockets
- the number of users per room
- common NodeJS and system metrics

WARNING: this endpoint is public right now and should be protected
2020-06-09 11:49:23 +02:00
David Négrier
91ce318848 Changing license to AGPL + Commons Clause
This is an important change.
So far, the project was labelled as licensed under the "AGPL" (improperly since no version of the AGPL was specified)

This commit changes the license to "AGPL + Commons Clause"

The [common clause](https://commonsclause.com/) is an additional restriction forbidding companies from taking WorkAdventure of the shelf, and reselling WorkAdventure.

This license does not forbid anyone from installing and using WorkAdventure, it only targets resellers (so SAAS exploitation of WorkAdventure is limited to TheCodingMachine).

This effectively makes WorkAdventure non open-source, but the source-code remains available for anyone to see and modify.
2020-06-09 10:17:21 +02:00
David Négrier
bdb01f3103
Merge pull request #161 from thecodingmachine/landing-nip
Add google analytics tag
2020-06-09 09:38:23 +02:00
David Négrier
69cfac290d Improving logs (adding date) 2020-06-09 09:30:12 +02:00
David Négrier
dcc78786a9 Porting favicon to the "front" container 2020-06-09 09:21:24 +02:00
Hugo Averty
281df16704 Adding favicons 2020-06-09 08:16:54 +02:00
Hugo Averty
bdbefe3d8f Work on responsive part and fixes 2020-06-09 07:39:43 +02:00
NIP
3eda0abb9b Add google analytics tag 2020-06-08 18:44:22 +02:00
David Négrier
bd3be2a138
Merge pull request #157 from thecodingmachine/fixing_long_disconnect
Adding connecting spinner and blinking error to webrtc display
2020-06-08 18:09:12 +02:00
David Négrier
ed3aedcb91
Merge pull request #158 from thecodingmachine/multiple_start_positions
Adding the ability to add several entry points
2020-06-08 18:07:16 +02:00
David Négrier
5042f2f82c Lint 2020-06-07 23:00:05 +02:00
David Négrier
c0809e28db Adding support for putting the hash in a map referenced in an exit scene. 2020-06-07 22:57:32 +02:00
David Négrier
db3ef81842 Adding the ability to add several entry points
We can now have several start layers and choose an entry point using a # in the URL
2020-06-07 13:23:32 +02:00
David Négrier
f2c9647882 Adding connecting spinner and blinking error to webrtc display
I put a connecting spinner around the user name when the user is connecting.
Also, if an error occurs, we will see a blinking red circle around the player name.
2020-06-06 22:49:55 +02:00
David Négrier
d630106ff0
Merge pull request #155 from thecodingmachine/fixing_long_disconnect
Fixing disconnection taking ~15 seconds
2020-06-06 22:47:24 +02:00
David Négrier
96c5d92c46 Fixing disconnection taking ~15 seconds
Most of the time, sending a disconnect event to one of the players is enough (the player will close the connection
which will be shut for the other player).
However! In the rare case where the WebRTC connection is not yet established, if we close the connection on one of the player,
the other player will try connecting until a timeout happens (during this time, the circle with the name is displayed for nothing).

So now, we send disconnection event to every body (not only the people in the group, but also to the person leaving the group)
2020-06-05 13:07:18 +02:00
David Négrier
d6031ba5c5
Merge pull request #145 from thecodingmachine/profiling
Adding a Yarn command to profile
2020-06-04 22:18:44 +02:00
David Négrier
45be796c2f
Merge pull request #152 from thecodingmachine/hotfix-metadata-share
Add meta tags for shared url
2020-06-04 22:18:15 +02:00
David Négrier
7223c1804d
Merge pull request #150 from thecodingmachine/strict_mode_front
Enabling Typescript strict mode on the front
2020-06-04 22:17:00 +02:00
David Négrier
b82b13e351 Finalizing strict mode fixes 2020-06-04 18:56:59 +02:00
David Négrier
6f69a62d4d More strict fixes 2020-06-04 18:56:59 +02:00
David Négrier
082a11b0cd Allowing ill defined initializers (because of the way Phaser 3 is designed) 2020-06-04 18:56:59 +02:00
David Négrier
7292bc3cab More strict fixes 2020-06-04 18:56:22 +02:00
David Négrier
111bfcfe8c More strict typecheck fixes 2020-06-04 18:56:22 +02:00
David Négrier
a231024502 Fixing strict type checks 2020-06-04 18:56:22 +02:00
David Négrier
a3ac782f17 Enabling Typescript strict mode on the front
This is very important otherwise, a number of useful checks (like nullable objects not propertly checked) are not performed.

See https://dev.to/briwa/how-strict-is-typescript-s-strict-mode-311a
2020-06-04 18:56:22 +02:00
lotfiidir1
5f1b1e76a6 Add meta tags for shared url 2020-06-04 17:52:55 +02:00
David Négrier
f5fb6fcf80 Fixing start url 2020-06-04 16:03:24 +02:00
David Négrier
619197dc43 Changing call to action wording 2020-06-04 15:56:06 +02:00
David Négrier
b6d8b8fb49
Merge pull request #139 from thecodingmachine/landingpage
first landingpage release
2020-06-04 15:34:57 +02:00
David Négrier
17250d810f Fixing front title 2020-06-04 15:23:54 +02:00
David Négrier
22aed7d1cc Fixing wording 2020-06-04 15:20:32 +02:00
David Négrier
3bd2c2b48a Renaming landing_page directory to website 2020-06-04 14:06:50 +02:00
NIP
9ddcff4fc7 Add new image for interaction
Fix some issues (txt)
2020-06-04 12:08:47 +02:00
NIP
cebc8c7c3a Add info for futur features 2020-06-04 00:52:25 +02:00
NIP
7d233cd3e5 LP new version 2020-06-04 00:38:47 +02:00
David Négrier
82e2c0d985
Merge pull request #149 from thecodingmachine/multiple_start_positions_in_layer
Allowing several start positions in a given start layer
2020-06-03 11:20:57 +02:00
David Négrier
69d2fa6944 Allowing several start positions in a given start layer
If more than one tile was set in the "start" layer, the last tile would be selected.
Now, the tile is selected at random among available tiles.

Also, a message is issued if no tiles have been put on the "start" layer.
2020-06-03 11:14:04 +02:00
David Négrier
b59c6ee17b
Merge pull request #147 from thecodingmachine/fix_gamescene_reuse
Removing GameScene from the list of known GameScene when leaving
2020-06-03 10:55:17 +02:00
David Négrier
9ddf22d36b Removing GameScene from the list of known GameScene when leaving
This is important because when we come back to the GameScene later, some properties of the GameScene object might be initialized with the values of the previous GameScene.
Like the position if the user previously disconnected.

Closes #146
2020-06-03 10:45:25 +02:00
David Négrier
3c1b521761 Fixing typo 2020-06-03 09:22:51 +02:00
David Négrier
c73fc30802 Adding a Yarn command to profile 2020-06-03 09:18:49 +02:00
kevin
46aa4a51f4 Merge branch 'master' of github.com:thecodingmachine/workadventure into landingpage 2020-06-03 01:28:37 +02:00
kevin
f8cb636508 add maps and improve link copy 2020-06-03 01:28:19 +02:00