Commit Graph

2610 Commits

Author SHA1 Message Date
Gleidson Daniel Silva 47fbde566d
chore: migrate AttachmentView to hooks (#5003)
* migrate AttachmentView to hooks

* fix types

* fix types

* fix lint
2023-06-29 18:10:49 -03:00
Reinaldo Neto e0b86c0aa6 tweak list.section 2023-06-27 16:56:43 -03:00
lingohub[bot] 01577d9534
Language update from LingoHub 🤖 on 2023-06-27Z (#5123)
* 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-06-27 15:27:36 -03:00
Reinaldo Neto 2d2988aaad minor tweak at comment 2023-06-27 12:28:09 -03:00
Reinaldo Neto d76d531985
chore: avoid use all seats availables on the server (#5049) 2023-06-27 09:57:52 -03:00
Reinaldo Neto 8bb5af25ef
fix: duplicated itens inside the UiKit's Select (#5107)
* fix: duplicated itens inside the UiKit's Select

* add useMemo
2023-06-26 23:24:43 -03:00
Reinaldo Neto 469d42bdd0 avoid auto download from reply 2023-06-26 20:33:24 -03:00
Reinaldo Neto 332e51f2db fix media auto download view layout and minor tweak wifi 2023-06-26 20:01:02 -03:00
Diego Mello 51cf4e5cd9
chore: Remove unused i18n keys from en.json (#5056) 2023-06-26 16:28:11 -03:00
Gleidson Daniel Silva 059f81d84b
chore: add --passWithNoTests to lint-staged (#5120) 2023-06-23 16:39:49 -03:00
Reinaldo Neto 01fb407c54
fix: the i18n for room_archived and room_unarchived (#5106) 2023-06-20 21:58:20 -03:00
Diego Mello e9ee68ee53
Bump version to 4.40.0 (#5112) 2023-06-20 16:19:14 -03:00
Reinaldo Neto 557b4643fe
regression: fix blank 'Name' field in Profile View when modifying other fields (#5101) 2023-06-19 20:41:04 -03:00
Reinaldo Neto 4880c47e9b
fix: capability to dismiss the keyboard on drag for iOS on RoomsListView (#5094)
* fix: add the capability to dismiss the keyboard on drag for iOS

* minor tweak
2023-06-16 18:37:26 -03:00
Reinaldo Neto da1485ba56
feat: respect the room avatar external provider url setting (#5095)
* feat: respect the room avatar external provider url setting

* add storyshot

---------

Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2023-06-16 16:21:40 -03:00
Reinaldo Neto aabbc77479
fix: update room on the rooms list view after local search and quote showing with leading empty space on the rooms list view (#5064)
* 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
2023-06-16 15:20:04 -03:00
Reinaldo Neto e0942b24a4 verify if the media auto download exists on settings view 2023-06-12 11:50:59 -03:00
Reinaldo Neto 63b49abfab minor tweaks 2023-06-12 11:38:57 -03:00
Reinaldo Neto 1ee2aa889b
fix: conversion of public channel into team (#5099) 2023-06-12 11:17:43 -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 07f0fd5b40 fix the type on the messagesView(the view of files) 2023-06-07 18:29:25 -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 420bd49c9e minor tweak 2023-06-07 17:18:12 -03:00
Reinaldo Neto 989e609165 refactor handleMediaDownload and deleteMedia 2023-06-07 17:15:44 -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
Gleidson Daniel Silva a6eb514761
fix: Calls with jwt not working on ios and fix media permission on iOS (#5075)
* fix roomId

* fix ios permission

* update lib and patch

* try

* update webview

* update method

* fix ios

* move to a function
2023-06-06 18:53:48 -03:00
Gleidson Daniel Silva 7abd52a6e3
fix: Wrong user photo when opening the action sheet to start a call (#5033)
* fix wrong video conf user photo

* move hook outside
2023-06-05 16:37:50 -03:00
Reinaldo Neto 1dc038d321 refactor some changes requested 2023-05-30 11:07:34 -03:00
Reinaldo Neto 61fe9dbb1e
feat: case insensitive for non-ASCII text on main search (#3309)
* 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
2023-05-29 12:03:24 -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 58f73e1d09 add pt-br 2023-05-19 18:18:34 -03:00
Reinaldo Neto 4dcb12876b change rn-fetch-blob to expo-filesystem 2023-05-19 17:56:16 -03:00
Gleidson Daniel Silva 2d07b1682c
fix: Change useSnaps logic to be based on component size (#5032)
* change useSnaps logic to be based on component size

* fix logic

* fix iphone without notch
2023-05-19 14:40:31 -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
Reinaldo Neto f136dfb03c create a media download selector 2023-05-18 19:03:22 -03:00
Reinaldo Neto 154deb62ac introducing the reducer to keep the downloads in progress 2023-05-18 18:36:58 -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