Commit graph

1041 commits

Author SHA1 Message Date
Harshil Sharma
738c7e6b1d
Channel banner display (#8735)
* channel banner DB migration

* Display channel banner

* Updated database docs

* used premium sku

* misc fixes

* Handled channel banner with calls

* Updated tests

* Updated tests

* test: Add comprehensive tests for shouldShowChannelBanner function

* Added more tests

* lint fix

* minor refactoring

* lint fix

* reverted package.resolved changes

* made a param mandatory

* Added some comments
2025-04-08 11:15:18 +05:30
Weblate (bot)
ce57a3df8a
Translations update from Mattermost Weblate (#8755)
Automatic Merge
2025-04-07 16:08:43 +03:00
Frank Paul Silye
56171a68d2 Translated using Weblate (Norwegian Bokmål)
Currently translated at 98.8% (1213 of 1227 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/nb_NO/
2025-03-31 17:26:36 +00:00
Benjamin Danon
ca13a595f3 Translated using Weblate (French)
Currently translated at 93.6% (1149 of 1227 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/fr/
2025-03-31 17:26:36 +00:00
Ricky Tigg
d71c1923d9 Translated using Weblate (Finnish)
Currently translated at 46.2% (568 of 1227 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/fi/
2025-03-31 17:26:36 +00:00
Bohdan
1a2f7cffd6 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1227 of 1227 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/uk/
2025-03-31 17:26:36 +00:00
Ricardo Galvão
e58c298f67 Translated using Weblate (Portuguese (Brazil))
Currently translated at 46.4% (570 of 1227 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/pt_BR/
2025-03-31 17:26:36 +00:00
Ricardo Galvão
584e7a8e60 Translated using Weblate (Portuguese (Brazil))
Currently translated at 45.4% (558 of 1227 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/pt_BR/
2025-03-31 17:26:36 +00:00
boristrbrt
cb48cc97dd Translated using Weblate (French)
Currently translated at 93.6% (1149 of 1227 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/fr/
2025-03-31 17:26:36 +00:00
jprusch
11f284ca58 Translated using Weblate (German)
Currently translated at 100.0% (1227 of 1227 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/de/
2025-03-31 17:26:36 +00:00
Konstantin
62ec9a60c3 Translated using Weblate (Russian)
Currently translated at 100.0% (1227 of 1227 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/ru/
2025-03-31 17:26:36 +00:00
Pineoak
f0cd4fabd2 Translated using Weblate (Portuguese (Brazil))
Currently translated at 45.3% (556 of 1227 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/pt_BR/
2025-03-31 17:26:36 +00:00
Martin Mičuda
5112e048b2 Translated using Weblate (Czech)
Currently translated at 100.0% (1227 of 1227 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/cs/
2025-03-24 14:02:33 +00:00
ThrRip
a642963460 Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (1227 of 1227 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/zh_Hans/
2025-03-24 14:02:33 +00:00
Bohdan
24c4944de3 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1227 of 1227 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/uk/
2025-03-24 14:02:33 +00:00
Matthew Williams
39ba29dedd Translated using Weblate (English (Australia))
Currently translated at 100.0% (1227 of 1227 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/en_AU/
2025-03-24 14:02:33 +00:00
Weblate (bot)
f21cf86066
Translations update from Mattermost Weblate (#8685)
Automatic Merge
2025-03-19 04:23:15 +02:00
Daniel Espino García
782b1c69a8
Make attachments and app bindings more robust yet secure (#8570)
* Make attachments and app bindings more robust yet secure

* Fix tests

* i18n extract

* Address feedback

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-03-14 12:02:32 +01:00
Elias Nahum
a5a1e53827
Biometric prompt, Jailbreak / Root detection and screenshot prevention (#8645)
* Handle biometric authentication

* jailbreak/root detection and biometric small fixes

* remove server from initializeSecurityManager and fix loginEntry

* Add screen capture prevention and other small fixes

* added unit tests to SecurityManager

* added shielded nativeID to protect views

* use MobilePreventScreenCapture instead of MobileAllowScreenshots in config type definition

* Apply Swizzle for screen capture on iOS

* Apply patch to bottom sheet to prevent screen captures

* fix ios sendReply

* Fix SDWebImage swizzle to use the correct session

* Fix potential crash on Android when using hardware keyboard

* rename patch for network library to remove warning

* add temp emm reference

* fix initializeSecurityManager tests

* fix translations

* use siteName for jailbreak detection when connecting to a new server

* fix i18n typo

* do not query the entire config from the db only the required fields

* migrate manage_apps to use defineMessages

* use TestHelper.wait in tests

* use defineMessages for security manager

* fix missing else statement for gm_to_channel

* created a TestHelper function to mockQuery and replace as jest.Mock with jest.mocked

* fix unit tests

* fix unit tests (again) and include setting the test environment to UTC

* Fix keyboard disappearing on iOS

* update react-native-emm
2025-03-13 14:07:41 -04:00
Weblate (bot)
02a0e8636d
Translations update from Mattermost Weblate (#8653)
Automatic Merge
2025-03-10 15:36:35 +02:00
Kaya Zeren
6047586e37 Translated using Weblate (Turkish)
Currently translated at 100.0% (1219 of 1219 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/tr/
2025-03-03 15:51:53 +00:00
Frank Paul Silye
4a1e6e63ae Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.5% (1214 of 1219 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/nb_NO/
2025-03-03 15:51:53 +00:00
Frank Paul Silye
247e2d1b10 Translated using Weblate (Norwegian Bokmål)
Currently translated at 98.6% (1202 of 1219 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/nb_NO/
2025-03-03 15:51:53 +00:00
Martin Mičuda
7dc55cf99b Translated using Weblate (Czech)
Currently translated at 100.0% (1219 of 1219 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/cs/
2025-03-03 15:51:53 +00:00
Martin Mičuda
db49829822 Translated using Weblate (Czech)
Currently translated at 100.0% (1219 of 1219 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/cs/
2025-03-03 15:51:53 +00:00
Konstantin
2fb4b44ee7 Translated using Weblate (Russian)
Currently translated at 100.0% (1219 of 1219 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/ru/
2025-03-03 15:51:53 +00:00
Frank Paul Silye
44fc9ec940 Translated using Weblate (Norwegian Bokmål)
Currently translated at 98.6% (1202 of 1219 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/nb_NO/
2025-03-03 15:51:53 +00:00
Weblate (bot)
5590f853d7
Translations update from Mattermost Weblate (#8630)
Automatic Merge
2025-02-24 17:20:11 +02:00
Lucas Reis
8e854a8bdd
Implementing the Audio Playback/Download on the chat (#7900)
* feat: added new check for isAudio and added the supported mime types

* feat: adding the progress and audio on the audio file message

* feat: finishing the layout of the audio_file

* feat: play and pause audio

* feat: update the progress bar when audio is playing

* feat: update the timeframe of the audio

* feat: update with the new design

* feat: adding download and preview

* feat: creates a hook for the file download and preview

* feat: adding useCallback to make the return stable

* fix: iOS issue when playing in loop

* feat: adding localization for the error

* fix: removing code tha was inserted for debug

* feat: add a new line on the en.json

* fix: fixing types

* feat: adding the onSeek method inside the progress bar

* feat: changing progress value to animated value

* feat: changing to GestureDetector and making the seek method work

* feat: adding a touchable without feedback to prevent the audio to triggering other page

* feat: adding the drag on the seek method

* feat: making the download button more gray

* fix: fix tests

* fix: prevent onProgress from clearing the seconds when the audio is paused

* feat: clamping the position of the cursor to never be dragged offscreen

* feat: enhancing the experience of dragging the cursor on the progress bar

* feat: differentiate between the throttles

* feat: remvoing the aac audio files support

* feat: pausing if the focus has changed

* feat: render differently the audio file when in the files list

* refactor: optimize audio file component by using useCallback for event handlers

* refactor: extract stopPropagation function for better readability in AudioFile component

* feat: implement custom useThrottled hook and replace lodash throttle in AudioFile component

* refactor: update useThrottled hook to accept a generic callback type

* fix: loading of uri of audio files after merge

* feat: add audioFile style to enhance layout for audio files

* fix: tests
2025-02-19 11:17:30 +01:00
NCPSNetworks
f675761f34 Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (1212 of 1212 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/zh_Hans/
2025-02-17 15:04:56 +00:00
MArtin Johnson
e0949deb9c Translated using Weblate (Swedish)
Currently translated at 100.0% (1212 of 1212 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/sv/
2025-02-17 15:04:56 +00:00
Frank Paul Silye
7754e33ef0 Translated using Weblate (Norwegian Bokmål)
Currently translated at 97.9% (1187 of 1212 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/nb_NO/
2025-02-17 15:04:56 +00:00
master7
de6978e3ad Translated using Weblate (Polish)
Currently translated at 100.0% (1212 of 1212 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/pl/
2025-02-17 15:04:56 +00:00
Daniel Espino García
779fe31c3b
Fix MM-61975 (#8459)
* Fix MM-61975

* Add missing strings

* Ensure the app gets logged out after not accepting the ToS

* Fix i18n and add comment

* Fix tests and address feedback

* Check for the right value coming from status

* Update texts
2025-02-17 13:45:12 +01:00
Martin Mičuda
316ad84ea3 Translated using Weblate (Czech)
Currently translated at 100.0% (1212 of 1212 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/cs/
2025-02-10 15:07:42 +00:00
Kaya Zeren
46d5175f5d Translated using Weblate (Turkish)
Currently translated at 100.0% (1212 of 1212 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/tr/
2025-02-10 15:07:42 +00:00
kaakaa
561201a973 Translated using Weblate (Japanese)
Currently translated at 100.0% (1212 of 1212 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/ja/
2025-02-10 15:07:42 +00:00
Matthew Williams
0f1312520d Translated using Weblate (English (Australia))
Currently translated at 100.0% (1212 of 1212 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/en_AU/
2025-02-10 15:07:42 +00:00
Serhii Khomiuk
2140e70d26 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1212 of 1212 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/uk/
2025-02-10 15:07:42 +00:00
Konstantin
4fb37228d3 Translated using Weblate (Russian)
Currently translated at 100.0% (1212 of 1212 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/ru/
2025-02-10 15:07:42 +00:00
Tom De Moor
99ea6c633e Translated using Weblate (Dutch)
Currently translated at 99.8% (1210 of 1212 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/nl/
2025-02-10 15:07:42 +00:00
liul8258
49869182d5 Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (1212 of 1212 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/zh_Hans/
2025-02-10 15:07:42 +00:00
jprusch
caebf9a20b Translated using Weblate (German)
Currently translated at 100.0% (1212 of 1212 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/de/
2025-02-10 15:07:42 +00:00
Frank Paul Silye
a84730d205 Translated using Weblate (Norwegian Bokmål)
Currently translated at 97.4% (1181 of 1212 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/nb_NO/
2025-02-10 15:07:42 +00:00
Martin Mičuda
3cac04e15e Translated using Weblate (Czech)
Currently translated at 100.0% (1211 of 1211 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/cs/
2025-02-10 15:07:42 +00:00
jprusch
c2bc2d23f0 Translated using Weblate (German)
Currently translated at 100.0% (1211 of 1211 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/de/
2025-02-10 15:07:42 +00:00
Julien Tant
fb9760151c
[MM-60405] Crossteam search (#8411)
* Add new team picker for search

* try fix result header

* fix style

* add test for team picker

* add some tests

* add tests on team list and team list item

* hide All Teams search behind FF

* use style variable for separator

* ALL TEAMS does not have a search history

* Update app/components/team_list/index.test.tsx

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>

* move ALL_TEAMS_ID to a constant file

* memoize the construction of team list to prevent useless allocation

* combine pushes

* move style to stylesheet

* revert changes to Package.resolved

* improve team list index tests

* add test to ensure team picker does not show for just one team

* add test to ensure the file icon filter only shows when i'm on the file tab

* improve jsx readability by making the if test positive

* add test to make sure team picket does not show if there's only one team

* test: remove snapshot and add expect that separator exists in index 0 but index 1 (#8474)

* Trigger Build

---------

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Rahim Rahman <rahim.rahman@mattermost.com>
2025-02-05 13:46:38 -07:00
Daniel Espino García
c8f42ee67e
Add the Component Library to the app (#8319)
* Add the Component Library to the app

* fix i18n

---------

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2025-02-04 13:32:55 +01:00
Weblate (bot)
53b8b6e59f
Translated using Weblate (Turkish) (#8550)
Automatic Merge
2025-02-03 15:20:10 +02:00
master7
167d8a37b9 Translated using Weblate (Polish)
Currently translated at 100.0% (1209 of 1209 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/pl/
2025-01-27 18:12:49 +01:00