Commit Graph
66 Commits
Author SHA1 Message Date
Taso b2e3698936 fix(phone/settings): Fixed incorrect setting ref for localStore 2021-03-04 11:33:25 -05:00
Taso eae06b2dc6 tweak(phone/settings): Added a SettingItemIconAction component
Currently used for phone number
2021-03-04 11:33:25 -05:00
Taso 140a28bef7 tweak(phone/default-settings): Set default twitter noti volume to 50% 2021-03-04 11:33:25 -05:00
Taso 58868f3644 fix(phone/context-menu): Fixed issue where backdrop was fixed height 2021-03-04 11:33:25 -05:00
Taso 924d17c2f6 tweak(phone/context-menu): Lock scroll when context menu is open 2021-03-04 11:33:25 -05:00
Taso 64c4e0ec16 enhance(phone/settings): Added labels to settings and misc cleanup
This change alters the default localStorage schema, please clear your localStorage cache for testing
2021-03-04 11:33:25 -05:00
Taso 41b50d6429 tweak(phone/utils): Moved isImageValid util to common dir 2021-03-03 22:19:59 -05:00
Taso 18c1676c01 tweak(phone/utils): Refactored image validation to promise from cb 2021-03-03 22:19:59 -05:00
Taso e330b89889 tweak(phone/debug): Restricted global mockNuiEvent to dev env
Probably a good idea so we don't forget
2021-03-03 22:04:20 -05:00
Taso b6352ccf82 feat(phone/debug): Added a global window dispatch method
See JSDocs for usage details.
2021-03-03 21:48:45 -05:00
Taso 52992b7d10 chore(client): Removed unused variables 2021-03-02 13:54:32 -05:00
Taso 95866cc51c tweak(server/logging): Added try catch and logging to calls fetch 2021-03-02 13:42:37 -05:00
Taso 187e534e08 chore(dependencies): Cleaned up dependencies/package.json 2021-02-17 14:43:12 -05:00
Taso 17f5fb62d9 fix(client/photos): Fixes #98 2021-02-16 17:52:57 -05:00
Taso 513407249a feat(client/net): Promisfied net events (#95) 2021-02-16 17:31:22 -05:00
Taso 9e648d858b Use callback optimizations 2021-02-14 23:20:39 -05:00
Taso 68360e7619 feat(phone/useSound): Initial useSound implementation 2021-02-14 23:16: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
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
Taso 1f07a469d8 Merge branch 'master' into enhance/debug 2021-02-14 17:15:01 -05:00
Taso 992719980a Merge pull request #83 from project-error/cleanup/game-scripts
Cleanup/game scripts - Misc. cleanup of game scripts
2021-02-11 16:51:28 -05:00
Taso e1f409fed3 fix(scripts/typings): Fixed reference to changed type 2021-02-11 16:40:01 -05:00
Taso 587185535f fix(phone/anim): Added missing phoneClose anim to handler 2021-02-10 17:46:46 -05:00
Taso 8f78423591 Merge branch 'master' into cleanup/game-scripts 2021-02-10 16:31:00 -05:00
Taso 9486fb69b9 chore(phone/nui): update for cerulean fxversion 2021-02-10 16:29:28 -05:00
Taso f0a2d8c77e refactor(phone/visibility): Improved organization of visibility flow 2021-02-10 14:25:00 -05:00
Taso 368a8c57f8 optimize(scripts/anims): Optimized and organized open/close animations 2021-02-09 18:45:48 -05:00
Taso 47e1f2950e fix(scripts/nui-callbacks): Fixed NUI callback stalls 2021-02-09 18:43:54 -05:00
Taso 6b21cfddd0 cleanup(scripts/cl_photo): Cleaned up code 2021-02-09 18:16:04 -05:00
Taso b73919c147 fix(phone/tweet): Fixed possible XSS vector
As we were parsing user input for \n in order to convert to <br> tags, a XSS vulnerability was introduced allowing for users to pass arbitrary script tags to be rendered in tweets.
2021-02-09 11:14:52 -05:00
Taso c0509be2d1 Refactored Contacts to use Routes and not a Modal (#80)
The new route allows for other components to directly route to contacts/:id, where id is the contact id for a users given contacts. It also adds a getContact function accessible by the useConfig hook in case a contact needs to be retrieved using a contact id.
2021-02-09 09:59:54 -05:00
Taso cd9e9e820c chore(readme): updated with dev tools instructions 2021-02-08 23:15:34 -05:00
Taso 9dfff30224 feat(build): One command to build both phone and scripts
To build for both scripts run yarn build in root
2021-02-08 23:04:06 -05:00
Taso f39ed37e73 chore(phone/build): Removed unnecessary files 2021-02-08 23:02:25 -05:00
Taso 7b6d49f661 feat(phone/webpack): Allow for use of react-devtools in game
This is dynamically added to the bundle depending on the environment. In production, react-devtools will not be bundled. Build a development bundle using `yarn build:dev`
2021-02-08 23:00:33 -05:00
Taso 5d3fad36f7 chore(phone/twitter): Allow for use of Twitter in browser 2021-02-08 15:11:47 -05:00
Taso 9dd47a2a43 fix(lol): lol 2021-02-08 13:53:42 -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
Taso 447c51a07e Feat/inject debug - Use new abstraction to clean up debug data (#70)
* feat(phone/debug): Inject debug data for development

* refactor(phone/debug): Refactored mock data to InjectDebugEvents

* fix(phone/debug) removed useless debug injections
2021-02-06 16:00:09 -05:00
Taso 686b86acf9 Merge pull request #68 from project-error/fix/zoom
Fixed issues with using non standard `zoom` css property
2021-02-06 13:38:05 -05:00
Taso 263275b921 tweak(phone/app-grid): Tweaked tooltip styling 2021-02-06 13:32:43 -05:00
Taso 7e9c1d0f35 fix(phone/apps): Fixed locales for apps 2021-02-06 13:18:06 -05:00
Taso fd2aac31a0 chore(resources): Removed unnecessary true in watch script 2021-02-04 00:48:47 -05:00
Taso ea2fcdba00 chore(resources): Removed random lua file 2021-02-04 00:42:53 -05:00
Taso d0de0e4bac Feat: Lerna integration with husky for precommit checks (#57)
* feat: Lerna integration with husky

* Lint-staged integration

* tweak(ci/cd): Removed prettier integration

* Added lint-staged to precommit hook call

* tweak: removed git add from lint-staged

* tweak(gitignore): Removed package.json from ignore
2021-01-18 15:17:41 -05:00
Taso 8a2f281790 enhance(phone): useNuiEvent types and integrated DebugLogger 2021-01-17 15:49:22 -05:00
Taso a8deb8b578 feat(call): More progress 2021-01-17 20:10:33 +01:00
Taso ec1451a9aa Fix: prettier config in resources\ not being standard. 2021-01-13 20:36:03 -05:00
Taso d56112a0cb Feat: Debug logger 2021-01-13 20:31:14 -05:00
Taso 7b9d8826a6 Fix: SettingItem with no onClick 2021-01-13 16:49:30 -05:00
Taso 5766da5c66 feat(call): More progress 2021-01-12 23:12:00 -05:00
Taso a29ba86577 tweak(webpack): Added copy plugin to webpack allowing for easier build
Also changed build script name
2021-01-12 22:09:56 -05:00
Taso a227743bdc Merge branch 'master' into feat/calling-lua-ts 2021-01-12 21:47:24 -05:00
Taso 54daa42454 styling: Enforced styling across all files (#55) 2021-01-12 21:31:03 -05:00
Taso c9b3174505 DB: Removed explicit collation values on tables for compatability reasons 2021-01-12 21:27:37 -05:00
Taso c91d0729fb DB: Removed need for password and added docs 2021-01-12 21:27:00 -05:00
Taso 2b52612f65 bump: esx.js version 2021-01-12 21:26:38 -05:00
Taso fded06adbb locale: European PT (#53) 2021-01-12 12:11:58 -05:00
Taso b7ff4b670b Merge pull request #52 from Oldarorn/patch-1
Update fr.json
2021-01-12 12:09:34 -05:00
Taso 5c23744a13 Merge branch 'master' of https://github.com/project-error/new-phone-who-dis 2021-01-12 12:06:35 -05:00
Taso 73a5bab1c7 Feat: Settings localStorage state 2021-01-12 12:04:46 -05:00
Taso d65806ffa5 Misc: cleanup for rebase of master 2021-01-12 11:30:43 -05:00
Taso 8912650f0e refactor: LocalStorage state integration 2021-01-12 11:28:20 -05:00
Taso 60828c8261 Added Brazilian Translations (#51) 2021-01-10 17:13:47 -05:00
Taso d07b5496b1 chore: removed unused .lua files that caused confusions for locales pr's 2021-01-10 17:00:44 -05:00