Commit graph

722 commits

Author SHA1 Message Date
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
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
Daniel Espino García
b966e1f356
Fix priority footer on tablets (#7966) 2024-06-10 17:08:53 +02:00
Elias Nahum
83e4aba522
fix update image on account screen when updating profile image (#7978) 2024-05-31 16:44:31 +02:00
Daniel Espino García
4992a96891
Avoid race condition setting the badge number when the app is in the background (#7925) 2024-05-10 09:21:32 +02:00
Daniel Espino García
22e21a4026
Fix notification impeding the input in the rest of the app (#7942) 2024-05-09 13:02:22 +02:00
Daniel Espino García
25326a623a
Fix server options text by in Quartz theme (#7944) 2024-05-09 12:07:04 +02:00
Daniel Espino García
b4a3d7ff4d
Fix MM57562 (#7920)
* Fix MM57562

* fix: Add proper java version for android build

---------

Co-authored-by: Antonis Stamatiou <stamatiou.antonis@gmail.com>
2024-05-06 12:02:12 +02:00
Daniel Espino García
b98c184e7c
Fix gallery footer author image showing old image (#7910)
* Fix gallery footer author image showing old image

* Fix tests

* Address feedback

* Fix tests and minor refactor
2024-05-06 12:00:19 +02:00
Daniel Espino García
a6d043670a
Properly unset the active channel in the server (#7919) 2024-05-06 10:46:20 +02: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
Aaron Hopkins
42b36b2e1e
Update post_options.tsx (#7912)
[MM-52675] Use message_source in copy text action (#26674)
2024-04-23 12:07:53 +02:00
Christopher Poile
1774445715
[MM-57706] Calls: Participants list for call screen (#7895)
* Add participants bottom sheet to call screen

* i18n

* fix ruby-version

* use tag instead of host_badge

* extract Participant, use FlatList

* fix for android

* android participants list close button
2024-04-22 11:01:18 -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
Aditya Pratap Singh Hada
6dcefaf1e4
[MM-56585]Show only unreads filter stays active after changing the 'Group unreads' setting (#7790)
* showing unread and threads, of group unread setting in on

* using third variable to maintain state for showing categories

* removed useState from useMemo

* Removed state, return orderctegroies if onlyUnreads & unreadsOnTop is true

* test cases updates

* removed onlyUnreads props from threads

* removed onlyUnreads

* test cases updated

* removed unnecessary changes

* removed onlyUnreads from dep

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-04-16 12:29:59 +02:00
Philippe Karle
02261eb8c0
Fix channel members list not fully loaded (#7896)
* Load more users when reaching bottom of the list

Fix mattermost issue when typing quickly within search input

* Update: logic to load next users on bottom list reached

* Update: logic refactored

---------

Co-authored-by: Philippe Ka <philippe.karle@infomaniak.com>
2024-04-16 12:23:00 +02:00
Elias Nahum
73fc79903f
Allow iOS to connect to servers without SSL (#7881) 2024-03-28 20:09:50 +08:00
Julio Vc
8b32bc73c4
MM-56391: fixed search bar moving up in ios (#7796)
* MM-56391: fixed search bar moving up in ios

* chore: solved merging conflicts

* chore: removed auto formating in package-lock.json

* Update package-lock.json

* chore: reverted changes in package-lock.json

* resetted pr and fixed linting

---------

Co-authored-by: Julio Villalvazo Carrera <j.carrera@cyberpuerta.mx>
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-02-22 10:44:47 +01:00
Daniel Espino García
c43656496e
Fix issue when opening a avatar image from a thread (#7824)
* Fix issue when opening a avatar image from a thread

* Remove unneeded casting

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-02-20 17:16:07 +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
Elias Nahum
0897f54bf0
Fix multi-server icon mention badge (#7795) 2024-02-01 22:29:03 +08:00
Cedric Ong
6daa77f0da
remove usages of isTimeZoneEnabled (#7769) 2024-01-30 13:22:55 +01:00
Daniel Espino García
780f623274
Remove motion reducer from critical animations (#7786)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-01-29 17:35:58 +01:00
Cedric Ong
4287802ab2
[MM-53711] Set save button opacity for editing a post when disabled (#7763)
* set save button opacity when disabled

* change import

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-01-29 10:53:31 +01:00
Daniel Espino García
05e7550305
Fix foldable device LHS size when changing modes (#7787)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-01-25 09:37:49 +01:00
Elias Nahum
1584208536
Do not display deactivated users to add channel members (#7767) 2024-01-19 06:37:07 +08:00
Elias Nahum
106324335c
MM-56542 fix custom theme selection (#7762) 2024-01-18 06:00:21 +08:00
Daniel Espino García
8bd9cac9f5
Fix joining channels from the find channels screen (#7732)
* Fix joining channels from the find channels screen

* Fix lint

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-01-15 10:18:37 +01:00
M-ZubairAhmed
cc96982d24
MM-53479 : Improve design of keyword that trigger notification in mobile (#7458) 2024-01-13 06:56:22 +00: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
Tanmay Thole
15fb6363aa
fix: height for multiple line floating text input (#7688) 2023-12-13 09:50:18 +01:00
Elias Nahum
bcf3dc61ab
MM-54575 fix server & user list tutorials (#7698) 2023-12-06 15:41:04 +08:00
Elias Nahum
de57c343f0
MM-55621 fix layout for tablets and foldables (#7697)
* MM-55621 fix layout for tablets and foldables

* feedback review
2023-12-05 11:08:43 +08:00
Daniel Espino García
d469470592
Make app init more idempotent (#7676)
* Make app init more idempotent

* Remove previous subscriptions
2023-12-04 17:01:08 +01:00
Alex Yetto
ab7da5f664
fix opening same modal twice (#7639)
Co-authored-by: Fokin Aleksandr Konstantinovich <aleksafokin@ozon.ru>
2023-12-01 10:48:40 +01: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
Christopher Poile
6baa850d36
MM-54277 - Calls: Add incoming banners to channel_list screen (#7673) 2023-11-22 16:56:27 -05:00
KyeongSoo Kim
1a59bd9e0e
[MM-42586] Reaction toggle behavior (#7674) 2023-11-22 21:05:58 +08:00
Harshil Sharma
c037c3375a
Merge pull request #7667 from mattermost/show-conversion-error
Displayed channel related error with name field
2023-11-22 15:40:07 +05:30
harshil Sharma
c6967b701b text fix 2023-11-17 11:25:06 +05:30
harshil Sharma
cec7961d18 Displayed channel related error with name field 2023-11-16 17:06:39 +05:30
harshil Sharma
ba9a84e3e6 Merge branch 'main' into gm_to_channel 2023-11-16 13:23:27 +05:30
harshil Sharma
72d513987c fixes 2023-11-16 13:20:41 +05:30
Daniel Espino García
94e1334ebb
Maintenance fixes (#7665) 2023-11-15 15:07:00 +01:00
harshil Sharma
316971f6d8 Reverted accidental change 2023-11-15 16:04:01 +05:30
harshil Sharma
e0239a0e76 Review fixes 2023-11-15 15:20:01 +05:30
harshil Sharma
4af2ad2f69 review fixes 2023-11-15 14:13:55 +05:30
Elias Nahum
94a910303b
Allow connecting to a previous server if credentials are not in the keychain (#7661) 2023-11-14 19:14:46 +08:00