Commit graph

2678 commits

Author SHA1 Message Date
unified-ci-app[bot]
dd50c36ceb
Bump app build and version number (#8620)
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 607

* Bump app version number to 2.25.1

---------

Co-authored-by: Anka <runner@Mac-1740046111011.local>
2025-02-20 12:32:46 +02:00
Mattermost Build
bef14a4da2
fix(MM-62375): OOM on gif (#8573) (#8589)
* 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-14 10:50:31 +02:00
unified-ci-app[bot]
a7b2c42736
Bump app build number to 604 (#8582)
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-1739266972066.local>
2025-02-11 12:01:41 +02:00
Mattermost Build
ab7f3f73ba
2.25 fixes (#8578) (#8580) 2025-02-11 17:27:44 +08:00
unified-ci-app[bot]
e67a07064b
Bump app build number to 603 (#8574)
Co-authored-by: Anka <runner@Mac-1739164566290.local>
2025-02-10 08:17:32 +02:00
Mattermost Build
b00c550cd6
Automated cherry pick of #8568 (#8572)
* MM-62915 and MM-62919 (#8568)

(cherry picked from commit ee66890d32)

* remove duplicate backgroundColor in search results header

---------

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2025-02-08 07:46:54 +08:00
unified-ci-app[bot]
3d3542fc80
Bump app build number to 601 (#8567)
Co-authored-by: Anka <runner@Mac-1738836321987.local>
2025-02-06 12:36:29 +02:00
Mattermost Build
6f29392a2e
Fix Android keyboard gap using navigation events (#8565) (#8566)
(cherry picked from commit f2383f8bc5)

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2025-02-06 12:24:20 +02:00
unified-ci-app[bot]
84badb448a
Bump app build number to 600 (#8562)
Co-authored-by: Anka <runner@Mac-1738747962475.local>
2025-02-05 12:08:26 +02:00
Mattermost Build
7ce540c409
Fix plus menu on home screen (#8560) (#8561)
* fix plus menu on home screen

* fix snapshot tests

* Update index.test.tsx.snap

* Update index.test.tsx.snap

(cherry picked from commit 1207b0e0cd)

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2025-02-05 11:55:33 +02:00
Mattermost Build
2499e487f9
Fix android keyboard area when switching apps (#8554) (#8559)
(cherry picked from commit 762bbabfa0)

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2025-02-05 08:40:05 +02:00
unified-ci-app[bot]
a2d88e4ca3
Bump app build number to 599 (#8552)
Co-authored-by: Anka <runner@Mac-1738591457802.local>
2025-02-03 16:16:12 +02:00
Mattermost Build
7d968f6dfe
Check file id instead of metadata for file removal (#8549) (#8551)
(cherry picked from commit 46f1cf3969)

Co-authored-by: Daniel Espino García <larkox@gmail.com>
2025-02-03 16:08:16 +02:00
Mattermost Build
7df4619de3
fix: remove from channel (#8539) (#8546)
(cherry picked from commit a1da0a720f)

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2025-01-31 10:20:17 -07:00
Mattermost Build
84d9976697
Add logs for push errors on android (#8540) (#8544)
(cherry picked from commit 737fa985ef)

Co-authored-by: Daniel Espino García <larkox@gmail.com>
2025-01-31 11:59:52 +02:00
Mattermost Build
88a782c23d
[MM-62777] Fix errors being nested. Make MFA code more resilient to this situation (#8531) (#8542)
* Fix errors being nested. Make code more resilient to this situation

* address review comments

* code review comment

(cherry picked from commit 8782f4e3a4)

Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
2025-01-31 08:37:00 +02:00
unified-ci-app[bot]
74660c21c6
Bump app build number to 597 (#8538)
Co-authored-by: Anka <runner@Mac-1738216419662.local>
2025-01-30 08:28:50 +02:00
Mattermost Build
cfe2c3608a
fix(MM-62461): uploading image attachment shows new message (#8528) (#8537)
* fix(MM-62461): uploading image attachment shows new message

* remove console.logs

* clean up unit test

* clean up unneeded unit tests

(cherry picked from commit dc45bcb4a6)

Co-authored-by: Rahim Rahman <rahim.rahman@mattermost.com>
2025-01-29 22:52:39 -07:00
Mattermost Build
c13f39a5dc
fix loop (#8524) (#8529)
(cherry picked from commit 8fae132afa)

Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
2025-01-29 14:35:18 +02:00
Mattermost Build
b44c34d43f
MM-62726 fix the active label color for channel and thread (#8523) (#8525)
* MM-62726 fix the active label color for channel and thread

* Updated snapshot

(cherry picked from commit 1bd2e0b665)

Co-authored-by: Rajat Dabade <rajatdabade1997@gmail.com>
2025-01-28 11:21:44 +02:00
Mattermost Build
231fb0acab
Update environment variable COLLECT_NETWORK_METRICS (#8505) (#8511)
(cherry picked from commit 0a0e2a7898)

Co-authored-by: Rahim Rahman <rahim.rahman@mattermost.com>
2025-01-22 08:11:25 -07:00
Mattermost Build
8df84fbd4a
chore: Update NOTICE.txt file with updated dependencies (#8499) (#8500)
Co-authored-by: unified-ci-app[bot] <121569378+unified-ci-app[bot]@users.noreply.github.com>
(cherry picked from commit 46b6d0a513)

Co-authored-by: unified-ci-app[bot] <121569378+unified-ci-app[bot]@users.noreply.github.com>
2025-01-20 12:23:17 +02:00
unified-ci-app[bot]
32fca63633
Bump app build and version number (#8498)
* Bump app build number to 595

* Bump app version number to 2.25.0

---------

Co-authored-by: Anka <runner@Mac-1737363432619.local>
2025-01-20 11:21:10 +02:00
Mattermost Build
ad330ad743
Fix edit attachments (#8468) (#8492)
* Fix edit attachments

* Address feedback

(cherry picked from commit 438edd96f6)

Co-authored-by: Daniel Espino García <larkox@gmail.com>
2025-01-17 13:58:09 +02:00
Daniel Espino García
32e038fe10
Fix timezone crash (#8485) (#8489)
* Fix timezone crash by adding all timezones to the polyfill

* update snapshots; be careful about undefined: diff on local vs CI

* one more that's different locally vs CI

* i18n

---------

Co-authored-by: Christopher Poile <cpoile@gmail.com>
2025-01-17 10:25:06 +02:00
Rahim Rahman
5615405e3a
Request metrics improvements (#8420) (#8487) 2025-01-17 12:52:41 +08:00
Mattermost Build
1b5ec1e00b
Update dependencies and upgrade to RN 0.76.5 (#8421) (#8482)
* update dev deps

* partial update dependencies

* update watermelondb

* update rn to 0.76.5, expo to 52.0.18 and others

* upgrade android firebase

* upgrade detox deps

* fix package-lock.json

* update emm and paste-input

* update turbo-log

* update network library

* fix tests

* review feedback

* fix Keyboard blocking signIn button

* Fall back to iphone 14 iOS 17.2 simulator as app crashes on iOS 17.4

* changes in deleteCredentialsForServer is causing a crash

* withOptions x2 clearly is wrong

* re-add cli-platform-apple fix

* fix: RN 0.76.5 issue with bottom sheet disappearing (#8478)

* experiment, using view vs BottomSheetView

* revert previous & try disabling enableDynamicSizing

* revert an unintended removal

---------

Co-authored-by: yasserfaraazkhan <attitude3cena.yf@gmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Rahim Rahman <rahim.rahman@mattermost.com>
(cherry picked from commit 2f3dfbbbfa)

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2025-01-16 16:22:32 +02:00
Mattermost Build
22ed820518
Add some improvements to thread handling (#8407) (#8481)
* Add some improvements to thread handling

* Add missing changes

* Android changes

* iOS changes

* Avoid copys

* Refactor getReplyAt

(cherry picked from commit 4b068889e7)

Co-authored-by: Daniel Espino García <larkox@gmail.com>
2025-01-16 12:54:46 +02:00
Mattermost Build
0b3596719a
View custom profile attributes (#8460) (#8475)
* feat: Add custom attributes section to user profile

(cherry picked from commit fff6788e94)

Co-authored-by: Guillermo Vayá <guillermo.vaya@mattermost.com>
2025-01-14 10:30:49 +02:00
Mattermost Build
0f55d7e702
Mobile drafts (#8280) (#8473)
* refactor: started with draft, done until new tabs for draft

* refactor: change the query and added the screen for draft

* added condition for fetching draft for channel delete or not

* refactor: added draft screen

* linter fixes

* Added draft post component

* added avatar and header display name for the draft post list

* added channel info component

* channel info completed

* proper naming

* added image file markdown acknowledgement support

* draft actions

* Fix the draft receiver in drafts

* separated send message handler

* Done with send drafts

* done with delete drafts

* change save to send draft

* handle lengthy message with show more button

* done with persistent message edit, send and delete drafts

* added alert for sending message

* added update at time for the drafts

* en.json extract fix

* Updated dependencies for useCallback

* refactor: added drafts list to animated list

* added swipeable component and delete conformation for drafts

* done with rendering of images in markdown for drafts

* en.json issue fixed

* fix en.json issue

* refactor: en.json fix

* addressed review comments

* updated image metadata handling code

* linter fixes

* added the empty draft screen

* linter fix

* style fix

* back button an android takes to the channel list page

* en.json fix

* draft actions theme compatible

* CSS fix for draft channel_info and avatar component

* removed the badge icon and change font style drafts

* fix send alert sender name for GMs

* updated snapshot

* added testId to the drafts components

* updated send draft test id

* clicking on draft takes to the channel

* Added toptip for draft tours

* intl extract

* Rebase to main and reverted local testing changes

* Added tooltip for drafts

* addressed review comments

* reset navigation when click on a draft in draft tabs

* fix the theme issue and navigation issue

* reverted back the draft click navigation changes

* observing draft when hitting back button

* removed the unwanted animiation

* updated regex for parsing markdown

* removed unnecessary checks and change folder name

* removed react memo and merge unwanted observes function

* removed unnecessary comments

* changed the name for observing and querying draft function

* removed memo from component level

* Text to FormattedText component

* Text to formatted text, change image name

* added confirmation modal for deleting draft from bottomsheet

* using common send_handler for both draft and post

* removed magic number for tooltip and bottomsheet

* renamed channel_info to draft_post_header

* text to formattedText for Edit drafts

* removed unnecessary changes

* minor fixes

* mounting draft only when there is draft

* map to reduce

* renamed SwipeableDraft to DraftSwipeAction

* name fixes

* isValidUrl to isParsableUrl and added test

* added test and addressed minor review comments

* added inline component for the duplicate code

* inlt fixes

* clearDraft is not optional

* optimised categories_list.tsx component

* Swipeable to ReanimatedSwipeable, TouchableWithoutFeedback to Pressable and folder name changes

* Added comment and disabled eslint rule for showing warning

* fixed component file name

* minor'

* Removed deprecated Animated createAnimatedComponent flatlist

* added test for missing protocol check

* import change for SwipeableMethod

* active tab for tablet view

* Updated the drafts icons

* Updated compass-icon version to v0.1.48

---------

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

Co-authored-by: Rajat Dabade <rajatdabade1997@gmail.com>
2025-01-13 15:15:42 +02:00
unified-ci-app[bot]
ffbca2889a
Bump app build number to 592 (#8467)
Co-authored-by: Anka <runner@Mac-1736497995177.local>
2025-01-10 11:10:05 +02:00
Rahim Rahman
8b5c50e6e8
test(MM-59431): file.ts unit test (#8424)
* test(MM-59431): file.ts unit test

* get to 100% coverage

* add regression proof for some callback methods in uploadFile

* add unhappy path
2025-01-08 20:19:24 -07:00
Joram Wilander
e15e7d3a57
Add tests for utils/user (#8453) 2025-01-08 15:30:48 -05:00
Joram Wilander
38e7901660
MM-59684 Add tests for client/websocket (#8452)
* Add tests for client/websocket

* Updates per review feedback
2025-01-08 12:38:44 -05:00
Joram Wilander
d1e3048bc7
MM-59433 Add unit tests to actions/remote/retry (#8445)
* Add unit tests to actions/remote/retry

* Factor out some common test variables

* add some other test

---------

Co-authored-by: Rahim Rahman <rahim.rahman@mattermost.com>
2025-01-08 12:30:16 -05:00
Joram Wilander
86727fec71
MM-59583 Add tests for utils/theme (#8455)
* Add tests for utils/theme

* Imprve some test names

* Combine all tests for getKeyboardAppearanceFromTheme under one describe
2025-01-08 11:59:52 -05:00
Joram Wilander
1bb024e202
Add tests for utils/server (#8456) 2025-01-08 09:41:02 -05:00
Joram Wilander
4fedb846bc
MM-59683 + more - Add tests to client/rest (#8447)
* Add tests to client/rest/users

* Add tests to client/rest/channels

* Add tests to client/rest/posts

* Add tests to client/rest/teams

* Add tests to client/rest/general

* Minor clean-up

* Add tests to client/rest/file

* Add tests to client/rest/threads

* Add tests to client/rest/emojis

* Add tests to client/rest/integrations

* Add tests to client/rest/categories

* Add tests to client/rest/groups

* Add tests to client/rest/channel_bookmark

* Add tests to client/rest/preferences

* Add tests to client/rest/tos

* Add tests to client/rest/nps and client/rest/plugins

* Minor clean-up

* Fix type error with proper client.searchFiles definition

* add more test to cover 100%

* add teamId test

* improve users test

---------

Co-authored-by: Rahim Rahman <rahim.rahman@mattermost.com>
2025-01-07 08:23:28 -05:00
Joram Wilander
2307985539
MM-59600 Add unit tests to utils/opengraph (#8444)
* Add unit tests to utils/opengraph

* exporting only for tests

---------

Co-authored-by: Rahim Rahman <rahim.rahman@mattermost.com>
2025-01-06 15:30:48 -05:00
Joram Wilander
72ccd763e6
MM-62394 Add unit tests to utils/message_attachment (#8443)
* Add unit tests to utils/message_attachment

* keep some functions "private"

---------

Co-authored-by: Rahim Rahman <rahim.rahman@mattermost.com>
2025-01-06 12:13:52 -05:00
Frank Paul Silye
b7635dc46a Translated using Weblate (Norwegian Bokmål)
Currently translated at 98.4% (1173 of 1192 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/nb_NO/
2025-01-06 13:06:18 +00:00
unified-ci-app[bot]
5ce4f490b1
Bump app build number to 591 (#8446)
Co-authored-by: Anka <runner@Mac-1735892971448.local>
2025-01-03 11:08:34 +02:00
unified-ci-app[bot]
c0cf5818b7
Bump app build number to 589 (#8440)
Co-authored-by: Anka <runner@Mac-1735287273517.local>
2024-12-31 17:15:09 +01:00
Jihyeon Gim
798bdcd191 Translated using Weblate (Korean)
Currently translated at 89.5% (1067 of 1192 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/ko/
2024-12-30 14:24:13 +00:00
Jihyeon Gim
501c2fc447 Translated using Weblate (Korean)
Currently translated at 89.5% (1067 of 1192 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/ko/
2024-12-30 14:24:13 +00:00
Jihyeon Gim
f2116dfe1d Translated using Weblate (Korean)
Currently translated at 89.5% (1067 of 1192 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/ko/
2024-12-30 14:24:13 +00:00
Jihyeon Gim
c27dbc0efd Translated using Weblate (Korean)
Currently translated at 89.5% (1067 of 1192 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/ko/
2024-12-30 14:24:13 +00:00
Jihyeon Gim
ecd3bd2376 Translated using Weblate (Korean)
Currently translated at 89.5% (1067 of 1192 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/ko/
2024-12-30 14:24:13 +00:00
Jihyeon Gim
3cea350ba8 Translated using Weblate (Korean)
Currently translated at 89.5% (1067 of 1192 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/ko/
2024-12-30 14:24:13 +00:00
Jihyeon Gim
db48c5eaf2 Translated using Weblate (Korean)
Currently translated at 89.5% (1067 of 1192 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/ko/
2024-12-30 14:24:13 +00:00