Commit graph

2380 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
Christopher Poile
1f2a71c499
[MM-58581] Calls: End call confirmations (#8004)
* end call confirmations

* i18n

* remove unneeded asyncs

* better alert for android
2024-06-18 10:02:24 -04:00
Antonis Stamatiou
8cef881db6
fix: Upgrade packages to fix broken release (#8021) 2024-06-17 16:49:16 +03: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
Zenocode
685fe4507f Translated using Weblate (French)
Currently translated at 93.1% (1059 of 1137 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/fr/
2024-06-17 14:41:31 +03:00
Frank Paul Silye
f278c9b2ff Translated using Weblate (Norwegian Bokmål)
Currently translated at 47.9% (545 of 1137 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/nb_NO/
2024-06-17 14:41:31 +03:00
kaakaa
53fd1b725f Translated using Weblate (Japanese)
Currently translated at 100.0% (1137 of 1137 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/ja/
2024-06-17 14:41:31 +03:00
Kaya Zeren
ee1911338e Translated using Weblate (Turkish)
Currently translated at 100.0% (1137 of 1137 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/tr/
2024-06-17 14:41:31 +03:00
Daniel Espino García
b694809da1
Improve websocket behavior (#7976)
* Improve websocket behavior

* Revert uninteded changes

* Address feedback
2024-06-17 09:58:58 +02:00
Elias Nahum
dddd09aa9b
Add unit tests to utils config, datetime, error_handling, errors and files (#8018) 2024-06-15 01:29:03 +08:00
Amy Blais
bc29223315
Update README.md (#7996) 2024-06-14 08:28:55 -04:00
Elias Nahum
aea670745f
Add unit tests to Utils buttonStyles and categories (#8015)
* utils/buttonStyles tests

* utils/categories tests
2024-06-14 17:11:36 +08:00
Amy Blais
f17d4872ce
Update NOTICE.txt (#8012) 2024-06-12 09:27:03 -04:00
Antonis Stamatiou
c1829bd24f
fix: Remove mobile builds out of the template (#8000)
* fix: Remove mobile builds out of the template

* fix: Use proper variables

* fix: Create proper summary from detox output

* fix: Test with free runners for now

* fix: Switch to M1

* fix: Add removed node modules

* fix: statsPercent

* fix: Remove skipped from successful passes
2024-06-12 13:02:36 +03: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
Elias Nahum
daa38c5fd1
T271: Prevent access to Android components if they do not need external communication (#7990) 2024-06-12 00:45:35 +08:00
Elias Nahum
e5ce796770
fix android push notifications when app is closed (#7989) 2024-06-11 05:15:20 +08:00
Elias Nahum
f0e80aa7eb
replace swizzle method_exchangeImplementations with method_setImplementation (#7991) 2024-06-11 05:14:53 +08:00
Daniel Espino García
b966e1f356
Fix priority footer on tablets (#7966) 2024-06-10 17:08:53 +02:00
MArtin Johnson
fc06c0e189 Translated using Weblate (Swedish)
Currently translated at 100.0% (1137 of 1137 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/sv/
2024-06-10 14:41:31 +03:00
master7
050b00b28d Translated using Weblate (Polish)
Currently translated at 100.0% (1137 of 1137 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/pl/
2024-06-10 14:41:31 +03:00
Tom De Moor
925b2180e1 Translated using Weblate (Dutch)
Currently translated at 100.0% (1137 of 1137 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/nl/
2024-06-10 14:41:31 +03:00
jprusch
1a76011352 Translated using Weblate (German)
Currently translated at 100.0% (1137 of 1137 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/de/
2024-06-10 14:41:31 +03:00
kaakaa
ebcdac48cb Translated using Weblate (Japanese)
Currently translated at 100.0% (1135 of 1135 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/ja/
2024-06-10 14:41:31 +03:00
Antonis Stamatiou
54d009d6f1
feat: Introduce Mobile CMT testing (#7994) 2024-06-10 14:06:37 +03:00
Christopher Poile
c93e16218a
[MM-57250] Calls: Provide feedback after user clicks Start call (#7967)
* make joinCall async; adding loading spinner to join/start button

* always close channelInfo

* i18n

* change how we compute active text

* use isPreferred for leave & join call button

* add joiningChannelId to calls state to track when joining a call
2024-06-06 15:39:15 -04:00
yasserfaraazkhan
f46ddb49d0
Add workflow to run detox iOS tests (#7878) 2024-06-04 22:42:58 +05:30
Weblate (bot)
cf254f8a86
Translated using Weblate (Russian) (#7988)
Currently translated at 100.0% (1135 of 1135 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/ru/

Co-authored-by: Konstantin <eleferen@gmail.com>
2024-06-03 14:38:21 +02:00
unified-ci-app[bot]
0473c1bfc8
Bump app build number to 525 (#7987)
Co-authored-by: runner <runner@Mac-1717409210410.local>
2024-06-03 13:00:56 +02:00
Daniel Espino García
9628e15fb8
Fix user autocomplete not showing users not in channel (#7980) 2024-05-31 15:10:11 -04: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
663f9ba01a
Fix user autocomplete not always showing on search screen (#7977) 2024-05-31 09:10:04 +02:00
MArtin Johnson
5a661cd581 Translated using Weblate (Swedish)
Currently translated at 100.0% (1135 of 1135 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/sv/
2024-05-27 19:11:31 +03:00
Tom De Moor
b241e612ee Translated using Weblate (Dutch)
Currently translated at 100.0% (1135 of 1135 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/nl/
2024-05-27 19:11:31 +03:00
MArtin Johnson
a5a8ab718e Translated using Weblate (Swedish)
Currently translated at 99.3% (1128 of 1135 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/sv/
2024-05-27 19:11:31 +03:00
master7
b594a4708d Translated using Weblate (Polish)
Currently translated at 100.0% (1135 of 1135 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/pl/
2024-05-27 19:11:31 +03:00
Matthew Williams
6bca4f3dca Translated using Weblate (English (Australia))
Currently translated at 100.0% (1135 of 1135 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/en_AU/
2024-05-27 19:11:31 +03:00
jprusch
4a6c572a58 Translated using Weblate (German)
Currently translated at 100.0% (1135 of 1135 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/de/
2024-05-27 19:11:31 +03:00
Ori maimon
23e41a1b04 Translated using Weblate (Hebrew)
Currently translated at 4.1% (47 of 1135 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/he/
2024-05-27 19:11:31 +03:00
ThrRip
a78a9f2dae Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1135 of 1135 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/zh_Hans/
2024-05-27 19:11:31 +03:00
Hosted Weblate
21dcf36b05 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/
2024-05-27 19:11:31 +03:00
unified-ci-app[bot]
c00bf9cb4b
Bump app build number to 523 (#7974)
Co-authored-by: runner <runner@Mac-1716820087705.local>
2024-05-27 17:23:21 +02:00
Mario Vitale
1206309c82
Fix MILESTONE_FOUND command (#7972) 2024-05-27 16:35:21 +02:00
Christopher Poile
3f7fa8b1a1
[MM-57267] Calls: Update post UI (#7965)
* MM-58259 - allow current host to run /end call; fix deprecated test fns

* update call card UI

* update call ended icon

* make joinCall async; adding loading spinner to join/start button

* Revert "make joinCall async; adding loading spinner to join/start button"

This reverts commit bbb136690702c46ce2d4430a6b49aa96f143fb5e.

* shadowRadius 3 -> 1
2024-05-24 14:16:28 -04:00
Christopher Poile
5e1c75fd6d
[MM-57291] Calls: Add channel name to call header (#7968) 2024-05-24 13:50:04 -04:00
Weblate (bot)
aecd50c636
Translations update from Mattermost Weblate (#7962)
* Translated using Weblate (German)

Currently translated at 100.0% (1135 of 1135 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/de/

* Translated using Weblate (Dutch)

Currently translated at 100.0% (1135 of 1135 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/nl/

---------

Co-authored-by: jprusch <rs@schaeferbarthold.de>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
2024-05-20 15:08:51 +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
Mario Vitale
2d66605422
Move away from curl and jq for the version bump script (#7957) 2024-05-17 14:29:21 +02:00
Amy Blais
08c38259cb
Update README.md (#7946)
* Update README.md

* Update full_description.txt

* Update changelog
2024-05-16 08:05:49 -04:00
Mario Vitale
7b14ea27ec
Bump app build number to 521 (#7952)
Co-authored-by: runner <runner@Mac-1715329932711.local>
2024-05-14 09:27:25 +02:00