Commit Graph
21 Commits
Author SHA1 Message Date
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 598bcd2eb3 chore(server/notes): Removed redundant pSource call 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
Taso b8ef6b1695 Merge pull request #155 from project-error/tweak/remove-esx-code
feat(standalone): Allows for the phone to be free from framework requirements
2021-03-10 21:50:55 -05:00
Christopher 7e9ad952cf fix(resources/notes): resolve fetch on deletion 2021-03-08 20:13:34 +01:00
Christopher c99d0780ae feat(resources): remove all esx code, almost 2021-03-07 18:26:28 +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 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
Christopher 92c7a352de feat(notes/server): use new alert 2021-02-14 13:58:01 +01:00
Christopher d9b26814dd tweak(notes/client|server): change to sending an object to NUI 2021-02-13 13:50:30 +01:00
Christopher a8f025aff3 feat(notes/client|server): sending alert results! 2021-02-08 18:54:13 +01:00
Taso ec1451a9aa Fix: prettier config in resources\ not being standard. 2021-01-13 20:36:03 -05:00
Taso 61fd8ffea6 fix: paths for common typings folder and misc. 2020-12-15 13:18:28 -05:00
erik-sn 956070951a initial working version 2020-11-19 13:41:23 -05:00
chip d9c71203ac fix(notes/fetch): resolve how notes was spamming evnents 2020-11-06 13:37:06 +01:00
chip 9fb4bb97cf tweak(notes/server): imports of interfaces 2020-11-01 19:26:24 +01:00
erik-sn ce951ceecc working updates 2020-11-01 10:12:58 -05:00
chip b0df2fce0a tweak(bank/client:server): commented out update functionality, doing that shit later 2020-10-30 14:26:53 +01:00
chip 0f4a7e773f feat(notes/server): server functionality > adding notes | deleting notes 2020-10-30 00:02:38 +01:00