* feat: report user
* navigation from room info view to report user view
* minor tweak rid type
* showing the avatar and change the backghround color
* finished the ui and action to report a user
* minor tweak
* update storyshot
* add e2e test
* not show the report and block to my self and fix the text alignment
* minor tweak of container safeareaview
* remove label style and keep the default
* update test
* e2e test for 6.5 servers
* remove of block_user and unbblock_user
* remove danger from block and ignore
* remove of rid from params, change UserAvatarAndName to UserInfo
* fix e2e test
* fix the dinamic height with controlled text input
* indent basebutton
* fix button styles
---------
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* create usersRoles reducer
* add usersRoles test
* fix usersRoles reducer
* fetchUsersRoles on login
* use new roles
* add test
* fix roles when the user has permission to see other user roles
* use role name
---------
Co-authored-by: Reinaldo Neto <47038980+reinaldonetof@users.noreply.github.com>
* feat: share message
* index, selectPersonOrChannel, types
* share a message using the chat.postMessage and refactor the interfaces
* minor tweak
* removed rid in from select person or channel
* change title
* add pt-br translation
* compareServerVersion GTE 6.2.0
* test for sharemessage
* view to masterDetail
* fix podfile
* change from forward message to share message
* change from share to forward
* refactor the forward message view, tweak on some styles and add the cleanUpMessage
* minor tweak
* refactor to add MessagePreview and use the same message/index
* fix e2e test
* add the capability to filter the subscsription if the room is read only or not
* minor tweak
* fix disable the send button and add message has been shared
* add try catch and toast or alert
* fix interface
* feat: add bio and nickname to profile view
* add the text input in profileview
* fix the bio layout and add to translation
* fix e2e tests
* add max length to nickname and bio
* refactor a bit the inputRef
* fix the text align vertical of multiline
* getSubscriptionByRoomId, then if null do the request
* add getRoomByTypeAndName
* 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>
* 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>
* [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
* [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>
* [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>
* 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>
* 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>
* 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>
* [NEW] Implementing On-Hold Livechat for Omnichannel
* added onHold to database
* list header title open livechats
* update rooms list view
* remove placeOnHold after clicked
* fix mesasgebox reactive to on hold
* navigate to roomslistview
* minor tweaks
* for grouping too
* fix chat on-hold when the agent is fully
* show on hold system messages