mattermost-mobile/app/utils
Mattermost Build 49b9ec2868
MM-65085: Support Pre Shared Password on server connect (#9082) (#9096)
* feat: add shared server password to server setup

* feat: allow editing the sever

* refactor: changed password -> secret, styling and tests

* e2e: draft e2e tests

* chore: lint fix

* feat: also send preauth secret header when using native share

* fix: removed unused server database migration

credentials are being stored in the keychain

* i18n: added missing english translations

* test(e2e): simplified connection tests

* test(e2e): rework

* refactor: remove setBearerToken

* chore: restore migrations the way it was

* chore: reverted file to original state

* chore: removed unneeded test and renamed password to secret

* chore: function version

* chore: updated forms i18n keys

* chore: remove if from test

* chore: unneeded variable

* fix: add missing key on object list

* refactor: swift keychain access to retrieve all credentials in one call

* revert: edit server screen

* refactor: credentials use getGenericCredential

* fix: objc code calling old method

* fix: added scroll to login screen

* chore: variable names

* fix: avoid inline styles

* fix: Improved appVersion positioning

* Update app/screens/server/form.tsx



* feat: show error message on 403

* Revert "feat: show error message on 403"

This reverts commit f41630c767e10211adf1885321ceefd8a0931e32.

---------


(cherry picked from commit f50056f57b)

Co-authored-by: Felipe Martin <812088+fmartingr@users.noreply.github.com>
Co-authored-by: Matthew Birtch <mattbirtch@gmail.com>
2025-09-01 12:35:01 +03:00
..
channel Unify Is Read Only logic to avoid code repetition and improve redability (#8720) 2025-04-06 17:50:19 +02:00
deep_link MM-64960 ask users to fill Playbook run retrospective on web or desktop (#9044) 2025-07-31 18:21:11 +08:00
document Secure Files and preview PDF inline (#8844) 2025-06-19 15:30:56 +08:00
draft Refactor Open Profile (#8746) 2025-05-13 17:07:13 +02:00
emoji Add Playbooks read-only support for mobile devices (#8978) 2025-07-14 09:21:37 +02:00
file Viewing Files in Edit mode in mobile with ability to delete and save (#8918) 2025-06-20 01:03:57 +05:30
gallery Refactor gallery gestures (#8752) 2025-07-22 14:00:57 +08:00
general Channel banner display (#8735) 2025-04-08 11:15:18 +05:30
images Refactor gallery gestures (#8752) 2025-07-22 14:00:57 +08:00
markdown use the actual url in the metadata if there is an image proxy being used (#8852) 2025-05-20 05:52:42 +08:00
navigation Secure Files and preview PDF inline (#8844) 2025-06-19 15:30:56 +08:00
notification add unit tests to app/utils/notification (#8140) 2024-08-29 00:04:12 +08:00
permalink add unit tests to app/utils/permalink (#8141) 2024-08-29 00:03:25 +08:00
post Feature schedule posts (#8509) 2025-04-14 22:08:59 +05:30
post_list Add model mocks to TestHelper (#8715) 2025-03-28 09:40:08 +01:00
role Add utils/role unit tests (#8266) 2024-10-18 06:30:34 +08:00
scheduled_post Feature schedule posts (#8509) 2025-04-14 22:08:59 +05:30
search Add utils/search unit tests (#8267) 2024-10-18 06:29:49 +08:00
server Add tests for utils/server (#8456) 2025-01-08 09:41:02 -05:00
snack_bar Add Playbooks read-only support for mobile devices (#8978) 2025-07-14 09:21:37 +02:00
svg Gekidou MultiServers second part (#5963) 2022-02-17 10:42:06 -03:00
tap MM-36721 - [GEKIDOU] Porting Markdown components (#5586) 2021-08-02 20:30:17 +04:00
theme MM-59583 Add tests for utils/theme (#8455) 2025-01-08 11:59:52 -05:00
thread Better handle threads sync (#8641) 2025-03-19 09:23:22 +01:00
url MM-65085: Support Pre Shared Password on server connect (#9082) (#9096) 2025-09-01 12:35:01 +03:00
user fix sort_order 0 being converted to MAX_INTEGER (#9050) 2025-08-06 18:12:37 +02:00
apps.test.ts fix issues found by sonarqube (#8095) 2024-07-18 09:40:47 +08:00
apps.ts Make attachments and app bindings more robust yet secure (#8570) 2025-03-14 12:02:32 +01:00
buttonStyles.test.ts Add Report a Problem functionality (#8605) 2025-04-24 11:12:55 +02:00
buttonStyles.ts Standardize tags and chips through the app (#8856) 2025-06-11 10:11:05 +02:00
categories.test.ts Add model mocks to TestHelper (#8715) 2025-03-28 09:40:08 +01:00
categories.ts Add unit tests to Utils buttonStyles and categories (#8015) 2024-06-14 17:11:36 +08:00
config.test.ts Add unit tests to utils config, datetime, error_handling, errors and files (#8018) 2024-06-15 01:29:03 +08:00
config.ts Fix race condition when the same websocket gets initialized twice (#7185) 2023-03-07 19:11:28 +01:00
custom_profile_attribute.ts [MM-62565] DB only custom profile attributes and fields (#8739) 2025-04-09 15:35:27 +02:00
datetime.test.ts Feature schedule posts (#8509) 2025-04-14 22:08:59 +05:30
datetime.ts Feature schedule posts (#8509) 2025-04-14 22:08:59 +05:30
error_handling.test.ts Add unit tests to utils config, datetime, error_handling, errors and files (#8018) 2024-06-15 01:29:03 +08:00
error_handling.ts Enforce names for singleton imports (#8639) 2025-02-27 12:46:17 +01:00
errors.test.ts [MM-62777] Fix errors being nested. Make MFA code more resilient to this situation (#8531) 2025-01-31 08:31:15 +02:00
errors.ts [MM-62777] Fix errors being nested. Make MFA code more resilient to this situation (#8531) 2025-01-31 08:31:15 +02:00
files.test.ts Secure Files and preview PDF inline (#8844) 2025-06-19 15:30:56 +08:00
files.tsx Secure Files and preview PDF inline (#8844) 2025-06-19 15:30:56 +08:00
font_family.test.ts Add Playbooks read-only support for mobile devices (#8978) 2025-07-14 09:21:37 +02:00
font_family.ts added utils unit tests (#8040) 2024-07-05 07:17:09 +08:00
groups.test.ts added utils unit tests (#8040) 2024-07-05 07:17:09 +08:00
groups.ts [Gekidou] Groups + group-memberships deferred fetch (#6370) 2022-07-07 12:20:06 +02:00
helpers.test.ts Fix the count issue in channel header when removing or adding attachment in the post (#8986) 2025-07-14 17:57:09 +05:30
helpers.ts Fix the count issue in channel header when removing or adding attachment in the post (#8986) 2025-07-14 17:57:09 +05:30
integrations.test.ts added utils unit tests (#8040) 2024-07-05 07:17:09 +08:00
integrations.ts Fix interactive dialog number handling (#8431) 2024-12-19 09:45:03 +01:00
key_mirror.test.ts added utils unit tests (#8040) 2024-07-05 07:17:09 +08:00
key_mirror.ts MM-35115 [Gekidou] Login flow - Email and Password (#5402) 2021-06-18 00:57:40 -04:00
log.test.ts Add Report a Problem functionality (#8605) 2025-04-24 11:12:55 +02:00
log.ts Update dependencies (#8721) 2025-04-07 09:30:06 +08:00
mattermost_managed.test.ts added utils unit tests (#8040) 2024-07-05 07:17:09 +08:00
mattermost_managed.ts Upgrade RN as well as update or replace other dependencies (#8011) 2024-06-19 09:33:45 +08:00
message_attachment.test.ts Make attachments and app bindings more robust yet secure (#8570) 2025-03-14 12:02:32 +01:00
message_attachment.ts Make attachments and app bindings more robust yet secure (#8570) 2025-03-14 12:02:32 +01:00
mix.test.ts added utils unit tests (#8040) 2024-07-05 07:17:09 +08:00
mix.ts Remove watermelondb limitation on updating an already updated model (#7067) 2023-02-03 17:11:57 +02:00
opengraph.test.ts MM-59600 Add unit tests to utils/opengraph (#8444) 2025-01-06 15:30:48 -05:00
opengraph.ts MM-59600 Add unit tests to utils/opengraph (#8444) 2025-01-06 15:30:48 -05:00
push_proxy.test.ts added utils unit tests (#8040) 2024-07-05 07:17:09 +08:00
push_proxy.ts capitalize back the alert text 2023-10-18 21:06:12 +02:00
reviews.test.ts added utils unit tests (#8040) 2024-07-05 07:17:09 +08:00
reviews.ts Upgrade RN as well as update or replace other dependencies (#8011) 2024-06-19 09:33:45 +08:00
security.test.ts added utils unit tests (#8040) 2024-07-05 07:17:09 +08:00
security.ts Remove uneeded database migrations (#6985) 2023-01-19 16:56:30 +01:00
sentry.test.ts Update dependencies and upgrade to RN 0.76.5 (#8421) 2025-01-16 07:11:32 -07:00
sentry.ts Update dependencies and upgrade to RN 0.76.5 (#8421) 2025-01-16 07:11:32 -07:00
share_logs.test.ts Add Report a Problem functionality (#8605) 2025-04-24 11:12:55 +02:00
share_logs.ts Add Report a Problem functionality (#8605) 2025-04-24 11:12:55 +02:00
strings.test.ts added utils unit tests (#8040) 2024-07-05 07:17:09 +08:00
strings.ts added utils unit tests (#8040) 2024-07-05 07:17:09 +08:00
time.test.ts Feature schedule posts (#8509) 2025-04-14 22:08:59 +05:30
time.ts Feature schedule posts (#8509) 2025-04-14 22:08:59 +05:30
timezone.test.ts added utils unit tests (#8040) 2024-07-05 07:17:09 +08:00
timezone.ts remove usages of isTimeZoneEnabled (#7769) 2024-01-30 13:22:55 +01:00
types.ts Add model mocks to TestHelper (#8715) 2025-03-28 09:40:08 +01:00
typography.test.ts added utils unit tests (#8040) 2024-07-05 07:17:09 +08:00
typography.ts added utils unit tests (#8040) 2024-07-05 07:17:09 +08:00