Commit graph

2903 commits

Author SHA1 Message Date
Claudio Costa
0e67bc8944
[MM-63382] Calls: Fix rendering of long user/channel name in call bar (#8804)
* Calls: Fix rendering of long user/channel name in call bar

* Fix linting
2025-04-30 13:32:00 -06:00
Lorenzo
8453eee0e3
Snyk SBOM (#8249) 2025-04-30 08:54:53 -06:00
Christopher Poile
65ca3bffa3
[MM-63509] Fix: Protect against license can be undefined (#8784)
* protect against license can be undefined

* linting
2025-04-29 16:56:57 -04:00
Rajat Dabade
38f6011caf
Android: Fix Rescheduling pop back calendar (#8810) 2025-04-29 18:04:32 +05:30
Daniel Espino García
f963855875
Fix Find channels not being interactable (#8794)
* Fix Find channels not being interactable

* fix(e2e): Uncomment find channel tests

* Fix tsc

* Use platform select

---------

Co-authored-by: yasserfaraazkhan <attitude3cena.yf@gmail.com>
2025-04-29 13:56:22 +02:00
Rajat Dabade
098c219932
Unlicensed server should not show the tooltip on channel send button (#8806)
* Unlicensed server should not show the tooltip on channel send button

* Added config and license check for fetching and displaying scheduled post
2025-04-29 17:21:09 +05:30
Tom De Moor
2f60d474c7 Translated using Weblate (Dutch)
Currently translated at 100.0% (1298 of 1298 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/nl/
2025-04-28 21:03:37 +02:00
MArtin Johnson
195ddf4acd Translated using Weblate (Swedish)
Currently translated at 100.0% (1298 of 1298 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/sv/
2025-04-28 21:03:37 +02:00
Tom De Moor
829362cc52 Translated using Weblate (Dutch)
Currently translated at 100.0% (1298 of 1298 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/nl/
2025-04-28 21:03:37 +02:00
Serhii Khomiuk
24b6b2b8f0 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1298 of 1298 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/uk/
2025-04-28 21:03:37 +02:00
jprusch
ef0b6a0bc6 Translated using Weblate (German)
Currently translated at 100.0% (1298 of 1298 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/de/
2025-04-28 21:03:37 +02:00
ThrRip
7acc9cf54f Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (1298 of 1298 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/zh_Hans/
2025-04-28 21:03:37 +02:00
master7
b77ef2090a Translated using Weblate (Polish)
Currently translated at 100.0% (1298 of 1298 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/pl/
2025-04-28 21:03:37 +02:00
Tom De Moor
09162a7c8e Translated using Weblate (Dutch)
Currently translated at 99.0% (1286 of 1298 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/nl/
2025-04-28 21:03:37 +02:00
Matthew Williams
ba336f31b1 Translated using Weblate (English (Australia))
Currently translated at 100.0% (1298 of 1298 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/en_AU/
2025-04-28 21:03:37 +02:00
Serhii Khomiuk
0c76aa0c40 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1282 of 1282 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/uk/
2025-04-28 21:03:37 +02:00
master7
77f1936ee5 Translated using Weblate (Polish)
Currently translated at 98.1% (1258 of 1282 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/pl/
2025-04-28 21:03:37 +02:00
Claudio Costa
7192d21134
[MM-63889] Calls: Add backend version check to enable DC locking (#8799)
* Calls: Add backend version check to enable DC locking

* Update calls-common
2025-04-28 09:04:49 -06:00
Jesse Hallam
e3e4fe245c
Fix direct message screen showing deactivated accounts (#8795)
* Fix direct message screen showing deactivated accounts

Fixes MM-63374. The create direct message screen was showing deactivated accounts in the user list. Fixed by:
1. Setting allow_inactive: false in userSearchFunction when searching profiles
2. Setting active: true in userFetchFunction when fetching profiles
3. Added a test to verify that deactivated users don't appear in the search results

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Fix test for deactivated users in DM creation screen

Updated the test to properly handle quotation marks that differ between CI and local environments.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-04-25 10:22:41 -03:00
unified-ci-app[bot]
04dedb3898
Bump app build number to 631 (#8800)
Co-authored-by: Anka <runner@Mac-1745570942917.local>
2025-04-25 12:10:41 +03:00
Jesse Hallam
d33ad7b2a0
Add watchman watch-del to clean script (#8797)
* Add watchman watch-del-all to clean script

This ensures watchman watches are reset during cleanup, preventing issues after upgrades.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Use watchman watch-del instead of watch-del-all

Only reset watches for the current project directory instead of all watches.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-04-24 19:05:30 -03:00
Daniel Espino García
b01cc5ea34
Fix typo troubleshouting vs troubleshooting (#8796) 2025-04-24 16:20:21 +02:00
Daniel Espino García
5c2153f83b
Add Report a Problem functionality (#8605)
* Add Report a Problem functionality

* update cache pinned SHA version from 4.0.2 to 4.2.0

* Address feedback

* Fix tests

* Fix some issues and update kotlin coroutines version

* Fix delete file for iOS

* Bump 1 more version for coroutines

* Use rxjava instead of kotlin coroutines to avoid security issue

* Move path prefix to avoid test error

* Address feedback

* Address feedback

* Address feedback

* Use mailto on iOS

* Fix tests related to button changes

* Address feedback

* Update icon and fix onboarding buttons

* Fix test

---------

Co-authored-by: Angelos Kyratzakos <angelos.kyratzakos@mattermost.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2025-04-24 11:12:55 +02:00
yasser khan
3cbde1663d
E2E feature schedule posts (#8709)
- Fix iOS and Android CI.
- Fixes E2E tests on both platform
- Added tests for scheduled draft feature.
2025-04-23 12:10:37 +05:30
Elias Nahum
11118c43c5
Explicitly build the universal apk (#8790)
* Explicitly build the universal apk

* remove universal APK link from github release
2025-04-22 13:16:15 +03:00
unified-ci-app[bot]
753295548f
Bump app build and version number (#8787)
* Bump app build number to 629

* Bump app version number to 2.28.0

---------

Co-authored-by: Anka <runner@Mac-1745295415004.local>
2025-04-22 08:23:23 +03:00
Tom De Moor
8259c0ae4a Translated using Weblate (Dutch)
Currently translated at 99.7% (1279 of 1282 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/nl/
2025-04-21 19:00:53 +00:00
Matthew Williams
3f53a454ca Translated using Weblate (English (Australia))
Currently translated at 99.7% (1279 of 1282 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/en_AU/
2025-04-21 19:00:53 +00:00
Bohdan
b958270f20 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1282 of 1282 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/uk/
2025-04-21 19:00:53 +00:00
Sharuru
f600ec9742 Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (1282 of 1282 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/zh_Hans/
2025-04-21 19:00:53 +00:00
kaakaa
cf0baba545 Translated using Weblate (Japanese)
Currently translated at 100.0% (1280 of 1280 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/ja/
2025-04-21 19:00:53 +00:00
jprusch
1daa982000 Translated using Weblate (German)
Currently translated at 100.0% (1280 of 1280 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/de/
2025-04-21 19:00:53 +00:00
jprusch
f33ea1229c Translated using Weblate (German)
Currently translated at 99.2% (1271 of 1280 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/de/
2025-04-21 19:00:53 +00:00
jprusch
51223fe4e0 Translated using Weblate (German)
Currently translated at 99.1% (1269 of 1280 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/de/
2025-04-21 19:00:53 +00:00
jprusch
69a74c7afa Translated using Weblate (German)
Currently translated at 98.9% (1267 of 1280 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/de/
2025-04-21 19:00:53 +00:00
Frank Paul Silye
b2ddce9539 Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.8% (1278 of 1280 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/nb_NO/
2025-04-21 19:00:53 +00:00
kaakaa
bf665157e0 Translated using Weblate (Japanese)
Currently translated at 96.4% (1235 of 1280 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/ja/
2025-04-21 19:00:53 +00:00
Frank Paul Silye
b29d5c7d9d Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.6% (1276 of 1280 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/nb_NO/
2025-04-21 19:00:53 +00:00
Frank Paul Silye
e19e1c97ca Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.2% (1271 of 1280 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/nb_NO/
2025-04-21 19:00:53 +00:00
master7
2b470ef0e4 Translated using Weblate (Polish)
Currently translated at 97.5% (1248 of 1280 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/pl/
2025-04-21 19:00:53 +00:00
Frank Paul Silye
bd0e57aa92 Translated using Weblate (Norwegian Bokmål)
Currently translated at 98.1% (1256 of 1280 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/nb_NO/
2025-04-21 19:00:53 +00:00
Frank Paul Silye
4dd99889db Translated using Weblate (Norwegian Bokmål)
Currently translated at 97.5% (1249 of 1280 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/nb_NO/
2025-04-21 19:00:53 +00:00
master7
2bd0249276 Translated using Weblate (Polish)
Currently translated at 96.7% (1238 of 1280 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/pl/
2025-04-21 19:00:53 +00:00
Sharuru
4667576cbe Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (1280 of 1280 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/zh_Hans/
2025-04-21 19:00:53 +00:00
Serhii Khomiuk
53d653e08b Translated using Weblate (Ukrainian)
Currently translated at 96.7% (1238 of 1280 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/uk/
2025-04-21 19:00:53 +00:00
Lorenzo
a0790169e8
Remove unused dependency (#8777) 2025-04-21 08:32:41 -06:00
Jesse Hallam
15f59b7eee
[MM-63728] Add license load metric to About screen (#8769)
* Add license load metric to About screen

- Add REST endpoint to fetch license load percentage
- Display load metric in About screen next to server version

Fixes: https://mattermost.atlassian.net/browse/MM-63728

* MM-63728: Address PR feedback from enahum

- Move license load metric fetch to a remote action
- Use isMinimumServerVersion to check for server 10.8.0 or higher

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* MM-63728: Simplify getLicenseLoadMetric to directly return number

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* MM-63728: Move getLicenseLoadMetric to dedicated license.ts file

- Create new remote action file specifically for license-related functions
- Add test file for the license actions
- Update imports in about.tsx

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* MM-63728: Remove redundant license check in about.tsx

- Rely on getLicenseLoadMetric to handle the license check

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* MM-63728: Update E2E tests for license load metric

- Add license load metric test IDs to about screen
- Update E2E test to check for load metric when license is enabled
- Handle cases where server might not support the feature

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* recover app/actions/remote/general.ts

* MM-63728: Return error from getLicenseLoadMetric instead of silent failure

- Remove silent failure and debug logging
- Return the error object when API call fails
- Update the About component to handle possible error responses
- Update tests to verify error handling

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* MM-63728: Remove groupLabel parameter from getLicenseLoadMetric

- Remove groupLabel parameter from client getLicenseLoadMetric method in interface and implementation
- Update client tests to reflect the parameter removal
- Update license action test to verify no parameter is passed

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* simplify about screen checks

* MM-63728: Use jest.mocked and real version checks in license tests

- Removed isMinimumServerVersion mock, letting tests use real version checking
- Used proper type casting for mock Client
- Added comprehensive version compatibility test cases
- Simplified test setup

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* MM-63728: Remove redundant server version test

- Removed redundant test for different server versions
- Existing tests already cover the necessary version compatibility cases

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* MM-63728: Refactor license test to use better mocking pattern

- Refactored the test file to use a better mocking pattern similar to custom_emoji.test.ts
- Simplified mock declarations using jest.mock()
- Added type import for Client for better readability
- Improved type casting for mock objects

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* npm run fix

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-04-17 17:29:47 -03:00
Rajat Dabade
0ca03da161
MM-63571 Android Sentry Error Checks (#8773)
* MM-63571 Android Sentry Error Checks

* popTo the stack and update the props
2025-04-16 17:31:02 +05:30
Tom De Moor
b0d188872a Translated using Weblate (Dutch)
Currently translated at 99.8% (1226 of 1228 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/nl/
2025-04-14 17:08:48 +00:00
Bohdan
f47623a4e8 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1228 of 1228 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/uk/
2025-04-14 17:08:48 +00:00