Commit graph

2861 commits

Author SHA1 Message Date
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
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
dependabot[bot]
5b72465e40
Bump the github-actions-updates group across 1 directory with 3 updates (#8771)
Bumps the github-actions-updates group with 3 updates in the /.github/workflows directory: [actions/upload-artifact](https://github.com/actions/upload-artifact), [mattermost/actions](https://github.com/mattermost/actions) and [ruby/setup-ruby](https://github.com/ruby/setup-ruby).


Updates `actions/upload-artifact` from 4.6.0 to 4.6.2
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](65c4c4a1dd...ea165f8d65)

Updates `mattermost/actions` from 746563b58e737a17a8ceb00b84a813b9e6e1b236 to d5174b860704729f4c14ef8489ae075742bfa08a
- [Commits](746563b58e...d5174b8607)

Updates `ruby/setup-ruby` from 1.221.0 to 1.230.0
- [Release notes](https://github.com/ruby/setup-ruby/releases)
- [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb)
- [Commits](32110d4e31...e5ac7b085f)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: 4.6.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions-updates
- dependency-name: mattermost/actions
  dependency-version: d5174b860704729f4c14ef8489ae075742bfa08a
  dependency-type: direct:production
  dependency-group: github-actions-updates
- dependency-name: ruby/setup-ruby
  dependency-version: 1.230.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-14 12:40:23 +03:00
Rahim Rahman
c85101af10
fix(MM-63733): patch expo-image to use the latest version of APNG4Android (#8765) 2025-04-12 19:52:18 -06:00
Claudio Costa
972f59b6cd
Update calls-common (#8762) 2025-04-11 07:59:14 -06:00
unified-ci-app[bot]
dc3dc56eb2
Bump app build number to 626 (#8766)
Co-authored-by: Anka <runner@Mac-1744361261538.local>
2025-04-11 12:10:01 +03:00
Elias Nahum
9a83813c23
Fix build on Xcode 16.3 (#8760) 2025-04-10 09:09:03 +08:00
Guillermo Vayá
6a060cd505
[MM-62565] DB only custom profile attributes and fields (#8739)
Database only
2025-04-09 15:35:27 +02:00
Elias Nahum
74ee271012
Fix SecurityManager flaky test (#8753) 2025-04-08 20:25:14 +08:00
Daniel Espino García
1c0e201edf
Refactor chips (#8740)
* Refactor chips

* Fix tsc

* Rename showXButton
2025-04-08 10:14:01 +02:00
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
Claudio Costa
52330847e2
Update calls-common to latest (#8745) 2025-04-07 15:50:09 -06:00
Weblate (bot)
ce57a3df8a
Translations update from Mattermost Weblate (#8755)
Automatic Merge
2025-04-07 16:08:43 +03:00
unified-ci-app[bot]
7949a35481
chore: Update NOTICE.txt file with updated dependencies (#8754)
Co-authored-by: unified-ci-app[bot] <121569378+unified-ci-app[bot]@users.noreply.github.com>
2025-04-07 13:10:25 +03:00
dependabot[bot]
767d4d920a
Bump image-size from 1.1.1 to 1.2.1 (#8744)
Bumps [image-size](https://github.com/image-size/image-size) from 1.1.1 to 1.2.1.
- [Release notes](https://github.com/image-size/image-size/releases)
- [Commits](https://github.com/image-size/image-size/compare/v1.1.1...v1.2.1)

---
updated-dependencies:
- dependency-name: image-size
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-07 12:07:39 +08:00
Elias Nahum
374f812b98
Update dependencies (#8721)
* update fastlane

* update dev dependencies

* update to eslint 9+

* update testing-library

* update react-intl

* update bottom-sheet

* update expo

* update reanimated

* upgrade msgpack

* upgrade datepicker

* upgrade react-navigation

* update sentry

* update FlasList

* update fuse.js moment-timezone node-html-parser and semver

* update gesture-handler

* update image-picker

* update react-native-keychain

* update react-native-localize

* update react-native-navigation

* update watermelonDB

* update react-native-permissions

* update react-native-safe-area-context and react-native-screens

* update react-native-share and react-native-svg

* update react-native-video and react-native-webrtc

* update @mattermost/rnutils

* update @mattermost/rnshare

* update @mattermost/hardware-keyboard

* fix isMainActivity

* update android dependencies

* fix upload file progress indicator

* fix entry update config & license

* revert to stable version of @sentry/react-native

* update react-intl again

* update moment-timezone

* upgrade @react-native-camera-roll/camera-roll

* update @react-native-clipboard/clipboard

* update @react-navigation again

* update @shopify/flash-list

* update eslint

* update expo again

* update html-entities

* update mime-db

* update react-native-permissions

* Revert "update react-intl again"

This reverts commit e8e6d5a60dfa56b82b810cbbd7cdffec7697ffc7.

* Revert "update react-intl"

This reverts commit c77f329bb38910aeeba03869b72d77a8b0e00ba1.

* update react-native-keychain

* update and patch react-intl

* mend

* feedback during review 1
2025-04-07 09:30:06 +08:00
Daniel Espino García
fefa164a06
Unify Is Read Only logic to avoid code repetition and improve redability (#8720) 2025-04-06 17:50:19 +02:00
Jesse Hallam
250732d3fc
upgrade to @mattermost/commonmark@0.31.2-0 (#8722) 2025-04-05 00:42:51 +08:00
unified-ci-app[bot]
41cddcd8f2
Bump app build number to 624 (#8748)
Co-authored-by: Anka <runner@Mac-1743756606006.local>
2025-04-04 12:10:38 +03:00
Harshil Sharma
6480fe52aa
channel banner DB migration (#8733)
* channel banner DB migration

* Updated database docs
2025-04-04 12:24:17 +05:30
Lucas Reis
6c51f3948c
feat: enabling autofill on inputs on the Login page (#8729) 2025-04-02 16:40:10 +02:00
David Krauser
7be0de3202
[MM-63576] Send websocket ping immediately after connecting (#8724) 2025-04-02 10:25:20 -04:00
Antonis Stamatiou
41c563bf68
Add setup-xcode action to prepare-ios-build workflow (#8742) 2025-04-02 16:27:14 +03:00
Antonis Stamatiou
af22bc8d79
Add "APNG4Android" to ignoreDependencies in config.yaml (#8741) 2025-04-02 09:34:25 +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
unified-ci-app[bot]
d0d7e187e7
Bump app build number to 622 (#8730)
Co-authored-by: Anka <runner@Mac-1743151443622.local>
2025-03-28 11:10:15 +02:00
Daniel Espino García
85e01a7fb6
Add model mocks to TestHelper (#8715)
* Add model mocks to TestHelper

* Address feedback
2025-03-28 09:40:08 +01:00
Julien Tant
97210af090
turn cross team search ff into a config value (#8694) 2025-03-26 10:37:14 -07:00
Guillermo Vayá
427d61efd4
[MM-62176] fix ordering after edit (#8719)
* check render order
2025-03-26 11:01:29 +01:00