Commit graph

228 commits

Author SHA1 Message Date
Elias Nahum
0b83938d3c
update dependencies (#8131)
* update project depdendencies

* update detox dependencies

* update fastlane

* remove silencing console
2024-08-12 09:15:49 +03:00
Elias Nahum
01a60803fd
fix ios and android build (#8114) 2024-07-26 19:34:50 +08:00
Claudio Costa
3656bff4bd
[MM-57698] Implement client ICE candidate pairs metric (#8051)
* Implement client ICE candidate pairs metric

* Update calls package
2024-07-26 10:14:33 +02:00
Claudio Costa
7682c5ccce
[MM-52657] AV1 support (#8037)
* AV1 support

* Guard functionality behind config flag

* Update calls package

* Fix default config

* fix
2024-07-26 10:01:33 +02:00
Elias Nahum
de6ccaef01
SSL Pinned Certificate (#8055) 2024-07-23 18:26:20 +08:00
unified-ci-app[bot]
065bff85dd
Bump app build and version number (#8103)
* Bump app build number to 538

* Bump app version number to 2.19.0

---------

Co-authored-by: runner <runner@Mac-1721389338722.local>
Co-authored-by: Amy Blais <29708087+amyblais@users.noreply.github.com>
2024-07-19 08:11:55 -04:00
Elias Nahum
b330847d95
Channel Bookmarks (#7817) 2024-07-18 09:10:28 +08:00
Daniel Espino García
b7791add7c
Use UUID native functions (#8032) 2024-06-20 18:22:59 +08: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
unified-ci-app[bot]
6195833723
Bump app build and version number (#8023)
* Bump app build number to 528
* Bump app version number to 2.18.0

---------

Co-authored-by: runner <runner@Mac-1718623031725.local>
2024-06-17 15:22:28 +02:00
Daniel Espino García
5f01f9e9af
Add performance metrics to the app (#7953)
* Add performance metrics to the app

* add batcher and improve handling

* Add tests

* Fix test

* Address feedback

* Address feedback

* Address feedback

* update podfile
2024-06-12 09:45:27 +02:00
unified-ci-app[bot]
32e4e0a74b
Bump app build and version number (#7959)
* Bump app build number to 522

* Bump app version number to 2.17.0

---------

Co-authored-by: runner <runner@Mac-1715946646591.local>
2024-05-17 08:39:02 -04:00
Christopher Poile
c009013356
[MM-58074] Calls: Fix crashing app when starting/joining call (#7926) 2024-05-01 11:15:42 -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
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
unified-ci-app[bot]
c3e31b6813
Bump app build and version number (#7915)
* Bump app build number to 518

* Bump app version number to 2.16.0

---------

Co-authored-by: runner <runner@Mac-1713529249511.local>
2024-04-19 08:28:38 -04:00
Daniel Espino García
c8ca39e91e
Update sentry to fix error with the Privacy files (#7897)
* Update sentry to fix error with the Privacy files

* Update sentry cocoa
2024-04-09 15:53:58 +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
unified-ci-app[bot]
b75ab03701
Bump app build and version number (#7870)
* Bump app build number to 511

* Bump app version number to 2.15.0

---------

Co-authored-by: runner <runner@Mac-1710764125160.local>
2024-03-18 13:22:53 +01:00
unified-ci-app[bot]
a1401faa53
Bump app build and version number (#7836)
* Bump app build number to 509

* Bump app version number to 2.14.0

---------

Co-authored-by: runner <runner@Mac-1708096715862.local>
2024-02-16 16:45:35 +01: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
unified-ci-app[bot]
f94e3688e3
Bump app build and version number (#7779)
* Bump app build number to 503

* Bump app version number to 2.13.0

---------

Co-authored-by: runner <runner@Mac-1705935432189.local>
2024-01-22 16:05:56 +01: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
Mario Vitale
c90ed51981
Bump to version 2.12.0 build 499 (#7705) 2023-12-08 15:34:05 +01:00
Caleb Roseland
79d7c628e4 Merge branch 'main' into MM-53902-cont 2023-11-27 15:09:55 -06: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
M-ZubairAhmed
4b5489c7a7
[MM-53810] Add mobile markdown support for highlighting without notifications without configuration ability (#7663) 2023-11-23 17:11:06 +08:00
Harshil Sharma
908e4c08d4
Merge pull request #7654 from mattermost/gm_to_channel
GM to channel conversion
2023-11-22 15:44:40 +05:30
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
Daniel Espino
6c852fbc77 Bump app version number to 2.11.0 2023-11-16 17:19:18 +01:00
harshil Sharma
ba9a84e3e6 Merge branch 'main' into gm_to_channel 2023-11-16 13:23:27 +05:30
Caleb Roseland
cd460e909c Merge branch 'main' into MM-53902-cont 2023-11-15 21:25:24 -06:00
Caleb Roseland
bf25f10c38 refactor parseDeepLink with path-to-regexp 2023-11-15 21:24:48 -06:00
Daniel Espino García
94e1334ebb
Maintenance fixes (#7665) 2023-11-15 15:07:00 +01:00
harshil Sharma
8fe529a4f5 WIP 2023-11-10 19:54:58 +05:30
harshil Sharma
3555eb5d72 Merge branch 'main' into gm_to_channel 2023-11-01 10:48:02 +05:30
jannikb
3497318083
fix: render latex in messages (#7635)
Signed-off-by: Jannik Bertram <jannik.bertram94@gmail.com>
Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>
2023-10-31 17:33:08 +01:00
harshil Sharma
2a65fa7816 Merge branch 'main' into gm_to_channel 2023-10-31 07:44:04 +05:30
Daniel Espino García
1199c3772c
Fix notifications not opening or going to the wrong channel on Android (#7634)
* Fix notifications not opening or going to the wrong channel on Android

* Update podfile
2023-10-30 09:46:49 +01:00
harshil Sharma
7c008a9726 Merge branch 'main' into gm_to_channel 2023-10-30 07:52:55 +05:30
harshil Sharma
bac0136dae WIP 2023-10-25 19:38:48 +05:30
Elias Nahum
f30384eb22
Bump to version 2.10.0 build 490 (#7621)
* Bump app version number to 2.10.0

* Bump app build number to 490
2023-10-20 10:55:53 +04:00
harshil Sharma
6b0de22824 Merge branch 'main' into gm_to_channel 2023-10-18 11:33:45 +05:30
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
Elias Nahum
672e0ee225
update libwebp (#7562) 2023-09-28 16:44:31 +03:00
Elias Nahum
6fd8465e66
Bump version to 2.9.0 and build 486 (#7560)
* Bump app version number to 2.9.0

* Bump app build number to 486

* update fastlane
2023-09-28 08:43:25 +03:00
Elias Nahum
16ca5d3e97
MM-54535 Fixed hang when using the magic keyboard on iPadOS 17 (#7555)
* MM-53989 Upgrade to Node 18 and NPM 9 and match platform versions

* fix iPad OS 17 magic keyboard loop

* add engine-strict=true to npmrc

* use node version from nvmrc in action
2023-09-27 18:54:33 +03:00
Saturnino Abril
1121cca649
CLD-5949 Upgrade Detox and E2E dependencies (#7553)
* upgrade detox and e2e dependencies

* update detox in main package.json

* remove inadvertent addition of "react-devtools"

* remove inadvertent addition of "react-devtools"
2023-09-27 15:56:34 +08:00
harshil Sharma
a6a2ea63a4 Added convert option to GM 2023-09-26 17:32:48 +05:30
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
Alex Yetto
f24642989b
fix husky by adding npm prepare script (#7543)
Co-authored-by: Fokin Aleksandr Konstantinovich <aleksafokin@ozon.ru>
2023-09-15 11:20:20 -03:00
Elias Nahum
9be3dc84e5
fix ios network requests (#7539) 2023-09-07 16:53:28 -03:00
Harrison Healey
2651dd31e1
MM-53107 Add limit to Markdown nodes (#7528)
* MM-53107 Add limit to Markdown nodes

* Update commonmark to published version

* Rename field to camel case for consistency

* Update Markdown tests for removed children
2023-09-07 09:18:31 -04:00
Elias Nahum
f463d12187
show alert when server SSL is invalid or untrusted (#7533) 2023-09-07 06:23:34 -03:00
Elias Nahum
860eaae558
Bump version to 2.8.0 and build to 483 (#7529)
* Bump app version number to 2.8.0

* Bump app build number to 483
2023-08-31 10:33:16 -04: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
Elias Nahum
69872eb678
Upgrade Dependencies (#7491)
* update dependencies

* update dependencies

* update readable-stream

* further updates
2023-08-18 16:04:28 -04:00
Elias Nahum
68939c9fcc
update reanimated (#7500)
* update reanimated

* fix reanimated types
2023-08-14 14:38:05 -04:00
Elias Nahum
4f5b42abba
update network library (#7493)
* update network library

* attempt to fix search results 'map' of null
2023-08-10 10:41:39 +02:00
Elias Nahum
eb9262e389
Bump Version to 2.7.0 build 480 (#7475)
* Bump app version number to 2.7.0

* Bump app build number to 480

* update fastlane
2023-07-27 08:51:39 -04:00
Daniel Espino García
0c4f7f25bc
Upgrade React Native Network Client to 1.3.5 (#7450)
* Upgrade React Native Network Client to 1.3.5

* Fix defaults in the manager
2023-07-12 17:08:40 +02:00
Elias Nahum
d3e576ebed
Bump version to 2.6.0 and build to 477 (#7436)
* Bump app version number to 2.6.0

* Bump app build number to 477
2023-07-05 09:43:25 -04:00
Elias Nahum
ef2c12e954
Update Dependencies (#7409)
* dev dependencies

* update deps

* update wdb

* update more deps

* update detox deps

* update logs for database batch

* fix jest setup
2023-06-21 13:40:23 -04:00
Daniel Espino García
bcc59d5adf
Bump version to 2.5.1 build 476 (#7421)
* Bump app version number to 2.5.1

* Bump app build number to 476
2023-06-21 17:25:14 +02:00
Daniel Espino García
a01f3be8e7
Bump react-native-network-client to 1.3.4 (#7420)
* Bump react-native-network-client to 1.3.4

* update Podfile
2023-06-21 17:14:36 +02:00
Daniel Espino García
2ba650c27a
Bump build 473 (#7389)
* Bump app version number to 2.5.0

* Bump app build number to 473
2023-06-02 20:08:08 +02:00
Md_ZubairAhmed
ecb1a8773d upgrade to latest mmjs 2023-05-15 18:05:20 +05:30
Md_ZubairAhmed
4e01a94cdd init 2023-05-14 17:34:55 +05:30
Elias Nahum
97f5b2f889
Bump version 2.4.0 build 469 (#7334)
* Bump app version number to 2.4.0

* Bump app build number to 469
2023-05-05 17:09:38 -04: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
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
Claudio Costa
0ae3e0770d
Use bash to run scripts (#7268)
* Use bash to run scripts

* Revert to running scripts directly
2023-04-05 08:54:22 -04:00
Elias Nahum
2e0cdebfd0
Add M1/2 support for npm scripts (#7263) 2023-04-03 13:00:51 -04:00
Pantelis Vratsalis
70fe01f295
Bump version to 2.3.0 and build number to 464 (#7256)
* Bump app version number to 2.3.0

* Bump app build number to 464
2023-03-31 07:47:58 -03:00
Daniel Espino García
a3e5a989d0
Bump react-native-network-client to version 1.3.3 (#7249) 2023-03-31 09:53:21 +02: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
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
Daniel Espino García
5ccf45622d
Fix race condition when the same websocket gets initialized twice (#7185)
* Fix race condition when the same websocket gets initialized twice

* Bump network library
2023-03-07 19:11:28 +01:00
Claudio Costa
ac3bd14891
[MM-50806] Calls: fix crash on joining call (#7159)
* Calls: fix crash on joining call

* update Podfile.lock

---------

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2023-02-24 13:25:25 +02:00
Elias Nahum
77b0851213
Update Dependencies (#7140)
* upgrade android dependencies

* upgrade iOS dependencies

* Enable network plugin in flipper for Android

* update JS dependencies
2023-02-16 11:20:31 +02:00
Elias Nahum
1b94bbc0ad
Bump version 2.1 build 457 (#7120)
* Bump app version number to 2.1.0

* Bump app build number to 457
2023-02-14 23:06:46 +02:00
Christopher Poile
4cb20a4bec
MM-49065 - Calls: Implement glare free negotiation (#7111)
* glare-free negotiation

* update to latest with fix

* remove unneeded sessionConstraints

* update to latest react-native-webrtc
2023-02-13 11:03:49 -05:00
Elias Nahum
82f0b014f4
Update RN and deps to fix ANR issues (#7078) 2023-02-02 14:27:42 +02:00
Elias Nahum
265b8b2193
Request permissions for Android push notifications and refactor code to use network client (#7059) 2023-01-31 21:33:35 +02:00
Elias Nahum
a535728d5c
disable top domain level verification (#7045) 2023-01-27 22:02:32 +02:00
Daniel Espino García
78944554a8
Fix pdf upload and pdf download from search results (#6984) 2023-01-27 09:10:05 +02:00
Christopher Poile
a44074247e
MM-46312 - Calls: Replace simple-peer with RTCPeer; use up-to-date upstream react-native-webrtc (#6898)
* move to latest react-native-webrtc release

* make this version of rtcpeer as close as possible to Call's version

* remove need for destroyCb

* upgrade webrtc

* continue merge

* upgrade webrtc

* new linting rules
2023-01-26 14:06:05 -05:00
Elias Nahum
c1fbaffd3e
Support for Android Tablets & Foldable (#7025)
* Add Support for Android tablets & foldables

* add tablet and book posture

* Regenerate disposed observable on WindowInfoTracker
2023-01-26 20:31:18 +02:00
Elias Nahum
7aa5bd0611
Update Dependencies and bug fixes (#7000)
* update dependencies

* update dependencies

* feedback review

* update @mattermost/react-native-turbo-mailer
2023-01-24 09:14:23 +02:00
Elias Nahum
612fd5022f
New UI for Emoji picker (#6933)
* BottomSheet migration to react-native-bottom-sheet

* Refactor Emoji picker to use bottom sheet

* Add skin selector

* Add Emoji Skin Tone tutorial

* add selected indicator to tone selector

* feedback review

* show tooltip after 750ms

* ux feedback review

* ux feedback review #2

* Hide emoji picker scroll indicator
2023-01-12 13:38:44 +02:00
Elias Nahum
c1abccf3ed
update deps (#6938) 2023-01-07 13:43:33 +02:00
Elias Nahum
dbe565319d
BottomSheet migration to react-native-bottom-sheet (#6907)
* BottomSheet migration to react-native-bottom-sheet

* Use correct scroll view for announcement bottom sheet

* ux review

* Fix post options bottom sheet snap point

* feedback review
2023-01-05 09:51:51 +02:00
Elias Nahum
5ff22953ab
update dependencies (#6923) 2023-01-03 23:58:57 +02:00
Elias Nahum
413d3c59dd
update dependencies (#6886)
* update dependencies

* update react-native-image-picker

* use Xcode 14.2 on CI

* downgrade readable-stream

* update fastlane

* Revert "use Xcode 14.2 on CI"

This reverts commit cb0ed81a85d79ca37d1dd7f23fd44450a3d5ddde.
2022-12-23 14:46:58 +02:00
Elias Nahum
3e48e47282
remove unused scripts from package.json (#6870) 2022-12-15 14:18:12 +02:00
Elias Nahum
b28e21a272
standardize user-agent (#6866) 2022-12-15 14:15:16 +02:00
Elias Nahum
83b251d1ff
update dependencies (#6840)
* update dependencies

* fix iOS SQLite.swift

* update fastlane dependencies
2022-12-08 09:46:44 +02:00
Elias Nahum
330fd42212
update turbo-mailer (#6809) 2022-12-01 16:45:08 +02:00