Commit graph

2419 commits

Author SHA1 Message Date
Mario Vitale
0fbeea83f3
Add Amy as a reviewer for the weekly build number bump PRs (#8071)
* Add Amy as a reviewer for the weekly build number bump PRs

* PR_REVIEWERS is a comma-separated list
2024-07-09 20:02:56 +02:00
Joram Wilander
8c44c54448
Update jest config to show coverage for correct folders (#8069) 2024-07-09 08:58:46 -04:00
Daniel Espino García
f3de4445c2
Restore out of channel and some cleanup (#8050)
* Restore out of channel and some cleanup

* Fix i18n
2024-07-09 11:31:31 +02:00
Elias Nahum
10135091d1
Fix button ui when disabled (#8056) 2024-07-09 07:12:59 +08:00
unified-ci-app[bot]
773fcc3494
Bump app build number to 532 (#8048)
Co-authored-by: runner <runner@Mac-1719563817324.local>
2024-07-08 18:17:53 +02:00
Weblate (bot)
17d15c6953
Translations update from Mattermost Weblate (#8065)
Automatic Merge
2024-07-08 18:27:50 +03:00
Joram Wilander
dd3a38b5fe
Add unit tests for app/actions/local/channel (#8063)
* Add tests for actions/local/channel/removeCurrentUserFromChannel

* Add tests for actions/local/channel/setChannelDeleteAt

* Add tests for actions/local/channel/selectAllMyChannelIds

* Add tests for actions/local/channel/markChannelAsUnread

* Add tests for actions/local/channel/resetMessageCount

* Add tests for actions/local/channel/storeMyChannelsForTeam

* Fix test names

* Add tests for actions/local/channel/updateMyChannelFromWebsocket

* Add tests for actions/local/channel/updateChannelInfoFromChannel

* Add tests for actions/local/channel/updateLastPostAt

* Add tests for actions/local/channel/updateChannelsDisplayName

* Add tests for actions/local/channel/showUnreadChannelsOnly

* Add tests for actions/local/channel/updateDmGmDisplayName

* Remove unnecessary spying
2024-07-08 08:30:12 -04:00
Joram Wilander
2c29172135
Add unit tests for app/actions/local/category (#8058)
* Add unit tests for app/actions/local/category

* Remove unnecessary forEach

* Run setup only once
2024-07-08 08:29:57 -04:00
Daniel Espino García
095b97425f
Graciously handle load measure when there is no mark (#8052)
* Graciously handle load measure when there is no mark

* Make public interface cleaner
2024-07-08 13:31:00 +02:00
Elias Nahum
a7224479d5
added utils unit tests (#8040) 2024-07-05 07:17:09 +08:00
Christopher Poile
92bdb2847b
[MM-57486] [MM-58008] Calls: Mobile ringing for incoming calls (#7984)
* notification ringing, settings screen, native code patch, ringing mp3s

* i18n

* play preview on first press

* prevent playing from background (only affects Android) to match iOS beh

* stop ringing/vibration on entering background

* ring when coming back from background and new incoming call is present

* no push notification sound when it's a call; improve ringing

* move sounds to asset folder; copy on postinstall for android bundling

* make Ringtone type a string enum

* make Android ring async + await ring and stop; changes from PR comments

* missing fields after merge

* release lock on an exception

* cancel sample ringing when turning notifications off

* copy sound files for android build

* typo

* update snapshots

* testing if the problem is copying the mp3 files

* fix android mp3 assets when building for non-release

* add sounds to .gitignore

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2024-07-03 10:22:46 -04:00
ckaznable
331d3130bc
Fix User Agent issue in some device (#8049)
* Remove deviceName from User Agent

* Use modelName for User Agent
2024-07-03 15:41:48 +02:00
Weblate (bot)
1f6194d59d
Translations update from Mattermost Weblate (#8053)
* Translated using Weblate (Russian)

Currently translated at 100.0% (1140 of 1140 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 100.0% (1140 of 1140 strings)

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

---------

Co-authored-by: Konstantin <eleferen@gmail.com>
Co-authored-by: kaakaa <stooner.hoe@gmail.com>
2024-07-02 15:53:37 +02:00
Mario Vitale
013335acb9
Fix the Universal Android build download URL for releases (#8045) 2024-06-27 13:13:57 +02:00
Daniel Espino García
de5e85d71f
Fix null reference error in notifications (#8042) 2024-06-27 09:47:57 +02:00
unified-ci-app[bot]
41f8b078bb
chore: Update NOTICE.txt file with updated dependencies (#8043) 2024-06-26 22:33:01 +08:00
yasserfaraazkhan
351c877a82
fix reporting variables in the community report (#7997) 2024-06-26 19:43:30 +05:30
Mario Vitale
b828277250
Ignore local deps in notice-file-generator config (#8041) 2024-06-26 11:29:26 +02:00
Mario Vitale
c6725ab6d3
Fix typo in UIRequiredDeviceCapabilities for iOS (#8036) 2024-06-24 18:05:22 +02:00
unified-ci-app[bot]
1e01a6c709
Bump app build number to 530 (#8033)
Co-authored-by: runner <runner@Mac-1718958773482.local>
2024-06-24 15:53:12 +02:00
Frank Paul Silye
ca086cab75 Translated using Weblate (Norwegian Bokmål)
Currently translated at 93.7% (1069 of 1140 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/nb_NO/
2024-06-24 15:02:23 +03:00
ThrRip
d67bd81a81 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1140 of 1140 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/zh_Hans/
2024-06-24 15:02:23 +03:00
Frank Paul Silye
f7dbd6de23 Translated using Weblate (Norwegian Bokmål)
Currently translated at 84.2% (961 of 1140 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/nb_NO/
2024-06-24 15:02:23 +03:00
Tom De Moor
87af4deb55 Translated using Weblate (Dutch)
Currently translated at 100.0% (1140 of 1140 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/nl/
2024-06-24 15:02:23 +03:00
Matthew Williams
7f610c5834 Translated using Weblate (English (Australia))
Currently translated at 100.0% (1140 of 1140 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/en_AU/
2024-06-24 15:02:23 +03:00
Frank Paul Silye
a808f00648 Translated using Weblate (Norwegian Bokmål)
Currently translated at 76.7% (875 of 1140 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/nb_NO/
2024-06-24 15:02:23 +03:00
master7
33794bcda7 Translated using Weblate (Polish)
Currently translated at 100.0% (1140 of 1140 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/pl/
2024-06-24 15:02:23 +03:00
jprusch
71471bcac4 Translated using Weblate (German)
Currently translated at 100.0% (1140 of 1140 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/de/
2024-06-24 15:02:23 +03:00
Hosted Weblate
91e1712fe9 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-06-24 15:02:23 +03:00
Frank Paul Silye
ae79384836 Translated using Weblate (Norwegian Bokmål)
Currently translated at 68.1% (774 of 1136 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/nb_NO/
2024-06-24 15:02:23 +03:00
Frank Paul Silye
65f97fe599 Translated using Weblate (Norwegian Bokmål)
Currently translated at 59.0% (671 of 1136 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/nb_NO/
2024-06-24 15:02:23 +03:00
MArtin Johnson
787c478b1c Translated using Weblate (Swedish)
Currently translated at 100.0% (1136 of 1136 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/sv/
2024-06-24 15:02:23 +03:00
jprusch
5732c71562 Translated using Weblate (German)
Currently translated at 100.0% (1136 of 1136 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/de/
2024-06-24 15:02:23 +03:00
Anonymous
bb76a88e68 Translated using Weblate (Malayalam)
Currently translated at 25.5% (290 of 1136 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/ml/
2024-06-24 15:02:23 +03:00
Hosted Weblate
591ceaab3b 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-06-24 15:02:23 +03:00
Frank Paul Silye
86145e3411 Translated using Weblate (Norwegian Bokmål)
Currently translated at 57.5% (654 of 1137 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/nb_NO/
2024-06-24 15:02:23 +03:00
Konstantin
16c42951ee Translated using Weblate (Russian)
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/ru/
2024-06-24 15:02:23 +03:00
Daniel Espino García
b7791add7c
Use UUID native functions (#8032) 2024-06-20 18:22:59 +08:00
Christopher Poile
53b011068e
[MM-58561] Calls: Add stop recording confirmation; update call screen (#8007)
* add rec confirmation; update call screen

* add EnableTranscriptions to dep array

* remove unneeded asyncs

* properly center title; fix horizontal spacing for title buttons

* cleanup
2024-06-19 17:01:49 -04: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
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