Commit graph

1089 commits

Author SHA1 Message Date
Weblate (bot)
e56423ce28
Translations update from Mattermost Weblate (#8890)
Automatic Merge
2025-05-26 14:30:10 +03:00
Pablo Vélez
1569f712d2
Mm 63935 abac end user indicators (#8848)
* MM-63935 - abac end user indicators

* rename policy variables to clearly indicate are from abac

* update attributes hook to cache processed data

* use policyEnforce property

* add missing type

* rename policy_enforced to abac_policy_enforced part 1

* add channel policy enforced type

* fix translation file

* remove unnecesary stop propagation

* use existing components

* remove unnecesary files

* fix snapshot

* update snapshot

* do not tie styles to the abac feature

* remove unnecesary margin top

* simplify props, add style for flat banner, remove unncesary index

* simplify condition, extract inline to component function

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2025-05-19 15:34:03 +02:00
Weblate (bot)
dbaf534a32
Translations update from Mattermost Weblate (#8867)
Automatic Merge
2025-05-19 15:30:15 +03:00
Elias Nahum
934ed2a773
Revert "MM-63935 - abac end user indicators db changes (#8849)" (#8859)
This reverts commit d838f74273.
2025-05-15 06:15:20 +08:00
Pablo Vélez
d838f74273
MM-63935 - abac end user indicators db changes (#8849)
* MM-63935 - abac end user indicators

* rename policy variables to clearly indicate are from abac

* update attributes hook to cache processed data

* use policyEnforce property

* add missing type

* rename policy_enforced to abac_policy_enforced part 1

* add channel policy enforced type

* fix translation file

* remove unnecesary stop propagation

* MM-63935 - abac end user indicators db changes

* rename the policy name to clarify which policy does refer to

* update property name and add documentation to clarify intention

* rename policy_enforced to abac_policy_enforced db changes side
2025-05-14 23:55:47 +02:00
Vasily Belousov
7c3914bd13
[MM-61995] Correct copying instructions when long-pressing an email in messages & headers (#8798)
* feat: fixed email copy interface

* feat: changed message when long-pressing an email on mobile in messages & headers

* implemented changes: message decriptors outside component; email/url check and cleanHref outside renderContent function
2025-05-13 11:56:38 +08:00
Weblate (bot)
2a0ec47278
Translations update from Mattermost Weblate (#8837)
Automatic Merge
2025-05-05 19:28:43 +03:00
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
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
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
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
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
Konstantin
114231c302 Translated using Weblate (Russian)
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/ru/
2025-04-14 17:08:48 +00:00
Frank Paul Silye
1a1fe896f7 Translated using Weblate (Norwegian Bokmål)
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/nb_NO/
2025-04-14 17:08:48 +00:00
jprusch
b4ae1807e5 Translated using Weblate (German)
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/de/
2025-04-14 17:08:48 +00:00
MArtin Johnson
abb34bb4f9 Translated using Weblate (Swedish)
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/sv/
2025-04-14 17:08:48 +00:00
master7
193b2d9c53 Translated using Weblate (Polish)
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/pl/
2025-04-14 17:08:48 +00:00
Rajat Dabade
f75c50ad2b
Feature schedule posts (#8509) 2025-04-14 22:08:59 +05:30
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