* 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>
* improve: handle long status text with a collapsible text element
* remove the points from show_more value
* refactor the path
* add storyshot
* remove comments
* minor tweak at pt-br
* add the e2e test
* remove fontInfo
* refactor layout
* fix e2e test
* fix the text for both platforms
* add comment
* update detox to 20.11 to accept regex and fix the test for show more
* add the buildUrlImage mirroring the web and added unit tests
* add the comments
* rename the file buildImageURL
* minor tweak iurl definition
* remove the old logic of tmp.image and user only the buildImageUrl
* add the url polyfill to work properly on react native
* minor tweak unit test
* refactor isValidUrl
* fix the e2e tests
* improve: show the item disabled when the user doesn't have permission
* minor tweak changing from disabled to enabled param
* add the behavior at long press message
* minor tweak
* minor tweak
* remove the header notPermission and show toast
* tweak at auto translate e2e test
* minor tweak
* minor tweak translated
* minor tweak en.json
* minor tweak description
* 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
* 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: 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
* fix blur is hiding the file description
* avoid download unsupported video
* return void when it is loading the audio
* 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
* fix: selected items on a multiselect change when do a new search
* fix livechateditview
* minor tweak at const
* update uikit storyshot and uikit handle the multiStaticSelect
* add e2e test
* minor tweak
* 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
* fix: quote showing with leading empty space on the rooms list view
* add unit test for previewFormatText
* minor tweak
* add e2e test to see the msg quote
* fix room item re-render after local search
* markdown preview testID can be received or default
* update storyshot roomheader
* minor tweak
* minor tweak
* fix flaky test
* refactor searchRoom to avoid flaky tests
* Added slug as dependecy and created a slugified String
* add the slug and slugifyLikeString
* using unsafeSql instead of the slug
* need to fix the like on the watermelon side and need the slug anyway
* watermelondb patch to change the like to use the upper or toUpperCase
* Updated config.yml
* Updated config.yml
* implemented the sanitized fname and fix the discussion icon at search
* add the search for non-latin alphabets
* fix the searchRoom function
* change the library of slug and added the unit tests
* optional sanitizedFname
* add some comment
* remove @types/slug
* remove watermelondb patch package
* latin test, tweak at comment and tweak e2e test
* minor tweak e2e
* change typeText to replaceText at searchRoom
* regexp to test the characters
* add typeText on searchRoom
* e2e search room replace and type
* to fix the replace text for iOS and type non-ASCII on Android
* minor tweak
* minor tweak
* enable artifact
* disable artifacts
* increase sleep time and change from toExist to toBeVisible
* fix android flaky test
* [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
* [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] 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
* 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