Commit Graph

1273 Commits

Author SHA1 Message Date
GleidsonDaniel b2fef8b0cb Merge branch 'develop' into TC-782-Mobile-Troubleshoot-notifications 2024-02-20 17:30:47 -03:00
GleidsonDaniel 775aa9137b wip 2024-02-20 17:24:19 -03:00
Gleidson Daniel Silva 116c217675
chore: apply alignSelf style only on LastMessage (#5580)
* chore: remove alignSelf Styles.ts

* chore: apply alignSelf style only on LastMessage

* test: update snapshot
2024-02-20 17:22:40 -03:00
Reinaldo Neto 316f771a8f
feat: play audio in sequence (#5526)
Co-authored-by: Sathurshan <jsathu07@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2024-02-20 17:17:46 -03:00
GleidsonDaniel ae753905e5 chore: better prop naming 2024-02-20 15:39:55 -03:00
GleidsonDaniel f9f350a92a chore: rename highlightTroubleshooting 2024-02-20 14:19:57 -03:00
GleidsonDaniel 15cab12479 Merge branch 'feat.troubleshooting-notification-push-quota' into TC-782-Mobile-Troubleshoot-notifications 2024-02-20 13:55:54 -03:00
GleidsonDaniel 80d4f34c99 Merge branch 'develop' into feat.troubleshooting-notification-push-quota 2024-02-20 13:44:23 -03:00
GleidsonDaniel 93372d4dd3 Merge branch 'develop' into TC-782-Mobile-Troubleshoot-notifications 2024-02-20 11:50:30 -03:00
Gleidson Daniel Silva 7745de0e40
chore: remove todos related to actions (#5572) 2024-02-16 18:18:38 -03:00
Gleidson Daniel Silva 079b401b38
fix: add alignSelf style for Android to prevent text from getting cut off (#5571) 2024-02-16 18:17:14 -03:00
Reinaldo Neto f89a28e4f7
regression: open self profile from messages (#5554)
* fix: open self profile from messages

* fix the inAppFeedback reducer function name

* add e2e test to open profile by username

* update tests

---------

Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2024-02-15 18:07:48 -03:00
Gleidson Daniel Silva 2a1b59cd57
tests: add draft e2e tests (#5553)
* chore: update detox

* chore: improve mocks

* chore: add testId

* chore: add e2e tests

* add more time

* Fix tests

* fxi tests

* update yarn lock

* fix import

* wip

* test

* Fix deep linking tests

---------

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2024-02-15 16:41:03 -03:00
Reinaldo Neto fd4e1af269
Merge branch 'develop' into TC-782-Mobile-Troubleshoot-notifications 2024-02-14 17:35:31 -03:00
Reinaldo Neto 8ea4ddf5f5 the notification icon in the room header will appear if notifications are disabled or highlight troubleshoot is true 2024-02-09 19:18:29 -03:00
Reinaldo Neto f515f750b4 update the link to push notification 2024-02-09 16:54:01 -03:00
Diego Mello b189f59950
fix: NavBottomFAB position (#5555) 2024-02-08 14:49:09 -03:00
Gleidson Daniel Silva b81e22c934
feat: add draft and quote on shareview support (#5540) 2024-02-07 15:57:22 -03:00
Reinaldo Neto c832088d89 minor tweaks 2024-02-05 16:41:44 -03:00
Reinaldo Neto e285bb1929 removed the push quota feature 2024-02-02 17:38:46 -03:00
Reinaldo Neto a2e649ed81 refactor the percentage state 2024-02-02 17:31:34 -03:00
Reinaldo Neto 05c2475d8d feat: push quota 2024-02-02 17:19:07 -03:00
Reinaldo Neto c1a065ab4a change the name from inAlertNotification to highlightTroubleshooting 2024-02-02 15:04:56 -03:00
Reinaldo Neto 54e3fedca6 push.test as rest api 2024-02-02 14:51:43 -03:00
Reinaldo Neto f4d68457dd minor tweak 2024-02-02 10:47:48 -03:00
Reinaldo Neto 4e3e8e4806 Merge branch 'develop' into TC-782-Mobile-Troubleshoot-notifications 2024-02-02 10:37:30 -03:00
Sanjay Sargam 50d534f71b
chore: improve encrypted button on create discussion view (#5466)
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2024-02-01 10:29:45 -03:00
Amit giri 6907771bfe
feat: add take a photo button in profile (#5524)
* take new photo added for avatar

* code optimization

* Update app/views/ChangeAvatarView/index.tsx

Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>

* improvements

* Update .detoxrc.js

* Update jest.config.js

---------

Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2024-02-01 10:08:04 -03:00
Reinaldo Neto e06aaf1cc0
feat: haptics feedback in app notificaiton (#5507)
* create redux for inAppFeedback

* add the clear inAppFeedback, haptic feedback to room view

* added haptics feedback to room view

* add the user preference to in app vibration and the value

* minor tweak

* yarn prettier-lint
2024-01-29 12:54:37 -03:00
Diego Mello 7bf7111cfa
feat: New message composer (#5205) 2024-01-25 11:11:07 -03:00
Reinaldo Neto b0d0257976
fix: navigate to other rooms tapping at message (#5488)
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2024-01-22 14:52:44 -03:00
Gleidson Daniel Silva a9abf322c4
feat: add user authentication cookies to JitsiMeetView (#5458)
* feat: add user authentication cookies to JitsiMeetView

* Update app/views/JitsiMeetView/index.tsx
2024-01-19 17:29:17 -03:00
Sanjay Sargam 0f901686c6
fix: when searching and then closing search then title Threads or Discussions is not aligned in center (#5471)
* fix: title align in center

* Update app/views/DiscussionsView/index.tsx

* Update app/views/ThreadMessagesView/index.tsx

---------

Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2024-01-19 17:04:16 -03:00
Sanjay Sargam f936d022eb
chore: close Filter DropDown in Threads after select an option (#5463)
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2024-01-19 16:44:41 -03:00
Reinaldo Neto 48c7dade1c
fix: avoid log error when cancelling (#5477) 2024-01-15 13:23:01 -03:00
Reinaldo Neto 9109b87269
fix: crashing the app - Cannot read property 'find' of null at fetchRole method (#5447)
* fix: crashing the app - Cannot read property 'find' of null at fetchRole method

* minor tweak

* minor tweak
2024-01-09 15:14:55 -03:00
Sanjay Sargam cda528ba40
fix: customIcon styling (#5470) 2024-01-09 08:40:07 -03:00
Reinaldo Neto 4ca9042da0
feat: report user (#5371)
* feat: report user

* navigation from room info view to report user view

* minor tweak rid type

* showing the avatar and change the backghround color

* finished the ui and action to report a user

* minor tweak

* update storyshot

* add e2e test

* not show the report and block to my self and fix the text alignment

* minor tweak of container safeareaview

* remove label style and keep the default

* update test

* e2e test for 6.5 servers

* remove of block_user and unbblock_user

* remove danger from block and ignore

* remove of rid from params, change UserAvatarAndName to UserInfo

* fix e2e test

* fix the dinamic height with controlled text input

* indent basebutton

* fix button styles

---------

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2024-01-03 18:14:31 -03:00
Sanjay Sargam 86a9f4f890
feat: close dropdown after changing type (#5450) 2024-01-02 10:33:55 -03:00
Reinaldo Neto a194e47d2d
regression: load user on room info (#5425)
* fix: navigate to myself from mention

* fix: load user on room info

* minor tweak

---------

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2023-12-26 11:43:57 -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
Reinaldo Neto d615457235 minor tweaks 2023-12-11 22:37:06 -03:00
Reinaldo Neto 6c7514cd07 Merge branch 'develop' into TC-782-Mobile-Troubleshoot-notifications
* develop: (24 commits)
  fix: add type checking on notificationType (#5376)
  fix: call the internetStateMiddleware for release mode (#5364)
  improve: handle attachment actions in a quote and how to jump to message (#5363)
  fix: translation prop checking (#5369)
  fix: handle camera permission crash (#5372)
  feat (iOS): mobile ringer (#5327)
  fix: enables navigation for deleted threads (#5317)
  fix: Add valid version with valid exception use case (#5368)
  feat (Android): mobile ringer (#5286)
  chore: Remove pre-commit hook (#5362)
  chore: Remove unused Jitsi deep link (#5361)
  fix(Android): Deep links not working on Android 12 (#5357)
  chore: Bump version to 4.44.0 (#5358)
  fix(iOS): Keyboard not working properly on iOS 17 (#5343)
  fix: call media permissions in android 13+ (#5326)
  feat: new audio player (#5160)
  feat: capability to enable/disable writing in rooms read only (#5298)
  fix: starting a new thread from an attachment (#5345)
  fix: show last message when pinned (#5316)
  chore: Bump version to 4.43.0 (#5341)
  ...
2023-12-08 16:43:51 -03:00
Reinaldo Neto 4fe161a19d alert and push.info just for 6.6 2023-12-08 00:39:02 -03:00
Reinaldo Neto b217435ffe
improve: handle attachment actions in a quote and how to jump to message (#5363)
* improve: handle attachment actions in a quote

* actions with video

* actions with audio

* show alert when trying to jump to a message inside a not allowed room

* jump to message from long press

* disable the reply onPress when is a quote or forward

* update tests

* fix 02-broadcast e2e

* fix the e2e tests

* remove the await from handleResumeDownload and remove the esline-disable
2023-11-30 12:03:03 -03:00
Gleidson Daniel Silva 74e500a4bb
fix: enables navigation for deleted threads (#5317)
* fix navigation to deleted thread

* fxi threads without name

* fix thread name
2023-11-28 14:17:47 -03:00
Diego Mello 911957ba66
chore: Remove unused Jitsi deep link (#5361) 2023-11-23 10:11:11 -03:00
Gleidson Daniel Silva 6a1205afcc
fix: call media permissions in android 13+ (#5326)
* add android permissions

* create askAndroidMediaPermissions helper

* ask android permission

* fix i18n import

* remove useless const

* wip

* revert login changes
2023-11-20 13:07:33 -03:00
Reinaldo Neto 0a75a6615c
feat: new audio player (#5160)
* 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

* first commit

* fix togglePlayPause

* separate audio to a folder inside components and minor tweak attachment

* created the slider with text

* play/pause button, currentTime equal the sound, can change the slider and reflect to the sound

* play/pause, track is working and onEnd

* update the icons with play-shaped-filled, pause-shape-filled, loading

* start the tweaks on layout

* can play multiple audios, pausing the previous to execute the new one

* loading animated

* added the audio rate

* layout fixed

* removed the sound manipulation from Slider to manipulate only in the index

* fix time margin horizontal

* fix play 2 audios and play/pause properly

* change the way we treat the audio

* remove audio copy

* minor tweak

* fix rate state

* remove the PAUSE_AUDIO

* fix unloadAll, add hit slop to slider, show the duration on the first render

* refactor colors to be the same as figmas name

* change the class' name and add the method pauseCurrentAudio

* pause audio when unmount a RoomView and unloadAll when focusing at RoomsListView

* pause audio when entering a thread

* fix where call the pauseCurrentAudio

* moved the player from messageAudio to audioPlayer

* refactor audio component

* remove loading

* update snapshot

* fix colors name

* pauseAudio when roomview is blur

* moved audio from message/component/audio to message/Audio

* add navigation focus to AudioPlayer component and fix the jest

* add the { androidImplementation: 'MediaPlayer' }

* fix action sheet swipe 02-room

* fix action sheet swipe 05-threads

* tweak touchable

* remove react.memo from playbutton

* hitSlop

* speed playback from array

* textinputprops

* tweak at names

* minor tweak at onEnd

* minor tweak at names

* update styles

* thumb seek size

* change marginBottom

* add the clamp, adjust the thumb position, remove the necessity of OnEndGestureHandler

* change the utils to constants

* change to audioState

* fix the seek for android

* TDownloadState

* speed array

* pause audio from messagesView when open the files

* update test

* minor tweak

* change the time after ony one click, fixes the thumb to move sync with the click

* Fix seek

* minor tweak Sound to Audio.Sound

* name of Icon

* enable PlaybackSpeed only when playing the audio

* playbackSpeed to mmkv

* mock implementation

* create native button

* minor tweak

* minor tweaks

* playbackSpeed after loadAudio

* avoid show the error when try to setRate without audio

* add messageID to differ audios inside a quote/forward from original one

* unloadRoomAudios instead of unloadAllAudios inside the roomsListView

* minor tweak

---------

Co-authored-by: Diego Mello <diegolmello@gmail.com>
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2023-11-20 11:13:15 -03:00
Reinaldo Neto d6c37bf4a2
feat: capability to enable/disable writing in rooms read only (#5298)
* feat: capability to enable writing in rooms read only

* minor tweak

* add shallowEqual

* change the message box properly when the user is enable to write
2023-11-17 15:48:32 -03:00