Taso
6be602c95b
feat(player/npwd): Update identifier & name
...
Still need to include a public facing phone number update
2021-04-19 14:14:24 -04:00
Taso
a880ae66ea
feat(config): Allow config to be edited without rebuild
2021-04-11 09:38:20 -04:00
J Francisco Rader
d315d72e93
Fix first time login
2021-04-01 11:42:28 -03:00
J Francisco Rader
107dc43624
Improve messages error handling ( #181 )
...
* Improve messages error handling
* Add types to getPlayerFromIdentifier function
* Add phone validation regex to message group form
* Add correct alert types to enum
* Improve locale
* Improve error message for unregistered numbers
2021-03-29 18:55:27 -04:00
Taso
7fd02913da
Revert "tweak(server/player): Added regex replace to getIdentifierByPhoneNumber"
...
Reverted as to ensure current compatibility with messages app, messages
should be altered to deal with this in the future.
This reverts commit 258ea66746 .
2021-03-10 21:27:21 -05: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
258ea66746
tweak(server/player): Added regex replace to getIdentifierByPhoneNumber
...
Added a regex replace to match the old signature for this function. Also
migrated messages to use the new util function rather than a locally
defined query
2021-03-08 20:35:25 -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
de53b12763
feat(resources): set number as keytype for Players map
2021-03-08 22:53:00 +01: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
f552c1212c
more formatting
2021-03-02 20:45:41 +01: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
Christopher
77c7cc303e
feat(calling/client|server): partical functions for calling
...
Should probably reuse data
2021-01-17 22:03:52 +01:00
Taso
ec1451a9aa
Fix: prettier config in resources\ not being standard.
2021-01-13 20:36:03 -05:00
Taso
54daa42454
styling: Enforced styling across all files ( #55 )
2021-01-12 21:31:03 -05:00
Christopher
4a1aa0b53f
🔧 tweak(server/functions): removed useless code after return
2020-12-13 15:04:10 +01:00
Christopher Gjelten
fb0ec3845a
Merge branch 'master' into feature/messages
2020-12-10 19:07:32 +01:00
Christopher
cb54e71865
feat(functions): getIdentifierByPhoneNumber hook
2020-12-01 20:54:54 +01:00
erik-sn
ead995eb69
updated interfaces and events
2020-11-17 19:55:09 -05:00
chip
a157ef0baa
feat(phone/functions): useIdentifier hook
2020-10-30 00:36:23 +01:00
chip
86f5741618
fix(usePhoneNumber): working hook
2020-10-20 01:20:08 +02:00
chip
0d966a0e10
feat(functions:server): New hook for getting phone number from identifier | not done
2020-10-20 00:48:16 +02:00
chip
f9dbcd1394
Feat(Functions:Server): File for adding useful server functions
2020-10-18 21:58:28 +02:00