Commit Graph
29 Commits
Author SHA1 Message Date
J Francisco Rader 74ba95db4b Improve isRead 2021-03-30 02:07:04 -03:00
J Francisco Rader a97d858f99 WIP :D 2021-03-30 02:07:04 -03: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 c99d0780ae feat(resources): remove all esx code, almost 2021-03-07 18:26:28 +01: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
Christopher 80132e48d7 more cleanup 2021-03-02 20:13:13 +01:00
Christopher Gjelten 51f9b20857 Merge branch 'master' into feat/alerts-for-apps 2021-02-28 02:00:34 +01:00
RockySouthpaw d2461bab16 Sort contacts alphabetically (#116)
Does it for contacts app and phone app.
2021-02-23 22:13:36 -05:00
Christopher 283832f17e feat(Alerts): alerts for contacts 2021-02-19 18:26:52 +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
TasoandChristopher 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
itschip c12b0ba126 Prettified Code! 2021-01-17 20:13:46 +01: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
erik-sn 048275212a updated for PR feedback 2020-11-21 14:28:08 -05:00
erik-sn 956070951a initial working version 2020-11-19 13:41:23 -05:00
chip 458d21f4aa cleanup sv_contacts 2020-11-01 22:52:22 +01:00
chip 0aa26851ae feat(contacts/server): update and delete contacts 2020-11-01 22:50:48 +01:00
RockySouthpaw c9d81bfe1b Added missing bracket. 2020-10-18 19:34:13 -04:00
Christopher Gjelten 771ad147d7 Merge branch 'master' into feat/sellout-app 2020-10-18 22:08:56 +02:00
chip 9002646a85 Commented out a trigger evetbn 2020-10-18 21:56:24 +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 67dac1eef0 Cleanup sv_contacts 2020-10-15 18:17:25 +02:00
chip 25623dff1d Feat(Contacts): Fetch contacts 2020-10-15 18:09:34 +02:00