Commit Graph
53 Commits
Author SHA1 Message Date
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 dbf7e6c3e4 Use new file for compile 2020-10-15 18:11:47 +02:00
chip a28df727f1 Feat(Contacts:client): Sending data to NUI 2020-10-15 18:11:11 +02:00
chip 1e3b8ce6a7 Fix(Main): Event handling 2020-10-15 18:10:20 +02:00
chip 6bd6184602 Feat(Events): Added contacts events 2020-10-15 03:18:25 +02:00
chip 77802b1524 Feat(Contacts): Changed to server side to TS 2020-10-15 03:16:41 +02:00
chip bd37aa5da7 Feat(Main): Sending credentials 2020-10-15 00:03:50 +02:00
erik-sn 1bb7a60e4d remove unused line in import.sql 2020-10-14 11:28:48 -04:00
erik-sn bc873e5a14 Wait -> Delay 2020-10-14 11:09:22 -04:00
erik-sn f672cd9645 fixed up client.ts 2020-10-13 22:39:48 -04:00
erik-sn 409c35ed28 Merge branch 'feature/twitter-lua-to-ts' of github.com:Re-Ignited-Development/new-phone-who-dis into feature/twitter-lua-to-ts 2020-10-13 22:15:04 -04:00
erik-sn f0be5b3f8c working TS implementation of twitter app 2020-10-13 22:13:47 -04:00
chip 557c5a94da cl_main.lua = bye bye 2020-10-13 22:38:22 +02:00
chip eaa7bee976 Tweak(cl_main): Lua > TS 2020-10-13 22:37:47 +02:00
erik-sn 2920267ef3 working client/server intaction 2020-10-12 01:03:16 -04:00
erik-sn c19d0ee3aa initial database integration for twitter 2020-10-11 19:26:21 -04:00
erik-sn 3273d192c9 working typescript compiling and fixing linting issues 2020-10-11 13:59:25 -04:00
chip c6e8baac56 Barebone start on lua > ts 2020-10-11 15:26:04 +02:00
erik-sn 845d4acd3a working client & server 2020-10-07 16:11:00 -04:00
erik-sn bb23413533 initial likes implementation
This adds the initial likes implementation. We take an approach of just
toggling the like in the database rather than adding a loading mechanic
and waiting on the UI.
2020-10-05 21:37:19 -04:00
erik-sn 04ada722f5 updated profile_name to be required on app load 2020-10-04 10:22:18 -04:00
erik-sn 7eedec2229 updated lua files for PR feedback 2020-10-03 23:20:19 -04:00
erik-sn b180c4c655 Merge branch 'master' of github.com:Re-Ignited-Development/new-phone-who-dis into feature/twitter 2020-10-03 16:19:48 -04:00
erik-sn 7d287ccd08 implemented twitter configuration parameters 2020-10-03 15:45:01 -04:00
erik-sn 345f591670 PR review #1 2020-10-03 13:52:51 -04:00
erik-sn 7955fa3017 working search functionality 2020-09-27 11:24:07 -04:00
erik-sn 9fe4cf0188 working profile and editing of profile 2020-09-26 16:29:33 -04:00
erik-sn 5072a31aab working profile creation and deletion, app loader 2020-09-25 19:57:19 -04:00
erik-sn 9e40fb8010 working images in the database 2020-09-25 02:56:54 -04:00
erik-sn 997f550aab auto refresh working 2020-09-24 23:33:28 -04:00
erik-sn ba0f122938 Working database interactions and NUI callbacks 2020-09-24 23:25:35 -04:00
chip fd09a2df14 Feat(Call): useCall hook 2020-09-19 01:19:03 +02:00
RockySouthpaw efbdff0849 (Fix): Removed incorrect notification & prints. 2020-09-15 21:01:26 -04:00
RockySouthpaw 7d867252b0 (Feature): Commented out dupe function and added new modifier. 2020-09-15 20:57:45 -04:00
RockySouthpaw 808315921b (Feature): Added phone as an item 2020-09-09 17:22:56 -04:00
RockySouthpaw b478f16fec (Fix): Made function for toggle phone. 2020-09-09 15:51:37 -04:00
RockySouthpaw dd89131d10 (Continued): Unfinished phone calling 2020-09-09 15:17:18 -04:00
RockySouthpaw 95e8050d16 (Temp): Removed prop from veh 2020-09-09 15:16:49 -04:00
RockySouthpaw ff0c1bca87 (Fix): Fixed vehicle tornado. 2020-09-09 12:35:53 -04:00
RockySouthpaw 76742f3cb4 (Unfinished): Start of phone calling 2020-09-09 11:00:35 -04:00
RockySouthpaw dd548fa745 Feat(Animations): Added animations and hopefully prevented car yeeting.
Added some additional documentation and default mouse pointer but it needs to be scaled to screen resolution eventually so they all start on a certain one.

Car may still flip around depending on how the phone prop is created. but I tried to midigate it the best I could without adding a citizen wait to phone creation.
2020-09-08 01:49:08 -04:00
chip eae8d317bd Feat(Phone): Attaching prop in hand 2020-09-07 22:59:34 +02:00
chip d8ee5af1a0 Feat(Dail): Getting source and identifier from phoneNumber 2020-09-07 18:41:34 +02:00
chip 2335d2e6df Feat(client): Adding contacts | simple stuff 2020-09-07 18:39:00 +02:00
chip 0312d2c4a6 Fix(Client): Fixed what rocky broke 2020-08-31 23:18:13 +02:00
RockySouthpaw c5e750c6b2 Add togglephone via keybind.
Should owrk, but needs testing later. --RegisterKeyMapping('phone', _U('keymap_phone'), 'keyboard', '') is commented out for now as its essentially a keybind to do a command.
2020-08-29 14:57:09 -04:00
RockySouthpaw 519a0d70b1 Added false to phone:close to fix the command toggle 2020-08-29 12:42:08 -04:00
RockySouthpaw c804945e00 Added a toggle comand, removed hide/open
Command phone:open was used to open the phone and phone:hide was used to hide it. (Obviously kek)

Consolodated it into one command. /phone.

Removed the NUI Message from phone:send, but left the `TriggerEvent('phone:sendContacts')`
2020-08-28 23:06:29 -04:00
chip 328ab9b0d0 Feat(Contacts): Add contacts 2020-08-28 15:04:00 +02:00