Commit Graph

2673 Commits

Author SHA1 Message Date
Reinaldo Neto 3072196cda save the file with a similar filename as expected 2023-07-04 17:28:41 -03:00
Reinaldo Neto b6dceecf50 fix the loading in image and video at begin 2023-07-04 15:16:26 -03:00
Reinaldo Neto b3f460598f don't need to controle the filepath in the view 2023-07-04 14:22:20 -03:00
Reinaldo Neto c85f98955c set the blur as always dark and add the possibility to overlay 2023-07-04 12:31:59 -03:00
Reinaldo Neto 53ed61df39 add Audio to i18n and minor tweak 2023-07-04 00:54:25 -03:00
Reinaldo Neto d39a5c7da2 thumbnail video and video behavior 2023-07-04 00:35:31 -03:00
Gleidson Daniel Silva 223550d88c
feat: Add caller and ringer to video conf calls (#5046)
* add expo camera and use camera on call init action sheet

* fix permissions

* set colors when calling

* update @react-native-community/hooks lib

* move to useWindowDimensions

* create action to handle video-conf calls

* create videoConf reducer

* add typed-redux-saga lib

* fix return

* change videoConf saga to TS

* fix TS target

* update action and types

* create actionSheetRef

* add notifyUser api

* export video conf types

* add action prop

* use new reducer prop

* add videoConferenceCancel and add allowRinging to videoConferenceStart

* temp-patch

* add locales

* add handler to videoconf message

* fix rest types

* add message types

* path to remove component from dom

* remove notification when is videoconf

* create sound hook

* create dots loader

* update call translation

* the end is near

* move to confirmed

* better code reading

* fix call type

* fix tests

* update podfile

* wip

* fix call order

* move colors

* move to jsx

* fix colors

* add pt-br

* remove patch and point

* fix colors

* fix expo camera

* move to style

* remove unused styles

* update types and style

* wip

* rename IncomingCallComponent

* add custom notification

* wip

* fix naming

* fix styles

* fix import

* fix styles

* change colors

* fixa ringing

* fix import

* organize

* fix sizes

* use realName

* fix spacing

* fix icon size

* fix header gap

* changeColor

* fix safeArea

* set calling only on direct calls

* change ringer to be a component

* cancel call on swipe

* remove join on direct calls

* add props

* update package
2023-07-03 21:03:39 -03:00
Reinaldo Neto b88603173f separate blurview 2023-07-03 19:15:58 -03:00
Reinaldo Neto b6ae55e57f remove mediaType and refactor audio and image 2023-07-03 14:28:22 -03:00
Reinaldo Neto 1be2326686 Merge branch 'develop' into feat.media-auto-download-preference 2023-06-30 19:27:37 -03:00
Reinaldo Neto a92d88c99d change the name to netInfoState and Local_document_directory 2023-06-30 11:26:46 -03:00
Gleidson Daniel Silva fea4f164d5
chore: migrate PickerView to hooks (#5002)
* migrate ForwardLivechatView to hooks and fix some types

* fix types

* fix types

* remove useless memo

* change to useDebounce

* fix types
2023-06-30 11:01:01 -03:00
Gleidson Daniel Silva d30d4645a5
chore: migrate AutoTranslateView to hooks (#4677)
Co-authored-by: Reinaldo Neto <47038980+reinaldonetof@users.noreply.github.com>
2023-06-29 19:01:34 -03:00
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