* 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
* 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>
* reworking splash screen for new brand modifying layout
* removed background_splash file and reworked launch_screen file instead
* simplified to reduce number of changed files
* updated release launch screen as well
* reworked to simplify changes
* removed iOS splash background image not being used for this PR
* added support for dark mode
* tweak to splash background to center better
* update fastlane
* Replace iOS Splash Screen release assets
* Replace Android Splash Screen release assets
* Replace iOS release LaunchScreen.storyboard
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* MM-36908 display unicode emoji in text field after selecting from autocomple
* MM-36935 Fix android crash when ammending search in Sidebar Jump to
* MM-36929 & MM-36928 fix notification badge resetting on new notification
* MM-36920 Fix android push notification issues
* MM-36922 Edit profile image
* Fix crash when opening Android test notification
* Update transform to make Android's post list scroll smooth
* set start since metric when appStarted is false
* Refactor Formatted components
* Downgrade RNN to 7.13.0 & patch XCDYouTube to allow video playback
* Refactor Post list and all related components
* review suggestion rename hour12 to isMilitaryTime
* feedback review use aliases
* feedback review deconstruct actions in markdown_link
* feedback review simplify if/else statement in combined_used_activity
* Simplify if statement for consecutive posts
* Specify npm version to build iOS on CI
* Refactor network_indicator
* render Icon in file gallery with transparent background
* Increase timeout to scroll to bottom when posting a new message
* fix: scroll when tapping on the new messages bar
* fix: dismiss all modals
* fix navigation tests
* Handle dismissAllModals for iOS to prevent blank screens
* Prevent modal from dismissing when showing the thread screen in the stack
* Update app/components/image_viewport.tsx
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
* Update app/utils/post.ts
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
* fix: rename selector and prop
* Fix XCDYouTube patch
* Fix posting from a thread in the right channel
* do not render reply bar on the thread screen
* close previous permalink before showing a new one
* move XCDYouTube patch to ios/patches folder
* closePermalink directly instead of using an onClose prop
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
Co-authored-by: Miguel Alatzar <this.migbot@gmail.com>
* Unable to open previews from search, pinned and mentions
* Updated Compass Icons
* Added Icon to LHS and Channel Info
* Added Icons to Manage/View Members list
* Added Icon to shared users in posts
* Added icon to channel header, fixed header style
* Added Icons in autocomplete
* WIP: Add shared shannels to browse
* Adding Shared Channels string to i18n
* Added remote organization to remote user profile
* Updated snapshot for channel header
* Added browsing shared channels
* Removed the exmpty line
* Added snapshot when user is remote
* Reverted compass icons and added icons only needed for shared channels
* Fixed i18n swapped
* Copied compass-icons from webapp
* Fixed showing shared channels as deleted after browsing them
* Added new compass ttf to android & fixed icon style for browse channel listing
* Fixed search for shared channels
* user profile snapshot updated with testId
* User list row snapshot updated with testID
* Moved shared user check to util function
* Fixed required props warning for ChannelIcon component
* Update app/screens/user_profile/index.js
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
* Removed Request related redux
* Reverted client4
* Added rest calls
* Updated snapshot
* Reverted files
* Adding back shared channels stuff to channel icon & showing shared channels only when enabled in browse channels
* Fixed misc issues
* moved empty array outside the function to avoid re-render
* Removed renaming fields
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* Update dependencies
* Fix lint, use npm@6
* Fix unit tests
* Dowgrade Fastlane
* Fix Fastlane script
* use android:api-29-node ci image
* Infer gradle json file from apk output folder
* Fastlane to Parse new version of gradle output-metadata.json
* MM-33495 Sanitize filename in Android ShareExtension
* Apply sanitization after getting uri last path segment
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* Open/Close Gallery transitions
* Include postId in file info & disable opening the gallery in some cases
* Add progress bar component
* Transition to gallery based on platform
* Improve getting the filename for non attachments
* Patch RNFetchBlob TS definition
* Add gallery types
* fix unit tests for message and post attachment
* add getLocalPath method
* Add react-native-share dependency
* Re-style gallery footer
* Refactor Gallery screen
* Double tap zoom in/out and translate
* Make android activity "transparent"
* Do not animate to height on dismissing gallery
* Open gallery for file uploads
* Fix borderRadius for gallery action button
* Use progress bar for file uploads
* Replace progress bar for file attachment document
* Upgrade RNN to 7.1.0 to fix share elements transitions
* Fix Gallery unit tests
* translate down when popping screen on iOS
* Swipe, Pan & Tap fixes
* fix gallery footer avatar eslint
* Fix gallery snapshot tests
* Use CompassIcon in Gallery
* Feedback from UX review
* Fix gallery UI for other file types
* Set other file type gallery button to 48pt
* init
* Pick one from mini preview and thumnail URL in file attachment image
* Blur thumbnail mini preview & update testID's
* Set blurRadious based on Platform OS
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* initial Detox setup for mobile UI automation
* fix iOS allow permission on opening the app, add npm script to root folder, fix test when using longer site URL and add detox dependency to root for android build dependency
* remove detox proguardFile
* update packages and emulator
* change folder build on local and CI
* add test to post a message, ability to have test in isolation, server API commands, server config, dependency updates and update folder structure
* update snapshot
* update detox and do clean up
* update dependencies
* Upgrade to RN 0.63
* Bump to RN 0.63.1
* Fix RN patch
* Use JSC Intl version
* Update android/app/build.gradle
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
* Fix Android external storage permission
* Fix emoji imageUrl when no server url is present
* Patch react-native-image-picker
* Allow to post attachment only messages
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
* MM-24328: Show Press again to exit toast when back button on Channel screeen is pressed.
* Fix feedbacks.
* Handle back press only for the Channel screen.
* MM-24328: Add a back press handler to share activity.
* Update the toast message as Press back again to exit.
* Don't retry nor use response message on 401
* Explicitly call contentHandler on retry exhaustion
* Handle all non 200 responses for id_loaded notifications
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>