Christopher Poile
53b011068e
[MM-58561] Calls: Add stop recording confirmation; update call screen ( #8007 )
...
* add rec confirmation; update call screen
* add EnableTranscriptions to dep array
* remove unneeded asyncs
* properly center title; fix horizontal spacing for title buttons
* cleanup
2024-06-19 17:01:49 -04:00
Elias Nahum
b8c088cc70
Upgrade RN as well as update or replace other dependencies ( #8011 )
...
* start upgrade to RN 74
* migrate react-native-fs to expo-file-system
* exclude expo-asset module
* fix database manager remove directory
* fix: android network helper
* include expo on android
* temporarily disable android dep lock
* replace react-native-create-thumbnail with expo-video-thumnails
* update patches file version
* fix android build on 74
* create local library to replace MattermostManaged, Notifications and SplitView modules with new arch support
* migrate app to use new mattermost-rnutils library
* remove unused flipper class for android unsigned
* fix mattermost-rnutils android foldedObserver lifecycle
* use mattermost-rnutils on Android
* use mattermost-rnutils on iOS
* path react-native-navigation to not crash when activity is not NavigationActivity
* create local library for android share extension with new arch support
* Replace ShareModule with @mattermost/rnshare library
* remove ShareModule from android native code
* update react-intl
* update nodejs to 20.x.x npm to 10.x.x and dev deps
* update @gorhom/bottom-sheet
* use MattermostShare conditionally based on the platform
* update @react-native-camera-roll/camera-roll
* remove unused react-native-calendars
* fix metro config
* fix terminate session race condition
* remove unused analytics
* replace react-native-device-info with expo-application and expo-device
* update @react-native-clipboard/clipboard
* update @react-native-community/datetimepicker
* update @react-native-community/netinfo
* update @sentry/react-native
* update react-native-document-picker
* update react-native-gesture-handler
* update react-native-share
* update react-native-svg and react-native-svg-transformer
* update react-native-vector-icons
* update babel
* update react-native-shadow-2
* update semver
* remove react-native-svg-transformer and convert svg files to svg components
* fix @mattermost/rnshare new-arch build on android
* remove react-native-create-thumbnail resolution in build.gradle
* create @mattermost/hardware-keyboard library to replace hw-keyboard-events
* fix hardware-keyboard library
* fix rnutils library
* create @mattermost/keyboard-tracker library
* replace react-native-keyboard-tracking-view with @mattermost/keyboard-tracker
* fix: rnutils to not crash on lateinit context
* fix: rnutils delete database
* revert changes to session_manager
* Removed react-native-webview and added expo-web-browser instead
With expo-web-browser we no longer need the webview for SSO login
the SSO login is now done by using "custom Chrome tabs" on Android
and ASWebAuthenticationSession on iOS
* remove patch for react-native-keyboard-tracking-view
* replace react-native-linear-gradient with expo-linear-gradient
* replace react-native-in-app-review with expo-store-review
* fix: shared group database directory on ios
* replace react-native-fast-image with expo-image
* remove unusued type def for react-native-keyboard-tracking-view
* replace react-native-elements and react-native-button with @rneui
* node version
* update sizzling methods
* fix tests using jest-expo
* replace jail-monkey with expo-device
* update babel deps
* update typescript eslint
* update rn and expo
* react-native-document-picker @react-native-camera-roll/camera-roll @react-native-community/datetimepicker react-native-reanimated react-native-safe-area-context
* update patches
* update @sentry/react-native
* upgrade react-native-navigation
* update expo & expo-image
* upgrade to working version of @sentry/react-native
* update node, cocoapods, bundler, fastlane versions
* @testing-library/react-native and eslint-plugin-jest
* fix: FloatingTextInput causing a crash with reanimated
* update sentry, localize, @types/lodash and uuid
* fix floating text input label
* update react-native-video
* fix: cannot calculate shadow efficiently on some components
* fix: reduce motion warning for bottomSheet
* fix: shadow on YouTube component
* update react-native-webrtc expo and @typescript-eslint
* audit fix
* fix swizzling bad merge
* temp use of github dependency for @mattermost libraries
* feedback review
* feedback review
* npm audit fix
* update bundle deps
* update @mattermost/react-native-turbo-log
* update deps
2024-06-19 09:33:45 +08:00
Christopher Poile
1f2a71c499
[MM-58581] Calls: End call confirmations ( #8004 )
...
* end call confirmations
* i18n
* remove unneeded asyncs
* better alert for android
2024-06-18 10:02:24 -04:00
Christopher Poile
c93e16218a
[MM-57250] Calls: Provide feedback after user clicks Start call ( #7967 )
...
* make joinCall async; adding loading spinner to join/start button
* always close channelInfo
* i18n
* change how we compute active text
* use isPreferred for leave & join call button
* add joiningChannelId to calls state to track when joining a call
2024-06-06 15:39:15 -04:00
Christopher Poile
3f7fa8b1a1
[MM-57267] Calls: Update post UI ( #7965 )
...
* MM-58259 - allow current host to run /end call; fix deprecated test fns
* update call card UI
* update call ended icon
* make joinCall async; adding loading spinner to join/start button
* Revert "make joinCall async; adding loading spinner to join/start button"
This reverts commit bbb136690702c46ce2d4430a6b49aa96f143fb5e.
* shadowRadius 3 -> 1
2024-05-24 14:16:28 -04:00
Christopher Poile
5e1c75fd6d
[MM-57291] Calls: Add channel name to call header ( #7968 )
2024-05-24 13:50:04 -04:00
Christopher Poile
59db1839ec
[MM-57460] - Calls: Host controls, add mute all to participant list ( #7945 )
...
* add mute all to participant list
* i18n
* hostControlsAvailable
* mute-all -> mute-others
2024-05-10 16:51:11 -04:00
Christopher Poile
7fbd2e52e2
[MM-58129] Calls: Host controls remove participant, view profile ( #7938 )
...
* host remove command, host removed feedback
* add view profile control
* i18n; dismissBottomSheet later
* PR comments
* remove confusing setPreviousCall(null)
* our own separator, bit more space for Android
* no need for previousCall due to changes on server
* move host removed alert to an error
* channel_id is not send via the msg.broadcast
* channel_id is still sent via the msg.broadcast
2024-05-10 16:43:35 -04:00
Christopher Poile
2eb8adb3f6
[MM-57958] Calls: Host controls: stop screenshare, mute, lower hand ( #7929 )
...
* add muteSession & stopScreenshare controls; obey mute host ctrl
* lower hand host control; obey lower hand ws msg
* no need to await host api call
2024-05-06 15:14:40 -04:00
Christopher Poile
c071eaf617
[MM-57707] - Calls: Add host controls menu ( #7905 )
...
* add host controls screen; add control for make host
* licensing & host logic
* refactor participant card; dynamic profile sizing; PR comments
* render participant name and profile changes in ParticipantsList
* package-lock update after rebase onto main
* use config's HostControlsAllowed
2024-04-24 17:23:23 -04:00
Christopher Poile
1774445715
[MM-57706] Calls: Participants list for call screen ( #7895 )
...
* Add participants bottom sheet to call screen
* i18n
* fix ruby-version
* use tag instead of host_badge
* extract Participant, use FlatList
* fix for android
* android participants list close button
2024-04-22 11:01:18 -04:00
Daniel Espino García
9d1030a445
Push react native to 0.73.6 ( #7863 )
...
* Bump react native to 0.73.6
* iOS changes
* Fix gallery
* Fix test
* Add missing patch
* Unify react native navigation patch
* Update the rest of libraries
* iOS updates
* Update mattermost libraries
* Fix tests and final bumps
* iOS podfile update
* Update android locks
* Revert webrtc update because it was messing with the tests
* Update podfile for webrtc
2024-04-22 12:44:39 +02:00
Christopher Poile
4e68662899
[MM-57019] Calls: Live captions support for mobile ( #7854 )
...
* mobile support for live captions
* add the 'Live captions turned on' ephemeral notice
* PR comments
* message should be translatable
* run i18n-extract
* call_recording_state -> call_job_state; ccAvailable is now dynamic
* backwards compatibility with pre calls v0.26.0
* correct mobile version in deprecation comments
---------
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2024-03-20 09:10:05 -04:00
Elias Nahum
3653df354d
Revert "Channel Bookmarks ( #7750 )" ( #7816 )
...
* Revert "Channel Bookmarks (#7750 )"
This reverts commit 2c5c878829 .
2024-02-07 07:52:55 +08:00
Elias Nahum
2c5c878829
Channel Bookmarks ( #7750 )
2024-02-05 17:07:01 +08:00
Claudio Costa
84858e4450
[MM-46339] Handle user leaving channel with active call ( #7754 )
...
* Handle user leaving channel with active call
* Remove debug log
2024-01-15 08:11:25 -06:00
Christopher Poile
d6566b591a
MM-54866 - Calls: Transcription notifications ( #7704 )
2023-12-21 17:19:28 -05:00
Christopher Poile
2c1f318868
MM-54866 - Calls: Transcription support ( #7703 )
...
* captions on videos from posts and searches
* add the patch for react-native-video which fixes subtitle downloading
* improve spacing
* fix patch file
* upgrade compass-icons; use cc icon
* revert patch overwrite
* fix patch
* use useMemo
* fix hitslops on pressables
* use new Caption format; refactor for clarity
* simplify tracks creation and use
2023-12-21 16:20:21 -05:00
Elias Nahum
de57c343f0
MM-55621 fix layout for tablets and foldables ( #7697 )
...
* MM-55621 fix layout for tablets and foldables
* feedback review
2023-12-05 11:08:43 +08:00
Elias Nahum
edef4ec4a3
Update libraries and dependencies ( #7678 )
...
* update js dependencies
* update react-native libraries
* update watermelonDB
* update RN to 0.72.7
* update fastlane
* fix remove_markdown/at_mention import
* update mattermost libraries
* update fastlane deps
* remove haptic-feedback patch
* update okhttp to 4.12.0 and patch netinfo to accurately identify VPN connections
* create ImaegStyles intersection type
2023-11-25 07:46:13 +08:00
Christopher Poile
6baa850d36
MM-54277 - Calls: Add incoming banners to channel_list screen ( #7673 )
2023-11-22 16:56:27 -05:00
Christopher Poile
daa2b1a497
MM-54351 - Calls: Improve logging ( #7671 )
2023-11-20 20:28:38 -05:00
Christopher Poile
c9fe72460b
MM-54865 - Calls: Multisession support ( #7647 )
...
* add multisession support for calls mobile
* ensure backwards compatibility
* remove extra line
2023-11-16 14:30:49 -05:00
Christopher Poile
6fb5d85798
MM-55036 - Calls: Fix: Receiving in-app notifications for calls notifications while active ( #7623 )
...
* when active, do not show overlay if this is a calls-started notification
* add calls notification type; keep message test for backwards compat
* process calls notifications properly
* revert NOTIFICATION_TYPE.CALLS; use sub_type for backwards compatibility
* add ticket and comment for future refactoring of isCallsStartedMessage
2023-11-16 09:28:29 -05:00
Daniel Espino García
94e1334ebb
Maintenance fixes ( #7665 )
2023-11-15 15:07:00 +01:00
Christopher Poile
f0334d8c0e
MM-54323 - Calls: Incoming call from different server ( #7646 )
...
* refactor; tried to clarify more_messages; new design
* adjust more_messages text spacing
* small fix for height with incoming call on current channel
* move calls-specific code in the calls product behind a hook
* show servername for notifications from other servers
* if >1 active servers, always show server name, otherwise don't
* add height of notification bar in measurements
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-11-14 17:03:55 -05:00
Christopher Poile
332aab134e
MM-55010 - Calls: more messages bar adjustments ( #7620 )
...
* refactor; tried to clarify more_messages; new design
* adjust more_messages text spacing
* small fix for height with incoming call on current channel
* move calls-specific code in the calls product behind a hook
2023-11-03 17:51:32 -04:00
Christopher Poile
a0b1367fd3
MM-54278 - Calls banners redesign ( #7611 )
...
* join call banner
* same style of voice-on indicator; avatar & emoji sizing spacing polish
* refactor all calls bars; new calls bars UI designs
* i18n changes
* fix for warning bar's close icon color
* refactor banners to normalize UI; new 'noone is talking' design
* fix for avatar in current call bar
* change design for incoming call on calls screen
* remove commented out code
2023-11-03 16:23:12 -04:00
Christopher Poile
1fb01dfcdc
MM-54553 - Calls: Enable microphone input in background (Android) ( #7585 )
...
* Add foreground service for Android; add voip UIBackgroundMode for iOS
* remove iOS change for this PR
* create foreground notification channel once at startup
2023-10-13 14:45:14 -04:00
Christopher Poile
0ec2b09fd5
MM-54117 - Calls: Support wiredHeadsets; generalize panel_item ( #7545 )
...
* generalize panel_item; support wiredHeadsets
* i18n
2023-09-25 08:45:14 -04:00
Daniel Espino García
d28ee34aa3
Make androidBackHandler to update if the handler changes ( #7519 )
2023-08-31 10:31:55 +02:00
Christopher Poile
83f81985cd
MM-53486 - Incoming calls notification banner ( #7477 )
...
* upgrade calls-common
* incoming call notifications
* tests
* i18n
* PR comments
* PR comments
* PR comment
2023-08-30 13:58:54 -04:00
Claudio Costa
06037ab6da
[MM-53994] Calls: fix potential websocket client leak ( #7513 )
...
* Calls: fix potential websocket client leak
* Improve debug log
2023-08-24 14:29:50 -06:00
Christopher Poile
81dd44ae09
MM-52653 - Calls: Attach call to existing thread on /call start ( #7338 )
...
* send rootId when starting a call from a thread
* allow join to start calls in threads and with thread titles
2023-06-15 10:08:50 -04:00
Christopher Poile
dbd943ab8d
MM-52949 - Calls: Blank screen after ending a call and exiting its thread ( #7380 )
...
* remove thread and call screen
* simplify how we remove the call screen
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-06-12 08:55:48 -04:00
Daniel Espino García
5a610f1620
Fix post priority bottom sheet ( #7350 )
...
* Fix post priority bottom sheet
* Remove unneeded tablet handling
2023-05-16 19:13:06 +02:00
Daniel Espino García
162cdfb21d
Handle currentUser not available throught the app and refetch it ( #7333 )
...
* Handle currentUser not available throught the app and refetch it
* Address feedback
2023-05-05 15:40:59 -04:00
Christopher Poile
c90ace706c
MM-49970 - Calls: Call quality status banner ( #7304 )
...
* use mean opinion score detection; add call quality alert bar; tests
* rename MessageBar's file to message_bar
* i18n
* use mosThreshold from calls-common; upgrade calls-common
* use callsBg for text and icon
2023-05-04 15:28:15 -04:00
Christopher Poile
f8f6839945
MM-51228 - Calls: UX redesign & theming support ( #7283 )
...
* UX redesign
* fix call bar profile on Android
* update @mattermost/calls; use common color utils
* collapseIcon and time colour fixes (not correct yet on Onyx or Quartz)
* fix time and collapseIcon colors; fix unavailable wrapper
* center users, scroll when full; statusBar bg and styling
* better spacing; better screenshare; no reaction bar when no reactions
* remove margins from bottom; speaker/react buttonOn colour is now callsBg
* update calls-common; update raised hand button colors
* i18n
* cleaning up style sheets
* fix package-lock
* fix vertical alignment of phone icon
* add a noBorder prop to UserAvatarsStack
* typography, icon sizing, spacing changes
* add rounded header; UI improvements; refactor observables
* updating phone icon, join call margins
* join call text; color theming
* remove unneeded container
* phone-outline -> phone
* split CallsChannelState into boolean components
* use sidebar bg to generate calls bg
* fix hand icon, button texts
2023-05-04 14:17:17 -04:00
Daniel Espino García
86658edc30
Refactor errors around the app ( #7306 )
...
* Refactor errors around the app
* Fix recursive function
* Fix tests
2023-05-03 13:08:55 +02:00
Christopher Poile
1ce69f20fb
use CallState and CallChannelState from @mattermost/calls ( #7318 )
2023-04-28 20:55:40 -04:00
Christopher Poile
c1430757b8
MM-51776 - Calls: Audio device selections, & fix bluetooth ( #7286 )
...
* ask for bluetooth permissions on Android
* new "switch audio device button" for Android
* i18n strings
* split audio_device_button into platform-specific files; PR comments
* earpiece -> phone
* add comments to clarify speakerphone logic
* update snapshots
* add new compass-icons; use tablet and bluetooth icons; add tablet mode
* fix lint
2023-04-27 11:44:14 -04:00
Christopher Poile
e6254885ee
MM-43737 - Calls: Follow call thread on user joining a call ( #7293 )
...
* follow threads on call join
* treat custom_calls posts as the start of threads
* make thread follow logic robust to race conditions; tests
* only follow thread when CRT is enabled
* Revert "only follow thread when CRT is enabled"
This reverts commit 4e52a2619b35db3d2104f0b6ba5ad8be23f7b224.
2023-04-26 15:20:07 -04:00
Elias Nahum
784b05fe97
Upgrade Dependencies ( #7299 )
...
* upgrade reanimated
* update devDependencies
* upgrade react-intl
* update react-native and some dependencies
* update react-native-permissions
* update RN
* use Share sheet for Report a problem
* update Sentry
* remove step to downloadWebRTC
* update detox deps
* feedback review
2023-04-21 12:16:54 -04:00
Christopher Poile
77f8eedb0a
MM-51227 - Calls: Landscape mode optimizations for screensharing ( #7226 )
...
* allow landscape for ios; optimize screensharing view; fix reactions
* UX changes
* UX changes - top bar
2023-03-28 18:00:11 -03:00
Christopher Poile
5089157951
prioritize raised hands when sorting participants ( #7229 )
2023-03-23 09:24:36 -03:00
Christopher Poile
c0cb14e927
MM-50010 - Share common calls code between web and mobile ( #7211 )
...
* use calls/common rtcpeer; @calls -> @mmcalls
* gitpkg -> standalone github calls-common package
* use new mattermost/calls-common repo; add types to WebSocketMessages
* mmcalls/common -> mattermost/calls; use a version tag
2023-03-21 09:18:45 -04:00
Christopher Poile
c03758f549
clear screensharing state if current screensharer leaves call ( #7213 )
2023-03-20 10:02:58 -03:00
Christopher Poile
cc51fd905b
MM-51362 - Fix proximity notice engaging after call ended ( #7205 )
...
* fix proximity notice engaging after call ended
* remove fork
2023-03-20 09:56:51 -03:00
Christopher Poile
bdaba41df1
MM-51226 - Calls: Emojis not showing in reaction stream ( #7198 )
2023-03-10 14:07:34 -05:00