Commit Graph
79 Commits
Author SHA1 Message Date
Taso 18c1676c01 tweak(phone/utils): Refactored image validation to promise from cb 2021-03-03 22:19:59 -05: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 046447b0fb mad formatting 2021-03-02 20:41:25 +01:00
J Francisco Rader 4eda44b9c2 Add calling and notification sounds (#119)
* Add calling and notification sounds

* Fix notification visibility on any resolution

* Add comments

* Log howler error src

* Revert removed files im stupid

* Make sliders on settings use changeCommitted instead of onChange

* Fix ringtone paths

* Break alert words overflow

* Fix tweet overflow pepega

* Remove unused hook

* Update volume sliders in real time

* Fix resolution notifications

* Fix initial value for vol sliders

* Fix call duration timer bugs

* Add alert when phone active and phone closes

* keep notification

* Stop ringing when accept
2021-03-01 17:22:58 -05:00
Christopher Gjelten 51f9b20857 Merge branch 'master' into feat/alerts-for-apps 2021-02-28 02:00:34 +01:00
J Francisco RaderandChristopher 41674968ab Notification alert stays on if it is an incoming call and phone is closed (#115)
* Phone now shows all the time slide a bit if incoming call exists | can close alerts!

* Improve animation

* Improve call controls

* Make alerts not overflow | Call modal is navigable out :)

* Open modal when accepting call

* Cant navigate back from homepage

* Avoid call route if no call active + rename things

* Impprove main apps icons sizes

* hover effect to app icons :)

* Revert interface change

* fix(phone/dialer): resolve not calling when adding contacts

Co-authored-by: Christopher <[email protected]>
2021-02-26 21:45:01 -05:00
Christopher a9ba633241 tweak(phone): remove bank & twitter notification components 2021-02-26 12:00:46 +01:00
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 767402a6b2 feat(alerts): useSnackbar for twitter 2021-02-21 17:29:06 +01:00
J Francisco Rader 40ec19a349 Feature / Add working notifications with only twitter for now (#102)
* Add working notifications with only twitter for now

* feat(notification-bar): I didnt copy from NP

* Make default browser visibility true

* feat(notifications): Collapse when no more notifications after closing one
2021-02-18 19:21:07 -05:00
Christopher a651eb9242 fix(phone/twitter): resolve isValidMessage issue
This only returned false. This commit is a temporary fix, as we need to check if there is any whitepace no matter if there is text or not
2021-02-17 16:45:10 +01: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 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
ErikandTaso ddb93b4de8 Fix twitter focusing bug (#74)
* fixes focusing bug and does some render optimizations

* fix(phone/twitter): Fixed conditional hook calls

Co-authored-by: Taso <[email protected]>
2021-02-08 15:24:42 -05:00
Erik d793d1b635 fix(phone/twitter): Fix twitter for light theme (#64)
* fix twitter for light theme

* fixed styling on makeStyles
2021-02-08 15:13:34 -05:00
Taso 5d3fad36f7 chore(phone/twitter): Allow for use of Twitter in browser 2021-02-08 15:11:47 -05:00
Christopher Gjelten ecd826dcd3 Merge pull request #65 from project-error/bug/twitter-char-limit
Bug/twitter char limit
2021-02-06 22:47:28 +01:00
J Francisco Rader 40f9555b39 Make Camera app use router (#69)
* Make Camera app use router

* Remove unused hooks

* Fucking communicate messages with camera with router

* Improved sharing in messages flow

* Fix clipboard

* Removeunused imports

* improve routing helpers

* Fix bug :D

* Fix stupid thing

* Add docs to useQueryParams hook
2021-02-06 22:24:50 +01: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
Kire 37504feec7 handle case where user spams new lines 2021-02-04 23:10:22 -05:00
Kire 1fca1ac200 twitter char limit to 160 and added scroll 2021-02-04 22:29:47 -05:00
J Francisco Rader 2b96d93565 Merge master 2021-01-23 18:44:00 -05:00
Taso 54daa42454 styling: Enforced styling across all files (#55) 2021-01-12 21:31:03 -05:00
Christopher aaf851c5ee fix(twitter/nui): fixed warnings 2021-01-07 21:42:37 +01:00
erik-sn 9403edcb92 working error handling 2020-11-21 00:08:34 -05:00
erik-sn ea77114da6 working reporting system 2020-10-29 19:13:07 -04:00
erik-sn 54294c8a75 Merge branch 'master' of github.com:Re-Ignited-Development/new-phone-who-dis into feature/twitter-delete 2020-10-24 23:44:33 -04:00
erik-sn c0dbf1a765 working tweet deletion 2020-10-24 11:05:57 -04:00
erik-sn dbc21321d1 remove console.log 2020-10-23 18:40:00 -04:00
erik-sn e89107a8a1 optimize tweet list to not re-render unless tweets change 2020-10-23 18:28:09 -04:00
erik-sn 3a1bd75f97 formatting 2020-10-18 13:38:01 -04:00
erik-sn e48263838f added testing for TwitterNotification 2020-10-18 13:31:01 -04:00
erik-sn 7e37678c78 added setting in configuration on whether or not to show config 2020-10-17 22:13:01 -04:00
erik-sn b2466f0e15 working notification 2020-10-17 21:40:53 -04:00
erik-sn f0be5b3f8c working TS implementation of twitter app 2020-10-13 22:13:47 -04:00
erik-sn 3273d192c9 working typescript compiling and fixing linting issues 2020-10-11 13:59:25 -04:00
erik-sn cff746aa38 working typescript version 2020-10-07 12:19:55 -04:00
erik-sn 581d6011e0 always fetch tweets on main page load 2020-10-05 22:02:38 -04:00
erik-sn c2e1f17f3b add minimum load time to the UI on toggling a like 2020-10-05 21:56:03 -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 e8ea4a8951 modify sql queries so we dont select all of the profile fields 2020-10-04 10:30:59 -04:00
erik-sn 04ada722f5 updated profile_name to be required on app load 2020-10-04 10:22:18 -04:00
erik-sn 44622b8d8a add configuration if we should generate profile_name from users 2020-10-04 09:57:25 -04:00
erik-sn 1e8758fb01 fixed server bug where profile doesnt exist, updated egg image 2020-10-03 16:36:04 -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 e9e5836744 tests 2020-10-03 13:25:23 -04:00
erik-sn 23e4da2007 moved navigation to use react router dom 2020-10-03 11:07:21 -04:00