Commit Graph

2726 Commits

Author SHA1 Message Date
Diego Mello 0d7af4088a
fix(Android): Remove RefreshControl from messages list (#5251) 2023-10-09 13:18:02 -03:00
Diego Mello 2589707929
chore: Bump version to 4.42.0 (#5258) 2023-10-05 10:40:59 -03:00
Diego Mello 66fce27882
regression: custom icon style not working properly (#5254) 2023-10-04 11:50:58 -03:00
Diego Mello 7d86b0f331
fix: Set size as lineHeight on CustomIcon (#5252) 2023-10-03 17:54:00 -03:00
Diego Mello 3ec4375662
chore: Update libwebp to 1.3.2 (#5239)
* Update libwebp to 1.3.2

* Reset npm cache

* npm modules
2023-10-03 09:58:12 -03:00
Diego Mello a1172f8bf5
fix: dynamic action sheet taking whole screen (#5249)
* Fix dynamic action sheet taking whole screen

* Bring back maxSnap logic based on options

* Rollback enableContentPanningGesture

* Fix e2e tests
2023-10-03 09:57:49 -03:00
Diego Mello 37c58eb3ba
fix: jump to message not working properly (#5235) 2023-09-28 10:38:54 -03:00
Reinaldo Neto 987778b737
fix: duplicate users during mention (#5233) 2023-09-26 15:47:12 -03:00
Gleidson Daniel Silva 9fa29047dd
feat: Add jitsi auth info (#5231)
* migrate JitsiMeetView to hooks

* create JitsiAuthModal component

* Update app/i18n/locales/en.json

Co-authored-by: Diego Mello <diegolmello@gmail.com>

* Update JitsiAuthModal.tsx

* typo

* fix colors

---------

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2023-09-26 13:31:03 -03:00
Gleidson Daniel Silva 4ccf815746
fix: change audio encoding to aac (#5224)
* fix: change audio encoding to aac

* remove comment

* fix: add support to old audios on iphone

* fix: use MediaPlayer implementation

* chore: add androidImplementation on loadAsync
2023-09-26 11:38:47 -03:00
Gleidson Daniel Silva 7a7193d1ab
chore: migrate RoomInfoView to hooks (#5074)
* create RoomInfoViewTitle

* create RoomInfoViewBody

* create RoomInfoViewAvatar

* remove some functions

* merge styles

* fix types

* remove UserInfoButton

* fix room

* fix type import

* working

* fix navigation type

* wip

* remove console

* types

* fix import

* fix types

* fix types

* wip

* add asPlain

* some tweaks

* wip

* some fixes

* wip

* fix block user

* finish migration

* some fixes

* fix rule

* add rid to avatar

* fix settings and room transition

* add disabled rule

* fix test ???
2023-09-26 11:33:53 -03:00
Reinaldo Neto 2d323615f4
fix: message flickering after mount due to url preview (#5232) 2023-09-26 09:54:21 -03:00
Reinaldo Neto 1abafad2b8
fix: flaky test at auto-translate e2e test (#5219)
* minor tweak at auto-translate e2e test

* remove createRandomRoom

---------

Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2023-09-26 08:54:30 -03:00
lingohub[bot] 98abd97618
chore(i18n): Language update from LingoHub 🤖 on 2023-09-25Z (#5230) 2023-09-25 14:32:49 -03:00
Diego Mello 7278b36763
fix: Remove react-native-keycommands (#5220) 2023-09-21 16:05:36 -03:00
Diego Mello 043f48ae54
chore: Migrate RoomView/List to Hooks (#5207) 2023-09-21 15:32:47 -03:00
Aviad Pineles ed20c855d1
feat: properly fetch all settings from server (#5177) 2023-09-21 15:18:01 -03:00
Gleidson Daniel Silva 5c050091be
chore: update react-native-simple-crypto to 0.5.2 (#5208) 2023-09-21 09:19:36 -03:00
Gleidson Daniel Silva 08a29573b4
chore: improve useVideoConf code (#5214)
* improve useVideoConf code

* add log
2023-09-19 16:49:04 -03:00
Reinaldo Neto 0aa8a57630
fix: show attachment with query parameters (#5194)
* fix: show attachment with query parameters

* update tests

* remove global polyfill

---------

Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
2023-09-18 16:25:05 -03:00
Aviad Pineles cc553b05f6
fix: properly set new room to be encrypted according to server settings (#5176)
Co-authored-by: Reinaldo Neto <reinaldonetof@hotmail.com>
2023-09-12 10:07:11 -03:00
Aviad Pineles 9f8799d729
fix: don't re-encode public key when changing e2e password (#5174)
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2023-09-12 10:06:29 -03:00
Diego Mello 6a610a956f
feat: Remove landscape support from smartphones (#5203) 2023-09-08 10:51:12 -03:00
Diego Mello 79bc539773
feat: Dynamic action sheet height (#5202) 2023-09-08 10:47:42 -03:00
Reinaldo Neto b8a3615f7e
regression: the value of the uikit's block uikit could be undefined (#5195)
* regression: the value of the uikit's block uikit could be undefined

* update the test and add regression test

* update tests

---------

Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2023-09-05 13:52:51 -03:00
Gleidson Daniel Silva c31cb9b124
feat: add `readThreads` params to `subscriptions.read` (#5184)
* add readThreads params to subscriptions.read

* add tunread verification

* fix e2e test

* search cat message

* fix when grouping by unread

* increase timeout

---------

Co-authored-by: Reinaldo Neto <reinaldonetof@hotmail.com>
Co-authored-by: Reinaldo Neto <47038980+reinaldonetof@users.noreply.github.com>
2023-09-05 09:20:06 -03:00
Diego Mello 780f426031
chore: Set large machine resource for Android E2E tests (#5197) 2023-09-01 17:30:21 -03:00
Diego Mello 66819681ff
chore: Set M1 Medium on CircleCI (#5196) 2023-09-01 13:53:19 -03:00
Diego Mello 024088dca6
feat: Refactor Status to make it handle user presence requests (#5148) 2023-08-29 16:15:26 -03:00
Gleidson Daniel Silva 7e7d42780f
fix: show the thread when it has zero messages (#5182)
* fix tcount logic

* add tests

* update timeout

* 🙄

* update snapshot

---------

Co-authored-by: Reinaldo Neto <47038980+reinaldonetof@users.noreply.github.com>
2023-08-29 13:50:42 -03:00
Diego Mello 3f476871bd
chore: Bump version to 4.41.0 (#5193) 2023-08-29 11:48:44 -03:00
Gleidson Daniel Silva d706118427
chore: update toast color in dark-theme (#5186)
* update toastBackground color on dark theme

* Update colors.ts

---------

Co-authored-by: Reinaldo Neto <47038980+reinaldonetof@users.noreply.github.com>
2023-08-28 18:37:59 -03:00
Gleidson Daniel Silva 3bbe553832
chore: update channel teams action label (#5183)
* update label

* Update en.json
2023-08-28 17:39:07 -03:00
Gleidson Daniel Silva 25c3f46750
feat: align mobile videoConf settings with web settings (#5136)
* add new videoConf settings

* add call-management permission

* create useSetting hook

* create useVideoConfCall hook

* use new videoconf settings

* change isAdmin check

* ignore older versions
2023-08-21 16:12:34 -03:00
Gleidson Daniel Silva 1de24befe5
feat: Add support to Android themed icons (#4932)
* add monochrome icon

* fix android icons

* revert ic_launcher_foreground.xml

* Update ic_launcher_round.xml

* Update ic_launcher_round.xml
2023-08-21 14:18:38 -03:00
Gleidson Daniel Silva 323143a45b
fix: fix bug in sub and bookmark search (#5163)
* add fav to subscription

* add fav to search sub
2023-08-21 10:45:37 -03:00
Reinaldo Neto fba1419f90
regression: save different files with the same name and extension (#5171) 2023-08-18 17:30:44 -03:00
Diego Mello 529891fcc0
regression: Rollback to React Native 0.69.8 (#5162) 2023-08-18 14:48:33 -03:00
Gleidson Daniel Silva 65b409beb0
fixes the logic for when the last message is a message from a thread (#5129) 2023-08-17 18:49:05 -03:00
Reinaldo Neto f5da42aae4
regression: preview format text for edge cases (#5172) 2023-08-17 16:44:41 -03:00
Gleidson Daniel Silva 96bb25e5b4
fix: disable backup of mmkv keys in icloud (#5165)
* set accessible key to mmkv

* update patch package
2023-08-17 16:41:20 -03:00
Gleidson Daniel Silva f78f6f33ff
fix: add fallback to unsupported MathML tags in MathJax (#5127)
* add react-native-katex

* use default message height
2023-08-16 09:02:53 -03:00
Gleidson Daniel Silva acbcac29c8
fix: fix bugs related to auto-translate and add tests (#5144)
* fix re-render on autoTranslateRoom sub update

* create autoTranslate tests

* create getMessageFromAttachment

* fix autoTranslate null value

* add translateLanguage to context

* fix type

* fix shouldComponentUpdate

* add autoTranslate and autoTranslateLanguage to subscription

* use getMessageFromAttachment instead att.description

* remove dequal

* add tryCatch

* 🙏
2023-08-14 17:22:46 -03:00
Reinaldo Neto 0c8b2f565e
regression: attachment view is changing the color of status bar (#5167) 2023-08-14 15:11:45 -03:00
Gleidson Daniel Silva b23df26d42
regression: show roles on user info view (#5154)
* 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>
2023-08-11 17:35:24 -03:00
Gleidson Daniel Silva cbbea73374
feat: add new video conf block - Issue (#5150)
* improve build-icon-set script

* update mappedIcons with new icons, and orderBy name

* add new icons fonts

* add phone-issue icon

* create VideoConferenceIssue block

* verify error and return issue block
2023-08-09 16:15:10 -03:00
Gleidson Daniel Silva 7affa268fa
fix: reply from a push is sent to the correct destination (#5152)
* add tmid to msg json body

* add tmid to ios reply

* remove unused param
2023-08-09 15:18:50 -03:00
Reinaldo Neto c9f4ca1197
feat: add media auto-download (#5076)
* 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
2023-08-07 11:02:30 -03:00
Reinaldo Neto 278ed91f9a
feat: forward message (#5110)
* 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
2023-08-04 11:09:36 -03:00
Reinaldo Neto 77a81d577e
fix: selected items on a multiselect change when do a new search (#5145)
* 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
2023-08-03 16:37:14 -03:00