Commit Graph

852 Commits

Author SHA1 Message Date
Reinaldo Neto 174ca9107b tweak touchable 2023-10-23 17:48:45 -03:00
Reinaldo Neto b1e0e1211c Merge branch 'develop' into feat.new-audio-player 2023-10-23 15:26:23 -03:00
Diego Mello 18b77ab4d6
feat: Supported Versions (#5185) 2023-10-19 10:38:57 -03:00
Reinaldo Neto 3f2e5ced19
chore: migrate LoginView to hooks (#5092)
* chore: migrate LoginView to hooks

* minor tweak

* minor tweak

* fix ref

---------

Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
2023-10-18 14:23:12 -03:00
Reinaldo Neto 3cf08c29e1
feat: add the support for CDN_PREFIX (#5266)
* add the support for cdn_prefix

* add cdn-prefix to video and audio too

* refactor where call the store to cdn

* fix e2e test

* add connect redux
2023-10-17 16:28:02 -03:00
Reinaldo Neto 199331f8f6
fix: check the permissions properly to create a discussion and reply in dm (#5217)
* fix: check the permissions properly to create a discussion

* add the permission start-discussion-other-user and fix the permission at messagebox

---------

Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2023-10-16 17:55:38 -03:00
Reinaldo Neto 74cd85a069
feat: image base64 (#5264)
* improvement: handle base64

* update tests

* minor tweak

* remove imageprocess and remove the save to gallery from image base64

* Update app/containers/message/Image.tsx

* Update app/views/AttachmentView.tsx

* Update app/views/AttachmentView.tsx

* Update app/views/AttachmentView.tsx

* Update app/containers/message/Image.tsx

* chore: change file name and fix implementation

* chore: remove useless const

* chore: update regex

* chore: update name

* Update app/lib/methods/isImageBase64.ts

* Update app/lib/methods/isImageBase64.ts

* early return

---------

Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2023-10-11 11:23:11 -03:00
Reinaldo Neto 023cd8fd06 Merge branch 'develop' into feat.new-audio-player 2023-10-05 17:17:28 -03:00
Reinaldo Neto c157552bfb add navigation focus to AudioPlayer component and fix the jest 2023-10-05 02:07:11 -03:00
Reinaldo Neto 5625d5311b moved audio from message/component/audio to message/Audio 2023-10-05 00:06:15 -03:00
Reinaldo Neto 24ccc33e05 fix colors name 2023-10-04 17:57:18 -03:00
Reinaldo Neto 037a74fb56 remove loading 2023-10-04 15:12:55 -03:00
Diego Mello 66fce27882
regression: custom icon style not working properly (#5254) 2023-10-04 11:50:58 -03:00
Reinaldo Neto 2b379ee281 refactor audio component 2023-10-03 19:05:24 -03:00
Diego Mello 7d86b0f331
fix: Set size as lineHeight on CustomIcon (#5252) 2023-10-03 17:54:00 -03:00
Reinaldo Neto 8b053f630e moved the player from messageAudio to audioPlayer 2023-10-03 17:23:52 -03:00
Diego Mello a1172f8bf5
fix: dynamic action sheet taking whole screen (#5249)
* Fix dynamic action sheet taking whole screen

* Bring back maxSnap logic based on options

* Rollback enableContentPanningGesture

* Fix e2e tests
2023-10-03 09:57:49 -03:00
Gleidson Daniel Silva 4ccf815746
fix: change audio encoding to aac (#5224)
* fix: change audio encoding to aac

* remove comment

* fix: add support to old audios on iphone

* fix: use MediaPlayer implementation

* chore: add androidImplementation on loadAsync
2023-09-26 11:38:47 -03:00
Gleidson Daniel Silva 7a7193d1ab
chore: migrate RoomInfoView to hooks (#5074)
* create RoomInfoViewTitle

* create RoomInfoViewBody

* create RoomInfoViewAvatar

* remove some functions

* merge styles

* fix types

* remove UserInfoButton

* fix room

* fix type import

* working

* fix navigation type

* wip

* remove console

* types

* fix import

* fix types

* fix types

* wip

* add asPlain

* some tweaks

* wip

* some fixes

* wip

* fix block user

* finish migration

* some fixes

* fix rule

* add rid to avatar

* fix settings and room transition

* add disabled rule

* fix test ???
2023-09-26 11:33:53 -03:00
Reinaldo Neto 2d323615f4
fix: message flickering after mount due to url preview (#5232) 2023-09-26 09:54:21 -03:00
Reinaldo Neto 9094b73456 Merge branch 'develop' into feat.new-audio-player 2023-09-22 14:51:53 -03:00
Diego Mello 7278b36763
fix: Remove react-native-keycommands (#5220) 2023-09-21 16:05:36 -03:00
Reinaldo Neto 9854f1626d
Merge branch 'develop' into feat.new-audio-player 2023-09-21 14:04:40 -03:00
Diego Mello 6a610a956f
feat: Remove landscape support from smartphones (#5203) 2023-09-08 10:51:12 -03:00
Diego Mello 79bc539773
feat: Dynamic action sheet height (#5202) 2023-09-08 10:47:42 -03:00
Reinaldo Neto b8a3615f7e
regression: the value of the uikit's block uikit could be undefined (#5195)
* regression: the value of the uikit's block uikit could be undefined

* update the test and add regression test

* update tests

---------

Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2023-09-05 13:52:51 -03:00
Diego Mello 024088dca6
feat: Refactor Status to make it handle user presence requests (#5148) 2023-08-29 16:15:26 -03:00
Gleidson Daniel Silva 7e7d42780f
fix: show the thread when it has zero messages (#5182)
* fix tcount logic

* add tests

* update timeout

* 🙄

* update snapshot

---------

Co-authored-by: Reinaldo Neto <47038980+reinaldonetof@users.noreply.github.com>
2023-08-29 13:50:42 -03:00
Reinaldo Neto 8cab77f94e change the class' name and add the method pauseCurrentAudio 2023-08-24 17:54:27 -03:00
Reinaldo Neto 0738f60f8e refactor colors to be the same as figmas name 2023-08-23 16:03:20 -03:00
Reinaldo Neto 67b3200a02 fix unloadAll, add hit slop to slider, show the duration on the first render 2023-08-23 11:57:11 -03:00
Reinaldo Neto fe18a1a3fa Merge branch 'develop' into feat.new-audio-player 2023-08-23 11:41:37 -03:00
Diego Mello 529891fcc0
regression: Rollback to React Native 0.69.8 (#5162) 2023-08-18 14:48:33 -03:00
Reinaldo Neto f5da42aae4
regression: preview format text for edge cases (#5172) 2023-08-17 16:44:41 -03:00
Reinaldo Neto a026f2beaf remove the PAUSE_AUDIO 2023-08-16 18:30:25 -03:00
Reinaldo Neto 14625821d6 fix rate state 2023-08-16 18:16:19 -03:00
Reinaldo Neto e50e59d6e7 remove audio copy 2023-08-16 17:10:46 -03:00
Reinaldo Neto 927225c0bb change the way we treat the audio 2023-08-16 16:52:56 -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
Gleidson Daniel Silva acbcac29c8
fix: fix bugs related to auto-translate and add tests (#5144)
* fix re-render on autoTranslateRoom sub update

* create autoTranslate tests

* create getMessageFromAttachment

* fix autoTranslate null value

* add translateLanguage to context

* fix type

* fix shouldComponentUpdate

* add autoTranslate and autoTranslateLanguage to subscription

* use getMessageFromAttachment instead att.description

* remove dequal

* add tryCatch

* 🙏
2023-08-14 17:22:46 -03:00
Reinaldo Neto 0c8b2f565e
regression: attachment view is changing the color of status bar (#5167) 2023-08-14 15:11:45 -03:00
Reinaldo Neto 7900fad9ac fix play 2 audios and play/pause properly 2023-08-11 17:39:16 -03:00
Reinaldo Neto defd97c3ce fix time margin horizontal 2023-08-11 13:13:43 -03:00
Reinaldo Neto 9066432ca2 removed the sound manipulation from Slider to manipulate only in the index 2023-08-10 17:36:26 -03:00
Reinaldo Neto 9c00ce08f4 layout fixed 2023-08-10 17:01:37 -03:00
Reinaldo Neto bf77b6ccc3 added the audio rate 2023-08-10 15:55:40 -03:00
Reinaldo Neto 7e65c9fd71 loading animated 2023-08-10 13:10:03 -03:00
Reinaldo Neto 55afcafd22 can play multiple audios, pausing the previous to execute the new one 2023-08-09 19:35:20 -03:00
Reinaldo Neto cd916644e8 start the tweaks on layout 2023-08-09 18:02:36 -03:00
Reinaldo Neto 40b416fffd update the icons with play-shaped-filled, pause-shape-filled, loading 2023-08-09 17:30:33 -03:00