Commit Graph

2638 Commits

Author SHA1 Message Date
Reinaldo Neto f4ff7c82af
fix: message re-rendering twice in a row (#5051) 2023-05-10 15:44:05 -03:00
Diego Mello 53ee79799a
fix(Android): Wrong icon on push reply fail (#5055) 2023-05-10 14:28:14 -03:00
Gleidson Daniel Silva fcc6f09875
feat: Remove Jitsi native module from iOS and use webview instead (#5061) 2023-05-08 10:45:46 -03:00
Diego Mello b1575aee8f
chore: Use M1 on CircleCI (#4958) 2023-05-04 17:06:03 -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
Reinaldo Neto 43917bd789
fix: update the number of members from a room (#4955)
* [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>
2023-04-28 12:16:14 -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
Diego Mello 059782eae4
Bump version to 4.38.0 (#5027) 2023-04-12 17:38:02 -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
Diego Mello 2849288e4a
fix: Add missing room types to RoomType.swift (#5024) 2023-04-11 13:55:40 -03:00
Gleidson Daniel Silva df62706b02
fix call translation (#5013)
Co-authored-by: Reinaldo Neto <47038980+reinaldonetof@users.noreply.github.com>
2023-04-11 11:54:01 -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
Gleidson Daniel Silva 337e9e155d
regression: add teams to action screen (#4942)
* 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
2023-04-10 17:54:02 -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 4b13045d1c
fix: possibility to use the External Provider URI with query (#4956)
* [FIX] Possibility to use the External Provider URI with query

* minor tweak

---------

Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2023-04-10 15:08:15 -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
Gleidson Daniel Silva 056e314bec
chore: update docs (#5001) 2023-03-31 11:23:39 -03:00
Reinaldo Neto b51d7eeab3
fix: Error while editing team description (#4985)
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2023-03-23 21:27:26 -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 3b41917d8a
[FIX] Links do not work if protocol is not set in url prefix (#4899)
* replace double slashs

* minor tweak

* add unit test to addProtocol

* minor tweak

* ensureSecureProcotol

---------

Co-authored-by: gitstart <gitstart@users.noreply.github.com>
Co-authored-by: Debojyoti Singha <20729878+debojyoti452@users.noreply.github.com>
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2023-03-18 12:31:04 -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
Diego Mello f916375fd7
chore: Update react-native-ui-lib to 7.2.0 (#4977)
* Update to 7.2

* Point to new branch

* Remove ts files
2023-03-17 09:27:00 -03:00
Reinaldo Neto 5aaf7af5f4
[FIX] Searching for Discussion (#4843)
* [FIX] Searching for Discussion

* minor tweak

* fixed pagination

* update typescript return

* remove await from load
2023-03-16 20:30:58 -03:00
Reinaldo Neto 87e86e819e
[FIX] Can't close the keyboard after entering data in one text box on the screen (#4910)
* [FIX] Can't close the keyboard after entering data in one text box on the screen

* change the scrollPersistTap

* update test
2023-03-16 16:17:24 -03:00
Reinaldo Neto e08c611a9f
[FIX] Show Join button in threads that belongs to a room not joined (#4836)
* [FIX] Show Join button in threads belong to a room not joined

* update the state on the main room if you join from thread
2023-03-16 12:49:18 -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
Reinaldo Neto d759b475e7
[FIX] Fit the content of the ordered and unordered list (#4901)
* [FIX] Fit the content of the ordered and unordered list

* update storyshot
2023-03-15 14:43:26 -03:00
Gleidson Daniel Silva 4dfc9c70f3
[FIX] Keyboard not showing all emojis or showing cut emojis (#4919)
* fix the logic based on window width and make the keyboard dynamic

* fix var naming and math

* fix alignment of emojis

* add comment

* wip
2023-03-09 17:17:20 -03:00
Piyush Gupta 513e8ee636
[FIX] Increase border radius on MessageAvatar as small (#4837)
* fixed border radius of 4 on avatar

* fixed lint

* Update tests

---------

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2023-03-08 15:34:39 -03:00
Mister-H aa57237004
[FIX] Order of quoted message done according to desktop version (#4739)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2023-03-08 11:20:01 -03:00
Diego Mello 58391964cb
[FIX] Message not rendering E2EE data if md exists (#4951) 2023-03-07 10:57:57 -03:00
Diego Mello 412f62eb2a
Chore: Update Detox to 20.1.2 (#4866) 2023-03-07 09:28:51 -03:00
Reinaldo Neto 4526b7f871
[FIX] UGC Rules Text align (#4934) 2023-03-02 16:04:52 -03:00
Diego Mello 27efa89dac
Bump version to 4.37.0 (#4938) 2023-03-02 13:22:40 -03:00
Gleidson Daniel Silva 3fbb7b5720
[IMPROVE] Brings the operation of the video call closer to the web (#4883)
* 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>
2023-03-01 15:26:56 -03:00
Reinaldo Neto 4d5ff8aba1
[FIX] Omnichannel's icon svg fallback when the link returns an error (#4916)
* [FIX] Omnichannel's icon svg fallback when the link returns an error

* add activity indicator

* switch between activity indicator to custom icon

* reuse the same component as const
2023-02-27 17:31:28 -03:00
Reinaldo Neto 4336f0db40
[FIX] "Allow Reaction" does not work properly on "Read Only" rooms (#4864)
* [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>
2023-02-24 11:37:56 -03:00
Gleidson Daniel Silva 4686d4f6f8
[FIX] Text color and fit content of TaskList (#4906)
* fix regression on plain text

* update stories

* fix where to add the color

* fit content taskList

---------

Co-authored-by: Reinaldo Neto <reinaldonetof@hotmail.com>
2023-02-16 10:07:19 -03:00
Gleidson Daniel Silva 58f28fb488
[FIX] Remove some permissions and keep only basic Bluetooth permission on Android (#4912) 2023-02-15 14:19:44 -03:00
lingohub[bot] 6bb4adaecd
Language update from LingoHub 🤖 on 2023-02-14Z (#4911)
* Language update from LingoHub 🤖

Project Name: Rocket.Chat.ReactNative
Project Link: https://translate.lingohub.com/rocketchat/dashboard/rocket-dot-chat-dot-reactnative
User: Diego Mello

Easy language translations with LingoHub 🚀

* Language update from LingoHub 🤖

Project Name: Rocket.Chat.ReactNative
Project Link: https://translate.lingohub.com/rocketchat/dashboard/rocket-dot-chat-dot-reactnative
User: Diego Mello

Easy language translations with LingoHub 🚀

---------

Co-authored-by: Diego Mello <diego.mello@rocket.chat>
2023-02-14 18:00:41 -03:00
Diego Mello 197616b94c
Chore: Remove deprecated typing stream (#4888) 2023-02-14 15:49:16 -03:00
Diego Mello edd0333be1
Chore: Update React Native to 0.68.6 (#4881) 2023-02-14 12:06:37 -03:00
Diego Mello 8c47187f70
[NEW] Presence Cap (#4900) 2023-02-14 10:47:56 -03:00
Gleidson Daniel Silva c4a2ce20c6
Regression: Adds idempotent prop to delete audio (#4862) 2023-02-06 16:07:23 -03:00
Reinaldo Neto 68f6eb40de
Chore: Hooks app/views/InviteUsersEditView (#4670)
* Chore: Hooks app/views/InviteUsersEditView

* minor tweak

* switch value name
2023-02-02 18:41:32 -03:00
Diego Mello 59c76d3956
Bump version to 4.36.0 (#4884) 2023-02-02 16:51:16 -03:00