Commit graph

2642 commits

Author SHA1 Message Date
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
Weblate (bot)
7a88bf4895
Translations update from Mattermost Weblate (#8438)
Automatic Merge
2024-12-23 14:48:31 +02:00
unified-ci-app[bot]
dca341e625
Bump app build number to 588 (#8437)
Co-authored-by: Anka <runner@Mac-1734684035963.local>
2024-12-20 12:55:53 +01:00
Daniel Espino García
32453b320c
Fix interactive dialog number handling (#8431) 2024-12-19 09:45:03 +01:00
Daniel Espino García
d75cbcde7f
Fix interactive dialogs not showing (#8427)
* Fix interactive dialogs not showing

* Use conditionals
2024-12-18 15:54:08 -05:00
Rahim Rahman
61ccc959cf
chore: add .aider* to gitignore (#8425) 2024-12-18 11:35:39 -07:00
Joram Wilander
663cda2b77
MM-59652 Add unit tests to actions/websocket/channel (#8417)
* Add unit tests to actions/websocket/channel

* Updates per review feedback
2024-12-18 08:19:37 -05:00
Elias Nahum
fb57c423c7
Network metrics (#8390)
* Network metrics

* update network-client ref

* fix unit tests

* missing catch error parsing

* add client tracking unit tests

* fix typos
2024-12-17 19:51:26 +08:00
Daniel Espino García
640ff93e01
Android native logs (#8384)
* Android native logs

* Use latest version of the library
2024-12-17 18:16:11 +08:00
unified-ci-app[bot]
3cda8df6f4
Bump app build and version number (#8418)
* Bump app build number to 585

* Bump app version number to 2.24.0

---------

Co-authored-by: Anka <runner@Mac-1734412880694.local>
2024-12-17 08:33:24 +02:00
Weblate (bot)
8b3947ad4f
Translations update from Mattermost Weblate (#8416)
* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (1194 of 1194 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/uk/

* Translated using Weblate (Czech)

Currently translated at 100.0% (1194 of 1194 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/cs/

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (1194 of 1194 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/uk/

* Translated using Weblate (Czech)

Currently translated at 100.0% (1194 of 1194 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/cs/

* Translated using Weblate (Czech)

Currently translated at 100.0% (1194 of 1194 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/cs/

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (1194 of 1194 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/uk/

* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/

---------

Co-authored-by: Serhii Khomiuk <sergiy.khomiuk@gmail.com>
Co-authored-by: Martin Mičuda <micuda@rematiptop.cz>
2024-12-16 15:31:11 +01:00
unified-ci-app[bot]
b3d3ce3d81
Bump app build number to 584 (#8414)
Co-authored-by: Anka <runner@Mac-1734078079268.local>
2024-12-13 11:08:38 +02:00
Amy Blais
9ac635d2ee
Update supported ESR version (#8410)
v9.11 ESR is the latest supported ESR version.

Ticket
https://mattermost.atlassian.net/browse/CLD-8696

```release-note
NONE
```
2024-12-13 09:02:55 +02:00
Rahim Rahman
6d94675955
fix(MM-49742): broken user avatar (#8356)
* fix(MM-49742): broken user avatar

* add border for both focused and unfocused for profile photo on the bottom tab bar
* status size reduced to 12 from default 14
* the size of the profile photo has been reduced from 28 to 22 to be inline with other icons on tab bar

* revert initial commit

* add unit test for Account

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-12-12 10:33:17 -07:00
Daniel Espino García
da38976cff
Remove end user message for unsupported servers (#8404)
* Remove end user message for unsupported servers

* Update test
2024-12-12 13:02:17 +01:00
yasserfaraazkhan
63889c03c6
Fix: Android build for Detox e2e (#8362) 2024-12-09 23:20:05 +05:30
Weblate (bot)
854d6207b0
Translations update from Mattermost Weblate (#8401)
Automatic Merge
2024-12-09 13:47:38 +01:00
unified-ci-app[bot]
9703d51727
Bump app build number to 583 (#8400)
Co-authored-by: Anka <runner@Mac-1733472953540.local>
2024-12-06 11:08:58 +02:00
fxnm
9607f42243
fix: fixed image overflow in message attachments (#8361)
* fix: fixed image overflow in message attachments

* fix: fixed image overflow in message attachments
2024-12-06 08:27:42 +02:00
Joram Wilander
d468d34a5d
Add tests for queries/server/channel (#8395) 2024-12-06 09:35:21 +08:00
Daniel Espino García
d996ed8133
Fix join/leave messages not showing (#8396) 2024-12-06 07:46:15 +08:00
Pablo Vélez
8b9779d4b3
MM-56899 - prevent app block when setting custom status if no internet (#8283)
* MM-56899 - prevent app block when setting custom status if no internet

* remove alert and use build in error message

* remove unused translations

* implement pr feedback

* keep function in local file

* remove unnecessary change

* fix placeholder position

* block the done button while the server replies

* add close button to the modal
2024-12-05 15:53:54 -05:00
Daniel Espino García
9632ce5038
Surround text on file info for searches (#8391) 2024-12-04 07:57:23 +02:00
Pattara Kiatisevi
21e929dca2
Fix Thai search keywords not properly hi-lighted in the search results. (#8347) 2024-12-04 02:40:07 +08:00
Daniel Espino García
7f21754b78
Fix 60879 (#8344)
* Fix 60879

* Address feedback

* Address feedback

* Add tests
2024-12-03 10:49:38 +01:00
Weblate (bot)
eff552f2a7
Translated using Weblate (Norwegian Bokmål) (#8389)
Automatic Merge
2024-12-02 13:47:37 +01:00
unified-ci-app[bot]
421301e573
Bump app build number to 579 (#8386)
Co-authored-by: runner <runner@Mac-1732865257136.local>
2024-11-29 11:17:16 +02:00
yasserfaraazkhan
acfccb170f
Fix: Env variabled to pick up right simulator device for tests (#8367) 2024-11-29 11:48:35 +05:30
Elias Nahum
7cb2ee75b3
Fix bottomSheet bottom insets (#8331)
* Fix bottomSheet bottom insets

* fix search team picker on android

* ux review

* fix footer padding for message priority modal on iPad
2024-11-29 12:50:09 +08:00
Elias Nahum
d25c6fe245
Extra keyboard (#8348)
* Add support to use the keyboard area with a component

* fix import

* add missing providers to involved screens

* Change the way we handle the keyboard to allow using custom components in that area

* review feedback
2024-11-29 11:58:13 +08:00
Daniel Espino García
732b17a75c
Add post props validation (#8323)
* Validate props

* Add calls changes and fix attachments

* Address feedback
2024-11-28 15:59:30 +01:00
Daniel Espino García
f911a29e4c
Fix MM-61710 (#8368) 2024-11-27 16:18:08 +01:00
Elias Nahum
7123c7f3c0
Ensure myTeam.id is not undefined (#8375) 2024-11-26 20:15:34 +08:00
Weblate (bot)
50a7b14b6a
Translations update from Mattermost Weblate (#8373)
* Translated using Weblate (Swedish)

Currently translated at 100.0% (1194 of 1194 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/sv/

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (1194 of 1194 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/uk/

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (1194 of 1194 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/uk/

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (1194 of 1194 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/uk/

* Translated using Weblate (Czech)

Currently translated at 100.0% (1194 of 1194 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/cs/

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (1194 of 1194 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/uk/

* Translated using Weblate (German)

Currently translated at 100.0% (1194 of 1194 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/de/

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (1194 of 1194 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/uk/

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (1194 of 1194 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/uk/

* Translated using Weblate (English (Australia))

Currently translated at 100.0% (1194 of 1194 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/en_AU/

* Translated using Weblate (Turkish)

Currently translated at 100.0% (1194 of 1194 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/tr/

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (1194 of 1194 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/uk/

* Translated using Weblate (Japanese)

Currently translated at 100.0% (1194 of 1194 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/ja/

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (1194 of 1194 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/uk/

* Translated using Weblate (Chinese (Simplified Han script))

Currently translated at 100.0% (1194 of 1194 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/zh_Hans/

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (1194 of 1194 strings)

Translation: Mattermost/mattermost-mobile-v2
Translate-URL: https://translate.mattermost.com/projects/mattermost/mattermost-mobile-v2/uk/

---------

Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
Co-authored-by: Serhii Khomiuk <sergiy.khomiuk@gmail.com>
Co-authored-by: Martin Mičuda <micuda@rematiptop.cz>
Co-authored-by: jprusch <rs@schaeferbarthold.de>
Co-authored-by: Matthew Williams <Matthew.Williams@outlook.com.au>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: kaakaa <stooner.hoe@gmail.com>
Co-authored-by: ThrRip <coding@thrrip.space>
2024-11-25 18:47:29 +01:00
Joram Wilander
1f29c77a6e
MM-59432 Add tests for actions/remote/custom_emoji (#8372)
* Add tests for actions/remote/custom_emoji

* Expect calls to forceLogoutIfNecessary in tests
2024-11-25 12:02:59 -05:00
Joram Wilander
71f1d99041
Increase branch test coverage of actions/remote files (#8370)
* Increase branch test coverage for actions/remote/command

* Increase branch test coverage for actions/remote/session

* Increase branch test coverage for actions/remote/post
2024-11-25 12:02:34 -05:00
Joram Wilander
99383f265f
Add tests for actions/remote/category (#8371) 2024-11-25 11:58:50 -05:00