Merge 4.21.0 into single-server#3468
Merged
Merged
Conversation
* Use setTimeout instead of InteractionManager * Update tracking lib
* Make hardware back button to behave as home button on root screens * Remove unnecessary code * Remove handleBackPress from OnboardingView * Fix lint
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* I18n key fix * Add encrypted switch * Remove unused i18n keys * Add enabled to encryption reducer * Show encrypted option on CreateDiscussionView only when e2e encryption is properly set * Add localSearch and use it on search * Use encrypted from parent channel * Fix method calls as rest api with 2fa enabled * Fix logout after reset keys * Use encryption reducer instead of lib directly to check render * Check for room type logic to display encryption option on create discussion * Check toggle-room-e2e-encryption permission on RoomActionsView * Check for encryption status instead of setting on server * Fix * Disable switch instead of hide it * Fix spotlight for DMs * Fix server test
* Changing auxilaryTintColor * Changed Placeholder color to BodyText color * added color prop * eslint changes * used array for styles Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Update ar.js * Update ar.js Co-authored-by: Diego Mello <diegolmello@gmail.com>
* [FIX] Translation of strings in Login page * Strings are added for translation. fixes: #2620 * Add pt-BR Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Update rocketchat.js * Updated search function * Minor improvements * Remove atIndex * Add remove logic to remove duplicate data from response Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Updated ServerDropdown and ServerItem * Added ServerItem stories * Update ServerDropdown.js * Updated ServerItem stories * Updated ServerItem stories and ServerItem component * Updated SelectServerView, ServerItem and ServerItem stories * Updated ServerItem stories * Updated ServerItem stories * Update tests Co-authored-by: Diego Mello <diegolmello@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Turkish language support added * Update tr.js Co-authored-by: Diego Mello <diegolmello@gmail.com>
* [FIX] Wrong styling on E2E encryption banner * [FIX] Wrong styling on E2E encryption banner * [FIX] Wrong styling on E2E encryption banner * [FIX] Wrong styling on E2E encryption banner (#2767) * Updated SortDropdown, ListHeader, ListItem and added stories for List.Item * Updated SortDropdown * Removed unused component * Updated List.Item and stories * Reverted unnecessary changes and updated ListItem stories * Fix minor indentation * Stop breaking Touch's default underlay color * Fix indentation * Remove falsy comparison from render * Fix left icon * Use List.Item on OmnichannelStatus * Add missing separator * Lint * Fix sort dropdown * Remove unnecessary styles * Fix detox Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Remove unnecessary class prop * Stop rendering servers when there's only one * Map and alloc only necessary columns from query * Fetch servers count instead of all servers records * Fetch only needed servers * Separators * Remove renderContent * Minor fix * Refactor query * Smaller avatars in memory * Fix getItemLayout * Add topic * Load less pods * tests * Import only used functions from lodash * Fix pods * Import only used functions from semver * Fix media sharing * Update pods * Disables preview and thumb on iOS * Update expo-video-thumbnail * Unnecessary change
…2854) * Fixed logout toast bug for the iOS * Removing callToAction and replacing with confirmationText Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Update InAppNotification and room reducer * Update InAppNotification This reverts commit 60330a1. * Stop subscribing to threads * Remove ref * Fix prop-types Co-authored-by: Diego Mello <diegolmello@gmail.com>
Co-authored-by: Gerzon Z <gerzonc@icloud.com> Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Remove unnecesary share reducer calls * Update Avatar Co-authored-by: Diego Mello <diegolmello@gmail.com>
* [FIX] breadcrumbs exceeding * fix.breadcrumbs-exceeding-change-events Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Update index.js * Update index.js
Co-authored-by: Diego Mello <diegolmello@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Added backdropOpacity based on theme * Updated ActionSheet, ReactionsModal, ReactionPicker and Sidebar * Updated MultiSelect Co-authored-by: Diego Mello <diegolmello@gmail.com>
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* chore: update the libraries `expo-av` and `expo-keep-awake` * chore: update the library `expo-file-system` * chore: update the library `expo-haptics` * chore: update the library `expo-local-authentication` * chore: update the library `expo-video-thumbnails` * chore: update the library `expo-web-browser` * chore: update the library `expo-apple-authentication` * chore: update the library `react-native-unimodules`
* Add message parser to profile view and db * Add md to db * Remove changes to Xcode project * Remove message-parser lib and add enable message parser field to User model * Fix message parser * Remove admin enableMessageParserEarlyAdoption * Add NewMarkdown component * Remove NewMarkdown component and add specific components for new message parser * Add new parser components * Fix BigEmoji * Updated components and added more Code components * update components and add storybooks * Update Code component and add it to storybooks * Update Mention component * Minor tweaks * Add server message parser validation * Renamed folder, add @rocket.chat/message-parser, migrate some files to TypeScript * Migrate components to TypeScript and fix styling * Change interfaces and add TaskListComponent and styles * Fix new markdown and styles * Fix inlinecode * Stop using server setting * Use enableMessageParserEarlyAdoption on mapStateToProps * Remove React.FC * add link to bold, italic and strike * Update parser components * Fix missing components * Minor tweak * Fix lint and add getCustomEmojis * Fix customEmojis * Update emojis * Minor tweak * disconnect markdown from store * Use @rocket.chat/message-parser@0.30.0 * Fix link style * Unify lists and styles * Remove style prop * Use big emoji as a normal token * Remove unnecessary memo * Fix code styles * Update tests * Conditionally create renderer * Use Context instead of prop drill * Fix Link component * Fix plain text regression and update tests Co-authored-by: Diego Mello <diegolmello@gmail.com>
* [FIX] swipe when the user is joined and not when isn't * Added a new conditional to check if is swipeble or not * Minor tweaks Co-authored-by: Diego Mello <diegolmello@gmail.com>
* [FIX] Conditional to compare the server version and filter or not the system messages * instead of lowerThanOrEqualTo using lowerThan * To do a reactive message list * minor tweaks Co-authored-by: Gerzon Z <gerzonc@icloud.com> Co-authored-by: Diego Mello <diegolmello@gmail.com>
* [NEW] Flow to resend email confirmation from mobile * Hooks * theme * minor tweak * refactor: improving withTheme ts * minor tweaks Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
* [FEATURE] Pull down to refresh read receipts This commit introduces a new feature to allow users to pull down to refresh read receipts. * Support pull down to refresh when we renderEmpty This adds support for the pull-down refresh to work when there are no read receipts yet. * Removed extra new lines added while debugging. * Minor polishing Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Initial commit * Update interface * Minor tweaks * Update FormContainer.tsx * Minor tweaks * update snapshots * Update TextInput interface * Update snapshots * Merge branch 'develop' into chore.migrate-loginview-ts * Minor tweak
* Chore: Migrate InviteUsersView to ts * minor tweaks * minor tweak Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
* start migration to typescript * update interface for RegisterView and TextInput * Update types TextInput * Minor tweak * Update TextInput interface * Minor change * Update FormContainer.tsx * Minor tweaks * style: adding ts-ignore to fix later * Minor tweak * update storyshots * Update TextInput interface * Minor tweak * Update snapshots Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com> Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Migrate AuthenticationWebView to Typescript * minor tweak * added @types/url-parser
* Chore: Migrate NewServerView to Typescript * fix one alert lgtm * Item.tsx * export interface and try to rewrite write instead action * minor tweak * minor tweak * refactor: change the type of username to connectServer * refactor scaling * minor tweak Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
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>
* Initial commit * Fix interface * Unrequired change on onPress/onSubmit
* [FIX] deeplinking to thread * fix how to find threadId * tmid as route params jumpToThreaId * minor tweak * minor tweak on logic * E2E Test * minor tweak * wait for the return of the thread * Minor refactor * Fix e2e tests for docker * popToRoot when focused and there is a jumpToThread Co-authored-by: Diego Mello <diegolmello@gmail.com>
* unlink watermelondb * Minor change on archs Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Use older preview logic * Stories
* Fix different token types inside list items * Fixing more styles * Update tests Co-authored-by: Gerzon Z <gerzonc@icloud.com>
# Conflicts: # .prettierignore # __tests__/__snapshots__/Storyshots.test.js.snap # android/app/build.gradle # android/build.gradle # android/gradle.properties # app.json # app/containers/ActionSheet/ActionSheet.tsx # app/containers/Avatar/Avatar.tsx # app/containers/FormContainer.tsx # app/containers/TextInput.tsx # app/containers/markdown/AtMention.tsx # app/containers/markdown/Hashtag.tsx # app/containers/markdown/index.tsx # app/containers/markdown/styles.ts # app/containers/message/Content.tsx # app/containers/message/index.tsx # app/containers/message/interfaces.ts # app/containers/message/styles.ts # app/ee/omnichannel/views/QueueListView.js # app/i18n/locales/ar.json # app/i18n/locales/de.json # app/i18n/locales/en.json # app/i18n/locales/es-ES.json # app/i18n/locales/fr.json # app/i18n/locales/it.json # app/i18n/locales/ja.json # app/i18n/locales/nl.json # app/i18n/locales/pt-BR.json # app/i18n/locales/pt-PT.json # app/i18n/locales/ru.json # app/i18n/locales/tr.json # app/i18n/locales/zh-CN.json # app/i18n/locales/zh-TW.json # app/lib/database/model/servers/User.js # app/lib/database/model/servers/migrations.js # app/lib/database/schema/app.js # app/lib/database/schema/servers.js # app/lib/methods/getPermissions.js # app/lib/rocketchat.js # app/presentation/ImageViewer/ImageViewer.android.tsx # app/presentation/RoomItem/Actions.tsx # app/presentation/RoomItem/LastMessage.tsx # app/presentation/RoomItem/RoomItem.tsx # app/presentation/RoomItem/Touchable.tsx # app/presentation/RoomItem/TypeIcon.tsx # app/presentation/RoomItem/Wrapper.tsx # app/presentation/RoomItem/index.tsx # app/presentation/RoomItem/styles.ts # app/presentation/TextInput.tsx # app/sagas/createChannel.js # app/sagas/deepLinking.js # app/sagas/init.js # app/sagas/login.js # app/stacks/InsideStack.js # app/stacks/OutsideStack.js # app/theme.tsx # app/utils/log/events.js # app/utils/scaling.js # app/views/AuthLoadingView.js # app/views/AuthenticationWebView.js # app/views/CreateChannelView.js # app/views/InviteUsersView/index.js # app/views/InviteUsersView/styles.js # app/views/LegalView.js # app/views/LoginView.js # app/views/NewMessageView.js # app/views/NewServerView/ServerInput/Item.js # app/views/NewServerView/ServerInput/index.js # app/views/NewServerView/index.js # app/views/ReadReceiptView/index.js # app/views/RegisterView.js # app/views/RoomMembersView/index.js # app/views/RoomView/List/index.js # app/views/RoomView/RightButtons.js # app/views/RoomView/index.js # app/views/RoomsListView/Header/Header.js # app/views/RoomsListView/Header/index.js # app/views/RoomsListView/ListHeader/index.js # app/views/RoomsListView/SortDropdown/index.js # app/views/RoomsListView/index.js # app/views/SearchMessagesView/index.js # app/views/SettingsView/index.js # app/views/TeamChannelsView.js # app/views/UserPreferencesView/index.js # app/views/WorkspaceView/ServerAvatar.js # app/views/WorkspaceView/index.js # babel.config.js # e2e/data.js # e2e/data/data.docker.js # e2e/helpers/data_setup.js # e2e/tests/assorted/11-deeplinking.spec.js # ios/Podfile.lock # ios/RocketChatRN.xcodeproj/project.pbxproj # ios/RocketChatRN/Info.plist # ios/ShareRocketChatRN/Info.plist # package.json # storybook/stories/Markdown.js # storybook/stories/RoomItem.js # storybook/stories/index.js # yarn.lock
|
This pull request introduces 2 alerts and fixes 4 when merging fad2521 into 450a38c - view on LGTM.com new alerts:
fixed alerts:
|
ivnxyz
pushed a commit
to NextiaDev/Rocket.Chat.ReactNative
that referenced
this pull request
May 26, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed changes
Issue(s)
How to test or reproduce
Screenshots
Types of changes
Checklist
Further comments