victorBOY
ea69ba4667
Update ptbr.json ( #222 )
2021-05-07 15:03:28 -04:00
Christopher Gjelten
f53117971e
Merge pull request #205 from project-error/feat/public-api
...
feat(player/npwd): Public facing API
2021-05-04 11:17:16 +02:00
dependabot[bot]
4b705da072
chore(deps): bump ssri from 6.0.1 to 6.0.2 ( #219 )
...
Bumps [ssri](https://github.com/npm/ssri ) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases )
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md )
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2 )
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-02 22:17:11 -04:00
Franco Sanllehi
ba8f722c35
Update es.json ( #220 )
...
* Update es.json
* Update es.json
* Update es.json
2021-05-02 02:44:39 -04:00
J Francisco Rader
faf4edfbc6
Tweak / Effect dependencies and Fivem-Nui-lib ( #216 )
...
* Fix Nui.send effect dependencies and upgrade lib to fixed version
* Remove log
2021-04-30 22:52:35 +02:00
nullptr
34b177e827
Hungarian translation ( #217 )
2021-04-30 12:06:16 +02:00
Christopher
4803753cfa
fix(contacts): dont send a object when deleting a contact
2021-04-19 14:14:25 -04:00
Taso
feb9e8a5d3
refactor(server/notes): Implement singleton architecture
...
Also trying something out with the response structure on the server to cut down on redundant calls.
2021-04-19 14:14:25 -04:00
Taso
3e01fc456c
tweak(phone): Split Phone component into wrapper
2021-04-19 13:28:10 -04:00
Taso
4b7a6280fd
fix(phone/notes): Fixed slide transition with notes modal
2021-04-19 13:15:55 -04:00
Taso
ec4ebdc54d
tweak(phone): Rename PhoneContainer
2021-04-19 13:15:33 -04:00
Christopher
8861f4e503
fix(phone): remove Nui deps from useEffect
2021-04-18 21:37:47 +02:00
Christopher
6a46711a51
feat(phone/marketplace): choose images from camera
2021-04-16 15:34:45 +02:00
Taso
b14562eb9d
tweak(phone): Remove FontAwesome dependency
...
All icons were switched to @material-ui/icons
2021-04-13 22:49:05 -04:00
Taso
71bb73b54e
fix(phone/watch): Fixed in-game watch and prevent debug inject
...
If using the `watch` script in game, the debug injections will not occur.
2021-04-13 22:04:23 -04:00
J Francisco Rader and Taso
8dc59c47bd
fix(phone): Fix subsequent rerenders & added WDYR ( #209 )
...
Fixed an issue with infinite rerendering on app routes by making it a Pure component.
Adds `why-did-you-render` for development use.
Co-authored-by: Taso <[email protected] >
2021-04-13 21:33:18 -04:00
Taso
4fceb3750b
tweak(phone/deps): Remove @types/jest as we use enzyme
2021-04-13 21:24:25 -04:00
Taso
771483b7b5
fix(phone/watch): Implement watch using craco and writing to disk
2021-04-13 21:24:25 -04:00
Taso
1ef01f291b
fix(phone/tests): Fixed enzyme test for React 17
2021-04-13 21:24:25 -04:00
Taso
6154dfc7a3
tweak(phone): Bumped deps & tweaked craco
...
This updates our craco config to match our current custom webpack build rather than having to eject. This also bumps several of our dependencies that were outdated for React 17.
2021-04-13 21:24:25 -04:00
Taso
ecd7689742
fix(phone/icons): Fixed messages icon having text in d attr
2021-04-13 20:21:24 -04:00
Taso
2b4752dc89
fix(phone/number): Fix incorrect method ref on setNumber in dev
2021-04-13 19:49:01 -04:00
Taso
bd5f3016d0
tweak(phone/settings): Remove button effect on switches
2021-04-13 19:48:44 -04:00
Taso
b5fca6b35b
cleanup: Recoil State Type Safety + Misc Cleanup ( #189 )
...
* chore(phone/settings): Removed unused state
* cleanup(phone/photos): Added type safety to photo state
* tweak(phone/marketplace): Added type safety to marketplace state
* chore(phone/match): Removed unnecessary console.log
* tweak(phone/messages): Added type safety to messages state
Also fixed ESLint warning for exported anonymous hook in useMessages.ts
* tweak(phone/match): Added type safety to match state
* tweak(phone/dialer): Cleanup & type safety for state
Renamed some types to better represent their data
* cleanup(phone/gen): Added NUI event enums for phone events
* tweak(phone/contacts): Type safety for contacts state & variable rename
Renamed and type variable in setFilteredContacts to better represent its use
* tweak(phone/gen-state): Added type-safety to gen phone global state
* tweak(phone/settings): Type safety for settings state
* tweak(phone/photos): Tweaked type for photo referral
* fix(phone/notification-comp): Fix reference to old theme config
* chore(phone/hooks): Remove keyboard service
Removed as this was unused and ESLint was not happy with it
* chore(phone): Cleaned up eslint warnings
No more warnings hooray!
* tweak(phone): Set time in dev mode
* fix(phone): Remove useNuiService that appeared somehow
* fix(phone/gallery): Fixed missing import for gallery
* Revert removing the keyboard service as this is built upon in another PR
This reverts commit 82d12255a84e918da087d988b599af98ce1fe54d.
* fix(phone/keyboard): Add useKeyboardService hook back to Phone.tsx
* fix(phone/gallery): Fix and standardized GalleryPhoto type
2021-04-11 10:01:38 -04:00
Taso
1f20b980da
fix(phone/gallery): Fix forgotten handle function
2021-04-11 09:45:17 -04:00
J Francisco Rader
b97cc4102d
Feature / Add loading state to camera app ( #200 )
...
* (feat/camera-loading): Add loading state to camera app
* Fix imports + Add timeout
* Use actual function :D
2021-04-10 16:19:25 -03:00
dayiskuan
e1e6e8440d
Adding new icons ( #204 )
...
* Adding new icons
2021-04-10 14:49:15 -03:00
Oldarorn
404d526863
Adding french missing translations ( #203 )
...
french baguette ♫
2021-04-09 16:06:24 +02:00
J Francisco Rader
e70c540ce8
Fix fetch on initialize (fixing notifications too) ( #202 )
...
* Fix fetch on initialize (fixing notifications too)
* Add multiline support to messages input field
2021-04-08 10:53:12 -03:00
Christopher
62038aa5fe
tweak(phone/wallpaper): current wallpaper value as initial input value
2021-04-08 11:00:52 +02:00
J Francisco Rader
8e79eb1345
Make use of library instead of having code duplicated ( #201 )
...
* Use fivem-nui-react-lib
2021-04-07 19:07:10 -03:00
Christopher Gjelten
0cf5bc2bc7
tweak(phone/settings): simplify custom background ( #185 )
...
Adds the custom background option into wallpaper SettingItem, with an nice DialogForm.
2021-04-07 23:29:18 +02:00
Taso
8ca8b1b5fe
tweak(phone/call-modal): Tweaked appearance of call modal ( #178 )
...
Correct actions will now display if calling another player.
Also added ringing flavor text when the person calling is the transmitter.
2021-04-03 18:02:47 -04:00
Christopher
4bf3248168
tweak(phone/dialer): remove type number from dialer input
...
this is temporary
2021-04-03 22:32:09 +02:00
J Francisco Rader
cb1aa80f83
bugfix(messages-app): Remove paste from clipboard feature ( #195 )
2021-04-02 18:04:44 -03:00
J Francisco Rader
9896f2384e
Add kiddo theme :D
2021-04-01 16:07:32 -03:00
Taso
289207beb9
tweak(phone/twitter): Refactored nui events to use enums for method"
2021-04-01 12:37:56 -04:00
Taso
8bfdc1b8b2
fix(phone/types): Replaced debug inject methods with new enums"
2021-04-01 12:28:14 -04:00
Christopher
2992a644fe
tweak(phone/apps): hiding bank app while bank resource gets done
2021-04-01 14:31:38 +02:00
victorBOY
2b633c9e80
Update pt-BR translation ( #188 )
...
* Update pt-BR translation
* Update ptbr.json
* Fix missing translations
2021-03-31 22:58:40 +02:00
Christopher
dab4c1eaf7
fix(phone/dialer): missing translation
2021-03-31 20:47:39 +02:00
Christopher
3157cafd5a
fix(phone/settings): fix settingsSchema properties for custom wallpaper
2021-03-30 22:30:05 +02:00
Christopher
c82a48b012
remove slutty import, smh'
2021-03-30 22:23:32 +02:00
Christopher
4d46566811
feat(phone/settings): custom background
2021-03-30 22:21:41 +02:00
Christopher
ee7e3a3ae1
tweak(phone/twitter): change position of tweet & showMore button
2021-03-30 16:27:07 +02:00
Christopher
31241c7e8f
Merge branch 'master' of https://github.com/project-error/new-phone-who-dis
2021-03-30 16:06:04 +02:00
Christopher
5f2dce2dda
fix(phone/marketplace): use enums events for injectData
2021-03-30 16:05:39 +02:00
J Francisco Rader
107dc43624
Improve messages error handling ( #181 )
...
* Improve messages error handling
* Add types to getPlayerFromIdentifier function
* Add phone validation regex to message group form
* Add correct alert types to enum
* Improve locale
* Improve error message for unregistered numbers
2021-03-29 18:55:27 -04:00
Christopher
f27e486ff5
fix(phone/marketplace): fix word wrap
2021-03-28 23:32:02 +02:00
Christopher Gjelten
a88286f97a
Improve/marketplace ( #184 )
...
Overall fixes for sellout => marketplace.
2021-03-28 04:20:12 +02:00