Taso
0f61088999
refactor(events): Events are now tied to a common enum typings ( #167 )
...
* chore(scripts/twitter): Refactored twitter to use event enums
* chore(scripts/marketplace): Refactored marketplace to use event enums
* chore(scripts/messages): Refactored messages to use event enums
* chore(scripts/contacts): Refactored contacts to use event enums
* chore(scripts/calls): Refactored calls to use event enums
* chore(scripts/notes): Refactored notes to use event enums
* chore(scripts/photos): Refactored photos to use event enums
* chore(scripts/bank): Refactored bank to use event enums
* chore(scripts/phone): Refactored phone to use event enums
* chore(events): Removed old events object
* refactor(phone/nui-events): Attached NUI events to respective enum
* tweak(event-enums): Added npwd prefix to all events
* tweak(phone/serve): Added craco to override CRA without eject
Also bumped react-scripts to 4.0.1, with seemingly no issues
* fix(typings/twitter): Fixed method enums for twitter
2021-03-22 13:37:07 -04:00
Taso
adf9758d9f
tweak(server/calls): Tweaked call handling
...
Added Sanity checks
Switched timestamp creation to server
2021-03-16 16:24:27 -04:00
Taso
f0c5e5101e
chore(typings): Moved common typings to root dir
2021-03-14 15:19:30 -04:00
Christopher
b9fbc067c6
feat(resources/call): check if receiver of call is online
2021-03-11 22:21:53 +01:00
Taso
6dd57beae5
fix(server/players): Fixed getIdentifierFromPhoneNumber
2021-03-10 22:18:27 +00:00
Taso
e20e39728a
tweak(server/player): Debug tools
2021-03-10 16:44:32 -05:00
Taso
6e9c3e6d1a
enhance(server/player): Several enhancements
...
Attach a readonly username property to Player class
Implement setters/getters for Player class to ensure future
compatibility for servers who implement a character switching system
Attach a fetch argument to getIdentifierByPhoneNumber that will force a
DB query if player is not online
2021-03-08 20:18:20 -05:00
Taso
e5fac800ee
refactor(server/player): Added player management system internally
...
This system stores loaded players in maps handled entirely by NPWD.
This should entirely remove the ESX dependency on practically everything.
2021-03-08 18:43:21 -05:00
Christopher
c99d0780ae
feat(resources): remove all esx code, almost
2021-03-07 18:26:28 +01:00
9abac70427
feat/messages additions (in memory of Leonard Nimoy) ( #118 )
...
* feat(resouces/messages): broadcast messagse to participants
* feat(phone/messages): notifications for messages
* remove weird empty onNet
* reformat?
* last reformat! This pr will be squashed
* tweak(phone/messages): send groupName to notification alert
* fix identifer
* fixing notification groupName
* resbasee...i think
* feat(messages): check for unread messages
* send nui event is count > 0
* remove usless test
* import.sql update
* Refactor NotificationsProvider and fix messages notifications
* Send groupId on message broadcast
* Update phone/src/apps/messages/components/modal/Conversation.tsx
* Update phone/src/apps/messages/hooks/useMessageNotifications.ts
* Update phone/src/os/notifications/providers/NotificationsProvider.tsx
* Update phone/src/common/typings/messages.ts
* Update phone/src/apps/messages/hooks/useMessageNotifications.ts
* clean sql file
* Update resources/server/sv_messages.ts
* Fetch message groups when other person created for you
* fix sql
* Select unreadCount from messageGroups
* whatever husky again
* Add members menu and add contact in messages
* Add from group bubbles
* Fix messages scroll with new msg
* Message image menu flicker + justify bottom messages
* Improve debugging
* Add container to Slider
* Improve logger
* Fix create message
* add creator identifier to group hash
* Fix dafuq i broke
* group_id bigger varchar in column
* group_id bigger varchar in column
* Phone visibility default browser
* Add debugging
Co-authored-by: J Francisco Rader <[email protected] >
Co-authored-by: J Francisco Rader <[email protected] >
2021-03-04 18:35:33 -05:00
Christopher
6f4ee009a9
printWidth: 100
2021-03-02 21:03:06 +01:00
Christopher
d27aeb3b0e
120 in printWidth since rocky got md
2021-03-02 20:56:15 +01:00
Christopher
f552c1212c
more formatting
2021-03-02 20:45:41 +01:00
Taso
95866cc51c
tweak(server/logging): Added try catch and logging to calls fetch
2021-03-02 13:42:37 -05:00
RockySouthpaw and Taso
3a572cbc7b
feat(client/anim): Added animation flow for calls ( #104 )
...
Co-authored-by: Taso <[email protected] >
2021-02-18 12:39:30 -05:00
RockySouthpaw
6be68c8e9f
Fix: Call history is now sorted.
...
Call history Is now ordered by ID so recent calls show up first instead of last. Previously it was just at the bottom.
(Courtesy of Chip)
2021-02-16 20:57:09 -05:00
Taso
1aa6a383ab
refactor(server/source-handling): Altered how we handle source
...
These changes are made in case source is not guranteed to remain the same
Due to how JS should operate, this shouldn't be an issue but this just ensures that
2021-02-14 20:17:41 -05:00
Taso and Christopher Gjelten
211576e237
feat(server/debug): Added initial implementation of new Logger ( #84 )
...
- Logs out to a file w/ relevant meta data
- Provides better readability for end user
This should help provide better troubleshooting for both
development and end users.
This also fixes any previous catches that were attempting to print stack traces,
causing the [object Object] message to appear.
Co-authored-by: Christopher Gjelten <[email protected] >
2021-02-14 17:28:13 -05:00
Taso
1ac3d89f59
fix(resources/calls): Fixed save call not saving identifier
2021-02-06 20:02:40 -05:00
Taso
f626d1b0ce
fix(resources/calls): invalid sql syntax
2021-02-06 19:56:48 -05:00
itschip
566b55b374
Prettified Code!
2021-02-02 22:48:54 +00:00
Christopher
e48864c6dc
feat(calling): using unix as call time
2021-02-02 23:47:43 +01:00
Christopher
8ad85d8209
feat(calling/client|server): update Call interface
2021-01-31 21:43:44 +01:00
itschip
856a7ef7ef
Prettified Code!
2021-01-31 01:53:49 +00:00
Christopher
bf79f85336
fix(calling/server): resolve issue where call is not updated when accepted
2021-01-31 02:52:44 +01:00
Christopher
342fd9aaba
feat(calling/client|server): handling timestamps for calls
2021-01-31 02:46:33 +01:00
itschip
ddcb5e5a3d
Prettified Code!
2021-01-29 19:10:36 +00:00
Christopher
283f872e5b
fix(resovled pull issues)
2021-01-29 20:09:19 +01:00
Christopher
9895ea2089
tweak(calling/server|client): more history and calling
2021-01-29 19:56:00 +01:00
Christopher
f960d1414c
feat(calling/client|server): show dail history
2021-01-29 19:54:17 +01:00
itschip
762fb237c3
Prettified Code!
2021-01-27 23:48:05 +00:00
Christopher
0f10eac796
feat(calling): working state
2021-01-28 00:46:56 +01:00
Christopher
d3a2ee7628
feat(calling/client|server): working calling
2021-01-28 00:40:52 +01:00
Christopher
552cba3e76
shit fix
2021-01-26 22:30:51 +01:00
Christopher
7eb4b09f5c
fix(adding correct events
2021-01-26 22:07:28 +01:00
Christopher
1382e66b3d
feat(calling/server): more server-side handling for calling
2021-01-26 21:40:49 +01:00
itschip
e7cafe0855
Prettified Code!
2021-01-23 19:59:33 +00:00
Christopher
03ecd5226b
feat(calling/server): Using source as channel id
2021-01-23 20:58:05 +01:00
itschip
4fe3229bb7
Prettified Code!
2021-01-17 21:36:50 +00:00
Christopher
8d100a5ebd
possible solution for accepting call
2021-01-17 22:35:41 +01:00
Christopher
e5604bd544
feat(calling/server): setting unique channel id
2021-01-17 22:29:55 +01:00
itschip
52a32b443d
Prettified Code!
2021-01-17 21:09:45 +00:00
Christopher
db3bd999f2
feat(calling/client|server): partical functions for calling
...
Should probably reuse data
2021-01-17 22:08:29 +01:00
Christopher
77c7cc303e
feat(calling/client|server): partical functions for calling
...
Should probably reuse data
2021-01-17 22:03:52 +01:00
TasoOneAsia
85ffdc571b
Prettified Code!
2021-01-17 20:10:34 +01:00
Taso
a8deb8b578
feat(call): More progress
2021-01-17 20:10:33 +01:00
Christopher
22c36f0920
inital ts commit
2021-01-17 20:09:35 +01:00
TasoOneAsia
bcdab48bdb
Prettified Code!
2021-01-13 04:13:28 +00:00
Taso
5766da5c66
feat(call): More progress
2021-01-12 23:12:00 -05:00
Christopher
8266b473a5
inital ts commit
2021-01-11 19:10:20 +01:00