Commit Graph

765 Commits

Author SHA1 Message Date
Reinaldo Neto 332e51f2db fix media auto download view layout and minor tweak wifi 2023-06-26 20:01:02 -03:00
Reinaldo Neto ce48ef06a4 minor tweak, add the default behavior, add the OFF as label 2023-06-09 12:16:09 -03:00
Reinaldo Neto e7244d9bbe fix the name of searchMediaFIleAsync's result 2023-06-07 18:56:36 -03:00
Reinaldo Neto c1fbc2066b minor tweak 2023-06-07 18:49:46 -03:00
Reinaldo Neto b4a9b8af6e refactor video 2023-06-07 18:15:37 -03:00
Reinaldo Neto b341528f10 refactor audio 2023-06-07 17:23:01 -03:00
Reinaldo Neto 8c0c1d7dc0 message/Image refactored, change the component to show the image from FastImage to Image 2023-06-07 17:14:31 -03:00
Reinaldo Neto 6f3dc60994 variable isAutoDownloadEnable name and handleMediaDownload getExtension 2023-06-07 12:36:30 -03:00
Reinaldo Neto c244dd4906 fix audio and move the netInfo from autoDownloadPreference to redux 2023-06-07 12:09:43 -03:00
Reinaldo Neto 1dc038d321 refactor some changes requested 2023-05-30 11:07:34 -03:00
Reinaldo Neto 67ba3131e3 pass the correct message id when there is an attachment on reply 2023-05-19 18:32:42 -03:00
Reinaldo Neto 74e6e8fd8b fix lint 2023-05-19 13:01:38 -03:00
Reinaldo Neto 789ee3efda Merge branch 'develop' into feat.media-auto-download-preference 2023-05-19 12:49:33 -03:00
Reinaldo Neto 41bce65528 image container uiKit 2023-05-19 12:47:02 -03:00
Reinaldo Neto ce67d05852 clean up 2023-05-19 11:52:22 -03:00
Reinaldo Neto 99973c0d28 fix the try catch download media 2023-05-19 11:35:36 -03:00
Reinaldo Neto 02ba6e9961 done for image and audio 2023-05-19 02:42:21 -03:00
Reinaldo Neto aa2c2886a0 video download behavior 2023-05-19 01:30:22 -03:00
Reinaldo Neto 95cbe25ae7 remove all the redux stuff and do the same as file upload 2023-05-19 01:18:57 -03:00
Diego Mello 0079229a34
chore: Upgrade React Native to 0.71.7 (#4984) 2023-05-18 18:09:33 -03:00
Reinaldo Neto 370f893e94 send messageId to video 2023-05-16 21:34:35 -03:00
Reinaldo Neto d3c87a19eb remove blurcomponent, fix the blur style in image.tsx, minor tweak video function name 2023-05-16 21:31:53 -03:00
Reinaldo Neto 7108e35ae7 remove the custom hook for autoDownload 2023-05-15 23:50:08 -03:00
Reinaldo Neto acb280fa36 add the possibility to start downloading a video, then exit the room, back again to room and cancel the video previously downloading 2023-05-15 23:48:57 -03:00
Reinaldo Neto 6c49c57046 video download and auto download, also keeped the behavior to download unsuportted videos to the gallery 2023-05-15 23:10:14 -03:00
Reinaldo Neto 389057aa2c refactor blur component 2023-05-15 19:53:29 -03:00
Reinaldo Neto 991cdf1476 add the possibility to cancel image download and clear local images 2023-05-15 15:31:24 -03:00
Reinaldo Neto cdad2884b9 image download and autoDownload, algo fix the formatAttachmentUrl to show the image from local 2023-05-15 15:10:43 -03:00
Reinaldo Neto 07e097000a desestructured params to download too 2023-05-15 14:20:31 -03:00
Reinaldo Neto 27eacaad9f refactor audioFile to handleMediaDownload and fixed the audio download 2023-05-15 14:16:08 -03:00
Reinaldo Neto d138a74d9d minor tweak audio show play button after download 2023-05-12 12:29:47 -03:00
Reinaldo Neto 7fc975f63e creation of isAutoDownloadEnabled, evaluate hist hook, Image Full Size preload done 2023-05-11 20:20:48 -03:00
Reinaldo Neto b73cf46829 audio auto download when the user who sent the audio is the same logged on mobile 2023-05-11 16:06:50 -03:00
Reinaldo Neto f5d6fce6de Merge branch 'develop' into feat.media-auto-download-preference 2023-05-11 15:54:30 -03:00
Reinaldo Neto 871dc7f668 audio download preference 2023-05-11 15:52:48 -03:00
Reinaldo Neto 47b4413b59
fix: render the text from custom attachment as markdown (#5048)
* fix: render the text from custom attachment as markdown

* add special character, one number and one capital letter at password e2e

* minor tweak

---------

Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
2023-05-10 18:39:56 -03:00
Reinaldo Neto f4ff7c82af
fix: message re-rendering twice in a row (#5051) 2023-05-10 15:44:05 -03:00
Reinaldo Neto ed6d45cbfe
fix: quoting a image with a custom emoji in description is breaking layout (#5034)
* 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
2023-04-28 15:29:54 -03:00
Reinaldo Neto 7b02205d2f
fix: Ordinals of ordered lists misaligned (#4994)
* fix: ordered list misaligned

* fix the misaligned at android and format the ordered list to keep the same width
2023-04-28 13:25:55 -03:00
Gleidson Daniel Silva 1f0af9ca07
chore: Create and_N_more translation (#5023)
* add and_N_more translations

* fix translation
2023-04-18 13:54:01 -03:00
Gleidson Daniel Silva 19360e6ee5
Revert "fix: scroll the pages New Message, Search for Rooms, Messages and Threads (#4952)" (#5038)
* Revert "fix: scroll the pages New Message, Search for Rooms, Messages and Threads (#4952)"

This reverts commit cf14ebea78.

* bump version to 4.37.1
2023-04-18 09:46:53 -03:00
Gleidson Daniel Silva cbfc810d5a
fix: Call back button label text is inverted on the mobile (#5014) 2023-04-11 15:21:42 -03:00
Reinaldo Neto 2361789e0c
fix: suggestions not shown in second line of multi-line message (#4996) 2023-04-10 21:13:23 -03:00
Reinaldo Neto cf14ebea78
fix: scroll the pages New Message, Search for Rooms, Messages and Threads (#4952)
* [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>
2023-04-10 16:41:49 -03:00
Reinaldo Neto fd210c4713
feat: Change Avatar View (#4746)
* [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>
2023-04-10 11:59:00 -03:00
Reinaldo Neto 88144441fd
feat: quotes on E2EE Messages (#4880)
* [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>
2023-03-23 19:47:05 -03:00
Reinaldo Neto 59a2c7c424
fix: link preview without embed image (#4723)
* [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>
2023-03-17 15:37:34 -03:00
Florian Ellis 2748e6d475
test: Unskip SearchBox test (#4966) 2023-03-17 13:40:32 -03:00
Reinaldo Neto 00b8263913
[FIX] Markdown links coloured same as normal text for old markdown (#4905)
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2023-03-16 11:12:46 -03:00
Reinaldo Neto b4f8dfb84e
[FIX] Respect Use Real Name when sent an attachment (#4898)
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2023-03-15 19:40:59 -03:00