* use call config when checking for Enable/Disable and StartCall permissions
* store config, refresh after 20 minutes
* load config on startup
* batch load calls and load config on startup/reconnect
* [MM-41909] Reduce displayname character limit to 1
* [MM-41909] Implement channel url min length check
* Use constant per comment
Co-authored-by: Kevin Jiang <>
* removed CallsMobile feature flag; added server version check
* added on-demand check and Alert for Calls enabled
* merge with master
* fix deps, typo, test snapshots
* implement raise hand
* added tests; updated tests
* spread syntax for combined styles -> array syntax
* add useCallbacks, update test snapshots
* fix dep array
* fix dep array
* sort participants based on muted and raisedHand
* sort participants by name, then by state
* fix screen sharing message
* fix test snapshots
* add monitor indicator; tweak ui
* linting
* Port https://github.com/mattermost/mattermost-webapp/pull/9263 to mobile
* Fix forms props from commands and missing error->text change
* lint
* various fixes
* fix lookups for command parser
* update app command parser
* fixes
* fixes with embedded forms
* lint and types
* remove bindings.expanded fix for cleaning bindings on render
* lint
* re-expand bindings on post update
Co-authored-by: Michael Kochell <6913320+mickmister@users.noreply.github.com>
* Fix time zone settings search bar (MM-23644)
Some code improvements:
- renamed header to searchBar
- moved searchBarInput to getStyleSheet
Both of which are logical to me and are more consistent with e.g. screens/channel_members
* Fix trailing space
* Update snapshot
* Thread permalink fix
* Reverted and implemented solution by updating the props
* fix TS on selectors/entities/posts.ts
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* update dependencies
* eslint fixes
* Upgrade to RN 67
* update other deps
* Update to RN 0.67.2
* fix Android build (mmkv)
* Fix crash when root message is deleted from the thread screen
* Fix gif emoji playing at high speed on iOS ProMotion capable devices
* MM-40530 Support SVG for markdown inline images
* Update app/components/markdown/markdown_image/markdown_image.js
Co-authored-by: Daniel Espino García <larkox@gmail.com>
Co-authored-by: Daniel Espino García <larkox@gmail.com>
* Some extra work on voice channels interface
* Fixing some TODOs
* Improving styling of call in channel
* Improve calls monitoring
* Replacing some of the fontawesome icons with the compass ones
* Improving the layout
* Migrating to webrtc2 for unified plan
* Add screen on and off behavior
* Adding incall manager plugin
* Moving everything into the products/calls folder
* Make products modules routes relatives
* Make products modules routes @mmproducts
* Removing initiator parameter
* Removing trickle parameter
* Simplifying code
* Removing underscore from private variables
* Removing underscore from private things
* More simplifications
* More simplifications
* More simplifications
* Changing sha sum for mmjstool
* Fixing typo
* Migrating simple-peer to typescript
* Migrating simple-peer to typescript
* Improving the size of the screen share
* Adding feature flag to disable the calls feature in mobile
* Fixing some tests
* Removing obsolte tests
* Added call ended support for the post messages
* Fixing some warnings in the tests
* Adding JoinCall tests
* Adding CallMessage tests
* Adding CurrentCall unit tests
* Adding CallAvatar unit tests
* Adding FloatingCallContainer unit tests
* Adding StartCall unit tests
* Adding EnableDisableCalls unit tests
* Adding CallDuration tests
* Improving CallDuration tests
* Adding CallScreen unit tests
* Adding CallOtherActions screen tests
* Fixing some dark theme styles
* Fixing tests
* More robustness around connecting/disconnecting
* Adding FormattedRelativeTime tests
* Adding tests for ChannelItem
* Adding tests for ChannelInfo
* Adding selectors tests
* Adding reducers unit tests
* Adding actions tests
* Removing most of the TODOs
* Removing another TODO
* Updating tests snapshots
* Removing the last TODO
* Fixed a small problem on pressing while a call is ongoing
* Remove all the inlined functions
* Replacing usage of isLandscape selector with useWindowDimensions
* Removed unnecesary makeStyleSheetFromTheme
* Removing unneded properties from call_duration
* Fixing possible null channels return from getChannel selector
* Moving other inlined functions to its own constant
* Simplifiying enable/disable calls component
* Improving the behavior when you are in the call of the current channel
* Adding missing translation strings
* Simplified a bit the EnableDisableCalls component
* Moving other inlined functions to its own constant
* Updating snapshots
* Improving usage of makeStyleSheetFromTheme
* Moving data reformating from the rest client to the redux action
* Adding calls to the blocklist to the redux-persist
* Fixing tests
* Updating snapshots
* Update file icon name to the last compass icons version
* Fix loading state
* Only show the call connected if the websocket gets connected
* Taking into consideration the indicator bar to position the calls new bars
* Making the MoreMessagesButton component aware of calls components
* Updating snapshots
* Fixing tests
* Updating snapshot
* Fixing different use cases for start call channel menu
* Fixing tests
* Ask for confirmation to start a call when you are already in another call
* Update app/products/calls/components/floating_call_container.tsx
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* Memoizing userIds in join call
* Applying suggestion around combine the blocklist for calls with the one for typing
* Adding explicit types to the rest client
* Removing unneeded permission
* Making updateIntervalInSeconds prop optional in FormattedRelativeTime
* Making updateIntervalInSeconds prop optional in CallDuration
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* Upgrade to rn 0.66.0
* Add keys to re-render post list and channel list
* Finish dep updates and rn to 0.66.1
* upgrade more dependencies
* Fix select_server tests
* MM-37934: adds CRT channel notification preferences
Adds push notification preferences per channel for CRT replies.
These are only enabled when push notifications for root messages
are set to 'mention', in any other case we don't show the switch.
* Adds another test case
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* Add multiselect to Apps Forms
* Address feedback
* Add selected information and change button name
* Fix styles
* Add missing semicolon and change currentList to currentSelected.
* Address UX feedback
* Fix test
* Address feedback
* Fix snapshots
* Potential fix for flaky test
* Fix iOS back button
* Address feedback
* Fix tests
* Add separator and scroll to bottom on selected items
* Use setTimeout for scroll and also scroll on unselected
* Fix lint
* Fix tsc
* Fix tests