2017-08-03 18:23:43 +00:00
|
|
|
{
|
2021-10-01 18:12:19 +00:00
|
|
|
"name": "rocket-chat-reactnative",
|
2022-03-31 13:04:21 +00:00
|
|
|
"version": "4.26.2",
|
2021-10-01 18:12:19 +00:00
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
|
|
|
"start": "react-native start",
|
|
|
|
"test": "jest",
|
|
|
|
"test-update": "jest --updateSnapshot",
|
|
|
|
"lint": "eslint . && tsc",
|
|
|
|
"prettier-lint": "prettier --write . && yarn lint",
|
|
|
|
"ci": "npm run precommit && codecov",
|
|
|
|
"ios": "npx react-native run-ios",
|
|
|
|
"android": "npx react-native run-android --variant=experimentalPlayDebug",
|
|
|
|
"android-whitelabel": "npx react-native run-android --main-activity chat.rocket.reactnative.MainActivity --variant=experimentalPlayDebug --appId",
|
|
|
|
"log-android": "react-native log-android",
|
|
|
|
"snyk-protect": "snyk protect",
|
|
|
|
"precommit": "lint-staged",
|
|
|
|
"generate-source-maps-ios": "react-native bundle --platform ios --dev false --entry-file index.js --bundle-output ios-release.bundle --sourcemap-output ios-release.bundle.map",
|
|
|
|
"postinstall": "patch-package && jetify",
|
|
|
|
"prepare": "husky install"
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.{js,ts,tsx}": [
|
|
|
|
"prettier --write",
|
|
|
|
"eslint",
|
|
|
|
"jest --bail --findRelatedTests"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"@bugsnag/react-native": "^7.10.5",
|
|
|
|
"@codler/react-native-keyboard-aware-scroll-view": "^1.0.1",
|
2021-10-28 17:49:08 +00:00
|
|
|
"@nozbe/watermelondb": "0.23.0",
|
2022-03-31 13:04:21 +00:00
|
|
|
"@react-native-clipboard/clipboard": "^1.8.5",
|
2021-10-01 18:12:19 +00:00
|
|
|
"@react-native-community/art": "^1.2.0",
|
|
|
|
"@react-native-community/async-storage": "1.12.1",
|
|
|
|
"@react-native-community/blur": "^3.6.0",
|
|
|
|
"@react-native-community/cameraroll": "4.0.4",
|
|
|
|
"@react-native-community/datetimepicker": "3.5.2",
|
|
|
|
"@react-native-community/hooks": "2.6.0",
|
|
|
|
"@react-native-community/masked-view": "0.1.11",
|
|
|
|
"@react-native-community/netinfo": "6.0.0",
|
|
|
|
"@react-native-community/picker": "^1.8.1",
|
|
|
|
"@react-native-community/slider": "3.0.3",
|
|
|
|
"@react-native-cookies/cookies": "6.0.8",
|
|
|
|
"@react-native-firebase/analytics": "^7.3.1",
|
|
|
|
"@react-native-firebase/app": "^8.2.0",
|
|
|
|
"@react-native-firebase/crashlytics": "^8.1.2",
|
|
|
|
"@react-navigation/drawer": "5.12.5",
|
|
|
|
"@react-navigation/native": "5.9.4",
|
|
|
|
"@react-navigation/stack": "5.14.5",
|
2021-10-28 17:49:08 +00:00
|
|
|
"@rocket.chat/message-parser": "0.30.0",
|
2021-10-01 18:12:19 +00:00
|
|
|
"@rocket.chat/react-native-fast-image": "^8.2.0",
|
|
|
|
"@rocket.chat/sdk": "RocketChat/Rocket.Chat.js.SDK#mobile",
|
|
|
|
"@rocket.chat/ui-kit": "0.13.0",
|
|
|
|
"bytebuffer": "^5.0.1",
|
|
|
|
"color2k": "1.2.4",
|
|
|
|
"commonmark": "git+https://github.com/RocketChat/commonmark.js.git",
|
|
|
|
"commonmark-react-renderer": "git+https://github.com/RocketChat/commonmark-react-renderer.git",
|
|
|
|
"dequal": "^2.0.2",
|
|
|
|
"ejson": "2.2.1",
|
2021-10-28 17:49:08 +00:00
|
|
|
"expo-apple-authentication": "3.2.1",
|
|
|
|
"expo-av": "9.2.3",
|
|
|
|
"expo-file-system": "11.1.3",
|
|
|
|
"expo-haptics": "10.1.0",
|
|
|
|
"expo-keep-awake": "9.2.0",
|
|
|
|
"expo-local-authentication": "11.1.1",
|
|
|
|
"expo-video-thumbnails": "5.2.1",
|
|
|
|
"expo-web-browser": "9.2.0",
|
2021-10-01 18:12:19 +00:00
|
|
|
"hoist-non-react-statics": "3.3.2",
|
|
|
|
"i18n-js": "3.8.0",
|
|
|
|
"js-base64": "3.6.1",
|
|
|
|
"js-sha256": "^0.9.0",
|
|
|
|
"lint-staged": "^11.1.0",
|
|
|
|
"lodash": "4.17.21",
|
|
|
|
"moment": "2.29.1",
|
|
|
|
"pretty-bytes": "5.6.0",
|
|
|
|
"prop-types": "15.7.2",
|
|
|
|
"react": "17.0.1",
|
|
|
|
"react-native": "RocketChat/react-native#0.64.2",
|
|
|
|
"react-native-animatable": "^1.3.3",
|
|
|
|
"react-native-appearance": "0.3.4",
|
|
|
|
"react-native-background-timer": "2.4.1",
|
|
|
|
"react-native-bootsplash": "3.2.4",
|
|
|
|
"react-native-config-reader": "^4.1.1",
|
|
|
|
"react-native-console-time-polyfill": "1.2.3",
|
2022-01-24 20:12:25 +00:00
|
|
|
"react-native-device-info": "8.4.8",
|
2021-10-01 18:12:19 +00:00
|
|
|
"react-native-document-picker": "5.2.0",
|
|
|
|
"react-native-easy-grid": "^0.2.2",
|
|
|
|
"react-native-easy-toast": "^1.2.0",
|
2021-11-25 14:25:11 +00:00
|
|
|
"react-native-file-viewer": "^2.1.4",
|
2021-10-01 18:12:19 +00:00
|
|
|
"react-native-gesture-handler": "^1.10.3",
|
|
|
|
"react-native-image-crop-picker": "RocketChat/react-native-image-crop-picker",
|
|
|
|
"react-native-image-progress": "^1.1.1",
|
|
|
|
"react-native-jitsi-meet": "RocketChat/react-native-jitsi-meet",
|
|
|
|
"react-native-keycommands": "2.0.3",
|
|
|
|
"react-native-localize": "2.1.1",
|
|
|
|
"react-native-mime-types": "2.3.0",
|
2022-03-29 18:53:27 +00:00
|
|
|
"react-native-mmkv-storage": "0.6.12",
|
2021-10-01 18:12:19 +00:00
|
|
|
"react-native-modal": "11.10.0",
|
|
|
|
"react-native-navigation-bar-color": "2.0.1",
|
|
|
|
"react-native-notifications": "2.1.7",
|
|
|
|
"react-native-notifier": "1.6.1",
|
|
|
|
"react-native-orientation-locker": "1.1.8",
|
|
|
|
"react-native-picker-select": "^8.0.4",
|
|
|
|
"react-native-platform-touchable": "1.1.1",
|
|
|
|
"react-native-popover-view": "4.0.1",
|
|
|
|
"react-native-progress": "4.1.2",
|
|
|
|
"react-native-prompt-android": "^1.1.0",
|
2021-10-28 17:49:08 +00:00
|
|
|
"react-native-reanimated": "2.2.2",
|
2021-10-01 18:12:19 +00:00
|
|
|
"react-native-restart": "0.0.22",
|
|
|
|
"react-native-safe-area-context": "3.2.0",
|
|
|
|
"react-native-screens": "2.9.0",
|
|
|
|
"react-native-scroll-bottom-sheet": "0.6.2",
|
|
|
|
"react-native-scrollable-tab-view": "^1.0.0",
|
|
|
|
"react-native-simple-crypto": "RocketChat/react-native-simple-crypto#0.5.0",
|
|
|
|
"react-native-slowlog": "^1.0.2",
|
|
|
|
"react-native-ui-lib": "RocketChat/react-native-ui-lib#minor-improvements",
|
2021-10-28 17:49:08 +00:00
|
|
|
"react-native-unimodules": "^0.14.8",
|
2021-10-01 18:12:19 +00:00
|
|
|
"react-native-vector-icons": "8.1.0",
|
|
|
|
"react-native-webview": "10.3.2",
|
|
|
|
"react-redux": "7.2.4",
|
|
|
|
"reactotron-react-native": "5.0.0",
|
|
|
|
"redux": "4.1.0",
|
|
|
|
"redux-immutable-state-invariant": "2.1.0",
|
|
|
|
"redux-saga": "1.1.3",
|
|
|
|
"remove-markdown": "^0.3.0",
|
|
|
|
"reselect": "4.0.0",
|
|
|
|
"rn-extensions-share": "RocketChat/rn-extensions-share",
|
|
|
|
"rn-fetch-blob": "0.12.0",
|
|
|
|
"rn-root-view": "1.0.3",
|
|
|
|
"semver": "7.3.5",
|
|
|
|
"ua-parser-js": "0.7.28",
|
Merge 4.25.0 into single-server (#3790)
* Chore: Migrate DefaultBrowserView to Typescript (#3488)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
* Chore: Migrate PickerView to Typescript (#3501)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate AttachmentView to Typescript (#3483)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate MarkdownTableView to Typescript (#3500)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate E2EEncryptionSecurityView to Typescript (#3489)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate E2EEnterYourPasswordView to Typescript (#3490)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate E2EHowItWorksView to Typescript (#3492)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate E2ESaveYourPasswordView to Typescript (#3493)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate ForgotPasswordView to Typescript (#3496)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate ForwardLivechatView to Typescript (#3497)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate JitsiMeetView to Typescript (#3498)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* [FIX] Push notifications user preference not syncing correctly (#3494)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* [FIX] Display prefs showing wrong header icon on tablet (#3510)
* Merge 4.22.0 into master (#3523)
* Tests: Make Detox work on Android (#3051)
* Chore: Migrate NewMessageView to Typescript (#3502)
* Chore: Migrate ScreenLockConfigView to Typescript (#3517)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate ScreenLockedView to Typescript (#3515)
* Chore: Migrate SecurityPrivacyView to Typescript (#3518)
* Chore: Migrate SelectListView to Typescript (#3519)
* Chore: Migrate SelectServerView to Typescript (#3521)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
* Chore: Migrate SetUsernameView to Typescript (#3526)
* Chore: Migrate ThemeView to Typescript (#3522)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
* Chore: Migrate StatusView to Typescript (#3527)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
* Chore: Migrate ShareListView to Typescript (#3459)
Co-authored-by: Gerzon Z <gerzonc@icloud.com>
* Chore: Migrate TeamChannelsView to Typescript (#3532)
Co-authored-by: Gerzon Z <gerzonzcanario@gmail.com>
* Language update from LingoHub 🤖 (#3529)
Project Name: Rocket.Chat.ReactNative
Project Link: https://translate.lingohub.com/rocketchat/dashboard/rocket-dot-chat-dot-reactnative
User: Robot LingoHub
Easy language translations with LingoHub 🚀
Co-authored-by: Robot LingoHub <robot@lingohub.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate react-navigation to TypeScript (#3480)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
* Bump version to 4.23.0 (#3546)
* [FIX] Certificate stops working after app update on iOS (#3537)
* [IMPROVE] Connection stability (#3531)
* [NEW] Permission for uploading files (#3505)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* [FIX] Files screen stopped listing content on server 4.2 (#3541)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate ModalBlockView to Typescript (#3503)
* Chore: Migrate ModalBlockView to Typescript
* minor tweaks
* update the navigator
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate SelectedUsersView to Typescript (#3520)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* [IMPROVE] Remove Omnichannel visitor's navigation history (#3534)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Merge 4.23.0 into master (#3574)
* [FIX] Download video/quicktime in iOS (#3581)
* Chore: Migrate Redux to Typescript PoC (#3565)
* Chore: Migrate Model's folder to Typescript (#3564)
* Chore: Migrate lib user preferences to Typescript (#3578)
* Chore: Update React Native Device Info to 8.4.8 (#3560)
* [FIX] Roles rendering on dark theme (#3589)
* fix: Add height verification to fix modal dimension (#3573)
* chore: Change the lib `@types/url-parse` to devDependencies (#3585)
* [FIX] teams.removeMembers mobile usage (#3557)
* Chore: Migrate DisplayPrefsView to Typescript (#3555)
* Chore: Migrate Utils Folder to Typescript (#3544)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
* Chore: Migrate ThreadMessagesView to Typescript (#3538)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
* [FIX] RoomInfoView displaying different info depending on the origin (#3586)
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
* [FIX] Message parser switch not updating field properly (#3576)
* [FIX] Lint not ignoring Markdown props (#3600)
* Bump version to 4.24.0 (#3601)
* Chore: Migrate notification/push to Typescript (#3587)
* chore: migrate connect to ts and add tests
* chore: add more tests
* Chore: Update react-native-device-info patch-package and pods (#3605)
* [FIX] App crashes when entering server after applying certificate (Android) (#3579)
* chore: migrate redux module encryption to typescript
* chore: migrate customEmoji to typescript and add tests
* chore: create IPreferences interface
* chore: migrate redux module sortPreferences to typescript
* chore: fix IPreference interface and organize import
* chore: migrate to typescript
* chore: migrate usersTyping to typescript
* Add DiscussionDetails and Item for DiscussionsView; update ThreadDetails, BackgroundContainer and DiscussionsView
* chore: migrate settings to typescript
* chore: add interface to IStateAplication
* chore: migrate redux module room to typescript
* update definitions
* chore: fix error on error interface
* [FIX] Joining and leaving messages in teams (#3591)
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* minor tweak
* [FIX] TypeScript's errors raised by HOCs (#3535)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* chore: migrate redux module roles to typescript
* wip: add IRoles to IAplicationState interface
* add storybooks, update snapshots and DiscussionsView
* Minor tweaks
* Fix lint
* Remove unused import
* chore: migrate redux module inviteUsers to typescript
* chore: migrate messages action to typescript
* chore: fix any interface and change null to empty string
* chore: implements IAplicationState on type
* chore: remove mapDispatchToProps and continue ts migration
* chore: fix types and apply IAplicationState to types
* Migrate redux server action/reducer to ts
* add tests
* [FIX] App crashes when opening a notification while app is closed (#3629)
* [FIX] makeThreadName asserting undefined as non-null (#3628)
* [FIX] Threads' pagination not working (#3631)
* update tests
* chore: update settings value types
* Send missing params to selectServerRequest
* [IMPROVE] Convert HEIC images to JPG and remove compression (#3633)
* update interface
* update action definition
* Move onDiscussionpress logic on message, update SearchHeader and DiscussionDetails component, add useLayoutEffect at DiscussionsView
* Update interfaces and minor tweaks to DiscussionsView screen and components
* Fix navigation logic and update interfaces
* Minor tweaks
* Undo change on project.pbxproj
* Update project.pbxproj
* Update project.pbxproj
* Remove style.ts
* Minor tweak
* update snapshots
* Merge 4.24.0 into master (#3648)
* Chore: Change console.log to console.error when logging error
* chore: add as string to fix type
* Fix lint
* fix types
* test
* Remove console.log
* test
* [FIX] StoryShots not working for async rendered components (#3677)
* remove console.log
* Add missing DiscussionsView snapshot
* fix build and useless done and async generator
* update snapshot
* Chore: fix build and useless done and async generator (#3678)
* fix build and useless done and async generator
* update snapshot
* Chore: Migrate Database to Typescript (#3580)
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate redux module permissions to typescript (#3630)
* Chore: Migrate redux module share to typescript (#3612)
* chore: migrate redux module share to typescript
* chore: fix types
* chore: update types
* chore: migrate redux module share to typescript
* remove double import
* chore: fix import
* Chore: Migrate redux module createChannel to typescript (#3602)
* chore: migrate createChannel to ts and add tests
* chore: fix naming
* chore: add more types and remove mapDispatchToProps from components
* remove todo
* update tests
* chore: migrate interface to reducer and fix errors on return
* chore: insert IApplicationState to mapStateToProps state type
* Remove spread
* fix type
* fix import and state type
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate redux module app to typescript (#3598)
* chore: migrate activeUsers reducer and action to TS
* chore: init types folder and set redux and BaseScreen interface
* chore: remove mapDispatchToProps to use dispatch prop and clear some types
* chore: type selectedUsers action and reducer and improvement in the code of other files
* chore: move IUser to base types
* chore: move state props to ISelectedUsersViewProps
* chore: create mocketStore
* chore: remove applyAppStateMiddleware
* test: create activeUser and selectedUser tests
* test: add more selectedUsers tests
* chore: fix action type
* chore: move types to definition folder and fix imports
* chore: remove unused const
* chore: migrate redux tests to reducer folder and add eslint jest plugin
* chore: exprot initial state and then import on tests
* chore: move interfaces to reducer and import on screen
* chore: set eslint-plugin-jest version to 24.7.0
* chore: fix IUser import
* chore: update interfaces and types names
* chore: update definitions
* chore: update IBaseScreen definitions
* chore: init reducer/app migration to ts
* chore: add tests and migrate RootEnum
* wip: migrate fixed consts to RootEnum
* chore: remove redux action inferences
* fix types
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate redux module createDiscussion to typescript (#3604)
* chore: migrate createDiscussion to ts and add tests
* chore: add TActionCreateDiscussion to TApplicationActions
* fix types
* update types
* fix types
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* [FIX] ios-testflight-experimental unable to find cache (#3684)
* Chore: Remove Non-null assertion operator in ThreadMessagesView (#3632)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate CannedResponsesListView to Typescript (#3553)
* Chore: Migrate CannedResponsesListView to TS
* Moved IcannedResponse to definitions and fixed the index
* Chore: Migrate CannedResponseDetail to TS
* minor tweaks
* refactor: update new types and interfaces for use ISubscription
* fix lint error and canned responses's dropdown
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate LivechatEditView to Typescript (#3499)
* Chore: Migrate LivechatEditView to Typescript
* refactor: minor tweak
* refactor: fix the interfaces for input
* refactor: fix lint erros
* minor tweak with new navigation types
* function
* iroom tweak
* livechateditview tweak
* TextInput tweak
* refactor: update new types and interfaces for use ISubscription
* refactor to default useState type
* change the component name in SearchBox
* changed state type
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Gerzon Z <gerzonc@icloud.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Regression: Message press navigating to empty RoomView (#3680)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Regression: Prevent duplicated .jpg on file upload (#3658)
* [FIX] Regression: Prevent duplicated .jpg on file upload
* refactor to all files typed as image/jpeg
* isolate regexp to function
* refactor forceJpgExtension
* clean
* minor tweak
* [FIX] Regression: Prevent duplicated .jpg on file upload
* refactor to all files typed as image/jpeg
* isolate regexp to function
* refactor forceJpgExtension
* clean
* minor tweak
* refactored comment
* Chore: Migrate lib/utils to TypeScript (#3637)
* Migrate utils to TypeScript
* Add @types/semver
* Refactor compareServerVersion(currentVersion, oldVersion, func) to compareServerVersion(current, func, oldVersion)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate readMessages to TS (#3669)
* Migrate readMessages to TS
* Update IRocketChat interface
* [FIX] Unnecessary login dispatch on adding new server (#3693)
* [FIX] Disable tap gesture on call messages (#3694)
* [IMPROVE] Keep biometry option from last session (#3668)
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
Co-authored-by: Reinaldo Neto <reinaldonetof@hotmail.com>
* Fix reactotron multiple connections (#3622)
* Chore: Fix rocketchat interface (#3705)
* Chore: Migrate logout to Typescript (#3688)
* [NEW] Stream to get individual presence updates (#3606)
Co-authored-by: Gerzon Z <gerzonzcanario@gmail.com>
* [FIX] Inject Redux store to prevent/remove require cycles (#3691)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate lib/rocketchat.js to TS - structure PoC (#3661)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
* [FIX] #3606 merged using wrong JS SDK branch (#3709)
* [FIX] Remove deprecated database methods and other database operations (#3686)
* Fix PK error on subscriptions/room
* Instead of checking for pending update, wrap the call on a try catch and return null in case of error
* Generate delete operations before create/update to prevent errors
* Apply same logic on encryption
* Fix database operations on getRoles
* Fix a few database issues found on Bugsnag on ThreadMessagesView
* Run prettier :(
* Chore: Add REST API definitions from server (#3721)
* create first definitions
* chore: implements get and post types
* fix lint
* add ts-ignore
* add teams.removeRoom method
* Remove unused endpoints
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Move some methods to SDK (#3736)
* [IMPROVE] Add support for ephemeral messages inside threads (#3687)
* Chore: dehydrate small server requests away from rocketchat.js (#3740)
* Bump version to 4.25.0 (#3745)
* [Snyk] Security upgrade url-parse from 1.5.1 to 1.5.6 (#3746)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-URLPARSE-2401205
* Language update from LingoHub 🤖 on 2022-02-14Z (#3730)
* Language update from LingoHub 🤖
Project Name: Rocket.Chat.ReactNative
Project Link: https://translate.lingohub.com/rocketchat/dashboard/rocket-dot-chat-dot-reactnative
User: Robot LingoHub
Easy language translations with LingoHub 🚀
* remove draft gl
Co-authored-by: Robot LingoHub <robot@lingohub.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate methods/getSingleMessage to TS (#3700)
* migrate getSingleMessage to TS
* minor tweak
* Chore: Migrate methods/getRooms to TS (#3702)
* migrate getRooms to TS
* add sdk and set any types
* Moved the new variable around and added ts-ignore to follow the pattern from /services/restApi.ts
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate updateMessages to Typescript (#3715)
* Chore: Migrate selector/login to TS (#3731)
* migrate selector/login to TS
* Fix lint errors
* set aliases for returns
* Chore: Migrate helpers/parseUrls to Typescript (#3735)
* Chore: Migrate methods/helpers/parseQuery to Typescript (#3742)
* Chore: Migrate methods/helpers/parseQuery to Typescript
* tweak in example
* Chore: Migrate app/commands to typescript (#3697)
* Chore: Migrate lib/encryption folder to TypeScript (#3639)
* Initial commit
* add types/bytebuffer, add type definitions to params and update interfaces
* add more types and type assertions
* update types
* change bang operator by type assertion and update class variables definitions
* add types for deferred class
* minor tweaks on types definitions
* add ts-ignore
* Update encryption.ts
* update deferred and encryption
* update encryption.ts
* Update room.ts
* update toDecrypt type
* initialize sessionKeyExportedString
* remove return types
* Chore: Migrate redux actions/enterpriseModules to TS (#3698)
* migrate enterpriseModules to TS
* update test file
* Chore: Migrate database/services and database/utils to TS (#3708)
* migrate database services and utils to ts
* Migrate tests
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate buildMessage to TS (#3732)
* migrate buildMessage to TS
* Fix lint
* minor tweak
* minor tweaks
* Chore: Migrate getPermissions to Typescript (#3720)
* Migrating...
* Fix IPermission
* Playing with types
* Remove `as const`
* Fix lint
* Fix test
* Apply sdk
* Fix lint and autocomplete
* [FIX] Add search and fix pagination for omnichannels departments (#3621)
* [FIX] Search and pagination for omnichannels departments
* pagination complete
* minor tweak
* renamed a param and workaround for a ux bug
* fix style of flatlist and search as header scrollable
* stick the header
* Merge branch 'fix.forward-department-list' of https://github.com/RocketChat/Rocket.Chat.ReactNative into fix.forward-department-list
* refactor pagination
* fix value type
* refactor render search
* refactor layout
* make ts happy
* Chore: Migrate Markdown to Typescript (#3558)
* Chore: Migrate Markdown to TS
* Chore: Migrate Markdown to TS
* minor tweak
* added preview where markdown was preview and fixed params within markdown
* removed ts-ignore
* fix lint
* removed numbersofline={0} and default value to numberOfLines=1
* change how to import markdown preview and remove numberOfLines
* using useTheme inside markdownPreview and remove theme from components
* minor tweak on interfaces
* isNewMarkdown return as boolean
* minor tweaks
* minor tweaks
* removed unused component
* fixed markdown stories
* updated snapshot because removed numberOfLines={0} from message/content
* create IEmoji.ts in definitions and refactor all places where getCustomEmoji was called
* onLinkPress typed
* todo: refactor navtoroominfo
* formatText.test.ts
* markdown stories to typescript too
* minor tweak
* IMessage definition
* refactor: update new types and interfaces for use ISubscription
* refactor: update threadItem for use new MarkdownPreview
* refactor: rollback wrong file commited
* formatHyperlink
* fix lint
* updated item story shot
* refactor and refactor some types
* Remove non-null assertion
* Minor change on useRealName
* tweak
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate methods/callJitsi to typescript (#3660)
* chore: migrate callJitsi to typescript
* change fixed string to type
* wip
* wip
* back to old times :)
* back to typescript
* Chore: Migrate redux module room to typescript (#3636)
* chore: migrate redux module room to typescript and remove dispatch on dependencies
* chore: add tests to redux module room
* chore: create ERoomType and use on implemention
* chore: update enum name
* fix test id
* Chore: Migrate redux module login to typescript (#3647)
* chore: migrate redux module login to typescript
chore: update redux module login tests
* update workers
* wip
* fix type
* remove partial
* add more status
* migrate the rest of the stuff to typescript
* fix tests and types
* fix types and tests
* Chore: Migrate method getSettings to typescript (#3703)
* chore: migrate getSettings to typescript and and some types
* chore: remove this and add current to code
* chore: add current
* Chore: Migrate getCustomEmojis to TS (#3724)
* update customEmoji interface and getCustomEmoji
* add sdk
* updated emojiCustom rest definition
* minor refactor
* update params object
* [FIX] getRooms request using param with wrong name (#3761)
* Chore: Migrate methods/getRoomInfo to TS (#3695)
* migrate getRoomInfo to TS
* update room type
* update types
* Fix lint error
* Chore: Migrate getSlashCommands to TS (#3711)
* migrate getSlashCommands to TS
* use sdk and update getSlashCommands
* minor tweak
* Remove implicit anys
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate getUsersPresence to TS (#3717)
* migrate getUsersPresence to ts
* use sdk and remove this context from getUsersPresence
* Chore: Migrate loadMissedMessages to typescript (#3704)
* chore: migrate loadMissedMessages to typescript
* remove loaderItem
* remove this from functions
* Chore: Migrate methods/getRoles to Typescript (#3741)
* chore: migrate getRoles to ts
* chore: removing unused const
* chore: minor tweak
* Type batch
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate methods/loadMessagesForRoom to Typescript (#3701)
* chore: change loadMessagesForRoom to typescript
* minor tweak
* chore: minor tweaks after merge with developer
* chore: minor tweaks after merge with developer
* chore: minor tweak
* chore: minor tweaks
* Fix return
Co-authored-by: Diego Mello <diegolmello@gmail.com>
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
* Chore: Migrate methods/sendFileMessage to typescript (#3683)
* chore: start the migration
* chore: update sendFileMessage to ts
* chore: removing an `any` from uploadQueue
* chore: minor tweak
* chore: minor tweak
* chore: minor tweaks after merge with developer
* chore: minor tweak after merge develop into current
* [FIX] Differ to Last Session Authenticated (#3667)
* [FIX] Differ to Last Session Authenticated
* Added timesync
* [FIX] Differ to Last Session Authenticated
* Added timesync
* timesync tweaks
* refactor diffLastLocalSession and saveLastLocalAuthentication
* did a race
* Update comment in app/utils/localAuthentication.ts
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* refactor getServerTimeSync and when use this route
* tweak
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate methods/loadNextMessages to typescript (#3719)
* feat: update loadNextMessages to ts
* minor tweak
* chore: minor tweaks after merge with developer
* chore: migrate getFileUrlFromMessage to ts (#3734)
* [IMPROVE] Team system messages feedback (#3771) (#3772)
* almost there
* Update stories
Co-authored-by: Reinaldo Neto <47038980+reinaldonetof@users.noreply.github.com>
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Matheus Barbosa Silva <36537004+matheusbsilva137@users.noreply.github.com>
Co-authored-by: Gerzon Z <gerzonc@icloud.com>
Co-authored-by: Anant Bhasin <38764067+aKn1ghtOut@users.noreply.github.com>
Co-authored-by: Gerzon Z <gerzonzcanario@gmail.com>
Co-authored-by: lingohub[bot] <69908207+lingohub[bot]@users.noreply.github.com>
Co-authored-by: Robot LingoHub <robot@lingohub.com>
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
Co-authored-by: Danish Ahmed Mirza <77742477+try-catch-stack@users.noreply.github.com>
Co-authored-by: Reinaldo Neto <reinaldonetof@hotmail.com>
Co-authored-by: Snyk bot <snyk-bot@snyk.io>
2022-02-28 19:03:42 +00:00
|
|
|
"url-parse": "1.5.6",
|
2021-10-01 18:12:19 +00:00
|
|
|
"use-deep-compare-effect": "1.6.1",
|
|
|
|
"xregexp": "5.0.2"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@babel/core": "^7.12.9",
|
|
|
|
"@babel/eslint-parser": "^7.14.7",
|
|
|
|
"@babel/eslint-plugin": "^7.13.0",
|
|
|
|
"@babel/plugin-proposal-decorators": "^7.8.3",
|
|
|
|
"@babel/runtime": "^7.12.5",
|
|
|
|
"@bugsnag/source-maps": "^2.2.0",
|
|
|
|
"@rocket.chat/eslint-config": "^0.4.0",
|
|
|
|
"@storybook/addon-storyshots": "5.3.21",
|
|
|
|
"@storybook/react-native": "5.3.25",
|
2022-03-29 18:53:27 +00:00
|
|
|
"@testing-library/jest-native": "^4.0.4",
|
Merge 4.25.0 into single-server (#3790)
* Chore: Migrate DefaultBrowserView to Typescript (#3488)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
* Chore: Migrate PickerView to Typescript (#3501)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate AttachmentView to Typescript (#3483)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate MarkdownTableView to Typescript (#3500)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate E2EEncryptionSecurityView to Typescript (#3489)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate E2EEnterYourPasswordView to Typescript (#3490)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate E2EHowItWorksView to Typescript (#3492)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate E2ESaveYourPasswordView to Typescript (#3493)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate ForgotPasswordView to Typescript (#3496)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate ForwardLivechatView to Typescript (#3497)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate JitsiMeetView to Typescript (#3498)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* [FIX] Push notifications user preference not syncing correctly (#3494)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* [FIX] Display prefs showing wrong header icon on tablet (#3510)
* Merge 4.22.0 into master (#3523)
* Tests: Make Detox work on Android (#3051)
* Chore: Migrate NewMessageView to Typescript (#3502)
* Chore: Migrate ScreenLockConfigView to Typescript (#3517)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate ScreenLockedView to Typescript (#3515)
* Chore: Migrate SecurityPrivacyView to Typescript (#3518)
* Chore: Migrate SelectListView to Typescript (#3519)
* Chore: Migrate SelectServerView to Typescript (#3521)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
* Chore: Migrate SetUsernameView to Typescript (#3526)
* Chore: Migrate ThemeView to Typescript (#3522)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
* Chore: Migrate StatusView to Typescript (#3527)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
* Chore: Migrate ShareListView to Typescript (#3459)
Co-authored-by: Gerzon Z <gerzonc@icloud.com>
* Chore: Migrate TeamChannelsView to Typescript (#3532)
Co-authored-by: Gerzon Z <gerzonzcanario@gmail.com>
* Language update from LingoHub 🤖 (#3529)
Project Name: Rocket.Chat.ReactNative
Project Link: https://translate.lingohub.com/rocketchat/dashboard/rocket-dot-chat-dot-reactnative
User: Robot LingoHub
Easy language translations with LingoHub 🚀
Co-authored-by: Robot LingoHub <robot@lingohub.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate react-navigation to TypeScript (#3480)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
* Bump version to 4.23.0 (#3546)
* [FIX] Certificate stops working after app update on iOS (#3537)
* [IMPROVE] Connection stability (#3531)
* [NEW] Permission for uploading files (#3505)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* [FIX] Files screen stopped listing content on server 4.2 (#3541)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate ModalBlockView to Typescript (#3503)
* Chore: Migrate ModalBlockView to Typescript
* minor tweaks
* update the navigator
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate SelectedUsersView to Typescript (#3520)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* [IMPROVE] Remove Omnichannel visitor's navigation history (#3534)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Merge 4.23.0 into master (#3574)
* [FIX] Download video/quicktime in iOS (#3581)
* Chore: Migrate Redux to Typescript PoC (#3565)
* Chore: Migrate Model's folder to Typescript (#3564)
* Chore: Migrate lib user preferences to Typescript (#3578)
* Chore: Update React Native Device Info to 8.4.8 (#3560)
* [FIX] Roles rendering on dark theme (#3589)
* fix: Add height verification to fix modal dimension (#3573)
* chore: Change the lib `@types/url-parse` to devDependencies (#3585)
* [FIX] teams.removeMembers mobile usage (#3557)
* Chore: Migrate DisplayPrefsView to Typescript (#3555)
* Chore: Migrate Utils Folder to Typescript (#3544)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
* Chore: Migrate ThreadMessagesView to Typescript (#3538)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
* [FIX] RoomInfoView displaying different info depending on the origin (#3586)
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
* [FIX] Message parser switch not updating field properly (#3576)
* [FIX] Lint not ignoring Markdown props (#3600)
* Bump version to 4.24.0 (#3601)
* Chore: Migrate notification/push to Typescript (#3587)
* chore: migrate connect to ts and add tests
* chore: add more tests
* Chore: Update react-native-device-info patch-package and pods (#3605)
* [FIX] App crashes when entering server after applying certificate (Android) (#3579)
* chore: migrate redux module encryption to typescript
* chore: migrate customEmoji to typescript and add tests
* chore: create IPreferences interface
* chore: migrate redux module sortPreferences to typescript
* chore: fix IPreference interface and organize import
* chore: migrate to typescript
* chore: migrate usersTyping to typescript
* Add DiscussionDetails and Item for DiscussionsView; update ThreadDetails, BackgroundContainer and DiscussionsView
* chore: migrate settings to typescript
* chore: add interface to IStateAplication
* chore: migrate redux module room to typescript
* update definitions
* chore: fix error on error interface
* [FIX] Joining and leaving messages in teams (#3591)
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* minor tweak
* [FIX] TypeScript's errors raised by HOCs (#3535)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* chore: migrate redux module roles to typescript
* wip: add IRoles to IAplicationState interface
* add storybooks, update snapshots and DiscussionsView
* Minor tweaks
* Fix lint
* Remove unused import
* chore: migrate redux module inviteUsers to typescript
* chore: migrate messages action to typescript
* chore: fix any interface and change null to empty string
* chore: implements IAplicationState on type
* chore: remove mapDispatchToProps and continue ts migration
* chore: fix types and apply IAplicationState to types
* Migrate redux server action/reducer to ts
* add tests
* [FIX] App crashes when opening a notification while app is closed (#3629)
* [FIX] makeThreadName asserting undefined as non-null (#3628)
* [FIX] Threads' pagination not working (#3631)
* update tests
* chore: update settings value types
* Send missing params to selectServerRequest
* [IMPROVE] Convert HEIC images to JPG and remove compression (#3633)
* update interface
* update action definition
* Move onDiscussionpress logic on message, update SearchHeader and DiscussionDetails component, add useLayoutEffect at DiscussionsView
* Update interfaces and minor tweaks to DiscussionsView screen and components
* Fix navigation logic and update interfaces
* Minor tweaks
* Undo change on project.pbxproj
* Update project.pbxproj
* Update project.pbxproj
* Remove style.ts
* Minor tweak
* update snapshots
* Merge 4.24.0 into master (#3648)
* Chore: Change console.log to console.error when logging error
* chore: add as string to fix type
* Fix lint
* fix types
* test
* Remove console.log
* test
* [FIX] StoryShots not working for async rendered components (#3677)
* remove console.log
* Add missing DiscussionsView snapshot
* fix build and useless done and async generator
* update snapshot
* Chore: fix build and useless done and async generator (#3678)
* fix build and useless done and async generator
* update snapshot
* Chore: Migrate Database to Typescript (#3580)
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate redux module permissions to typescript (#3630)
* Chore: Migrate redux module share to typescript (#3612)
* chore: migrate redux module share to typescript
* chore: fix types
* chore: update types
* chore: migrate redux module share to typescript
* remove double import
* chore: fix import
* Chore: Migrate redux module createChannel to typescript (#3602)
* chore: migrate createChannel to ts and add tests
* chore: fix naming
* chore: add more types and remove mapDispatchToProps from components
* remove todo
* update tests
* chore: migrate interface to reducer and fix errors on return
* chore: insert IApplicationState to mapStateToProps state type
* Remove spread
* fix type
* fix import and state type
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate redux module app to typescript (#3598)
* chore: migrate activeUsers reducer and action to TS
* chore: init types folder and set redux and BaseScreen interface
* chore: remove mapDispatchToProps to use dispatch prop and clear some types
* chore: type selectedUsers action and reducer and improvement in the code of other files
* chore: move IUser to base types
* chore: move state props to ISelectedUsersViewProps
* chore: create mocketStore
* chore: remove applyAppStateMiddleware
* test: create activeUser and selectedUser tests
* test: add more selectedUsers tests
* chore: fix action type
* chore: move types to definition folder and fix imports
* chore: remove unused const
* chore: migrate redux tests to reducer folder and add eslint jest plugin
* chore: exprot initial state and then import on tests
* chore: move interfaces to reducer and import on screen
* chore: set eslint-plugin-jest version to 24.7.0
* chore: fix IUser import
* chore: update interfaces and types names
* chore: update definitions
* chore: update IBaseScreen definitions
* chore: init reducer/app migration to ts
* chore: add tests and migrate RootEnum
* wip: migrate fixed consts to RootEnum
* chore: remove redux action inferences
* fix types
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate redux module createDiscussion to typescript (#3604)
* chore: migrate createDiscussion to ts and add tests
* chore: add TActionCreateDiscussion to TApplicationActions
* fix types
* update types
* fix types
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* [FIX] ios-testflight-experimental unable to find cache (#3684)
* Chore: Remove Non-null assertion operator in ThreadMessagesView (#3632)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate CannedResponsesListView to Typescript (#3553)
* Chore: Migrate CannedResponsesListView to TS
* Moved IcannedResponse to definitions and fixed the index
* Chore: Migrate CannedResponseDetail to TS
* minor tweaks
* refactor: update new types and interfaces for use ISubscription
* fix lint error and canned responses's dropdown
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate LivechatEditView to Typescript (#3499)
* Chore: Migrate LivechatEditView to Typescript
* refactor: minor tweak
* refactor: fix the interfaces for input
* refactor: fix lint erros
* minor tweak with new navigation types
* function
* iroom tweak
* livechateditview tweak
* TextInput tweak
* refactor: update new types and interfaces for use ISubscription
* refactor to default useState type
* change the component name in SearchBox
* changed state type
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Gerzon Z <gerzonc@icloud.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Regression: Message press navigating to empty RoomView (#3680)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Regression: Prevent duplicated .jpg on file upload (#3658)
* [FIX] Regression: Prevent duplicated .jpg on file upload
* refactor to all files typed as image/jpeg
* isolate regexp to function
* refactor forceJpgExtension
* clean
* minor tweak
* [FIX] Regression: Prevent duplicated .jpg on file upload
* refactor to all files typed as image/jpeg
* isolate regexp to function
* refactor forceJpgExtension
* clean
* minor tweak
* refactored comment
* Chore: Migrate lib/utils to TypeScript (#3637)
* Migrate utils to TypeScript
* Add @types/semver
* Refactor compareServerVersion(currentVersion, oldVersion, func) to compareServerVersion(current, func, oldVersion)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate readMessages to TS (#3669)
* Migrate readMessages to TS
* Update IRocketChat interface
* [FIX] Unnecessary login dispatch on adding new server (#3693)
* [FIX] Disable tap gesture on call messages (#3694)
* [IMPROVE] Keep biometry option from last session (#3668)
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
Co-authored-by: Reinaldo Neto <reinaldonetof@hotmail.com>
* Fix reactotron multiple connections (#3622)
* Chore: Fix rocketchat interface (#3705)
* Chore: Migrate logout to Typescript (#3688)
* [NEW] Stream to get individual presence updates (#3606)
Co-authored-by: Gerzon Z <gerzonzcanario@gmail.com>
* [FIX] Inject Redux store to prevent/remove require cycles (#3691)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate lib/rocketchat.js to TS - structure PoC (#3661)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
* [FIX] #3606 merged using wrong JS SDK branch (#3709)
* [FIX] Remove deprecated database methods and other database operations (#3686)
* Fix PK error on subscriptions/room
* Instead of checking for pending update, wrap the call on a try catch and return null in case of error
* Generate delete operations before create/update to prevent errors
* Apply same logic on encryption
* Fix database operations on getRoles
* Fix a few database issues found on Bugsnag on ThreadMessagesView
* Run prettier :(
* Chore: Add REST API definitions from server (#3721)
* create first definitions
* chore: implements get and post types
* fix lint
* add ts-ignore
* add teams.removeRoom method
* Remove unused endpoints
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Move some methods to SDK (#3736)
* [IMPROVE] Add support for ephemeral messages inside threads (#3687)
* Chore: dehydrate small server requests away from rocketchat.js (#3740)
* Bump version to 4.25.0 (#3745)
* [Snyk] Security upgrade url-parse from 1.5.1 to 1.5.6 (#3746)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-URLPARSE-2401205
* Language update from LingoHub 🤖 on 2022-02-14Z (#3730)
* Language update from LingoHub 🤖
Project Name: Rocket.Chat.ReactNative
Project Link: https://translate.lingohub.com/rocketchat/dashboard/rocket-dot-chat-dot-reactnative
User: Robot LingoHub
Easy language translations with LingoHub 🚀
* remove draft gl
Co-authored-by: Robot LingoHub <robot@lingohub.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate methods/getSingleMessage to TS (#3700)
* migrate getSingleMessage to TS
* minor tweak
* Chore: Migrate methods/getRooms to TS (#3702)
* migrate getRooms to TS
* add sdk and set any types
* Moved the new variable around and added ts-ignore to follow the pattern from /services/restApi.ts
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate updateMessages to Typescript (#3715)
* Chore: Migrate selector/login to TS (#3731)
* migrate selector/login to TS
* Fix lint errors
* set aliases for returns
* Chore: Migrate helpers/parseUrls to Typescript (#3735)
* Chore: Migrate methods/helpers/parseQuery to Typescript (#3742)
* Chore: Migrate methods/helpers/parseQuery to Typescript
* tweak in example
* Chore: Migrate app/commands to typescript (#3697)
* Chore: Migrate lib/encryption folder to TypeScript (#3639)
* Initial commit
* add types/bytebuffer, add type definitions to params and update interfaces
* add more types and type assertions
* update types
* change bang operator by type assertion and update class variables definitions
* add types for deferred class
* minor tweaks on types definitions
* add ts-ignore
* Update encryption.ts
* update deferred and encryption
* update encryption.ts
* Update room.ts
* update toDecrypt type
* initialize sessionKeyExportedString
* remove return types
* Chore: Migrate redux actions/enterpriseModules to TS (#3698)
* migrate enterpriseModules to TS
* update test file
* Chore: Migrate database/services and database/utils to TS (#3708)
* migrate database services and utils to ts
* Migrate tests
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate buildMessage to TS (#3732)
* migrate buildMessage to TS
* Fix lint
* minor tweak
* minor tweaks
* Chore: Migrate getPermissions to Typescript (#3720)
* Migrating...
* Fix IPermission
* Playing with types
* Remove `as const`
* Fix lint
* Fix test
* Apply sdk
* Fix lint and autocomplete
* [FIX] Add search and fix pagination for omnichannels departments (#3621)
* [FIX] Search and pagination for omnichannels departments
* pagination complete
* minor tweak
* renamed a param and workaround for a ux bug
* fix style of flatlist and search as header scrollable
* stick the header
* Merge branch 'fix.forward-department-list' of https://github.com/RocketChat/Rocket.Chat.ReactNative into fix.forward-department-list
* refactor pagination
* fix value type
* refactor render search
* refactor layout
* make ts happy
* Chore: Migrate Markdown to Typescript (#3558)
* Chore: Migrate Markdown to TS
* Chore: Migrate Markdown to TS
* minor tweak
* added preview where markdown was preview and fixed params within markdown
* removed ts-ignore
* fix lint
* removed numbersofline={0} and default value to numberOfLines=1
* change how to import markdown preview and remove numberOfLines
* using useTheme inside markdownPreview and remove theme from components
* minor tweak on interfaces
* isNewMarkdown return as boolean
* minor tweaks
* minor tweaks
* removed unused component
* fixed markdown stories
* updated snapshot because removed numberOfLines={0} from message/content
* create IEmoji.ts in definitions and refactor all places where getCustomEmoji was called
* onLinkPress typed
* todo: refactor navtoroominfo
* formatText.test.ts
* markdown stories to typescript too
* minor tweak
* IMessage definition
* refactor: update new types and interfaces for use ISubscription
* refactor: update threadItem for use new MarkdownPreview
* refactor: rollback wrong file commited
* formatHyperlink
* fix lint
* updated item story shot
* refactor and refactor some types
* Remove non-null assertion
* Minor change on useRealName
* tweak
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate methods/callJitsi to typescript (#3660)
* chore: migrate callJitsi to typescript
* change fixed string to type
* wip
* wip
* back to old times :)
* back to typescript
* Chore: Migrate redux module room to typescript (#3636)
* chore: migrate redux module room to typescript and remove dispatch on dependencies
* chore: add tests to redux module room
* chore: create ERoomType and use on implemention
* chore: update enum name
* fix test id
* Chore: Migrate redux module login to typescript (#3647)
* chore: migrate redux module login to typescript
chore: update redux module login tests
* update workers
* wip
* fix type
* remove partial
* add more status
* migrate the rest of the stuff to typescript
* fix tests and types
* fix types and tests
* Chore: Migrate method getSettings to typescript (#3703)
* chore: migrate getSettings to typescript and and some types
* chore: remove this and add current to code
* chore: add current
* Chore: Migrate getCustomEmojis to TS (#3724)
* update customEmoji interface and getCustomEmoji
* add sdk
* updated emojiCustom rest definition
* minor refactor
* update params object
* [FIX] getRooms request using param with wrong name (#3761)
* Chore: Migrate methods/getRoomInfo to TS (#3695)
* migrate getRoomInfo to TS
* update room type
* update types
* Fix lint error
* Chore: Migrate getSlashCommands to TS (#3711)
* migrate getSlashCommands to TS
* use sdk and update getSlashCommands
* minor tweak
* Remove implicit anys
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate getUsersPresence to TS (#3717)
* migrate getUsersPresence to ts
* use sdk and remove this context from getUsersPresence
* Chore: Migrate loadMissedMessages to typescript (#3704)
* chore: migrate loadMissedMessages to typescript
* remove loaderItem
* remove this from functions
* Chore: Migrate methods/getRoles to Typescript (#3741)
* chore: migrate getRoles to ts
* chore: removing unused const
* chore: minor tweak
* Type batch
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate methods/loadMessagesForRoom to Typescript (#3701)
* chore: change loadMessagesForRoom to typescript
* minor tweak
* chore: minor tweaks after merge with developer
* chore: minor tweaks after merge with developer
* chore: minor tweak
* chore: minor tweaks
* Fix return
Co-authored-by: Diego Mello <diegolmello@gmail.com>
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
* Chore: Migrate methods/sendFileMessage to typescript (#3683)
* chore: start the migration
* chore: update sendFileMessage to ts
* chore: removing an `any` from uploadQueue
* chore: minor tweak
* chore: minor tweak
* chore: minor tweaks after merge with developer
* chore: minor tweak after merge develop into current
* [FIX] Differ to Last Session Authenticated (#3667)
* [FIX] Differ to Last Session Authenticated
* Added timesync
* [FIX] Differ to Last Session Authenticated
* Added timesync
* timesync tweaks
* refactor diffLastLocalSession and saveLastLocalAuthentication
* did a race
* Update comment in app/utils/localAuthentication.ts
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* refactor getServerTimeSync and when use this route
* tweak
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate methods/loadNextMessages to typescript (#3719)
* feat: update loadNextMessages to ts
* minor tweak
* chore: minor tweaks after merge with developer
* chore: migrate getFileUrlFromMessage to ts (#3734)
* [IMPROVE] Team system messages feedback (#3771) (#3772)
* almost there
* Update stories
Co-authored-by: Reinaldo Neto <47038980+reinaldonetof@users.noreply.github.com>
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Matheus Barbosa Silva <36537004+matheusbsilva137@users.noreply.github.com>
Co-authored-by: Gerzon Z <gerzonc@icloud.com>
Co-authored-by: Anant Bhasin <38764067+aKn1ghtOut@users.noreply.github.com>
Co-authored-by: Gerzon Z <gerzonzcanario@gmail.com>
Co-authored-by: lingohub[bot] <69908207+lingohub[bot]@users.noreply.github.com>
Co-authored-by: Robot LingoHub <robot@lingohub.com>
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
Co-authored-by: Danish Ahmed Mirza <77742477+try-catch-stack@users.noreply.github.com>
Co-authored-by: Reinaldo Neto <reinaldonetof@hotmail.com>
Co-authored-by: Snyk bot <snyk-bot@snyk.io>
2022-02-28 19:03:42 +00:00
|
|
|
"@testing-library/react-native": "^9.0.0",
|
2022-03-29 18:53:27 +00:00
|
|
|
"@types/bytebuffer": "^5.0.43",
|
2022-01-24 20:12:25 +00:00
|
|
|
"@types/ejson": "^2.1.3",
|
2021-10-01 18:12:19 +00:00
|
|
|
"@types/jest": "^26.0.24",
|
|
|
|
"@types/lodash": "^4.14.171",
|
|
|
|
"@types/react": "^17.0.14",
|
|
|
|
"@types/react-native": "^0.62.7",
|
2021-11-25 14:25:11 +00:00
|
|
|
"@types/react-native-background-timer": "^2.0.0",
|
2021-10-01 18:12:19 +00:00
|
|
|
"@types/react-native-config-reader": "^4.1.0",
|
|
|
|
"@types/react-native-platform-touchable": "^1.1.2",
|
|
|
|
"@types/react-native-scrollable-tab-view": "^0.10.2",
|
|
|
|
"@types/react-redux": "^7.1.18",
|
|
|
|
"@types/react-test-renderer": "^17.0.1",
|
Merge 4.25.0 into single-server (#3790)
* Chore: Migrate DefaultBrowserView to Typescript (#3488)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
* Chore: Migrate PickerView to Typescript (#3501)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate AttachmentView to Typescript (#3483)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate MarkdownTableView to Typescript (#3500)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate E2EEncryptionSecurityView to Typescript (#3489)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate E2EEnterYourPasswordView to Typescript (#3490)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate E2EHowItWorksView to Typescript (#3492)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate E2ESaveYourPasswordView to Typescript (#3493)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate ForgotPasswordView to Typescript (#3496)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate ForwardLivechatView to Typescript (#3497)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate JitsiMeetView to Typescript (#3498)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* [FIX] Push notifications user preference not syncing correctly (#3494)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* [FIX] Display prefs showing wrong header icon on tablet (#3510)
* Merge 4.22.0 into master (#3523)
* Tests: Make Detox work on Android (#3051)
* Chore: Migrate NewMessageView to Typescript (#3502)
* Chore: Migrate ScreenLockConfigView to Typescript (#3517)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate ScreenLockedView to Typescript (#3515)
* Chore: Migrate SecurityPrivacyView to Typescript (#3518)
* Chore: Migrate SelectListView to Typescript (#3519)
* Chore: Migrate SelectServerView to Typescript (#3521)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
* Chore: Migrate SetUsernameView to Typescript (#3526)
* Chore: Migrate ThemeView to Typescript (#3522)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
* Chore: Migrate StatusView to Typescript (#3527)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
* Chore: Migrate ShareListView to Typescript (#3459)
Co-authored-by: Gerzon Z <gerzonc@icloud.com>
* Chore: Migrate TeamChannelsView to Typescript (#3532)
Co-authored-by: Gerzon Z <gerzonzcanario@gmail.com>
* Language update from LingoHub 🤖 (#3529)
Project Name: Rocket.Chat.ReactNative
Project Link: https://translate.lingohub.com/rocketchat/dashboard/rocket-dot-chat-dot-reactnative
User: Robot LingoHub
Easy language translations with LingoHub 🚀
Co-authored-by: Robot LingoHub <robot@lingohub.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate react-navigation to TypeScript (#3480)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
* Bump version to 4.23.0 (#3546)
* [FIX] Certificate stops working after app update on iOS (#3537)
* [IMPROVE] Connection stability (#3531)
* [NEW] Permission for uploading files (#3505)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* [FIX] Files screen stopped listing content on server 4.2 (#3541)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate ModalBlockView to Typescript (#3503)
* Chore: Migrate ModalBlockView to Typescript
* minor tweaks
* update the navigator
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate SelectedUsersView to Typescript (#3520)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* [IMPROVE] Remove Omnichannel visitor's navigation history (#3534)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Merge 4.23.0 into master (#3574)
* [FIX] Download video/quicktime in iOS (#3581)
* Chore: Migrate Redux to Typescript PoC (#3565)
* Chore: Migrate Model's folder to Typescript (#3564)
* Chore: Migrate lib user preferences to Typescript (#3578)
* Chore: Update React Native Device Info to 8.4.8 (#3560)
* [FIX] Roles rendering on dark theme (#3589)
* fix: Add height verification to fix modal dimension (#3573)
* chore: Change the lib `@types/url-parse` to devDependencies (#3585)
* [FIX] teams.removeMembers mobile usage (#3557)
* Chore: Migrate DisplayPrefsView to Typescript (#3555)
* Chore: Migrate Utils Folder to Typescript (#3544)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
* Chore: Migrate ThreadMessagesView to Typescript (#3538)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
* [FIX] RoomInfoView displaying different info depending on the origin (#3586)
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
* [FIX] Message parser switch not updating field properly (#3576)
* [FIX] Lint not ignoring Markdown props (#3600)
* Bump version to 4.24.0 (#3601)
* Chore: Migrate notification/push to Typescript (#3587)
* chore: migrate connect to ts and add tests
* chore: add more tests
* Chore: Update react-native-device-info patch-package and pods (#3605)
* [FIX] App crashes when entering server after applying certificate (Android) (#3579)
* chore: migrate redux module encryption to typescript
* chore: migrate customEmoji to typescript and add tests
* chore: create IPreferences interface
* chore: migrate redux module sortPreferences to typescript
* chore: fix IPreference interface and organize import
* chore: migrate to typescript
* chore: migrate usersTyping to typescript
* Add DiscussionDetails and Item for DiscussionsView; update ThreadDetails, BackgroundContainer and DiscussionsView
* chore: migrate settings to typescript
* chore: add interface to IStateAplication
* chore: migrate redux module room to typescript
* update definitions
* chore: fix error on error interface
* [FIX] Joining and leaving messages in teams (#3591)
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* minor tweak
* [FIX] TypeScript's errors raised by HOCs (#3535)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* chore: migrate redux module roles to typescript
* wip: add IRoles to IAplicationState interface
* add storybooks, update snapshots and DiscussionsView
* Minor tweaks
* Fix lint
* Remove unused import
* chore: migrate redux module inviteUsers to typescript
* chore: migrate messages action to typescript
* chore: fix any interface and change null to empty string
* chore: implements IAplicationState on type
* chore: remove mapDispatchToProps and continue ts migration
* chore: fix types and apply IAplicationState to types
* Migrate redux server action/reducer to ts
* add tests
* [FIX] App crashes when opening a notification while app is closed (#3629)
* [FIX] makeThreadName asserting undefined as non-null (#3628)
* [FIX] Threads' pagination not working (#3631)
* update tests
* chore: update settings value types
* Send missing params to selectServerRequest
* [IMPROVE] Convert HEIC images to JPG and remove compression (#3633)
* update interface
* update action definition
* Move onDiscussionpress logic on message, update SearchHeader and DiscussionDetails component, add useLayoutEffect at DiscussionsView
* Update interfaces and minor tweaks to DiscussionsView screen and components
* Fix navigation logic and update interfaces
* Minor tweaks
* Undo change on project.pbxproj
* Update project.pbxproj
* Update project.pbxproj
* Remove style.ts
* Minor tweak
* update snapshots
* Merge 4.24.0 into master (#3648)
* Chore: Change console.log to console.error when logging error
* chore: add as string to fix type
* Fix lint
* fix types
* test
* Remove console.log
* test
* [FIX] StoryShots not working for async rendered components (#3677)
* remove console.log
* Add missing DiscussionsView snapshot
* fix build and useless done and async generator
* update snapshot
* Chore: fix build and useless done and async generator (#3678)
* fix build and useless done and async generator
* update snapshot
* Chore: Migrate Database to Typescript (#3580)
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate redux module permissions to typescript (#3630)
* Chore: Migrate redux module share to typescript (#3612)
* chore: migrate redux module share to typescript
* chore: fix types
* chore: update types
* chore: migrate redux module share to typescript
* remove double import
* chore: fix import
* Chore: Migrate redux module createChannel to typescript (#3602)
* chore: migrate createChannel to ts and add tests
* chore: fix naming
* chore: add more types and remove mapDispatchToProps from components
* remove todo
* update tests
* chore: migrate interface to reducer and fix errors on return
* chore: insert IApplicationState to mapStateToProps state type
* Remove spread
* fix type
* fix import and state type
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate redux module app to typescript (#3598)
* chore: migrate activeUsers reducer and action to TS
* chore: init types folder and set redux and BaseScreen interface
* chore: remove mapDispatchToProps to use dispatch prop and clear some types
* chore: type selectedUsers action and reducer and improvement in the code of other files
* chore: move IUser to base types
* chore: move state props to ISelectedUsersViewProps
* chore: create mocketStore
* chore: remove applyAppStateMiddleware
* test: create activeUser and selectedUser tests
* test: add more selectedUsers tests
* chore: fix action type
* chore: move types to definition folder and fix imports
* chore: remove unused const
* chore: migrate redux tests to reducer folder and add eslint jest plugin
* chore: exprot initial state and then import on tests
* chore: move interfaces to reducer and import on screen
* chore: set eslint-plugin-jest version to 24.7.0
* chore: fix IUser import
* chore: update interfaces and types names
* chore: update definitions
* chore: update IBaseScreen definitions
* chore: init reducer/app migration to ts
* chore: add tests and migrate RootEnum
* wip: migrate fixed consts to RootEnum
* chore: remove redux action inferences
* fix types
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate redux module createDiscussion to typescript (#3604)
* chore: migrate createDiscussion to ts and add tests
* chore: add TActionCreateDiscussion to TApplicationActions
* fix types
* update types
* fix types
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* [FIX] ios-testflight-experimental unable to find cache (#3684)
* Chore: Remove Non-null assertion operator in ThreadMessagesView (#3632)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate CannedResponsesListView to Typescript (#3553)
* Chore: Migrate CannedResponsesListView to TS
* Moved IcannedResponse to definitions and fixed the index
* Chore: Migrate CannedResponseDetail to TS
* minor tweaks
* refactor: update new types and interfaces for use ISubscription
* fix lint error and canned responses's dropdown
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate LivechatEditView to Typescript (#3499)
* Chore: Migrate LivechatEditView to Typescript
* refactor: minor tweak
* refactor: fix the interfaces for input
* refactor: fix lint erros
* minor tweak with new navigation types
* function
* iroom tweak
* livechateditview tweak
* TextInput tweak
* refactor: update new types and interfaces for use ISubscription
* refactor to default useState type
* change the component name in SearchBox
* changed state type
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Gerzon Z <gerzonc@icloud.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Regression: Message press navigating to empty RoomView (#3680)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Regression: Prevent duplicated .jpg on file upload (#3658)
* [FIX] Regression: Prevent duplicated .jpg on file upload
* refactor to all files typed as image/jpeg
* isolate regexp to function
* refactor forceJpgExtension
* clean
* minor tweak
* [FIX] Regression: Prevent duplicated .jpg on file upload
* refactor to all files typed as image/jpeg
* isolate regexp to function
* refactor forceJpgExtension
* clean
* minor tweak
* refactored comment
* Chore: Migrate lib/utils to TypeScript (#3637)
* Migrate utils to TypeScript
* Add @types/semver
* Refactor compareServerVersion(currentVersion, oldVersion, func) to compareServerVersion(current, func, oldVersion)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate readMessages to TS (#3669)
* Migrate readMessages to TS
* Update IRocketChat interface
* [FIX] Unnecessary login dispatch on adding new server (#3693)
* [FIX] Disable tap gesture on call messages (#3694)
* [IMPROVE] Keep biometry option from last session (#3668)
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
Co-authored-by: Reinaldo Neto <reinaldonetof@hotmail.com>
* Fix reactotron multiple connections (#3622)
* Chore: Fix rocketchat interface (#3705)
* Chore: Migrate logout to Typescript (#3688)
* [NEW] Stream to get individual presence updates (#3606)
Co-authored-by: Gerzon Z <gerzonzcanario@gmail.com>
* [FIX] Inject Redux store to prevent/remove require cycles (#3691)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate lib/rocketchat.js to TS - structure PoC (#3661)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
* [FIX] #3606 merged using wrong JS SDK branch (#3709)
* [FIX] Remove deprecated database methods and other database operations (#3686)
* Fix PK error on subscriptions/room
* Instead of checking for pending update, wrap the call on a try catch and return null in case of error
* Generate delete operations before create/update to prevent errors
* Apply same logic on encryption
* Fix database operations on getRoles
* Fix a few database issues found on Bugsnag on ThreadMessagesView
* Run prettier :(
* Chore: Add REST API definitions from server (#3721)
* create first definitions
* chore: implements get and post types
* fix lint
* add ts-ignore
* add teams.removeRoom method
* Remove unused endpoints
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Move some methods to SDK (#3736)
* [IMPROVE] Add support for ephemeral messages inside threads (#3687)
* Chore: dehydrate small server requests away from rocketchat.js (#3740)
* Bump version to 4.25.0 (#3745)
* [Snyk] Security upgrade url-parse from 1.5.1 to 1.5.6 (#3746)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-URLPARSE-2401205
* Language update from LingoHub 🤖 on 2022-02-14Z (#3730)
* Language update from LingoHub 🤖
Project Name: Rocket.Chat.ReactNative
Project Link: https://translate.lingohub.com/rocketchat/dashboard/rocket-dot-chat-dot-reactnative
User: Robot LingoHub
Easy language translations with LingoHub 🚀
* remove draft gl
Co-authored-by: Robot LingoHub <robot@lingohub.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate methods/getSingleMessage to TS (#3700)
* migrate getSingleMessage to TS
* minor tweak
* Chore: Migrate methods/getRooms to TS (#3702)
* migrate getRooms to TS
* add sdk and set any types
* Moved the new variable around and added ts-ignore to follow the pattern from /services/restApi.ts
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate updateMessages to Typescript (#3715)
* Chore: Migrate selector/login to TS (#3731)
* migrate selector/login to TS
* Fix lint errors
* set aliases for returns
* Chore: Migrate helpers/parseUrls to Typescript (#3735)
* Chore: Migrate methods/helpers/parseQuery to Typescript (#3742)
* Chore: Migrate methods/helpers/parseQuery to Typescript
* tweak in example
* Chore: Migrate app/commands to typescript (#3697)
* Chore: Migrate lib/encryption folder to TypeScript (#3639)
* Initial commit
* add types/bytebuffer, add type definitions to params and update interfaces
* add more types and type assertions
* update types
* change bang operator by type assertion and update class variables definitions
* add types for deferred class
* minor tweaks on types definitions
* add ts-ignore
* Update encryption.ts
* update deferred and encryption
* update encryption.ts
* Update room.ts
* update toDecrypt type
* initialize sessionKeyExportedString
* remove return types
* Chore: Migrate redux actions/enterpriseModules to TS (#3698)
* migrate enterpriseModules to TS
* update test file
* Chore: Migrate database/services and database/utils to TS (#3708)
* migrate database services and utils to ts
* Migrate tests
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate buildMessage to TS (#3732)
* migrate buildMessage to TS
* Fix lint
* minor tweak
* minor tweaks
* Chore: Migrate getPermissions to Typescript (#3720)
* Migrating...
* Fix IPermission
* Playing with types
* Remove `as const`
* Fix lint
* Fix test
* Apply sdk
* Fix lint and autocomplete
* [FIX] Add search and fix pagination for omnichannels departments (#3621)
* [FIX] Search and pagination for omnichannels departments
* pagination complete
* minor tweak
* renamed a param and workaround for a ux bug
* fix style of flatlist and search as header scrollable
* stick the header
* Merge branch 'fix.forward-department-list' of https://github.com/RocketChat/Rocket.Chat.ReactNative into fix.forward-department-list
* refactor pagination
* fix value type
* refactor render search
* refactor layout
* make ts happy
* Chore: Migrate Markdown to Typescript (#3558)
* Chore: Migrate Markdown to TS
* Chore: Migrate Markdown to TS
* minor tweak
* added preview where markdown was preview and fixed params within markdown
* removed ts-ignore
* fix lint
* removed numbersofline={0} and default value to numberOfLines=1
* change how to import markdown preview and remove numberOfLines
* using useTheme inside markdownPreview and remove theme from components
* minor tweak on interfaces
* isNewMarkdown return as boolean
* minor tweaks
* minor tweaks
* removed unused component
* fixed markdown stories
* updated snapshot because removed numberOfLines={0} from message/content
* create IEmoji.ts in definitions and refactor all places where getCustomEmoji was called
* onLinkPress typed
* todo: refactor navtoroominfo
* formatText.test.ts
* markdown stories to typescript too
* minor tweak
* IMessage definition
* refactor: update new types and interfaces for use ISubscription
* refactor: update threadItem for use new MarkdownPreview
* refactor: rollback wrong file commited
* formatHyperlink
* fix lint
* updated item story shot
* refactor and refactor some types
* Remove non-null assertion
* Minor change on useRealName
* tweak
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate methods/callJitsi to typescript (#3660)
* chore: migrate callJitsi to typescript
* change fixed string to type
* wip
* wip
* back to old times :)
* back to typescript
* Chore: Migrate redux module room to typescript (#3636)
* chore: migrate redux module room to typescript and remove dispatch on dependencies
* chore: add tests to redux module room
* chore: create ERoomType and use on implemention
* chore: update enum name
* fix test id
* Chore: Migrate redux module login to typescript (#3647)
* chore: migrate redux module login to typescript
chore: update redux module login tests
* update workers
* wip
* fix type
* remove partial
* add more status
* migrate the rest of the stuff to typescript
* fix tests and types
* fix types and tests
* Chore: Migrate method getSettings to typescript (#3703)
* chore: migrate getSettings to typescript and and some types
* chore: remove this and add current to code
* chore: add current
* Chore: Migrate getCustomEmojis to TS (#3724)
* update customEmoji interface and getCustomEmoji
* add sdk
* updated emojiCustom rest definition
* minor refactor
* update params object
* [FIX] getRooms request using param with wrong name (#3761)
* Chore: Migrate methods/getRoomInfo to TS (#3695)
* migrate getRoomInfo to TS
* update room type
* update types
* Fix lint error
* Chore: Migrate getSlashCommands to TS (#3711)
* migrate getSlashCommands to TS
* use sdk and update getSlashCommands
* minor tweak
* Remove implicit anys
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate getUsersPresence to TS (#3717)
* migrate getUsersPresence to ts
* use sdk and remove this context from getUsersPresence
* Chore: Migrate loadMissedMessages to typescript (#3704)
* chore: migrate loadMissedMessages to typescript
* remove loaderItem
* remove this from functions
* Chore: Migrate methods/getRoles to Typescript (#3741)
* chore: migrate getRoles to ts
* chore: removing unused const
* chore: minor tweak
* Type batch
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate methods/loadMessagesForRoom to Typescript (#3701)
* chore: change loadMessagesForRoom to typescript
* minor tweak
* chore: minor tweaks after merge with developer
* chore: minor tweaks after merge with developer
* chore: minor tweak
* chore: minor tweaks
* Fix return
Co-authored-by: Diego Mello <diegolmello@gmail.com>
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
* Chore: Migrate methods/sendFileMessage to typescript (#3683)
* chore: start the migration
* chore: update sendFileMessage to ts
* chore: removing an `any` from uploadQueue
* chore: minor tweak
* chore: minor tweak
* chore: minor tweaks after merge with developer
* chore: minor tweak after merge develop into current
* [FIX] Differ to Last Session Authenticated (#3667)
* [FIX] Differ to Last Session Authenticated
* Added timesync
* [FIX] Differ to Last Session Authenticated
* Added timesync
* timesync tweaks
* refactor diffLastLocalSession and saveLastLocalAuthentication
* did a race
* Update comment in app/utils/localAuthentication.ts
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* refactor getServerTimeSync and when use this route
* tweak
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate methods/loadNextMessages to typescript (#3719)
* feat: update loadNextMessages to ts
* minor tweak
* chore: minor tweaks after merge with developer
* chore: migrate getFileUrlFromMessage to ts (#3734)
* [IMPROVE] Team system messages feedback (#3771) (#3772)
* almost there
* Update stories
Co-authored-by: Reinaldo Neto <47038980+reinaldonetof@users.noreply.github.com>
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Matheus Barbosa Silva <36537004+matheusbsilva137@users.noreply.github.com>
Co-authored-by: Gerzon Z <gerzonc@icloud.com>
Co-authored-by: Anant Bhasin <38764067+aKn1ghtOut@users.noreply.github.com>
Co-authored-by: Gerzon Z <gerzonzcanario@gmail.com>
Co-authored-by: lingohub[bot] <69908207+lingohub[bot]@users.noreply.github.com>
Co-authored-by: Robot LingoHub <robot@lingohub.com>
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
Co-authored-by: Danish Ahmed Mirza <77742477+try-catch-stack@users.noreply.github.com>
Co-authored-by: Reinaldo Neto <reinaldonetof@hotmail.com>
Co-authored-by: Snyk bot <snyk-bot@snyk.io>
2022-02-28 19:03:42 +00:00
|
|
|
"@types/semver": "^7.3.9",
|
2022-03-29 18:53:27 +00:00
|
|
|
"@types/ua-parser-js": "^0.7.36",
|
2022-01-24 20:12:25 +00:00
|
|
|
"@types/url-parse": "^1.4.6",
|
2021-10-01 18:12:19 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.28.3",
|
|
|
|
"@typescript-eslint/parser": "^4.28.5",
|
|
|
|
"axios": "0.21.1",
|
|
|
|
"babel-jest": "^27.0.6",
|
|
|
|
"babel-plugin-transform-remove-console": "^6.9.4",
|
2022-03-29 18:53:27 +00:00
|
|
|
"codecov": "^3.8.3",
|
2021-10-01 18:12:19 +00:00
|
|
|
"detox": "18.17.0",
|
|
|
|
"eslint": "^7.31.0",
|
|
|
|
"eslint-config-prettier": "^8.3.0",
|
|
|
|
"eslint-plugin-import": "2.22.0",
|
2022-01-24 20:12:25 +00:00
|
|
|
"eslint-plugin-jest": "24.7.0",
|
2021-10-01 18:12:19 +00:00
|
|
|
"eslint-plugin-jsx-a11y": "6.3.1",
|
|
|
|
"eslint-plugin-react": "7.20.3",
|
|
|
|
"eslint-plugin-react-native": "3.8.1",
|
|
|
|
"husky": "^6.0.0",
|
|
|
|
"identity-obj-proxy": "^3.0.0",
|
|
|
|
"jest": "^27.0.6",
|
|
|
|
"jest-cli": "^27.0.6",
|
|
|
|
"metro-react-native-babel-preset": "^0.64.0",
|
|
|
|
"mocha": "9.0.1",
|
|
|
|
"otp.js": "1.2.0",
|
|
|
|
"patch-package": "6.4.7",
|
|
|
|
"prettier": "^2.3.2",
|
|
|
|
"react-dom": "17.0.1",
|
|
|
|
"react-test-renderer": "17.0.1",
|
|
|
|
"reactotron-redux": "3.1.3",
|
|
|
|
"reactotron-redux-saga": "4.2.3",
|
|
|
|
"typescript": "^4.3.5"
|
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"testPathIgnorePatterns": [
|
|
|
|
"e2e",
|
|
|
|
"node_modules"
|
|
|
|
],
|
|
|
|
"transformIgnorePatterns": [
|
|
|
|
"node_modules/(?!(jest-)?@?react-native|@react-native-community|@react-navigation)"
|
|
|
|
],
|
|
|
|
"preset": "react-native",
|
|
|
|
"coverageDirectory": "./coverage/",
|
|
|
|
"collectCoverage": true,
|
|
|
|
"moduleNameMapper": {
|
|
|
|
".+\\.(css|styl|less|sass|scss)$": "identity-obj-proxy",
|
|
|
|
".+\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js"
|
|
|
|
},
|
|
|
|
"transform": {
|
|
|
|
"^.+\\.js$": "<rootDir>/node_modules/react-native/jest/preprocessor.js"
|
2022-03-29 18:53:27 +00:00
|
|
|
},
|
|
|
|
"setupFilesAfterEnv": [
|
2022-03-31 13:04:21 +00:00
|
|
|
"@testing-library/jest-native/extend-expect",
|
|
|
|
"./jest.setup.js"
|
2022-03-29 18:53:27 +00:00
|
|
|
]
|
2021-10-01 18:12:19 +00:00
|
|
|
},
|
|
|
|
"snyk": true,
|
|
|
|
"engines": {
|
|
|
|
"node": ">=8.x",
|
|
|
|
"npm": ">=4.x"
|
|
|
|
},
|
|
|
|
"detox": {
|
|
|
|
"runner-config": "e2e/.mocharc.json",
|
|
|
|
"specs": "e2e/tests",
|
|
|
|
"configurations": {
|
|
|
|
"ios.sim.debug": {
|
|
|
|
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/Rocket.Chat Experimental.app",
|
|
|
|
"build": "xcodebuild -workspace ios/RocketChatRN.xcworkspace -scheme RocketChatRN -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build",
|
|
|
|
"type": "ios.simulator",
|
|
|
|
"device": {
|
|
|
|
"type": "iPhone 11 Pro"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"ios.sim.release": {
|
|
|
|
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/Rocket.Chat Experimental.app",
|
|
|
|
"build": "xcodebuild -workspace ios/RocketChatRN.xcworkspace -scheme RocketChatRN -configuration Release -sdk iphonesimulator -derivedDataPath ios/build",
|
|
|
|
"type": "ios.simulator",
|
|
|
|
"device": {
|
|
|
|
"type": "iPhone 11 Pro"
|
|
|
|
},
|
|
|
|
"artifacts": {
|
|
|
|
"plugins": {
|
|
|
|
"screenshot": {
|
|
|
|
"enabled": true,
|
|
|
|
"shouldTakeAutomaticSnapshots": true,
|
|
|
|
"keepOnlyFailedTestsArtifacts": true,
|
|
|
|
"takeWhen": {
|
|
|
|
"testStart": true,
|
|
|
|
"testDone": true,
|
|
|
|
"appNotReady": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-12-24 13:12:49 +00:00
|
|
|
},
|
2022-03-29 18:53:27 +00:00
|
|
|
"android.emu.debug": {
|
2021-12-24 13:12:49 +00:00
|
|
|
"device": "Pixel_API_28_AOSP",
|
|
|
|
"type": "android.emulator",
|
|
|
|
"binaryPath": "android/app/build/outputs/apk/e2ePlay/debug/app-e2e-play-debug.apk",
|
|
|
|
"build": "cd android && ./gradlew app:assembleE2ePlayDebug app:assembleE2ePlayDebugAndroidTest -DtestBuildType=debug && cd .."
|
|
|
|
},
|
2022-03-29 18:53:27 +00:00
|
|
|
"android.emu.release": {
|
2021-12-24 13:12:49 +00:00
|
|
|
"device": "Pixel_API_28_AOSP",
|
|
|
|
"type": "android.emulator",
|
|
|
|
"binaryPath": "android/app/build/outputs/apk/e2ePlay/release/app-e2e-play-release.apk",
|
|
|
|
"build": "cd android && ./gradlew app:assembleE2ePlayRelease app:assembleE2ePlayReleaseAndroidTest -DtestBuildType=release && cd .."
|
2021-10-01 18:12:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-08-03 18:23:43 +00:00
|
|
|
}
|