* improve: handle attachment actions in a quote
* actions with video
* actions with audio
* show alert when trying to jump to a message inside a not allowed room
* jump to message from long press
* disable the reply onPress when is a quote or forward
* update tests
* fix 02-broadcast e2e
* fix the e2e tests
* remove the await from handleResumeDownload and remove the esline-disable
* feat: media auto-download view
* media auto download view completed and saving the settings in mmkv
* audio download preference
* audio auto download when the user who sent the audio is the same logged on mobile
* creation of isAutoDownloadEnabled, evaluate hist hook, Image Full Size preload done
* minor tweak audio show play button after download
* refactor audioFile to handleMediaDownload and fixed the audio download
* desestructured params to download too
* image download and autoDownload, algo fix the formatAttachmentUrl to show the image from local
* add the possibility to cancel image download and clear local images
* refactor blur component
* video download and auto download, also keeped the behavior to download unsuportted videos to the gallery
* add the possibility to start downloading a video, then exit the room, back again to room and cancel the video previously downloading
* remove the custom hook for autoDownload
* remove blurcomponent, fix the blur style in image.tsx, minor tweak video function name
* send messageId to video
* introducing the reducer to keep the downloads in progress
* create a media download selector
* remove all the redux stuff and do the same as file upload
* video download behavior
* done for image and audio
* fix the try catch download media
* clean up
* image container uiKit
* fix lint
* change rn-fetch-blob to expo-filesystem
* add pt-br
* pass the correct message id when there is an attachment on reply
* refactor some changes requested
* fix audio and move the netInfo from autoDownloadPreference to redux
* variable isAutoDownloadEnable name and handleMediaDownload getExtension
* message/Image refactored, change the component to show the image from FastImage to Image
* refactor handleMediaDownload and deleteMedia
* minor tweak
* refactor audio
* refactor video
* fix the type on the messagesView(the view of files)
* minor tweak
* fix the name of searchMediaFIleAsync's result
* minor tweak, add the default behavior, add the OFF as label
* minor tweaks
* verify if the media auto download exists on settings view
* fix media auto download view layout and minor tweak wifi
* avoid auto download from reply
* minor tweak at comment
* tweak list.section
* change the name to netInfoState and Local_document_directory
* remove mediaType and refactor audio and image
* separate blurview
* thumbnail video and video behavior
* add Audio to i18n and minor tweak
* set the blur as always dark and add the possibility to overlay
* don't need to controle the filepath in the view
* fix the loading in image and video at begin
* save the file with a similar filename as expected
* removed the necessity of messageId or id
* minor tweak
* switch useLayoutEffect to useEffect
* avoid onpress do some edge case because of cached at video
* minor tweak
* tweak at audio comment extension
* minor tweak type userpreferences
* remove test id from mediaAutoDownloadView
* change action's name to SET_NET_INFO_STATE
* caching and deleting video's thumbnails
* remove generate thumbnail
* minor tweak in image
* update camera-roll and save the file from local url
* remove local_cache_directory and deleteThumbnail
* update blur to fix error on android
* first commit
* fix togglePlayPause
* separate audio to a folder inside components and minor tweak attachment
* created the slider with text
* play/pause button, currentTime equal the sound, can change the slider and reflect to the sound
* play/pause, track is working and onEnd
* update the icons with play-shaped-filled, pause-shape-filled, loading
* start the tweaks on layout
* can play multiple audios, pausing the previous to execute the new one
* loading animated
* added the audio rate
* layout fixed
* removed the sound manipulation from Slider to manipulate only in the index
* fix time margin horizontal
* fix play 2 audios and play/pause properly
* change the way we treat the audio
* remove audio copy
* minor tweak
* fix rate state
* remove the PAUSE_AUDIO
* fix unloadAll, add hit slop to slider, show the duration on the first render
* refactor colors to be the same as figmas name
* change the class' name and add the method pauseCurrentAudio
* pause audio when unmount a RoomView and unloadAll when focusing at RoomsListView
* pause audio when entering a thread
* fix where call the pauseCurrentAudio
* moved the player from messageAudio to audioPlayer
* refactor audio component
* remove loading
* update snapshot
* fix colors name
* pauseAudio when roomview is blur
* moved audio from message/component/audio to message/Audio
* add navigation focus to AudioPlayer component and fix the jest
* add the { androidImplementation: 'MediaPlayer' }
* fix action sheet swipe 02-room
* fix action sheet swipe 05-threads
* tweak touchable
* remove react.memo from playbutton
* hitSlop
* speed playback from array
* textinputprops
* tweak at names
* minor tweak at onEnd
* minor tweak at names
* update styles
* thumb seek size
* change marginBottom
* add the clamp, adjust the thumb position, remove the necessity of OnEndGestureHandler
* change the utils to constants
* change to audioState
* fix the seek for android
* TDownloadState
* speed array
* pause audio from messagesView when open the files
* update test
* minor tweak
* change the time after ony one click, fixes the thumb to move sync with the click
* Fix seek
* minor tweak Sound to Audio.Sound
* name of Icon
* enable PlaybackSpeed only when playing the audio
* playbackSpeed to mmkv
* mock implementation
* create native button
* minor tweak
* minor tweaks
* playbackSpeed after loadAudio
* avoid show the error when try to setRate without audio
* add messageID to differ audios inside a quote/forward from original one
* unloadRoomAudios instead of unloadAllAudios inside the roomsListView
* minor tweak
---------
Co-authored-by: Diego Mello <diegolmello@gmail.com>
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
* feat: capability to enable writing in rooms read only
* minor tweak
* add shallowEqual
* change the message box properly when the user is enable to write
* 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
* [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>
* [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>
* 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>
* 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
* border radius complete
* increase to chip
* Apply in missing places
* tweak slash command and update test
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* 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
* [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>
* [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>