Claudio Costa
3887ce30a8
Remove long deprecated Calls code ( #8747 )
2025-05-15 18:20:45 +02:00
Claudio Costa
7192d21134
[MM-63889] Calls: Add backend version check to enable DC locking ( #8799 )
...
* Calls: Add backend version check to enable DC locking
* Update calls-common
2025-04-28 09:04:49 -06:00
Daniel Espino García
732b17a75c
Add post props validation ( #8323 )
...
* Validate props
* Add calls changes and fix attachments
* Address feedback
2024-11-28 15:59:30 +01:00
Claudio Costa
751bb2dfb1
Ensure full validation of Calls post props ( #8279 )
2024-10-24 16:10:49 -06:00
Claudio Costa
4e4bd8fe27
[MM-57781] Limit group calls to DMs only on unlicensed servers ( #8075 )
...
* Limit group calls to DMs only on unlicensed servers
* Update calls-common
2024-08-13 08:25:13 +02: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
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
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
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
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
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
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
24bb5f9b25
[MM-49927] Calls: Fix recording message ( #7012 )
2023-01-24 12:50:06 -05:00
Claudio Costa
c71b28a6a8
[MM-45749] Support for advanced ICE server configs and TURN credentials ( #6544 )
...
* Support for advanced ICE server configs and TURN credentials
* PR comments
* merge conflicts
Co-authored-by: Christopher Poile <cpoile@gmail.com>
2022-08-10 12:33:02 -04:00
Daniel Espino García
f4e6917185
Ensure no unresolved types in the definition files ( #6521 )
...
* Ensure no unresolved types in the definition files
* Address feedback and general cleanup
* Move import from @constants/x to @constants where relevant
* Remove unneeded "import as"
2022-08-05 14:36:19 +02:00
Christopher Poile
f61ea842af
MM-45746 - Handle call_end ws event and '/call end' slash command ( #6542 )
2022-08-05 07:39:10 -04:00
Christopher Poile
17dbfdcb99
MM-45745 - Calls channel info screen options ( #6502 )
...
* implement calls_channel_info; joinCall refactoring
* i18n
* Start/Join call as top button; movable copy channel link button
* MM-45971 - Calls v2 PR comments (#6514 )
* don't clobber config if api req failed
* combine two loops into one
* update dependencies
* fetch user model on user connected
* fix state exports; spacing; unneeded field in ServerConfig type
* remove useless return in websocket handler
* constant sorting
* move microphone permission request to leave_and_join_alert
* ServerConfig -> ServerCallsConfig
* console.log -> logError
* ternary -> Platform.select
* merge conflicts
* add destructive options to OptionBox; require DismissChannelInfo fn
* add CopyLink option to quick actions list
* showSnackBar on link copied
* adjust quick_options_height
* Screens.Call
* fix CopyLink spacing
* fix observeUsersById, observe needed columns; fix JoinCallBanner mount
* optimized observables; bug fixes
* remove unneeded `return null`
* PR comments
* readable-stream -> 3.6.0
* merge conflicts
* PR comments
2022-07-29 11:10:32 -04:00
Christopher Poile
5bb240dec8
MM-43300: Calls v2 first cut ( #6475 )
...
* Android and iOS requirements
* external types
* babel config for calls, package.json for calls dependencies
* state in rxJS; tests
* actions, client/rest, websocket events, constants
* webrtc connection logic
* calls components / screens
* handle peer destroyed gracefully
* PR comments
* remove ViewPropTypes from mocks; no need to ignore error in LogBox
* calls.d.ts -> calls.ts; i18-extract
* @app/products/calls -> @calls
* PR comments; test cleanup
* Revert "remove ViewPropTypes from mocks; no need to ignore error in LogBox"
This reverts commit f9bd171a544de9c02da8387455f904b3840fc5dc.
* working on typing withServerUrl
* added exportedForInternalUse instead of commenting "internal export"
* better switchToThread in call_screen
* i18n
* typed withServerUrl
2022-07-22 15:57:12 -04:00