Commit Graph
337 Commits
Author SHA1 Message Date
J Francisco Rader f6d7a3dbe1 Feature/floating notifications calling and twitter (#112)
* Add floating notifications :O

* Add phone notifications and refactor calling ui

* This is unsafe

* Fix controls null check

* Remove go to alert

* Fix phone stuck after call

* Remove lazy mount for Phone

* Fix open/close cl_main

* Use effect for notification visibility

* Remove all alerts when phone closes

* Avoid re-render useNuiEvent

* It works now :c
2021-02-23 13:19:10 -05:00
Christopher e18c39169e del(client): remove ESX on client runtime 2021-02-21 21:30:55 +01:00
Christopher 9ebc433ac9 fix(resources/core): possible fix for generating numbers
A weird 'bug' that caused phone numbers not being generated. Hopefully changing this to the event 'playerConnecting' will fix this
2021-02-18 21:32:25 +01:00
RockySouthpawandTaso 3a572cbc7b feat(client/anim): Added animation flow for calls (#104)
Co-authored-by: Taso <[email protected]>
2021-02-18 12:39:30 -05:00
Christopher Gjelten d6d2bed335 Merge pull request #101 from project-error/feature/autocomplete-contacts
Feature / Autocomplete contacts in messages + improve messages ui a bit
2021-02-17 22:02:04 +01:00
J Francisco Rader 88f1ecbd6b Fix(server/sql): resolved issue with explicit collations (#99) 2021-02-17 14:46:30 -05:00
Taso 187e534e08 chore(dependencies): Cleaned up dependencies/package.json 2021-02-17 14:43:12 -05:00
Christopher db5ef05687 tweak(resources/main): fetch contacts on initalize 2021-02-17 18:36:48 +01:00
Christopher Gjelten 13cd6b6f97 Merge pull request #100 from project-error/RockySouthpaw-patch-1
Fix: Call history is now sorted.
2021-02-17 16:50:09 +01:00
Christopher 1e88ca4242 not reverted, but reverted 2021-02-17 16:46:58 +01:00
RockySouthpaw 6be68c8e9f Fix: Call history is now sorted.
Call history Is now ordered by ID so recent calls show up first instead of last. Previously it was just at the bottom.

(Courtesy of Chip)
2021-02-16 20:57:09 -05:00
Christopher b5a4c518d5 Merge branch 'master' of https://github.com/project-error/new-phone-who-dis 2021-02-17 00:09:24 +01:00
Christopher 7432e85a9a fix(resources/client/photos): fix toggle 2021-02-17 00:05:59 +01:00
Taso 17f5fb62d9 fix(client/photos): Fixes #98 2021-02-16 17:52:57 -05:00
Christopher Gjelten cd5131ef57 Merge branch 'master' into feature/message-from-contacts 2021-02-16 23:46:43 +01:00
Christopher Gjelten 2f2a92a673 Merge pull request #93 from project-error/enhance/source-changes
refactor(server/source-handling): Altered how we handle source
2021-02-16 23:44:40 +01:00
Christopher 15d7d3dcea fix(phone/messages): change how we get source | remove useEffect for parts 2021-02-16 23:33:23 +01:00
Taso 513407249a feat(client/net): Promisfied net events (#95) 2021-02-16 17:31:22 -05:00
J Francisco Rader de952dc555 Remove shit 2021-02-16 17:10:46 -05:00
J Francisco Rader b93d5faee1 Redirect when new msg group is created, and use contacts to push a new message from there 2021-02-16 17:10:45 -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
Christopher e51bcca7f8 fix(phone/contacts): fixed incorrect Nui.send property | history.goBack 2021-02-15 00:23:23 +01: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
Darrian Gaylor 001f1425df Fix phone not opening with keybind 2021-02-14 14:17:07 -05:00
Christopher Gjelten f879085b46 Merge branch 'master' into feat/snackbar-provider 2021-02-14 14:10:42 +01: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
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 f0a2d8c77e refactor(phone/visibility): Improved organization of visibility flow 2021-02-10 14:25:00 -05:00
J Francisco RaderandTaso 81f5e27064 Remove client phoneConfig event (#73)
* Remove client phoneConfig event

* Remove unused debug

* Remove unused import

* Remove unused import

* Remove duplicated functions | fix useEffect dependency | etc

* Fix warnings

* Update phone/src/apps/twitter/components/TwitterApp.tsx

Co-authored-by: Taso <[email protected]>

Co-authored-by: Taso <[email protected]>
2021-02-10 12:04:28 -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
Christopher Gjelten be754a3dc6 Merge pull request #79 from project-error/fix/notes-handling
Fix/notes handling
2021-02-08 22:34:22 +01:00
Christopher 491df669c4 feat(sql): add gallery format 2021-02-08 19:41:26 +01:00
Christopher a8f025aff3 feat(notes/client|server): sending alert results! 2021-02-08 18:54:13 +01:00
Christopher 1e771e87af feat(photo/client|sever): fetch photo on upload 2021-02-07 04:14:00 +01:00
Christopher 6fc469c4a3 feat(events): photo uploaded successful 2021-02-07 04:13:00 +01: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 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
Christopher Gjelten 63aea89e2b Merge pull request #61 from project-error/feat/calling-lua-ts
Feat/calling lua ts
2021-02-03 00:00:06 +01:00
Christopher 157407740e Merge branch 'feat/calling-lua-ts' of https://github.com/project-error/new-phone-who-dis into feat/calling-lua-ts 2021-02-02 23:51:34 +01:00
Christopher 3cbdf531db feat(updated import.sql) 2021-02-02 23:51:13 +01:00
itschip 566b55b374 Prettified Code! 2021-02-02 22:48:54 +00:00
Christopher e48864c6dc feat(calling): using unix as call time 2021-02-02 23:47:43 +01:00