David Négrier
3f0ef2d31a
Fixing prettier run command
2021-06-23 16:56:33 +02:00
David Négrier
f6d3783f6c
Removing git add from lint-staged since it is not necessary since v10
2021-06-23 16:50:00 +02:00
David Négrier
3eab074e2a
Setting up lint-staged on front and back
2021-06-23 16:45:38 +02:00
David Négrier
4cac260f81
Adding prettier on back and pusher (not running them right now)
2021-06-23 16:23:16 +02:00
Piotr Dobrowolski
3c099ea783
back,pusher,uploader: cleanup dependencies
...
Move typescript/ts-node-dev to dev dependencies, remove unused
dependencies.
2021-01-07 19:09:53 +01:00
dependabot[bot]
358292840b
Bump axios from 0.20.0 to 0.21.1 in /back
...
Bumps [axios](https://github.com/axios/axios ) from 0.20.0 to 0.21.1.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/v0.21.1/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v0.20.0...v0.21.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-01-06 14:41:45 +00:00
dependabot[bot]
eb56e05e1d
Bump systeminformation from 4.30.5 to 4.31.1 in /back
...
Bumps [systeminformation](https://github.com/sebhildebrandt/systeminformation ) from 4.30.5 to 4.31.1.
- [Release notes](https://github.com/sebhildebrandt/systeminformation/releases )
- [Changelog](https://github.com/sebhildebrandt/systeminformation/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sebhildebrandt/systeminformation/compare/v4.30.5...v4.31.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-01-06 08:19:02 +00:00
David Négrier
2122014947
Merge branch 'develop' of github.com:thecodingmachine/workadventure into scaling
...
# Conflicts:
# front/src/Phaser/Game/GameScene.ts
2020-12-11 13:06:10 +01:00
David Négrier
1a5078f87d
Fixing pusher build + building in CI
2020-12-09 16:33:59 +01:00
dependabot[bot]
0f223cdc63
Bump systeminformation from 4.27.11 to 4.30.5 in /back
...
Bumps [systeminformation](https://github.com/sebhildebrandt/systeminformation ) from 4.27.11 to 4.30.5.
- [Release notes](https://github.com/sebhildebrandt/systeminformation/releases )
- [Changelog](https://github.com/sebhildebrandt/systeminformation/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sebhildebrandt/systeminformation/compare/v4.27.11...v4.30.5 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-11-27 16:29:41 +00:00
David Négrier
4c1e566a6c
Adding a Pusher container as a middleware/dispatcher between front and back
2020-11-26 17:53:30 +01:00
dependabot[bot]
d472f984b5
Bump systeminformation from 4.27.5 to 4.27.11 in /back
...
Bumps [systeminformation](https://github.com/sebhildebrandt/systeminformation ) from 4.27.5 to 4.27.11.
- [Release notes](https://github.com/sebhildebrandt/systeminformation/releases )
- [Changelog](https://github.com/sebhildebrandt/systeminformation/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sebhildebrandt/systeminformation/commits )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-27 20:55:36 +00:00
David Négrier
142e5c3f66
Increasing node memory to 4GB
2020-10-21 15:15:07 +02:00
David Négrier
d3fa901691
Merge branch 'develop' of github.com:thecodingmachine/workadventure into feature/global-message
...
+ migrating to protobuf messages
# Conflicts:
# back/src/App.ts
# back/src/Controller/IoSocketController.ts
# back/yarn.lock
# front/src/Connection.ts
# front/src/Phaser/Game/GameScene.ts
# front/src/Phaser/Login/EnableCameraScene.ts
# front/src/WebRtc/SimplePeer.ts
2020-10-01 14:11:34 +02:00
David Négrier
6a4c0c8678
Migrating to uWS
2020-09-28 18:52:54 +02:00
David Négrier
892d1555b8
Adding "dump" controller and fixing issue with groups in PositionNotifier by delegating the PositionNotifier.updatePosition call to groups themselves
2020-09-25 13:48:02 +02:00
David Négrier
cd083a2090
Merge branch 'develop' of github.com:thecodingmachine/workadventure into protobuf
...
# Conflicts:
# back/package.json
2020-09-24 16:22:16 +02:00
David Négrier
d7209d8864
Migrating messages locally into back and front
2020-09-24 11:16:08 +02:00
Gregoire Parant
4beeb62c6f
Fix CI
2020-09-23 18:28:12 +02:00
Gregoire Parant
bcb126a146
Merge branch 'develop' into feature/global-message
...
# Conflicts:
# back/src/App.ts
2020-09-23 17:26:00 +02:00
Gregoire Parant
844bffa988
Create file controller to upload audio document
2020-09-20 19:01:21 +02:00
David Négrier
32f92d5c45
Switching test loading from Artillery to home-grown test
2020-09-18 17:01:45 +02:00
David Négrier
28dc3a2c84
Removing protobuf packages from back
2020-09-18 16:05:52 +02:00
arp
ed9552b62b
added a register route via token
2020-09-17 18:21:49 +02:00
David Négrier
4b55b54a07
Adding first protobuf message exchange
2020-09-17 17:14:47 +02:00
David Négrier
9dd3d4bac8
Watching protoc in dev mode
2020-09-16 22:27:37 +02:00
David Négrier
2e8fa8d676
Adding protocol buffers to the project with Typescript support
2020-09-16 18:34:24 +02:00
David Négrier
a373626e24
Removing all "any" from back.
...
To do this, I used generic-type-guard package which generates both an interface AND a valid type guard from code.
With this, we are 100% sure that the messages we receive are validated at runtime!
The client cannot pass us an object that is invalid! \o/
2020-06-09 23:07:19 +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
David Négrier
a15d74e6ce
Adding ARP as contributor
2020-06-09 12:13:51 +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
c73fc30802
Adding a Yarn command to profile
2020-06-03 09:18:49 +02:00
David Négrier
66ec11176b
Tracking nb users connected and server load
...
When a user connects or disconnects on the server, we log this (along the current server load).
This is only temporary, in order to assess the number of users a server can safely handle before crashing.
2020-05-28 22:00:56 +02:00
David Négrier
d72741ce0c
Fixing linting
2020-05-01 23:48:30 +02:00
David Négrier
9d2f96b348
Manually fixing a weird lint bug in eslint
2020-04-28 22:40:54 +02:00
gparant
d257b2b944
Multi players on the map
...
- Fix share user position
- Fix initialise map
- Create function to add user on the map with back end data
2020-04-10 12:54:05 +02:00
kharhamel
ded19549c7
added jasmine in the back
2020-04-06 15:48:19 +02:00
gparant
53e1600e67
Add authenticate
...
- Create new controller authenticate with login root..
- Update and manage error message socket io.
- Create enum for environment variables
2020-04-04 17:22:02 +02:00
gparant
ba47d8b1d4
Setup web-socket connection
...
- Add authentification socket.io with jwt token
2020-04-04 14:05:18 +02:00
gparant
63dc515c5b
Add Vagarnt in project RADME and fix feeback @moufmouf
2020-04-04 11:36:18 +02:00
gparant
ba335aa33d
Create backend
...
- NodeJs
- Express
- Socket.io
- Eslint
- TypeScript
2020-04-04 04:08:12 +02:00