Commit Graph
21 Commits
Author SHA1 Message Date
Taso c94c69c646 refactor(server/contacts): Implement singleton architecture 2021-04-18 15:38:51 -04:00
Christopher 2e4d752cd3 update conatct enums 2021-03-25 11:42:44 +01:00
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
Christopher 458839488e tweak(resources): use 'custom appMessageEvent' 2021-03-15 10:53:02 +01:00
Christopher f552c1212c more formatting 2021-03-02 20:45:41 +01:00
Christopher 046447b0fb mad formatting 2021-03-02 20:41:25 +01:00
Christopher 283832f17e feat(Alerts): alerts for contacts 2021-02-19 18:26:52 +01:00
Christopher e51bcca7f8 fix(phone/contacts): fixed incorrect Nui.send property | history.goBack 2021-02-15 00:23:23 +01:00
Taso 47e1f2950e fix(scripts/nui-callbacks): Fixed NUI callback stalls 2021-02-09 18:43:54 -05:00
Christopher 59ad36c7fd fix(contacts/client|server): fixed source for updating contacts 2021-01-17 20:12:15 +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 4d6bc53eea feat(contacts/server|client): events for alerts 2020-12-11 22:02:37 +01:00
chip b1835bbd75 feat(contacts/client): update and delete contacts 2020-11-01 22:50:33 +01:00
chip d70558c7e1 not sure what this is 2020-10-20 00:50:16 +02:00
Christopher Gjelten 771ad147d7 Merge branch 'master' into feat/sellout-app 2020-10-18 22:08:56 +02:00
chip 72c20f1742 Tweak(Contacts:Client): Lowerd wait for triggering event for fetching contacts 2020-10-18 21:53:38 +02:00
erik-sn a5d1e54b56 Mysql connection strings, unit tests, prettier on server
This adds support for the other type of Mysql connection string
specified by mysql async. Support for both strings and their respective
options are necessary to support backwards compatibility of existing
server configurations.

This also adds support for jest & unit testing on the server/client and
some unit tests for some of the connection string parsing.

It runs these test and prettier in a pre-commit hook.
2020-10-17 18:14:08 -04:00
chip 68c0ce4037 Fix(Contacts): Fixed real-time showing new contacts 2020-10-17 00:16:13 +02:00
chip a28df727f1 Feat(Contacts:client): Sending data to NUI 2020-10-15 18:11:11 +02:00
chip 77802b1524 Feat(Contacts): Changed to server side to TS 2020-10-15 03:16:41 +02:00