Taso
d036243d64
refactor(contacts): Refactor contacts to efficient data fetching
2021-06-08 14:58:05 -04:00
Taso
54d456cc8a
fix(resources): Silence the TS compiler
2021-06-08 12:48:48 -04:00
Taso
42b2970428
tweak(resources/server): Finally remove @ts-ignore as my PR was merged
2021-06-08 12:38:34 -04:00
Taso
f1012958e2
chore(resources): General Linting
2021-06-08 12:36:10 -04:00
Taso
dcb7556edc
tweak(resources/promise-events): Tweak promise event resp and req types
2021-06-08 12:06:52 -04:00
Christopher
478c5ffc63
fix(calls): handle invalid numbers
2021-06-05 19:19:30 +02:00
Christopher
44a0d941b9
fix(resources/calls): fix typo
2021-06-05 17:58:41 +02:00
Christopher
3446de488e
fix(resources/twitter): constructor log
2021-06-05 17:58:10 +02:00
Christopher
0e9f8bc574
feat(resources/twitter): refactor twitter
...
Currently just commented out the sv_twitter file. Test that it works, before removing the old file.
2021-06-05 00:46:35 +02:00
Christopher
871b9e0f1d
Merge branch 'master' of https://github.com/project-error/new-phone-who-dis
2021-06-04 23:12:27 +02:00
Taso
b257f5bc73
tweak(server/onNetPromise): Tweak to be less opinionated and simpler
2021-06-04 11:55:14 -04:00
Avarian Knight
d95062d771
fix(modal): fix infinite rerender
...
- fix useEffect for twitter
- removes handling escape in modal
- don't limit contacts loading
- catch error on unloading
2021-05-23 23:03:56 -05:00
Christopher Gjelten
e05f543cb0
Fix: Player ready stuff ( #241 )
2021-05-23 15:34:17 +02:00
Christopher
fb32aaef15
fix(phone): only listen to UI Ready
2021-05-21 00:35:05 +02:00
Dillon Skaggs
2411c39b95
Fix double call history & adding contact from history ( #231 )
2021-05-20 23:54:01 +02:00
Christopher
054f89c03d
fix(phone): fixed?
2021-05-20 18:29:01 +02:00
Christopher
2f0f83a17e
fix(resources): load config when player spawns
...
this is a solution for standalone
2021-05-20 16:42:34 +02:00
Christopher
346d194e97
fix(resources): use database config for sql queries
2021-05-16 02:39:19 +02:00
Christopher
f89ffc3060
fix(init): remove player/ui ready events
2021-05-16 02:20:17 +02:00
Christopher Gjelten
0134b9052c
Merge branch 'master' into cleanup/config
2021-05-16 01:57:30 +02:00
Christopher
46484be9bc
fix(calls): check if player does not exist --no-verify
2021-05-15 05:08:51 +02: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
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
4f658181d2
fix(resources/server): fix imports
2021-04-26 17:07:57 +02: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
0df1c123b0
feat(resources): refactor marketplace
2021-04-19 19:13:56 +02:00
Taso
0de2495bfa
tweak(server): Add some service instantiation logs
2021-04-18 15:38:51 -04:00
Taso
ad7adcdeb6
fix(server): Actually reference PlayerService method
2021-04-18 15:38:51 -04:00
Taso
af9ff9c92f
fix(server): Actually import the correct controllers
2021-04-18 15:38:51 -04:00
Taso
8af7530f18
fix(server/notes): Temporarily use old resp format
2021-04-18 15:38:51 -04:00
Taso
635dc907ce
fix(server/contacts): Use old response structure for time being
2021-04-18 15:38:51 -04:00
Taso
2dafbcc13f
fix(server): Fix server's referencing old player system
2021-04-18 15:38:51 -04:00
Taso
51b5620866
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-18 15:38:51 -04:00
Taso
c94c69c646
refactor(server/contacts): Implement singleton architecture
2021-04-18 15:38:51 -04:00
Taso
0bb20fff31
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-18 15:38:51 -04:00
Taso
d93bdd20d8
tweak(server/calls): Tweaked structure and added enum constants
2021-04-18 15:38:51 -04:00
Taso
b051ae9fac
tweak(server/player): Tweaked structure slightly
2021-04-18 15:38:51 -04:00
Taso
bf95ccb06b
refactor(server/calls): Calls singleton architecture
2021-04-18 15:38:51 -04:00
Taso
bb7d938b07
refactor(server/player): Player singleton architecture
2021-04-18 15:38:51 -04:00
Taso
e01fa0ab0a
WIP
2021-04-18 15:38:50 -04:00
Taso
949ea4ba4b
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-18 15:38:50 -04:00
Taso
268bd4f4a4
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-18 15:38:50 -04:00
Taso
2ec049ca12
fix(server/players): Aliased global.exports
2021-04-18 15:38:50 -04:00
Taso
db03394487
feat(player/npwd): Update identifier & name
...
Still need to include a public facing phone number update
2021-04-18 15:38:50 -04:00
Taso
dd3eac4a0e
tweak(config): Config var & send as event method
...
config -> ResourceConfig for readability and the resource config in NUI is now being referenced consistently from state so it can be referenced at runtime and not compile time.
Also removes the need to copy the config before using `cp`
2021-04-13 22:07:22 -04:00
Taso
8ce6ec7559
fix(config): Fixed typos in resource config
2021-04-13 22:06:43 -04:00
Taso
390319deda
fix(types): Fixed incorrectly referenced type
2021-04-11 10:32:31 -04:00