Commit graph

2747 commits

Author SHA1 Message Date
unified-ci-app[bot]
973ae7d142
Bump app build and version number (#8717)
Some checks failed
github-release / test (push) Has been cancelled
github-release / build-ios-unsigned (push) Has been cancelled
github-release / build-android-unsigned (push) Has been cancelled
github-release / release (push) Has been cancelled
* Bump app build number to 620

* Bump app version number to 2.26.2

---------

Co-authored-by: Anka <runner@Mac-1742881211018.local>
2025-03-25 08:23:20 +02:00
Mattermost Build
73b42c4a96
[MM-63481] Don't substract keyboard height in Android as it was already substracted (#8697) (#8707)
* don't substract keyboard height in Android as it was already substracted

(cherry picked from commit 60d4e95229)

Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
2025-03-21 11:52:22 +01:00
unified-ci-app[bot]
ca0e27007f
Bump app build and version number (#8702)
Some checks failed
github-release / test (push) Has been cancelled
github-release / build-ios-unsigned (push) Has been cancelled
github-release / build-android-unsigned (push) Has been cancelled
github-release / release (push) Has been cancelled
* Bump app build number to 617

* Bump app version number to 2.26.1

---------

Co-authored-by: Anka <runner@Mac-1742535245582.local>
2025-03-21 08:13:24 +02:00
Mattermost Build
34837402dc
fix(MM-63460): HTTPClientError spam (#8693) (#8699)
(cherry picked from commit 1ddaf5c32f)

Co-authored-by: Rahim Rahman <rahim.rahman@mattermost.com>
2025-03-21 08:01:25 +02:00
Mattermost Build
fa550da96a
Make attachments and app bindings more robust yet secure (#8570) (#8698)
* Make attachments and app bindings more robust yet secure

* Fix tests

* i18n extract

* Address feedback

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
(cherry picked from commit 782b1c69a8)

Co-authored-by: Daniel Espino García <larkox@gmail.com>
2025-03-21 08:01:13 +02:00
unified-ci-app[bot]
884d70ed24
Bump app build number to 613 (#8666)
Some checks failed
github-release / test (push) Has been cancelled
github-release / build-ios-unsigned (push) Has been cancelled
github-release / build-android-unsigned (push) Has been cancelled
github-release / release (push) Has been cancelled
Co-authored-by: Anka <runner@Mac-1741765162165.local>
2025-03-12 10:11:12 +02:00
Mattermost Build
f8d2716ad7
fix(MM-62375): OutOfMemoryError issue with better catching (#8622) (#8665)
* fix(MM-62375): OutOfMemoryError issue with gif

* add APNG4Android as npm module instead

(cherry picked from commit 1ecba213f0)

Co-authored-by: Rahim Rahman <rahim.rahman@mattermost.com>
2025-03-12 09:57:00 +02:00
Mattermost Build
776a656667
Do not use extra keyboard on Android (#8651) (#8661)
(cherry picked from commit 915692d828)

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2025-03-12 10:52:20 +08:00
Mattermost Build
f830338640
Automated cherry pick of #8646 (#8662)
* MM-62896 Keyboard blocks input (#8646)

* WIP

* fix keyboard blocking text input for interactive dialog

* do not use extra keyboard and windowSoftInputMode:adjustNothing on Android 10 and under

---------

Co-authored-by: Devin Binnie <devin.binnie@mattermost.com>
(cherry picked from commit 1c8770c74d)

* Bump the github-actions-updates group across 5 directories with 6 updates (#8613)

Bumps the github-actions-updates group with 1 update in the /.github/actions/prepare-android-build directory: [actions/checkout](https://github.com/actions/checkout).
Bumps the github-actions-updates group with 1 update in the /.github/actions/prepare-ios-build directory: [actions/cache](https://github.com/actions/cache).
Bumps the github-actions-updates group with 2 updates in the /.github/actions/prepare-mobile-build directory: [actions/cache](https://github.com/actions/cache) and [ruby/setup-ruby](https://github.com/ruby/setup-ruby).
Bumps the github-actions-updates group with 2 updates in the /.github/actions/prepare-node-deps directory: [actions/cache](https://github.com/actions/cache) and [actions/setup-node](https://github.com/actions/setup-node).
Bumps the github-actions-updates group with 4 updates in the /.github/workflows directory: [actions/checkout](https://github.com/actions/checkout), [ruby/setup-ruby](https://github.com/ruby/setup-ruby), [actions/upload-artifact](https://github.com/actions/upload-artifact) and [github/codeql-action](https://github.com/github/codeql-action).

Updates `actions/checkout` from 3.3.0 to 4.2.2
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](ac59398561...11bd71901b)

Updates `actions/cache` from 4.0.2 to 4.2.1
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](0c45773b62...0c907a75c2)

Updates `actions/cache` from 4.0.2 to 4.2.1
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](0c45773b62...0c907a75c2)

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

Updates `actions/cache` from 4.0.2 to 4.2.1
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](0c45773b62...0c907a75c2)

Updates `actions/setup-node` from 4.0.2 to 4.2.0
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](60edb5dd54...1d0ff469b7)

Updates `actions/checkout` from 3 to 4
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](ac59398561...11bd71901b)

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

Updates `actions/upload-artifact` from 4.3.1 to 4.6.0
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4.3.1...65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08)

Updates `github/codeql-action` from 2 to 3
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions-updates
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions-updates
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions-updates
- dependency-name: ruby/setup-ruby
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions-updates
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions-updates
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions-updates
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions-updates
- dependency-name: ruby/setup-ruby
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions-updates
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions-updates
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  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>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-12 10:41:02 +08:00
unified-ci-app[bot]
ce66105d18
Bump app build number to 610 (#8632)
Co-authored-by: Anka <runner@Mac-1740465832386.local>
2025-02-25 09:15:34 +02:00
Mattermost Build
f488718b51
Add ios native logs (#8555) (#8631)
* Add ios native logs

* Use correct version

* Revert unneeded changes in package-lock

(cherry picked from commit a1ccdcb0da)

Co-authored-by: Daniel Espino García <larkox@gmail.com>
2025-02-24 18:49:37 +02:00
unified-ci-app[bot]
d17516e8c7
Bump app build number to 608 (#8621)
Co-authored-by: Anka <runner@Mac-1740049144267.local>
2025-02-20 13:19:38 +02:00
Mattermost Build
dba4aef5fd
Fix MM-61975 (#8459) (#8599)
* 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

(cherry picked from commit 779fe31c3b)

Co-authored-by: Daniel Espino García <larkox@gmail.com>
2025-02-18 09:49:07 +02:00
unified-ci-app[bot]
a807f3a528
Bump app build and version number (#8596)
* Bump app build number to 606

* Bump app version number to 2.26.0

---------

Co-authored-by: Anka <runner@Mac-1739774078399.local>
2025-02-17 09:28:04 +02:00
Mattermost Build
f9b609c5d1
Update README.md (#8588) (#8591)
(cherry picked from commit 4f710ef131)

Co-authored-by: Amy Blais <29708087+amyblais@users.noreply.github.com>
2025-02-14 11:56:07 +02:00
Mattermost Build
6d80244974
fix(MM-62375): OOM on gif (#8573) (#8586)
* fix(MM-62375): OOM on gif
* add APNG4Android into github action script to download
* change to mattermost/APNG4Android

(cherry picked from commit 985fa692a6)

Co-authored-by: Rahim Rahman <rahim.rahman@mattermost.com>
2025-02-12 09:15:50 -07:00
Mattermost Build
747982afcb
2.25 fixes (#8578) (#8581) 2025-02-11 17:29:23 +08:00
Mattermost Build
7872b619b2
[MM-62898] Reset filter when changing team (#8564) (#8577)
* refactor: Improve search team change handling and filter removal

* fix: revert package.resolved

* add test file

* extract regex and fix formatting of useCallback

* improve tests

* fix style

(cherry picked from commit d0073617ed)

Co-authored-by: Julien Tant <785518+JulienTant@users.noreply.github.com>
2025-02-10 16:53:40 -07:00
Elias Nahum
ee66890d32
MM-62915 and MM-62919 (#8568) 2025-02-08 07:17:15 +08:00
Joram Wilander
c804a1a589
MM-59445 + others - Add tests for channel bookmarks, systems, apps and tos files in remote/actions (#8558) 2025-02-07 23:57:17 +08:00
unified-ci-app[bot]
d07e5c10d0
Bump app build number to 602 (#8569)
Co-authored-by: Anka <runner@Mac-1738918279511.local>
2025-02-07 11:09:39 +02:00
Elias Nahum
f2383f8bc5
Fix Android keyboard gap using navigation events (#8565) 2025-02-06 11:18:05 +01: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
Elias Nahum
1207b0e0cd
Fix plus menu on home screen (#8560)
* fix plus menu on home screen

* fix snapshot tests

* Update index.test.tsx.snap

* Update index.test.tsx.snap
2025-02-05 10:50:04 +01:00
Elias Nahum
762bbabfa0
Fix android keyboard area when switching apps (#8554) 2025-02-05 08:12:57 +08: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
Daniel Espino García
46f1cf3969
Check file id instead of metadata for file removal (#8549) 2025-02-03 15:02:28 +01:00
Joram Wilander
84f2a7d1f7
test: Add tests for AppsManager (#8545) 2025-02-03 08:56:46 -05:00
Joram Wilander
61ad688277
test: Add tests for NavigationStore (#8541) 2025-02-03 08:56:16 -05:00
Joram Wilander
fe2cc0673d
test: Add tests for launch.ts initialization logic (#8547) 2025-02-03 08:22:16 -05:00
Weblate (bot)
53b8b6e59f
Translated using Weblate (Turkish) (#8550)
Automatic Merge
2025-02-03 15:20:10 +02:00
Elias Nahum
a1da0a720f
fix: remove from channel (#8539) 2025-01-31 10:09:46 -07:00
Joram Wilander
6f8d6632b6
MM-59761 Add tests for i18n functionality (#8510)
* test: Add tests for i18n functionality

* Remove test causing i18n ci check failure
2025-01-31 09:30:42 -05:00
Joram Wilander
444364b63c
test: Add entry query function tests (#8534) 2025-01-31 08:22:11 -05:00
Daniel Espino García
737fa985ef
Add logs for push errors on android (#8540) 2025-01-31 10:35:10 +01:00
unified-ci-app[bot]
79e90d1a8a
Bump app build number to 598 (#8543)
Co-authored-by: Anka <runner@Mac-1738312832897.local>
2025-01-31 11:09:47 +02:00
Guillermo Vayá
8782f4e3a4
[MM-62777] Fix errors being nested. Make MFA code more resilient to this situation (#8531)
* Fix errors being nested. Make code more resilient to this situation

* address review comments

* code review comment
2025-01-31 08:31:15 +02:00
Joram Wilander
1cc6e7c3de
MM-59790 Add tests for team queries (#8527)
* test: Add tests for team queries

* Factor our common test variables

* Updates per review feedback
2025-01-30 08:26:26 -05:00
Joram Wilander
fe2b96bcd4
test: Add tests for role queries (#8532) 2025-01-30 08:26:08 -05:00
Joram Wilander
0565a687c5
test: Add tests for push notifications module (#8535) 2025-01-30 08:25:44 -05:00
Rahim Rahman
dc45bcb4a6
fix(MM-62461): uploading image attachment shows new message (#8528)
* fix(MM-62461): uploading image attachment shows new message

* remove console.logs

* clean up unit test

* clean up unneeded unit tests
2025-01-29 22:44:40 -07:00
Joram Wilander
1d254d4529
MM-59787 Add tests for preference query functions (#8530)
* test: Add tests for preference query functions

* sync test changes

---------

Co-authored-by: Rahim Rahman <rahim.rahman@mattermost.com>
2025-01-29 17:10:21 -05:00
Joram Wilander
0bac4b96f0
Fix flaky client/rest/general/ping test (#8533) 2025-01-29 13:33:34 -05:00
Guillermo Vayá
8fae132afa
fix loop (#8524) 2025-01-29 13:25:00 +01:00
dependabot[bot]
7e1e047e61
Bump undici from 6.21.0 to 6.21.1 (#8506) 2025-01-28 23:59:43 +08:00
Joram Wilander
4187e9f81a
MM-59741 + others - Add tests for remaining app/hooks files (#8517)
* test: Add tests for useHandleSendMessage hook

* test: Add tests for header hooks

* test: Add tests for device hooks

* test: Add tests for useChannelSwitch hook

* test: Add tests for useTeamSwitch hook

* test: Add tests for useInputPropagation hook

* test: Add tests for useWhyDidYouUpdate hook

* test: Add tests for useFreeze hook

* test: Add tests for useAutocompleteDefaultAnimatedValues hook

* test: Add tests for usePersistentNotificationProps hook

* test: Add tests for useFetchingThreadState hook

* test: Add tests for useBackNavigation hook

* test: Add tests for useShowMoreAnimatedStyle hook

* test: Add tests for useTeamsLoading hook

* test: Add tests for useNavButtonPressed hook

* test: Add tests for useDidUpdate hook

* test: Add tests for useAppBinding hook

* Fix type error and test
2025-01-28 08:51:50 -05:00
Joram Wilander
3ef637ff9d
MM-59426 Add tests for entry common functions (#8515)
* test: Add tests for entry common functions

* increase functions coverage to 80%

---------

Co-authored-by: yasserfaraazkhan <attitude3cena.yf@gmail.com>
2025-01-28 08:09:43 -05:00
Joram Wilander
6a96ca52ad
test: Add tests for session manager (#8504) 2025-01-28 08:09:15 -05:00
Rajat Dabade
1bd2e0b665
MM-62726 fix the active label color for channel and thread (#8523)
* MM-62726 fix the active label color for channel and thread

* Updated snapshot
2025-01-28 14:43:45 +05:30
Elias Nahum
0364a9d197
Fix broken windows (#8406)
* MM-62043 fix image dimensions when iPad screen size changes

* MM-61951 fix share feedback screen layout

* MM-62100 fix download video on playback error
2025-01-28 09:58:48 +08:00