Commit Graph

409 Commits

Author SHA1 Message Date
Diego Mello 7819dfbc1c Bump version to 4.44.2 2023-12-26 18:06:29 -03:00
Diego Mello 734eb278a3
chore: Set version to 4.44.1 (#5432) 2023-12-26 13:29:32 -03:00
Reinaldo Neto e4d4592145
feat: add "show more" to user info status (#5383)
* improve: handle long status text with a collapsible text element

* remove the points from  show_more value

* refactor the path

* add storyshot

* remove comments

* minor tweak at pt-br

* add the e2e  test

* remove fontInfo

* refactor layout

* fix e2e test

* fix the text for both platforms

* add comment

* update detox to 20.11 to accept regex and fix the test for show more
2023-12-26 10:36:59 -03:00
Diego Mello c7fc819f66
chore: Bump version to 4.45.0 (#5411) 2023-12-18 16:22:49 -03:00
Gleidson Daniel Silva 653201022f
feat (iOS): mobile ringer (#5327)
* add ringtone

* create videoConf category and apply the path on react native notification

* handle action click

* update patch package

* small fix

* temp alert

* wip

* fix action

* fix lint

* wip

* remove clipboard
2023-11-28 17:13:45 -03:00
Gleidson Daniel Silva 31ed940426
feat (Android): mobile ringer (#5286) 2023-11-24 09:46:58 -03:00
Diego Mello bd17ee55bf
chore: Remove pre-commit hook (#5362) 2023-11-23 10:13:54 -03:00
Diego Mello 4a98961da1
chore: Bump version to 4.44.0 (#5358) 2023-11-22 11:53:30 -03:00
Diego Mello 079a2e755b
fix(iOS): Keyboard not working properly on iOS 17 (#5343) 2023-11-20 13:15:59 -03:00
Diego Mello b205b54e3b
chore: Bump version to 4.43.0 (#5341) 2023-11-14 10:35:20 -03:00
Gleidson Daniel Silva 93c8409354
chore: bump message parser from 0.31.14 to 0.31.26 (#5338)
* chore: bump message parser

* fix markdown value assignment

* update snapshot
2023-11-13 14:00:00 -03:00
Diego Mello 629b8727d2
fix: Catch cloud request errors (#5312) 2023-11-13 13:23:46 -03:00
Diego Mello 18b77ab4d6
feat: Supported Versions (#5185) 2023-10-19 10:38:57 -03:00
Diego Mello 2589707929
chore: Bump version to 4.42.0 (#5258) 2023-10-05 10:40:59 -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 7278b36763
fix: Remove react-native-keycommands (#5220) 2023-09-21 16:05:36 -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
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
Diego Mello 3f476871bd
chore: Bump version to 4.41.0 (#5193) 2023-08-29 11:48: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 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
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
Gleidson Daniel Silva 48acd0669e
fix: enable android 13 notifications (#5118)
* set target 33

* update cameraroll

* wip

* ask android push permission

* test
2023-07-12 15:28:25 -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
Gleidson Daniel Silva 059f81d84b
chore: add --passWithNoTests to lint-staged (#5120) 2023-06-23 16:39:49 -03:00
Diego Mello e9ee68ee53
Bump version to 4.40.0 (#5112) 2023-06-20 16:19:14 -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
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
Diego Mello 0079229a34
chore: Upgrade React Native to 0.71.7 (#4984) 2023-05-18 18:09:33 -03:00
Diego Mello b684610887
chore: Bump version to 4.39.0 (#5071) 2023-05-12 13:51:19 -03:00
Diego Mello f23161417a
chore: Bump version to 4.38.0 (#5066) 2023-05-10 20:29:55 -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
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
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
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
Diego Mello 412f62eb2a
Chore: Update Detox to 20.1.2 (#4866) 2023-03-07 09:28:51 -03:00
Diego Mello 27efa89dac
Bump version to 4.37.0 (#4938) 2023-03-02 13:22:40 -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
Diego Mello edd0333be1
Chore: Update React Native to 0.68.6 (#4881) 2023-02-14 12:06:37 -03:00
Diego Mello 59c76d3956
Bump version to 4.36.0 (#4884) 2023-02-02 16:51:16 -03:00
Diego Mello 4de7c83e80
Bump version to 4.35.1 (#4871) 2023-01-30 15:10:09 -03:00
Diego Mello 26c8931563
Bump version to 4.36.0 (#4854) 2023-01-24 13:25:13 -03:00
Gleidson Daniel Silva 38511d2f2d
[IMPROVE] Migrate from react-native-jitsi-meet to lib react-native-jitsimeet-custom (#4823)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2023-01-20 13:55:53 -03:00
Diego Mello af70849b5e
[FIX] Point to correct RN fork commit (#4832) 2023-01-18 14:55:54 -03:00
Diego Mello 91831c8f33
[FIX] Unwanted clear keychain and request challenges (#4826) 2023-01-18 13:43:26 -03:00
Diego Mello 4174aef4f8
Chore: Upgrade react-native-device-info to 10.3.0 (#4770) 2022-12-21 15:47:42 -03:00
Diego Mello 09cdb3e7a4
Bump version to 4.35.0 (#4751) 2022-12-14 16:23:28 -03:00
Diego Mello 87a3f85feb
Bump version to 4.34.0 (#4724) 2022-12-02 11:09:24 -03:00
Gleidson Daniel Silva a8b3a3b7de
[IMPROVE] Disable Jitsi native module on Android (#4708)
* temp: disable jitsi on android

* update props and subscription

* add open intent

* add request permissions

* disable react-native-jitsi-meet on android and separate implementations

* fix ios

* fix import alias

* revert android manifest indentation

* add catch to method

* return comment

* remove is iOS

* fix queries

* remove unused data

* webview audio

* fix android permissions

* fix audio android

* change how to open jitsi app

* remove loading

* update close logic
2022-12-01 14:20:22 -03:00