Commit graph

202 commits

Author SHA1 Message Date
unified-ci-app[bot]
32fca63633
Bump app build and version number (#8498)
* Bump app build number to 595

* Bump app version number to 2.25.0

---------

Co-authored-by: Anka <runner@Mac-1737363432619.local>
2025-01-20 11:21:10 +02:00
Daniel Espino García
32e038fe10
Fix timezone crash (#8485) (#8489)
* Fix timezone crash by adding all timezones to the polyfill

* update snapshots; be careful about undefined: diff on local vs CI

* one more that's different locally vs CI

* i18n

---------

Co-authored-by: Christopher Poile <cpoile@gmail.com>
2025-01-17 10:25:06 +02:00
Mattermost Build
1b5ec1e00b
Update dependencies and upgrade to RN 0.76.5 (#8421) (#8482)
* update dev deps

* partial update dependencies

* update watermelondb

* update rn to 0.76.5, expo to 52.0.18 and others

* upgrade android firebase

* upgrade detox deps

* fix package-lock.json

* update emm and paste-input

* update turbo-log

* update network library

* fix tests

* review feedback

* fix Keyboard blocking signIn button

* Fall back to iphone 14 iOS 17.2 simulator as app crashes on iOS 17.4

* changes in deleteCredentialsForServer is causing a crash

* withOptions x2 clearly is wrong

* re-add cli-platform-apple fix

* fix: RN 0.76.5 issue with bottom sheet disappearing (#8478)

* experiment, using view vs BottomSheetView

* revert previous & try disabling enableDynamicSizing

* revert an unintended removal

---------

Co-authored-by: yasserfaraazkhan <attitude3cena.yf@gmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Rahim Rahman <rahim.rahman@mattermost.com>
(cherry picked from commit 2f3dfbbbfa)

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2025-01-16 16:22:32 +02:00
Mattermost Build
0f55d7e702
Mobile drafts (#8280) (#8473)
* refactor: started with draft, done until new tabs for draft

* refactor: change the query and added the screen for draft

* added condition for fetching draft for channel delete or not

* refactor: added draft screen

* linter fixes

* Added draft post component

* added avatar and header display name for the draft post list

* added channel info component

* channel info completed

* proper naming

* added image file markdown acknowledgement support

* draft actions

* Fix the draft receiver in drafts

* separated send message handler

* Done with send drafts

* done with delete drafts

* change save to send draft

* handle lengthy message with show more button

* done with persistent message edit, send and delete drafts

* added alert for sending message

* added update at time for the drafts

* en.json extract fix

* Updated dependencies for useCallback

* refactor: added drafts list to animated list

* added swipeable component and delete conformation for drafts

* done with rendering of images in markdown for drafts

* en.json issue fixed

* fix en.json issue

* refactor: en.json fix

* addressed review comments

* updated image metadata handling code

* linter fixes

* added the empty draft screen

* linter fix

* style fix

* back button an android takes to the channel list page

* en.json fix

* draft actions theme compatible

* CSS fix for draft channel_info and avatar component

* removed the badge icon and change font style drafts

* fix send alert sender name for GMs

* updated snapshot

* added testId to the drafts components

* updated send draft test id

* clicking on draft takes to the channel

* Added toptip for draft tours

* intl extract

* Rebase to main and reverted local testing changes

* Added tooltip for drafts

* addressed review comments

* reset navigation when click on a draft in draft tabs

* fix the theme issue and navigation issue

* reverted back the draft click navigation changes

* observing draft when hitting back button

* removed the unwanted animiation

* updated regex for parsing markdown

* removed unnecessary checks and change folder name

* removed react memo and merge unwanted observes function

* removed unnecessary comments

* changed the name for observing and querying draft function

* removed memo from component level

* Text to FormattedText component

* Text to formatted text, change image name

* added confirmation modal for deleting draft from bottomsheet

* using common send_handler for both draft and post

* removed magic number for tooltip and bottomsheet

* renamed channel_info to draft_post_header

* text to formattedText for Edit drafts

* removed unnecessary changes

* minor fixes

* mounting draft only when there is draft

* map to reduce

* renamed SwipeableDraft to DraftSwipeAction

* name fixes

* isValidUrl to isParsableUrl and added test

* added test and addressed minor review comments

* added inline component for the duplicate code

* inlt fixes

* clearDraft is not optional

* optimised categories_list.tsx component

* Swipeable to ReanimatedSwipeable, TouchableWithoutFeedback to Pressable and folder name changes

* Added comment and disabled eslint rule for showing warning

* fixed component file name

* minor'

* Removed deprecated Animated createAnimatedComponent flatlist

* added test for missing protocol check

* import change for SwipeableMethod

* active tab for tablet view

* Updated the drafts icons

* Updated compass-icon version to v0.1.48

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
(cherry picked from commit 84eded1bde)

Co-authored-by: Rajat Dabade <rajatdabade1997@gmail.com>
2025-01-13 15:15:42 +02:00
Elias Nahum
fb57c423c7
Network metrics (#8390)
* Network metrics

* update network-client ref

* fix unit tests

* missing catch error parsing

* add client tracking unit tests

* fix typos
2024-12-17 19:51:26 +08:00
Daniel Espino García
640ff93e01
Android native logs (#8384)
* Android native logs

* Use latest version of the library
2024-12-17 18:16:11 +08:00
unified-ci-app[bot]
3cda8df6f4
Bump app build and version number (#8418)
* Bump app build number to 585

* Bump app version number to 2.24.0

---------

Co-authored-by: Anka <runner@Mac-1734412880694.local>
2024-12-17 08:33:24 +02:00
Elias Nahum
d25c6fe245
Extra keyboard (#8348)
* Add support to use the keyboard area with a component

* fix import

* add missing providers to involved screens

* Change the way we handle the keyboard to allow using custom components in that area

* review feedback
2024-11-29 11:58:13 +08: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
unified-ci-app[bot]
d259fb00b4
Bump app build and version number (#8364)
* Bump app build number to 576

* Bump app version number to 2.23.0

---------

Co-authored-by: runner <runner@Mac-1732099083966.local>
2024-11-20 13:13:20 +01:00
Harrison Healey
0efa409023
MM-61148 Rewrite table parsing and improve error handling around Markdown code (#8300)
* MM-61148 Rewrite table parsing based off cmark-gfm

* MM-61148 Add better error handling to Markdown code

* Use logError instead of console.error

* Switch back to published release

* Update import paths
2024-11-15 12:23:44 -05:00
Elias Nahum
ea2cb45a18
Login improvement (#8306)
* refactor to improve requests on login

* include in team sidebar order by display name teams not present in the order preference

* Fix iOS reload while developing

* fix code causing tests to fail

* feedback review

* update network-client
2024-11-13 08:06:12 +08:00
Daniel Espino García
e0992c0bf6
Add test notification tool (#8271)
* Add test notification menu

* Reduce the minimum version for testing purposes

* Address feedback

* Add missing strings

* Address feedback

* Fix snapshots

* Bump version limit and use correct link

* Fix tests

* Fix URL issues
2024-11-11 10:22:57 +01:00
unified-ci-app[bot]
e5a7c91f1f
Bump app build and version number (#8269)
* Bump app build number to 568

* Bump app version number to 2.22.0

---------

Co-authored-by: runner <runner@Mac-1729252885614.local>
2024-10-18 08:39:18 -04:00
Claudio Costa
fa7e7ef44d
Update calls-common (#8255)
* Bump rtc monitor interval to 10s

* Update calls-common
2024-10-11 13:47:49 -06:00
Daniel Espino García
94a7231a05
Add fixes for xCode 16 changes (#8254) 2024-10-11 17:02:45 +02:00
Claudio Costa
e693431dec
[MM-45894] Calls: support for signaling media tracks using data channels (#8246)
* Replace pako with fflate

* Allow signaling through data channel

* Update calls-common
2024-10-09 16:33:33 -06:00
unified-ci-app[bot]
a4c346e8d8
Bump app build and version number (#8226)
* Bump app build number to 559

* Bump app version number to 2.21.0

---------

Co-authored-by: runner <runner@Mac-1726744671843.local>
2024-09-19 07:55:33 -04:00
Elias Nahum
c0f3cff531
Remove axios and detox from package.json in the root folder (#8219)
* Remove axios and detox from package.json in the root folder

* fix ts
2024-09-16 10:51:43 +08:00
Elias Nahum
394da4487c
Various Fixes (#8212) 2024-09-13 04:46:15 +08:00
Elias Nahum
ad54f53df6
update network-client to fix ssl error (#8194) 2024-08-30 13:35:50 -04:00
Harrison Healey
a41f1a867d
MM-55972/MM-59809 Update Markdown library to improve handling of tables (#8137)
* MM-59972/MM-59809 Update Markdown library to improve handling of tables

* Change Commonmark back to the published version of our fork

* Actually use the new version
2024-08-30 21:26:18 +08:00
unified-ci-app[bot]
fe0dd4b5af
Bump app build and version number (#8151)
* Bump app build number to 547

* Bump app version number to 2.20.0

---------

Co-authored-by: runner <runner@Mac-1724066792823.local>
2024-08-19 07:56:22 -04: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
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