Commit Graph
1280 Commits
Author SHA1 Message Date
Christopher 46484be9bc fix(calls): check if player does not exist --no-verify 2021-05-15 05:08:51 +02:00
Christopher Gjelten 951ed914d5 Merge pull request #212 from project-error/feat/keep-input 2021-05-14 02:29:37 +02:00
Darrian d5aaa67c6c Fix: Removed net event. 2021-05-12 02:38:11 -04:00
dependabot[bot] d18ebc066b chore(deps): bump handlebars from 4.7.6 to 4.7.7 (#224)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.6 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.6...v4.7.7)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-09 11:07:37 -04:00
dependabot[bot] aa8648c408 chore(deps): bump hosted-git-info from 2.8.8 to 2.8.9 (#225)
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-09 11:07:22 -04:00
Christopher aa5eb4be2d fix(resources/calls): emit events for start and accepting calls 2021-05-09 15:18:18 +02:00
Christopher b92cf0d6fa fix(resources/messages): fix coercion comparsion 2021-05-09 15:15:20 +02:00
victorBOY ea69ba4667 Update ptbr.json (#222) 2021-05-07 15:03:28 -04:00
Taso 4c3d018751 chore(husky): enforce commit conventions in precommit script 2021-05-04 23:58:58 -04:00
Taso 1fe8541476 fix(server/players): Handle new player event in controller
For some reason this event actually lacked the new player handle
2021-05-04 23:32:48 -04:00
Christopher fd6afa927c fix(resources/notes): fetch notes after adding 2021-05-04 17:48:24 +02:00
Christopher Gjelten f53117971e Merge pull request #205 from project-error/feat/public-api
feat(player/npwd): Public facing API
2021-05-04 11:17:16 +02:00
dependabot[bot] 4b705da072 chore(deps): bump ssri from 6.0.1 to 6.0.2 (#219)
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases)
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-02 22:17:11 -04:00
dependabot[bot] 532a554b77 chore(deps): bump ssri from 6.0.1 to 6.0.2 in /resources (#218)
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases)
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-02 22:17:02 -04:00
Franco Sanllehi 1ac4b6dd8d tweak(lerna/setup): Slightly tweak setup for lerna monorepo
* Added @octokit/core (peer-dep for lerna)
* Added yarn bootstrap on post-install script to automatically bootstrap lerna repo
2021-05-02 22:15:24 -04:00
Franco Sanllehi ba8f722c35 Update es.json (#220)
* Update es.json

* Update es.json

* Update es.json
2021-05-02 02:44:39 -04:00
J Francisco Rader faf4edfbc6 Tweak / Effect dependencies and Fivem-Nui-lib (#216)
* Fix Nui.send effect dependencies and upgrade lib to fixed version

* Remove log
2021-04-30 22:52:35 +02:00
nullptr 34b177e827 Hungarian translation (#217) 2021-04-30 12:06:16 +02:00
クリストファー 1030ae158c Update README.md 2021-04-26 17:13:56 +02:00
Christopher 4f658181d2 fix(resources/server): fix imports 2021-04-26 17:07:57 +02:00
Darrian 000151e756 Fix: Disable additional controls. 2021-04-22 13:24:23 -04:00
Darrian 80d2d5476a Fix: Additional disable controls for vehicles + chat. 2021-04-22 12:59:49 -04:00
Darrian 95ed68dff6 RFR: Renamed file, adjusted manifest, and refactored code.
Renamed the event so its more clear what it does and added a bool to denote when it's being disabled or not. This was attached to `isPhoneOpen` which wasn't reliablly working.  Its now done within `showPhone` and `hidePhone`.

The wait was changed from `1000` to `100` in the event the phone is opened before the wait is over. Makes it more smooth as there is no longer a small duration where the mouse moves the camera.

Removed the enable of control actions as it wasn't needed.
2021-04-22 12:32:10 -04:00
Christopher 10e28b911e refactor(resources/photo): refactor photos 2021-04-21 14:34:07 +02:00
Christopher 3470700fc1 fix(resources/messages): actaully use the class property 2021-04-21 14:18:45 +02:00
Christopher 8efcf2e5b5 refactor(resources/messages): refactor messages 2021-04-21 14:01:10 +02:00
Christopher ed05ebd6a8 Merge branch 'feat/public-api' of https://github.com/project-error/new-phone-who-dis into feat/public-api 2021-04-20 13:50:33 +02:00
Christopher cd4f7e73a6 feat(resources): refactor marketplace 2021-04-19 14:14:26 -04:00
Christopher 4803753cfa fix(contacts): dont send a object when deleting a contact 2021-04-19 14:14:25 -04:00
Taso 85d4ab3c36 fix(client/twitter): Fixed profile fetch 2021-04-19 14:14:25 -04:00
Taso 3304ae9a83 fix(phone/marketplace): Fix open fetch event 2021-04-19 14:14:25 -04:00
Taso 53fbf07984 tweak(server): Add some service instantiation logs 2021-04-19 14:14:25 -04:00
Taso 9724014a9a fix(server): Actually reference PlayerService method 2021-04-19 14:14:25 -04:00
Taso 8988ea9b26 fix(server): Actually import the correct controllers 2021-04-19 14:14:25 -04:00
Taso a0c80a0e9a fix(server/notes): Temporarily use old resp format 2021-04-19 14:14:25 -04:00
Taso 048753f6d2 fix(server/contacts): Use old response structure for time being 2021-04-19 14:14:25 -04:00
Taso 4687635988 fix(client/calls): Fix call history not fetching properly 2021-04-19 14:14:25 -04:00
Taso 93fd955ae9 fix(server): Fix server's referencing old player system 2021-04-19 14:14:25 -04:00
Taso 25a629a59b feat(net-events): Initial opinionated promise wrapper around net events
Lets see how I & the rest of the team feel about this specific standard and we can tweak it from there.
2021-04-19 14:14:25 -04:00
Taso f8f722c8d2 refactor(server/contacts): Implement singleton architecture 2021-04-19 14:14:25 -04:00
Taso 16471ed1df feat(server/types): Play around with a standardized resp type 2021-04-19 14:14:25 -04:00
Taso feb9e8a5d3 refactor(server/notes): Implement singleton architecture
Also trying something out with the response structure on the server to cut down on redundant calls.
2021-04-19 14:14:25 -04:00
Taso 0f8923058f tweak(server/calls): Tweaked structure and added enum constants 2021-04-19 14:14:24 -04:00
Taso 06a67f14cd tweak(server/player): Tweaked structure slightly 2021-04-19 14:14:24 -04:00
Taso cb9c490cb5 refactor(server/calls): Calls singleton architecture 2021-04-19 14:14:24 -04:00
Taso 33a02bb203 refactor(server/player): Player singleton architecture 2021-04-19 14:14:24 -04:00
Taso 19e4ba0543 WIP 2021-04-19 14:14:24 -04:00
Taso 85eb58948d tweak(player): Altered PLAYER_IS_READY event to emit a bool
This will set the client var to true when NPWD loads a player and false when NPWD unloads a player.
2021-04-19 14:14:24 -04:00
Taso 558f2388fc refactor(server/players): Take a different approach to multichar
This changes how multicharacter support is implemented entirely.

Instead there are now events for creating a new player & unloading a player. These should be called whenever a character is switched. Documentation will be added for `npwd:newPlayer` & `npwd:unloadPlayer`
2021-04-19 14:14:24 -04:00
Taso 222070eeea fix(server/players): Aliased global.exports 2021-04-19 14:14:24 -04:00