* fix: replying with a quote to a image with custom emoji in description
* remove the styles from custom emojis and deleted the removeMargins from styles
* add a new storyshot test for attachment with custom emoji
* [FIX] Update the number of members from a room
* update the subscription users count inside room actions view
* remove console.log
* added e2e test
---------
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
* add teams to action screen
* keep it the old way
* fix test id
* back to old one rule
* fix team tests
* fix moveconvert test
* remove skip from room.spec
* fix shared config doc
* remove skip from broadcast.spec
* [FIX] Scroll the pages Directory, New Message, Search for Rooms, Messages and Threads
* flex for the flatlist
* minor tweak at roomslistview and remove the keyboard from directoryview
---------
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
* [FIX] Possibility to use the External Provider URI with query
* minor tweak
---------
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
* [NEW] Change Avatar View
* change avatar view and avatar suggestion
* avatar Url
* change avatar for profile it's done, missing fix revalidate the avatar in profile and drawer
* pick image
* clean profile view
* Finished the profile and fixed the avatar when change the user profile
* fix the profile update through all the app
* refactor avatar suggestion
* fix the delete from rooms and finished RoomInfoView, missing RoomInfoEditView
* room info edit view
* ipad navigation
* refactor the submit function
* refactor the e2e test
* minor tweak with themes and buttons
* minor tweak in edit button
* minor tweaks
* tweak IAvatarContainer
* fixing pt-br
* removed the avatarETagUser and search by username and text
* created the useHooke useAvatarETag
* fix lint
* refactor image.ts and test
* refactor avatar component
* fix the edit button
* refactor useAvatarETag
* fix the pt-br translation
* minor tweak tests
* back handleError to views and refactor the submit
* avatar suggestion item
* types for change avatar view context
* fix avatar on header for tablets
* minor tweak changeavatarview
* refactor avatar url to use hook form
* tweak on yup validation
* minor tweak with handle error
* minor tweak
* minor tweak
* interface avatar container
* minor tweak
* Refactor all the changeAvatarView and fix how to test the image url
* fixed the layout
* minor refactor
* minor tweaks
* fix the visual bug when the user change the avatar to new then clear cache
* fix the flicker when upload an image
* update package.json
* test the reset, discard alert, cancel and discard
* separate the avatar test from profile and create new tests for change avatar
* mock imagepicker
* minor tweak, adding console and add echo to config.yml
* use RUNNING_E2E_TESTS as env to other files
* exprt env at android build
* change the to way to set the running e2e test env
* update test
* delete the .env and update the e2e/readme and the file review
* minor tweak
* minor tweak
* update the test, fixing how to dismiss the keyboard
---------
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
* [NEW] Quotes on E2EE Messages
* parser inside the model
* refactor and tweaks
* minor tweak
* add e2e tests to test the e2e quotes
* update storyshot
* added the test for quoted message
---------
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
* [FIX] Link preview with embed image
* refactor the location
* refactor and added test
* minor tweak
* image test
* fix the MessageURl showing when there isn't hasContent or imageUrl
* refactor how to test if it's an image
* update tests
* keep the same behavior for android and ios
* refactor
* update storyshot
* minor tweak, pass hasContent and imageLoadedState instead of style
* remove react memo from urlImage
* merge urlimage inside url
* minor tweak useTheme
---------
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
* rename CallAgainActionSheet to StartACallActionSheet
* remove useVideoConf and use videoConfJoin directly
* consider phone on calls
* fix text shrink
* fix mic audio
* change the behavior of call icon on header and RoomInfo
* update types
* update types and variables names
* revert old type
* fix issue on old servers
* rename to a correct naming
* fix translation
* revamp call icon
* add error handling to videoconf capabilities
* lint
* fix role logic
* change const name
* rename comp
* remove commented code
* fix types and apply correct logic
* fix naming
* correct the import
* update icon size
* create timer function for videoConf bellow 5.0
* add subscription to useVideoConf hook
---------
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* [FIX] Omnichannel's icon svg fallback when the link returns an error
* add activity indicator
* switch between activity indicator to custom icon
* reuse the same component as const
* [FIX] "Allow Reaction" does not work properly on "Read Only" rooms
* fix the handle of message box
---------
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
* fix regression on plain text
* update stories
* fix where to add the color
* fit content taskList
---------
Co-authored-by: Reinaldo Neto <reinaldonetof@hotmail.com>
* [FIX] Quote rendering with leading empty space on mobile only
* update the message storyshot
* compareServerVersion to connection string
* fix time
* fix lint
* update to servers greater or equal than 6.0
* refactor tests
* minor tweak
---------
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
* Language update from LingoHub 🤖
Project Name: Rocket.Chat.ReactNative
Project Link: https://translate.lingohub.com/rocketchat/dashboard/rocket-dot-chat-dot-reactnative
User: Diego Mello
Easy language translations with LingoHub 🚀
* Add sv and fi
* Add missing locales to util
* Reorder languages
Co-authored-by: Diego Mello <diego.mello@rocket.chat>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* update style to match other spaces
* fix sending the same file in different rooms and add the limit for sending the same file
* remove when error happens and cant finish the upload
* use the same variable as rocket.chat
* minor tweak upload path and removed _raw
* change from 2 to 4
Co-authored-by: Reinaldo Neto <reinaldonetof@hotmail.com>
Co-authored-by: Reinaldo Neto <47038980+reinaldonetof@users.noreply.github.com>
* [FIX] Cannot read property 'fetch' of undefined on ThreadMessagesView
* added e2e test
* change from _raw to _id
* test thread messages view with a thread created
* reset from room to room
* jump from room to room it's fine
* threads ipad
* fix ts roomslistview
* remove params
* fix the ipad highlight
* jump to a message from a thread to main room
* the reset within the goRoom
* create channel
* changes in canned response
* fix discussion navigation
* navigation newmessageview to users
* fix go room from room info view
* inappnotification, deeplinking, room.js
* change from room.rooms to room.subscribed
* minor tweak jumptomessage
* fix add existing channel to team and fixing test 02 of teams
* keep the same behavior after add existing channel
* keep the same behavior after add existing channel
* clean cosole
* changes requested about the name
* inapp redux to hooks
* added a comment to addexistingchanneltoteam
* minor tweak jumptomessage
* refactor goRoom to add the param popToRoot, also refactor the navigate in deeplinking too
* refactor other places that exist goRoom
* fix the didUpdate
* added in app notification test
* clean js
* minor tweak test
* [FIX] Non primitive dependency on useSubscriptionRoles
* removed sort
* Remove JSON.parse and order by array
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* border radius complete
* increase to chip
* Apply in missing places
* tweak slash command and update test
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* [NEW] Emphasis Elements (italic, strike and bold) in Message Parser Components
* update storyshot
* minor tweak and remove of isLink
* Add theme provider to new md stories
* Cleanup
* Update tests
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* [IMPROVE] Spotlight users order
* minor tweak query
* minor tweak removing query and using regex
* minor tweak
* minor tweak, make ts happy
* fix the ts
* fix lint and type TSearch
* button ignore and pased the param
* load room from database and check is is ignored
* move handleIgnore to lib/method/helpers
* Ignore and Unignore, also reactivity
* block and unblock user
* pass fromRid from actionView to InfoView too
* remove console.log
* unsubscribe subscriptionFrom
* block and unblock user from dm
* test to block user and ignore user
* minor tweak
* tweak data
* minor tweak
* add test before tapBack
* refactor names
* [FIX] Apply thicker border width and remove fixed height on TextInput
* changed the last input border from hairline to 2
* update formtextinput storyshot test
* [FIX] Decrease space between sections on List
* minor tweak listcontainer
* update test
* Small fixes for header/info
* Update tests
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Chore: Hooks app/views/ForgotPasswordView
* validating email and using hook forms
* using mode onCHange
* add return
* fix theme
Co-authored-by: Gleidson Daniel <gleidson10daniel@hotmail.com>
* [IMPROVE] Remove show message in main thread preference
* default settings
* created the get
* fix compare server version
* fix E2E tests
* settings to logged user
* remove constant and get alsosendtochannel from user
* fix send to channel first message
* fix when the alsoSendThreadToChannel is checked
* added list picker user preference
* tweaks in messagebox tmid and detox
* added pt-br and deleted expectToBeVisible id
* reactive alsoSendThreadTOChannel
* fix the behavior when press or long press threads messages
* remove reply in thread from threads
* clean helpers detox
* tweak onMessageLongPress and onSubmit
* Remove unnecessary calculations inside ListPicker
* Fix long press logic
* Fix onReplyInit logic
* fix data_setup at detox for servers greater than 5.0
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* [FIX] Duplicate members in a Room's member's list
* fix search and pagination
* fix the pagination for server lower than 3.16
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
* remove navigation obligatory
* remove the obliglatory to use theme with the withTheme HOC
* migrate E2EHowItWorksView to hooks
* remove navigate options
* adds non-null assertion because theme is injected
* create basic useEndpointData for call endpoints using hooks
* remove cache
* create base for useEndpointData test
* create basic useEndpointData for call endpoints using hooks
* remove cache
* create base for useEndpointData test
* fix preset
* update tests
* change order
* create ErrorResult and add error to return
* update tests
* [IMPROVE] Add emoji picker to iOS
* clean left and right buttons
* fix the redux in emojipicker
* fix behavior when emoji keyboard is openning
* added isIOS
* fix show reactions when emoji is open
* minor tweak
* add provider
* fix baseurl
* minor tweak
* create closeEmojiAndAction and added to record
* fix actionsheet for omnichannel
* fix action sheet
* fix close emoji when navigate to other screen
* added iactionsheetprovider to roomview
* clean variables
* fix theme
* close the emojikeyboard when click on message
* apoint package.json to new pr
* fix branch
* fix package.json
* [IMPROVE] Support for tag request close
* clean up
* refactor isObrigatory and value
* fix obligatory
* removed onSubmitEditing
* create closelivechatview
* Refactor Close Omnichannel from ActionSheet to a new Screen
* Fix navigation
* fix screen title
* back to before actionsheetwithinput
* added string in pt-br
* refactor canSubmit
* fix the method closeRoom
* comment of server's version
* some tweaks
* Update app/lib/services/restApi.ts
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
* Migrate UIKit/MultiSelect to ActionSheet
* Fix no options initially on CreateDiscussion view
* Change backgroundColor and use colors from useTheme
* Define missing types
* onSearch function for the ActionSheet
* Add onClose function to the ActionSheet and use colors from useTheme
* fix theme and bottomSheet
* fix actionSheet
* fix style
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
* chore: migrate TextInput from class to functional
* changing from themes[theme] to colors
* removing markdown theme props from other files
* adding a force update and fix a stories
* adding testID and tests for markdown
* fixing some interfaces
* minor tweak
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
* chore: migrate TextInput from class to functional
* removing the theme props
* adding tests for the FormTextInput
* minor tweak
* applying changes requested
* changing the way we import/export the FormTextInput and TextInput
* removing left comments
* minor tweak
* fix import
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
* chore: upgrade `react-native-vector-icons` from 8.1.0 to 9.1.0
* all this storyshot added this `selectable: false`
* reversing file committed by mistake
* reverting the `cocoapods` version to the develop version.
* updating some snaps after merge with develop
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
* create livechat video conf feature
* add handler to call url
* remove webview and change to openUrl
* Checking settings
* stash
* add action sheet on click init and ad more handlers
* fix logic and call to create a video conf
* change JitsiMeetView from InsideStack to ChatStack to remove modal animation
* fix error logic
* fix stack
* fix comma
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Update ImageViewer to reanimated and RNGH v2 API
* Move styles outside the component
* Fix issues with pinch gesture
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
* create iTotp enum
* migrate change user profile to method
* Fix minor i18n issues
* Use saveUserProfileMethod from Services
* Catch cancel event from TwoFactor modal
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* create new delete account button
Co-Authored-By: Danish Ahmed Mirza <danishmirza30602@gmail.com>
* change modal to action sheet
* better naming
* remove ? from translation
* update translations
* change to new figma layout
* fix export
* remove unused state
* add new text input to base input
* clean up
* update bottom sheet and create a mock
* remove unecessary bracket and fix type
* fix header
* migrate buttons to action sheet
* fix imports
* update yarn.lock
* add separator to styles
* add ternary verification
* minor tweaks: keyboard for landscape android tablet, interface IactionSheetProvider and remove navigation options to get ismasterdetail from redux, fix jest setup
* fix colors
* disconnect from sdk when delete the account
* update snapshot
Co-authored-by: Danish Ahmed Mirza <danishmirza30602@gmail.com>
Co-authored-by: Reinaldo Neto <reinaldonetof@hotmail.com>